elbarnett

HTML

Jul 16th, 2013
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.75 KB | None | 0 0
  1. <!DOCTYPE html><html> <head> <meta http-equiv="X-UA-Compatible" content="
  2. IE=Edge" />
  3.  
  4. <script charset="UTF-8"
  5. src="/media/l10n/20130628170354/pt_PT.js<http://www.rdio.com/media/l10n/20130628170354/pt_PT.js>;
  6. "></script>
  7. <script charset="UTF-8" type="text/javascript" > /*! LAB.js (LABjs ::
  8. Loading And Blocking JavaScript) v2.0.3 (c) Kyle Simpson MIT
  9. License*/(function(o){var
  10. K=o.$LAB,y="UseLocalXHR",z="AlwaysPreserveOrder",u="AllowDuplicates",A="CacheBust",B="BasePath",C=/^[^?#]*\//.exec(location.href)[0],D=/^\w+\:\/\/\/?[^\/]+/.exec(C)[0],i=document.head||document.getElementsByTagName("head"),L=(o.opera&&Object.prototype.toString.call(o.opera)=="[object
  11. Opera]")||("MozAppearance"in
  12. document.documentElement.style),q=document.createElement("script"),E=typeof
  13. q.preload=="boolean",r=E||(q.readyState&&q.readyState=="uninitialized"),F=!r&&q.async===true,M=!r&&!F&&!L;function
  14. G(a){return Object.prototype.toString.call(a)=="[object Function]"}function
  15. H(a){return Object.prototype.toString.call(a)=="[object Array]"}function
  16. N(a,c){var b=/^\w+\:\/\//;if(/^\/\/\/?/.test(a)){a=location.protocol+a}else
  17. if(!b.test(a)&&a.charAt(0)!="/"){a=(c||"")+a}return
  18. b.test(a)?a:((a.charAt(0)=="/"?D:C)+a)}function s(a,c){for(var b in
  19. a){if(a.hasOwnProperty(b)){c[b]=a[b]}}return c}function O(a){var
  20. c=false;for(var
  21. b=0;b<a.scripts.length;b++){if(a.scripts[b].ready&&a.scripts[b].exec_trigger){c=true;a.scripts[b].exec_trigger();a.scripts[b].exec_trigger=null}}return
  22. c}function
  23. t(a,c,b,d){a.onload=a.onreadystatechange=function(){if((a.readyState&&a.readyState!="complete"&&a.readyState!="loaded")||c[b])return;a.onload=a.onreadystatechange=null;d()}}function
  24. I(a){a.ready=a.finished=true;for(var
  25. c=0;c<a.finished_listeners.length;c++){a.finished_listeners[c]()}a.ready_listeners=[];a.finished_listeners=[]}function
  26. P(d,f,e,g,h){setTimeout(function(){var a,c=f.real_src,b;if("item"in
  27. i){if(!i[0]){setTimeout(arguments.callee,25);return}i=i[0]}a=document.createElement("script");if(f.type)a.type=f.type;if(f.charset)a.charset=f.charset;if(h){if(r){e.elem=a;if(E){a.preload=true;a.onpreload=g}else{a.onreadystatechange=function(){if(a.readyState=="loaded")g()}}a.src=c}else
  28. if(h&&c.indexOf(D)==0&&d[y]){b=new
  29. XMLHttpRequest();b.onreadystatechange=function(){if(b.readyState==4){b.onreadystatechange=function(){};e.text=b.responseText+"\n//@
  30. sourceURL="+c;g()}};b.open("GET",c);b.send()}else{a.type="text/cache-script";t(a,e,"ready",function(){i.removeChild(a);g()});a.src=c;i.insertBefore(a,i.firstChild)}}else
  31. if(F){a.async=false;t(a,e,"finished",g);a.src=c;i.insertBefore(a,i.firstChild)}else{t(a,e,"finished",g);a.src=c;i.insertBefore(a,i.firstChild)}},0)}function
  32. J(){var
  33. l={},Q=r||M,n=[],p={},m;l[y]=true;l[z]=false;l[u]=false;l[A]=false;l[B]="";function
  34. R(a,c,b){var d;function
  35. f(){if(d!=null){d=null;I(b)}}if(p[c.src].finished)return;if(!a[u])p[c.src].finished=true;d=b.elem||document.createElement("script");if(c.type)d.type=c.type;if(c.charset)d.charset=c.charset;t(d,b,"finished",f);if(b.elem){b.elem=null}else
  36. if(b.text){d.onload=d.onreadystatechange=null;d.text=b.text}else{d.src=c.real_src}i.insertBefore(d,i.firstChild);if(b.text){f()}}function
  37. S(c,b,d,f){var
  38. e,g,h=function(){b.ready_cb(b,function(){R(c,b,e)})},j=function(){b.finished_cb(b,d)};b.src=N(b.src,c[B]);b.real_src=b.src+(c[A]?((/\?.*$/.test(b.src)?"&_":"?_")+~~(Math.random()*1E9)+"="):"");if(!p[b.src])p[b.src]={items:[],finished:false};g=p[b.src].items;if(c[u]||g.length==0){e=g[g.length]={ready:false,finished:false,ready_listeners:[h],finished_listeners:[j]};P(c,b,e,((f)?function(){e.ready=true;for(var
  39. a=0;a<e.ready_listeners.length;a++){e.ready_listeners[a]()}e.ready_listeners=[]}:function(){I(e)}),f)}else{e=g[0];if(e.finished){j()}else{e.finished_listeners.push(j)}}}function
  40. v(){var e,g=s(l,{}),h=[],j=0,w=false,k;function
  41. T(a,c){a.ready=true;a.exec_trigger=c;x()}function
  42. U(a,c){a.ready=a.finished=true;a.exec_trigger=null;for(var
  43. b=0;b<c.scripts.length;b++){if(!c.scripts[b].finished)return}c.finished=true;x()}function
  44. x(){while(j<h.length){if(G(h[j])){try{h[j++]()}catch(err){}continue}else
  45. if(!h[j].finished){if(O(h[j]))continue;break}j++}if(j==h.length){w=false;k=false}}function
  46. V(){if(!k||!k.scripts){h.push(k={scripts:[],finished:true})}}e={script:function(){for(var
  47. f=0;f<arguments.length;f++){(function(a,c){var b;if(!H(a)){c=[a]}for(var
  48. d=0;d<c.length;d++){V();a=c[d];if(G(a))a=a();if(!a)continue;if(H(a)){b=[].slice.call(a);b.unshift(d,1);[].splice.apply(c,b);d--;continue}if(typeof
  49. a=="string")a={src:a};a=s(a,{ready:false,ready_cb:T,finished:false,finished_cb:U});k.finished=false;k.scripts.push(a);S(g,a,k,(Q&&w));w=true;if(g[z])e.wait()}})(arguments[f],arguments[f])}return
  50. e},wait:function(){if(arguments.length>0){for(var
  51. a=0;a<arguments.length;a++){h.push(arguments[a])}k=h[h.length-1]}else
  52. k=false;x();return
  53. e}};return{script:e.script,wait:e.wait,setOptions:function(a){s(a,g);return
  54. e}}}m={setGlobalDefaults:function(a){s(a,l);return
  55. m},setOptions:function(){return
  56. v().setOptions.apply(null,arguments)},script:function(){return
  57. v().script.apply(null,arguments)},wait:function(){return
  58. v().wait.apply(null,arguments)},queueScript:function(){n[n.length]={type:"script",args:[].slice.call(arguments)};return
  59. m},queueWait:function(){n[n.length]={type:"wait",args:[].slice.call(arguments)};return
  60. m},runQueue:function(){var
  61. a=m,c=n.length,b=c,d;for(;--b>=0;){d=n.shift();a=a[d.type].apply(null,d.args)}return
  62. a},noConflict:function(){o.$LAB=K;return m},sandbox:function(){return
  63. J()}};return
  64. m}o.$LAB=J();(function(a,c,b){if(document.readyState==null&&document[a]){document.readyState="loading";document[a](c,b=function(){document.removeEventListener(c,b,false);document.readyState="complete"},false)}})("addEventListener","DOMContentLoaded")})(this);"object"!==typeof
  65. JSON&&(JSON={});(function(){function
  66. l(a){return 10>a?"0"+a:a}function q(a){r.lastIndex=0;return
  67. r.test(a)?'"'+a.replace(r,function(a){var c=t[a];return"string"===typeof
  68. c?c:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}function
  69. n(a,k){var c,d,h,p,g=e,f,b=k[a];b&&("object"===typeof
  70. b&&"function"===typeof b.toJSON)&&(b=b.toJSON(a));"function"===typeof
  71. j&&(b=j.call(k,a,b));switch(typeof b){case "string":return q(b);case
  72. "number":return isFinite(b)?String(b):"null";case "boolean":case
  73. "null":return String(b);case
  74. "object":if(!b)return"null";e+=m;f=[];if("[object
  75. Array]"===Object.prototype.toString.apply(b)){p=b.length;for(c=0;c<p;c+=1)f[c]=n(c,b)||"null";h=0===f.length?"[]":e?"[\n"+e+f.join(",\n"+e)+"\n"+g+"]":"["+f.join(",")+"]";e=g;return
  76. h}if(j&&"object"===typeof j){p=j.length;for(c=0;c<p;c+=1)"string"===typeof
  77. j[c]&&(d=j[c],(h=n(d,b))&&f.push(q(d)+(e?": ":":")+h))}else for(d in
  78. b)Object.prototype.hasOwnProperty.call(b,d)&&(h=n(d,b))&&f.push(q(d)+(e?":
  79. ":":")+h);h=0===f.length?"{}":e?"{\n"+e+f.join(",\n"+e)+"\n"+g+"}":"{"+f.join(",")+"}";e=g;return
  80. h}}"function"!==typeof
  81. Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return
  82. isFinite(this.valueOf())?this.getUTCFullYear()+"-"+l(this.getUTCMonth()+1)+"-"+l(this.getUTCDate())+"T"+l(this.getUTCHours())+":"+l(this.getUTCMinutes())+":"+l(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return
  83. this.valueOf()});var
  84. s=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,r=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,e,m,t={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},j;"function"!==typeof
  85. JSON.stringify&&(JSON.stringify=function(a,k,c){var
  86. d;m=e="";if("number"===typeof c)for(d=0;d<c;d+=1)m+="
  87. ";else"string"===typeof c&&(m=c);if((j=k)&&"function"!==typeof
  88. k&&("object"!==typeof k||"number"!==typeof k.length))throw
  89. Error("JSON.stringify");return n("",{"":a})});"function"!==typeof
  90. JSON.parse&&(JSON.parse=function(a,e){function c(a,d){var
  91. g,f,b=a[d];if(b&&"object"===typeof b)for(g in
  92. b)Object.prototype.hasOwnProperty.call(b,g)&&(f=c(b,g),void
  93. 0!==f?b[g]=f:delete b[g]);return e.call(a,d,b)}var
  94. d;a=String(a);s.lastIndex=0;s.test(a)&&(a=a.replace(s,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return
  95. d=eval("("+a+")"),"function"===typeof e?c({"":d},""):d;throw new
  96. SyntaxError("JSON.parse");})})(); /*jshint evil:true *//*globals $LAB
  97. ActiveXObject */((function(){function time(a){try{typeof
  98. console!="undefined"&&console.time&&console.time(a),Env.timers[a]=new
  99. Date}catch(b){}}function timeEnd(a){try{typeof
  100. console!="undefined"&&console.timeEnd&&console.timeEnd(a),Env.timers[a]=new
  101. Date-Env.timers[a]}catch(b){}}function defaultPathFactory(a){return
  102. a.ext?a.file+"."+a.ext:a.file}function getXhr(){return
  103. root.XMLHttpRequest?new XMLHttpRequest:new
  104. ActiveXObject("MSXML2.XMLHTTP.3.0")}function
  105. getCDNForResource(a){var b=0;for(var
  106. c=0;c<a.length;c++)b+=a.charCodeAt(c);return
  107. resourceBases[b%resourceBases.length]}function
  108. flattenList(a,b){if(!a)return[];var c=a.length,d=[],e,f,g,h,i;for(var
  109. j=0;j<c;j++){e=a[j][0],e.charAt(e.length-1)!=="/"&&(e+="/"),b||(resourceBases.length>0&&e.indexOf("//")===-1?e="//"+getCDNForResource(e)+resourceBase+e:e=resourceBase+e),f=a[j][1],g=f.length;for(var
  110. k=0;k<g;k++)h=f[k],typeof
  111. h=="string"?d.push(e+h):(i=pathFactories[h.ext]||defaultPathFactory,d.push(e+i(h)))}return
  112. d}function loadJavascript(target,options){var
  113. fileList=[],toLoad=["dependencies","scripts","models"];options.dev&&toLoad.splice(1,0,"devDependencies");for(var
  114. i=0;i<toLoad.length;i++)fileList=fileList.concat(flattenList(target[toLoad
  115. [i]]));time("loading.js"),$LAB.setOptions({AlwaysPreserveOrder:!0}).script(fileList).wait(function(){timeEnd("loading.js");try{eval(target.main).call(root,options.mainOptions)}catch(err){console.error(err.stack)}})}function
  116. loadStyles(a,b){var c=["externalCss","css"];b.dev&&c.push("less");var
  117. d,e,f,g;for(var
  118. h=0;h<c.length;h++){e=c[h],f=flattenList(a[e],e==="externalCss"),g=f.length;for(var
  119. i=0;i<g;i++)d=document.createElement("link"),d.rel=e==="less"?"stylesheet/less":"stylesheet",d.type="text/css",d.href=f[i],headEl.appendChild(d)}}"use
  120. strict";var
  121. root=this,headEl=document.getElementsByTagName("head")[0],targetBase="/",resourceBase="",resourceBases=[],pathFactories,Target={load:function(a,b){var
  122. c=getXhr(),d=targetBase+a+".json",e;c.open("GET",d),c.onreadystatechange=function(){if(c.readyState===4)if(c.status===200){try{e=JSON.parse(c.responseText)}catch(d){throw
  123. console.error("Could not parse target:",a),d}Target.flatten(e,b)}else
  124. b("Could not load "+a)},c.send(null)},flatten:function(a,b){function
  125. e(e,f){if(e)return
  126. b(e);d.push(f),d.length===c.length&&(d.push(a),b(null,Target.merge(d)))}var
  127. c=a.targetDependencies,d=[],f=c&&c.length;if(f)for(var
  128. g=0;g<f;g++)Target.load(c[g],e);else b(null,a)},merge:function(a){var
  129. b,c={},d=a.length;for(var
  130. e=0;e<d;e++){b=a[e];for(var f in
  131. b)b.hasOwnProperty(f)&&(c[f]=Target.mergeField(c[f],b[f]))}return
  132. c},mergeField:function(a,b){if(!a)return b;if(a instanceof Array)return
  133. a.concat(b);if(typeof b=="string")return b?b:a;for(var c in
  134. b)b.hasOwnProperty(c)&&(a[c]=b[c]);return
  135. a}};root.R=root.R||{},R.boot=function(a,b){b=b||{},root.Env=b.environment,Env.timers={},b.targetBase&&(targetBase=b.targetBase),typeof
  136. targetBase=="function"&&(targetBase=targetBase()),b.resourceBase&&(resourceBase=b.resourceBase),b.resourceBases&&(resourceBases=b.resourceBases),typeof
  137. resourceBase=="function"&&(resourceBase=resourceBase()),pathFactories=b.pathFactories||{};var
  138. c="loading.target."+a;time(c),Target.load(a,function(a,d){timeEnd(c);if(a)throw
  139. new
  140. Error(a);Env.target=d,b.unstyled||loadStyles(d,b),loadJavascript(d,b)})},R.getCDNForResource=getCDNForResource,R._flattenList=flattenList})).call(this);/***
  141. class R.TargetMux** A class for selecting a target given the current
  142. running environment.** It has no JS
  143. dependencies.**/((function(){function
  144. b(a,c){this.options=c||{},this.rules=a;var d,e=a.length;for(var
  145. f=0;f<e;f++)d=a[f],d.rules&&(d.rules=new b(d.rules,c))}"use strict";var
  146. a=this;b.prototype.tests={pathname:function(a,b){var c=a.pathname;return
  147. a.pathname==="/"&&a.hash&&(c=a.hash.replace("#","/")),b.test(c)},host:function(a,b){return
  148. b.test(a.host)},auth:function(a,b){return
  149. b===!0&&Env.currentUser.key!=="s-1"?!0:b===!1&&Env.currentUser.key==="s-1"?!0:!1},prod:function(a,b){return
  150. Env.serverInfo.prod===b},zuul:function(a,b){return
  151. Env.currentUser.features[b]}},b.prototype._checkSecure=function(a,b){return!Env.serverInfo.prod&&!Env.serverInfo
  152. .simulateDevHttps?b:(b.secure===!0&&a.protocol!=="https:"?a.href=a.href.replace(/^http/,"https"):b.secure===!1&&a.protocol!="http:"&&(a.href=a.href.replace(/^https/,"http")),b)},b.prototype._checkStealth=function(a,b){return
  153. Env.serverInfo.stealthMode&&b.stealth&&(a.href="/unavailable/"),b},b.prototype.find=function(b){var
  154. c,d,e,f,g,h,i,j=this.rules.length,k=this.tests.length,l=b;typeof
  155. b=="string"&&(l=_.clone(a.location),l.pathname=b);for(c=0;c<j;c++){e=this.rules[c];var
  156. i=!0;for(g in
  157. this.tests)if(this.tests.hasOwnProperty(g)){f=this.tests[g],h=e[g];if(h!==void
  158. 0&&!f.call(this,l,h)){i=!1;break}}if(i)return
  159. e.rules?this._checkSecure(l,e.rules.find(l)||e):this._checkStealth(l,this._checkSecure(l,e))}return
  160. null},R.TargetMux=b})).call(this); ((function(){"use strict";var
  161. a=[{host:/[A-Za-z]+\.rdio\.com|^rdio\./,rules:[{pathname:/^\/demo\//,target:"demo",prod:!1},{pathname:/^\/test\//,target:"test"
  162. ,prod:!1},{pathname:/^\/api\/iframe\//,target:"api-iframe",unstyled:!0},{pathname:/^\/secure_dialog\//,target:"secure",secure:!0},{pathname:/^\/i\//,target
  163. :"rdio-embed"},{pathname:/^\/account\//,target:"rdio-marketing",secure:!0},{pathname:/^\/confirm-change-email\//,target:"rdio-marketing",secure:!0},{pathname
  164. :/^\/facebook\/.+/,target:"rdio-marketing",zuul:"landingpage"},{pathname:/^\/developers\//,target:"rdio-dev",zuul:"devsite"},{pathname:/^\/.*/,target:"rdio"
  165. ,secure:!1}]},{host:/[A-Za-z]+\.vdio\.com|^vdio\./,rules:[{pathname:/^\/demo\//,target:"demo",prod:!1},{pathname:/^\/test\//,target:"test",prod:!1},{pathname
  166. :/^\/secure_dialog\//,target:"secure",secure:!0},{pathname:/^\/home\//,target:"vdio-marketing",secure:!0},{pathname:/^\/signin\//,target:"vdio-marketing"
  167. ,secure:!0},{pathname:/^\/legal\/.*/,target:"vdio-marketing",secure:!0},{pathname:/^\/account\//,target:"vdio-marketing",secure:!0},{pathname:/^\/confirm-change-email\//
  168. ,target:"vdio-marketing",secure:!0},{pathname:/^\/unavailable\//,target:"vdio-marketing",secure:!0},{pathname:/^\/mobile_unsupported\//,target:"vdio-marketing"
  169. ,secure:!0},{pathname:/^\/$/,target:"vdio-marketing",auth:!1,secure:!0},{pathname:/^\/$/,target:"vdio",auth:!0,secure:!1},{pathname:/^\/.+/,target:"vdio",secure:!1,stealth:!0}]}];R.muxer=new
  170. R.TargetMux(a)})).call(this);
Advertisement
Add Comment
Please, Sign In to add comment