(function(n){"use strict";var t="exports";typeof define=="function"&&define["amd"]?define(function(){return n()}):typeof module=="function"&&module[t]?module[t]=n():n()})(function(){"use strict";function c(n){if(this===null||this===undefined)throw new u("Array is null or undefined");if(typeof n!="function")throw new u(n+" is not a function");return{}.valueOf.call(this)}function f(n){for(var i={}.valueOf.call(n),r=i.length>>>0,t=r-1,u=0,f=new Array(r);t>-1;)t in i&&(f[u]=i[t]),t-=1,u+=1;return f}function t(i,e,o){var l,a,y,h,v;if(i=i||s,y=c.call(this,i),a=y.length>>>0,l=0,o===n.FILTER&&(h=[]),o===n.INDEXOF){if(h=-1,e.fromIndex>a)return h;l=Math.max(e.fromIndex>=0?e.fromIndex:a-Math.abs(e.fromIndex),0)}if(o===n.LASTINDEXOF){if(e.fromIndex!==0)if(e.fromIndex>0)e.fromIndex0?t.call(this.slice(0,a),null,{fromIndex:0,search:e.search},n.LASTINDEXOF):(h=t.call(f(this.slice(0,a)),null,e,n.INDEXOF),h!==-1&&(h=a-1-h),h)}if(o===n.MAP&&(h=new Array(a)),o===n.REDUCE||o===n.REDUCERIGHT){if(a===0&&!r.call(e,"initialValue"))throw new u("Reduce of empty array with no initial value");if(o===n.REDUCERIGHT)return t.call(f(this.slice(0,a)),i,{initialValue:e.initialValue},n.REDUCE);h=e.initialValue}while(ldocument.w=window'), u.close(), c = u.w.frames[0].document, t = c.createElement("div") } catch (l) { t = i.createElement("div"), c = i.body } var f = function (e) { return function () { var n = Array.prototype.slice.call(arguments, 0); n.unshift(t), c.appendChild(t), t.addBehavior("#default#userData"), t.load(o); var i = e.apply(r, n); return c.removeChild(t), i } }, d = new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]", "g"), s = function (e) { return e.replace(/^d/, "___$&").replace(d, "___") }; r.set = f(function (e, t, n) { return t = s(t), void 0 === n ? r.remove(t) : (e.setAttribute(t, r.serialize(n)), e.save(o), n) }), r.get = f(function (e, t, n) { t = s(t); var i = r.deserialize(e.getAttribute(t)); return void 0 === i ? n : i }), r.remove = f(function (e, t) { t = s(t), e.removeAttribute(t), e.save(o) }), r.clear = f(function (e) { var t = e.XMLDocument.documentElement.attributes; e.load(o); for (var r = t.length - 1; r >= 0; r--) e.removeAttribute(t[r].name); e.save(o) }), r.getAll = function (e) { var t = {}; return r.forEach(function (e, r) { t[e] = r }), t }, r.forEach = f(function (e, t) { for (var n, i = e.XMLDocument.documentElement.attributes, o = 0; n = i[o]; ++o) t(n.name, r.deserialize(e.getAttribute(n.name))) }) } try { var v = "__storejs__"; r.set(v, v), r.get(v) != v && (r.disabled = !0), r.remove(v) } catch (l) { r.disabled = !0 } return r.enabled = !r.disabled, r }();}).call(this, typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})}, {}]}, {}, [1])(1)}); var messageLog={errorQFirstWait:4e3,errorQTimeout:3e3,errorQTries:15,errorQUrl:"/api/rum/message",queue:[],errorQIsActive:!1,errorQCount:0,init:function(){if(!store.disabled&&Object.keys(this.getQueue()).length>0){var n=this;setTimeout(function(){n.record()},this.errorQFirstWait)}},enqueue:function(n){if(!store.disabled&&n.url!=this.errorQUrl){n.page||(n.page="newhome");this.errorQCount=0;try{store.get("errorQueue")?store.transact("errorQueue",function(t){t.push(n)}):store.set("errorQueue",[n])}catch(i){return}if(!this.errorQIsActive){this.errorQIsActive=!0;var t=this;setTimeout(function(){t.record()},this.errorQFirstWait)}}},push:function(n,t,i){if(n&&typeof t!="undefined"){var r={key:n,value:t};i&&(r.type=i);messageLog.queue.push(r);messageLog.enqueue(r)}},getQueue:function(){return store.get("errorQueue")||{}},stop:function(){this.errorQCount=0;this.errorQIsActive=!1},clean:function(){store.remove("errorQueue")},record:function(){var n,i,t;if((!agoda||!agoda.userInfo||!agoda.userInfo.isNah)&&(n=this,i=this.getQueue(),i!=="undefined"&&Object.keys(i).length!=0)){if(this.errorQCount>=this.errorQTries){this.stop();return}this.errorQCount++;t=new XMLHttpRequest;t.addEventListener("load",function(){t.status>=200&&t.status<300||t.status===1223?(n.stop(),n.clean()):(n.errorQIsActive=!0,setTimeout(function(){n.record()},n.errorQTimeout))});t.addEventListener("error",function(){n.errorQIsActive=!0;setTimeout(function(){n.record()},n.errorQTimeout)});t.open("POST",n.errorQUrl);t.setRequestHeader("Content-type","application/x-www-form-urlencoded");t.send("message="+encodeURIComponent(JSON.stringify(n.getQueue())))}}};messageLog.init();

 

 

  •  
白小姐资料一肖中特马133期