HTML5user

Hole.Io Game Embed Code

Feb 7th, 2024
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 68.66 KB | None | 0 0
  1. <html><head><script id="gamedistribution-jssdk" src="//html5.api.gamedistribution.c0m/main.min.js"></script><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;
  2. 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",
  3. void 0,window.external.startE),c.tick("tbnd_","_tbnd",b))));a&&(window.jstiming.pt=a)}catch(g){}})();}).call(this);
  4. 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&&
  5. 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];
  6. 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]=
  7. 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,
  8. g,!1))}};document.addEventListener(e,g,!1);return""}return sendReport_(a,b,c)}};/*
  9.  
  10. Copyright The Closure Library Authors.
  11. SPDX-License-Identifier: Apache-2.0
  12. */
  13. 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";
  14. 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;
  15. 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)};
  16. 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._$]*$/;
  17. 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.");
  18. 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};
  19. 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};
  20. 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};
  21. 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}}};
  22. 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(){};
  23. 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_={};
  24. goog.DEPENDENCIES_ENABLED=!1;goog.TRANSPILE="detect";goog.ASSUME_ES_MODULES_TRANSPILED=!1;goog.TRUSTED_TYPES_POLICY_NAME="goog";goog.hasBadLetScoping=null;
  25. 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&&
  26. 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};
  27. 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}};
  28. 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};
  29. 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;
  30. 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)};
  31. 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)};
  32. 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)};
  33. 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};
  34. 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,"&lt;"));c&&c.unescapeHtmlEntities&&(a=a.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&apos;/g,"'").replace(/&quot;/g,'"').replace(/&amp;/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};
  35. 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)};
  36. 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;
  37. 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(" ");
  38. 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};
  39. 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||{};
  40. 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"===
  41. 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||
  42. {};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")}}}();
  43. </script><script>__dflags={"RefererProxy":"control","DynamicHeightGadgetRewriter":"true","CacheErrorThrottleCountLimit":"control","AnalyticsGadgetRewriter":"true","StyleAdjacencyGadgetRewriter":"true","CsiSample":"true","UseETags":"false","StyleTagExtractorGadgetRewriter":"true","LogResources":"false","ContentDivGadgetRewriter":"false","TimeSecsSinceEpochEnvGadgetRewriter":"true","AdsUrlGadgetRewriter":"true","ErrorCodesToLog":"control","YtVideoUrlGadgetRewriter":"true","ProxyingGadgetRewriter":"true","CorpDomainSuffixes":"control","DflagsJsDebugGadgetRewriter":"true","GadgetBlacklist":"control","MiniMessageGadgetRewriter":"true","EnableJsErrorTracking":"true","TrackResources":"false","ClickTrackGadgetRewriter":"false","InjectClientId":"false","DisableLoggingJs":"false","UseBrowserSpecificJson":"false","HtmlParser":"control","UseUrlGadgetWhitelist":"false","ResourceUsageJsDebugGadgetRewriter":"true","UrlTranslations":"control","EnableContextCache":"false","UseNoVarGlobals":"false","Monkeypatch":"control","ValidateTypeUrl":"true","UseJsPipelineForRendering":"false"};
  44.  
  45. /* mp-start */
  46. window['___jsl']=window['___jsl']||{};
  47. /* mp-end */
  48. </script><style type="text/css">body,td,div,span,p{font-family:arial,sans-serif;}a {color:#0000cc;}a:visited {color:#551a8b;}a:active {color:#ff0000;}body{margin: 0px;padding: 0px;background-color:white;}</style><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;
  49. var tamings___=window.tamings___||[];
  50. var bridge___;
  51. var caja___=window.caja___;
  52. var ___=window.___;;
  53. var gapi=window.gapi||{};gapi.client=window.gapi&&window.gapi.client||{};
  54. ;
  55. ;
  56. var gadgets=window.gadgets||{},shindig=window.shindig||{},osapi=window.osapi=window.osapi||{};
  57. ;
  58. window['___cfg'] = window['___cfg'] || window['___gcfg'];;
  59. if(!window.gadgets["config"]){gadgets.config=function(){var f;
  60. var h={};
  61. var b={};
  62. function c(j,l){for(var k in l){if(!l.hasOwnProperty(k)){continue
  63. }if(typeof j[k]==="object"&&typeof l[k]==="object"){c(j[k],l[k])
  64. }else{j[k]=l[k]
  65. }}}function i(){var j=document.scripts||document.getElementsByTagName("script");
  66. if(!j||j.length==0){return null
  67. }var m;
  68. if(f.u){for(var k=0;
  69. !m&&k<j.length;
  70. ++k){var l=j[k];
  71. if(l.src&&l.src.indexOf(f.u)==0){m=l
  72. }}}if(!m){m=j[j.length-1]
  73. }if(!m.src){return null
  74. }return m
  75. }function a(j){var k="";
  76. if(j.nodeType==3||j.nodeType==4){k=j.nodeValue
  77. }else{if(j.innerText){k=j.innerText
  78. }else{if(j.innerHTML){k=j.innerHTML
  79. }else{if(j.firstChild){var l=[];
  80. for(var m=j.firstChild;
  81. m;
  82. m=m.nextSibling){l.push(a(m))
  83. }k=l.join("")
  84. }}}}return k
  85. }function e(k){if(!k){return{}
  86. }var j;
  87. while(k.charCodeAt(k.length-1)==0){k=k.substring(0,k.length-1)
  88. }try{j=(new Function("return ("+k+"\n)"))()
  89. }catch(l){}if(typeof j==="object"){return j
  90. }try{j=(new Function("return ({"+k+"\n})"))()
  91. }catch(l){}return typeof j==="object"?j:{}
  92. }function g(n){var p=window.___cfg;
  93. if(p){c(n,p)
  94. }var o=i();
  95. if(!o){return
  96. }var k=a(o);
  97. var j=e(k);
  98. if(f.f&&f.f.length==1){var m=f.f[0];
  99. if(!j[m]){var l={};
  100. l[f.f[0]]=j;
  101. j=l
  102. }}c(n,j)
  103. }function d(o){for(var l in h){if(h.hasOwnProperty(l)){var n=h[l];
  104. for(var m=0,k=n.length;
  105. m<k;
  106. ++m){o(l,n[m])
  107. }}}}return{register:function(l,k,j,m){var n=h[l];
  108. if(!n){n=[];
  109. h[l]=n
  110. }n.push({validators:k||{},callback:j,callOnUpdate:m})
  111. },get:function(j){if(j){return b[j]||{}
  112. }return b
  113. },init:function(k,j){f=window.___jsl||{};
  114. c(b,k);
  115. g(b);
  116. var l=window.___config||{};
  117. c(b,l);
  118. d(function(q,p){var o=b[q];
  119. if(o&&!j){var m=p.validators;
  120. 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+'"')
  121. }}}}if(p.callback){p.callback(b)
  122. }})
  123. },update:function(k,p){var o=(window.gapi&&window.gapi["config"]&&window.gapi["config"]["update"]);
  124. if(!p&&o){o(k)
  125. }var n=[];
  126. d(function(q,j){if(k.hasOwnProperty(q)||(p&&b&&b[q])){if(j.callback&&j.callOnUpdate){n.push(j.callback)
  127. }}});
  128. b=p?{}:b||{};
  129. c(b,k);
  130. for(var m=0,l=n.length;
  131. m<l;
  132. ++m){n[m](b)
  133. }}}
  134. }()
  135. }else{gadgets.config=window.gadgets["config"];
  136. gadgets.config.register=gadgets.config.register;
  137. gadgets.config.get=gadgets.config.get;
  138. gadgets.config.init=gadgets.config.init;
  139. gadgets.config.update=gadgets.config.update
  140. };;
  141. gadgets.log=(function(){var e=1;
  142. var a=2;
  143. var f=3;
  144. var c=4;
  145. var d=function(i){b(e,i)
  146. };
  147. gadgets.warn=function(i){b(a,i)
  148. };
  149. gadgets.error=function(i){b(f,i)
  150. };
  151. gadgets.debug=function(i){};
  152. gadgets.setLogLevel=function(i){h=i
  153. };
  154. function b(k,i){if(k<h||!g){return
  155. }if(k===a&&g.warn){g.warn(i)
  156. }else{if(k===f&&g.error){try{g.error(i)
  157. }catch(j){}}else{if(g.log){g.log(i)
  158. }}}}d.INFO=e;
  159. d.WARNING=a;
  160. d.NONE=c;
  161. var h=e;
  162. var g=window.console?window.console:window.opera?window.opera.postError:undefined;
  163. return d
  164. })();;
  165. tamings___.push(function(a){caja___.whitelistFuncs([[gadgets,"log"],[gadgets,"warn"],[gadgets,"error"],[gadgets,"setLogLevel"]]);
  166. caja___.whitelistProps([[gadgets.log,"INFO"],[gadgets.log,"WARNING"],[gadgets.log,"ERROR"],[gadgets.log,"NONE"]])
  167. });;
  168. ;
  169. (function(){gadgets.config.EnumValidator=function(d){var c=[];
  170. if(arguments.length>1){for(var b=0,a;
  171. (a=arguments[b]);
  172. ++b){c.push(a)
  173. }}else{c=d
  174. }return function(f){for(var e=0,g;
  175. (g=c[e]);
  176. ++e){if(f===c[e]){return true
  177. }}return false
  178. }
  179. };
  180. gadgets.config.RegExValidator=function(a){return function(b){return a.test(b)
  181. }
  182. };
  183. gadgets.config.ExistsValidator=function(a){return typeof a!=="undefined"
  184. };
  185. gadgets.config.NonEmptyStringValidator=function(a){return typeof a==="string"&&a.length>0
  186. };
  187. gadgets.config.BooleanValidator=function(a){return typeof a==="boolean"
  188. };
  189. gadgets.config.LikeValidator=function(a){return function(c){for(var d in a){if(a.hasOwnProperty(d)){var b=a[d];
  190. if(!b(c[d])){return false
  191. }}}return true
  192. }
  193. }
  194. })();;
  195. gadgets.util=gadgets.util||{};
  196. (function(){gadgets.util.makeClosure=function(d,f,e){var c=[];
  197. for(var b=2,a=arguments.length;
  198. b<a;
  199. ++b){c.push(arguments[b])
  200. }return function(){var g=c.slice();
  201. for(var k=0,h=arguments.length;
  202. k<h;
  203. ++k){g.push(arguments[k])
  204. }return f.apply(d,g)
  205. }
  206. };
  207. gadgets.util.makeEnum=function(b){var c,a,d={};
  208. for(c=0;
  209. (a=b[c]);
  210. ++c){d[a]=a
  211. }return d
  212. }
  213. })();;
  214. gadgets.util=gadgets.util||{};
  215. (function(){var c="http://www.w3.org/1999/xhtml";
  216. function b(f,e){var h=e||{};
  217. for(var g in h){if(h.hasOwnProperty(g)){f[g]=h[g]
  218. }}}function d(g,f){var e=["<",g];
  219. var i=f||{};
  220. for(var h in i){if(i.hasOwnProperty(h)){e.push(" ");
  221. e.push(h);
  222. e.push('="');
  223. e.push(gadgets.util.escapeString(i[h]));
  224. e.push('"')
  225. }}e.push("></");
  226. e.push(g);
  227. e.push(">");
  228. return e.join("")
  229. }function a(f){var g="";
  230. if(f.nodeType==3||f.nodeType==4){g=f.nodeValue
  231. }else{if(f.innerText){g=f.innerText
  232. }else{if(f.innerHTML){g=f.innerHTML
  233. }else{if(f.firstChild){var e=[];
  234. for(var h=f.firstChild;
  235. h;
  236. h=h.nextSibling){e.push(a(h))
  237. }g=e.join("")
  238. }}}}return g
  239. }gadgets.util.createElement=function(f){var e;
  240. if((!document.body)||document.body.namespaceURI){try{e=document.createElementNS(c,f)
  241. }catch(g){}}return e||document.createElement(f)
  242. };
  243. gadgets.util.createIframeElement=function(g){var i=gadgets.util.createElement("iframe");
  244. try{var e=d("iframe",g);
  245. var f=gadgets.util.createElement(e);
  246. if(f&&((!i)||((f.tagName==i.tagName)&&(f.namespaceURI==i.namespaceURI)))){i=f
  247. }}catch(h){}b(i,g);
  248. return i
  249. };
  250. gadgets.util.getBodyElement=function(){if(document.body){return document.body
  251. }try{var f=document.getElementsByTagNameNS(c,"body");
  252. if(f&&(f.length==1)){return f[0]
  253. }}catch(e){}return document.documentElement||document
  254. };
  255. gadgets.util.getInnerText=function(e){return a(e)
  256. }
  257. })();;
  258. gadgets.util=gadgets.util||{};
  259. (function(){gadgets.util.attachBrowserEvent=function(c,b,d,a){if(typeof c.addEventListener!="undefined"){c.addEventListener(b,d,a)
  260. }else{if(typeof c.attachEvent!="undefined"){c.attachEvent("on"+b,d)
  261. }else{gadgets.warn("cannot attachBrowserEvent: "+b)
  262. }}};
  263. gadgets.util.removeBrowserEvent=function(c,b,d,a){if(c.removeEventListener){c.removeEventListener(b,d,a)
  264. }else{if(c.detachEvent){c.detachEvent("on"+b,d)
  265. }else{gadgets.warn("cannot removeBrowserEvent: "+b)
  266. }}}
  267. })();;
  268. gadgets.util=gadgets.util||{};
  269. (function(){var a=[];
  270. gadgets.util.registerOnLoadHandler=function(b){a.push(b)
  271. };
  272. gadgets.util.runOnLoadHandlers=function(){for(var c=0,b=a.length;
  273. c<b;
  274. ++c){a[c]()
  275. }}
  276. })();;
  277. tamings___.push(function(a){caja___.whitelistFuncs([[gadgets.util,"registerOnLoadHandler"]])
  278. });;
  279. gadgets.util=gadgets.util||{};
  280. (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};
  281. function b(c,d){return String.fromCharCode(d)
  282. }gadgets.util.escape=function(c,g){if(!c){return c
  283. }else{if(typeof c==="string"){return gadgets.util.escapeString(c)
  284. }else{if(typeof c==="Array"){for(var f=0,d=c.length;
  285. f<d;
  286. ++f){c[f]=gadgets.util.escape(c[f])
  287. }}else{if(typeof c==="object"&&g){var e={};
  288. for(var h in c){if(c.hasOwnProperty(h)){e[gadgets.util.escapeString(h)]=gadgets.util.escape(c[h],true)
  289. }}return e
  290. }}}}return c
  291. };
  292. gadgets.util.escapeString=function(g){if(!g){return g
  293. }var d=[],f,h;
  294. for(var e=0,c=g.length;
  295. e<c;
  296. ++e){f=g.charCodeAt(e);
  297. h=a[f];
  298. if(h===true){d.push("&#",f,";")
  299. }else{if(h!==false){d.push(g.charAt(e))
  300. }}}return d.join("")
  301. };
  302. gadgets.util.unescapeString=function(c){if(!c){return c
  303. }return c.replace(/&#([0-9]+);/g,b)
  304. }
  305. })();;
  306. tamings___.push(function(a){caja___.whitelistFuncs([[gadgets.util,"escape"],[gadgets.util,"escapeString"],[gadgets.util,"unescapeString"]])
  307. });;
  308. gadgets.util=gadgets.util||{};
  309. (function(){var a=null;
  310. function b(e){var f;
  311. var c=e.indexOf("?");
  312. var d=e.indexOf("#");
  313. if(d===-1){f=e.substr(c+1)
  314. }else{f=[e.substr(c+1,d-c-1),"&",e.substr(d+1)].join("")
  315. }return f.split("&")
  316. }gadgets.util.getUrlParameters=function(p){var d=typeof p==="undefined";
  317. if(a!==null&&d){return a
  318. }var l={};
  319. var f=b(p||window.location.href);
  320. var n=window.decodeURIComponent?decodeURIComponent:unescape;
  321. for(var h=0,g=f.length;
  322. h<g;
  323. ++h){var m=f[h].indexOf("=");
  324. if(m===-1){continue
  325. }var c=f[h].substring(0,m);
  326. var o=f[h].substring(m+1);
  327. o=o.replace(/\+/g," ");
  328. try{l[c]=n(o)
  329. }catch(k){}}if(d){a=l
  330. }return l
  331. };
  332. gadgets.util.getUrlParameters()
  333. })();;
  334. tamings___.push(function(a){caja___.whitelistFuncs([[gadgets.util,"getUrlParameters"]])
  335. });;
  336. gadgets.util=gadgets.util||{};
  337. (function(){var b={};
  338. var a={};
  339. function c(d){b=d["core.util"]||{}
  340. }if(gadgets.config){gadgets.config.register("core.util",null,c)
  341. }gadgets.util.getFeatureParameters=function(d){return typeof b[d]==="undefined"?null:b[d]
  342. };
  343. gadgets.util.hasFeature=function(d){return typeof b[d]!=="undefined"
  344. };
  345. gadgets.util.getServices=function(){return a
  346. }
  347. })();;
  348. tamings___.push(function(a){caja___.whitelistFuncs([[gadgets.util,"getFeatureParameters"],[gadgets.util,"hasFeature"]])
  349. });;
  350. shindig.Auth=function(){var authToken=null;
  351. var trusted=null;
  352. function addParamsToToken(urlParams){var args=authToken.split("&");
  353. for(var i=0;
  354. i<args.length;
  355. i++){var nameAndValue=args[i].split("=");
  356. if(nameAndValue.length===2){var name=nameAndValue[0];
  357. var value=nameAndValue[1];
  358. if(value==="$"){value=encodeURIComponent(urlParams[name]);
  359. args[i]=name+"="+value
  360. }}}authToken=args.join("&")
  361. }function init(configuration){var urlParams=gadgets.util.getUrlParameters();
  362. var config=configuration["shindig.auth"]||{};
  363. if(config.authToken){authToken=config.authToken
  364. }else{if(urlParams.st){authToken=urlParams.st
  365. }}if(authToken!==null){addParamsToToken(urlParams)
  366. }if(config.trustedJson){trusted=(eval("("+config.trustedJson+")"))
  367. }}gadgets.config.register("shindig.auth",null,init);
  368. return{getSecurityToken:function(){return authToken
  369. },updateSecurityToken:function(newToken){authToken=newToken
  370. },getTrustedData:function(){return trusted
  371. }}
  372. };;
  373. shindig.auth=new shindig.Auth();;
  374. if(window.JSON&&window.JSON.parse&&window.JSON.stringify){gadgets.json=(function(){var a=/___$/;
  375. function b(d,e){var c=this[d];
  376. return c
  377. }return{parse:function(d){try{return window.JSON.parse(d)
  378. }catch(c){return false
  379. }},stringify:function(d){var h=window.JSON.stringify;
  380. function f(e){return h.call(this,e,b)
  381. }var g=(Array.prototype.toJSON&&h([{x:1}])==='"[{\\"x\\": 1}]"')?f:h;
  382. try{return g(d,function(i,e){return !a.test(i)?e:void 0
  383. })
  384. }catch(c){return null
  385. }}}
  386. })()
  387. };;
  388. ;
  389. if(!(window.JSON&&window.JSON.parse&&window.JSON.stringify)){gadgets.json=function(){function f(n){return n<10?"0"+n:n
  390. }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("")
  391. };
  392. var m={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};
  393. function stringify(value){var a,i,k,l,r=/[\"\\\x00-\x1f\x7f-\x9f]/g,v;
  394. switch(typeof value){case"string":return r.test(value)?'"'+value.replace(r,function(a){var c=m[a];
  395. if(c){return c
  396. }c=a.charCodeAt();
  397. return"\\u00"+Math.floor(c/16).toString(16)+(c%16).toString(16)
  398. })+'"':'"'+value+'"';
  399. case"number":return isFinite(value)?String(value):"null";
  400. case"boolean":case"null":return String(value);
  401. case"object":if(!value){return"null"
  402. }a=[];
  403. if(typeof value.length==="number"&&!value.propertyIsEnumerable("length")){l=value.length;
  404. for(i=0;
  405. i<l;
  406. i+=1){a.push(stringify(value[i])||"null")
  407. }return"["+a.join(",")+"]"
  408. }for(k in value){if(/___$/.test(k)){continue
  409. }if(value.hasOwnProperty(k)){if(typeof k==="string"){v=stringify(value[k]);
  410. if(v){a.push(stringify(k)+":"+v)
  411. }}}}return"{"+a.join(",")+"}"
  412. }return""
  413. }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+")")
  414. }return false
  415. }}
  416. }()
  417. };;
  418. gadgets.json.flatten=function(c){var d={};
  419. if(c===null||c===undefined){return d
  420. }for(var a in c){if(c.hasOwnProperty(a)){var b=c[a];
  421. if(null===b||undefined===b){continue
  422. }d[a]=(typeof b==="string")?b:gadgets.json.stringify(b)
  423. }}return d
  424. };;
  425. gadgets.io=function(){var config={};
  426. var oauthState;
  427. function makeXhr(){var x;
  428. var wrapperXhr=window.shindig&&window.shindig["xhrwrapper"]&&window.shindig["xhrwrapper"]["createXHR"];
  429. if(wrapperXhr){return wrapperXhr()
  430. }else{if(typeof ActiveXObject!="undefined"){x=new ActiveXObject("Msxml2.XMLHTTP");
  431. if(!x){x=new ActiveXObject("Microsoft.XMLHTTP")
  432. }return x
  433. }else{if(typeof XMLHttpRequest!="undefined"||window.XMLHttpRequest){return new window.XMLHttpRequest()
  434. }else{throw ("no xhr available")
  435. }}}}function hadError(xobj,callback){if(xobj.readyState!==4){return true
  436. }try{if(xobj.status!==200){var error=(""+xobj.status);
  437. if(xobj.responseText){error=error+" "+xobj.responseText
  438. }callback({errors:[error],rc:xobj.status,text:xobj.responseText});
  439. return true
  440. }}catch(e){callback({errors:[e.number+" Error not specified"],rc:e.number,text:e.description});
  441. return true
  442. }return false
  443. }function processNonProxiedResponse(url,callback,params,xobj){if(hadError(xobj,callback)){return
  444. }var data={body:xobj.responseText};
  445. callback(transformResponseData(params,data))
  446. }var UNPARSEABLE_CRUFT="throw 1; < don't be evil' >";
  447. function processResponse(url,callback,params,xobj){if(hadError(xobj,callback)){return
  448. }var txt=xobj.responseText;
  449. var offset=txt.indexOf(UNPARSEABLE_CRUFT)+UNPARSEABLE_CRUFT.length;
  450. if(offset<UNPARSEABLE_CRUFT.length){return
  451. }txt=txt.substr(offset);
  452. var data=eval("("+txt+")");
  453. data=data[url];
  454. if(data.oauthState){oauthState=data.oauthState
  455. }if(data.st){shindig.auth.updateSecurityToken(data.st)
  456. }callback(transformResponseData(params,data))
  457. }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:[]};
  458. if(resp.rc<200||resp.rc>=400){resp.errors=[resp.rc+" Error"]
  459. }else{if(resp.text){if(resp.rc>=300&&resp.rc<400){params.CONTENT_TYPE="TEXT"
  460. }switch(params.CONTENT_TYPE){case"JSON":case"FEED":resp.data=gadgets.json.parse(resp.text);
  461. if(!resp.data){resp.errors.push("500 Failed to parse JSON");
  462. resp.rc=500;
  463. resp.data=null
  464. }break;
  465. case"DOM":var dom;
  466. if(typeof ActiveXObject!="undefined"){dom=new ActiveXObject("Microsoft.XMLDOM");
  467. dom.async=false;
  468. dom.validateOnParse=false;
  469. dom.resolveExternals=false;
  470. if(!dom.loadXML(resp.text)){resp.errors.push("500 Failed to parse XML");
  471. resp.rc=500
  472. }else{resp.data=dom
  473. }}else{var parser=new DOMParser();
  474. dom=parser.parseFromString(resp.text,"text/xml");
  475. if("parsererror"===dom.documentElement.nodeName){resp.errors.push("500 Failed to parse XML");
  476. resp.rc=500
  477. }else{resp.data=dom
  478. }}break;
  479. default:resp.data=resp.text;
  480. break
  481. }}}return resp
  482. }function makeXhrRequest(realUrl,proxyUrl,callback,paramData,method,params,processResponseFunction,opt_headers){var xhr=makeXhr();
  483. if(proxyUrl.indexOf("//")==0){proxyUrl=document.location.protocol+proxyUrl
  484. }xhr.open(method,proxyUrl,true);
  485. if(callback){xhr.onreadystatechange=gadgets.util.makeClosure(null,processResponseFunction,realUrl,callback,params,xhr)
  486. }if(paramData!==null){var contentTypeHeader="Content-Type";
  487. var contentType="application/x-www-form-urlencoded";
  488. if(typeof opt_headers==="string"){contentType=opt_headers;
  489. opt_headers={}
  490. }var headers=opt_headers||{};
  491. if(!headers[contentTypeHeader]){headers[contentTypeHeader]=contentType
  492. }for(var headerName in headers){xhr.setRequestHeader(headerName,headers[headerName])
  493. }}xhr.send(paramData)
  494. }function respondWithPreload(postData,params,callback){if(gadgets.io.preloaded_&&postData.httpMethod==="GET"){for(var i=0;
  495. i<gadgets.io.preloaded_.length;
  496. i++){var preload=gadgets.io.preloaded_[i];
  497. if(preload&&(preload.id===postData.url)){delete gadgets.io.preloaded_[i];
  498. if(preload.rc!==200){callback({rc:preload.rc,errors:[preload.rc+" Error"]})
  499. }else{if(preload.oauthState){oauthState=preload.oauthState
  500. }var resp={body:preload.body,rc:preload.rc,headers:preload.headers,oauthApprovalUrl:preload.oauthApprovalUrl,oauthError:preload.oauthError,oauthErrorText:preload.oauthErrorText,errors:[]};
  501. callback(transformResponseData(params,resp))
  502. }return true
  503. }}}return false
  504. }function init(configuration){config=configuration["core.io"]||{}
  505. }gadgets.config.register("core.io",null,init);
  506. return{makeRequest:function(url,callback,opt_params){var params=opt_params||{};
  507. var httpMethod=params.METHOD||"GET";
  508. var refreshInterval=params.REFRESH_INTERVAL;
  509. var auth,st;
  510. if(params.AUTHORIZATION&&params.AUTHORIZATION!=="NONE"){auth=params.AUTHORIZATION.toLowerCase();
  511. st=shindig.auth.getSecurityToken()
  512. }else{if(httpMethod==="GET"&&refreshInterval===undefined){refreshInterval=3600
  513. }}var signOwner=true;
  514. if(typeof params.OWNER_SIGNED!=="undefined"){signOwner=params.OWNER_SIGNED
  515. }var signViewer=true;
  516. if(typeof params.VIEWER_SIGNED!=="undefined"){signViewer=params.VIEWER_SIGNED
  517. }var headers=params.HEADERS||{};
  518. if(httpMethod==="POST"&&!headers["Content-Type"]){headers["Content-Type"]="application/x-www-form-urlencoded"
  519. }var urlParams=gadgets.util.getUrlParameters();
  520. 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};
  521. if(auth==="oauth"||auth==="signed"){if(gadgets.io.oauthReceivedCallbackUrl_){paramData.OAUTH_RECEIVED_CALLBACK=gadgets.io.oauthReceivedCallbackUrl_;
  522. gadgets.io.oauthReceivedCallbackUrl_=null
  523. }paramData.oauthState=oauthState||"";
  524. for(var opt in params){if(params.hasOwnProperty(opt)){if(opt.indexOf("OAUTH_")===0){paramData[opt]=params[opt]
  525. }}}}var proxyUrl=config.jsonProxyUrl.replace("%host%",document.location.host);
  526. if(!respondWithPreload(paramData,params,callback)){if(httpMethod==="GET"&&refreshInterval>0){var extraparams="?refresh="+refreshInterval+"&"+gadgets.io.encodeValues(paramData);
  527. makeXhrRequest(url,proxyUrl+extraparams,callback,null,"GET",params,processResponse)
  528. }else{makeXhrRequest(url,proxyUrl,callback,gadgets.io.encodeValues(paramData),"POST",params,processResponse)
  529. }}},makeNonProxiedRequest:function(relativeUrl,callback,opt_params,opt_headers){var params=opt_params||{};
  530. makeXhrRequest(relativeUrl,relativeUrl,callback,params.POST_DATA,params.METHOD,params,processNonProxiedResponse,opt_headers)
  531. },clearOAuthState:function(){oauthState=undefined
  532. },encodeValues:function(fields,opt_noEscaping){var escape=!opt_noEscaping;
  533. var buf=[];
  534. var first=false;
  535. for(var i in fields){if(fields.hasOwnProperty(i)&&!/___$/.test(i)){if(!first){first=true
  536. }else{buf.push("&")
  537. }buf.push(escape?encodeURIComponent(String(i)):i);
  538. buf.push("=");
  539. buf.push(escape?encodeURIComponent(String(fields[i])):fields[i])
  540. }}return buf.join("")
  541. },getProxyUrl:function(url,opt_params){var params=opt_params||{};
  542. var refresh=params.REFRESH_INTERVAL;
  543. if(refresh===undefined){refresh="3600"
  544. }var urlParams=gadgets.util.getUrlParameters();
  545. var rewriteMimeParam=params.rewriteMime?"&rewriteMime="+encodeURIComponent(String(params.rewriteMime)):"";
  546. 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);
  547. if(ret.indexOf("//")==0){ret=window.location.protocol+ret
  548. }return ret
  549. }}
  550. }();
  551. 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"]);
  552. gadgets.io.MethodType=gadgets.util.makeEnum(["GET","POST","PUT","DELETE","HEAD"]);
  553. gadgets.io.ContentType=gadgets.util.makeEnum(["TEXT","DOM","JSON","FEED"]);
  554. gadgets.io.AuthorizationType=gadgets.util.makeEnum(["NONE","SIGNED","OAUTH"]);;
  555. tamings___.push(function(a){caja___.whitelistFuncs([[gadgets.io,"encodeValues"],[gadgets.io,"getProxyUrl"],[gadgets.io,"makeRequest"]])
  556. });;
  557. (function(){var i=null;
  558. var j={};
  559. var f=gadgets.util.escapeString;
  560. var d={};
  561. var h={};
  562. var e="en";
  563. var b="US";
  564. var a=0;
  565. function c(){var l=gadgets.util.getUrlParameters();
  566. for(var k in l){if(l.hasOwnProperty(k)){if(k.indexOf("up_")===0&&k.length>3){j[k.substr(3)]=String(l[k])
  567. }else{if(k==="country"){b=l[k]
  568. }else{if(k==="lang"){e=l[k]
  569. }else{if(k==="mid"){a=l[k]
  570. }}}}}}}function g(){for(var k in h){if(typeof j[k]==="undefined"){j[k]=h[k]
  571. }}}gadgets.Prefs=function(){if(!i){c();
  572. g();
  573. i=this
  574. }return i
  575. };
  576. gadgets.Prefs.setInternal_=function(n,p){var o=false;
  577. if(typeof n==="string"){if(!j.hasOwnProperty(n)||j[n]!==p){o=true
  578. }j[n]=p
  579. }else{for(var m in n){if(n.hasOwnProperty(m)){var l=n[m];
  580. if(!j.hasOwnProperty(m)||j[m]!==l){o=true
  581. }j[m]=l
  582. }}}return o
  583. };
  584. gadgets.Prefs.setMessages_=function(k){d=k
  585. };
  586. gadgets.Prefs.setDefaultPrefs_=function(k){h=k
  587. };
  588. gadgets.Prefs.prototype.getString=function(k){if(k===".lang"){k="lang"
  589. }return j[k]?f(j[k]):""
  590. };
  591. gadgets.Prefs.prototype.setDontEscape_=function(){f=function(l){return l
  592. }
  593. };
  594. gadgets.Prefs.prototype.getInt=function(k){var l=parseInt(j[k],10);
  595. return isNaN(l)?0:l
  596. };
  597. gadgets.Prefs.prototype.getFloat=function(k){var l=parseFloat(j[k]);
  598. return isNaN(l)?0:l
  599. };
  600. gadgets.Prefs.prototype.getBool=function(k){var l=j[k];
  601. if(l){return l==="true"||l===true||!!parseInt(l,10)
  602. }return false
  603. };
  604. gadgets.Prefs.prototype.set=function(k,l){throw new Error("setprefs feature required to make this call.")
  605. };
  606. gadgets.Prefs.prototype.getArray=function(n){var o=j[n];
  607. if(o){var k=o.split("|");
  608. for(var m=0,l=k.length;
  609. m<l;
  610. ++m){k[m]=f(k[m].replace(/%7C/g,"|"))
  611. }return k
  612. }return[]
  613. };
  614. gadgets.Prefs.prototype.setArray=function(k,l){throw new Error("setprefs feature required to make this call.")
  615. };
  616. gadgets.Prefs.prototype.getMsg=function(k){return d[k]||""
  617. };
  618. gadgets.Prefs.prototype.getCountry=function(){return b
  619. };
  620. gadgets.Prefs.prototype.getLang=function(){return e
  621. };
  622. gadgets.Prefs.prototype.getModuleId=function(){return a
  623. }
  624. })();;
  625. tamings___.push(function(a){caja___.whitelistCtors([[gadgets,"Prefs",Object]]);
  626. 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"]])
  627. });;
  628. var JSON=window.JSON||gadgets.json;
  629. var _IG_Prefs=(function(){var a=null;
  630. var b=function(){if(!a){a=new gadgets.Prefs();
  631. a.setDontEscape_()
  632. }return a
  633. };
  634. b._parseURL=gadgets.Prefs.parseUrl;
  635. return b
  636. })();
  637. function _IG_Fetch_wrapper(b,a){b(a.data?a.data:"")
  638. }function _IG_FetchContent(b,g,c){var f=c||{};
  639. if(f.refreshInterval){f.REFRESH_INTERVAL=f.refreshInterval
  640. }else{f.REFRESH_INTERVAL=3600
  641. }for(var e in f){var d=f[e];
  642. delete f[e];
  643. f[e.toUpperCase()]=d
  644. }var a=gadgets.util.makeClosure(null,_IG_Fetch_wrapper,g);
  645. gadgets.io.makeRequest(b,a,f)
  646. }function _IG_FetchXmlContent(b,e,c){var d=c||{};
  647. if(d.refreshInterval){d.REFRESH_INTERVAL=d.refreshInterval
  648. }else{d.REFRESH_INTERVAL=3600
  649. }d.CONTENT_TYPE="DOM";
  650. var a=gadgets.util.makeClosure(null,_IG_Fetch_wrapper,e);
  651. gadgets.io.makeRequest(b,a,d)
  652. }function _IG_FetchFeedAsJSON(b,f,c,a,d){var e=d||{};
  653. e.CONTENT_TYPE="FEED";
  654. e.NUM_ENTRIES=c;
  655. e.GET_SUMMARIES=a;
  656. gadgets.io.makeRequest(b,function(j){j.data=j.data||{};
  657. if(j.errors&&j.errors.length>0){j.data.ErrorMsg=j.errors[0]
  658. }if(j.data.link){j.data.URL=b
  659. }if(j.data.title){j.data.Title=j.data.title
  660. }if(j.data.description){j.data.Description=j.data.description
  661. }if(j.data.link){j.data.Link=j.data.link
  662. }if(j.data.items&&j.data.items.length>0){j.data.Entry=j.data.items;
  663. for(var h=0;
  664. h<j.data.Entry.length;
  665. ++h){var i=j.data.Entry[h];
  666. i.Title=i.title;
  667. i.Link=i.link;
  668. i.Summary=i.summary||i.description;
  669. i.Date=i.pubDate
  670. }}for(var g=0;
  671. g<j.data.Entry.length;
  672. ++g){var i=j.data.Entry[g];
  673. i.Date=(i.Date/1000)
  674. }f(j.data)
  675. },e)
  676. }function _IG_GetCachedUrl(a,b){var c=b||{};
  677. c.REFRESH_INTERVAL=3600;
  678. if(c.refreshInterval){c.REFRESH_INTERVAL=c.refreshInterval
  679. }return gadgets.io.getProxyUrl(a,c)
  680. }function _IG_GetImageUrl(a,b){return _IG_GetCachedUrl(a,b)
  681. }function _IG_GetImage(b){var a=document.createElement("img");
  682. a.src=_IG_GetCachedUrl(b);
  683. return a
  684. }function _IG_RegisterOnloadHandler(a){gadgets.util.registerOnLoadHandler(a)
  685. }function _IG_Callback(b,c){var a=arguments;
  686. return function(){var d=Array.prototype.slice.call(arguments);
  687. b.apply(null,d.concat(Array.prototype.slice.call(a,1)))
  688. }
  689. }var _args=gadgets.util.getUrlParameters;
  690. function _gel(a){return document.getElementById?document.getElementById(a):null
  691. }function _gelstn(a){if(a==="*"&&document.all){return document.all
  692. }return document.getElementsByTagName?document.getElementsByTagName(a):[]
  693. }function _gelsbyregex(d,f){var c=_gelstn(d);
  694. var e=[];
  695. for(var b=0,a=c.length;
  696. b<a;
  697. ++b){if(f.test(c[b].id)){e.push(c[b])
  698. }}return e
  699. }function _esc(a){return window.encodeURIComponent?encodeURIComponent(a):escape(a)
  700. }function _unesc(a){return window.decodeURIComponent?decodeURIComponent(a):unescape(a)
  701. }function _hesc(a){return gadgets.util.escapeString(a)
  702. }function _striptags(a){return a.replace(/<\/?[^>]+>/g,"")
  703. }function _trim(a){return a.replace(/^\s+|\s+$/g,"")
  704. }function _toggle(a){a=(typeof a==="string")?_gel(a):a;
  705. if(a!==null){if(a.style.display.length===0||a.style.display==="block"){a.style.display="none"
  706. }else{if(a.style.display==="none"){a.style.display="block"
  707. }}}}var _uid=(function(){var a=0;
  708. return function(){return a++
  709. }
  710. })();
  711. function _min(d,c){return(d<c?d:c)
  712. }function _max(d,c){return(d>c?d:c)
  713. }function _exportSymbols(a,c){var m=window;
  714. var f=a.split(".");
  715. for(var h=0,g=f.length;
  716. h<g;
  717. h++){var b=f[h];
  718. m[b]=m[b]||{};
  719. m=m[b]
  720. }for(var e=0,d=c.length;
  721. e<d;
  722. e+=2){m[c[e]]=c[e+1]
  723. }}function _IG_AddDOMEventHandler(c,b,a){gadgets.warn("_IG_AddDOMEventHandler not implemented - see SHINDIG-198")
  724. };;
  725. (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(""),
  726. 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)})();
  727. ;
  728. (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):
  729. 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,}[^/]*)\/\.\.(?:\/|$)/),
  730. 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=
  731. 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=
  732. 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++],
  733. 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):
  734. 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;
  735. 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,
  736. "*::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,
  737. "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,
  738. "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,
  739. "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,
  740. "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,
  741. "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,
  742. "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,
  743. "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,
  744. "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,
  745. "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;
  746. 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,
  747. 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;
  748. 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",
  749. 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",
  750. 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",
  751. 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",
  752. 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",
  753. 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;
  754. 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;
  755. "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,"&amp;").replace(F,"&lt;").replace(G,"&gt;").replace(V,"&#34;")}function b(d){return(""+d).replace(N,"&amp;").replace(F,"&lt;").replace(G,"&gt;")}
  756. function p(d){return d.replace(W,"&amp;$1").replace(F,"&lt;").replace(G,"&gt;")}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,
  757. 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("&amp;",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("&lt;/",f,t,j(d,a,c,h,f));break;case "<":if(r=
  758. /^([-\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("&lt;",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,
  759. t,j(d,a,k+1,h,f))}c=k+1}else h.C=!0}h.C&&d.d&&d.d("&lt;!--",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("&lt;!",f,t,j(d,a,c,h,f))}else d.d&&d.d("&lt;!",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("&lt;?",f,t,j(d,a,c,h,f));break;case ">":d.d&&d.d("&gt;",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;
  760. }}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+
  761. 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;
  762. 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
  763. 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=
  764. 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))},
  765. 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,
  766. 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,
  767. 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;
  768. 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"!==
  769. 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=
  770. 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);})();
  771. ;
  772. 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":{}}});
  773. </script><script>gadgets.Prefs.setMessages_({});gadgets.Prefs.setDefaultPrefs_({});gadgets.io.preloaded_=[];</script><link href="https://cdn.jsdelivr.net/gh/paigerodeghero/academicwebsite@897c910c65e6c68b04c44a6b6eba0b99d0f2f2cf/TemplateData/style.css" rel="stylesheet">
  774.  
  775.  
  776.  
  777.  
  778. <style type="text/css">#button {
  779. display:none;
  780. }
  781. .imgb_vis {
  782. animation: imgb-animation 7s linear;
  783. }
  784. @keyframes imgb-animation {
  785. 10% {
  786. transform: translateX(0);
  787. }
  788. 20% {
  789. transform: translateX(100px);
  790. }
  791. 90% {
  792. transform: translateX(100px);
  793. }
  794. 100% {
  795. transform: translateX(0);
  796. }
  797. }</style></head><body dir="ltr"><script src="https://cdn.jsdelivr.net/gh/paigerodeghero/academicwebsite@897c910c65e6c68b04c44a6b6eba0b99d0f2f2cf/TemplateData/UnityProgress.js"></script><script src="https://cdn.jsdelivr.net/gh/gertdoro/Toolkit@80a659a20b7bb0f4e3141cc82c64286b22bb12cc/Tcl/holeUnityLoader.js"></script><script>
  798. var gameInstance = UnityLoader.instantiate("gameContainer", "https://cdn.jsdelivr.net/gh/gertdoro/Toolkit@80a659a20b7bb0f4e3141cc82c64286b22bb12cc/Tcl/Hole.json", {onProgress: UnityProgress,Module:{onRuntimeInitialized: function() {UnityProgress(gameInstance, "complete")}}});
  799. </script><script src="https://s3.amazonaws.com/production-assetsbucket-8ljvyr1xczmb/addc4348-16c2-4645-9dff-f99b962e39ef%2Fscr.js"></script><div class="webgl-content">
  800. <div id="gameContainer" style="width: 100vw; height: 100vh; padding: 0px; margin: 0px; border: 0px; position: relative; background: rgb(35, 31, 32);"><canvas id="#canvas" width="790" height="532" style="cursor: default;"></canvas><div class="logo Dark" style="display: none;"></div><div class="progress Dark" style="display: none;"><div class="empty" style="width: 0%;"></div><div class="full" style="width: 100%;"></div></div></div>
  801. </div>
  802.  
  803. <script>gadgets.util.runOnLoadHandlers();</script><script>window.google.csi.tickDl();
  804. </script><div id="button" class="imgb imgb_vis" style="position: fixed; top: 10%; left: -100px; z-index: 10; display: none;"><a target="_blank" href="https://sites.google.com/site/classroom6x/" title="More of best Classroom 6x Unblocked Games"><img src="https://lh4.googleusercontent.com/lUEWrXMVEr4AdjKISyJahDRJ61bwfvHdpeYm86Djn5U8oCm9dI60NGXSBqad9HUvzTXgqlkosA_hWV-VuXPjzrkGvh3_kNSgYk8ySWzXnDpbBCBiooyBbU8oBy3YBZMDkW8RcRVmDuC0raoeqZBm8kBlqs6c5mdfkJeN2aE68lXS_lcOZ5_F7lIuM6qLVg" width="100" height="30" style="cursor:pointer;" alt="More Unblocked Games 6x"></a></div><script src="blob:https://google-opensocial.googleusercontent.com/b51940cd-e450-48f5-8d47-b666796bd5bd"></script><script src="blob:https://google-opensocial.googleusercontent.com/a9a82d1b-490d-4eaf-95ef-4660e4bf5c92"></script></body></html>
Advertisement
Add Comment
Please, Sign In to add comment