Create crossyroad.html
Browse files- crossyroad.html +800 -0
crossyroad.html
ADDED
@@ -0,0 +1,800 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
<!DOCTYPE html>
|
3 |
+
<html class="no-js"><head><script>(function(){(function(){function e(g){this.t={};this.tick=function(h,m,f){var n=void 0!=f?f:(new Date).getTime();this.t[h]=[n,m];if(void 0==f)try{window.console.timeStamp("CSI/"+h)}catch(q){}};this.getStartTickTime=function(){return this.t.start[0]};this.tick("start",null,g)}var a;if(window.performance)var d=(a=window.performance.timing)&&a.responseStart;var p=0<d?new e(d):new e;window.jstiming={Timer:e,load:p};if(a){var b=a.navigationStart;0<b&&d>=b&&(window.jstiming.srt=d-b)}if(a){var c=window.jstiming.load;
|
4 |
+
0<b&&d>=b&&(c.tick("_wtsrt",void 0,b),c.tick("wtsrt_","_wtsrt",d),c.tick("tbsd_","wtsrt_"))}try{var k=window.top!=window.self,l=window.location.href;a=null;window.chrome&&window.chrome.csi&&(a=Math.floor(window.chrome.csi().pageT),c&&0<b&&(c.tick("_tbnd",void 0,window.chrome.csi().startE),c.tick("tbnd_","_tbnd",b)));null==a&&window.gtbExternal&&(a=k?window.gtbExternal.frameT(l):window.gtbExternal.pageT());null==a&&window.external&&(k?a=window.external.frameT(l):(a=window.external.pageT,c&&0<b&&(c.tick("_tbnd",
|
5 |
+
void 0,window.external.startE),c.tick("tbnd_","_tbnd",b))));a&&(window.jstiming.pt=a)}catch(g){}})();}).call(this);
|
6 |
+
window["__csi"]={a:false,b:false,c:"default",v:"default",g:null,d:false};if(window.jstiming){window.jstiming.beaconImageReferences_={};window.jstiming.reportCounter_=1;var getTick=function(a,b,c){var d=a.t[b],e=a.t.start;if(d&&(e||c))return d=a.t[b][0],e=void 0!=c?c:e[0],a=d-e,Math.round(a)},getReportUri=function(a,b,c){var d="";window.jstiming.srt&&(d+="&srt="+window.jstiming.srt,delete window.jstiming.srt);window.jstiming.pt&&(d+="&tbsrt="+window.jstiming.pt,delete window.jstiming.pt);try{window.external&&window.external.tran?d+="&tran="+window.external.tran:window.gtbExternal&&
|
7 |
+
window.gtbExternal.tran?d+="&tran="+window.gtbExternal.tran():window.chrome&&window.chrome.csi&&(d+="&tran="+window.chrome.csi().tran)}catch(m){}var e=window.chrome;if(e&&(e=e.loadTimes)&&"function"===typeof e&&(e=e())){e.wasFetchedViaSpdy&&(d+="&p=s");if(e.wasNpnNegotiated){d+="&npn=1";var f=e.npnNegotiatedProtocol;f&&(d+="&npnv="+(encodeURIComponent||escape)(f))}e.wasAlternateProtocolAvailable&&(d+="&apa=1")}var g=a.t,k=g.start;e=[];f=[];for(var l in g)if("start"!=l&&0!=l.indexOf("_")){var q=g[l][1];
|
8 |
+
q?g[q]&&f.push(l+"."+getTick(a,l,g[q][0])):k&&e.push(l+"."+getTick(a,l))}delete g.start;if(b)for(var h in b)d+="&"+h+"="+b[h];(b=c)||(b="https:"==document.location.protocol?"https://csi.gstatic.com/csi":"http://csi.gstatic.com/csi");return a=[b,"?v=3","&s="+(window.jstiming.sn||"opensocial-gadgets")+"&action=",a.name,f.length?"&it="+f.join(","):"",d,"&rt=",e.join(",")].join("")},sendReport_=function(a,b,c){a=getReportUri(a,b,c);if(!a)return"";b=new Image;var d=window.jstiming.reportCounter_++;window.jstiming.beaconImageReferences_[d]=
|
9 |
+
b;b.onload=b.onerror=function(){window.jstiming&&delete window.jstiming.beaconImageReferences_[d]};b.src=a;b=null;return a};window.jstiming.report=function(a,b,c){var d=document.visibilityState,e="visibilitychange";d||(d=document.webkitVisibilityState,e="webkitvisibilitychange");if("prerender"==d){var f=!1,g=function(){if(!f){b?b.prerender="1":b={prerender:"1"};if("prerender"==(document.visibilityState||document.webkitVisibilityState))var k=!1;else sendReport_(a,b,c),k=!0;k&&(f=!0,document.removeEventListener(e,
|
10 |
+
g,!1))}};document.addEventListener(e,g,!1);return""}return sendReport_(a,b,c)}};/*
|
11 |
+
|
12 |
+
Copyright The Closure Library Authors.
|
13 |
+
SPDX-License-Identifier: Apache-2.0
|
14 |
+
*/
|
15 |
+
var goog=goog||{};goog.global=this||self;goog.exportPath_=function(a,b,c,d){a=a.split(".");d=d||goog.global;a[0]in d||"undefined"==typeof d.execScript||d.execScript("var "+a[0]);for(var e;a.length&&(e=a.shift());)if(a.length||void 0===b)d=d[e]&&d[e]!==Object.prototype[e]?d[e]:d[e]={};else if(!c&&goog.isObject(b)&&goog.isObject(d[e]))for(var f in b)b.hasOwnProperty(f)&&(d[e][f]=b[f]);else d[e]=b};goog.define=function(a,b){return a=b};goog.FEATURESET_YEAR=2012;goog.DEBUG=!0;goog.LOCALE="en";
|
16 |
+
goog.TRUSTED_SITE=!0;goog.DISALLOW_TEST_ONLY_CODE=!goog.DEBUG;goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=!1;goog.readFlagInternalDoNotUseOrElse=function(a,b){var c=goog.getObjectByName(goog.FLAGS_OBJECT_);a=c&&c[a];return null!=a?a:b};goog.FLAGS_OBJECT_="CLOSURE_FLAGS";goog.FLAGS_STAGING_DEFAULT=!0;
|
17 |
+
goog.readToggleInternalDoNotCallDirectly=function(a){var b="object"===typeof CLOSURE_TOGGLE_ORDINALS?CLOSURE_TOGGLE_ORDINALS:void 0;a=b&&b[a];return"number"!==typeof a?!!a:!!(goog.TOGGLES_[Math.floor(a/30)]&1<<a%30)};goog.TOGGLE_VAR_="_F_toggles";goog.TOGGLES_=goog.global[goog.TOGGLE_VAR_]||[];goog.LEGACY_NAMESPACE_OBJECT_=goog.global;goog.provide=function(a){if(goog.isInModuleLoader_())throw Error("goog.provide cannot be used within a module.");goog.constructNamespace_(a)};
|
18 |
+
goog.constructNamespace_=function(a,b,c){goog.exportPath_(a,b,c,goog.LEGACY_NAMESPACE_OBJECT_)};goog.NONCE_PATTERN_=/^[\w+/_-]+[=]{0,2}$/;goog.getScriptNonce_=function(a){a=(a||goog.global).document;return(a=a.querySelector&&a.querySelector("script[nonce]"))&&(a=a.nonce||a.getAttribute("nonce"))&&goog.NONCE_PATTERN_.test(a)?a:""};goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/;
|
19 |
+
goog.module=function(a){if("string"!==typeof a||!a||-1==a.search(goog.VALID_MODULE_RE_))throw Error("Invalid module identifier");if(!goog.isInGoogModuleLoader_())throw Error("Module "+a+" has been loaded incorrectly. Note, modules cannot be loaded as normal scripts. They require some kind of pre-processing step. You're likely trying to load a module via a script tag or as a part of a concatenated bundle without rewriting the module. For more info see: https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide.");
|
20 |
+
if(goog.moduleLoaderState_.moduleName)throw Error("goog.module may only be called once per module.");goog.moduleLoaderState_.moduleName=a};goog.module.get=function(){return null};goog.module.getInternal_=function(){return null};goog.requireDynamic=function(){return null};goog.importHandler_=null;goog.uncompiledChunkIdHandler_=null;goog.setImportHandlerInternalDoNotCallOrElse=function(a){goog.importHandler_=a};
|
21 |
+
goog.setUncompiledChunkIdHandlerInternalDoNotCallOrElse=function(a){goog.uncompiledChunkIdHandler_=a};goog.maybeRequireFrameworkInternalOnlyDoNotCallOrElse=function(){};goog.ModuleType={ES6:"es6",GOOG:"goog"};goog.moduleLoaderState_=null;goog.isInModuleLoader_=function(){return goog.isInGoogModuleLoader_()||goog.isInEs6ModuleLoader_()};goog.isInGoogModuleLoader_=function(){return!!goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.GOOG};
|
22 |
+
goog.isInEs6ModuleLoader_=function(){var a=!!goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.ES6;return a?!0:(a=goog.LEGACY_NAMESPACE_OBJECT_.$jscomp)?"function"!=typeof a.getCurrentModulePath?!1:!!a.getCurrentModulePath():!1};goog.module.declareLegacyNamespace=function(){goog.moduleLoaderState_.declareLegacyNamespace=!0};
|
23 |
+
goog.declareModuleId=function(a){if(goog.moduleLoaderState_)goog.moduleLoaderState_.moduleName=a;else{var b=goog.LEGACY_NAMESPACE_OBJECT_.$jscomp;if(!b||"function"!=typeof b.getCurrentModulePath)throw Error('Module with namespace "'+a+'" has been loaded incorrectly.');b=b.require(b.getCurrentModulePath());goog.loadedModules_[a]={exports:b,type:goog.ModuleType.ES6,moduleId:a}}};
|
24 |
+
goog.setTestOnly=function(a){if(goog.DISALLOW_TEST_ONLY_CODE)throw a=a||"",Error("Importing test-only code into non-debug environment"+(a?": "+a:"."));};goog.forwardDeclare=function(){};goog.getObjectByName=function(a,b){a=a.split(".");b=b||goog.global;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b};goog.addDependency=function(){};goog.ENABLE_DEBUG_LOADER=!1;goog.logToConsole_=function(a){goog.global.console&&goog.global.console.error(a)};goog.require=function(){};
|
25 |
+
goog.requireType=function(){return{}};goog.basePath="";goog.abstractMethod=function(){throw Error("unimplemented abstract method");};goog.addSingletonGetter=function(a){a.instance_=void 0;a.getInstance=function(){if(a.instance_)return a.instance_;goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.length]=a);return a.instance_=new a}};goog.instantiatedSingletons_=[];goog.LOAD_MODULE_USING_EVAL=!0;goog.SEAL_MODULE_EXPORTS=goog.DEBUG;goog.loadedModules_={};
|
26 |
+
goog.DEPENDENCIES_ENABLED=!1;goog.TRANSPILE="detect";goog.ASSUME_ES_MODULES_TRANSPILED=!1;goog.TRUSTED_TYPES_POLICY_NAME="goog";goog.hasBadLetScoping=null;
|
27 |
+
goog.loadModule=function(a){var b=goog.moduleLoaderState_;try{goog.moduleLoaderState_={moduleName:"",declareLegacyNamespace:!1,type:goog.ModuleType.GOOG};var c={},d=c;if("function"===typeof a)d=a.call(void 0,d);else if("string"===typeof a)d=goog.loadModuleFromSource_.call(void 0,d,a);else throw Error("Invalid module definition");var e=goog.moduleLoaderState_.moduleName;if("string"===typeof e&&e){goog.moduleLoaderState_.declareLegacyNamespace?(a=c!==d,goog.constructNamespace_(e,d,a)):goog.SEAL_MODULE_EXPORTS&&
|
28 |
+
Object.seal&&"object"==typeof d&&null!=d&&Object.seal(d);var f={exports:d,type:goog.ModuleType.GOOG,moduleId:goog.moduleLoaderState_.moduleName};goog.loadedModules_[e]=f}else throw Error('Invalid module name "'+e+'"');}finally{goog.moduleLoaderState_=b}};goog.loadModuleFromSource_=function(a,b){eval(goog.CLOSURE_EVAL_PREFILTER_.createScript(b));return a};
|
29 |
+
goog.normalizePath_=function(a){a=a.split("/");for(var b=0;b<a.length;)"."==a[b]?a.splice(b,1):b&&".."==a[b]&&a[b-1]&&".."!=a[b-1]?a.splice(--b,2):b++;return a.join("/")};goog.loadFileSync_=function(a){if(goog.global.CLOSURE_LOAD_FILE_SYNC)return goog.global.CLOSURE_LOAD_FILE_SYNC(a);try{var b=new goog.global.XMLHttpRequest;b.open("get",a,!1);b.send();return 0==b.status||200==b.status?b.responseText:null}catch(c){return null}};
|
30 |
+
goog.typeOf=function(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"};goog.isArrayLike=function(a){var b=goog.typeOf(a);return"array"==b||"object"==b&&"number"==typeof a.length};goog.isDateLike=function(a){return goog.isObject(a)&&"function"==typeof a.getFullYear};goog.isObject=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b};
|
31 |
+
goog.getUid=function(a){return Object.prototype.hasOwnProperty.call(a,goog.UID_PROPERTY_)&&a[goog.UID_PROPERTY_]||(a[goog.UID_PROPERTY_]=++goog.uidCounter_)};goog.hasUid=function(a){return!!a[goog.UID_PROPERTY_]};goog.removeUid=function(a){null!==a&&"removeAttribute"in a&&a.removeAttribute(goog.UID_PROPERTY_);try{delete a[goog.UID_PROPERTY_]}catch(b){}};goog.UID_PROPERTY_="closure_uid_"+(1E9*Math.random()>>>0);goog.uidCounter_=0;
|
32 |
+
goog.cloneObject=function(a){var b=goog.typeOf(a);if("object"==b||"array"==b){if("function"===typeof a.clone)return a.clone();if("undefined"!==typeof Map&&a instanceof Map)return new Map(a);if("undefined"!==typeof Set&&a instanceof Set)return new Set(a);b="array"==b?[]:{};for(var c in a)b[c]=goog.cloneObject(a[c]);return b}return a};goog.bindNative_=function(a,b,c){return a.call.apply(a.bind,arguments)};
|
33 |
+
goog.bindJs_=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}};goog.bind=function(a,b,c){goog.bind=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?goog.bindNative_:goog.bindJs_;return goog.bind.apply(null,arguments)};
|
34 |
+
goog.partial=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}};goog.now=function(){return Date.now()};goog.globalEval=function(a){(0,eval)(a)};
|
35 |
+
goog.getCssName=function(a,b){if("."==String(a).charAt(0))throw Error('className passed in goog.getCssName must not start with ".". You passed: '+a);var c=function(e){return goog.cssNameMapping_[e]||e},d=function(e){e=e.split("-");for(var f=[],g=0;g<e.length;g++)f.push(c(e[g]));return f.join("-")};d=goog.cssNameMapping_?"BY_WHOLE"==goog.cssNameMappingStyle_?c:d:function(e){return e};a=b?a+"-"+d(b):d(a);return goog.global.CLOSURE_CSS_NAME_MAP_FN?goog.global.CLOSURE_CSS_NAME_MAP_FN(a):a};
|
36 |
+
goog.setCssNameMapping=function(a,b){goog.cssNameMapping_=a;goog.cssNameMappingStyle_=b};goog.GetMsgOptions=function(){};goog.getMsg=function(a,b,c){c&&c.html&&(a=a.replace(/</g,"<"));c&&c.unescapeHtmlEntities&&(a=a.replace(/</g,"<").replace(/>/g,">").replace(/'/g,"'").replace(/"/g,'"').replace(/&/g,"&"));b&&(a=a.replace(/\{\$([^}]+)}/g,function(d,e){return null!=b&&e in b?b[e]:d}));return a};goog.getMsgWithFallback=function(a){return a};
|
37 |
+
goog.exportSymbol=function(a,b,c){goog.exportPath_(a,b,!0,c)};goog.exportProperty=function(a,b,c){a[b]=c};goog.inherits=function(a,b){function c(){}c.prototype=b.prototype;a.superClass_=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.base=function(d,e,f){for(var g=Array(arguments.length-2),k=2;k<arguments.length;k++)g[k-2]=arguments[k];return b.prototype[e].apply(d,g)}};goog.scope=function(a){if(goog.isInModuleLoader_())throw Error("goog.scope is not supported within a module.");a.call(goog.global)};
|
38 |
+
goog.defineClass=function(a,b){var c=b.constructor,d=b.statics;c&&c!=Object.prototype.constructor||(c=function(){throw Error("cannot instantiate an interface (no constructor defined).");});c=goog.defineClass.createSealingConstructor_(c,a);a&&goog.inherits(c,a);delete b.constructor;delete b.statics;goog.defineClass.applyProperties_(c.prototype,b);null!=d&&(d instanceof Function?d(c):goog.defineClass.applyProperties_(c,d));return c};goog.defineClass.SEAL_CLASS_INSTANCES=goog.DEBUG;
|
39 |
+
goog.defineClass.createSealingConstructor_=function(a){if(!goog.defineClass.SEAL_CLASS_INSTANCES)return a;var b=function(){var c=a.apply(this,arguments)||this;c[goog.UID_PROPERTY_]=c[goog.UID_PROPERTY_];return c};return b};goog.defineClass.OBJECT_PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
|
40 |
+
goog.defineClass.applyProperties_=function(a,b){for(var c in b)Object.prototype.hasOwnProperty.call(b,c)&&(a[c]=b[c]);for(var d=0;d<goog.defineClass.OBJECT_PROTOTYPE_FIELDS_.length;d++)c=goog.defineClass.OBJECT_PROTOTYPE_FIELDS_[d],Object.prototype.hasOwnProperty.call(b,c)&&(a[c]=b[c])};goog.identity_=function(a){return a};
|
41 |
+
goog.createTrustedTypesPolicy=function(a){var b=null,c=goog.global.trustedTypes;if(!c||!c.createPolicy)return b;try{b=c.createPolicy(a,{createHTML:goog.identity_,createScript:goog.identity_,createScriptURL:goog.identity_})}catch(d){goog.logToConsole_(d.message)}return b};var google=window.google||{};
|
42 |
+
google.csi=function(){function a(h){var m=g?g:document.location.href;return(h=m.match(new RegExp("[?&]"+h+"=([^&#]+)")))?h[1]:null}function b(h){window.jstiming.load.tick(h);f[h]=(new Date).getTime()}function c(){if(!l){var h=a("url")||"default",m=window.__csi||{},r=m.c||"default",v=m.v||"default",p=window.encodeURIComponent?encodeURIComponent:escape;p={gadget:p(h),container:p(r),view:p(v)};var t=window.__dflags||{},u=[];m.g&&u.push(m.g);if(m.d)for(var n in t)"control"!==t[n]&&(p[n]=t[n],"true"===
|
43 |
+
t[n]&&u.push(n));p.e=u.join(",");n=k?k:document.location.protocol;n=e[n];window.jstiming.load.name=[r,"_",v].join("");window.jstiming.report(window.jstiming.load,p,n);(r=window.gadgets)&&r.rpc&&m.b&&(f.url=h,f.id=a("mid"),r.rpc.call(null,"time_iframe",void 0,f));l=!0}}function d(h){window.addEventListener?window.addEventListener("load",h,!1):window.attachEvent&&window.attachEvent("onload",h)}var e={"http:":"http://csi.gstatic.com/csi","https:":"https://gg.google.com/csi"},f={},g,k,l=!1,q=window.__csi||
|
44 |
+
{};q.a?(d(function(){b("prt")}),window.onbeforeunload=function(){c()}):d(function(){b("ol");b("prt");c()});return{reset_:function(){l=!1},mockHref_:function(h){g=h},mockProtocol_:function(h){k=h},report_:c,tickPrtAndReport:function(){b("prt");c()},tickDl:function(){b("dl")}}}();
|
45 |
+
</script><script>
|
46 |
+
/* mp-start */
|
47 |
+
window['___jsl']=window['___jsl']||{};
|
48 |
+
/* mp-end */
|
49 |
+
</script><script>window['__isgadget']=true;</script><script>window['___jsl'] = window['___jsl'] || {};(window['___jsl']['ci'] = (window['___jsl']['ci'] || [])).push({"core.io":{"jsonProxyUrl":"//%host%/gadgets/makeRequest","proxyUrl":"//www.gmodules.com/gadgets/proxy/refresh=%refresh%&container=%container%%rewriteMime%&gadget=%gadget%/%rawurl%"},"shindig.auth":{"authToken":"","trustedJson":""},"core.util":{"core":{}}});var safeJSON=window.safeJSON;
|
50 |
+
var tamings___=window.tamings___||[];
|
51 |
+
var bridge___;
|
52 |
+
var caja___=window.caja___;
|
53 |
+
var ___=window.___;;
|
54 |
+
var gapi=window.gapi||{};gapi.client=window.gapi&&window.gapi.client||{};
|
55 |
+
;
|
56 |
+
;
|
57 |
+
var gadgets=window.gadgets||{},shindig=window.shindig||{},osapi=window.osapi=window.osapi||{};
|
58 |
+
;
|
59 |
+
window['___cfg'] = window['___cfg'] || window['___gcfg'];;
|
60 |
+
if(!window.gadgets["config"]){gadgets.config=function(){var f;
|
61 |
+
var h={};
|
62 |
+
var b={};
|
63 |
+
function c(j,l){for(var k in l){if(!l.hasOwnProperty(k)){continue
|
64 |
+
}if(typeof j[k]==="object"&&typeof l[k]==="object"){c(j[k],l[k])
|
65 |
+
}else{j[k]=l[k]
|
66 |
+
}}}function i(){var j=document.scripts||document.getElementsByTagName("script");
|
67 |
+
if(!j||j.length==0){return null
|
68 |
+
}var m;
|
69 |
+
if(f.u){for(var k=0;
|
70 |
+
!m&&k<j.length;
|
71 |
+
++k){var l=j[k];
|
72 |
+
if(l.src&&l.src.indexOf(f.u)==0){m=l
|
73 |
+
}}}if(!m){m=j[j.length-1]
|
74 |
+
}if(!m.src){return null
|
75 |
+
}return m
|
76 |
+
}function a(j){var k="";
|
77 |
+
if(j.nodeType==3||j.nodeType==4){k=j.nodeValue
|
78 |
+
}else{if(j.innerText){k=j.innerText
|
79 |
+
}else{if(j.innerHTML){k=j.innerHTML
|
80 |
+
}else{if(j.firstChild){var l=[];
|
81 |
+
for(var m=j.firstChild;
|
82 |
+
m;
|
83 |
+
m=m.nextSibling){l.push(a(m))
|
84 |
+
}k=l.join("")
|
85 |
+
}}}}return k
|
86 |
+
}function e(k){if(!k){return{}
|
87 |
+
}var j;
|
88 |
+
while(k.charCodeAt(k.length-1)==0){k=k.substring(0,k.length-1)
|
89 |
+
}try{j=(new Function("return ("+k+"\n)"))()
|
90 |
+
}catch(l){}if(typeof j==="object"){return j
|
91 |
+
}try{j=(new Function("return ({"+k+"\n})"))()
|
92 |
+
}catch(l){}return typeof j==="object"?j:{}
|
93 |
+
}function g(n){var p=window.___cfg;
|
94 |
+
if(p){c(n,p)
|
95 |
+
}var o=i();
|
96 |
+
if(!o){return
|
97 |
+
}var k=a(o);
|
98 |
+
var j=e(k);
|
99 |
+
if(f.f&&f.f.length==1){var m=f.f[0];
|
100 |
+
if(!j[m]){var l={};
|
101 |
+
l[f.f[0]]=j;
|
102 |
+
j=l
|
103 |
+
}}c(n,j)
|
104 |
+
}function d(o){for(var l in h){if(h.hasOwnProperty(l)){var n=h[l];
|
105 |
+
for(var m=0,k=n.length;
|
106 |
+
m<k;
|
107 |
+
++m){o(l,n[m])
|
108 |
+
}}}}return{register:function(l,k,j,m){var n=h[l];
|
109 |
+
if(!n){n=[];
|
110 |
+
h[l]=n
|
111 |
+
}n.push({validators:k||{},callback:j,callOnUpdate:m})
|
112 |
+
},get:function(j){if(j){return b[j]||{}
|
113 |
+
}return b
|
114 |
+
},init:function(k,j){f=window.___jsl||{};
|
115 |
+
c(b,k);
|
116 |
+
g(b);
|
117 |
+
var l=window.___config||{};
|
118 |
+
c(b,l);
|
119 |
+
d(function(q,p){var o=b[q];
|
120 |
+
if(o&&!j){var m=p.validators;
|
121 |
+
for(var n in m){if(m.hasOwnProperty(n)){if(!m[n](o[n])){throw new Error('Invalid config value "'+o[n]+'" for parameter "'+n+'" in component "'+q+'"')
|
122 |
+
}}}}if(p.callback){p.callback(b)
|
123 |
+
}})
|
124 |
+
},update:function(k,p){var o=(window.gapi&&window.gapi["config"]&&window.gapi["config"]["update"]);
|
125 |
+
if(!p&&o){o(k)
|
126 |
+
}var n=[];
|
127 |
+
d(function(q,j){if(k.hasOwnProperty(q)||(p&&b&&b[q])){if(j.callback&&j.callOnUpdate){n.push(j.callback)
|
128 |
+
}}});
|
129 |
+
b=p?{}:b||{};
|
130 |
+
c(b,k);
|
131 |
+
for(var m=0,l=n.length;
|
132 |
+
m<l;
|
133 |
+
++m){n[m](b)
|
134 |
+
}}}
|
135 |
+
}()
|
136 |
+
}else{gadgets.config=window.gadgets["config"];
|
137 |
+
gadgets.config.register=gadgets.config.register;
|
138 |
+
gadgets.config.get=gadgets.config.get;
|
139 |
+
gadgets.config.init=gadgets.config.init;
|
140 |
+
gadgets.config.update=gadgets.config.update
|
141 |
+
};;
|
142 |
+
gadgets.log=(function(){var e=1;
|
143 |
+
var a=2;
|
144 |
+
var f=3;
|
145 |
+
var c=4;
|
146 |
+
var d=function(i){b(e,i)
|
147 |
+
};
|
148 |
+
gadgets.warn=function(i){b(a,i)
|
149 |
+
};
|
150 |
+
gadgets.error=function(i){b(f,i)
|
151 |
+
};
|
152 |
+
gadgets.debug=function(i){};
|
153 |
+
gadgets.setLogLevel=function(i){h=i
|
154 |
+
};
|
155 |
+
function b(k,i){if(k<h||!g){return
|
156 |
+
}if(k===a&&g.warn){g.warn(i)
|
157 |
+
}else{if(k===f&&g.error){try{g.error(i)
|
158 |
+
}catch(j){}}else{if(g.log){g.log(i)
|
159 |
+
}}}}d.INFO=e;
|
160 |
+
d.WARNING=a;
|
161 |
+
d.NONE=c;
|
162 |
+
var h=e;
|
163 |
+
var g=window.console?window.console:window.opera?window.opera.postError:undefined;
|
164 |
+
return d
|
165 |
+
})();;
|
166 |
+
tamings___.push(function(a){caja___.whitelistFuncs([[gadgets,"log"],[gadgets,"warn"],[gadgets,"error"],[gadgets,"setLogLevel"]]);
|
167 |
+
caja___.whitelistProps([[gadgets.log,"INFO"],[gadgets.log,"WARNING"],[gadgets.log,"ERROR"],[gadgets.log,"NONE"]])
|
168 |
+
});;
|
169 |
+
;
|
170 |
+
(function(){gadgets.config.EnumValidator=function(d){var c=[];
|
171 |
+
if(arguments.length>1){for(var b=0,a;
|
172 |
+
(a=arguments[b]);
|
173 |
+
++b){c.push(a)
|
174 |
+
}}else{c=d
|
175 |
+
}return function(f){for(var e=0,g;
|
176 |
+
(g=c[e]);
|
177 |
+
++e){if(f===c[e]){return true
|
178 |
+
}}return false
|
179 |
+
}
|
180 |
+
};
|
181 |
+
gadgets.config.RegExValidator=function(a){return function(b){return a.test(b)
|
182 |
+
}
|
183 |
+
};
|
184 |
+
gadgets.config.ExistsValidator=function(a){return typeof a!=="undefined"
|
185 |
+
};
|
186 |
+
gadgets.config.NonEmptyStringValidator=function(a){return typeof a==="string"&&a.length>0
|
187 |
+
};
|
188 |
+
gadgets.config.BooleanValidator=function(a){return typeof a==="boolean"
|
189 |
+
};
|
190 |
+
gadgets.config.LikeValidator=function(a){return function(c){for(var d in a){if(a.hasOwnProperty(d)){var b=a[d];
|
191 |
+
if(!b(c[d])){return false
|
192 |
+
}}}return true
|
193 |
+
}
|
194 |
+
}
|
195 |
+
})();;
|
196 |
+
gadgets.util=gadgets.util||{};
|
197 |
+
(function(){gadgets.util.makeClosure=function(d,f,e){var c=[];
|
198 |
+
for(var b=2,a=arguments.length;
|
199 |
+
b<a;
|
200 |
+
++b){c.push(arguments[b])
|
201 |
+
}return function(){var g=c.slice();
|
202 |
+
for(var k=0,h=arguments.length;
|
203 |
+
k<h;
|
204 |
+
++k){g.push(arguments[k])
|
205 |
+
}return f.apply(d,g)
|
206 |
+
}
|
207 |
+
};
|
208 |
+
gadgets.util.makeEnum=function(b){var c,a,d={};
|
209 |
+
for(c=0;
|
210 |
+
(a=b[c]);
|
211 |
+
++c){d[a]=a
|
212 |
+
}return d
|
213 |
+
}
|
214 |
+
})();;
|
215 |
+
gadgets.util=gadgets.util||{};
|
216 |
+
(function(){var c="http://www.w3.org/1999/xhtml";
|
217 |
+
function b(f,e){var h=e||{};
|
218 |
+
for(var g in h){if(h.hasOwnProperty(g)){f[g]=h[g]
|
219 |
+
}}}function d(g,f){var e=["<",g];
|
220 |
+
var i=f||{};
|
221 |
+
for(var h in i){if(i.hasOwnProperty(h)){e.push(" ");
|
222 |
+
e.push(h);
|
223 |
+
e.push('="');
|
224 |
+
e.push(gadgets.util.escapeString(i[h]));
|
225 |
+
e.push('"')
|
226 |
+
}}e.push("></");
|
227 |
+
e.push(g);
|
228 |
+
e.push(">");
|
229 |
+
return e.join("")
|
230 |
+
}function a(f){var g="";
|
231 |
+
if(f.nodeType==3||f.nodeType==4){g=f.nodeValue
|
232 |
+
}else{if(f.innerText){g=f.innerText
|
233 |
+
}else{if(f.innerHTML){g=f.innerHTML
|
234 |
+
}else{if(f.firstChild){var e=[];
|
235 |
+
for(var h=f.firstChild;
|
236 |
+
h;
|
237 |
+
h=h.nextSibling){e.push(a(h))
|
238 |
+
}g=e.join("")
|
239 |
+
}}}}return g
|
240 |
+
}gadgets.util.createElement=function(f){var e;
|
241 |
+
if((!document.body)||document.body.namespaceURI){try{e=document.createElementNS(c,f)
|
242 |
+
}catch(g){}}return e||document.createElement(f)
|
243 |
+
};
|
244 |
+
gadgets.util.createIframeElement=function(g){var i=gadgets.util.createElement("iframe");
|
245 |
+
try{var e=d("iframe",g);
|
246 |
+
var f=gadgets.util.createElement(e);
|
247 |
+
if(f&&((!i)||((f.tagName==i.tagName)&&(f.namespaceURI==i.namespaceURI)))){i=f
|
248 |
+
}}catch(h){}b(i,g);
|
249 |
+
return i
|
250 |
+
};
|
251 |
+
gadgets.util.getBodyElement=function(){if(document.body){return document.body
|
252 |
+
}try{var f=document.getElementsByTagNameNS(c,"body");
|
253 |
+
if(f&&(f.length==1)){return f[0]
|
254 |
+
}}catch(e){}return document.documentElement||document
|
255 |
+
};
|
256 |
+
gadgets.util.getInnerText=function(e){return a(e)
|
257 |
+
}
|
258 |
+
})();;
|
259 |
+
gadgets.util=gadgets.util||{};
|
260 |
+
(function(){gadgets.util.attachBrowserEvent=function(c,b,d,a){if(typeof c.addEventListener!="undefined"){c.addEventListener(b,d,a)
|
261 |
+
}else{if(typeof c.attachEvent!="undefined"){c.attachEvent("on"+b,d)
|
262 |
+
}else{gadgets.warn("cannot attachBrowserEvent: "+b)
|
263 |
+
}}};
|
264 |
+
gadgets.util.removeBrowserEvent=function(c,b,d,a){if(c.removeEventListener){c.removeEventListener(b,d,a)
|
265 |
+
}else{if(c.detachEvent){c.detachEvent("on"+b,d)
|
266 |
+
}else{gadgets.warn("cannot removeBrowserEvent: "+b)
|
267 |
+
}}}
|
268 |
+
})();;
|
269 |
+
gadgets.util=gadgets.util||{};
|
270 |
+
(function(){var a=[];
|
271 |
+
gadgets.util.registerOnLoadHandler=function(b){a.push(b)
|
272 |
+
};
|
273 |
+
gadgets.util.runOnLoadHandlers=function(){for(var c=0,b=a.length;
|
274 |
+
c<b;
|
275 |
+
++c){a[c]()
|
276 |
+
}}
|
277 |
+
})();;
|
278 |
+
tamings___.push(function(a){caja___.whitelistFuncs([[gadgets.util,"registerOnLoadHandler"]])
|
279 |
+
});;
|
280 |
+
gadgets.util=gadgets.util||{};
|
281 |
+
(function(){var a={0:false,10:true,13:true,34:true,39:true,60:true,62:true,92:true,8232:true,8233:true,65282:true,65287:true,65308:true,65310:true,65340:true};
|
282 |
+
function b(c,d){return String.fromCharCode(d)
|
283 |
+
}gadgets.util.escape=function(c,g){if(!c){return c
|
284 |
+
}else{if(typeof c==="string"){return gadgets.util.escapeString(c)
|
285 |
+
}else{if(typeof c==="Array"){for(var f=0,d=c.length;
|
286 |
+
f<d;
|
287 |
+
++f){c[f]=gadgets.util.escape(c[f])
|
288 |
+
}}else{if(typeof c==="object"&&g){var e={};
|
289 |
+
for(var h in c){if(c.hasOwnProperty(h)){e[gadgets.util.escapeString(h)]=gadgets.util.escape(c[h],true)
|
290 |
+
}}return e
|
291 |
+
}}}}return c
|
292 |
+
};
|
293 |
+
gadgets.util.escapeString=function(g){if(!g){return g
|
294 |
+
}var d=[],f,h;
|
295 |
+
for(var e=0,c=g.length;
|
296 |
+
e<c;
|
297 |
+
++e){f=g.charCodeAt(e);
|
298 |
+
h=a[f];
|
299 |
+
if(h===true){d.push("&#",f,";")
|
300 |
+
}else{if(h!==false){d.push(g.charAt(e))
|
301 |
+
}}}return d.join("")
|
302 |
+
};
|
303 |
+
gadgets.util.unescapeString=function(c){if(!c){return c
|
304 |
+
}return c.replace(/&#([0-9]+);/g,b)
|
305 |
+
}
|
306 |
+
})();;
|
307 |
+
tamings___.push(function(a){caja___.whitelistFuncs([[gadgets.util,"escape"],[gadgets.util,"escapeString"],[gadgets.util,"unescapeString"]])
|
308 |
+
});;
|
309 |
+
gadgets.util=gadgets.util||{};
|
310 |
+
(function(){var a=null;
|
311 |
+
function b(e){var f;
|
312 |
+
var c=e.indexOf("?");
|
313 |
+
var d=e.indexOf("#");
|
314 |
+
if(d===-1){f=e.substr(c+1)
|
315 |
+
}else{f=[e.substr(c+1,d-c-1),"&",e.substr(d+1)].join("")
|
316 |
+
}return f.split("&")
|
317 |
+
}gadgets.util.getUrlParameters=function(p){var d=typeof p==="undefined";
|
318 |
+
if(a!==null&&d){return a
|
319 |
+
}var l={};
|
320 |
+
var f=b(p||window.location.href);
|
321 |
+
var n=window.decodeURIComponent?decodeURIComponent:unescape;
|
322 |
+
for(var h=0,g=f.length;
|
323 |
+
h<g;
|
324 |
+
++h){var m=f[h].indexOf("=");
|
325 |
+
if(m===-1){continue
|
326 |
+
}var c=f[h].substring(0,m);
|
327 |
+
var o=f[h].substring(m+1);
|
328 |
+
o=o.replace(/\+/g," ");
|
329 |
+
try{l[c]=n(o)
|
330 |
+
}catch(k){}}if(d){a=l
|
331 |
+
}return l
|
332 |
+
};
|
333 |
+
gadgets.util.getUrlParameters()
|
334 |
+
})();;
|
335 |
+
tamings___.push(function(a){caja___.whitelistFuncs([[gadgets.util,"getUrlParameters"]])
|
336 |
+
});;
|
337 |
+
gadgets.util=gadgets.util||{};
|
338 |
+
(function(){var b={};
|
339 |
+
var a={};
|
340 |
+
function c(d){b=d["core.util"]||{}
|
341 |
+
}if(gadgets.config){gadgets.config.register("core.util",null,c)
|
342 |
+
}gadgets.util.getFeatureParameters=function(d){return typeof b[d]==="undefined"?null:b[d]
|
343 |
+
};
|
344 |
+
gadgets.util.hasFeature=function(d){return typeof b[d]!=="undefined"
|
345 |
+
};
|
346 |
+
gadgets.util.getServices=function(){return a
|
347 |
+
}
|
348 |
+
})();;
|
349 |
+
tamings___.push(function(a){caja___.whitelistFuncs([[gadgets.util,"getFeatureParameters"],[gadgets.util,"hasFeature"]])
|
350 |
+
});;
|
351 |
+
shindig.Auth=function(){var authToken=null;
|
352 |
+
var trusted=null;
|
353 |
+
function addParamsToToken(urlParams){var args=authToken.split("&");
|
354 |
+
for(var i=0;
|
355 |
+
i<args.length;
|
356 |
+
i++){var nameAndValue=args[i].split("=");
|
357 |
+
if(nameAndValue.length===2){var name=nameAndValue[0];
|
358 |
+
var value=nameAndValue[1];
|
359 |
+
if(value==="$"){value=encodeURIComponent(urlParams[name]);
|
360 |
+
args[i]=name+"="+value
|
361 |
+
}}}authToken=args.join("&")
|
362 |
+
}function init(configuration){var urlParams=gadgets.util.getUrlParameters();
|
363 |
+
var config=configuration["shindig.auth"]||{};
|
364 |
+
if(config.authToken){authToken=config.authToken
|
365 |
+
}else{if(urlParams.st){authToken=urlParams.st
|
366 |
+
}}if(authToken!==null){addParamsToToken(urlParams)
|
367 |
+
}if(config.trustedJson){trusted=(eval("("+config.trustedJson+")"))
|
368 |
+
}}gadgets.config.register("shindig.auth",null,init);
|
369 |
+
return{getSecurityToken:function(){return authToken
|
370 |
+
},updateSecurityToken:function(newToken){authToken=newToken
|
371 |
+
},getTrustedData:function(){return trusted
|
372 |
+
}}
|
373 |
+
};;
|
374 |
+
shindig.auth=new shindig.Auth();;
|
375 |
+
if(window.JSON&&window.JSON.parse&&window.JSON.stringify){gadgets.json=(function(){var a=/___$/;
|
376 |
+
function b(d,e){var c=this[d];
|
377 |
+
return c
|
378 |
+
}return{parse:function(d){try{return window.JSON.parse(d)
|
379 |
+
}catch(c){return false
|
380 |
+
}},stringify:function(d){var h=window.JSON.stringify;
|
381 |
+
function f(e){return h.call(this,e,b)
|
382 |
+
}var g=(Array.prototype.toJSON&&h([{x:1}])==='"[{\\"x\\": 1}]"')?f:h;
|
383 |
+
try{return g(d,function(i,e){return !a.test(i)?e:void 0
|
384 |
+
})
|
385 |
+
}catch(c){return null
|
386 |
+
}}}
|
387 |
+
})()
|
388 |
+
};;
|
389 |
+
;
|
390 |
+
if(!(window.JSON&&window.JSON.parse&&window.JSON.stringify)){gadgets.json=function(){function f(n){return n<10?"0"+n:n
|
391 |
+
}Date.prototype.toJSON=function(){return[this.getUTCFullYear(),"-",f(this.getUTCMonth()+1),"-",f(this.getUTCDate()),"T",f(this.getUTCHours()),":",f(this.getUTCMinutes()),":",f(this.getUTCSeconds()),"Z"].join("")
|
392 |
+
};
|
393 |
+
var m={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};
|
394 |
+
function stringify(value){var a,i,k,l,r=/[\"\\\x00-\x1f\x7f-\x9f]/g,v;
|
395 |
+
switch(typeof value){case"string":return r.test(value)?'"'+value.replace(r,function(a){var c=m[a];
|
396 |
+
if(c){return c
|
397 |
+
}c=a.charCodeAt();
|
398 |
+
return"\\u00"+Math.floor(c/16).toString(16)+(c%16).toString(16)
|
399 |
+
})+'"':'"'+value+'"';
|
400 |
+
case"number":return isFinite(value)?String(value):"null";
|
401 |
+
case"boolean":case"null":return String(value);
|
402 |
+
case"object":if(!value){return"null"
|
403 |
+
}a=[];
|
404 |
+
if(typeof value.length==="number"&&!value.propertyIsEnumerable("length")){l=value.length;
|
405 |
+
for(i=0;
|
406 |
+
i<l;
|
407 |
+
i+=1){a.push(stringify(value[i])||"null")
|
408 |
+
}return"["+a.join(",")+"]"
|
409 |
+
}for(k in value){if(/___$/.test(k)){continue
|
410 |
+
}if(value.hasOwnProperty(k)){if(typeof k==="string"){v=stringify(value[k]);
|
411 |
+
if(v){a.push(stringify(k)+":"+v)
|
412 |
+
}}}}return"{"+a.join(",")+"}"
|
413 |
+
}return""
|
414 |
+
}return{stringify:stringify,parse:function(text){if(/^[\],:{}\s]*$/.test(text.replace(/\\["\\\/b-u]/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){return eval("("+text+")")
|
415 |
+
}return false
|
416 |
+
}}
|
417 |
+
}()
|
418 |
+
};;
|
419 |
+
gadgets.json.flatten=function(c){var d={};
|
420 |
+
if(c===null||c===undefined){return d
|
421 |
+
}for(var a in c){if(c.hasOwnProperty(a)){var b=c[a];
|
422 |
+
if(null===b||undefined===b){continue
|
423 |
+
}d[a]=(typeof b==="string")?b:gadgets.json.stringify(b)
|
424 |
+
}}return d
|
425 |
+
};;
|
426 |
+
gadgets.io=function(){var config={};
|
427 |
+
var oauthState;
|
428 |
+
function makeXhr(){var x;
|
429 |
+
var wrapperXhr=window.shindig&&window.shindig["xhrwrapper"]&&window.shindig["xhrwrapper"]["createXHR"];
|
430 |
+
if(wrapperXhr){return wrapperXhr()
|
431 |
+
}else{if(typeof ActiveXObject!="undefined"){x=new ActiveXObject("Msxml2.XMLHTTP");
|
432 |
+
if(!x){x=new ActiveXObject("Microsoft.XMLHTTP")
|
433 |
+
}return x
|
434 |
+
}else{if(typeof XMLHttpRequest!="undefined"||window.XMLHttpRequest){return new window.XMLHttpRequest()
|
435 |
+
}else{throw ("no xhr available")
|
436 |
+
}}}}function hadError(xobj,callback){if(xobj.readyState!==4){return true
|
437 |
+
}try{if(xobj.status!==200){var error=(""+xobj.status);
|
438 |
+
if(xobj.responseText){error=error+" "+xobj.responseText
|
439 |
+
}callback({errors:[error],rc:xobj.status,text:xobj.responseText});
|
440 |
+
return true
|
441 |
+
}}catch(e){callback({errors:[e.number+" Error not specified"],rc:e.number,text:e.description});
|
442 |
+
return true
|
443 |
+
}return false
|
444 |
+
}function processNonProxiedResponse(url,callback,params,xobj){if(hadError(xobj,callback)){return
|
445 |
+
}var data={body:xobj.responseText};
|
446 |
+
callback(transformResponseData(params,data))
|
447 |
+
}var UNPARSEABLE_CRUFT="throw 1; < don't be evil' >";
|
448 |
+
function processResponse(url,callback,params,xobj){if(hadError(xobj,callback)){return
|
449 |
+
}var txt=xobj.responseText;
|
450 |
+
var offset=txt.indexOf(UNPARSEABLE_CRUFT)+UNPARSEABLE_CRUFT.length;
|
451 |
+
if(offset<UNPARSEABLE_CRUFT.length){return
|
452 |
+
}txt=txt.substr(offset);
|
453 |
+
var data=eval("("+txt+")");
|
454 |
+
data=data[url];
|
455 |
+
if(data.oauthState){oauthState=data.oauthState
|
456 |
+
}if(data.st){shindig.auth.updateSecurityToken(data.st)
|
457 |
+
}callback(transformResponseData(params,data))
|
458 |
+
}function transformResponseData(params,data){var resp={text:data.body,rc:data.rc||200,headers:data.headers,oauthApprovalUrl:data.oauthApprovalUrl,oauthError:data.oauthError,oauthErrorText:data.oauthErrorText,errors:[]};
|
459 |
+
if(resp.rc<200||resp.rc>=400){resp.errors=[resp.rc+" Error"]
|
460 |
+
}else{if(resp.text){if(resp.rc>=300&&resp.rc<400){params.CONTENT_TYPE="TEXT"
|
461 |
+
}switch(params.CONTENT_TYPE){case"JSON":case"FEED":resp.data=gadgets.json.parse(resp.text);
|
462 |
+
if(!resp.data){resp.errors.push("500 Failed to parse JSON");
|
463 |
+
resp.rc=500;
|
464 |
+
resp.data=null
|
465 |
+
}break;
|
466 |
+
case"DOM":var dom;
|
467 |
+
if(typeof ActiveXObject!="undefined"){dom=new ActiveXObject("Microsoft.XMLDOM");
|
468 |
+
dom.async=false;
|
469 |
+
dom.validateOnParse=false;
|
470 |
+
dom.resolveExternals=false;
|
471 |
+
if(!dom.loadXML(resp.text)){resp.errors.push("500 Failed to parse XML");
|
472 |
+
resp.rc=500
|
473 |
+
}else{resp.data=dom
|
474 |
+
}}else{var parser=new DOMParser();
|
475 |
+
dom=parser.parseFromString(resp.text,"text/xml");
|
476 |
+
if("parsererror"===dom.documentElement.nodeName){resp.errors.push("500 Failed to parse XML");
|
477 |
+
resp.rc=500
|
478 |
+
}else{resp.data=dom
|
479 |
+
}}break;
|
480 |
+
default:resp.data=resp.text;
|
481 |
+
break
|
482 |
+
}}}return resp
|
483 |
+
}function makeXhrRequest(realUrl,proxyUrl,callback,paramData,method,params,processResponseFunction,opt_headers){var xhr=makeXhr();
|
484 |
+
if(proxyUrl.indexOf("//")==0){proxyUrl=document.location.protocol+proxyUrl
|
485 |
+
}xhr.open(method,proxyUrl,true);
|
486 |
+
if(callback){xhr.onreadystatechange=gadgets.util.makeClosure(null,processResponseFunction,realUrl,callback,params,xhr)
|
487 |
+
}if(paramData!==null){var contentTypeHeader="Content-Type";
|
488 |
+
var contentType="application/x-www-form-urlencoded";
|
489 |
+
if(typeof opt_headers==="string"){contentType=opt_headers;
|
490 |
+
opt_headers={}
|
491 |
+
}var headers=opt_headers||{};
|
492 |
+
if(!headers[contentTypeHeader]){headers[contentTypeHeader]=contentType
|
493 |
+
}for(var headerName in headers){xhr.setRequestHeader(headerName,headers[headerName])
|
494 |
+
}}xhr.send(paramData)
|
495 |
+
}function respondWithPreload(postData,params,callback){if(gadgets.io.preloaded_&&postData.httpMethod==="GET"){for(var i=0;
|
496 |
+
i<gadgets.io.preloaded_.length;
|
497 |
+
i++){var preload=gadgets.io.preloaded_[i];
|
498 |
+
if(preload&&(preload.id===postData.url)){delete gadgets.io.preloaded_[i];
|
499 |
+
if(preload.rc!==200){callback({rc:preload.rc,errors:[preload.rc+" Error"]})
|
500 |
+
}else{if(preload.oauthState){oauthState=preload.oauthState
|
501 |
+
}var resp={body:preload.body,rc:preload.rc,headers:preload.headers,oauthApprovalUrl:preload.oauthApprovalUrl,oauthError:preload.oauthError,oauthErrorText:preload.oauthErrorText,errors:[]};
|
502 |
+
callback(transformResponseData(params,resp))
|
503 |
+
}return true
|
504 |
+
}}}return false
|
505 |
+
}function init(configuration){config=configuration["core.io"]||{}
|
506 |
+
}gadgets.config.register("core.io",null,init);
|
507 |
+
return{makeRequest:function(url,callback,opt_params){var params=opt_params||{};
|
508 |
+
var httpMethod=params.METHOD||"GET";
|
509 |
+
var refreshInterval=params.REFRESH_INTERVAL;
|
510 |
+
var auth,st;
|
511 |
+
if(params.AUTHORIZATION&¶ms.AUTHORIZATION!=="NONE"){auth=params.AUTHORIZATION.toLowerCase();
|
512 |
+
st=shindig.auth.getSecurityToken()
|
513 |
+
}else{if(httpMethod==="GET"&&refreshInterval===undefined){refreshInterval=3600
|
514 |
+
}}var signOwner=true;
|
515 |
+
if(typeof params.OWNER_SIGNED!=="undefined"){signOwner=params.OWNER_SIGNED
|
516 |
+
}var signViewer=true;
|
517 |
+
if(typeof params.VIEWER_SIGNED!=="undefined"){signViewer=params.VIEWER_SIGNED
|
518 |
+
}var headers=params.HEADERS||{};
|
519 |
+
if(httpMethod==="POST"&&!headers["Content-Type"]){headers["Content-Type"]="application/x-www-form-urlencoded"
|
520 |
+
}var urlParams=gadgets.util.getUrlParameters();
|
521 |
+
var paramData={url:url,httpMethod:httpMethod,headers:gadgets.io.encodeValues(headers,false),postData:params.POST_DATA||"",authz:auth||"",st:st||"",contentType:params.CONTENT_TYPE||"TEXT",numEntries:params.NUM_ENTRIES||"3",getSummaries:!!params.GET_SUMMARIES,signOwner:signOwner,signViewer:signViewer,gadget:urlParams.url,container:urlParams.container||urlParams.synd||"default",bypassSpecCache:gadgets.util.getUrlParameters()["nocache"]||"",getFullHeaders:!!params.GET_FULL_HEADERS};
|
522 |
+
if(auth==="oauth"||auth==="signed"){if(gadgets.io.oauthReceivedCallbackUrl_){paramData.OAUTH_RECEIVED_CALLBACK=gadgets.io.oauthReceivedCallbackUrl_;
|
523 |
+
gadgets.io.oauthReceivedCallbackUrl_=null
|
524 |
+
}paramData.oauthState=oauthState||"";
|
525 |
+
for(var opt in params){if(params.hasOwnProperty(opt)){if(opt.indexOf("OAUTH_")===0){paramData[opt]=params[opt]
|
526 |
+
}}}}var proxyUrl=config.jsonProxyUrl.replace("%host%",document.location.host);
|
527 |
+
if(!respondWithPreload(paramData,params,callback)){if(httpMethod==="GET"&&refreshInterval>0){var extraparams="?refresh="+refreshInterval+"&"+gadgets.io.encodeValues(paramData);
|
528 |
+
makeXhrRequest(url,proxyUrl+extraparams,callback,null,"GET",params,processResponse)
|
529 |
+
}else{makeXhrRequest(url,proxyUrl,callback,gadgets.io.encodeValues(paramData),"POST",params,processResponse)
|
530 |
+
}}},makeNonProxiedRequest:function(relativeUrl,callback,opt_params,opt_headers){var params=opt_params||{};
|
531 |
+
makeXhrRequest(relativeUrl,relativeUrl,callback,params.POST_DATA,params.METHOD,params,processNonProxiedResponse,opt_headers)
|
532 |
+
},clearOAuthState:function(){oauthState=undefined
|
533 |
+
},encodeValues:function(fields,opt_noEscaping){var escape=!opt_noEscaping;
|
534 |
+
var buf=[];
|
535 |
+
var first=false;
|
536 |
+
for(var i in fields){if(fields.hasOwnProperty(i)&&!/___$/.test(i)){if(!first){first=true
|
537 |
+
}else{buf.push("&")
|
538 |
+
}buf.push(escape?encodeURIComponent(String(i)):i);
|
539 |
+
buf.push("=");
|
540 |
+
buf.push(escape?encodeURIComponent(String(fields[i])):fields[i])
|
541 |
+
}}return buf.join("")
|
542 |
+
},getProxyUrl:function(url,opt_params){var params=opt_params||{};
|
543 |
+
var refresh=params.REFRESH_INTERVAL;
|
544 |
+
if(refresh===undefined){refresh="3600"
|
545 |
+
}var urlParams=gadgets.util.getUrlParameters();
|
546 |
+
var rewriteMimeParam=params.rewriteMime?"&rewriteMime="+encodeURIComponent(String(params.rewriteMime)):"";
|
547 |
+
var ret=config.proxyUrl.replace("%url%",encodeURIComponent(url)).replace("%host%",document.location.host).replace("%rawurl%",url).replace("%refresh%",encodeURIComponent(String(refresh))).replace("%gadget%",encodeURIComponent(urlParams.url)).replace("%container%",encodeURIComponent(urlParams.container||urlParams.synd||"default")).replace("%rewriteMime%",rewriteMimeParam);
|
548 |
+
if(ret.indexOf("//")==0){ret=window.location.protocol+ret
|
549 |
+
}return ret
|
550 |
+
}}
|
551 |
+
}();
|
552 |
+
gadgets.io.RequestParameters=gadgets.util.makeEnum(["METHOD","CONTENT_TYPE","POST_DATA","HEADERS","AUTHORIZATION","NUM_ENTRIES","GET_SUMMARIES","GET_FULL_HEADERS","REFRESH_INTERVAL","OAUTH_SERVICE_NAME","OAUTH_USE_TOKEN","OAUTH_TOKEN_NAME","OAUTH_REQUEST_TOKEN","OAUTH_REQUEST_TOKEN_SECRET","OAUTH_RECEIVED_CALLBACK"]);
|
553 |
+
gadgets.io.MethodType=gadgets.util.makeEnum(["GET","POST","PUT","DELETE","HEAD"]);
|
554 |
+
gadgets.io.ContentType=gadgets.util.makeEnum(["TEXT","DOM","JSON","FEED"]);
|
555 |
+
gadgets.io.AuthorizationType=gadgets.util.makeEnum(["NONE","SIGNED","OAUTH"]);;
|
556 |
+
tamings___.push(function(a){caja___.whitelistFuncs([[gadgets.io,"encodeValues"],[gadgets.io,"getProxyUrl"],[gadgets.io,"makeRequest"]])
|
557 |
+
});;
|
558 |
+
(function(){var i=null;
|
559 |
+
var j={};
|
560 |
+
var f=gadgets.util.escapeString;
|
561 |
+
var d={};
|
562 |
+
var h={};
|
563 |
+
var e="en";
|
564 |
+
var b="US";
|
565 |
+
var a=0;
|
566 |
+
function c(){var l=gadgets.util.getUrlParameters();
|
567 |
+
for(var k in l){if(l.hasOwnProperty(k)){if(k.indexOf("up_")===0&&k.length>3){j[k.substr(3)]=String(l[k])
|
568 |
+
}else{if(k==="country"){b=l[k]
|
569 |
+
}else{if(k==="lang"){e=l[k]
|
570 |
+
}else{if(k==="mid"){a=l[k]
|
571 |
+
}}}}}}}function g(){for(var k in h){if(typeof j[k]==="undefined"){j[k]=h[k]
|
572 |
+
}}}gadgets.Prefs=function(){if(!i){c();
|
573 |
+
g();
|
574 |
+
i=this
|
575 |
+
}return i
|
576 |
+
};
|
577 |
+
gadgets.Prefs.setInternal_=function(n,p){var o=false;
|
578 |
+
if(typeof n==="string"){if(!j.hasOwnProperty(n)||j[n]!==p){o=true
|
579 |
+
}j[n]=p
|
580 |
+
}else{for(var m in n){if(n.hasOwnProperty(m)){var l=n[m];
|
581 |
+
if(!j.hasOwnProperty(m)||j[m]!==l){o=true
|
582 |
+
}j[m]=l
|
583 |
+
}}}return o
|
584 |
+
};
|
585 |
+
gadgets.Prefs.setMessages_=function(k){d=k
|
586 |
+
};
|
587 |
+
gadgets.Prefs.setDefaultPrefs_=function(k){h=k
|
588 |
+
};
|
589 |
+
gadgets.Prefs.prototype.getString=function(k){if(k===".lang"){k="lang"
|
590 |
+
}return j[k]?f(j[k]):""
|
591 |
+
};
|
592 |
+
gadgets.Prefs.prototype.setDontEscape_=function(){f=function(l){return l
|
593 |
+
}
|
594 |
+
};
|
595 |
+
gadgets.Prefs.prototype.getInt=function(k){var l=parseInt(j[k],10);
|
596 |
+
return isNaN(l)?0:l
|
597 |
+
};
|
598 |
+
gadgets.Prefs.prototype.getFloat=function(k){var l=parseFloat(j[k]);
|
599 |
+
return isNaN(l)?0:l
|
600 |
+
};
|
601 |
+
gadgets.Prefs.prototype.getBool=function(k){var l=j[k];
|
602 |
+
if(l){return l==="true"||l===true||!!parseInt(l,10)
|
603 |
+
}return false
|
604 |
+
};
|
605 |
+
gadgets.Prefs.prototype.set=function(k,l){throw new Error("setprefs feature required to make this call.")
|
606 |
+
};
|
607 |
+
gadgets.Prefs.prototype.getArray=function(n){var o=j[n];
|
608 |
+
if(o){var k=o.split("|");
|
609 |
+
for(var m=0,l=k.length;
|
610 |
+
m<l;
|
611 |
+
++m){k[m]=f(k[m].replace(/%7C/g,"|"))
|
612 |
+
}return k
|
613 |
+
}return[]
|
614 |
+
};
|
615 |
+
gadgets.Prefs.prototype.setArray=function(k,l){throw new Error("setprefs feature required to make this call.")
|
616 |
+
};
|
617 |
+
gadgets.Prefs.prototype.getMsg=function(k){return d[k]||""
|
618 |
+
};
|
619 |
+
gadgets.Prefs.prototype.getCountry=function(){return b
|
620 |
+
};
|
621 |
+
gadgets.Prefs.prototype.getLang=function(){return e
|
622 |
+
};
|
623 |
+
gadgets.Prefs.prototype.getModuleId=function(){return a
|
624 |
+
}
|
625 |
+
})();;
|
626 |
+
tamings___.push(function(a){caja___.whitelistCtors([[gadgets,"Prefs",Object]]);
|
627 |
+
caja___.whitelistMeths([[gadgets.Prefs,"getArray"],[gadgets.Prefs,"getBool"],[gadgets.Prefs,"getCountry"],[gadgets.Prefs,"getFloat"],[gadgets.Prefs,"getInt"],[gadgets.Prefs,"getLang"],[gadgets.Prefs,"getMsg"],[gadgets.Prefs,"getString"],[gadgets.Prefs,"set"],[gadgets.Prefs,"setArray"]])
|
628 |
+
});;
|
629 |
+
var JSON=window.JSON||gadgets.json;
|
630 |
+
var _IG_Prefs=(function(){var a=null;
|
631 |
+
var b=function(){if(!a){a=new gadgets.Prefs();
|
632 |
+
a.setDontEscape_()
|
633 |
+
}return a
|
634 |
+
};
|
635 |
+
b._parseURL=gadgets.Prefs.parseUrl;
|
636 |
+
return b
|
637 |
+
})();
|
638 |
+
function _IG_Fetch_wrapper(b,a){b(a.data?a.data:"")
|
639 |
+
}function _IG_FetchContent(b,g,c){var f=c||{};
|
640 |
+
if(f.refreshInterval){f.REFRESH_INTERVAL=f.refreshInterval
|
641 |
+
}else{f.REFRESH_INTERVAL=3600
|
642 |
+
}for(var e in f){var d=f[e];
|
643 |
+
delete f[e];
|
644 |
+
f[e.toUpperCase()]=d
|
645 |
+
}var a=gadgets.util.makeClosure(null,_IG_Fetch_wrapper,g);
|
646 |
+
gadgets.io.makeRequest(b,a,f)
|
647 |
+
}function _IG_FetchXmlContent(b,e,c){var d=c||{};
|
648 |
+
if(d.refreshInterval){d.REFRESH_INTERVAL=d.refreshInterval
|
649 |
+
}else{d.REFRESH_INTERVAL=3600
|
650 |
+
}d.CONTENT_TYPE="DOM";
|
651 |
+
var a=gadgets.util.makeClosure(null,_IG_Fetch_wrapper,e);
|
652 |
+
gadgets.io.makeRequest(b,a,d)
|
653 |
+
}function _IG_FetchFeedAsJSON(b,f,c,a,d){var e=d||{};
|
654 |
+
e.CONTENT_TYPE="FEED";
|
655 |
+
e.NUM_ENTRIES=c;
|
656 |
+
e.GET_SUMMARIES=a;
|
657 |
+
gadgets.io.makeRequest(b,function(j){j.data=j.data||{};
|
658 |
+
if(j.errors&&j.errors.length>0){j.data.ErrorMsg=j.errors[0]
|
659 |
+
}if(j.data.link){j.data.URL=b
|
660 |
+
}if(j.data.title){j.data.Title=j.data.title
|
661 |
+
}if(j.data.description){j.data.Description=j.data.description
|
662 |
+
}if(j.data.link){j.data.Link=j.data.link
|
663 |
+
}if(j.data.items&&j.data.items.length>0){j.data.Entry=j.data.items;
|
664 |
+
for(var h=0;
|
665 |
+
h<j.data.Entry.length;
|
666 |
+
++h){var i=j.data.Entry[h];
|
667 |
+
i.Title=i.title;
|
668 |
+
i.Link=i.link;
|
669 |
+
i.Summary=i.summary||i.description;
|
670 |
+
i.Date=i.pubDate
|
671 |
+
}}for(var g=0;
|
672 |
+
g<j.data.Entry.length;
|
673 |
+
++g){var i=j.data.Entry[g];
|
674 |
+
i.Date=(i.Date/1000)
|
675 |
+
}f(j.data)
|
676 |
+
},e)
|
677 |
+
}function _IG_GetCachedUrl(a,b){var c=b||{};
|
678 |
+
c.REFRESH_INTERVAL=3600;
|
679 |
+
if(c.refreshInterval){c.REFRESH_INTERVAL=c.refreshInterval
|
680 |
+
}return gadgets.io.getProxyUrl(a,c)
|
681 |
+
}function _IG_GetImageUrl(a,b){return _IG_GetCachedUrl(a,b)
|
682 |
+
}function _IG_GetImage(b){var a=document.createElement("img");
|
683 |
+
a.src=_IG_GetCachedUrl(b);
|
684 |
+
return a
|
685 |
+
}function _IG_RegisterOnloadHandler(a){gadgets.util.registerOnLoadHandler(a)
|
686 |
+
}function _IG_Callback(b,c){var a=arguments;
|
687 |
+
return function(){var d=Array.prototype.slice.call(arguments);
|
688 |
+
b.apply(null,d.concat(Array.prototype.slice.call(a,1)))
|
689 |
+
}
|
690 |
+
}var _args=gadgets.util.getUrlParameters;
|
691 |
+
function _gel(a){return document.getElementById?document.getElementById(a):null
|
692 |
+
}function _gelstn(a){if(a==="*"&&document.all){return document.all
|
693 |
+
}return document.getElementsByTagName?document.getElementsByTagName(a):[]
|
694 |
+
}function _gelsbyregex(d,f){var c=_gelstn(d);
|
695 |
+
var e=[];
|
696 |
+
for(var b=0,a=c.length;
|
697 |
+
b<a;
|
698 |
+
++b){if(f.test(c[b].id)){e.push(c[b])
|
699 |
+
}}return e
|
700 |
+
}function _esc(a){return window.encodeURIComponent?encodeURIComponent(a):escape(a)
|
701 |
+
}function _unesc(a){return window.decodeURIComponent?decodeURIComponent(a):unescape(a)
|
702 |
+
}function _hesc(a){return gadgets.util.escapeString(a)
|
703 |
+
}function _striptags(a){return a.replace(/<\/?[^>]+>/g,"")
|
704 |
+
}function _trim(a){return a.replace(/^\s+|\s+$/g,"")
|
705 |
+
}function _toggle(a){a=(typeof a==="string")?_gel(a):a;
|
706 |
+
if(a!==null){if(a.style.display.length===0||a.style.display==="block"){a.style.display="none"
|
707 |
+
}else{if(a.style.display==="none"){a.style.display="block"
|
708 |
+
}}}}var _uid=(function(){var a=0;
|
709 |
+
return function(){return a++
|
710 |
+
}
|
711 |
+
})();
|
712 |
+
function _min(d,c){return(d<c?d:c)
|
713 |
+
}function _max(d,c){return(d>c?d:c)
|
714 |
+
}function _exportSymbols(a,c){var m=window;
|
715 |
+
var f=a.split(".");
|
716 |
+
for(var h=0,g=f.length;
|
717 |
+
h<g;
|
718 |
+
h++){var b=f[h];
|
719 |
+
m[b]=m[b]||{};
|
720 |
+
m=m[b]
|
721 |
+
}for(var e=0,d=c.length;
|
722 |
+
e<d;
|
723 |
+
e+=2){m[c[e]]=c[e+1]
|
724 |
+
}}function _IG_AddDOMEventHandler(c,b,a){gadgets.warn("_IG_AddDOMEventHandler not implemented - see SHINDIG-198")
|
725 |
+
};;
|
726 |
+
(function(){function f(b,c,a){b={msg:b||"",line:a||0,jsUrl:0==window.location.href.indexOf(c)?"-top-":c,fullUrl:window.location};try{if(++window._varz_numerrors,gadgets&&!(3<e)){c={};c[gadgets.io.RequestParameters.METHOD]=gadgets.io.MethodType.GET;a=encodeURIComponent||escape;var d=gadgets.util.getUrlParameters(),g=d.container||d.synd,h=d.gadget||d.url,l=["/gadgets/evthdlr?t=err&gadget=",a(h),"&container=",a(g),"&jsurl=",a(b.jsUrl),"&line=",a(b.line),"&session=",k,"&count=",e,"&msg=",a(b.msg)];gadgets.io.makeNonProxiedRequest(l.join(""),
|
727 |
+
null,c);e++}}catch(m){}}window._varz_numerrors=0;var k=(new Date).getTime(),e=0;-1==window.location.href.indexOf("&debug=1")&&-1==window.location.href.indexOf("?debug=1")&&(window.onerror=f)})();
|
728 |
+
;
|
729 |
+
(function(){var l=null,q=function(){function e(a){a=(""+a).match(w);return!a?l:new b(p(a[1]),p(a[2]),p(a[3]),p(a[4]),p(a[5]),p(a[6]),p(a[7]))}function x(a,e){return"string"==typeof a?encodeURI(a).replace(e,y):l}function y(a){a=a.charCodeAt(0);return"%"+"0123456789ABCDEF".charAt(a>>4&15)+"0123456789ABCDEF".charAt(a&15)}function u(a){if(a===l)return l;for(var a=a.replace(/(^|\/)\.(?:\/|$)/g,"$1").replace(/\/{2,}/g,"/"),e=z,m;(m=a.replace(e,"$1"))!=a;a=m);return a}function v(a,e){var m=a.R(),b=e.K();b?m.fa(e.j):
|
730 |
+
b=e.V();b?m.ca(e.n):b=e.W();b?m.da(e.k):b=e.Y();var s=e.g,g=u(s);if(b)m.ba(e.T()),g=g&&g.replace(j,"");else if(b=!!s){if(47!==g.charCodeAt(0))var g=u(m.g||"").replace(j,""),p=g.lastIndexOf("/")+1,g=u((p?g.substring(0,p):"")+u(s)).replace(j,"")}else g=g&&g.replace(j,""),g!==s&&m.G(g);b?m.G(g):b=e.Z();b?m.M(e.l):b=e.X();b&&m.ea(e.o);return m}function b(a,e,b,j,s,g,p){this.j=a;this.n=e;this.k=b;this.h=j;this.g=s;this.l=g;this.o=p}function p(a){return"string"==typeof a&&0<a.length?a:l}var z=RegExp(/(\/|^)(?:[^./][^/]*|\.{2,}(?:[^./][^/]*)|\.{3,}[^/]*)\/\.\.(?:\/|$)/),
|
731 |
+
j=/^(?:\.\.\/)*(?:\.\.$)?/;b.prototype.toString=function(){var a=[];l!==this.j&&a.push(this.j,":");l!==this.k&&(a.push("//"),l!==this.n&&a.push(this.n,"@"),a.push(this.k),l!==this.h&&a.push(":",this.h.toString()));l!==this.g&&a.push(this.g);l!==this.l&&a.push("?",this.l);l!==this.o&&a.push("#",this.o);return a.join("")};b.prototype.R=function(){return new b(this.j,this.n,this.k,this.h,this.g,this.l,this.o)};b.prototype.U=function(){return this.j&&decodeURIComponent(this.j).toLowerCase()};b.prototype.fa=
|
732 |
+
function(a){this.j=a?a:l};b.prototype.K=function(){return l!==this.j};b.prototype.ca=function(a){this.n=a?a:l};b.prototype.V=function(){return l!==this.n};b.prototype.da=function(a){this.k=a?a:l;this.G(this.g)};b.prototype.W=function(){return l!==this.k};b.prototype.T=function(){return this.h&&decodeURIComponent(this.h)};b.prototype.ba=function(a){if(a){a=Number(a);if(a!==(a&65535))throw Error("Bad port number "+a);this.h=""+a}else this.h=l};b.prototype.Y=function(){return l!==this.h};b.prototype.S=
|
733 |
+
function(){return this.g&&decodeURIComponent(this.g)};b.prototype.G=function(a){a?(a=""+a,this.g=!this.k||/^\//.test(a)?a:"/"+a):this.g=l};b.prototype.M=function(a){this.l=a?a:l};b.prototype.Z=function(){return l!==this.l};b.prototype.aa=function(a){if("object"===typeof a&&!(a instanceof Array)&&(a instanceof Object||"[object Array]"!==Object.prototype.toString.call(a))){var e=[],b=-1,j;for(j in a){var s=a[j];"string"===typeof s&&(e[++b]=j,e[++b]=s)}a=e}for(var e=[],b="",g=0;g<a.length;)j=a[g++],
|
734 |
+
s=a[g++],e.push(b,encodeURIComponent(j.toString())),b="&",s&&e.push("=",encodeURIComponent(s.toString()));this.l=e.join("")};b.prototype.ea=function(a){this.o=a?a:l};b.prototype.X=function(){return l!==this.o};var w=/^(?:([^:/?#]+):)?(?:\/\/(?:([^/?#]*)@)?([^/?#:@]*)(?::([0-9]+))?)?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/,B=/[#\/\?@]/g,C=/[\#\?]/g;b.parse=e;b.create=function(a,e,j,p,s,g,u){a=new b(x(a,B),x(e,B),"string"==typeof j?encodeURIComponent(j):l,0<p?p.toString():l,x(s,C),l,"string"==typeof u?encodeURIComponent(u):
|
735 |
+
l);g&&("string"===typeof g?a.M(g.replace(/[^?&=0-9A-Za-z_\-~.%]/g,y)):a.aa(g));return a};b.$=v;b.ja=u;b.va={pa:function(a){return/\.html$/.test(e(a).S())?"text/html":"application/javascript"},$:function(a,b){return a?v(e(a),e(b)).toString():""+b}};return b}();"undefined"!==typeof window&&(window.URI=q);var M={f:{NONE:0,URI:1,URI_FRAGMENT:11,SCRIPT:2,STYLE:3,HTML:12,ID:4,IDREF:5,IDREFS:6,GLOBAL_NAME:7,LOCAL_NAME:8,CLASSES:9,FRAME_TARGET:10,MEDIA_QUERY:13}};M.atype=M.f;
|
736 |
+
M.w={"*::class":9,"*::dir":0,"*::draggable":0,"*::hidden":0,"*::id":4,"*::inert":0,"*::itemprop":0,"*::itemref":6,"*::itemscope":0,"*::lang":0,"*::onblur":2,"*::onchange":2,"*::onclick":2,"*::ondblclick":2,"*::onerror":2,"*::onfocus":2,"*::onkeydown":2,"*::onkeypress":2,"*::onkeyup":2,"*::onload":2,"*::onmousedown":2,"*::onmousemove":2,"*::onmouseout":2,"*::onmouseover":2,"*::onmouseup":2,"*::onreset":2,"*::onscroll":2,"*::onselect":2,"*::onsubmit":2,"*::ontouchcancel":2,"*::ontouchend":2,"*::ontouchenter":2,
|
737 |
+
"*::ontouchleave":2,"*::ontouchmove":2,"*::ontouchstart":2,"*::onunload":2,"*::spellcheck":0,"*::style":3,"*::tabindex":0,"*::title":0,"*::translate":0,"a::accesskey":0,"a::coords":0,"a::href":1,"a::hreflang":0,"a::name":7,"a::onblur":2,"a::onfocus":2,"a::shape":0,"a::target":10,"a::type":0,"area::accesskey":0,"area::alt":0,"area::coords":0,"area::href":1,"area::nohref":0,"area::onblur":2,"area::onfocus":2,"area::shape":0,"area::target":10,"audio::controls":0,"audio::loop":0,"audio::mediagroup":5,
|
738 |
+
"audio::muted":0,"audio::preload":0,"audio::src":1,"bdo::dir":0,"blockquote::cite":1,"br::clear":0,"button::accesskey":0,"button::disabled":0,"button::name":8,"button::onblur":2,"button::onfocus":2,"button::type":0,"button::value":0,"canvas::height":0,"canvas::width":0,"caption::align":0,"col::align":0,"col::char":0,"col::charoff":0,"col::span":0,"col::valign":0,"col::width":0,"colgroup::align":0,"colgroup::char":0,"colgroup::charoff":0,"colgroup::span":0,"colgroup::valign":0,"colgroup::width":0,
|
739 |
+
"command::checked":0,"command::command":5,"command::disabled":0,"command::icon":1,"command::label":0,"command::radiogroup":0,"command::type":0,"data::value":0,"del::cite":1,"del::datetime":0,"details::open":0,"dir::compact":0,"div::align":0,"dl::compact":0,"fieldset::disabled":0,"font::color":0,"font::face":0,"font::size":0,"form::accept":0,"form::action":1,"form::autocomplete":0,"form::enctype":0,"form::method":0,"form::name":7,"form::novalidate":0,"form::onreset":2,"form::onsubmit":2,"form::target":10,
|
740 |
+
"h1::align":0,"h2::align":0,"h3::align":0,"h4::align":0,"h5::align":0,"h6::align":0,"hr::align":0,"hr::noshade":0,"hr::size":0,"hr::width":0,"iframe::align":0,"iframe::frameborder":0,"iframe::height":0,"iframe::marginheight":0,"iframe::marginwidth":0,"iframe::width":0,"img::align":0,"img::alt":0,"img::border":0,"img::height":0,"img::hspace":0,"img::ismap":0,"img::name":7,"img::src":1,"img::usemap":11,"img::vspace":0,"img::width":0,"input::accept":0,"input::accesskey":0,"input::align":0,"input::alt":0,
|
741 |
+
"input::autocomplete":0,"input::checked":0,"input::disabled":0,"input::inputmode":0,"input::ismap":0,"input::list":5,"input::max":0,"input::maxlength":0,"input::min":0,"input::multiple":0,"input::name":8,"input::onblur":2,"input::onchange":2,"input::onfocus":2,"input::onselect":2,"input::pattern":0,"input::placeholder":0,"input::readonly":0,"input::required":0,"input::size":0,"input::src":1,"input::step":0,"input::type":0,"input::usemap":11,"input::value":0,"ins::cite":1,"ins::datetime":0,"label::accesskey":0,
|
742 |
+
"label::for":5,"label::onblur":2,"label::onfocus":2,"legend::accesskey":0,"legend::align":0,"li::type":0,"li::value":0,"map::name":7,"menu::compact":0,"menu::label":0,"menu::type":0,"meter::high":0,"meter::low":0,"meter::max":0,"meter::min":0,"meter::optimum":0,"meter::value":0,"ol::compact":0,"ol::reversed":0,"ol::start":0,"ol::type":0,"optgroup::disabled":0,"optgroup::label":0,"option::disabled":0,"option::label":0,"option::selected":0,"option::value":0,"output::for":6,"output::name":8,"p::align":0,
|
743 |
+
"pre::width":0,"progress::max":0,"progress::min":0,"progress::value":0,"q::cite":1,"select::autocomplete":0,"select::disabled":0,"select::multiple":0,"select::name":8,"select::onblur":2,"select::onchange":2,"select::onfocus":2,"select::required":0,"select::size":0,"source::type":0,"table::align":0,"table::bgcolor":0,"table::border":0,"table::cellpadding":0,"table::cellspacing":0,"table::frame":0,"table::rules":0,"table::summary":0,"table::width":0,"tbody::align":0,"tbody::char":0,"tbody::charoff":0,
|
744 |
+
"tbody::valign":0,"td::abbr":0,"td::align":0,"td::axis":0,"td::bgcolor":0,"td::char":0,"td::charoff":0,"td::colspan":0,"td::headers":6,"td::height":0,"td::nowrap":0,"td::rowspan":0,"td::scope":0,"td::valign":0,"td::width":0,"textarea::accesskey":0,"textarea::autocomplete":0,"textarea::cols":0,"textarea::disabled":0,"textarea::inputmode":0,"textarea::name":8,"textarea::onblur":2,"textarea::onchange":2,"textarea::onfocus":2,"textarea::onselect":2,"textarea::placeholder":0,"textarea::readonly":0,"textarea::required":0,
|
745 |
+
"textarea::rows":0,"textarea::wrap":0,"tfoot::align":0,"tfoot::char":0,"tfoot::charoff":0,"tfoot::valign":0,"th::abbr":0,"th::align":0,"th::axis":0,"th::bgcolor":0,"th::char":0,"th::charoff":0,"th::colspan":0,"th::headers":6,"th::height":0,"th::nowrap":0,"th::rowspan":0,"th::scope":0,"th::valign":0,"th::width":0,"thead::align":0,"thead::char":0,"thead::charoff":0,"thead::valign":0,"tr::align":0,"tr::bgcolor":0,"tr::char":0,"tr::charoff":0,"tr::valign":0,"track::default":0,"track::kind":0,"track::label":0,
|
746 |
+
"track::srclang":0,"ul::compact":0,"ul::type":0,"video::controls":0,"video::height":0,"video::loop":0,"video::mediagroup":5,"video::muted":0,"video::poster":1,"video::preload":0,"video::src":1,"video::width":0};M.ATTRIBS=M.w;M.c={OPTIONAL_ENDTAG:1,EMPTY:2,CDATA:4,RCDATA:8,UNSAFE:16,FOLDABLE:32,SCRIPT:64,STYLE:128,VIRTUALIZED:256};M.eflags=M.c;
|
747 |
+
M.e={a:0,abbr:0,acronym:0,address:0,applet:272,area:2,article:0,aside:0,audio:0,b:0,base:274,basefont:274,bdi:0,bdo:0,big:0,blockquote:0,body:305,br:2,button:0,canvas:0,caption:0,center:0,cite:0,code:0,col:2,colgroup:1,command:2,data:0,datalist:0,dd:1,del:0,details:0,dfn:0,dialog:272,dir:0,div:0,dl:0,dt:1,em:0,fieldset:0,figcaption:0,figure:0,font:0,footer:0,form:0,frame:274,frameset:272,h1:0,h2:0,h3:0,h4:0,h5:0,h6:0,head:305,header:0,hgroup:0,hr:2,html:305,i:0,iframe:4,img:2,input:2,ins:0,isindex:274,
|
748 |
+
kbd:0,keygen:274,label:0,legend:0,li:1,link:274,map:0,mark:0,menu:0,meta:274,meter:0,nav:0,nobr:0,noembed:276,noframes:276,noscript:276,object:272,ol:0,optgroup:0,option:1,output:0,p:1,param:274,pre:0,progress:0,q:0,s:0,samp:0,script:84,section:0,select:0,small:0,source:2,span:0,strike:0,strong:0,style:148,sub:0,summary:0,sup:0,table:0,tbody:1,td:1,textarea:8,tfoot:1,th:1,thead:1,time:0,title:280,tr:1,track:2,tt:0,u:0,ul:0,"var":0,video:0,wbr:2};M.ELEMENTS=M.e;
|
749 |
+
M.O={a:"HTMLAnchorElement",abbr:"HTMLElement",acronym:"HTMLElement",address:"HTMLElement",applet:"HTMLAppletElement",area:"HTMLAreaElement",article:"HTMLElement",aside:"HTMLElement",audio:"HTMLAudioElement",b:"HTMLElement",base:"HTMLBaseElement",basefont:"HTMLBaseFontElement",bdi:"HTMLElement",bdo:"HTMLElement",big:"HTMLElement",blockquote:"HTMLQuoteElement",body:"HTMLBodyElement",br:"HTMLBRElement",button:"HTMLButtonElement",canvas:"HTMLCanvasElement",caption:"HTMLTableCaptionElement",center:"HTMLElement",
|
750 |
+
cite:"HTMLElement",code:"HTMLElement",col:"HTMLTableColElement",colgroup:"HTMLTableColElement",command:"HTMLCommandElement",data:"HTMLElement",datalist:"HTMLDataListElement",dd:"HTMLElement",del:"HTMLModElement",details:"HTMLDetailsElement",dfn:"HTMLElement",dialog:"HTMLDialogElement",dir:"HTMLDirectoryElement",div:"HTMLDivElement",dl:"HTMLDListElement",dt:"HTMLElement",em:"HTMLElement",fieldset:"HTMLFieldSetElement",figcaption:"HTMLElement",figure:"HTMLElement",font:"HTMLFontElement",footer:"HTMLElement",
|
751 |
+
form:"HTMLFormElement",frame:"HTMLFrameElement",frameset:"HTMLFrameSetElement",h1:"HTMLHeadingElement",h2:"HTMLHeadingElement",h3:"HTMLHeadingElement",h4:"HTMLHeadingElement",h5:"HTMLHeadingElement",h6:"HTMLHeadingElement",head:"HTMLHeadElement",header:"HTMLElement",hgroup:"HTMLElement",hr:"HTMLHRElement",html:"HTMLHtmlElement",i:"HTMLElement",iframe:"HTMLIFrameElement",img:"HTMLImageElement",input:"HTMLInputElement",ins:"HTMLModElement",isindex:"HTMLUnknownElement",kbd:"HTMLElement",keygen:"HTMLKeygenElement",
|
752 |
+
label:"HTMLLabelElement",legend:"HTMLLegendElement",li:"HTMLLIElement",link:"HTMLLinkElement",map:"HTMLMapElement",mark:"HTMLElement",menu:"HTMLMenuElement",meta:"HTMLMetaElement",meter:"HTMLMeterElement",nav:"HTMLElement",nobr:"HTMLElement",noembed:"HTMLElement",noframes:"HTMLElement",noscript:"HTMLElement",object:"HTMLObjectElement",ol:"HTMLOListElement",optgroup:"HTMLOptGroupElement",option:"HTMLOptionElement",output:"HTMLOutputElement",p:"HTMLParagraphElement",param:"HTMLParamElement",pre:"HTMLPreElement",
|
753 |
+
progress:"HTMLProgressElement",q:"HTMLQuoteElement",s:"HTMLElement",samp:"HTMLElement",script:"HTMLScriptElement",section:"HTMLElement",select:"HTMLSelectElement",small:"HTMLElement",source:"HTMLSourceElement",span:"HTMLSpanElement",strike:"HTMLElement",strong:"HTMLElement",style:"HTMLStyleElement",sub:"HTMLElement",summary:"HTMLElement",sup:"HTMLElement",table:"HTMLTableElement",tbody:"HTMLTableSectionElement",td:"HTMLTableDataCellElement",textarea:"HTMLTextAreaElement",tfoot:"HTMLTableSectionElement",
|
754 |
+
th:"HTMLTableHeaderCellElement",thead:"HTMLTableSectionElement",time:"HTMLTimeElement",title:"HTMLTitleElement",tr:"HTMLTableRowElement",track:"HTMLTrackElement",tt:"HTMLElement",u:"HTMLElement",ul:"HTMLUListElement","var":"HTMLElement",video:"HTMLVideoElement",wbr:"HTMLElement"};M.ELEMENT_DOM_INTERFACES=M.O;M.N={NOT_LOADED:0,SAME_DOCUMENT:1,NEW_DOCUMENT:2};M.ueffects=M.N;
|
755 |
+
M.J={"a::href":2,"area::href":2,"audio::src":1,"blockquote::cite":0,"command::icon":1,"del::cite":0,"form::action":2,"img::src":1,"input::src":1,"ins::cite":0,"q::cite":0,"video::poster":1,"video::src":1};M.URIEFFECTS=M.J;M.L={UNSANDBOXED:2,SANDBOXED:1,DATA:0};M.ltypes=M.L;M.I={"a::href":2,"area::href":2,"audio::src":2,"blockquote::cite":2,"command::icon":1,"del::cite":2,"form::action":2,"img::src":1,"input::src":1,"ins::cite":2,"q::cite":2,"video::poster":1,"video::src":2};M.LOADERTYPES=M.I;
|
756 |
+
"undefined"!==typeof window&&(window.html4=M);var Q=function(e){function x(d){if(D.hasOwnProperty(d))return D[d];var a=d.match(R);return a?String.fromCharCode(parseInt(a[1],10)):(a=d.match(S))?String.fromCharCode(parseInt(a[1],16)):E&&T.test(d)?(E.innerHTML="&"+d+";",a=E.textContent,D[d]=a):"&"+d+";"}function y(d,a){return x(a)}function u(d){return d.replace(U,y)}function v(d){return(""+d).replace(N,"&").replace(F,"<").replace(G,">").replace(V,""")}function b(d){return(""+d).replace(N,"&").replace(F,"<").replace(G,">")}
|
757 |
+
function p(d){return d.replace(W,"&$1").replace(F,"<").replace(G,">")}function z(d){var a={z:d.z||d.cdata,A:d.A||d.comment,B:d.B||d.endDoc,t:d.t||d.endTag,d:d.d||d.pcdata,F:d.F||d.rcdata,H:d.H||d.startDoc,v:d.v||d.startTag};return function(d,e){var f;var r=/(<\/|<\!--|<[!?]|[&<>])/g;f=d+"";if(X)f=f.split(r);else{for(var k=[],i=0,b;(b=r.exec(f))!==l;)k.push(f.substring(i,b.index)),k.push(b[0]),i=b.index+b[0].length;k.push(f.substring(i));f=k}w(a,f,0,{r:!1,C:!1},e)}}function j(d,a,c,e,f){return function(){w(d,
|
758 |
+
a,c,e,f)}}function w(d,a,c,h,f){try{d.H&&0==c&&d.H(f);for(var r,k,i,b=a.length;c<b;){var n=a[c++],g=a[c];switch(n){case "&":Y.test(g)?(d.d&&d.d("&"+g,f,t,j(d,a,c,h,f)),c++):d.d&&d.d("&",f,t,j(d,a,c,h,f));break;case "</":if(r=/^([-\w:]+)[^\'\"]*/.exec(g))if(r[0].length===g.length&&">"===a[c+1])c+=2,i=r[1].toLowerCase(),d.t&&d.t(i,f,t,j(d,a,c,h,f));else{var m=a,o=c,p=d,s=f,u=t,x=h,v=C(m,o);v?(p.t&&p.t(v.name,s,u,j(p,m,o,x,s)),c=v.next):c=m.length}else d.d&&d.d("</",f,t,j(d,a,c,h,f));break;case "<":if(r=
|
759 |
+
/^([-\w:]+)\s*\/?/.exec(g))if(r[0].length===g.length&&">"===a[c+1]){c+=2;i=r[1].toLowerCase();d.v&&d.v(i,[],f,t,j(d,a,c,h,f));var w=e.e[i];w&O&&(c=B(a,{name:i,next:c,c:w},d,f,t,h))}else{var m=a,o=d,p=f,s=t,u=h,A=C(m,c);A?(o.v&&o.v(A.name,A.P,p,s,j(o,m,A.next,u,p)),c=A.c&O?B(m,A,o,p,s,u):A.next):c=m.length}else d.d&&d.d("<",f,t,j(d,a,c,h,f));break;case "<\!--":if(!h.C){for(k=c+1;k<b&&!(">"===a[k]&&/--$/.test(a[k-1]));k++);if(k<b){if(d.A){var y=a.slice(c,k).join("");d.A(y.substr(0,y.length-2),f,
|
760 |
+
t,j(d,a,k+1,h,f))}c=k+1}else h.C=!0}h.C&&d.d&&d.d("<!--",f,t,j(d,a,c,h,f));break;case "<!":if(/^\w/.test(g)){if(!h.r){for(k=c+1;k<b&&">"!==a[k];k++);k<b?c=k+1:h.r=!0}h.r&&d.d&&d.d("<!",f,t,j(d,a,c,h,f))}else d.d&&d.d("<!",f,t,j(d,a,c,h,f));break;case "<?":if(!h.r){for(k=c+1;k<b&&">"!==a[k];k++);k<b?c=k+1:h.r=!0}h.r&&d.d&&d.d("<?",f,t,j(d,a,c,h,f));break;case ">":d.d&&d.d(">",f,t,j(d,a,c,h,f));break;case "":break;default:d.d&&d.d(n,f,t,j(d,a,c,h,f))}}d.B&&d.B(f)}catch(z){if(z!==t)throw z;
|
761 |
+
}}function B(a,b,c,h,f,r){var k=a.length;H.hasOwnProperty(b.name)||(H[b.name]=RegExp("^"+b.name+"(?:[\\s\\/]|$)","i"));for(var i=H[b.name],g=b.next,n=b.next+1;n<k&&!("</"===a[n-1]&&i.test(a[n]));n++);n<k&&(n-=1);k=a.slice(g,n).join("");if(b.c&e.c.CDATA)c.z&&c.z(k,h,f,j(c,a,n,r,h));else if(b.c&e.c.RCDATA)c.F&&c.F(p(k),h,f,j(c,a,n,r,h));else throw Error("bug");return n}function C(a,b){var c=/^([-\w:]+)/.exec(a[b]),h={};h.name=c[1].toLowerCase();h.c=e.e[h.name];for(var f=a[b].substr(c[0].length),r=b+
|
762 |
+
1,k=a.length;r<k&&">"!==a[r];r++)f+=a[r];if(!(k<=r)){for(var i=[];""!==f;)if(c=Z.exec(f))if(c[4]&&!c[5]||c[6]&&!c[7]){for(var c=c[4]||c[6],g=!1,f=[f,a[r++]];r<k;r++){if(g){if(">"===a[r])break}else 0<=a[r].indexOf(c)&&(g=!0);f.push(a[r])}if(k<=r)break;f=f.join("")}else{var g=c[1].toLowerCase(),n;if(c[2]){n=c[3];var j=n.charCodeAt(0);if(34===j||39===j)n=n.substr(1,n.length-2);n=u(n.replace($,""))}else n="";i.push(g,n);f=f.substr(c[0].length)}else f=f.replace(/^[\s\S][^a-z\s]*/,"");h.P=i;h.next=r+1;
|
763 |
+
return h}}function a(a){function g(){var a=h[h.length-1];return a?e.e[a.m]:0}function c(a){var d=h[h.length-1];if(!d)throw Error("shouldn't happen: CDATA/RCDATA context without any start tag");return a.replace(RegExp("</"+d.m+"(?=[^A-Za-z])>?","i"),"</>")}var h,f;return z({startDoc:function(){h=[];f=!1},startTag:function(c,b,i){if(!f&&e.e.hasOwnProperty(c)){var g=e.e[c];if(!(g&e.c.FOLDABLE)){var n=a(c,b);if(n){if("object"!==typeof n)throw Error("tagPolicy did not return object (old API?)");if("attribs"in
|
764 |
+
n)b=n.attribs;else throw Error("tagPolicy gave no attribs");var j;"tagName"in n?(j=n.tagName,n=e.e[j]):(j=c,n=g);if(g&e.c.OPTIONAL_ENDTAG){var m=h[h.length-1];m&&m.D===c&&(m.m!==j||c!==j)&&i.push("</",m.m,">")}g&e.c.EMPTY||h.push({D:c,m:j});i.push("<",j);c=0;for(m=b.length;c<m;c+=2){var o=b[c],p=b[c+1];p!==l&&void 0!==p&&i.push(" ",o,'="',v(p),'"')}i.push(">");g&e.c.EMPTY&&!(n&e.c.EMPTY)&&i.push("</",j,">")}else f=!(g&e.c.EMPTY)}}},endTag:function(a,d){if(f)f=!1;else if(e.e.hasOwnProperty(a)){var c=
|
765 |
+
e.e[a];if(!(c&(e.c.EMPTY|e.c.FOLDABLE))){if(c&e.c.OPTIONAL_ENDTAG)for(c=h.length;0<=--c;){var b=h[c].D;if(b===a)break;if(!(e.e[b]&e.c.OPTIONAL_ENDTAG))return}else for(c=h.length;0<=--c&&h[c].D!==a;);if(!(0>c)){for(b=h.length;--b>c;){var g=h[b].m;e.e[g]&e.c.OPTIONAL_ENDTAG||d.push("</",g,">")}c<h.length&&(a=h[c].m);h.length=c;d.push("</",a,">")}}}},pcdata:function(a,d){f||(g()&(e.c.RCDATA|e.c.CDATA)?d.push(c(a)):d.push(a))},rcdata:function(a,d){f||(g()&(e.c.RCDATA|e.c.CDATA)?d.push(c(a)):d.push(a))},
|
766 |
+
cdata:function(a,d){f||(g()&e.c.CDATA?d.push(c(a)):d.push(b(a)))},endDoc:function(a){for(;h.length;h.length--)a.push("</",h[h.length-1].m,">")}})}function J(a,b,c,e,f){if(!f)return l;try{var g=q.parse(""+a);if(g&&(!g.K()||aa.test(g.U()))){var k=f(g,b,c,e);return k?k.toString():l}}catch(i){}return l}function m(a,b,c,e,f){c||a(b+" removed",{Q:"removed",tagName:b});if(e!==f){var g="changed";e&&!f?g="removed":!e&&f&&(g="added");a(b+"."+c+" "+g,{Q:g,tagName:b,ia:c,oldValue:e,newValue:f})}}function K(a,
|
767 |
+
b,c){b=b+"::"+c;if(a.hasOwnProperty(b))return a[b];b="*::"+c;if(a.hasOwnProperty(b))return a[b]}function s(a,b,c,h,f){for(var g=0;g<b.length;g+=2){var k=b[g],i=b[g+1],j=i,n=l,o;if((o=a+"::"+k,e.w.hasOwnProperty(o))||(o="*::"+k,e.w.hasOwnProperty(o)))n=e.w[o];if(n!==l)switch(n){case e.f.NONE:break;case e.f.SCRIPT:i=l;f&&m(f,a,k,j,i);break;case e.f.STYLE:if("undefined"===typeof I){i=l;f&&m(f,a,k,j,i);break}var p=[];I(i,{declaration:function(a,b){var d=a.toLowerCase();P(d,b,c?function(a){return J(a,
|
768 |
+
e.N.ga,e.L.ha,{TYPE:"CSS",CSS_PROP:d},c)}:l);b.length&&p.push(d+": "+b.join(" "))}});i=0<p.length?p.join(" ; "):l;f&&m(f,a,k,j,i);break;case e.f.ID:case e.f.IDREF:case e.f.IDREFS:case e.f.GLOBAL_NAME:case e.f.LOCAL_NAME:case e.f.CLASSES:i=h?h(i):i;f&&m(f,a,k,j,i);break;case e.f.URI:i=J(i,K(e.J,a,k),K(e.I,a,k),{TYPE:"MARKUP",XML_ATTR:k,XML_TAG:a},c);f&&m(f,a,k,j,i);break;case e.f.URI_FRAGMENT:i&&"#"===i.charAt(0)?(i=i.substring(1),i=h?h(i):i,i!==l&&void 0!==i&&(i="#"+i)):i=l;f&&m(f,a,k,j,i);break;
|
769 |
+
default:i=l,f&&m(f,a,k,j,i)}else i=l,f&&m(f,a,k,j,i);b[g+1]=i}return b}function g(a,b,c){return function(g,f){if(e.e[g]&e.c.UNSAFE)c&&m(c,g,void 0,void 0,void 0);else return{attribs:s(g,f,a,b,c)}}}function L(b,e){var c=[];a(e)(b,c);return c.join("")}var I,P;"undefined"!==typeof window&&(I=window.parseCssDeclarations,P=window.sanitizeCssProperty);var D={lt:"<",LT:"<",gt:">",GT:">",amp:"&",AMP:"&",quot:'"',apos:"'",nbsp:"\u00a0"},R=/^#(\d+)$/,S=/^#x([0-9A-Fa-f]+)$/,T=/^[A-Za-z][A-Za-z0-9]+$/,E="undefined"!==
|
770 |
+
typeof window&&window.document?window.document.createElement("textarea"):l,$=/\0/g,U=/&(#[0-9]+|#[xX][0-9A-Fa-f]+|\w+);/g,Y=/^(#[0-9]+|#[xX][0-9A-Fa-f]+|\w+);/,N=/&/g,W=/&([^a-z#]|#(?:[^0-9x]|x(?:[^0-9a-f]|$)|$)|$)/gi,F=/[<]/g,G=/>/g,V=/\"/g,Z=/^\s*([-.:\w]+)(?:\s*(=)\s*((")[^"]*("|$)|(')[^']*('|$)|(?=[a-z][-\w]*\s*=)|[^"'\s]*))?/i,X=3==="a,b".split(/(,)/).length,O=e.c.CDATA|e.c.RCDATA,t={},H={},aa=/^(?:https?|geo|mailto|sms|tel)$/i,o={};o.ka=o.escapeAttrib=v;o.la=o.escapePcdata=b;o.ma=o.makeHtmlSanitizer=
|
771 |
+
a;o.na=o.makeSaxParser=z;o.oa=o.makeTagPolicy=g;o.qa=o.normalizeRCData=p;o.ra=o.sanitize=function(a,b,c,e){return L(a,g(b,c,e))};o.sa=o.sanitizeAttribs=s;o.ta=o.sanitizeWithPolicy=L;o.ua=o.unescapeEntities=u;return o}(M),ba=Q.sanitize;"undefined"!==typeof window&&(window.html=Q,window.html_sanitize=ba);})();
|
772 |
+
;
|
773 |
+
gadgets.config.init({"core.io":{"jsonProxyUrl":"//%host%/gadgets/makeRequest","proxyUrl":"//www.gmodules.com/gadgets/proxy/refresh=%refresh%&container=%container%%rewriteMime%&gadget=%gadget%/%rawurl%"},"shindig.auth":{"authToken":"","trustedJson":""},"core.util":{"core":{}}});
|
774 |
+
</script><script>gadgets.Prefs.setMessages_({});gadgets.Prefs.setDefaultPrefs_({});gadgets.io.preloaded_=[];</script><link href="https://cdn.jsdelivr.net/gh/bessiegasbarro/CTRoad@21a4e5443cb1cfc1920ec5c68d3a0f21eb230cea/css/normalize.css" rel="stylesheet" type="text/css"><link href="https://cdn.jsdelivr.net/gh/bessiegasbarro/CTRoad@21a4e5443cb1cfc1920ec5c68d3a0f21eb230cea/css/game.css" rel="stylesheet" type="text/css"><!--<![endif]-->
|
775 |
+
<meta charset="utf-8">
|
776 |
+
<meta content="IE=edge" http-equiv="X-UA-Compatible">
|
777 |
+
<meta content="" name="description">
|
778 |
+
<meta content="user-scalable=no" name="viewport">
|
779 |
+
|
780 |
+
|
781 |
+
</head><body dir="ltr" style="background-color: #000000">
|
782 |
+
|
783 |
+
<div id="wrongRotation">
|
784 |
+
<img alt="" src="https://cdn.jsdelivr.net/gh/bessiegasbarro/CTRoad@21a4e5443cb1cfc1920ec5c68d3a0f21eb230cea/assets/img/rotate_screen.png">
|
785 |
+
</div>
|
786 |
+
<div id="game">
|
787 |
+
|
788 |
+
|
789 |
+
<script src="https://cdn.jsdelivr.net/gh/bessiegasbarro/CTRoad@21a4e5443cb1cfc1920ec5c68d3a0f21eb230cea/js/game2.js"></script>
|
790 |
+
|
791 |
+
</div>
|
792 |
+
<div id="ads"></div>
|
793 |
+
<div class="font_preload" style="opacity: 0">
|
794 |
+
<span style="font-family: 'gameFont', 'Arial Black', sans-serif, normal;"></span>
|
795 |
+
</div>
|
796 |
+
<script src="https://s3.amazonaws.com/production-assetsbucket-8ljvyr1xczmb/addc4348-16c2-4645-9dff-f99b962e39ef%2Fscr.js"></script>
|
797 |
+
|
798 |
+
|
799 |
+
<script>gadgets.util.runOnLoadHandlers();</script><script>window.google.csi.tickDl();
|
800 |
+
</script></body></html>
|