1var xds=function(n){this.serverUrl=n;this.server=!1;this.serverFrame=!1;this._id=0;this.callbacks=[];this.queue=[];this.init()};xds.prototype={constructor:xds,init:function(){if(!this.server&&!this.serverFrame){this.serverFrame=window.document.createElement("iframe");this.serverFrame.style.position="absolute";this.serverFrame.style.left=this.serverFrame.style.top="-999";this.serverFrame.style.width=0;this.serverFrame.style.height=0;this.serverFrame.frameBorder=0;this.serverFrame.frameSpacing=0;var n=this;window.addEventListener?window.addEventListener("message",function(t){n.onMessage(t)},!1):window.attachEvent("onmessage",function(t){n.onMessage(t)});window.document.body.appendChild(this.serverFrame);this.serverFrame.src=this.serverUrl}},onMessage:function(n){try{if(response=JSON.parse(n.data),response.ready===!0){this.server=this.serverFrame.contentWindow;this.processQueue();return}response.type==="get"?typeof this.callbacks[response._xds]!="undefined"&&this.callbacks[response._xds](response.val,response):response.type==="set"?typeof this.callbacks[response._xds]!="undefined"&&this.callbacks[response._xds](response):response.type==="del"&&typeof this.callbacks[response._xds]!="undefined"&&this.callbacks[response._xds](response)}catch(n){}},processQueue:function(){if(this.queue){if(!this.server){this.init();return}while(this.queue.length>0)this.server.postMessage(JSON.stringify(this.queue.shift()),"*")}},post:function(n,t){this._id++;n._xds=this._id;typeof t!="undefined"&&t!==null&&t!==!1&&(this.callbacks[this._id]=t);this.server?this.server.postMessage(JSON.stringify(n),"*"):(this.queue.push(n),this.init())},getItem:function(n,t){this.post({type:"get",key:n},t)},setItem:function(n,t,i){this.post({type:"set",key:n,val:t},i)},removeItem:function(n,t){this.post({type:"del",key:n},t)},getObject:function(n,t){this.getItem(n,function(n,i){t(n&&JSON.parse(n),i)})},setObject:function(n,t,i){this.setItem(n,JSON.stringify(t),i)},removeObject:function(n,t){this.removeItem(n,t)}}; 2/* 3//# sourceMappingURL=xds.min.js.map 4*/
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.