/*!CK:1141903567!*//*1384268889,173213749*/ if - TopicsExpress



          

/*!CK:1141903567!*//*1384268889,173213749*/ if (self.CavalryLogger) { CavalryLogger.start_js([CCxby]); }+(//+([^\\\\/?#@]*@)?+(+\\[[A-Fa-f0-9:.]+\\]|+[^\\/?#:]*+)+(:[0-9]*)?+)?+([^?#]*)+(\\?[^#]*)?+(#.*)?),h={parse:function(i){if(i.trim()===)return null;var j=i.match(g),k={};k.uri=j[0]?j[0]:null;k.scheme=j[1]?j[1].substr(0,j[1].length-1):null;k.authority=j[2]?j[2].substr(2):null;k.userinfo=j[3]?j[3].substr(0,j[3].length-1):null;k.host=j[2]?j[4]:null;k.port=j[5]?(j[5].substr(1)?parseInt(j[5].substr(1),10):null):null;k.path=j[6]?j[6]:null;k.query=j[7]?j[7].substr(1):null;k.fragment=j[8]?j[8].substr(1):null;k.isGenericURI=k.authority===null&&!!k.scheme;return k;}};e.exports=h;}); __d(createObjectFrom,[],function(a,b,c,d,e,f){function g(h,i){var j={},k=Array.isArray(i);if(typeof i==undefined)i=true;for(var l=h.length;l--;)j[h[l]]=k?i[l]:i;return j;}e.exports=g;}); __d(URISchemes,[createObjectFrom],function(a,b,c,d,e,f){var g=b(createObjectFrom),h=g([fb,fbcf,fbconnect,fb-messenger,fbrpc,file,ftp,http,https,mailto,itms,itms-apps,itms-services,market,svn+ssh,fbstaging,tel,sms]),i={isAllowed:function(j){if(!j)return true;return h.hasOwnProperty(j.toLowerCase());}};e.exports=i;}); __d(URIBase,[PHPQuerySerializer,URIRFC3986,URISchemes,copyProperties,ex,invariant],function(a,b,c,d,e,f){var g=b(PHPQuerySerializer),h=b(URIRFC3986),i=b(URISchemes),j=b(copyProperties),k=b(ex),l=b(invariant),m=new RegExp([\\x00-\\x2c\\x2f\\x3b-\\x40\\x5c\\x5e\\x60\\x7b-\\x7f+\\uFDD0-\\uFDEF\\uFFF0-\\uFFFF+\\u2047\\u2048\\uFE56\\uFE5F\\uFF03\\uFF0F\\uFF1F]),n=new RegExp(^(?:[^/]*:|+[\\x00-\\x1f]*/[\\x00-\\x1f]*/));function o(q,r,s){if(!r)return true;if(r instanceof p){q.setProtocol(r.getProtocol());q.setDomain(r.getDomain());q.setPort(r.getPort());q.setPath(r.getPath());q.setQueryData(g.deserialize(g.serialize(r.getQueryData())));q.setFragment(r.getFragment());return true;}r=r.toString();var t=h.parse(r)||{};if(!s&&!i.isAllowed(t.scheme))return false;q.setProtocol(t.scheme||);if(!s&&m.test(t.host))return false;q.setDomain(t.host||);q.setPort(t.port||);q.setPath(t.path||);if(s){q.setQueryData(g.deserialize(t.query)||{});}else try{q.setQueryData(g.deserialize(t.query)||{});}catch(u){return false;}q.setFragment(t.fragment||);if(t.userinfo!==null)if(s){throw new Error(k(URI.parse: invalid URI (userinfo is not allowed in a URI): %s,q.toString()));}else return false;if(!q.getDomain()&&q.getPath().indexOf(\\)!==-1)if(s){throw new Error(k(URI.parse: invalid URI (no domain but multiple back-slashes): %s,q.toString()));}else return false;if(!q.getProtocol()&&n.test(r))if(s){throw new Error(k(URI.parse: invalid URI (unsafe protocol-relative URLs): %s,q.toString()));}else return false;return true;}function p(q){use strict;this.$URIBase0=;this.$URIBase1=;this.$URIBase2=;this.$URIBase3=;this.$URIBase4=;this.$URIBase5={};o(this,q,true);}p.prototype.setProtocol=function(q){use strict;l(i.isAllowed(q));this.$URIBase0=q;return this;};p.prototype.getProtocol=function(q){use strict;return this.$URIBase0;};p.prototype.setSecure=function(q){use strict;return this.setProtocol(q?https:http);};p.prototype.isSecure=function(){use strict;return this.getProtocol()===https;};p.prototype.setDomain=function(q){use strict;if(m.test(q))throw new Error(k(URI.setDomain: unsafe domain specified: %s for url %s,q,this.toString()));this.$URIBase1=q;return this;};p.prototype.getDomain=function(){use strict;return this.$URIBase1;};p.prototype.setPort=function(q){use strict;this.$URIBase2=q;return this;};p.prototype.getPort=function(){use strict;return this.$URIBase2;};p.prototype.setPath=function(q){use strict;this.$URIBase3=q;return this;};p.prototype.getPath=function(){use strict;return this.$URIBase3;};p.prototype.addQueryData=function(q,r){use strict;if(q instanceof Object){j(this.$URIBase5,q);}else this.$URIBase5[q]=r;return this;};p.prototype.setQueryData=function(q){use strict;this.$URIBase5=q;return this;};p.prototype.getQueryData=function(){use strict;return this.$URIBase5;};p.prototype.removeQueryData=function(q){use strict;if(!Array.isArray(q))q=[q];for(var r=0,s=q.length;r0||this.getFragment());};p.prototype.toString=function(){use strict;var q=;if(this.$URIBase0)q+=this.$URIBase0+://;if(this.$URIBase1)q+=this.$URIBase1;if(this.$URIBase2)q+=:+this.$URIBase2;if(this.$URIBase3){q+=this.$URIBase3;}else if(q)q+=/;var r=g.serialize(this.$URIBase5);if(r)q+=?+r;if(this.$URIBase4)q+=#+this.$URIBase4;return q;};p.prototype.getOrigin=function(){use strict;return this.$URIBase0+://+this.$URIBase1+(this.$URIBase2?:+this.$URIBase2:);};p.isValidURI=function(q){return o(new p(),q,false);};e.exports=p;}); __d(URI,[URIBase,copyProperties,goURI],function(a,b,c,d,e,f){var g=b(URIBase),h=b(copyProperties),i=b(goURI);for(var j in g)if(g.hasOwnProperty(j))l[j]=g[j];var k=g===null?null:g.prototype;l.prototype=Object.create(k);l.prototype.constructor=l;l.__superConstructor__=g;function l(m){use strict;if(!(this instanceof l))return new l(m||window.location.href);g.call(this,m||);}l.prototype.setPath=function(m){use strict;this.path=m;return k.setPath.call(this,m);};l.prototype.getPath=function(){use strict;var m=k.getPath.call(this);if(m)return m.replace(/^\/+/,/);return m;};l.prototype.setProtocol=function(m){use strict;this.protocol=m;return k.setProtocol.call(this,m);};l.prototype.setDomain=function(m){use strict;this.domain=m;return k.setDomain.call(this,m);};l.prototype.setPort=function(m){use strict;this.port=m;return k.setPort.call(this,m);};l.prototype.setFragment=function(m){use strict;this.fragment=m;return k.setFragment.call(this,m);};l.prototype.valueOf=function(){use strict;return this.toString();};l.prototype.isFacebookURI=function(){use strict;if(!l.$URI0)l.$URI0=new RegExp((^|\\.)facebook\\$,i);if(this.isEmpty())return false;if(!this.getDomain()&&!this.getProtocol())return true;return ([http,https].indexOf(this.getProtocol())!==-1&&l.$URI0.test(this.getDomain()));};l.prototype.isLinkshimURI=function(){use strict;if(this.isFacebookURI()&&(this.getPath()===/l.php||this.getPath().indexOf(/si/ajax/l/)===0||this.getPath().indexOf(/l/)===0||this.getPath().indexOf(l/)===0))return true;return false;};l.prototype.getRegisteredDomain=function(){use strict;if(!this.getDomain())return ;if(!this.isFacebookURI())return null;var m=this.getDomain().split(.),n=m.indexOf(facebook);return m.slice(n).join(.);};l.prototype.getUnqualifiedURI=function(){use strict;return new l(this).setProtocol(null).setDomain(null).setPort(null);};l.prototype.getQualifiedURI=function(){use strict;return new l(this).$URI1();};l.prototype.$URI1=function(){use strict;if(!this.getDomain()){var m=l();this.setProtocol(m.getProtocol()).setDomain(m.getDomain()).setPort(m.getPort());}return this;};l.prototype.isSameOrigin=function(m){use strict;var n=m||window.location.href;if(!(n instanceof l))n=new l(n.toString());if(this.isEmpty()||n.isEmpty())return false;if(this.getProtocol()&&this.getProtocol()!=n.getProtocol())return false;if(this.getDomain()&&this.getDomain()!=n.getDomain())return false;if(this.getPort()&&this.getPort()!=n.getPort())return false;return true;};l.prototype.go=function(m){use strict;i(this,m);};l.prototype.setSubdomain=function(m){use strict;var n=this.$URI1().getDomain().split(.);if(n.length
Posted on: Wed, 13 Nov 2013 19:44:33 +0000

Trending Topics



Recently Viewed Topics




© 2015