fastman2 2.7.8 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/actionsheetman.js +1 -1
- package/alertman.js +1 -1
- package/annotationman.js +4 -4
- package/baseman.js +1 -1
- package/blankpageman.js +1 -1
- package/cascadepickerman.js +1 -1
- package/confirmman.js +1 -1
- package/coreman.js +3 -3
- package/cryptoman.js +7 -9
- package/datetimepickerman.js +1 -1
- package/domman.js +1 -1
- package/eventemitterman.js +1 -1
- package/formvalidateman.js +1 -1
- package/jsbridgeman.js +1 -1
- package/lazyloadman.js +1 -1
- package/loadingman.js +1 -1
- package/modalman.js +1 -1
- package/mutationobserverman.js +1 -1
- package/package.json +1 -1
- package/persistman.js +1 -1
- package/pickerman.js +1 -1
- package/popupman.js +1 -1
- package/postman.js +1 -1
- package/preloadman.js +1 -1
- package/resultpageman.js +1 -1
- package/routerman.js +1 -1
- package/scrollman-infiniteRefresh.js +1 -1
- package/scrollman-pullDownRefresh.js +1 -1
- package/scrollman.js +2 -2
- package/storeman.js +1 -1
- package/styles/fastman-UIdesign.js +1 -1
- package/tabman.js +1 -1
- package/tipman.js +1 -1
- package/toastman.js +1 -1
- package/toolman.js +1 -1
- package/whenman.js +1 -1
- package/wsman.js +1 -1
- package/fastman3-miniprogram-bridge/fastman3-miniprogram-bridge-1.0.0.js +0 -1
- package/third-jsbridge/dfgj-jsbridge-1.0.js +0 -1
- package/third-jsbridge/dfzq-jsbridge-1.0.js +0 -1
- package/third-jsbridge/dfzq-jsbridge-1.1.js +0 -1
- package/third-jsbridge/dfzq-jsbridge-1.10.js +0 -1
- package/third-jsbridge/dfzq-jsbridge-1.11.js +0 -1
- package/third-jsbridge/dfzq-jsbridge-1.2.js +0 -1
- package/third-jsbridge/dfzq-jsbridge-1.3.js +0 -1
- package/third-jsbridge/dfzq-jsbridge-1.4.js +0 -1
- package/third-jsbridge/dfzq-jsbridge-1.5.js +0 -1
- package/third-jsbridge/dfzq-jsbridge-1.6.js +0 -1
- package/third-jsbridge/dfzq-jsbridge-1.7.js +0 -1
- package/third-jsbridge/dfzq-jsbridge-1.8.js +0 -1
- package/third-jsbridge/dfzq-jsbridge-1.9.js +0 -1
- package/third-jsbridge/jsbridgeman.js +0 -1
- package/third-jsbridge/tools.js +0 -1
- package/third-jsbridge/wxPay.js +0 -1
package/wsman.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.fastman=e():t.fastman=e()}(this,function(){return webpackJsonpfastman([0],[,function(t,e){"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}},,function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(t){if(l===setTimeout)return setTimeout(t,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)}catch(e){return l.call(this,t,0)}}}function i(t){if(f===clearTimeout)return clearTimeout(t);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(t);try{return f(t)}catch(e){try{return f.call(null,t)}catch(e){return f.call(this,t)}}}function s(){m&&h&&(m=!1,h.length?d=h.concat(d):v=-1,d.length&&a())}function a(){if(!m){var t=o(s);m=!0;for(var e=d.length;e;){for(h=d,d=[];++v<e;)h&&h[v].run();v=-1,e=d.length}h=null,m=!1,i(t)}}function c(t,e){this.fun=t,this.array=e}function u(){}var l,f,p=t.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(t){l=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(t){f=r}}();var h,d=[],m=!1,v=-1;p.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];d.push(new c(t,e)),1!==d.length||m||o(a)},c.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=u,p.addListener=u,p.once=u,p.off=u,p.removeListener=u,p.removeAllListeners=u,p.emit=u,p.prependListener=u,p.prependOnceListener=u,p.listeners=function(t){return[]},p.binding=function(t){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(t){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(t,e,n){"use strict";(function(r){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function s(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),this.useColors){var n="color: "+this.color;e.splice(1,0,n,"color: inherit");var r=0,o=0;e[0].replace(/%[a-zA-Z%]/g,function(t){"%%"!==t&&(r++,"%c"===t&&(o=r))}),e.splice(o,0,n)}}function a(){var t;return"object"===("undefined"==typeof console?"undefined":o(console))&&console.log&&(t=console).log.apply(t,arguments)}function c(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(t){}}function u(){var t;try{t=e.storage.getItem("debug")}catch(t){}return!t&&void 0!==r&&"env"in r&&(t=r.env.DEBUG),t}e.log=a,e.formatArgs=s,e.save=c,e.load=u,e.useColors=i,e.storage=function(){try{return localStorage}catch(t){}}(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.exports=n(161)(e),t.exports.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}}).call(e,n(3))},function(t,e,n){"use strict";function r(){i.call(this)}var o=n(1),i=n(60);o(r,i),r.prototype.removeAllListeners=function(t){t?delete this._listeners[t]:this._listeners={}},r.prototype.once=function(t,e){function n(){r.removeListener(t,n),o||(o=!0,e.apply(this,arguments))}var r=this,o=!1;this.on(t,n)},r.prototype.emit=function(){var t=arguments[0],e=this._listeners[t];if(e){for(var n=arguments.length,r=new Array(n-1),o=1;o<n;o++)r[o-1]=arguments[o];for(var i=0;i<e.length;i++)e[i].apply(this,r)}},r.prototype.on=r.prototype.addListener=i.prototype.addEventListener,r.prototype.removeListener=i.prototype.removeEventListener,t.exports.EventEmitter=r},,,function(t,e,n){"use strict";(function(e){var r=n(75),o=function(){};"production"!==e.env.NODE_ENV&&(o=n(4)("sockjs-client:utils:url")),t.exports={getOrigin:function(t){if(!t)return null;var e=new r(t);if("file:"===e.protocol)return null;var n=e.port;return n||(n="https:"===e.protocol?"443":"80"),e.protocol+"//"+e.hostname+":"+n},isOriginEqual:function(t,e){var n=this.getOrigin(t)===this.getOrigin(e);return o("same",t,e,n),n},isSchemeEqual:function(t,e){return t.split(":")[0]===e.split(":")[0]},addPath:function(t,e){var n=t.split("?");return n[0]+e+(n[1]?"?"+n[1]:"")},addQuery:function(t,e){return t+(-1===t.indexOf("?")?"?"+e:"&"+e)},isLoopbackAddr:function(t){return/^127\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})$/i.test(t)||/^\[::1\]$/.test(t)}}}).call(e,n(3))},function(t,e,n){"use strict";var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(i){void 0!==(r=function(t){function e(t){return t}function r(t){return t}function i(t){return t}function s(t){if(!(this instanceof s))return new s(t);p(this,t)}function a(t){var n,a,p,h;return t=t||{},n=t.init||e,a=t.request||r,p=t.success||t.response||i,h=t.error||function(){return f.reject((t.response||i).apply(this,arguments))},function(e,r){function i(t){var n,o;return n={},o={arguments:Array.prototype.slice.call(arguments),client:i},t="string"==typeof t?{path:t}:t||{},t.originator=t.originator||i,u(a.call(n,t,r,o),function(t){var i,a,c;return c=e,t instanceof s&&(a=t.abort,c=t.client||c,i=t.response,t=t.request),i=i||f.resolve(t).then(function(t){return f.resolve(c(t)).then(function(t){return p.call(n,t,r,o)},function(t){return h.call(n,t,r,o)})}),a?f.race([i,a]):i},function(t){return f.reject(t)})}return"object"===(void 0===e?"undefined":o(e))&&(r=e),"function"!=typeof e&&(e=t.client||c),r=n(r||{}),l(i,e)}}var c,u,l,f,p;return c=n(24),u=n(19),l=n(12),f=n(6),p=n(25),a.ComplexRequest=s,a.check=function(t){if(t.error)return f.reject(t)},a}.call(e,n,e,t))&&(t.exports=r)}(n(0))},function(t,e,n){(function(t,r){var o;(function(){function i(t,e){function n(t,e){try{t()}catch(t){e&&e()}}function r(t){if(null!=r[t])return r[t];var o;if("bug-string-char-index"==t)o="a"!="a"[0];else if("json"==t)o=r("json-stringify")&&r("date-serialization")&&r("json-parse");else if("date-serialization"==t){if(o=r("json-stringify")&&w){var i=e.stringify;n(function(){o='"-271821-04-20T00:00:00.000Z"'==i(new f(-864e13))&&'"+275760-09-13T00:00:00.000Z"'==i(new f(864e13))&&'"-000001-01-01T00:00:00.000Z"'==i(new f(-621987552e5))&&'"1969-12-31T23:59:59.999Z"'==i(new f(-1))})}}else{var a,u='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}';if("json-stringify"==t){var i=e.stringify,l="function"==typeof i;l&&((a=function(){return 1}).toJSON=a,n(function(){l="0"===i(0)&&"0"===i(new s)&&'""'==i(new c)&&i(g)===v&&i(v)===v&&i()===v&&"1"===i(a)&&"[1]"==i([a])&&"[null]"==i([v])&&"null"==i(null)&&"[null,null,null]"==i([v,g,null])&&i({a:[a,!0,!1,null,"\0\b\n\f\r\t"]})==u&&"1"===i(null,a)&&"[\n 1,\n 2\n]"==i([1,2],null,1)},function(){l=!1})),o=l}if("json-parse"==t){var p,h=e.parse;"function"==typeof h&&n(function(){0!==h("0")||h(!1)||(a=h(u),(p=5==a.a.length&&1===a.a[0])&&(n(function(){p=!h('"\t"')}),p&&n(function(){p=1!==h("01")}),p&&n(function(){p=1!==h("1.")})))},function(){p=!1}),o=p}}return r[t]=!!o}function o(t){return O(this)}t||(t=u.Object()),e||(e=u.Object());var s=t.Number||u.Number,c=t.String||u.String,l=t.Object||u.Object,f=t.Date||u.Date,p=t.SyntaxError||u.SyntaxError,h=t.TypeError||u.TypeError,d=t.Math||u.Math,m=t.JSON||u.JSON;"object"==typeof m&&m&&(e.stringify=m.stringify,e.parse=m.parse);var v,y=l.prototype,g=y.toString,b=y.hasOwnProperty,w=new f(-0xc782b5b800cec);if(n(function(){w=-109252==w.getUTCFullYear()&&0===w.getUTCMonth()&&1===w.getUTCDate()&&10==w.getUTCHours()&&37==w.getUTCMinutes()&&6==w.getUTCSeconds()&&708==w.getUTCMilliseconds()}),r["bug-string-char-index"]=r["date-serialization"]=r.json=r["json-stringify"]=r["json-parse"]=null,!r("json")){var x=r("bug-string-char-index"),C=function(t,e){var n,r,o,i=0;(n=function(){this.valueOf=0}).prototype.valueOf=0,r=new n;for(o in r)b.call(r,o)&&i++;return n=r=null,i?C=function(t,e){var n,r,o="[object Function]"==g.call(t);for(n in t)o&&"prototype"==n||!b.call(t,n)||(r="constructor"===n)||e(n);(r||b.call(t,n="constructor"))&&e(n)}:(r=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],C=function(t,e){var n,o,i="[object Function]"==g.call(t),s=!i&&"function"!=typeof t.constructor&&a[typeof t.hasOwnProperty]&&t.hasOwnProperty||b;for(n in t)i&&"prototype"==n||!s.call(t,n)||e(n);for(o=r.length;n=r[--o];)s.call(t,n)&&e(n)}),C(t,e)};if(!r("json-stringify")&&!r("date-serialization")){var E={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},_=function(t,e){return("000000"+(e||0)).slice(-t)},O=function(t){var e,n,r,o,i,s,a,c,u;if(w)e=function(t){n=t.getUTCFullYear(),r=t.getUTCMonth(),o=t.getUTCDate(),s=t.getUTCHours(),a=t.getUTCMinutes(),c=t.getUTCSeconds(),u=t.getUTCMilliseconds()};else{var l=d.floor,f=[0,31,59,90,120,151,181,212,243,273,304,334],p=function(t,e){return f[e]+365*(t-1970)+l((t-1969+(e=+(e>1)))/4)-l((t-1901+e)/100)+l((t-1601+e)/400)};e=function(t){for(o=l(t/864e5),n=l(o/365.2425)+1970-1;p(n+1,0)<=o;n++);for(r=l((o-p(n,0))/30.42);p(n,r+1)<=o;r++);o=1+o-p(n,r),i=(t%864e5+864e5)%864e5,s=l(i/36e5)%24,a=l(i/6e4)%60,c=l(i/1e3)%60,u=i%1e3}}return(O=function(t){return t>-1/0&&t<1/0?(e(t),t=(n<=0||n>=1e4?(n<0?"-":"+")+_(6,n<0?-n:n):_(4,n))+"-"+_(2,r+1)+"-"+_(2,o)+"T"+_(2,s)+":"+_(2,a)+":"+_(2,c)+"."+_(3,u)+"Z",n=r=o=s=a=c=u=null):t=null,t})(t)};if(r("json-stringify")&&!r("date-serialization")){var S=e.stringify;e.stringify=function(t,e,n){var r=f.prototype.toJSON;f.prototype.toJSON=o;var i=S(t,e,n);return f.prototype.toJSON=r,i}}else{var T=function(t){var e=t.charCodeAt(0),n=E[e];return n||"\\u00"+_(2,e.toString(16))},N=/[\x00-\x1f\x22\x5c]/g,j=function(t){return N.lastIndex=0,'"'+(N.test(t)?t.replace(N,T):t)+'"'},k=function(t,e,r,o,i,s,a){var c,u,l,p,d,m,y,b,w;if(n(function(){c=e[t]}),"object"==typeof c&&c&&(c.getUTCFullYear&&"[object Date]"==g.call(c)&&c.toJSON===f.prototype.toJSON?c=O(c):"function"==typeof c.toJSON&&(c=c.toJSON(t))),r&&(c=r.call(e,t,c)),c==v)return c===v?c:"null";switch(u=typeof c,"object"==u&&(l=g.call(c)),l||u){case"boolean":case"[object Boolean]":return""+c;case"number":case"[object Number]":return c>-1/0&&c<1/0?""+c:"null";case"string":case"[object String]":return j(""+c)}if("object"==typeof c){for(y=a.length;y--;)if(a[y]===c)throw h();if(a.push(c),p=[],b=s,s+=i,"[object Array]"==l){for(m=0,y=c.length;m<y;m++)d=k(m,c,r,o,i,s,a),p.push(d===v?"null":d);w=p.length?i?"[\n"+s+p.join(",\n"+s)+"\n"+b+"]":"["+p.join(",")+"]":"[]"}else C(o||c,function(t){var e=k(t,c,r,o,i,s,a);e!==v&&p.push(j(t)+":"+(i?" ":"")+e)}),w=p.length?i?"{\n"+s+p.join(",\n"+s)+"\n"+b+"}":"{"+p.join(",")+"}":"{}";return a.pop(),w}};e.stringify=function(t,e,n){var r,o,i,s;if(a[typeof e]&&e)if("[object Function]"==(s=g.call(e)))o=e;else if("[object Array]"==s){i={};for(var c,u=0,l=e.length;u<l;)c=e[u++],"[object String]"!=(s=g.call(c))&&"[object Number]"!=s||(i[c]=1)}if(n)if("[object Number]"==(s=g.call(n))){if((n-=n%1)>0)for(n>10&&(n=10),r="";r.length<n;)r+=" "}else"[object String]"==s&&(r=n.length<=10?n:n.slice(0,10));return k("",(c={},c[""]=t,c),o,i,r,"",[])}}}if(!r("json-parse")){var A,F,I=c.fromCharCode,P={92:"\\",34:'"',47:"/",98:"\b",116:"\t",110:"\n",102:"\f",114:"\r"},D=function(){throw A=F=null,p()},L=function(){for(var t,e,n,r,o,i=F,s=i.length;A<s;)switch(o=i.charCodeAt(A)){case 9:case 10:case 13:case 32:A++;break;case 123:case 125:case 91:case 93:case 58:case 44:return t=x?i.charAt(A):i[A],A++,t;case 34:for(t="@",A++;A<s;)if((o=i.charCodeAt(A))<32)D();else if(92==o)switch(o=i.charCodeAt(++A)){case 92:case 34:case 47:case 98:case 116:case 110:case 102:case 114:t+=P[o],A++;break;case 117:for(e=++A,n=A+4;A<n;A++)(o=i.charCodeAt(A))>=48&&o<=57||o>=97&&o<=102||o>=65&&o<=70||D();t+=I("0x"+i.slice(e,A));break;default:D()}else{if(34==o)break;for(o=i.charCodeAt(A),e=A;o>=32&&92!=o&&34!=o;)o=i.charCodeAt(++A);t+=i.slice(e,A)}if(34==i.charCodeAt(A))return A++,t;D();default:if(e=A,45==o&&(r=!0,o=i.charCodeAt(++A)),o>=48&&o<=57){for(48==o&&(o=i.charCodeAt(A+1))>=48&&o<=57&&D(),r=!1;A<s&&(o=i.charCodeAt(A))>=48&&o<=57;A++);if(46==i.charCodeAt(A)){for(n=++A;n<s&&!((o=i.charCodeAt(n))<48||o>57);n++);n==A&&D(),A=n}if(101==(o=i.charCodeAt(A))||69==o){for(o=i.charCodeAt(++A),43!=o&&45!=o||A++,n=A;n<s&&!((o=i.charCodeAt(n))<48||o>57);n++);n==A&&D(),A=n}return+i.slice(e,A)}r&&D();var a=i.slice(A,A+4);if("true"==a)return A+=4,!0;if("fals"==a&&101==i.charCodeAt(A+4))return A+=5,!1;if("null"==a)return A+=4,null;D()}return"$"},R=function(t){var e,n;if("$"==t&&D(),"string"==typeof t){if("@"==(x?t.charAt(0):t[0]))return t.slice(1);if("["==t){for(e=[];"]"!=(t=L());)n?","==t?"]"==(t=L())&&D():D():n=!0,","==t&&D(),e.push(R(t));return e}if("{"==t){for(e={};"}"!=(t=L());)n?","==t?"}"==(t=L())&&D():D():n=!0,","!=t&&"string"==typeof t&&"@"==(x?t.charAt(0):t[0])&&":"==L()||D(),e[t.slice(1)]=R(L());return e}D()}return t},M=function(t,e,n){var r=U(t,e,n);r===v?delete t[e]:t[e]=r},U=function(t,e,n){var r,o=t[e];if("object"==typeof o&&o)if("[object Array]"==g.call(o))for(r=o.length;r--;)M(g,C,o);else C(o,function(t){M(o,t,n)});return n.call(t,e,o)};e.parse=function(t,e){var n,r;return A=0,F=""+t,n=R(L()),"$"!=L()&&D(),A=F=null,e&&"[object Function]"==g.call(e)?U((r={},r[""]=n,r),"",e):n}}}return e.runInContext=i,e}var s=n(198),a={function:!0,object:!0},c=a[typeof e]&&e&&!e.nodeType&&e,u=a[typeof window]&&window||this,l=c&&a[typeof t]&&t&&!t.nodeType&&"object"==typeof r&&r;if(!l||l.global!==l&&l.window!==l&&l.self!==l||(u=l),c&&!s)i(u,c);else{var f=u.JSON,p=u.JSON3,h=!1,d=i(u,u.JSON3={noConflict:function(){return h||(h=!0,u.JSON=f,u.JSON3=p,f=p=null),d}});u.JSON={parse:d.parse,stringify:d.stringify}}s&&void 0!==(o=function(){return d}.call(e,n,e,t))&&(t.exports=o)}).call(this)}).call(e,n(199)(t),n(2))},,function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){return function(t,e){return e&&(t.skip=function(){return e}),t.addInterceptor=function(e,n){return e(t,n)},t}}.call(e,n,e,t))&&(t.exports=r)}(n(0))},function(t,e,n){"use strict";(function(e){var r=n(15),o={},i=!1,s=e.chrome&&e.chrome.app&&e.chrome.app.runtime;t.exports={attachEvent:function(t,n){void 0!==e.addEventListener?e.addEventListener(t,n,!1):e.document&&e.attachEvent&&(e.document.attachEvent("on"+t,n),e.attachEvent("on"+t,n))},detachEvent:function(t,n){void 0!==e.addEventListener?e.removeEventListener(t,n,!1):e.document&&e.detachEvent&&(e.document.detachEvent("on"+t,n),e.detachEvent("on"+t,n))},unloadAdd:function(t){if(s)return null;var e=r.string(8);return o[e]=t,i&&setTimeout(this.triggerUnloadCallbacks,0),e},unloadDel:function(t){t in o&&delete o[t]},triggerUnloadCallbacks:function(){for(var t in o)o[t](),delete o[t]}};var a=function(){i||(i=!0,t.exports.triggerUnloadCallbacks())};s||t.exports.attachEvent("unload",a)}).call(e,n(2))},function(t,e,n){"use strict";(function(e){function r(t){return function(e,n,r){c("create ajax sender",e,n);var o={};"string"==typeof n&&(o.headers={"Content-type":"text/plain"});var i=s.addPath(e,"/xhr_send"),a=new t("POST",i,n,o);return a.once("finish",function(t){if(c("finish",t),a=null,200!==t&&204!==t)return r(new Error("http status "+t));r()}),function(){c("abort"),a.close(),a=null;var t=new Error("Aborted");t.code=1e3,r(t)}}}function o(t,e,n,o){a.call(this,t,e,r(o),n,o)}var i=n(1),s=n(8),a=n(69),c=function(){};"production"!==e.env.NODE_ENV&&(c=n(4)("sockjs-client:ajax-based")),i(o,a),t.exports=o}).call(e,n(3))},function(t,e,n){"use strict";var r=n(189),o="abcdefghijklmnopqrstuvwxyz012345";t.exports={string:function(t){for(var e=o.length,n=r.randomBytes(t),i=[],s=0;s<t;s++)i.push(o.substr(n[s]%e,1));return i.join("")},number:function(t){return Math.floor(Math.random()*t)},numberString:function(t){var e=(""+(t-1)).length;return(new Array(e+1).join("0")+this.number(t)).slice(-e)}}},,,function(t,e,n){"use strict";var r;!function(o){var i;void 0!==(r=function(t){function e(t){var e,n;return e=t.split(";"),n=e[0].trim().split("+"),{raw:t,type:n[0],suffix:n[1]?"+"+n[1]:"",params:e.slice(1).reduce(function(t,e){return e=e.split("="),t[e[0].trim()]=e[1]?e[1].trim():i,t},{})}}return{parse:e}}.call(e,n,e,t))&&(t.exports=r)}(n(0))},function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){function e(t,e){return t.then(function(t){return t&&t[e]},function(t){return l.reject(t&&t[e])})}function r(){return e(this,"entity")}function o(){return e(e(this,"status"),"code")}function i(){return e(this,"headers")}function s(t){return t=f(t),e(this.headers(),t)}function a(t){return t=[].concat(t),c(l.reduce(t,function(t,e){if("string"==typeof e&&(e={rel:e}),"function"!=typeof t.entity.clientFor)throw new Error("Hypermedia response expected");return t.entity.clientFor(e.rel)({params:e.params})},this))}function c(t){return t.status=o,t.headers=i,t.header=s,t.entity=r,t.follow=a,t}function u(){var t=arguments;return l.promise(function(e,n){try{e(t[0])}catch(t){n(t)}}).then(t[1]).otherwise(t[2])}var l=n(6),f=n(26);return u.make=c,u.reject=function(t){return c(l.reject(t))},u.promise=function(t){return c(l.promise(t))},u}.call(e,n,e,t))&&(t.exports=r)}(n(0))},function(t,e,n){"use strict";function r(t,e,n){i.call(this,t,e,n,{noCredentials:!0})}var o=n(1),i=n(64);o(r,i),r.enabled=i.enabled,t.exports=r},function(t,e,n){"use strict";(function(e){t.exports={isOpera:function(){return e.navigator&&/opera/i.test(e.navigator.userAgent)},isKonqueror:function(){return e.navigator&&/konqueror/i.test(e.navigator.userAgent)},hasDomain:function(){if(!e.document)return!0;try{return!!e.document.domain}catch(t){return!1}}}}).call(e,n(2))},function(t,e,n){"use strict";(function(e,r){var o=n(13),i=n(10),s=n(21),a=function(){};"production"!==e.env.NODE_ENV&&(a=n(4)("sockjs-client:utils:iframe")),t.exports={WPrefix:"_jp",currentWindowId:null,polluteGlobalNamespace:function(){t.exports.WPrefix in r||(r[t.exports.WPrefix]={})},postMessage:function(e,n){r.parent!==r?r.parent.postMessage(i.stringify({windowId:t.exports.currentWindowId,type:e,data:n||""}),"*"):a("Cannot postMessage, no parent window.",e,n)},createIframe:function(t,e){var n,i,s=r.document.createElement("iframe"),c=function(){a("unattach"),clearTimeout(n);try{s.onload=null}catch(t){}s.onerror=null},u=function(){a("cleanup"),s&&(c(),setTimeout(function(){s&&s.parentNode.removeChild(s),s=null},0),o.unloadDel(i))},l=function(t){a("onerror",t),s&&(u(),e(t))},f=function(t,e){a("post",t,e),setTimeout(function(){try{s&&s.contentWindow&&s.contentWindow.postMessage(t,e)}catch(t){}},0)};return s.src=t,s.style.display="none",s.style.position="absolute",s.onerror=function(){l("onerror")},s.onload=function(){a("onload"),clearTimeout(n),n=setTimeout(function(){l("onload timeout")},2e3)},r.document.body.appendChild(s),n=setTimeout(function(){l("timeout")},15e3),i=o.unloadAdd(u),{post:f,cleanup:u,loaded:c}},createHtmlfile:function(e,n){var i,s,c,u=["Active"].concat("Object").join("X"),l=new r[u]("htmlfile"),f=function(){clearTimeout(i),c.onerror=null},p=function(){l&&(f(),o.unloadDel(s),c.parentNode.removeChild(c),c=l=null,CollectGarbage())},h=function(t){a("onerror",t),l&&(p(),n(t))},d=function(t,e){try{setTimeout(function(){c&&c.contentWindow&&c.contentWindow.postMessage(t,e)},0)}catch(t){}};l.open(),l.write('<html><script>document.domain="'+r.document.domain+'";<\/script></html>'),l.close(),l.parentWindow[t.exports.WPrefix]=r[t.exports.WPrefix];var m=l.createElement("div");return l.body.appendChild(m),c=l.createElement("iframe"),m.appendChild(c),c.src=e,c.onerror=function(){h("onerror")},i=setTimeout(function(){h("timeout")},15e3),s=o.unloadAdd(p),{post:d,cleanup:p,loaded:f}}},t.exports.iframeEnabled=!1,r.document&&(t.exports.iframeEnabled=("function"==typeof r.postMessage||"object"==typeof r.postMessage)&&!s.isKonqueror())}).call(e,n(3),n(2))},,function(t,e,n){"use strict";var r;!function(o){var i;void 0!==(r=function(t){function e(){return o.apply(i,arguments)}var r,o,s;return r=n(12),e.setDefaultClient=function(t){o=t},e.getDefaultClient=function(){return o},e.resetDefaultClient=function(){o=s},e.setPlatformDefaultClient=function(t){if(s)throw new Error("Unable to redefine platformDefaultClient");o=s=t},r(e)}.call(e,n,e,t))&&(t.exports=r)}(n(0))},function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){function e(t){var e,r,o,i;for(t||(t={}),e=1,r=arguments.length;e<r;e+=1){o=arguments[e];for(i in o)i in t&&(t[i]===o[i]||i in n&&n[i]===o[i])||(t[i]=o[i])}return t}var n={};return e}.call(e,n,e,t))&&(t.exports=r)}(n(0))},function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){function e(t){return t.toLowerCase().split("-").map(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}).join("-")}return e}.call(e,n,e,t))&&(t.exports=r)}(n(0))},,function(t,e,n){"use strict";(function(e){function r(t,e){s(t),i.call(this);var n=this;this.bufferPosition=0,this.xo=new e("POST",t,null),this.xo.on("chunk",this._chunkHandler.bind(this)),this.xo.once("finish",function(t,e){s("finish",t,e),n._chunkHandler(t,e),n.xo=null;var r=200===t?"network":"permanent";s("close",r),n.emit("close",null,r),n._cleanup()})}var o=n(1),i=n(5).EventEmitter,s=function(){};"production"!==e.env.NODE_ENV&&(s=n(4)("sockjs-client:receiver:xhr")),o(r,i),r.prototype._chunkHandler=function(t,e){if(s("_chunkHandler",t),200===t&&e)for(var n=-1;;this.bufferPosition+=n+1){var r=e.slice(this.bufferPosition);if(-1===(n=r.indexOf("\n")))break;var o=r.slice(0,n);o&&(s("message",o),this.emit("message",o))}},r.prototype._cleanup=function(){s("_cleanup"),this.removeAllListeners()},r.prototype.abort=function(){s("abort"),this.xo&&(this.xo.close(),s("close"),this.emit("close",null,"user"),this.xo=null),this._cleanup()},t.exports=r}).call(e,n(3))},function(t,e,n){"use strict";function r(t,e,n,r){i.call(this,t,e,n,r)}var o=n(1),i=n(64);o(r,i),r.enabled=i.enabled&&i.supportsCORS,t.exports=r},,,,,,function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){var e,r;return e=n(9),r=n(6),e({init:function(t){return t.code=t.code||400,t},response:function(t,e){return t.status&&t.status.code>=e.code?r.reject({response:t,error:"httperror"}):t}})}.call(e,n,e,t))&&(t.exports=r)}(n(0))},function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){var e,r,o,i,s;return e=n(9),r=n(18),o=n(38),s=n(6),i={read:function(t){return t},write:function(t){return t}},e({init:function(t){return t.registry=t.registry||o,t},request:function(t,e){var n,o;return o=t.headers||(t.headers={}),n=r.parse(o["Content-Type"]=o["Content-Type"]||e.mime||"text/plain"),o.Accept=o.Accept||e.accept||n.raw+", application/json;q=0.8, text/plain;q=0.5, */*;q=0.2","entity"in t?e.registry.lookup(n).otherwise(function(){if(e.permissive)return i;throw"mime-unknown"}).then(function(r){var o=e.client||t.originator;return s.attempt(r.write,t.entity,{client:o,request:t,mime:n,registry:e.registry}).otherwise(function(){throw"mime-serialization"}).then(function(e){return t.entity=e,t})}):t},response:function(t,e){if(!(t.headers&&t.headers["Content-Type"]&&t.entity))return t;var n=r.parse(t.headers["Content-Type"]);return e.registry.lookup(n).otherwise(function(){return i}).then(function(r){var o=e.client||t.request&&t.request.originator;return s.attempt(r.read,t.entity,{client:o,response:t,mime:n,registry:e.registry}).otherwise(function(e){throw t.error="mime-deserialization",t.cause=e,t}).then(function(e){return t.entity=e,t})})}})}.call(e,n,e,t))&&(t.exports=r)}(n(0))},function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){var e=n(9),r=n(6);return e({init:function(t){return t.timeout=t.timeout||0,t.transient=!!t.transient,t},request:function(t,n){var o,i,s;if(o="timeout"in t?t.timeout:n.timeout,s="transient"in t?t.transient:n.transient,o<=0)return t;var a=this;return i=r.promise(function(e,n){a.timeout=setTimeout(function(){n({request:t,error:"timeout"}),t.cancel?(t.cancel(),s&&(t.canceled=!1)):s||(t.canceled=!0)},o)}),new e.ComplexRequest({request:t,abort:i})},response:function(t){return this.timeout&&(clearTimeout(this.timeout),delete this.timeout),t}})}.call(e,n,e,t))&&(t.exports=r)}(n(0))},function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){function e(t){this.lookup=function(e){var n;return n="string"==typeof e?r.parse(e):e,t[n.raw]?t[n.raw]:t[n.type+n.suffix]?t[n.type+n.suffix]:t[n.type]?t[n.type]:t[n.suffix]?t[n.suffix]:o.reject(new Error('Unable to locate converter for mime "'+n.raw+'"'))},this.register=function(e,n){return t[e]=o.resolve(n),t[e]}}var r,o,i;return r=n(18),o=n(6),i=new e({}),i.register("application/json",n(39)),i.register("application/x-www-form-urlencoded",n(40)),i.register("multipart/form-data",n(41)),i}.call(e,n,e,t))&&(t.exports=r)}(n(0))},function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){function e(t,n){return{read:function(e){return JSON.parse(e,t)},write:function(t){return JSON.stringify(t,n)},extend:e}}return e()}.call(e,n,e,t))&&(t.exports=r)}(n(0))},function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){function e(t){return t=encodeURIComponent(t),t.replace(o,"+")}function n(t){return t=t.replace(i," "),decodeURIComponent(t)}function r(t,n,o){return Array.isArray(o)?o.forEach(function(e){t=r(t,n,e)}):(t.length>0&&(t+="&"),t+=e(n),void 0!==o&&null!==o&&(t+="="+e(o))),t}var o,i;return o=/%20/g,i=/\+/g,{read:function(t){var e={};return t.split("&").forEach(function(t){var r,o,i;r=t.split("="),o=n(r[0]),i=2===r.length?n(r[1]):null,o in e?(Array.isArray(e[o])||(e[o]=[e[o]]),e[o].push(i)):e[o]=i}),e},write:function(t){var e="";return Object.keys(t).forEach(function(n){e=r(e,n,t[n])}),e}}}.call(e,n,e,t))&&(t.exports=r)}(n(0))},function(t,e,n){"use strict";var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(i){void 0!==(r=function(t){function e(t){return t&&1===t.nodeType&&"FORM"===t.tagName}function n(t){var e,n=new FormData;for(var r in t)t.hasOwnProperty(r)&&(e=t[r],e instanceof File?n.append(r,e,e.name):e instanceof Blob?n.append(r,e):n.append(r,String(e)));return n}return{write:function(t){if("undefined"==typeof FormData)throw new Error("The multipart/form-data mime serializer requires FormData support");if(t instanceof FormData)return t;if(e(t))return new FormData(t);if("object"===(void 0===t?"undefined":o(t))&&null!==t)return n(t);throw new Error("Unable to create FormData from object "+t)}}}.call(e,n,e,t))&&(t.exports=r)}(n(0))},,,,,function(t,e,n){"use strict";function r(t){this.type=t}r.prototype.initEvent=function(t,e,n){return this.type=t,this.bubbles=e,this.cancelable=n,this.timeStamp=+new Date,this},r.prototype.stopPropagation=function(){},r.prototype.preventDefault=function(){},r.CAPTURING_PHASE=1,r.AT_TARGET=2,r.BUBBLING_PHASE=3,t.exports=r},function(t,e,n){"use strict";(function(e){var r=n(1),o=n(68),i=n(49);t.exports=function(t){function n(e,n){o.call(this,t.transportName,e,n)}return r(n,o),n.enabled=function(n,r){if(!e.document)return!1;var s=i.extend({},r);return s.sameOrigin=!0,t.enabled(s)&&o.enabled()},n.transportName="iframe-"+t.transportName,n.needBody=!0,n.roundTrips=o.roundTrips+t.roundTrips-1,n.facadeTransport=t,n}}).call(e,n(2))},function(t,e,n){"use strict";(function(e,r){function o(t,e,n){l(t,e);var r=this;i.call(this),setTimeout(function(){r._start(t,e,n)},0)}var i=n(5).EventEmitter,s=n(1),a=n(13),c=n(21),u=n(8),l=function(){};"production"!==e.env.NODE_ENV&&(l=n(4)("sockjs-client:sender:xdr")),s(o,i),o.prototype._start=function(t,e,n){l("_start");var o=this,i=new r.XDomainRequest;e=u.addQuery(e,"t="+ +new Date),i.onerror=function(){l("onerror"),o._error()},i.ontimeout=function(){l("ontimeout"),o._error()},i.onprogress=function(){l("progress",i.responseText),o.emit("chunk",200,i.responseText)},i.onload=function(){l("load"),o.emit("finish",200,i.responseText),o._cleanup(!1)},this.xdr=i,this.unloadRef=a.unloadAdd(function(){o._cleanup(!0)});try{this.xdr.open(t,e),this.timeout&&(this.xdr.timeout=this.timeout),this.xdr.send(n)}catch(t){this._error()}},o.prototype._error=function(){this.emit("finish",0,""),this._cleanup(!1)},o.prototype._cleanup=function(t){if(l("cleanup",t),this.xdr){if(this.removeAllListeners(),a.unloadDel(this.unloadRef),this.xdr.ontimeout=this.xdr.onerror=this.xdr.onprogress=this.xdr.onload=null,t)try{this.xdr.abort()}catch(t){}this.unloadRef=this.xdr=null}},o.prototype.close=function(){l("close"),this._cleanup(!0)},o.enabled=!(!r.XDomainRequest||!c.hasDomain()),t.exports=o}).call(e,n(3),n(2))},function(t,e,n){"use strict";t.exports={isObject:function(t){var e=typeof t;return"function"===e||"object"===e&&!!t},extend:function(t){if(!this.isObject(t))return t;for(var e,n,r=1,o=arguments.length;r<o;r++){e=arguments[r];for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}return t}}},,,,,,,,,,,function(t,e,n){"use strict";function r(){this._listeners={}}r.prototype.addEventListener=function(t,e){t in this._listeners||(this._listeners[t]=[]);var n=this._listeners[t];-1===n.indexOf(e)&&(n=n.concat([e])),this._listeners[t]=n},r.prototype.removeEventListener=function(t,e){var n=this._listeners[t];if(n){var r=n.indexOf(e);return-1!==r?void(n.length>1?this._listeners[t]=n.slice(0,r).concat(n.slice(r+1)):delete this._listeners[t]):void 0}},r.prototype.dispatchEvent=function(){var t=arguments[0],e=t.type,n=1===arguments.length?[t]:Array.apply(null,arguments);if(this["on"+e]&&this["on"+e].apply(this,n),e in this._listeners)for(var r=this._listeners[e],o=0;o<r.length;o++)r[o].apply(this,n)},t.exports=r},function(t,e,n){"use strict";(function(e){function r(t,e){o.call(this);var n=this,r=+new Date;this.xo=new e("GET",t),this.xo.once("finish",function(t,e){var o,i;if(200===t){if(i=+new Date-r,e)try{o=s.parse(e)}catch(t){c("bad json",e)}a.isObject(o)||(o={})}n.emit("finish",o,i),n.removeAllListeners()})}var o=n(5).EventEmitter,i=n(1),s=n(10),a=n(49),c=function(){};"production"!==e.env.NODE_ENV&&(c=n(4)("sockjs-client:info-ajax")),i(r,o),r.prototype.close=function(){this.removeAllListeners(),this.xo.close()},t.exports=r}).call(e,n(3))},function(t,e,n){"use strict";function r(t){var e=this;i.call(this),this.ir=new c(t,a),this.ir.once("finish",function(t,n){e.ir=null,e.emit("message",s.stringify([t,n]))})}var o=n(1),i=n(5).EventEmitter,s=n(10),a=n(20),c=n(61);o(r,i),r.transportName="iframe-info-receiver",r.prototype.close=function(){this.ir&&(this.ir.close(),this.ir=null),this.removeAllListeners()},t.exports=r},function(t,e,n){"use strict";(function(e){t.exports=e.location||{origin:"http://localhost:80",protocol:"http:",host:"localhost",port:80,href:"http://localhost/",hash:""}}).call(e,n(2))},function(t,e,n){"use strict";(function(e,r){function o(t,e,n,r){l(t,e);var o=this;i.call(this),setTimeout(function(){o._start(t,e,n,r)},0)}var i=n(5).EventEmitter,s=n(1),a=n(13),c=n(8),u=e.XMLHttpRequest,l=function(){};"production"!==r.env.NODE_ENV&&(l=n(4)("sockjs-client:browser:xhr")),s(o,i),o.prototype._start=function(t,e,n,r){var i=this;try{this.xhr=new u}catch(t){}if(!this.xhr)return l("no xhr"),this.emit("finish",0,"no xhr support"),void this._cleanup();e=c.addQuery(e,"t="+ +new Date),this.unloadRef=a.unloadAdd(function(){l("unload cleanup"),i._cleanup(!0)});try{this.xhr.open(t,e,!0),this.timeout&&"timeout"in this.xhr&&(this.xhr.timeout=this.timeout,this.xhr.ontimeout=function(){l("xhr timeout"),i.emit("finish",0,""),i._cleanup(!1)})}catch(t){return l("exception",t),this.emit("finish",0,""),void this._cleanup(!1)}if(r&&r.noCredentials||!o.supportsCORS||(l("withCredentials"),this.xhr.withCredentials=!0),r&&r.headers)for(var s in r.headers)this.xhr.setRequestHeader(s,r.headers[s]);this.xhr.onreadystatechange=function(){if(i.xhr){var t,e,n=i.xhr;switch(l("readyState",n.readyState),n.readyState){case 3:try{e=n.status,t=n.responseText}catch(t){}l("status",e),1223===e&&(e=204),200===e&&t&&t.length>0&&(l("chunk"),i.emit("chunk",e,t));break;case 4:e=n.status,l("status",e),1223===e&&(e=204),12005!==e&&12029!==e||(e=0),l("finish",e,n.responseText),i.emit("finish",e,n.responseText),i._cleanup(!1)}}};try{i.xhr.send(n)}catch(t){i.emit("finish",0,""),i._cleanup(!1)}},o.prototype._cleanup=function(t){if(l("cleanup"),this.xhr){if(this.removeAllListeners(),a.unloadDel(this.unloadRef),this.xhr.onreadystatechange=function(){},this.xhr.ontimeout&&(this.xhr.ontimeout=null),t)try{this.xhr.abort()}catch(t){}this.unloadRef=this.xhr=null}},o.prototype.close=function(){l("close"),this._cleanup(!0)},o.enabled=!!u;var f=["Active"].concat("Object").join("X");!o.enabled&&f in e&&(l("overriding xmlhttprequest"),u=function(){try{return new e[f]("Microsoft.XMLHTTP")}catch(t){return null}},o.enabled=!!new u);var p=!1;try{p="withCredentials"in new u}catch(t){}o.supportsCORS=p,t.exports=o}).call(e,n(2),n(3))},function(t,e,n){(function(e){t.exports=e.EventSource}).call(e,n(2))},function(t,e,n){"use strict";function r(t){if(!r.enabled())throw new Error("Transport created when disabled");i.call(this,t,"/eventsource",s,a)}var o=n(1),i=n(14),s=n(181),a=n(29),c=n(65);o(r,i),r.enabled=function(){return!!c},r.transportName="eventsource",r.roundTrips=2,t.exports=r},function(t,e,n){"use strict";function r(t){if(!i.enabled)throw new Error("Transport created when disabled");a.call(this,t,"/htmlfile",i,s)}var o=n(1),i=n(182),s=n(20),a=n(14);o(r,a),r.enabled=function(t){return i.enabled&&t.sameOrigin},r.transportName="htmlfile",r.roundTrips=2,t.exports=r},function(t,e,n){"use strict";(function(e){function r(t,e,n){if(!r.enabled())throw new Error("Transport created when disabled");s.call(this);var o=this;this.origin=c.getOrigin(n),this.baseUrl=n,this.transUrl=e,this.transport=t,this.windowId=f.string(8);var i=c.addPath(n,"/iframe.html")+"#"+this.windowId;p(t,e,i),this.iframeObj=u.createIframe(i,function(t){p("err callback"),o.emit("close",1006,"Unable to load an iframe ("+t+")"),o.close()}),this.onmessageCallback=this._message.bind(this),l.attachEvent("message",this.onmessageCallback)}var o=n(1),i=n(10),s=n(5).EventEmitter,a=n(72),c=n(8),u=n(22),l=n(13),f=n(15),p=function(){};"production"!==e.env.NODE_ENV&&(p=n(4)("sockjs-client:transport:iframe")),o(r,s),r.prototype.close=function(){if(p("close"),this.removeAllListeners(),this.iframeObj){l.detachEvent("message",this.onmessageCallback);try{this.postMessage("c")}catch(t){}this.iframeObj.cleanup(),this.iframeObj=null,this.onmessageCallback=this.iframeObj=null}},r.prototype._message=function(t){if(p("message",t.data),!c.isOriginEqual(t.origin,this.origin))return void p("not same origin",t.origin,this.origin);var e;try{e=i.parse(t.data)}catch(e){return void p("bad json",t.data)}if(e.windowId!==this.windowId)return void p("mismatched window id",e.windowId,this.windowId);switch(e.type){case"s":this.iframeObj.loaded(),this.postMessage("s",i.stringify([a,this.transport,this.transUrl,this.baseUrl]));break;case"t":this.emit("message",e.data);break;case"c":var n;try{n=i.parse(e.data)}catch(t){return void p("bad json",e.data)}this.emit("close",n[0],n[1]),this.close()}},r.prototype.postMessage=function(t,e){p("postMessage",t,e),this.iframeObj.post(i.stringify({windowId:this.windowId,type:t,data:e||""}),this.origin)},r.prototype.send=function(t){p("send",t),this.postMessage("m",t)},r.enabled=function(){return u.iframeEnabled},r.transportName="iframe",r.roundTrips=2,t.exports=r}).call(e,n(3))},function(t,e,n){"use strict";(function(e){function r(t,e,n,r,o){var u=i.addPath(t,e);c(u);var l=this;s.call(this,t,n),this.poll=new a(r,u,o),this.poll.on("message",function(t){c("poll message",t),l.emit("message",t)}),this.poll.once("close",function(t,e){c("poll close",t,e),l.poll=null,l.emit("close",t,e),l.close()})}var o=n(1),i=n(8),s=n(179),a=n(180),c=function(){};"production"!==e.env.NODE_ENV&&(c=n(4)("sockjs-client:sender-receiver")),o(r,s),r.prototype.close=function(){s.prototype.close.call(this),c("close"),this.removeAllListeners(),this.poll&&(this.poll.abort(),this.poll=null)},t.exports=r}).call(e,n(3))},function(t,e,n){"use strict";function r(t){if(!a.enabled)throw new Error("Transport created when disabled");i.call(this,t,"/xhr_streaming",s,a)}var o=n(1),i=n(14),s=n(28),a=n(48);o(r,i),r.enabled=function(t){return!t.cookie_needed&&!t.nullOrigin&&(a.enabled&&t.sameScheme)},r.transportName="xdr-streaming",r.roundTrips=2,t.exports=r},function(t,e,n){"use strict";function r(t){if(!c.enabled&&!a.enabled)throw new Error("Transport created when disabled");i.call(this,t,"/xhr",s,a)}var o=n(1),i=n(14),s=n(28),a=n(29),c=n(20);o(r,i),r.enabled=function(t){return!t.nullOrigin&&(!(!c.enabled||!t.sameOrigin)||a.enabled)},r.transportName="xhr-polling",r.roundTrips=2,t.exports=r},function(t,e){t.exports="1.5.0"},,,function(t,e,n){"use strict";(function(e){function r(t){return(t||"").toString().replace(d,"")}function o(t){var n;n="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};var r=n.location||{};t=t||r;var o,i={},s=typeof t;if("blob:"===t.protocol)i=new a(unescape(t.pathname),{});else if("string"===s){i=new a(t,{});for(o in v)delete i[o]}else if("object"===s){for(o in t)o in v||(i[o]=t[o]);void 0===i.slashes&&(i.slashes=p.test(t.href))}return i}function i(t){t=r(t);var e=h.exec(t);return{protocol:e[1]?e[1].toLowerCase():"",slashes:!!e[2],rest:e[3]}}function s(t,e){if(""===t)return e;for(var n=(e||"/").split("/").slice(0,-1).concat(t.split("/")),r=n.length,o=n[r-1],i=!1,s=0;r--;)"."===n[r]?n.splice(r,1):".."===n[r]?(n.splice(r,1),s++):s&&(0===r&&(i=!0),n.splice(r,1),s--);return i&&n.unshift(""),"."!==o&&".."!==o||n.push(""),n.join("/")}function a(t,e,n){if(t=r(t),!(this instanceof a))return new a(t,e,n);var c,u,p,h,d,v,y=m.slice(),g=typeof e,b=this,w=0;for("object"!==g&&"string"!==g&&(n=e,e=null),n&&"function"!=typeof n&&(n=f.parse),e=o(e),u=i(t||""),c=!u.protocol&&!u.slashes,b.slashes=u.slashes||c&&e.slashes,b.protocol=u.protocol||e.protocol||"",t=u.rest,u.slashes||(y[3]=[/(.*)/,"pathname"]);w<y.length;w++)h=y[w],"function"!=typeof h?(p=h[0],v=h[1],p!==p?b[v]=t:"string"==typeof p?~(d=t.indexOf(p))&&("number"==typeof h[2]?(b[v]=t.slice(0,d),t=t.slice(d+h[2])):(b[v]=t.slice(d),t=t.slice(0,d))):(d=p.exec(t))&&(b[v]=d[1],t=t.slice(0,d.index)),b[v]=b[v]||(c&&h[3]?e[v]||"":""),h[4]&&(b[v]=b[v].toLowerCase())):t=h(t);n&&(b.query=n(b.query)),c&&e.slashes&&"/"!==b.pathname.charAt(0)&&(""!==b.pathname||""!==e.pathname)&&(b.pathname=s(b.pathname,e.pathname)),l(b.port,b.protocol)||(b.host=b.hostname,b.port=""),b.username=b.password="",b.auth&&(h=b.auth.split(":"),b.username=h[0]||"",b.password=h[1]||""),b.origin=b.protocol&&b.host&&"file:"!==b.protocol?b.protocol+"//"+b.host:"null",b.href=b.toString()}function c(t,e,n){var r=this;switch(t){case"query":"string"==typeof e&&e.length&&(e=(n||f.parse)(e)),r[t]=e;break;case"port":r[t]=e,l(e,r.protocol)?e&&(r.host=r.hostname+":"+e):(r.host=r.hostname,r[t]="");break;case"hostname":r[t]=e,r.port&&(e+=":"+r.port),r.host=e;break;case"host":r[t]=e,/:\d+$/.test(e)?(e=e.split(":"),r.port=e.pop(),r.hostname=e.join(":")):(r.hostname=e,r.port="");break;case"protocol":r.protocol=e.toLowerCase(),r.slashes=!n;break;case"pathname":case"hash":if(e){var o="pathname"===t?"/":"#";r[t]=e.charAt(0)!==o?o+e:e}else r[t]=e;break;default:r[t]=e}for(var i=0;i<m.length;i++){var s=m[i];s[4]&&(r[s[1]]=r[s[1]].toLowerCase())}return r.origin=r.protocol&&r.host&&"file:"!==r.protocol?r.protocol+"//"+r.host:"null",r.href=r.toString(),r}function u(t){t&&"function"==typeof t||(t=f.stringify);var e,n=this,r=n.protocol;r&&":"!==r.charAt(r.length-1)&&(r+=":");var o=r+(n.slashes?"//":"");return n.username&&(o+=n.username,n.password&&(o+=":"+n.password),o+="@"),o+=n.host+n.pathname,e="object"==typeof n.query?t(n.query):n.query,e&&(o+="?"!==e.charAt(0)?"?"+e:e),n.hash&&(o+=n.hash),o}var l=n(166),f=n(165),p=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,h=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\S\s]*)/i,d=new RegExp("^[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]+"),m=[["#","hash"],["?","query"],function(t){return t.replace("\\","/")},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d+)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],v={hash:1,query:1};a.prototype={set:c,toString:u},a.extractProtocol=i,a.location=o,a.trimLeft=r,a.qs=f,t.exports=a}).call(e,n(2))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.interceptor=e.timeoutHandler=e.wsClient=void 0;var r=n(142),o=function(t){return t&&t.__esModule?t:{default:t}}(r),i=n(144),s=(n(36),n(35),n(37)),a=n(9),c=function(t){return o.default.setPlatformDefaultClient(i.websocket),o.default};e.wsClient=c,e.timeoutHandler=s,e.interceptor=a},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";var r;!function(o){var i;void 0!==(r=function(t){function e(){return o.apply(i,arguments)}var r,o,s;return r=n(12),e.setDefaultClient=function(t){o=t},e.getDefaultClient=function(){return o},e.resetDefaultClient=function(){o=s},e.setPlatformDefaultClient=function(t){o=s=t},r(e)}.call(e,n,e,t))&&(t.exports=r)}(n(0))},function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){function e(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t,e){return e=16*Math.random(),("y"==t?3&e|8:0|e).toString(16)})}function r(t,e){if(t){if(!e)return t;for(var n in t)t.hasOwnProperty(n)&&void 0===e[n]&&(e[n]=t[n])}return e||{}}var o=n(167),i=function t(e,n){var r=this;n=n||{};var i,s=n.vertxbus_ping_interval||5e3;this.sockJSConn=new o(e,null,n),this.state=t.CONNECTING,this.handlers={},this.replyHandlers={},this.defaultHeaders=null,this.onerror=function(t){};var a=function(){r.sockJSConn.send(JSON.stringify({type:"ping"}))};this.sockJSConn.onopen=function(){a(),i=setInterval(a,s),r.state=t.OPEN,r.onopen&&r.onopen()},this.sockJSConn.onclose=function(e){r.state=t.CLOSED,i&&clearInterval(i),r.onclose&&r.onclose(e)},this.sockJSConn.onmessage=function(t){var e=JSON.parse(t.data);if(e.replyAddress&&Object.defineProperty(e,"reply",{value:function(t,n,o){r.send(e.replyAddress,t,n,o)}}),r.handlers[e.address])for(var n=r.handlers[e.address],o=0;o<n.length;o++)"err"===e.type?n[o]({failureCode:e.failureCode,failureType:e.failureType,message:e.message}):n[o](null,e);else if(r.replyHandlers[e.address]){var i=r.replyHandlers[e.address];delete r.replyHandlers[e.address],"err"===e.type?i({failureCode:e.failureCode,failureType:e.failureType,message:e.message}):i(null,e)}else"err"===e.type&&r.onerror(e)}};return i.prototype.send=function(t,n,o,s){if(this.state!=i.OPEN)throw new Error("INVALID_STATE_ERR");"function"==typeof o&&(s=o,o={});var a={type:"send",address:t,headers:r(this.defaultHeaders,o),body:n};if(s){var c=e();a.replyAddress=c,this.replyHandlers[c]=s}this.sockJSConn.send(JSON.stringify(a))},i.prototype.publish=function(t,e,n){if(this.state!=i.OPEN)throw new Error("INVALID_STATE_ERR");this.sockJSConn.send(JSON.stringify({type:"publish",address:t,headers:r(this.defaultHeaders,n),body:e}))},i.prototype.registerHandler=function(t,e,n){if(this.state!=i.OPEN)throw new Error("INVALID_STATE_ERR");"function"==typeof e&&(n=e,e={}),this.handlers[t]||(this.handlers[t]=[],this.sockJSConn.send(JSON.stringify({type:"register",address:t,headers:r(this.defaultHeaders,e)}))),this.handlers[t].push(n)},i.prototype.unregisterHandler=function(t,e,n){if(this.state!=i.OPEN)throw new Error("INVALID_STATE_ERR");var o=this.handlers[t];if(o){"function"==typeof e&&(n=e,e={});var s=o.indexOf(n);-1!=s&&(o.splice(s,1),0===o.length&&(this.sockJSConn.send(JSON.stringify({type:"unregister",address:t,headers:r(this.defaultHeaders,e)})),delete this.handlers[t]))}},i.prototype.close=function(){this.state=i.CLOSING,this.sockJSConn.close()},i.CONNECTING=0,i.OPEN=1,i.CLOSING=2,i.CLOSED=3,i}.call(e,n,e,t))&&(t.exports=r)}(n(0))},function(t,e,n){"use strict";var r;!function(o,i){void 0!==(r=function(t){function e(t){var n=a.find(function(e){return-1!=e.connectionPath.indexOf(t.path)}),r=void 0;if(n)r=n.ebInstance;else{r=new i(t.path);var o={connectionPath:t.path,ebInstance:r,reconnectAttempt:0,maxReconnectAttempt:null,timedOut:!1,readyState:WebSocket.CONNECTING};a.push(o);var p=r,h=setTimeout(function(){o.timedOut=!0,p.close(),o.timedOut=!1},c);r.onopen=function(){clearTimeout(h),o.readyState=WebSocket.OPEN,o.reconnectAttempt=0,s.length>0&&s.forEach(function(t){-1==r.sockJSConn.url.indexOf(t.gateway)||t.fulfill||("send"==t.type&&(r.send(t.channel,t.body,t.headers,t.replyHandler),t.fulfill=!0),"register"==t.type&&(r.registerHandler(t.channel,t.headers,t.replyHandler),t.fulfill=!0))})},r.onclose=function(){var n=a.findIndex(function(e){return-1!=e.connectionPath.indexOf(t.path)});-1!=n&&a.splice(n,1),clearTimeout(i),r=null,o.readyState=WebSocket.CONNECTING;var i=u*Math.pow(f,o.reconnectAttempt);setTimeout(function(){o.reconnectAttempt++,e(t)},i>l?l:i)}}return r}var r,o,i;o=n(12),r=n(19),i=n(143);var s=[],a=[],c=3e3,u=1e3,l=3e4,f=1.5,p=o(function(t){return r.promise(function(n,r){function o(t,e){t?n("TIMEOUT"==t.failureType?{entity:{code:7100}}:{entity:{code:99999}}):(c.address=e.address,c.type=e.type,c.entity=e.body,n(c))}-1!=t.path.indexOf("?")&&(t.path=t.path.substring(0,t.path.indexOf("?"))),t.path=t.path.replace(/\/ /,"").trim();var a=e(t),c={request:t},u={},l=JSON.parse(t.entity);if(a.state==i.CONNECTING){var f={gateway:t.path,type:"send",channel:t.channel,headers:u,body:l,replyHandler:o};s.push(f)}else a.send(t.channel,l,u,o)})}),h=function(t){return t.register=function(e,n,r){if("function"==typeof n&&(r=n,n={}),t.state==i.CONNECTING){var o={gateway:t.sockJSConn.url,type:"register",channel:e,headers:n,body:null,replyHandler:r};s.push(o)}else t.registerHandler(e,n,r)},t.unregister=function(e,n,r){t.unregisterHandler(e,n,r)},t};return p.getInstanceFromConnectionPool=function(t){if(!t&&!t.startsWith("http:")&&!t.startsWith("https:"))throw new Error("param 0 of getInstanceFromConnectionPool is required.");-1!=t.indexOf("?")&&(t=t.substring(0,t.indexOf("?"))),t=t.replace(/\/ /,"").trim();var n=a.find(function(e){return-1!=e.connectionPath.indexOf(t)}),r=void 0;return r=n?n.ebInstance:e({path:t}),h(r)},{websocket:p}}.call(e,n,e,t))&&(t.exports=r)}(n(0),"undefined"!=typeof window&&window)},,,,,,,,,,,,,,,,,function(t,e,n){"use strict";function r(t){function e(t){for(var e=0,n=0;n<t.length;n++)e=(e<<5)-e+t.charCodeAt(n),e|=0;return r.colors[Math.abs(e)%r.colors.length]}function r(t){function n(){if(n.enabled){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];var i=n,a=Number(new Date),c=a-(s||a);i.diff=c,i.prev=s,i.curr=a,s=a,e[0]=r.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");var u=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,function(t,n){if("%%"===t)return t;u++;var o=r.formatters[n];if("function"==typeof o){var s=e[u];t=o.call(i,s),e.splice(u,1),u--}return t}),r.formatArgs.call(i,e);(i.log||r.log).apply(i,e)}}var s;return n.namespace=t,n.enabled=r.enabled(t),n.useColors=r.useColors(),n.color=e(t),n.destroy=o,n.extend=i,"function"==typeof r.init&&r.init(n),r.instances.push(n),n}function o(){var t=r.instances.indexOf(this);return-1!==t&&(r.instances.splice(t,1),!0)}function i(t,e){return r(this.namespace+(void 0===e?":":e)+t)}function s(t){r.save(t),r.names=[],r.skips=[];var e,n=("string"==typeof t?t:"").split(/[\s,]+/),o=n.length;for(e=0;e<o;e++)n[e]&&(t=n[e].replace(/\*/g,".*?"),"-"===t[0]?r.skips.push(new RegExp("^"+t.substr(1)+"$")):r.names.push(new RegExp("^"+t+"$")));for(e=0;e<r.instances.length;e++){var i=r.instances[e];i.enabled=r.enabled(i.namespace)}}function a(){r.enable("")}function c(t){if("*"===t[t.length-1])return!0;var e,n;for(e=0,n=r.skips.length;e<n;e++)if(r.skips[e].test(t))return!1;for(e=0,n=r.names.length;e<n;e++)if(r.names[e].test(t))return!0;return!1}function u(t){return t instanceof Error?t.stack||t.message:t}return r.debug=r,r.default=r,r.coerce=u,r.disable=a,r.enable=s,r.enabled=c,r.humanize=n(164),Object.keys(t).forEach(function(e){r[e]=t[e]}),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=e,r.enable(r.load()),r}t.exports=r},,,function(t,e){function n(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var n=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return n*f;case"weeks":case"week":case"w":return n*l;case"days":case"day":case"d":return n*u;case"hours":case"hour":case"hrs":case"hr":case"h":return n*c;case"minutes":case"minute":case"mins":case"min":case"m":return n*a;case"seconds":case"second":case"secs":case"sec":case"s":return n*s;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function r(t){var e=Math.abs(t);return e>=u?Math.round(t/u)+"d":e>=c?Math.round(t/c)+"h":e>=a?Math.round(t/a)+"m":e>=s?Math.round(t/s)+"s":t+"ms"}function o(t){var e=Math.abs(t);return e>=u?i(t,e,u,"day"):e>=c?i(t,e,c,"hour"):e>=a?i(t,e,a,"minute"):e>=s?i(t,e,s,"second"):t+" ms"}function i(t,e,n,r){var o=e>=1.5*n;return Math.round(t/n)+" "+r+(o?"s":"")}var s=1e3,a=60*s,c=60*a,u=24*c,l=7*u,f=365.25*u;t.exports=function(t,e){e=e||{};var i=typeof t;if("string"===i&&t.length>0)return n(t);if("number"===i&&isFinite(t))return e.long?o(t):r(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},function(t,e,n){"use strict";function r(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(t){return null}}function o(t){try{return encodeURIComponent(t)}catch(t){return null}}function i(t){for(var e,n=/([^=?#&]+)=?([^&]*)/g,o={};e=n.exec(t);){var i=r(e[1]),s=r(e[2]);null===i||null===s||i in o||(o[i]=s)}return o}function s(t,e){e=e||"";var n,r,i=[];"string"!=typeof e&&(e="?");for(r in t)if(c.call(t,r)){if(n=t[r],n||null!==n&&n!==a&&!isNaN(n)||(n=""),r=o(r),n=o(n),null===r||null===n)continue;i.push(r+"="+n)}return i.length?e+i.join("&"):""}var a,c=Object.prototype.hasOwnProperty;e.stringify=s,e.parse=i},function(t,e,n){"use strict";t.exports=function(t,e){if(e=e.split(":")[0],!(t=+t))return!1;switch(e){case"http":case"ws":return 80!==t;case"https":case"wss":return 443!==t;case"ftp":return 21!==t;case"gopher":return 70!==t;case"file":return!1}return 0!==t}},function(t,e,n){"use strict";(function(e){var r=n(176);t.exports=n(174)(r),"_sockjs_onload"in e&&setTimeout(e._sockjs_onload,1)}).call(e,n(2))},function(t,e,n){"use strict";function r(){i.call(this),this.initEvent("close",!1,!1),this.wasClean=!1,this.code=0,this.reason=""}var o=n(1),i=n(46);o(r,i),t.exports=r},function(t,e,n){"use strict";function r(t){i.call(this),this.initEvent("message",!1,!1),this.data=t}var o=n(1),i=n(46);o(r,i),t.exports=r},function(t,e,n){"use strict";function r(t){this._transport=t,t.on("message",this._transportMessage.bind(this)),t.on("close",this._transportClose.bind(this))}var o=n(10),i=n(22);r.prototype._transportClose=function(t,e){i.postMessage("c",o.stringify([t,e]))},r.prototype._transportMessage=function(t){i.postMessage("t",t)},r.prototype._send=function(t){this._transport.send(t)},r.prototype._close=function(){this._transport.close(),this._transport.removeAllListeners()},t.exports=r},function(t,e,n){"use strict";(function(e){var r=n(8),o=n(13),i=n(10),s=n(170),a=n(62),c=n(22),u=n(63),l=function(){};"production"!==e.env.NODE_ENV&&(l=n(4)("sockjs-client:iframe-bootstrap")),t.exports=function(t,e){var n={};e.forEach(function(t){t.facadeTransport&&(n[t.facadeTransport.transportName]=t.facadeTransport)}),n[a.transportName]=a;var f;t.bootstrap_iframe=function(){var e;c.currentWindowId=u.hash.slice(1);var a=function(o){if(o.source===parent&&(void 0===f&&(f=o.origin),o.origin===f)){var a;try{a=i.parse(o.data)}catch(t){return void l("bad json",o.data)}if(a.windowId===c.currentWindowId)switch(a.type){case"s":var p;try{p=i.parse(a.data)}catch(t){l("bad json",a.data);break}var h=p[0],d=p[1],m=p[2],v=p[3];if(l(h,d,m,v),h!==t.version)throw new Error('Incompatible SockJS! Main site uses: "'+h+'", the iframe: "'+t.version+'".');if(!r.isOriginEqual(m,u.href)||!r.isOriginEqual(v,u.href))throw new Error("Can't connect to different domain from within an iframe. ("+u.href+", "+m+", "+v+")");e=new s(new n[d](m,v));break;case"m":e._send(a.data);break;case"c":e&&e._close(),e=null}}};o.attachEvent("message",a),c.postMessage("s")}}}).call(e,n(3))},function(t,e,n){"use strict";(function(e,r){function o(t,e){var n=this;i.call(this);var o=function(){var r=n.ifr=new u(l.transportName,e,t);r.once("message",function(t){if(t){var e;try{e=a.parse(t)}catch(e){return f("bad json",t),n.emit("finish"),void n.close()}var r=e[0],o=e[1];n.emit("finish",r,o)}n.close()}),r.once("close",function(){n.emit("finish"),n.close()})};r.document.body?o():c.attachEvent("load",o)}var i=n(5).EventEmitter,s=n(1),a=n(10),c=n(13),u=n(68),l=n(62),f=function(){};"production"!==e.env.NODE_ENV&&(f=n(4)("sockjs-client:info-iframe")),s(o,i),o.enabled=function(){return u.enabled()},o.prototype.close=function(){this.ifr&&this.ifr.close(),this.removeAllListeners(),this.ifr=null},t.exports=o}).call(e,n(3),n(2))},function(t,e,n){"use strict";(function(e){function r(t,e){h(t);var n=this;o.call(this),setTimeout(function(){n.doXhr(t,e)},0)}var o=n(5).EventEmitter,i=n(1),s=n(8),a=n(48),c=n(29),u=n(20),l=n(185),f=n(172),p=n(61),h=function(){};"production"!==e.env.NODE_ENV&&(h=n(4)("sockjs-client:info-receiver")),i(r,o),r._getReceiver=function(t,e,n){return n.sameOrigin?new p(e,u):c.enabled?new p(e,c):a.enabled&&n.sameScheme?new p(e,a):f.enabled()?new f(t,e):new p(e,l)},r.prototype.doXhr=function(t,e){var n=this,o=s.addPath(t,"/info");h("doXhr",o),this.xo=r._getReceiver(t,o,e),this.timeoutRef=setTimeout(function(){h("timeout"),n._cleanup(!1),n.emit("finish")},r.timeout),this.xo.once("finish",function(t,e){h("finish",t,e),n._cleanup(!0),n.emit("finish",t,e)})},r.prototype._cleanup=function(t){h("_cleanup"),clearTimeout(this.timeoutRef),this.timeoutRef=null,!t&&this.xo&&this.xo.close(),this.xo=null},r.prototype.close=function(){h("close"),this.removeAllListeners(),this._cleanup(!1)},r.timeout=8e3,t.exports=r}).call(e,n(3))},function(t,e,n){"use strict";(function(e,r){function o(t,e,n){if(!(this instanceof o))return new o(t,e,n);if(arguments.length<1)throw new TypeError("Failed to construct 'SockJS: 1 argument required, but only 0 present");g.call(this),this.readyState=o.CONNECTING,this.extensions="",this.protocol="",n=n||{},n.protocols_whitelist&&v.warn("'protocols_whitelist' is DEPRECATED. Use 'transports' instead."),this._transportsWhitelist=n.transports,this._transportOptions=n.transportOptions||{},this._timeout=n.timeout||0;var r=n.sessionId||8;if("function"==typeof r)this._generateSessionId=r;else{if("number"!=typeof r)throw new TypeError("If sessionId is used in the options, it needs to be a number or a function.");this._generateSessionId=function(){return u.string(r)}}this._server=n.server||u.numberString(1e3);var i=new s(t);if(!i.host||!i.protocol)throw new SyntaxError("The URL '"+t+"' is invalid");if(i.hash)throw new SyntaxError("The URL must not contain a fragment");if("http:"!==i.protocol&&"https:"!==i.protocol)throw new SyntaxError("The URL's scheme must be either 'http:' or 'https:'. '"+i.protocol+"' is not allowed.");var a="https:"===i.protocol;if("https:"===b.protocol&&!a&&!f.isLoopbackAddr(i.hostname))throw new Error("SecurityError: An insecure SockJS connection may not be initiated from a page loaded over HTTPS");e?Array.isArray(e)||(e=[e]):e=[];var c=e.sort();c.forEach(function(t,e){if(!t)throw new SyntaxError("The protocols entry '"+t+"' is invalid.");if(e<c.length-1&&t===c[e+1])throw new SyntaxError("The protocols entry '"+t+"' is duplicated.")});var l=f.getOrigin(b.href);this._origin=l?l.toLowerCase():null,i.set("pathname",i.pathname.replace(/\/+$/,"")),this.url=i.href,E("using url",this.url),this._urlInfo={nullOrigin:!m.hasDomain(),sameOrigin:f.isOriginEqual(this.url,b.href),sameScheme:f.isSchemeEqual(this.url,b.href)},this._ir=new C(this.url,this._urlInfo),this._ir.once("finish",this._receiveInfo.bind(this))}function i(t){return 1e3===t||t>=3e3&&t<=4999}n(175);var s=n(75),a=n(1),c=n(10),u=n(15),l=n(190),f=n(8),p=n(13),h=n(192),d=n(49),m=n(21),v=n(191),y=n(46),g=n(60),b=n(63),w=n(168),x=n(169),C=n(173),E=function(){};"production"!==e.env.NODE_ENV&&(E=n(4)("sockjs-client:main"));var _;a(o,g),o.prototype.close=function(t,e){if(t&&!i(t))throw new Error("InvalidAccessError: Invalid code");if(e&&e.length>123)throw new SyntaxError("reason argument has an invalid length");if(this.readyState!==o.CLOSING&&this.readyState!==o.CLOSED){this._close(t||1e3,e||"Normal closure",!0)}},o.prototype.send=function(t){if("string"!=typeof t&&(t=""+t),this.readyState===o.CONNECTING)throw new Error("InvalidStateError: The connection has not been established yet");this.readyState===o.OPEN&&this._transport.send(l.quote(t))},o.version=n(72),o.CONNECTING=0,o.OPEN=1,o.CLOSING=2,o.CLOSED=3,o.prototype._receiveInfo=function(t,e){if(E("_receiveInfo",e),this._ir=null,!t)return void this._close(1002,"Cannot connect to server");this._rto=this.countRTO(e),this._transUrl=t.base_url?t.base_url:this.url,t=d.extend(t,this._urlInfo),E("info",t);var n=_.filterToEnabled(this._transportsWhitelist,t);this._transports=n.main,E(this._transports.length+" enabled transports"),this._connect()},o.prototype._connect=function(){for(var t=this._transports.shift();t;t=this._transports.shift()){if(E("attempt",t.transportName),t.needBody&&(!r.document.body||void 0!==r.document.readyState&&"complete"!==r.document.readyState&&"interactive"!==r.document.readyState))return E("waiting for body"),this._transports.unshift(t),void p.attachEvent("load",this._connect.bind(this));var e=Math.max(this._timeout,this._rto*t.roundTrips||5e3);this._transportTimeoutId=setTimeout(this._transportTimeout.bind(this),e),E("using timeout",e);var n=f.addPath(this._transUrl,"/"+this._server+"/"+this._generateSessionId()),o=this._transportOptions[t.transportName];E("transport url",n);var i=new t(n,this._transUrl,o);return i.on("message",this._transportMessage.bind(this)),i.once("close",this._transportClose.bind(this)),i.transportName=t.transportName,void(this._transport=i)}this._close(2e3,"All transports failed",!1)},o.prototype._transportTimeout=function(){E("_transportTimeout"),this.readyState===o.CONNECTING&&(this._transport&&this._transport.close(),this._transportClose(2007,"Transport timed out"))},o.prototype._transportMessage=function(t){E("_transportMessage",t);var e,n=this,r=t.slice(0,1),o=t.slice(1);switch(r){case"o":return void this._open();case"h":return this.dispatchEvent(new y("heartbeat")),void E("heartbeat",this.transport)}if(o)try{e=c.parse(o)}catch(t){E("bad json",o)}if(void 0===e)return void E("empty payload",o);switch(r){case"a":Array.isArray(e)&&e.forEach(function(t){E("message",n.transport,t),n.dispatchEvent(new x(t))});break;case"m":E("message",this.transport,e),this.dispatchEvent(new x(e));break;case"c":Array.isArray(e)&&2===e.length&&this._close(e[0],e[1],!0)}},o.prototype._transportClose=function(t,e){if(E("_transportClose",this.transport,t,e),this._transport&&(this._transport.removeAllListeners(),this._transport=null,this.transport=null),!i(t)&&2e3!==t&&this.readyState===o.CONNECTING)return void this._connect();this._close(t,e)},o.prototype._open=function(){E("_open",this._transport&&this._transport.transportName,this.readyState),this.readyState===o.CONNECTING?(this._transportTimeoutId&&(clearTimeout(this._transportTimeoutId),this._transportTimeoutId=null),this.readyState=o.OPEN,this.transport=this._transport.transportName,this.dispatchEvent(new y("open")),E("connected",this.transport)):this._close(1006,"Server lost session")},o.prototype._close=function(t,e,n){E("_close",this.transport,t,e,n,this.readyState);var r=!1;if(this._ir&&(r=!0,this._ir.close(),this._ir=null),this._transport&&(this._transport.close(),this._transport=null,this.transport=null),this.readyState===o.CLOSED)throw new Error("InvalidStateError: SockJS has already been closed");this.readyState=o.CLOSING,setTimeout(function(){this.readyState=o.CLOSED,r&&this.dispatchEvent(new y("error"));var i=new w("close");i.wasClean=n||!1,i.code=t||1e3,i.reason=e,this.dispatchEvent(i),this.onmessage=this.onclose=this.onerror=null,E("disconnected")}.bind(this),0)},o.prototype.countRTO=function(t){return t>100?4*t:300+t},t.exports=function(t){return _=h(t),n(171)(o,t),o}}).call(e,n(3),n(2))},function(t,e,n){"use strict";function r(t){var e=+t;return e!==e?e=0:0!==e&&e!==1/0&&e!==-1/0&&(e=(e>0||-1)*Math.floor(Math.abs(e))),e}function o(t){return t>>>0}function i(){}var s,a=Array.prototype,c=Object.prototype,u=Function.prototype,l=String.prototype,f=a.slice,p=c.toString,h=function(t){return"[object Function]"===c.toString.call(t)},d=function(t){return"[object Array]"===p.call(t)},m=function(t){return"[object String]"===p.call(t)},v=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{}),!0}catch(t){return!1}}();s=v?function(t,e,n,r){!r&&e in t||Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:!0,value:n})}:function(t,e,n,r){!r&&e in t||(t[e]=n)};var y=function(t,e,n){for(var r in e)c.hasOwnProperty.call(e,r)&&s(t,r,e[r],n)},g=function(t){if(null==t)throw new TypeError("can't convert "+t+" to object");return Object(t)};y(u,{bind:function(t){var e=this;if(!h(e))throw new TypeError("Function.prototype.bind called on incompatible "+e);for(var n=f.call(arguments,1),r=function(){if(this instanceof c){var r=e.apply(this,n.concat(f.call(arguments)));return Object(r)===r?r:this}return e.apply(t,n.concat(f.call(arguments)))},o=Math.max(0,e.length-n.length),s=[],a=0;a<o;a++)s.push("$"+a);var c=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this, arguments); }")(r);return e.prototype&&(i.prototype=e.prototype,c.prototype=new i,i.prototype=null),c}}),y(Array,{isArray:d});var b=Object("a"),w="a"!==b[0]||!(0 in b);y(a,{forEach:function(t){var e=g(this),n=w&&m(this)?this.split(""):e,r=arguments[1],o=-1,i=n.length>>>0;if(!h(t))throw new TypeError;for(;++o<i;)o in n&&t.call(r,n[o],o,e)}},!function(t){var e=!0,n=!0;return t&&(t.call("foo",function(t,n,r){"object"!=typeof r&&(e=!1)}),t.call([1],function(){n="string"==typeof this},"x")),!!t&&e&&n}(a.forEach));var x=Array.prototype.indexOf&&-1!==[0,1].indexOf(1,2);y(a,{indexOf:function(t){var e=w&&m(this)?this.split(""):g(this),n=e.length>>>0;if(!n)return-1;var o=0;for(arguments.length>1&&(o=r(arguments[1])),o=o>=0?o:Math.max(0,n+o);o<n;o++)if(o in e&&e[o]===t)return o;return-1}},x);var C=l.split;2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||"t"==="tesst".split(/(s)*/)[1]||4!=="test".split(/(?:)/,-1).length||"".split(/.?/).length||".".split(/()()/).length>1?function(){var t=void 0===/()??/.exec("")[1];l.split=function(e,n){var r=this;if(void 0===e&&0===n)return[];if("[object RegExp]"!==p.call(e))return C.call(this,e,n);var i,s,c,u,l=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.extended?"x":"")+(e.sticky?"y":""),h=0;for(e=new RegExp(e.source,f+"g"),r+="",t||(i=new RegExp("^"+e.source+"$(?!\\s)",f)),n=void 0===n?-1>>>0:o(n);(s=e.exec(r))&&!((c=s.index+s[0].length)>h&&(l.push(r.slice(h,s.index)),!t&&s.length>1&&s[0].replace(i,function(){for(var t=1;t<arguments.length-2;t++)void 0===arguments[t]&&(s[t]=void 0)}),s.length>1&&s.index<r.length&&a.push.apply(l,s.slice(1)),u=s[0].length,h=c,l.length>=n));)e.lastIndex===s.index&&e.lastIndex++;return h===r.length?!u&&e.test("")||l.push(""):l.push(r.slice(h)),l.length>n?l.slice(0,n):l}}():"0".split(void 0,0).length&&(l.split=function(t,e){return void 0===t&&0===e?[]:C.call(this,t,e)});var E=l.substr,_="".substr&&"b"!=="0b".substr(-1);y(l,{substr:function(t,e){return E.call(this,t<0&&(t=this.length+t)<0?0:t,e)}},_)},function(t,e,n){"use strict";t.exports=[n(186),n(188),n(70),n(66),n(47)(n(66)),n(67),n(47)(n(67)),n(71),n(187),n(47)(n(71)),n(178)]},function(t,e,n){"use strict";(function(e){var n=e.WebSocket||e.MozWebSocket;t.exports=n?function(t){return new n(t)}:void 0}).call(e,n(2))},function(t,e,n){"use strict";(function(e){function r(t){if(!r.enabled())throw new Error("Transport created when disabled");i.call(this,t,"/jsonp",a,s)}var o=n(1),i=n(69),s=n(183),a=n(184);o(r,i),r.enabled=function(){return!!e.document},r.transportName="jsonp-polling",r.roundTrips=1,r.needBody=!0,t.exports=r}).call(e,n(2))},function(t,e,n){"use strict";(function(e){function r(t,e){s(t),i.call(this),this.sendBuffer=[],this.sender=e,this.url=t}var o=n(1),i=n(5).EventEmitter,s=function(){};"production"!==e.env.NODE_ENV&&(s=n(4)("sockjs-client:buffered-sender")),o(r,i),r.prototype.send=function(t){s("send",t),this.sendBuffer.push(t),this.sendStop||this.sendSchedule()},r.prototype.sendScheduleWait=function(){s("sendScheduleWait");var t,e=this;this.sendStop=function(){s("sendStop"),e.sendStop=null,clearTimeout(t)},t=setTimeout(function(){s("timeout"),e.sendStop=null,e.sendSchedule()},25)},r.prototype.sendSchedule=function(){s("sendSchedule",this.sendBuffer.length);var t=this;if(this.sendBuffer.length>0){var e="["+this.sendBuffer.join(",")+"]";this.sendStop=this.sender(this.url,e,function(e){t.sendStop=null,e?(s("error",e),t.emit("close",e.code||1006,"Sending error: "+e),t.close()):t.sendScheduleWait()}),this.sendBuffer=[]}},r.prototype._cleanup=function(){s("_cleanup"),this.removeAllListeners()},r.prototype.close=function(){s("close"),this._cleanup(),this.sendStop&&(this.sendStop(),this.sendStop=null)},t.exports=r}).call(e,n(3))},function(t,e,n){"use strict";(function(e){function r(t,e,n){s(e),i.call(this),this.Receiver=t,this.receiveUrl=e,this.AjaxObject=n,this._scheduleReceiver()}var o=n(1),i=n(5).EventEmitter,s=function(){};"production"!==e.env.NODE_ENV&&(s=n(4)("sockjs-client:polling")),o(r,i),r.prototype._scheduleReceiver=function(){s("_scheduleReceiver");var t=this,e=this.poll=new this.Receiver(this.receiveUrl,this.AjaxObject);e.on("message",function(e){s("message",e),t.emit("message",e)}),e.once("close",function(n,r){s("close",n,r,t.pollIsClosing),t.poll=e=null,t.pollIsClosing||("network"===r?t._scheduleReceiver():(t.emit("close",n||1006,r),t.removeAllListeners()))})},r.prototype.abort=function(){s("abort"),this.removeAllListeners(),this.pollIsClosing=!0,this.poll&&this.poll.abort()},t.exports=r}).call(e,n(3))},function(t,e,n){"use strict";(function(e){function r(t){a(t),i.call(this);var e=this,n=this.es=new s(t);n.onmessage=function(t){a("message",t.data),e.emit("message",decodeURI(t.data))},n.onerror=function(t){a("error",n.readyState,t);var r=2!==n.readyState?"network":"permanent";e._cleanup(),e._close(r)}}var o=n(1),i=n(5).EventEmitter,s=n(65),a=function(){};"production"!==e.env.NODE_ENV&&(a=n(4)("sockjs-client:receiver:eventsource")),o(r,i),r.prototype.abort=function(){a("abort"),this._cleanup(),this._close("user")},r.prototype._cleanup=function(){a("cleanup");var t=this.es;t&&(t.onmessage=t.onerror=null,t.close(),this.es=null)},r.prototype._close=function(t){a("close",t);var e=this;setTimeout(function(){e.emit("close",null,t),e.removeAllListeners()},200)},t.exports=r}).call(e,n(3))},function(t,e,n){"use strict";(function(e,r){function o(t){l(t),c.call(this);var e=this;s.polluteGlobalNamespace(),this.id="a"+u.string(6),t=a.addQuery(t,"c="+decodeURIComponent(s.WPrefix+"."+this.id)),l("using htmlfile",o.htmlfileEnabled);var n=o.htmlfileEnabled?s.createHtmlfile:s.createIframe;r[s.WPrefix][this.id]={start:function(){l("start"),e.iframeObj.loaded()},message:function(t){l("message",t),e.emit("message",t)},stop:function(){l("stop"),e._cleanup(),e._close("network")}},this.iframeObj=n(t,function(){l("callback"),e._cleanup(),e._close("permanent")})}var i=n(1),s=n(22),a=n(8),c=n(5).EventEmitter,u=n(15),l=function(){};"production"!==e.env.NODE_ENV&&(l=n(4)("sockjs-client:receiver:htmlfile")),i(o,c),o.prototype.abort=function(){l("abort"),this._cleanup(),this._close("user")},o.prototype._cleanup=function(){l("_cleanup"),this.iframeObj&&(this.iframeObj.cleanup(),this.iframeObj=null),delete r[s.WPrefix][this.id]},o.prototype._close=function(t){l("_close",t),this.emit("close",null,t),this.removeAllListeners()},o.htmlfileEnabled=!1;var f=["Active"].concat("Object").join("X");if(f in r)try{o.htmlfileEnabled=!!new r[f]("htmlfile")}catch(t){}o.enabled=o.htmlfileEnabled||s.iframeEnabled,t.exports=o}).call(e,n(3),n(2))},function(t,e,n){"use strict";(function(e,r){function o(t){f(t);var e=this;l.call(this),i.polluteGlobalNamespace(),this.id="a"+s.string(6);var n=c.addQuery(t,"c="+encodeURIComponent(i.WPrefix+"."+this.id));r[i.WPrefix][this.id]=this._callback.bind(this),this._createScript(n),this.timeoutId=setTimeout(function(){f("timeout"),e._abort(new Error("JSONP script loaded abnormally (timeout)"))},o.timeout)}var i=n(22),s=n(15),a=n(21),c=n(8),u=n(1),l=n(5).EventEmitter,f=function(){};"production"!==e.env.NODE_ENV&&(f=n(4)("sockjs-client:receiver:jsonp")),u(o,l),o.prototype.abort=function(){if(f("abort"),r[i.WPrefix][this.id]){var t=new Error("JSONP user aborted read");t.code=1e3,this._abort(t)}},o.timeout=35e3,o.scriptErrorTimeout=1e3,o.prototype._callback=function(t){f("_callback",t),this._cleanup(),this.aborting||(t&&(f("message",t),this.emit("message",t)),this.emit("close",null,"network"),this.removeAllListeners())},o.prototype._abort=function(t){f("_abort",t),this._cleanup(),this.aborting=!0,this.emit("close",t.code,t.message),this.removeAllListeners()},o.prototype._cleanup=function(){if(f("_cleanup"),clearTimeout(this.timeoutId),this.script2&&(this.script2.parentNode.removeChild(this.script2),this.script2=null),this.script){var t=this.script;t.parentNode.removeChild(t),t.onreadystatechange=t.onerror=t.onload=t.onclick=null,this.script=null}delete r[i.WPrefix][this.id]},o.prototype._scriptError=function(){f("_scriptError");var t=this;this.errorTimer||(this.errorTimer=setTimeout(function(){t.loadedOkay||t._abort(new Error("JSONP script loaded abnormally (onerror)"))},o.scriptErrorTimeout))},o.prototype._createScript=function(t){f("_createScript",t);var e,n=this,o=this.script=r.document.createElement("script");if(o.id="a"+s.string(8),o.src=t,o.type="text/javascript",o.charset="UTF-8",o.onerror=this._scriptError.bind(this),o.onload=function(){f("onload"),n._abort(new Error("JSONP script loaded abnormally (onload)"))},o.onreadystatechange=function(){if(f("onreadystatechange",o.readyState),/loaded|closed/.test(o.readyState)){if(o&&o.htmlFor&&o.onclick){n.loadedOkay=!0;try{o.onclick()}catch(t){}}o&&n._abort(new Error("JSONP script loaded abnormally (onreadystatechange)"))}},void 0===o.async&&r.document.attachEvent)if(a.isOpera())e=this.script2=r.document.createElement("script"),e.text="try{var a = document.getElementById('"+o.id+"'); if(a)a.onerror();}catch(x){};",o.async=e.async=!1;else{try{o.htmlFor=o.id,o.event="onclick"}catch(t){}o.async=!0}void 0!==o.async&&(o.async=!0);var i=r.document.getElementsByTagName("head")[0];i.insertBefore(o,i.firstChild),e&&i.insertBefore(e,i.firstChild)},t.exports=o}).call(e,n(3),n(2))},function(t,e,n){"use strict";(function(e,r){function o(t){c("createIframe",t);try{return r.document.createElement('<iframe name="'+t+'">')}catch(n){var e=r.document.createElement("iframe");return e.name=t,e}}function i(){c("createForm"),u=r.document.createElement("form"),u.style.display="none",u.style.position="absolute",u.method="POST",u.enctype="application/x-www-form-urlencoded",u.acceptCharset="UTF-8",l=r.document.createElement("textarea"),l.name="d",u.appendChild(l),r.document.body.appendChild(u)}var s=n(15),a=n(8),c=function(){};"production"!==e.env.NODE_ENV&&(c=n(4)("sockjs-client:sender:jsonp"));var u,l;t.exports=function(t,e,n){c(t,e),u||i();var r="a"+s.string(8);u.target=r,u.action=a.addQuery(a.addPath(t,"/jsonp_send"),"i="+r);var f=o(r);f.id=r,f.style.display="none",u.appendChild(f);try{l.value=e}catch(t){}u.submit();var p=function(t){c("completed",r,t),f.onerror&&(f.onreadystatechange=f.onerror=f.onload=null,setTimeout(function(){c("cleaning up",r),f.parentNode.removeChild(f),f=null},500),l.value="",n(t))};return f.onerror=function(){c("onerror",r),p()},f.onload=function(){c("onload",r),p()},f.onreadystatechange=function(t){c("onreadystatechange",r,f.readyState,t),"complete"===f.readyState&&p()},function(){c("aborted",r),p(new Error("Aborted"))}}}).call(e,n(3),n(2))},function(t,e,n){"use strict";function r(){var t=this;o.call(this),this.to=setTimeout(function(){t.emit("finish",200,"{}")},r.timeout)}var o=n(5).EventEmitter;n(1)(r,o),r.prototype.close=function(){clearTimeout(this.to)},r.timeout=2e3,t.exports=r},function(t,e,n){"use strict";(function(e){function r(t,e,n){if(!r.enabled())throw new Error("Transport created when disabled");a.call(this),u("constructor",t);var s=this,l=i.addPath(t,"/websocket");l="https"===l.slice(0,5)?"wss"+l.slice(5):"ws"+l.slice(4),this.url=l,this.ws=new c(this.url,[],n),this.ws.onmessage=function(t){u("message event",t.data),s.emit("message",t.data)},this.unloadRef=o.unloadAdd(function(){u("unload"),s.ws.close()}),this.ws.onclose=function(t){u("close event",t.code,t.reason),s.emit("close",t.code,t.reason),s._cleanup()},this.ws.onerror=function(t){u("error event",t),s.emit("close",1006,"WebSocket connection broken"),s._cleanup()}}var o=n(13),i=n(8),s=n(1),a=n(5).EventEmitter,c=n(177),u=function(){};"production"!==e.env.NODE_ENV&&(u=n(4)("sockjs-client:websocket")),s(r,a),r.prototype.send=function(t){var e="["+t+"]";u("send",e),this.ws.send(e)},r.prototype.close=function(){u("close");var t=this.ws;this._cleanup(),t&&t.close()},r.prototype._cleanup=function(){u("_cleanup");var t=this.ws;t&&(t.onmessage=t.onclose=t.onerror=null),o.unloadDel(this.unloadRef),this.unloadRef=this.ws=null,this.removeAllListeners()},r.enabled=function(){return u("enabled"),!!c},r.transportName="websocket",r.roundTrips=2,t.exports=r}).call(e,n(3))},function(t,e,n){"use strict";function r(t){if(!c.enabled)throw new Error("Transport created when disabled");i.call(this,t,"/xhr",a,c)}var o=n(1),i=n(14),s=n(70),a=n(28),c=n(48);o(r,i),r.enabled=s.enabled,r.transportName="xdr-polling",r.roundTrips=2,t.exports=r},function(t,e,n){"use strict";(function(e){function r(t){if(!c.enabled&&!a.enabled)throw new Error("Transport created when disabled");i.call(this,t,"/xhr_streaming",s,a)}var o=n(1),i=n(14),s=n(28),a=n(29),c=n(20),u=n(21);o(r,i),r.enabled=function(t){return!t.nullOrigin&&(!u.isOpera()&&a.enabled)},r.transportName="xhr-streaming",r.roundTrips=2,r.needBody=!!e.document,t.exports=r}).call(e,n(2))},function(t,e,n){"use strict";(function(e){e.crypto&&e.crypto.getRandomValues?t.exports.randomBytes=function(t){var n=new Uint8Array(t);return e.crypto.getRandomValues(n),n}:t.exports.randomBytes=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=Math.floor(256*Math.random());return e}}).call(e,n(2))},function(t,e,n){"use strict";var r,o=n(10),i=/[\x00-\x1f\ud800-\udfff\ufffe\uffff\u0300-\u0333\u033d-\u0346\u034a-\u034c\u0350-\u0352\u0357-\u0358\u035c-\u0362\u0374\u037e\u0387\u0591-\u05af\u05c4\u0610-\u0617\u0653-\u0654\u0657-\u065b\u065d-\u065e\u06df-\u06e2\u06eb-\u06ec\u0730\u0732-\u0733\u0735-\u0736\u073a\u073d\u073f-\u0741\u0743\u0745\u0747\u07eb-\u07f1\u0951\u0958-\u095f\u09dc-\u09dd\u09df\u0a33\u0a36\u0a59-\u0a5b\u0a5e\u0b5c-\u0b5d\u0e38-\u0e39\u0f43\u0f4d\u0f52\u0f57\u0f5c\u0f69\u0f72-\u0f76\u0f78\u0f80-\u0f83\u0f93\u0f9d\u0fa2\u0fa7\u0fac\u0fb9\u1939-\u193a\u1a17\u1b6b\u1cda-\u1cdb\u1dc0-\u1dcf\u1dfc\u1dfe\u1f71\u1f73\u1f75\u1f77\u1f79\u1f7b\u1f7d\u1fbb\u1fbe\u1fc9\u1fcb\u1fd3\u1fdb\u1fe3\u1feb\u1fee-\u1fef\u1ff9\u1ffb\u1ffd\u2000-\u2001\u20d0-\u20d1\u20d4-\u20d7\u20e7-\u20e9\u2126\u212a-\u212b\u2329-\u232a\u2adc\u302b-\u302c\uaab2-\uaab3\uf900-\ufa0d\ufa10\ufa12\ufa15-\ufa1e\ufa20\ufa22\ufa25-\ufa26\ufa2a-\ufa2d\ufa30-\ufa6d\ufa70-\ufad9\ufb1d\ufb1f\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufb4e\ufff0-\uffff]/g,s=function(t){var e,n={},r=[];for(e=0;e<65536;e++)r.push(String.fromCharCode(e));return t.lastIndex=0,r.join("").replace(t,function(t){return n[t]="\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4),""}),t.lastIndex=0,n};t.exports={quote:function(t){var e=o.stringify(t);return i.lastIndex=0,i.test(e)?(r||(r=s(i)),e.replace(i,function(t){return r[t]})):e}}},function(t,e,n){"use strict";(function(e){var n={};["log","debug","warn"].forEach(function(t){var r;try{r=e.console&&e.console[t]&&e.console[t].apply}catch(t){}n[t]=r?function(){return e.console[t].apply(e.console,arguments)}:"log"===t?function(){}:n.log}),t.exports=n}).call(e,n(2))},function(t,e,n){"use strict";(function(e){var r=function(){};"production"!==e.env.NODE_ENV&&(r=n(4)("sockjs-client:utils:transport")),t.exports=function(t){return{filterToEnabled:function(e,n){var o={main:[],facade:[]};return e?"string"==typeof e&&(e=[e]):e=[],t.forEach(function(t){if(t)return"websocket"===t.transportName&&!1===n.websocket?void r("disabled from server","websocket"):e.length&&-1===e.indexOf(t.transportName)?void r("not in whitelist",t.transportName):void(t.enabled(n)?(r("enabled",t.transportName),o.main.push(t),t.facadeTransport&&o.facade.push(t.facadeTransport)):r("disabled",t.transportName))}),o}}}}).call(e,n(3))},,,,,,function(t,e){(function(e){t.exports=e}).call(e,{})},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){t.exports=n(104)}],[230])});
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.fastman=e():t.fastman=e()}(this,function(){return webpackJsonpfastman([0],[,function(t,e){"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}},,function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(t){if(l===setTimeout)return setTimeout(t,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)}catch(e){return l.call(this,t,0)}}}function i(t){if(f===clearTimeout)return clearTimeout(t);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(t);try{return f(t)}catch(e){try{return f.call(null,t)}catch(e){return f.call(this,t)}}}function s(){m&&h&&(m=!1,h.length?d=h.concat(d):v=-1,d.length&&a())}function a(){if(!m){var t=o(s);m=!0;for(var e=d.length;e;){for(h=d,d=[];++v<e;)h&&h[v].run();v=-1,e=d.length}h=null,m=!1,i(t)}}function c(t,e){this.fun=t,this.array=e}function u(){}var l,f,p=t.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(t){l=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(t){f=r}}();var h,d=[],m=!1,v=-1;p.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];d.push(new c(t,e)),1!==d.length||m||o(a)},c.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=u,p.addListener=u,p.once=u,p.off=u,p.removeListener=u,p.removeAllListeners=u,p.emit=u,p.prependListener=u,p.prependOnceListener=u,p.listeners=function(t){return[]},p.binding=function(t){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(t){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(t,e,n){"use strict";(function(r){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function s(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),this.useColors){var n="color: "+this.color;e.splice(1,0,n,"color: inherit");var r=0,o=0;e[0].replace(/%[a-zA-Z%]/g,function(t){"%%"!==t&&(r++,"%c"===t&&(o=r))}),e.splice(o,0,n)}}function a(){var t;return"object"===("undefined"==typeof console?"undefined":o(console))&&console.log&&(t=console).log.apply(t,arguments)}function c(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(t){}}function u(){var t;try{t=e.storage.getItem("debug")}catch(t){}return!t&&void 0!==r&&"env"in r&&(t=r.env.DEBUG),t}e.log=a,e.formatArgs=s,e.save=c,e.load=u,e.useColors=i,e.storage=function(){try{return localStorage}catch(t){}}(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.exports=n(163)(e),t.exports.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}}).call(e,n(3))},function(t,e,n){"use strict";function r(){i.call(this)}var o=n(1),i=n(62);o(r,i),r.prototype.removeAllListeners=function(t){t?delete this._listeners[t]:this._listeners={}},r.prototype.once=function(t,e){function n(){r.removeListener(t,n),o||(o=!0,e.apply(this,arguments))}var r=this,o=!1;this.on(t,n)},r.prototype.emit=function(){var t=arguments[0],e=this._listeners[t];if(e){for(var n=arguments.length,r=new Array(n-1),o=1;o<n;o++)r[o-1]=arguments[o];for(var i=0;i<e.length;i++)e[i].apply(this,r)}},r.prototype.on=r.prototype.addListener=i.prototype.addEventListener,r.prototype.removeListener=i.prototype.removeEventListener,t.exports.EventEmitter=r},,,function(t,e,n){"use strict";(function(e){var r=n(77),o=function(){};"production"!==e.env.NODE_ENV&&(o=n(4)("sockjs-client:utils:url")),t.exports={getOrigin:function(t){if(!t)return null;var e=new r(t);if("file:"===e.protocol)return null;var n=e.port;return n||(n="https:"===e.protocol?"443":"80"),e.protocol+"//"+e.hostname+":"+n},isOriginEqual:function(t,e){var n=this.getOrigin(t)===this.getOrigin(e);return o("same",t,e,n),n},isSchemeEqual:function(t,e){return t.split(":")[0]===e.split(":")[0]},addPath:function(t,e){var n=t.split("?");return n[0]+e+(n[1]?"?"+n[1]:"")},addQuery:function(t,e){return t+(-1===t.indexOf("?")?"?"+e:"&"+e)},isLoopbackAddr:function(t){return/^127\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})$/i.test(t)||/^\[::1\]$/.test(t)}}}).call(e,n(3))},function(t,e,n){"use strict";var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(i){void 0!==(r=function(t){function e(t){return t}function r(t){return t}function i(t){return t}function s(t){if(!(this instanceof s))return new s(t);p(this,t)}function a(t){var n,a,p,h;return t=t||{},n=t.init||e,a=t.request||r,p=t.success||t.response||i,h=t.error||function(){return f.reject((t.response||i).apply(this,arguments))},function(e,r){function i(t){var n,o;return n={},o={arguments:Array.prototype.slice.call(arguments),client:i},t="string"==typeof t?{path:t}:t||{},t.originator=t.originator||i,u(a.call(n,t,r,o),function(t){var i,a,c;return c=e,t instanceof s&&(a=t.abort,c=t.client||c,i=t.response,t=t.request),i=i||f.resolve(t).then(function(t){return f.resolve(c(t)).then(function(t){return p.call(n,t,r,o)},function(t){return h.call(n,t,r,o)})}),a?f.race([i,a]):i},function(t){return f.reject(t)})}return"object"===(void 0===e?"undefined":o(e))&&(r=e),"function"!=typeof e&&(e=t.client||c),r=n(r||{}),l(i,e)}}var c,u,l,f,p;return c=n(23),u=n(18),l=n(11),f=n(6),p=n(24),a.ComplexRequest=s,a.check=function(t){if(t.error)return f.reject(t)},a}.call(e,n,e,t))&&(t.exports=r)}(n(0))},,function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){return function(t,e){return e&&(t.skip=function(){return e}),t.addInterceptor=function(e,n){return e(t,n)},t}}.call(e,n,e,t))&&(t.exports=r)}(n(0))},function(t,e,n){"use strict";(function(e){var r=n(14),o={},i=!1,s=e.chrome&&e.chrome.app&&e.chrome.app.runtime;t.exports={attachEvent:function(t,n){void 0!==e.addEventListener?e.addEventListener(t,n,!1):e.document&&e.attachEvent&&(e.document.attachEvent("on"+t,n),e.attachEvent("on"+t,n))},detachEvent:function(t,n){void 0!==e.addEventListener?e.removeEventListener(t,n,!1):e.document&&e.detachEvent&&(e.document.detachEvent("on"+t,n),e.detachEvent("on"+t,n))},unloadAdd:function(t){if(s)return null;var e=r.string(8);return o[e]=t,i&&setTimeout(this.triggerUnloadCallbacks,0),e},unloadDel:function(t){t in o&&delete o[t]},triggerUnloadCallbacks:function(){for(var t in o)o[t](),delete o[t]}};var a=function(){i||(i=!0,t.exports.triggerUnloadCallbacks())};s||t.exports.attachEvent("unload",a)}).call(e,n(2))},function(t,e,n){"use strict";(function(e){function r(t){return function(e,n,r){c("create ajax sender",e,n);var o={};"string"==typeof n&&(o.headers={"Content-type":"text/plain"});var i=s.addPath(e,"/xhr_send"),a=new t("POST",i,n,o);return a.once("finish",function(t){if(c("finish",t),a=null,200!==t&&204!==t)return r(new Error("http status "+t));r()}),function(){c("abort"),a.close(),a=null;var t=new Error("Aborted");t.code=1e3,r(t)}}}function o(t,e,n,o){a.call(this,t,e,r(o),n,o)}var i=n(1),s=n(8),a=n(71),c=function(){};"production"!==e.env.NODE_ENV&&(c=n(4)("sockjs-client:ajax-based")),i(o,a),t.exports=o}).call(e,n(3))},function(t,e,n){"use strict";var r=n(203),o="abcdefghijklmnopqrstuvwxyz012345";t.exports={string:function(t){for(var e=o.length,n=r.randomBytes(t),i=[],s=0;s<t;s++)i.push(o.substr(n[s]%e,1));return i.join("")},number:function(t){return Math.floor(Math.random()*t)},numberString:function(t){var e=(""+(t-1)).length;return(new Array(e+1).join("0")+this.number(t)).slice(-e)}}},,,function(t,e,n){"use strict";var r;!function(o){var i;void 0!==(r=function(t){function e(t){var e,n;return e=t.split(";"),n=e[0].trim().split("+"),{raw:t,type:n[0],suffix:n[1]?"+"+n[1]:"",params:e.slice(1).reduce(function(t,e){return e=e.split("="),t[e[0].trim()]=e[1]?e[1].trim():i,t},{})}}return{parse:e}}.call(e,n,e,t))&&(t.exports=r)}(n(0))},function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){function e(t,e){return t.then(function(t){return t&&t[e]},function(t){return l.reject(t&&t[e])})}function r(){return e(this,"entity")}function o(){return e(e(this,"status"),"code")}function i(){return e(this,"headers")}function s(t){return t=f(t),e(this.headers(),t)}function a(t){return t=[].concat(t),c(l.reduce(t,function(t,e){if("string"==typeof e&&(e={rel:e}),"function"!=typeof t.entity.clientFor)throw new Error("Hypermedia response expected");return t.entity.clientFor(e.rel)({params:e.params})},this))}function c(t){return t.status=o,t.headers=i,t.header=s,t.entity=r,t.follow=a,t}function u(){var t=arguments;return l.promise(function(e,n){try{e(t[0])}catch(t){n(t)}}).then(t[1]).otherwise(t[2])}var l=n(6),f=n(25);return u.make=c,u.reject=function(t){return c(l.reject(t))},u.promise=function(t){return c(l.promise(t))},u}.call(e,n,e,t))&&(t.exports=r)}(n(0))},function(t,e,n){"use strict";function r(t,e,n){i.call(this,t,e,n,{noCredentials:!0})}var o=n(1),i=n(66);o(r,i),r.enabled=i.enabled,t.exports=r},function(t,e,n){"use strict";(function(e){t.exports={isOpera:function(){return e.navigator&&/opera/i.test(e.navigator.userAgent)},isKonqueror:function(){return e.navigator&&/konqueror/i.test(e.navigator.userAgent)},hasDomain:function(){if(!e.document)return!0;try{return!!e.document.domain}catch(t){return!1}}}}).call(e,n(2))},function(t,e,n){"use strict";(function(e,r){var o=n(12),i=n(20),s=function(){};"production"!==e.env.NODE_ENV&&(s=n(4)("sockjs-client:utils:iframe")),t.exports={WPrefix:"_jp",currentWindowId:null,polluteGlobalNamespace:function(){t.exports.WPrefix in r||(r[t.exports.WPrefix]={})},postMessage:function(e,n){r.parent!==r?r.parent.postMessage(JSON.stringify({windowId:t.exports.currentWindowId,type:e,data:n||""}),"*"):s("Cannot postMessage, no parent window.",e,n)},createIframe:function(t,e){var n,i,a=r.document.createElement("iframe"),c=function(){s("unattach"),clearTimeout(n);try{a.onload=null}catch(t){}a.onerror=null},u=function(){s("cleanup"),a&&(c(),setTimeout(function(){a&&a.parentNode.removeChild(a),a=null},0),o.unloadDel(i))},l=function(t){s("onerror",t),a&&(u(),e(t))},f=function(t,e){s("post",t,e),setTimeout(function(){try{a&&a.contentWindow&&a.contentWindow.postMessage(t,e)}catch(t){}},0)};return a.src=t,a.style.display="none",a.style.position="absolute",a.onerror=function(){l("onerror")},a.onload=function(){s("onload"),clearTimeout(n),n=setTimeout(function(){l("onload timeout")},2e3)},r.document.body.appendChild(a),n=setTimeout(function(){l("timeout")},15e3),i=o.unloadAdd(u),{post:f,cleanup:u,loaded:c}},createHtmlfile:function(e,n){var i,a,c,u=["Active"].concat("Object").join("X"),l=new r[u]("htmlfile"),f=function(){clearTimeout(i),c.onerror=null},p=function(){l&&(f(),o.unloadDel(a),c.parentNode.removeChild(c),c=l=null,CollectGarbage())},h=function(t){s("onerror",t),l&&(p(),n(t))},d=function(t,e){try{setTimeout(function(){c&&c.contentWindow&&c.contentWindow.postMessage(t,e)},0)}catch(t){}};l.open(),l.write('<html><script>document.domain="'+r.document.domain+'";<\/script></html>'),l.close(),l.parentWindow[t.exports.WPrefix]=r[t.exports.WPrefix];var m=l.createElement("div");return l.body.appendChild(m),c=l.createElement("iframe"),m.appendChild(c),c.src=e,c.onerror=function(){h("onerror")},i=setTimeout(function(){h("timeout")},15e3),a=o.unloadAdd(p),{post:d,cleanup:p,loaded:f}}},t.exports.iframeEnabled=!1,r.document&&(t.exports.iframeEnabled=("function"==typeof r.postMessage||"object"==typeof r.postMessage)&&!i.isKonqueror())}).call(e,n(3),n(2))},,function(t,e,n){"use strict";var r;!function(o){var i;void 0!==(r=function(t){function e(){return o.apply(i,arguments)}var r,o,s;return r=n(11),e.setDefaultClient=function(t){o=t},e.getDefaultClient=function(){return o},e.resetDefaultClient=function(){o=s},e.setPlatformDefaultClient=function(t){if(s)throw new Error("Unable to redefine platformDefaultClient");o=s=t},r(e)}.call(e,n,e,t))&&(t.exports=r)}(n(0))},function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){function e(t){var e,r,o,i;for(t||(t={}),e=1,r=arguments.length;e<r;e+=1){o=arguments[e];for(i in o)i in t&&(t[i]===o[i]||i in n&&n[i]===o[i])||(t[i]=o[i])}return t}var n={};return e}.call(e,n,e,t))&&(t.exports=r)}(n(0))},function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){function e(t){return t.toLowerCase().split("-").map(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}).join("-")}return e}.call(e,n,e,t))&&(t.exports=r)}(n(0))},,function(t,e,n){"use strict";(function(e){function r(t,e){s(t),i.call(this);var n=this;this.bufferPosition=0,this.xo=new e("POST",t,null),this.xo.on("chunk",this._chunkHandler.bind(this)),this.xo.once("finish",function(t,e){s("finish",t,e),n._chunkHandler(t,e),n.xo=null;var r=200===t?"network":"permanent";s("close",r),n.emit("close",null,r),n._cleanup()})}var o=n(1),i=n(5).EventEmitter,s=function(){};"production"!==e.env.NODE_ENV&&(s=n(4)("sockjs-client:receiver:xhr")),o(r,i),r.prototype._chunkHandler=function(t,e){if(s("_chunkHandler",t),200===t&&e)for(var n=-1;;this.bufferPosition+=n+1){var r=e.slice(this.bufferPosition);if(-1===(n=r.indexOf("\n")))break;var o=r.slice(0,n);o&&(s("message",o),this.emit("message",o))}},r.prototype._cleanup=function(){s("_cleanup"),this.removeAllListeners()},r.prototype.abort=function(){s("abort"),this.xo&&(this.xo.close(),s("close"),this.emit("close",null,"user"),this.xo=null),this._cleanup()},t.exports=r}).call(e,n(3))},function(t,e,n){"use strict";function r(t,e,n,r){i.call(this,t,e,n,r)}var o=n(1),i=n(66);o(r,i),r.enabled=i.enabled&&i.supportsCORS,t.exports=r},,,,,,function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){var e,r;return e=n(9),r=n(6),e({init:function(t){return t.code=t.code||400,t},response:function(t,e){return t.status&&t.status.code>=e.code?r.reject({response:t,error:"httperror"}):t}})}.call(e,n,e,t))&&(t.exports=r)}(n(0))},function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){var e,r,o,i,s;return e=n(9),r=n(17),o=n(37),s=n(6),i={read:function(t){return t},write:function(t){return t}},e({init:function(t){return t.registry=t.registry||o,t},request:function(t,e){var n,o;return o=t.headers||(t.headers={}),n=r.parse(o["Content-Type"]=o["Content-Type"]||e.mime||"text/plain"),o.Accept=o.Accept||e.accept||n.raw+", application/json;q=0.8, text/plain;q=0.5, */*;q=0.2","entity"in t?e.registry.lookup(n).otherwise(function(){if(e.permissive)return i;throw"mime-unknown"}).then(function(r){var o=e.client||t.originator;return s.attempt(r.write,t.entity,{client:o,request:t,mime:n,registry:e.registry}).otherwise(function(){throw"mime-serialization"}).then(function(e){return t.entity=e,t})}):t},response:function(t,e){if(!(t.headers&&t.headers["Content-Type"]&&t.entity))return t;var n=r.parse(t.headers["Content-Type"]);return e.registry.lookup(n).otherwise(function(){return i}).then(function(r){var o=e.client||t.request&&t.request.originator;return s.attempt(r.read,t.entity,{client:o,response:t,mime:n,registry:e.registry}).otherwise(function(e){throw t.error="mime-deserialization",t.cause=e,t}).then(function(e){return t.entity=e,t})})}})}.call(e,n,e,t))&&(t.exports=r)}(n(0))},function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){var e=n(9),r=n(6);return e({init:function(t){return t.timeout=t.timeout||0,t.transient=!!t.transient,t},request:function(t,n){var o,i,s;if(o="timeout"in t?t.timeout:n.timeout,s="transient"in t?t.transient:n.transient,o<=0)return t;var a=this;return i=r.promise(function(e,n){a.timeout=setTimeout(function(){n({request:t,error:"timeout"}),t.cancel?(t.cancel(),s&&(t.canceled=!1)):s||(t.canceled=!0)},o)}),new e.ComplexRequest({request:t,abort:i})},response:function(t){return this.timeout&&(clearTimeout(this.timeout),delete this.timeout),t}})}.call(e,n,e,t))&&(t.exports=r)}(n(0))},function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){function e(t){this.lookup=function(e){var n;return n="string"==typeof e?r.parse(e):e,t[n.raw]?t[n.raw]:t[n.type+n.suffix]?t[n.type+n.suffix]:t[n.type]?t[n.type]:t[n.suffix]?t[n.suffix]:o.reject(new Error('Unable to locate converter for mime "'+n.raw+'"'))},this.register=function(e,n){return t[e]=o.resolve(n),t[e]}}var r,o,i;return r=n(17),o=n(6),i=new e({}),i.register("application/json",n(38)),i.register("application/x-www-form-urlencoded",n(39)),i.register("multipart/form-data",n(40)),i}.call(e,n,e,t))&&(t.exports=r)}(n(0))},function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){function e(t,n){return{read:function(e){return JSON.parse(e,t)},write:function(t){return JSON.stringify(t,n)},extend:e}}return e()}.call(e,n,e,t))&&(t.exports=r)}(n(0))},function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){function e(t){return t=encodeURIComponent(t),t.replace(o,"+")}function n(t){return t=t.replace(i," "),decodeURIComponent(t)}function r(t,n,o){return Array.isArray(o)?o.forEach(function(e){t=r(t,n,e)}):(t.length>0&&(t+="&"),t+=e(n),void 0!==o&&null!==o&&(t+="="+e(o))),t}var o,i;return o=/%20/g,i=/\+/g,{read:function(t){var e={};return t.split("&").forEach(function(t){var r,o,i;r=t.split("="),o=n(r[0]),i=2===r.length?n(r[1]):null,o in e?(Array.isArray(e[o])||(e[o]=[e[o]]),e[o].push(i)):e[o]=i}),e},write:function(t){var e="";return Object.keys(t).forEach(function(n){e=r(e,n,t[n])}),e}}}.call(e,n,e,t))&&(t.exports=r)}(n(0))},function(t,e,n){"use strict";var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(i){void 0!==(r=function(t){function e(t){return t&&1===t.nodeType&&"FORM"===t.tagName}function n(t){var e,n=new FormData;for(var r in t)t.hasOwnProperty(r)&&(e=t[r],e instanceof File?n.append(r,e,e.name):e instanceof Blob?n.append(r,e):n.append(r,String(e)));return n}return{write:function(t){if("undefined"==typeof FormData)throw new Error("The multipart/form-data mime serializer requires FormData support");if(t instanceof FormData)return t;if(e(t))return new FormData(t);if("object"===(void 0===t?"undefined":o(t))&&null!==t)return n(t);throw new Error("Unable to create FormData from object "+t)}}}.call(e,n,e,t))&&(t.exports=r)}(n(0))},,,,,,function(t,e,n){"use strict";function r(t){this.type=t}r.prototype.initEvent=function(t,e,n){return this.type=t,this.bubbles=e,this.cancelable=n,this.timeStamp=+new Date,this},r.prototype.stopPropagation=function(){},r.prototype.preventDefault=function(){},r.CAPTURING_PHASE=1,r.AT_TARGET=2,r.BUBBLING_PHASE=3,t.exports=r},function(t,e,n){"use strict";(function(e){var r=n(1),o=n(70),i=n(49);t.exports=function(t){function n(e,n){o.call(this,t.transportName,e,n)}return r(n,o),n.enabled=function(n,r){if(!e.document)return!1;var s=i.extend({},r);return s.sameOrigin=!0,t.enabled(s)&&o.enabled()},n.transportName="iframe-"+t.transportName,n.needBody=!0,n.roundTrips=o.roundTrips+t.roundTrips-1,n.facadeTransport=t,n}}).call(e,n(2))},function(t,e,n){"use strict";(function(e,r){function o(t,e,n){l(t,e);var r=this;i.call(this),setTimeout(function(){r._start(t,e,n)},0)}var i=n(5).EventEmitter,s=n(1),a=n(12),c=n(20),u=n(8),l=function(){};"production"!==e.env.NODE_ENV&&(l=n(4)("sockjs-client:sender:xdr")),s(o,i),o.prototype._start=function(t,e,n){l("_start");var o=this,i=new r.XDomainRequest;e=u.addQuery(e,"t="+ +new Date),i.onerror=function(){l("onerror"),o._error()},i.ontimeout=function(){l("ontimeout"),o._error()},i.onprogress=function(){l("progress",i.responseText),o.emit("chunk",200,i.responseText)},i.onload=function(){l("load"),o.emit("finish",200,i.responseText),o._cleanup(!1)},this.xdr=i,this.unloadRef=a.unloadAdd(function(){o._cleanup(!0)});try{this.xdr.open(t,e),this.timeout&&(this.xdr.timeout=this.timeout),this.xdr.send(n)}catch(t){this._error()}},o.prototype._error=function(){this.emit("finish",0,""),this._cleanup(!1)},o.prototype._cleanup=function(t){if(l("cleanup",t),this.xdr){if(this.removeAllListeners(),a.unloadDel(this.unloadRef),this.xdr.ontimeout=this.xdr.onerror=this.xdr.onprogress=this.xdr.onload=null,t)try{this.xdr.abort()}catch(t){}this.unloadRef=this.xdr=null}},o.prototype.close=function(){l("close"),this._cleanup(!0)},o.enabled=!(!r.XDomainRequest||!c.hasDomain()),t.exports=o}).call(e,n(3),n(2))},function(t,e,n){"use strict";t.exports={isObject:function(t){var e=typeof t;return"function"===e||"object"===e&&!!t},extend:function(t){if(!this.isObject(t))return t;for(var e,n,r=1,o=arguments.length;r<o;r++){e=arguments[r];for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}return t}}},,,,,,,,,,,,,function(t,e,n){"use strict";function r(){this._listeners={}}r.prototype.addEventListener=function(t,e){t in this._listeners||(this._listeners[t]=[]);var n=this._listeners[t];-1===n.indexOf(e)&&(n=n.concat([e])),this._listeners[t]=n},r.prototype.removeEventListener=function(t,e){var n=this._listeners[t];if(n){var r=n.indexOf(e);return-1!==r?void(n.length>1?this._listeners[t]=n.slice(0,r).concat(n.slice(r+1)):delete this._listeners[t]):void 0}},r.prototype.dispatchEvent=function(){var t=arguments[0],e=t.type,n=1===arguments.length?[t]:Array.apply(null,arguments);if(this["on"+e]&&this["on"+e].apply(this,n),e in this._listeners)for(var r=this._listeners[e],o=0;o<r.length;o++)r[o].apply(this,n)},t.exports=r},function(t,e,n){"use strict";(function(e){function r(t,e){o.call(this);var n=this,r=+new Date;this.xo=new e("GET",t),this.xo.once("finish",function(t,e){var o,i;if(200===t){if(i=+new Date-r,e)try{o=JSON.parse(e)}catch(t){a("bad json",e)}s.isObject(o)||(o={})}n.emit("finish",o,i),n.removeAllListeners()})}var o=n(5).EventEmitter,i=n(1),s=n(49),a=function(){};"production"!==e.env.NODE_ENV&&(a=n(4)("sockjs-client:info-ajax")),i(r,o),r.prototype.close=function(){this.removeAllListeners(),this.xo.close()},t.exports=r}).call(e,n(3))},function(t,e,n){"use strict";function r(t){var e=this;i.call(this),this.ir=new a(t,s),this.ir.once("finish",function(t,n){e.ir=null,e.emit("message",JSON.stringify([t,n]))})}var o=n(1),i=n(5).EventEmitter,s=n(19),a=n(63);o(r,i),r.transportName="iframe-info-receiver",r.prototype.close=function(){this.ir&&(this.ir.close(),this.ir=null),this.removeAllListeners()},t.exports=r},function(t,e,n){"use strict";(function(e){t.exports=e.location||{origin:"http://localhost:80",protocol:"http:",host:"localhost",port:80,href:"http://localhost/",hash:""}}).call(e,n(2))},function(t,e,n){"use strict";(function(e,r){function o(t,e,n,r){l(t,e);var o=this;i.call(this),setTimeout(function(){o._start(t,e,n,r)},0)}var i=n(5).EventEmitter,s=n(1),a=n(12),c=n(8),u=e.XMLHttpRequest,l=function(){};"production"!==r.env.NODE_ENV&&(l=n(4)("sockjs-client:browser:xhr")),s(o,i),o.prototype._start=function(t,e,n,r){var i=this;try{this.xhr=new u}catch(t){}if(!this.xhr)return l("no xhr"),this.emit("finish",0,"no xhr support"),void this._cleanup();e=c.addQuery(e,"t="+ +new Date),this.unloadRef=a.unloadAdd(function(){l("unload cleanup"),i._cleanup(!0)});try{this.xhr.open(t,e,!0),this.timeout&&"timeout"in this.xhr&&(this.xhr.timeout=this.timeout,this.xhr.ontimeout=function(){l("xhr timeout"),i.emit("finish",0,""),i._cleanup(!1)})}catch(t){return l("exception",t),this.emit("finish",0,""),void this._cleanup(!1)}if(r&&r.noCredentials||!o.supportsCORS||(l("withCredentials"),this.xhr.withCredentials=!0),r&&r.headers)for(var s in r.headers)this.xhr.setRequestHeader(s,r.headers[s]);this.xhr.onreadystatechange=function(){if(i.xhr){var t,e,n=i.xhr;switch(l("readyState",n.readyState),n.readyState){case 3:try{e=n.status,t=n.responseText}catch(t){}l("status",e),1223===e&&(e=204),200===e&&t&&t.length>0&&(l("chunk"),i.emit("chunk",e,t));break;case 4:e=n.status,l("status",e),1223===e&&(e=204),12005!==e&&12029!==e||(e=0),l("finish",e,n.responseText),i.emit("finish",e,n.responseText),i._cleanup(!1)}}};try{i.xhr.send(n)}catch(t){i.emit("finish",0,""),i._cleanup(!1)}},o.prototype._cleanup=function(t){if(l("cleanup"),this.xhr){if(this.removeAllListeners(),a.unloadDel(this.unloadRef),this.xhr.onreadystatechange=function(){},this.xhr.ontimeout&&(this.xhr.ontimeout=null),t)try{this.xhr.abort()}catch(t){}this.unloadRef=this.xhr=null}},o.prototype.close=function(){l("close"),this._cleanup(!0)},o.enabled=!!u;var f=["Active"].concat("Object").join("X");!o.enabled&&f in e&&(l("overriding xmlhttprequest"),u=function(){try{return new e[f]("Microsoft.XMLHTTP")}catch(t){return null}},o.enabled=!!new u);var p=!1;try{p="withCredentials"in new u}catch(t){}o.supportsCORS=p,t.exports=o}).call(e,n(2),n(3))},function(t,e,n){(function(e){t.exports=e.EventSource}).call(e,n(2))},function(t,e,n){"use strict";function r(t){if(!r.enabled())throw new Error("Transport created when disabled");i.call(this,t,"/eventsource",s,a)}var o=n(1),i=n(13),s=n(195),a=n(28),c=n(67);o(r,i),r.enabled=function(){return!!c},r.transportName="eventsource",r.roundTrips=2,t.exports=r},function(t,e,n){"use strict";function r(t){if(!i.enabled)throw new Error("Transport created when disabled");a.call(this,t,"/htmlfile",i,s)}var o=n(1),i=n(196),s=n(19),a=n(13);o(r,a),r.enabled=function(t){return i.enabled&&t.sameOrigin},r.transportName="htmlfile",r.roundTrips=2,t.exports=r},function(t,e,n){"use strict";(function(e){function r(t,e,n){if(!r.enabled())throw new Error("Transport created when disabled");i.call(this);var o=this;this.origin=a.getOrigin(n),this.baseUrl=n,this.transUrl=e,this.transport=t,this.windowId=l.string(8);var s=a.addPath(n,"/iframe.html")+"#"+this.windowId;f(t,e,s),this.iframeObj=c.createIframe(s,function(t){f("err callback"),o.emit("close",1006,"Unable to load an iframe ("+t+")"),o.close()}),this.onmessageCallback=this._message.bind(this),u.attachEvent("message",this.onmessageCallback)}var o=n(1),i=n(5).EventEmitter,s=n(74),a=n(8),c=n(21),u=n(12),l=n(14),f=function(){};"production"!==e.env.NODE_ENV&&(f=n(4)("sockjs-client:transport:iframe")),o(r,i),r.prototype.close=function(){if(f("close"),this.removeAllListeners(),this.iframeObj){u.detachEvent("message",this.onmessageCallback);try{this.postMessage("c")}catch(t){}this.iframeObj.cleanup(),this.iframeObj=null,this.onmessageCallback=this.iframeObj=null}},r.prototype._message=function(t){if(f("message",t.data),!a.isOriginEqual(t.origin,this.origin))return void f("not same origin",t.origin,this.origin);var e;try{e=JSON.parse(t.data)}catch(e){return void f("bad json",t.data)}if(e.windowId!==this.windowId)return void f("mismatched window id",e.windowId,this.windowId);switch(e.type){case"s":this.iframeObj.loaded(),this.postMessage("s",JSON.stringify([s,this.transport,this.transUrl,this.baseUrl]));break;case"t":this.emit("message",e.data);break;case"c":var n;try{n=JSON.parse(e.data)}catch(t){return void f("bad json",e.data)}this.emit("close",n[0],n[1]),this.close()}},r.prototype.postMessage=function(t,e){f("postMessage",t,e),this.iframeObj.post(JSON.stringify({windowId:this.windowId,type:t,data:e||""}),this.origin)},r.prototype.send=function(t){f("send",t),this.postMessage("m",t)},r.enabled=function(){return c.iframeEnabled},r.transportName="iframe",r.roundTrips=2,t.exports=r}).call(e,n(3))},function(t,e,n){"use strict";(function(e){function r(t,e,n,r,o){var u=i.addPath(t,e);c(u);var l=this;s.call(this,t,n),this.poll=new a(r,u,o),this.poll.on("message",function(t){c("poll message",t),l.emit("message",t)}),this.poll.once("close",function(t,e){c("poll close",t,e),l.poll=null,l.emit("close",t,e),l.close()})}var o=n(1),i=n(8),s=n(193),a=n(194),c=function(){};"production"!==e.env.NODE_ENV&&(c=n(4)("sockjs-client:sender-receiver")),o(r,s),r.prototype.close=function(){s.prototype.close.call(this),c("close"),this.removeAllListeners(),this.poll&&(this.poll.abort(),this.poll=null)},t.exports=r}).call(e,n(3))},function(t,e,n){"use strict";function r(t){if(!a.enabled)throw new Error("Transport created when disabled");i.call(this,t,"/xhr_streaming",s,a)}var o=n(1),i=n(13),s=n(27),a=n(48);o(r,i),r.enabled=function(t){return!t.cookie_needed&&!t.nullOrigin&&(a.enabled&&t.sameScheme)},r.transportName="xdr-streaming",r.roundTrips=2,t.exports=r},function(t,e,n){"use strict";function r(t){if(!c.enabled&&!a.enabled)throw new Error("Transport created when disabled");i.call(this,t,"/xhr",s,a)}var o=n(1),i=n(13),s=n(27),a=n(28),c=n(19);o(r,i),r.enabled=function(t){return!t.nullOrigin&&(!(!c.enabled||!t.sameOrigin)||a.enabled)},r.transportName="xhr-polling",r.roundTrips=2,t.exports=r},function(t,e){t.exports="1.6.0"},,,function(t,e,n){"use strict";(function(e){function r(t){return(t||"").toString().replace(h,"")}function o(t){var n;n="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};var r=n.location||{};t=t||r;var o,i={},s=typeof t;if("blob:"===t.protocol)i=new c(unescape(t.pathname),{});else if("string"===s){i=new c(t,{});for(o in w)delete i[o]}else if("object"===s){for(o in t)o in w||(i[o]=t[o]);void 0===i.slashes&&(i.slashes=m.test(t.href))}return i}function i(t){return"file:"===t||"ftp:"===t||"http:"===t||"https:"===t||"ws:"===t||"wss:"===t}function s(t,e){t=r(t),t=t.replace(d,""),e=e||{};var n,o=y.exec(t),s=o[1]?o[1].toLowerCase():"",a=!!o[2],c=!!o[3],u=0;return a?c?(n=o[2]+o[3]+o[4],u=o[2].length+o[3].length):(n=o[2]+o[4],u=o[2].length):c?(n=o[3]+o[4],u=o[3].length):n=o[4],"file:"===s?u>=2&&(n=n.slice(2)):i(s)?n=o[4]:s?a&&(n=n.slice(2)):u>=2&&i(e.protocol)&&(n=o[4]),{protocol:s,slashes:a||i(s),slashesCount:u,rest:n}}function a(t,e){if(""===t)return e;for(var n=(e||"/").split("/").slice(0,-1).concat(t.split("/")),r=n.length,o=n[r-1],i=!1,s=0;r--;)"."===n[r]?n.splice(r,1):".."===n[r]?(n.splice(r,1),s++):s&&(0===r&&(i=!0),n.splice(r,1),s--);return i&&n.unshift(""),"."!==o&&".."!==o||n.push(""),n.join("/")}function c(t,e,n){if(t=r(t),t=t.replace(d,""),!(this instanceof c))return new c(t,e,n);var u,l,h,m,v,y,w=b.slice(),x=typeof e,C=this,E=0;for("object"!==x&&"string"!==x&&(n=e,e=null),n&&"function"!=typeof n&&(n=p.parse),e=o(e),l=s(t||"",e),u=!l.protocol&&!l.slashes,C.slashes=l.slashes||u&&e.slashes,C.protocol=l.protocol||e.protocol||"",t=l.rest,("file:"===l.protocol&&(2!==l.slashesCount||g.test(t))||!l.slashes&&(l.protocol||l.slashesCount<2||!i(C.protocol)))&&(w[3]=[/(.*)/,"pathname"]);E<w.length;E++)m=w[E],"function"!=typeof m?(h=m[0],y=m[1],h!==h?C[y]=t:"string"==typeof h?~(v="@"===h?t.lastIndexOf(h):t.indexOf(h))&&("number"==typeof m[2]?(C[y]=t.slice(0,v),t=t.slice(v+m[2])):(C[y]=t.slice(v),t=t.slice(0,v))):(v=h.exec(t))&&(C[y]=v[1],t=t.slice(0,v.index)),C[y]=C[y]||(u&&m[3]?e[y]||"":""),m[4]&&(C[y]=C[y].toLowerCase())):t=m(t,C);n&&(C.query=n(C.query)),u&&e.slashes&&"/"!==C.pathname.charAt(0)&&(""!==C.pathname||""!==e.pathname)&&(C.pathname=a(C.pathname,e.pathname)),"/"!==C.pathname.charAt(0)&&i(C.protocol)&&(C.pathname="/"+C.pathname),f(C.port,C.protocol)||(C.host=C.hostname,C.port=""),C.username=C.password="",C.auth&&(v=C.auth.indexOf(":"),~v?(C.username=C.auth.slice(0,v),C.username=encodeURIComponent(decodeURIComponent(C.username)),C.password=C.auth.slice(v+1),C.password=encodeURIComponent(decodeURIComponent(C.password))):C.username=encodeURIComponent(decodeURIComponent(C.auth)),C.auth=C.password?C.username+":"+C.password:C.username),C.origin="file:"!==C.protocol&&i(C.protocol)&&C.host?C.protocol+"//"+C.host:"null",C.href=C.toString()}function u(t,e,n){var r=this;switch(t){case"query":"string"==typeof e&&e.length&&(e=(n||p.parse)(e)),r[t]=e;break;case"port":r[t]=e,f(e,r.protocol)?e&&(r.host=r.hostname+":"+e):(r.host=r.hostname,r[t]="");break;case"hostname":r[t]=e,r.port&&(e+=":"+r.port),r.host=e;break;case"host":r[t]=e,v.test(e)?(e=e.split(":"),r.port=e.pop(),r.hostname=e.join(":")):(r.hostname=e,r.port="");break;case"protocol":r.protocol=e.toLowerCase(),r.slashes=!n;break;case"pathname":case"hash":if(e){var o="pathname"===t?"/":"#";r[t]=e.charAt(0)!==o?o+e:e}else r[t]=e;break;case"username":case"password":r[t]=encodeURIComponent(e);break;case"auth":var s=e.indexOf(":");~s?(r.username=e.slice(0,s),r.username=encodeURIComponent(decodeURIComponent(r.username)),r.password=e.slice(s+1),r.password=encodeURIComponent(decodeURIComponent(r.password))):r.username=encodeURIComponent(decodeURIComponent(e))}for(var a=0;a<b.length;a++){var c=b[a];c[4]&&(r[c[1]]=r[c[1]].toLowerCase())}return r.auth=r.password?r.username+":"+r.password:r.username,r.origin="file:"!==r.protocol&&i(r.protocol)&&r.host?r.protocol+"//"+r.host:"null",r.href=r.toString(),r}function l(t){t&&"function"==typeof t||(t=p.stringify);var e,n=this,r=n.host,o=n.protocol;o&&":"!==o.charAt(o.length-1)&&(o+=":");var s=o+(n.protocol&&n.slashes||i(n.protocol)?"//":"");return n.username?(s+=n.username,n.password&&(s+=":"+n.password),s+="@"):n.password?(s+=":"+n.password,s+="@"):"file:"!==n.protocol&&i(n.protocol)&&!r&&"/"!==n.pathname&&(s+="@"),(":"===r[r.length-1]||v.test(n.hostname)&&!n.port)&&(r+=":"),s+=r+n.pathname,e="object"==typeof n.query?t(n.query):n.query,e&&(s+="?"!==e.charAt(0)?"?"+e:e),n.hash&&(s+=n.hash),s}var f=n(180),p=n(179),h=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,d=/[\n\r\t]/g,m=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,v=/:\d+$/,y=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,g=/^[a-zA-Z]:/,b=[["#","hash"],["?","query"],function(t,e){return i(e.protocol)?t.replace(/\\/g,"/"):t},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],w={hash:1,query:1};c.prototype={set:u,toString:l},c.extractProtocol=s,c.location=o,c.trimLeft=r,c.qs=p,t.exports=c}).call(e,n(2))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.interceptor=e.timeoutHandler=e.wsClient=void 0;var r=n(144),o=function(t){return t&&t.__esModule?t:{default:t}}(r),i=n(146),s=(n(35),n(34),n(36)),a=n(9),c=function(t){return o.default.setPlatformDefaultClient(i.websocket),o.default};e.wsClient=c,e.timeoutHandler=s,e.interceptor=a},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";var r;!function(o){var i;void 0!==(r=function(t){function e(){return o.apply(i,arguments)}var r,o,s;return r=n(11),e.setDefaultClient=function(t){o=t},e.getDefaultClient=function(){return o},e.resetDefaultClient=function(){o=s},e.setPlatformDefaultClient=function(t){o=s=t},r(e)}.call(e,n,e,t))&&(t.exports=r)}(n(0))},function(t,e,n){"use strict";var r;!function(o){void 0!==(r=function(t){function e(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t,e){return e=16*Math.random(),("y"==t?3&e|8:0|e).toString(16)})}function r(t,e){if(t){if(!e)return t;for(var n in t)t.hasOwnProperty(n)&&void 0===e[n]&&(e[n]=t[n])}return e||{}}var o=n(181),i=function t(e,n){var r=this;n=n||{};var i,s=n.vertxbus_ping_interval||5e3;this.sockJSConn=new o(e,null,n),this.state=t.CONNECTING,this.handlers={},this.replyHandlers={},this.defaultHeaders=null,this.onerror=function(t){};var a=function(){r.sockJSConn.send(JSON.stringify({type:"ping"}))};this.sockJSConn.onopen=function(){a(),i=setInterval(a,s),r.state=t.OPEN,r.onopen&&r.onopen()},this.sockJSConn.onclose=function(e){r.state=t.CLOSED,i&&clearInterval(i),r.onclose&&r.onclose(e)},this.sockJSConn.onmessage=function(t){var e=JSON.parse(t.data);if(e.replyAddress&&Object.defineProperty(e,"reply",{value:function(t,n,o){r.send(e.replyAddress,t,n,o)}}),r.handlers[e.address])for(var n=r.handlers[e.address],o=0;o<n.length;o++)"err"===e.type?n[o]({failureCode:e.failureCode,failureType:e.failureType,message:e.message}):n[o](null,e);else if(r.replyHandlers[e.address]){var i=r.replyHandlers[e.address];delete r.replyHandlers[e.address],"err"===e.type?i({failureCode:e.failureCode,failureType:e.failureType,message:e.message}):i(null,e)}else"err"===e.type&&r.onerror(e)}};return i.prototype.send=function(t,n,o,s){if(this.state!=i.OPEN)throw new Error("INVALID_STATE_ERR");"function"==typeof o&&(s=o,o={});var a={type:"send",address:t,headers:r(this.defaultHeaders,o),body:n};if(s){var c=e();a.replyAddress=c,this.replyHandlers[c]=s}this.sockJSConn.send(JSON.stringify(a))},i.prototype.publish=function(t,e,n){if(this.state!=i.OPEN)throw new Error("INVALID_STATE_ERR");this.sockJSConn.send(JSON.stringify({type:"publish",address:t,headers:r(this.defaultHeaders,n),body:e}))},i.prototype.registerHandler=function(t,e,n){if(this.state!=i.OPEN)throw new Error("INVALID_STATE_ERR");"function"==typeof e&&(n=e,e={}),this.handlers[t]||(this.handlers[t]=[],this.sockJSConn.send(JSON.stringify({type:"register",address:t,headers:r(this.defaultHeaders,e)}))),this.handlers[t].push(n)},i.prototype.unregisterHandler=function(t,e,n){if(this.state!=i.OPEN)throw new Error("INVALID_STATE_ERR");var o=this.handlers[t];if(o){"function"==typeof e&&(n=e,e={});var s=o.indexOf(n);-1!=s&&(o.splice(s,1),0===o.length&&(this.sockJSConn.send(JSON.stringify({type:"unregister",address:t,headers:r(this.defaultHeaders,e)})),delete this.handlers[t]))}},i.prototype.close=function(){this.state=i.CLOSING,this.sockJSConn.close()},i.CONNECTING=0,i.OPEN=1,i.CLOSING=2,i.CLOSED=3,i}.call(e,n,e,t))&&(t.exports=r)}(n(0))},function(t,e,n){"use strict";var r;!function(o,i){void 0!==(r=function(t){function e(t){var n=a.find(function(e){return-1!=e.connectionPath.indexOf(t.path)}),r=void 0;if(n)r=n.ebInstance;else{r=new i(t.path);var o={connectionPath:t.path,ebInstance:r,reconnectAttempt:0,maxReconnectAttempt:null,timedOut:!1,readyState:WebSocket.CONNECTING};a.push(o);var p=r,h=setTimeout(function(){o.timedOut=!0,p.close(),o.timedOut=!1},c);r.onopen=function(){clearTimeout(h),o.readyState=WebSocket.OPEN,o.reconnectAttempt=0,s.length>0&&s.forEach(function(t){-1==r.sockJSConn.url.indexOf(t.gateway)||t.fulfill||("send"==t.type&&(r.send(t.channel,t.body,t.headers,t.replyHandler),t.fulfill=!0),"register"==t.type&&(r.registerHandler(t.channel,t.headers,t.replyHandler),t.fulfill=!0))})},r.onclose=function(){var n=a.findIndex(function(e){return-1!=e.connectionPath.indexOf(t.path)});-1!=n&&a.splice(n,1),clearTimeout(i),r=null,o.readyState=WebSocket.CONNECTING;var i=u*Math.pow(f,o.reconnectAttempt);setTimeout(function(){o.reconnectAttempt++,e(t)},i>l?l:i)}}return r}var r,o,i;o=n(11),r=n(18),i=n(145);var s=[],a=[],c=3e3,u=1e3,l=3e4,f=1.5,p=o(function(t){return r.promise(function(n,r){function o(t,e){t?n("TIMEOUT"==t.failureType?{entity:{code:7100}}:{entity:{code:99999}}):(c.address=e.address,c.type=e.type,c.entity=e.body,n(c))}-1!=t.path.indexOf("?")&&(t.path=t.path.substring(0,t.path.indexOf("?"))),t.path=t.path.replace(/\/ /,"").trim();var a=e(t),c={request:t},u={},l=JSON.parse(t.entity);if(a.state==i.CONNECTING){var f={gateway:t.path,type:"send",channel:t.channel,headers:u,body:l,replyHandler:o};s.push(f)}else a.send(t.channel,l,u,o)})}),h=function(t){return t.register=function(e,n,r){if("function"==typeof n&&(r=n,n={}),t.state==i.CONNECTING){var o={gateway:t.sockJSConn.url,type:"register",channel:e,headers:n,body:null,replyHandler:r};s.push(o)}else t.registerHandler(e,n,r)},t.unregister=function(e,n,r){t.unregisterHandler(e,n,r)},t};return p.getInstanceFromConnectionPool=function(t){if(!t&&!t.startsWith("http:")&&!t.startsWith("https:"))throw new Error("param 0 of getInstanceFromConnectionPool is required.");-1!=t.indexOf("?")&&(t=t.substring(0,t.indexOf("?"))),t=t.replace(/\/ /,"").trim();var n=a.find(function(e){return-1!=e.connectionPath.indexOf(t)}),r=void 0;return r=n?n.ebInstance:e({path:t}),h(r)},{websocket:p}}.call(e,n,e,t))&&(t.exports=r)}(n(0),"undefined"!=typeof window&&window)},,,,,,,,,,,,,,,,,function(t,e,n){"use strict";function r(t){function e(t){for(var e=0,n=0;n<t.length;n++)e=(e<<5)-e+t.charCodeAt(n),e|=0;return r.colors[Math.abs(e)%r.colors.length]}function r(t){function n(){if(n.enabled){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];var i=n,a=Number(new Date),c=a-(s||a);i.diff=c,i.prev=s,i.curr=a,s=a,e[0]=r.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");var u=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,function(t,n){if("%%"===t)return t;u++;var o=r.formatters[n];if("function"==typeof o){var s=e[u];t=o.call(i,s),e.splice(u,1),u--}return t}),r.formatArgs.call(i,e);(i.log||r.log).apply(i,e)}}var s;return n.namespace=t,n.enabled=r.enabled(t),n.useColors=r.useColors(),n.color=e(t),n.destroy=o,n.extend=i,"function"==typeof r.init&&r.init(n),r.instances.push(n),n}function o(){var t=r.instances.indexOf(this);return-1!==t&&(r.instances.splice(t,1),!0)}function i(t,e){return r(this.namespace+(void 0===e?":":e)+t)}function s(t){r.save(t),r.names=[],r.skips=[];var e,n=("string"==typeof t?t:"").split(/[\s,]+/),o=n.length;for(e=0;e<o;e++)n[e]&&(t=n[e].replace(/\*/g,".*?"),"-"===t[0]?r.skips.push(new RegExp("^"+t.substr(1)+"$")):r.names.push(new RegExp("^"+t+"$")));for(e=0;e<r.instances.length;e++){var i=r.instances[e];i.enabled=r.enabled(i.namespace)}}function a(){r.enable("")}function c(t){if("*"===t[t.length-1])return!0;var e,n;for(e=0,n=r.skips.length;e<n;e++)if(r.skips[e].test(t))return!1;for(e=0,n=r.names.length;e<n;e++)if(r.names[e].test(t))return!0;return!1}function u(t){return t instanceof Error?t.stack||t.message:t}return r.debug=r,r.default=r,r.coerce=u,r.disable=a,r.enable=s,r.enabled=c,r.humanize=n(178),Object.keys(t).forEach(function(e){r[e]=t[e]}),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=e,r.enable(r.load()),r}t.exports=r},,,,,,,,,,,,,,,function(t,e){function n(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var n=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return n*f;case"weeks":case"week":case"w":return n*l;case"days":case"day":case"d":return n*u;case"hours":case"hour":case"hrs":case"hr":case"h":return n*c;case"minutes":case"minute":case"mins":case"min":case"m":return n*a;case"seconds":case"second":case"secs":case"sec":case"s":return n*s;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function r(t){var e=Math.abs(t);return e>=u?Math.round(t/u)+"d":e>=c?Math.round(t/c)+"h":e>=a?Math.round(t/a)+"m":e>=s?Math.round(t/s)+"s":t+"ms"}function o(t){var e=Math.abs(t);return e>=u?i(t,e,u,"day"):e>=c?i(t,e,c,"hour"):e>=a?i(t,e,a,"minute"):e>=s?i(t,e,s,"second"):t+" ms"}function i(t,e,n,r){var o=e>=1.5*n;return Math.round(t/n)+" "+r+(o?"s":"")}var s=1e3,a=60*s,c=60*a,u=24*c,l=7*u,f=365.25*u;t.exports=function(t,e){e=e||{};var i=typeof t;if("string"===i&&t.length>0)return n(t);if("number"===i&&isFinite(t))return e.long?o(t):r(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},function(t,e,n){"use strict";function r(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(t){return null}}function o(t){try{return encodeURIComponent(t)}catch(t){return null}}function i(t){for(var e,n=/([^=?#&]+)=?([^&]*)/g,o={};e=n.exec(t);){var i=r(e[1]),s=r(e[2]);null===i||null===s||i in o||(o[i]=s)}return o}function s(t,e){e=e||"";var n,r,i=[];"string"!=typeof e&&(e="?");for(r in t)if(c.call(t,r)){if(n=t[r],n||null!==n&&n!==a&&!isNaN(n)||(n=""),r=o(r),n=o(n),null===r||null===n)continue;i.push(r+"="+n)}return i.length?e+i.join("&"):""}var a,c=Object.prototype.hasOwnProperty;e.stringify=s,e.parse=i},function(t,e,n){"use strict";t.exports=function(t,e){if(e=e.split(":")[0],!(t=+t))return!1;switch(e){case"http":case"ws":return 80!==t;case"https":case"wss":return 443!==t;case"ftp":return 21!==t;case"gopher":return 70!==t;case"file":return!1}return 0!==t}},function(t,e,n){"use strict";(function(e){var r=n(190);t.exports=n(188)(r),"_sockjs_onload"in e&&setTimeout(e._sockjs_onload,1)}).call(e,n(2))},function(t,e,n){"use strict";function r(){i.call(this),this.initEvent("close",!1,!1),this.wasClean=!1,this.code=0,this.reason=""}var o=n(1),i=n(46);o(r,i),t.exports=r},function(t,e,n){"use strict";function r(t){i.call(this),this.initEvent("message",!1,!1),this.data=t}var o=n(1),i=n(46);o(r,i),t.exports=r},function(t,e,n){"use strict";function r(t){this._transport=t,t.on("message",this._transportMessage.bind(this)),t.on("close",this._transportClose.bind(this))}var o=n(21);r.prototype._transportClose=function(t,e){o.postMessage("c",JSON.stringify([t,e]))},r.prototype._transportMessage=function(t){o.postMessage("t",t)},r.prototype._send=function(t){this._transport.send(t)},r.prototype._close=function(){this._transport.close(),this._transport.removeAllListeners()},t.exports=r},function(t,e,n){"use strict";(function(e){var r=n(8),o=n(12),i=n(184),s=n(64),a=n(21),c=n(65),u=function(){};"production"!==e.env.NODE_ENV&&(u=n(4)("sockjs-client:iframe-bootstrap")),t.exports=function(t,e){var n={};e.forEach(function(t){t.facadeTransport&&(n[t.facadeTransport.transportName]=t.facadeTransport)}),n[s.transportName]=s;var l;t.bootstrap_iframe=function(){var e;a.currentWindowId=c.hash.slice(1);var s=function(o){if(o.source===parent&&(void 0===l&&(l=o.origin),o.origin===l)){var s;try{s=JSON.parse(o.data)}catch(t){return void u("bad json",o.data)}if(s.windowId===a.currentWindowId)switch(s.type){case"s":var f;try{f=JSON.parse(s.data)}catch(t){u("bad json",s.data);break}var p=f[0],h=f[1],d=f[2],m=f[3];if(u(p,h,d,m),p!==t.version)throw new Error('Incompatible SockJS! Main site uses: "'+p+'", the iframe: "'+t.version+'".');if(!r.isOriginEqual(d,c.href)||!r.isOriginEqual(m,c.href))throw new Error("Can't connect to different domain from within an iframe. ("+c.href+", "+d+", "+m+")");e=new i(new n[h](d,m));break;case"m":e._send(s.data);break;case"c":e&&e._close(),e=null}}};o.attachEvent("message",s),a.postMessage("s")}}}).call(e,n(3))},function(t,e,n){"use strict";(function(e,r){function o(t,e){var n=this;i.call(this);var o=function(){var r=n.ifr=new c(u.transportName,e,t);r.once("message",function(t){if(t){var e;try{e=JSON.parse(t)}catch(e){return l("bad json",t),n.emit("finish"),void n.close()}var r=e[0],o=e[1];n.emit("finish",r,o)}n.close()}),r.once("close",function(){n.emit("finish"),n.close()})};r.document.body?o():a.attachEvent("load",o)}var i=n(5).EventEmitter,s=n(1),a=n(12),c=n(70),u=n(64),l=function(){};"production"!==e.env.NODE_ENV&&(l=n(4)("sockjs-client:info-iframe")),s(o,i),o.enabled=function(){return c.enabled()},o.prototype.close=function(){this.ifr&&this.ifr.close(),this.removeAllListeners(),this.ifr=null},t.exports=o}).call(e,n(3),n(2))},function(t,e,n){"use strict";(function(e){function r(t,e){h(t);var n=this;o.call(this),setTimeout(function(){n.doXhr(t,e)},0)}var o=n(5).EventEmitter,i=n(1),s=n(8),a=n(48),c=n(28),u=n(19),l=n(199),f=n(186),p=n(63),h=function(){};"production"!==e.env.NODE_ENV&&(h=n(4)("sockjs-client:info-receiver")),i(r,o),r._getReceiver=function(t,e,n){return n.sameOrigin?new p(e,u):c.enabled?new p(e,c):a.enabled&&n.sameScheme?new p(e,a):f.enabled()?new f(t,e):new p(e,l)},r.prototype.doXhr=function(t,e){var n=this,o=s.addPath(t,"/info");h("doXhr",o),this.xo=r._getReceiver(t,o,e),this.timeoutRef=setTimeout(function(){h("timeout"),n._cleanup(!1),n.emit("finish")},r.timeout),this.xo.once("finish",function(t,e){h("finish",t,e),n._cleanup(!0),n.emit("finish",t,e)})},r.prototype._cleanup=function(t){h("_cleanup"),clearTimeout(this.timeoutRef),this.timeoutRef=null,!t&&this.xo&&this.xo.close(),this.xo=null},r.prototype.close=function(){h("close"),this.removeAllListeners(),this._cleanup(!1)},r.timeout=8e3,t.exports=r}).call(e,n(3))},function(t,e,n){"use strict";(function(e,r){function o(t,e,n){if(!(this instanceof o))return new o(t,e,n);if(arguments.length<1)throw new TypeError("Failed to construct 'SockJS: 1 argument required, but only 0 present");y.call(this),this.readyState=o.CONNECTING,this.extensions="",this.protocol="",n=n||{},n.protocols_whitelist&&m.warn("'protocols_whitelist' is DEPRECATED. Use 'transports' instead."),this._transportsWhitelist=n.transports,this._transportOptions=n.transportOptions||{},this._timeout=n.timeout||0;var r=n.sessionId||8;if("function"==typeof r)this._generateSessionId=r;else{if("number"!=typeof r)throw new TypeError("If sessionId is used in the options, it needs to be a number or a function.");this._generateSessionId=function(){return c.string(r)}}this._server=n.server||c.numberString(1e3);var i=new s(t);if(!i.host||!i.protocol)throw new SyntaxError("The URL '"+t+"' is invalid");if(i.hash)throw new SyntaxError("The URL must not contain a fragment");if("http:"!==i.protocol&&"https:"!==i.protocol)throw new SyntaxError("The URL's scheme must be either 'http:' or 'https:'. '"+i.protocol+"' is not allowed.");var a="https:"===i.protocol;if("https:"===g.protocol&&!a&&!l.isLoopbackAddr(i.hostname))throw new Error("SecurityError: An insecure SockJS connection may not be initiated from a page loaded over HTTPS");e?Array.isArray(e)||(e=[e]):e=[];var u=e.sort();u.forEach(function(t,e){if(!t)throw new SyntaxError("The protocols entry '"+t+"' is invalid.");if(e<u.length-1&&t===u[e+1])throw new SyntaxError("The protocols entry '"+t+"' is duplicated.")});var f=l.getOrigin(g.href);this._origin=f?f.toLowerCase():null,i.set("pathname",i.pathname.replace(/\/+$/,"")),this.url=i.href,C("using url",this.url),this._urlInfo={nullOrigin:!d.hasDomain(),sameOrigin:l.isOriginEqual(this.url,g.href),sameScheme:l.isSchemeEqual(this.url,g.href)},this._ir=new x(this.url,this._urlInfo),this._ir.once("finish",this._receiveInfo.bind(this))}function i(t){return 1e3===t||t>=3e3&&t<=4999}n(189);var s=n(77),a=n(1),c=n(14),u=n(204),l=n(8),f=n(12),p=n(206),h=n(49),d=n(20),m=n(205),v=n(46),y=n(62),g=n(65),b=n(182),w=n(183),x=n(187),C=function(){};"production"!==e.env.NODE_ENV&&(C=n(4)("sockjs-client:main"));var E;a(o,y),o.prototype.close=function(t,e){if(t&&!i(t))throw new Error("InvalidAccessError: Invalid code");if(e&&e.length>123)throw new SyntaxError("reason argument has an invalid length");if(this.readyState!==o.CLOSING&&this.readyState!==o.CLOSED){this._close(t||1e3,e||"Normal closure",!0)}},o.prototype.send=function(t){if("string"!=typeof t&&(t=""+t),this.readyState===o.CONNECTING)throw new Error("InvalidStateError: The connection has not been established yet");this.readyState===o.OPEN&&this._transport.send(u.quote(t))},o.version=n(74),o.CONNECTING=0,o.OPEN=1,o.CLOSING=2,o.CLOSED=3,o.prototype._receiveInfo=function(t,e){if(C("_receiveInfo",e),this._ir=null,!t)return void this._close(1002,"Cannot connect to server");this._rto=this.countRTO(e),this._transUrl=t.base_url?t.base_url:this.url,t=h.extend(t,this._urlInfo),C("info",t);var n=E.filterToEnabled(this._transportsWhitelist,t);this._transports=n.main,C(this._transports.length+" enabled transports"),this._connect()},o.prototype._connect=function(){for(var t=this._transports.shift();t;t=this._transports.shift()){if(C("attempt",t.transportName),t.needBody&&(!r.document.body||void 0!==r.document.readyState&&"complete"!==r.document.readyState&&"interactive"!==r.document.readyState))return C("waiting for body"),this._transports.unshift(t),void f.attachEvent("load",this._connect.bind(this));var e=Math.max(this._timeout,this._rto*t.roundTrips||5e3);this._transportTimeoutId=setTimeout(this._transportTimeout.bind(this),e),C("using timeout",e);var n=l.addPath(this._transUrl,"/"+this._server+"/"+this._generateSessionId()),o=this._transportOptions[t.transportName];C("transport url",n);var i=new t(n,this._transUrl,o);return i.on("message",this._transportMessage.bind(this)),i.once("close",this._transportClose.bind(this)),i.transportName=t.transportName,void(this._transport=i)}this._close(2e3,"All transports failed",!1)},o.prototype._transportTimeout=function(){C("_transportTimeout"),this.readyState===o.CONNECTING&&(this._transport&&this._transport.close(),this._transportClose(2007,"Transport timed out"))},o.prototype._transportMessage=function(t){C("_transportMessage",t);var e,n=this,r=t.slice(0,1),o=t.slice(1);switch(r){case"o":return void this._open();case"h":return this.dispatchEvent(new v("heartbeat")),void C("heartbeat",this.transport)}if(o)try{e=JSON.parse(o)}catch(t){C("bad json",o)}if(void 0===e)return void C("empty payload",o);switch(r){case"a":Array.isArray(e)&&e.forEach(function(t){C("message",n.transport,t),n.dispatchEvent(new w(t))});break;case"m":C("message",this.transport,e),this.dispatchEvent(new w(e));break;case"c":Array.isArray(e)&&2===e.length&&this._close(e[0],e[1],!0)}},o.prototype._transportClose=function(t,e){if(C("_transportClose",this.transport,t,e),this._transport&&(this._transport.removeAllListeners(),this._transport=null,this.transport=null),!i(t)&&2e3!==t&&this.readyState===o.CONNECTING)return void this._connect();this._close(t,e)},o.prototype._open=function(){C("_open",this._transport&&this._transport.transportName,this.readyState),this.readyState===o.CONNECTING?(this._transportTimeoutId&&(clearTimeout(this._transportTimeoutId),this._transportTimeoutId=null),this.readyState=o.OPEN,this.transport=this._transport.transportName,this.dispatchEvent(new v("open")),C("connected",this.transport)):this._close(1006,"Server lost session")},o.prototype._close=function(t,e,n){C("_close",this.transport,t,e,n,this.readyState);var r=!1;if(this._ir&&(r=!0,this._ir.close(),this._ir=null),this._transport&&(this._transport.close(),this._transport=null,this.transport=null),this.readyState===o.CLOSED)throw new Error("InvalidStateError: SockJS has already been closed");this.readyState=o.CLOSING,setTimeout(function(){this.readyState=o.CLOSED,r&&this.dispatchEvent(new v("error"));var i=new b("close");i.wasClean=n||!1,i.code=t||1e3,i.reason=e,this.dispatchEvent(i),this.onmessage=this.onclose=this.onerror=null,C("disconnected")}.bind(this),0)},o.prototype.countRTO=function(t){return t>100?4*t:300+t},t.exports=function(t){return E=p(t),n(185)(o,t),o}}).call(e,n(3),n(2))},function(t,e,n){"use strict";function r(t){var e=+t;return e!==e?e=0:0!==e&&e!==1/0&&e!==-1/0&&(e=(e>0||-1)*Math.floor(Math.abs(e))),e}function o(t){return t>>>0}function i(){}var s,a=Array.prototype,c=Object.prototype,u=Function.prototype,l=String.prototype,f=a.slice,p=c.toString,h=function(t){return"[object Function]"===c.toString.call(t)},d=function(t){return"[object Array]"===p.call(t)},m=function(t){return"[object String]"===p.call(t)},v=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{}),!0}catch(t){return!1}}();s=v?function(t,e,n,r){!r&&e in t||Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:!0,value:n})}:function(t,e,n,r){!r&&e in t||(t[e]=n)};var y=function(t,e,n){for(var r in e)c.hasOwnProperty.call(e,r)&&s(t,r,e[r],n)},g=function(t){if(null==t)throw new TypeError("can't convert "+t+" to object");return Object(t)};y(u,{bind:function(t){var e=this;if(!h(e))throw new TypeError("Function.prototype.bind called on incompatible "+e);for(var n=f.call(arguments,1),r=function(){if(this instanceof c){var r=e.apply(this,n.concat(f.call(arguments)));return Object(r)===r?r:this}return e.apply(t,n.concat(f.call(arguments)))},o=Math.max(0,e.length-n.length),s=[],a=0;a<o;a++)s.push("$"+a);var c=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this, arguments); }")(r);return e.prototype&&(i.prototype=e.prototype,c.prototype=new i,i.prototype=null),c}}),y(Array,{isArray:d});var b=Object("a"),w="a"!==b[0]||!(0 in b);y(a,{forEach:function(t){var e=g(this),n=w&&m(this)?this.split(""):e,r=arguments[1],o=-1,i=n.length>>>0;if(!h(t))throw new TypeError;for(;++o<i;)o in n&&t.call(r,n[o],o,e)}},!function(t){var e=!0,n=!0;return t&&(t.call("foo",function(t,n,r){"object"!=typeof r&&(e=!1)}),t.call([1],function(){n="string"==typeof this},"x")),!!t&&e&&n}(a.forEach));var x=Array.prototype.indexOf&&-1!==[0,1].indexOf(1,2);y(a,{indexOf:function(t){var e=w&&m(this)?this.split(""):g(this),n=e.length>>>0;if(!n)return-1;var o=0;for(arguments.length>1&&(o=r(arguments[1])),o=o>=0?o:Math.max(0,n+o);o<n;o++)if(o in e&&e[o]===t)return o;return-1}},x);var C=l.split;2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||"t"==="tesst".split(/(s)*/)[1]||4!=="test".split(/(?:)/,-1).length||"".split(/.?/).length||".".split(/()()/).length>1?function(){var t=void 0===/()??/.exec("")[1];l.split=function(e,n){var r=this;if(void 0===e&&0===n)return[];if("[object RegExp]"!==p.call(e))return C.call(this,e,n);var i,s,c,u,l=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.extended?"x":"")+(e.sticky?"y":""),h=0;for(e=new RegExp(e.source,f+"g"),r+="",t||(i=new RegExp("^"+e.source+"$(?!\\s)",f)),n=void 0===n?-1>>>0:o(n);(s=e.exec(r))&&!((c=s.index+s[0].length)>h&&(l.push(r.slice(h,s.index)),!t&&s.length>1&&s[0].replace(i,function(){for(var t=1;t<arguments.length-2;t++)void 0===arguments[t]&&(s[t]=void 0)}),s.length>1&&s.index<r.length&&a.push.apply(l,s.slice(1)),u=s[0].length,h=c,l.length>=n));)e.lastIndex===s.index&&e.lastIndex++;return h===r.length?!u&&e.test("")||l.push(""):l.push(r.slice(h)),l.length>n?l.slice(0,n):l}}():"0".split(void 0,0).length&&(l.split=function(t,e){return void 0===t&&0===e?[]:C.call(this,t,e)});var E=l.substr,_="".substr&&"b"!=="0b".substr(-1);y(l,{substr:function(t,e){return E.call(this,t<0&&(t=this.length+t)<0?0:t,e)}},_)},function(t,e,n){"use strict";t.exports=[n(200),n(202),n(72),n(68),n(47)(n(68)),n(69),n(47)(n(69)),n(73),n(201),n(47)(n(73)),n(192)]},function(t,e,n){"use strict";(function(e){var n=e.WebSocket||e.MozWebSocket;t.exports=n?function(t){return new n(t)}:void 0}).call(e,n(2))},function(t,e,n){"use strict";(function(e){function r(t){if(!r.enabled())throw new Error("Transport created when disabled");i.call(this,t,"/jsonp",a,s)}var o=n(1),i=n(71),s=n(197),a=n(198);o(r,i),r.enabled=function(){return!!e.document},r.transportName="jsonp-polling",r.roundTrips=1,r.needBody=!0,t.exports=r}).call(e,n(2))},function(t,e,n){"use strict";(function(e){function r(t,e){s(t),i.call(this),this.sendBuffer=[],this.sender=e,this.url=t}var o=n(1),i=n(5).EventEmitter,s=function(){};"production"!==e.env.NODE_ENV&&(s=n(4)("sockjs-client:buffered-sender")),o(r,i),r.prototype.send=function(t){s("send",t),this.sendBuffer.push(t),this.sendStop||this.sendSchedule()},r.prototype.sendScheduleWait=function(){s("sendScheduleWait");var t,e=this;this.sendStop=function(){s("sendStop"),e.sendStop=null,clearTimeout(t)},t=setTimeout(function(){s("timeout"),e.sendStop=null,e.sendSchedule()},25)},r.prototype.sendSchedule=function(){s("sendSchedule",this.sendBuffer.length);var t=this;if(this.sendBuffer.length>0){var e="["+this.sendBuffer.join(",")+"]";this.sendStop=this.sender(this.url,e,function(e){t.sendStop=null,e?(s("error",e),t.emit("close",e.code||1006,"Sending error: "+e),t.close()):t.sendScheduleWait()}),this.sendBuffer=[]}},r.prototype._cleanup=function(){s("_cleanup"),this.removeAllListeners()},r.prototype.close=function(){s("close"),this._cleanup(),this.sendStop&&(this.sendStop(),this.sendStop=null)},t.exports=r}).call(e,n(3))},function(t,e,n){"use strict";(function(e){function r(t,e,n){s(e),i.call(this),this.Receiver=t,this.receiveUrl=e,this.AjaxObject=n,this._scheduleReceiver()}var o=n(1),i=n(5).EventEmitter,s=function(){};"production"!==e.env.NODE_ENV&&(s=n(4)("sockjs-client:polling")),o(r,i),r.prototype._scheduleReceiver=function(){s("_scheduleReceiver");var t=this,e=this.poll=new this.Receiver(this.receiveUrl,this.AjaxObject);e.on("message",function(e){s("message",e),t.emit("message",e)}),e.once("close",function(n,r){s("close",n,r,t.pollIsClosing),t.poll=e=null,t.pollIsClosing||("network"===r?t._scheduleReceiver():(t.emit("close",n||1006,r),t.removeAllListeners()))})},r.prototype.abort=function(){s("abort"),this.removeAllListeners(),this.pollIsClosing=!0,this.poll&&this.poll.abort()},t.exports=r}).call(e,n(3))},function(t,e,n){"use strict";(function(e){function r(t){a(t),i.call(this);var e=this,n=this.es=new s(t);n.onmessage=function(t){a("message",t.data),e.emit("message",decodeURI(t.data))},n.onerror=function(t){a("error",n.readyState,t);var r=2!==n.readyState?"network":"permanent";e._cleanup(),e._close(r)}}var o=n(1),i=n(5).EventEmitter,s=n(67),a=function(){};"production"!==e.env.NODE_ENV&&(a=n(4)("sockjs-client:receiver:eventsource")),o(r,i),r.prototype.abort=function(){a("abort"),this._cleanup(),this._close("user")},r.prototype._cleanup=function(){a("cleanup");var t=this.es;t&&(t.onmessage=t.onerror=null,t.close(),this.es=null)},r.prototype._close=function(t){a("close",t);var e=this;setTimeout(function(){e.emit("close",null,t),e.removeAllListeners()},200)},t.exports=r}).call(e,n(3))},function(t,e,n){"use strict";(function(e,r){function o(t){l(t),c.call(this);var e=this;s.polluteGlobalNamespace(),this.id="a"+u.string(6),t=a.addQuery(t,"c="+decodeURIComponent(s.WPrefix+"."+this.id)),l("using htmlfile",o.htmlfileEnabled);var n=o.htmlfileEnabled?s.createHtmlfile:s.createIframe;r[s.WPrefix][this.id]={start:function(){l("start"),e.iframeObj.loaded()},message:function(t){l("message",t),e.emit("message",t)},stop:function(){l("stop"),e._cleanup(),e._close("network")}},this.iframeObj=n(t,function(){l("callback"),e._cleanup(),e._close("permanent")})}var i=n(1),s=n(21),a=n(8),c=n(5).EventEmitter,u=n(14),l=function(){};"production"!==e.env.NODE_ENV&&(l=n(4)("sockjs-client:receiver:htmlfile")),i(o,c),o.prototype.abort=function(){l("abort"),this._cleanup(),this._close("user")},o.prototype._cleanup=function(){l("_cleanup"),this.iframeObj&&(this.iframeObj.cleanup(),this.iframeObj=null),delete r[s.WPrefix][this.id]},o.prototype._close=function(t){l("_close",t),this.emit("close",null,t),this.removeAllListeners()},o.htmlfileEnabled=!1;var f=["Active"].concat("Object").join("X");if(f in r)try{o.htmlfileEnabled=!!new r[f]("htmlfile")}catch(t){}o.enabled=o.htmlfileEnabled||s.iframeEnabled,t.exports=o}).call(e,n(3),n(2))},function(t,e,n){"use strict";(function(e,r){function o(t){f(t);var e=this;l.call(this),i.polluteGlobalNamespace(),this.id="a"+s.string(6);var n=c.addQuery(t,"c="+encodeURIComponent(i.WPrefix+"."+this.id));r[i.WPrefix][this.id]=this._callback.bind(this),this._createScript(n),this.timeoutId=setTimeout(function(){f("timeout"),e._abort(new Error("JSONP script loaded abnormally (timeout)"))},o.timeout)}var i=n(21),s=n(14),a=n(20),c=n(8),u=n(1),l=n(5).EventEmitter,f=function(){};"production"!==e.env.NODE_ENV&&(f=n(4)("sockjs-client:receiver:jsonp")),u(o,l),o.prototype.abort=function(){if(f("abort"),r[i.WPrefix][this.id]){var t=new Error("JSONP user aborted read");t.code=1e3,this._abort(t)}},o.timeout=35e3,o.scriptErrorTimeout=1e3,o.prototype._callback=function(t){f("_callback",t),this._cleanup(),this.aborting||(t&&(f("message",t),this.emit("message",t)),this.emit("close",null,"network"),this.removeAllListeners())},o.prototype._abort=function(t){f("_abort",t),this._cleanup(),this.aborting=!0,this.emit("close",t.code,t.message),this.removeAllListeners()},o.prototype._cleanup=function(){if(f("_cleanup"),clearTimeout(this.timeoutId),this.script2&&(this.script2.parentNode.removeChild(this.script2),this.script2=null),this.script){var t=this.script;t.parentNode.removeChild(t),t.onreadystatechange=t.onerror=t.onload=t.onclick=null,this.script=null}delete r[i.WPrefix][this.id]},o.prototype._scriptError=function(){f("_scriptError");var t=this;this.errorTimer||(this.errorTimer=setTimeout(function(){t.loadedOkay||t._abort(new Error("JSONP script loaded abnormally (onerror)"))},o.scriptErrorTimeout))},o.prototype._createScript=function(t){f("_createScript",t);var e,n=this,o=this.script=r.document.createElement("script");if(o.id="a"+s.string(8),o.src=t,o.type="text/javascript",o.charset="UTF-8",o.onerror=this._scriptError.bind(this),o.onload=function(){f("onload"),n._abort(new Error("JSONP script loaded abnormally (onload)"))},o.onreadystatechange=function(){if(f("onreadystatechange",o.readyState),/loaded|closed/.test(o.readyState)){if(o&&o.htmlFor&&o.onclick){n.loadedOkay=!0;try{o.onclick()}catch(t){}}o&&n._abort(new Error("JSONP script loaded abnormally (onreadystatechange)"))}},void 0===o.async&&r.document.attachEvent)if(a.isOpera())e=this.script2=r.document.createElement("script"),e.text="try{var a = document.getElementById('"+o.id+"'); if(a)a.onerror();}catch(x){};",o.async=e.async=!1;else{try{o.htmlFor=o.id,o.event="onclick"}catch(t){}o.async=!0}void 0!==o.async&&(o.async=!0);var i=r.document.getElementsByTagName("head")[0];i.insertBefore(o,i.firstChild),e&&i.insertBefore(e,i.firstChild)},t.exports=o}).call(e,n(3),n(2))},function(t,e,n){"use strict";(function(e,r){function o(t){c("createIframe",t);try{return r.document.createElement('<iframe name="'+t+'">')}catch(n){var e=r.document.createElement("iframe");return e.name=t,e}}function i(){c("createForm"),u=r.document.createElement("form"),u.style.display="none",u.style.position="absolute",u.method="POST",u.enctype="application/x-www-form-urlencoded",u.acceptCharset="UTF-8",l=r.document.createElement("textarea"),l.name="d",u.appendChild(l),r.document.body.appendChild(u)}var s=n(14),a=n(8),c=function(){};"production"!==e.env.NODE_ENV&&(c=n(4)("sockjs-client:sender:jsonp"));var u,l;t.exports=function(t,e,n){c(t,e),u||i();var r="a"+s.string(8);u.target=r,u.action=a.addQuery(a.addPath(t,"/jsonp_send"),"i="+r);var f=o(r);f.id=r,f.style.display="none",u.appendChild(f);try{l.value=e}catch(t){}u.submit();var p=function(t){c("completed",r,t),f.onerror&&(f.onreadystatechange=f.onerror=f.onload=null,setTimeout(function(){c("cleaning up",r),f.parentNode.removeChild(f),f=null},500),l.value="",n(t))};return f.onerror=function(){c("onerror",r),p()},f.onload=function(){c("onload",r),p()},f.onreadystatechange=function(t){c("onreadystatechange",r,f.readyState,t),"complete"===f.readyState&&p()},function(){c("aborted",r),p(new Error("Aborted"))}}}).call(e,n(3),n(2))},function(t,e,n){"use strict";function r(){var t=this;o.call(this),this.to=setTimeout(function(){t.emit("finish",200,"{}")},r.timeout)}var o=n(5).EventEmitter;n(1)(r,o),r.prototype.close=function(){clearTimeout(this.to)},r.timeout=2e3,t.exports=r},function(t,e,n){"use strict";(function(e){function r(t,e,n){if(!r.enabled())throw new Error("Transport created when disabled");a.call(this),u("constructor",t);var s=this,l=i.addPath(t,"/websocket");l="https"===l.slice(0,5)?"wss"+l.slice(5):"ws"+l.slice(4),this.url=l,this.ws=new c(this.url,[],n),this.ws.onmessage=function(t){u("message event",t.data),s.emit("message",t.data)},this.unloadRef=o.unloadAdd(function(){u("unload"),s.ws.close()}),this.ws.onclose=function(t){u("close event",t.code,t.reason),s.emit("close",t.code,t.reason),s._cleanup()},this.ws.onerror=function(t){u("error event",t),s.emit("close",1006,"WebSocket connection broken"),s._cleanup()}}var o=n(12),i=n(8),s=n(1),a=n(5).EventEmitter,c=n(191),u=function(){};"production"!==e.env.NODE_ENV&&(u=n(4)("sockjs-client:websocket")),s(r,a),r.prototype.send=function(t){var e="["+t+"]";u("send",e),this.ws.send(e)},r.prototype.close=function(){u("close");var t=this.ws;this._cleanup(),t&&t.close()},r.prototype._cleanup=function(){u("_cleanup");var t=this.ws;t&&(t.onmessage=t.onclose=t.onerror=null),o.unloadDel(this.unloadRef),this.unloadRef=this.ws=null,this.removeAllListeners()},r.enabled=function(){return u("enabled"),!!c},r.transportName="websocket",r.roundTrips=2,t.exports=r}).call(e,n(3))},function(t,e,n){"use strict";function r(t){if(!c.enabled)throw new Error("Transport created when disabled");i.call(this,t,"/xhr",a,c)}var o=n(1),i=n(13),s=n(72),a=n(27),c=n(48);o(r,i),r.enabled=s.enabled,r.transportName="xdr-polling",r.roundTrips=2,t.exports=r},function(t,e,n){"use strict";(function(e){function r(t){if(!c.enabled&&!a.enabled)throw new Error("Transport created when disabled");i.call(this,t,"/xhr_streaming",s,a)}var o=n(1),i=n(13),s=n(27),a=n(28),c=n(19),u=n(20);o(r,i),r.enabled=function(t){return!t.nullOrigin&&(!u.isOpera()&&a.enabled)},r.transportName="xhr-streaming",r.roundTrips=2,r.needBody=!!e.document,t.exports=r}).call(e,n(2))},function(t,e,n){"use strict";(function(e){e.crypto&&e.crypto.getRandomValues?t.exports.randomBytes=function(t){var n=new Uint8Array(t);return e.crypto.getRandomValues(n),n}:t.exports.randomBytes=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=Math.floor(256*Math.random());return e}}).call(e,n(2))},function(t,e,n){"use strict";var r,o=/[\x00-\x1f\ud800-\udfff\ufffe\uffff\u0300-\u0333\u033d-\u0346\u034a-\u034c\u0350-\u0352\u0357-\u0358\u035c-\u0362\u0374\u037e\u0387\u0591-\u05af\u05c4\u0610-\u0617\u0653-\u0654\u0657-\u065b\u065d-\u065e\u06df-\u06e2\u06eb-\u06ec\u0730\u0732-\u0733\u0735-\u0736\u073a\u073d\u073f-\u0741\u0743\u0745\u0747\u07eb-\u07f1\u0951\u0958-\u095f\u09dc-\u09dd\u09df\u0a33\u0a36\u0a59-\u0a5b\u0a5e\u0b5c-\u0b5d\u0e38-\u0e39\u0f43\u0f4d\u0f52\u0f57\u0f5c\u0f69\u0f72-\u0f76\u0f78\u0f80-\u0f83\u0f93\u0f9d\u0fa2\u0fa7\u0fac\u0fb9\u1939-\u193a\u1a17\u1b6b\u1cda-\u1cdb\u1dc0-\u1dcf\u1dfc\u1dfe\u1f71\u1f73\u1f75\u1f77\u1f79\u1f7b\u1f7d\u1fbb\u1fbe\u1fc9\u1fcb\u1fd3\u1fdb\u1fe3\u1feb\u1fee-\u1fef\u1ff9\u1ffb\u1ffd\u2000-\u2001\u20d0-\u20d1\u20d4-\u20d7\u20e7-\u20e9\u2126\u212a-\u212b\u2329-\u232a\u2adc\u302b-\u302c\uaab2-\uaab3\uf900-\ufa0d\ufa10\ufa12\ufa15-\ufa1e\ufa20\ufa22\ufa25-\ufa26\ufa2a-\ufa2d\ufa30-\ufa6d\ufa70-\ufad9\ufb1d\ufb1f\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufb4e\ufff0-\uffff]/g,i=function(t){var e,n={},r=[];for(e=0;e<65536;e++)r.push(String.fromCharCode(e));return t.lastIndex=0,r.join("").replace(t,function(t){return n[t]="\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4),""}),t.lastIndex=0,n};t.exports={quote:function(t){var e=JSON.stringify(t);return o.lastIndex=0,o.test(e)?(r||(r=i(o)),e.replace(o,function(t){return r[t]})):e}}},function(t,e,n){"use strict";(function(e){var n={};["log","debug","warn"].forEach(function(t){var r;try{r=e.console&&e.console[t]&&e.console[t].apply}catch(t){}n[t]=r?function(){return e.console[t].apply(e.console,arguments)}:"log"===t?function(){}:n.log}),t.exports=n}).call(e,n(2))},function(t,e,n){"use strict";(function(e){var r=function(){};"production"!==e.env.NODE_ENV&&(r=n(4)("sockjs-client:utils:transport")),t.exports=function(t){return{filterToEnabled:function(e,n){var o={main:[],facade:[]};return e?"string"==typeof e&&(e=[e]):e=[],t.forEach(function(t){if(t)return"websocket"===t.transportName&&!1===n.websocket?void r("disabled from server","websocket"):e.length&&-1===e.indexOf(t.transportName)?void r("not in whitelist",t.transportName):void(t.enabled(n)?(r("enabled",t.transportName),o.main.push(t),t.facadeTransport&&o.facade.push(t.facadeTransport)):r("disabled",t.transportName))}),o}}}}).call(e,n(3))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){t.exports=n(106)}],[242])});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.fastman3=e():t.fastman3=e()}(this,function(){return function(t){function e(n){if(a[n])return a[n].exports;var r=a[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var a={};return e.m=t,e.c=a,e.i=function(t){return t},e.d=function(t,a,n){e.o(t,a)||Object.defineProperty(t,a,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var a=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(a,"a",a),a},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=0)}([function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={wx:!1,my:!1,swan:!1,tt:!1,qq:!1,ft:!1},r=function(){try{n.wx=wx}catch(t){n.wx=!1}try{n.my=my}catch(t){n.my=!1}try{n.swan=swan}catch(t){n.swan=!1}try{n.tt=tt}catch(t){n.tt=!1}try{n.qq=qq}catch(t){n.qq=!1}try{n.ft=ft}catch(t){n.ft=!1}},o=function(t){r(),n.wx?wx.miniProgram.navigateTo(t):n.my?my.navigateTo(t):n.swan?swan.webView.navigateTo(t):n.tt?tt.miniProgram.navigateTo(t):n.qq?qq.miniProgram.navigateTo(t):n.ft&&(t.url=t.url.replace("..","pages"),ft.miniProgram.navigateTo(t))},i=function(t){r(),n.wx?wx.miniProgram.postMessage(t):n.my?my.postMessage(t):n.swan?swan.webView.postMessage(t):n.tt?tt.miniProgram.postMessage(t):n.qq?qq.miniProgram.postMessage(t):n.ft&&ft.miniProgram.postMessage(t)},s=function(t){r(),n.wx?wx.miniProgram.navigateBack(t):n.my?my.navigateBack(t):n.swan?swan.webView.navigateBack(t):n.tt?tt.miniProgram.navigateBack(t):n.qq?qq.miniProgram.navigateBack(t):n.ft&&ft.miniProgram.navigateBack(t)};e.navigateTo=o,e.postMessage=i,e.navigateBack=s}])});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(n,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.fastman=e():n.fastman=e()}(this,function(){return function(n){function e(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return n[o].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var t={};return e.m=n,e.c=t,e.i=function(n){return n},e.d=function(n,t,o){e.o(n,t)||Object.defineProperty(n,t,{configurable:!1,enumerable:!0,get:o})},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},e.p="",e(e.s=5)}([function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(n){var e=document.createElement("a");e.setAttribute("href",n);var t=e.href;return e=null,t},i=Object.assign||function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o])}return n},r=function(n){return!(null!=n&&(n.length||n.length>0))};e.getAbsoluteUrl=o,e._extends=i,e.isEmpty=r},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(n){new Date};e.log=o},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.onApiRequest=e.pageWillAppear=e.onRequest=e.onDynamicLink=e.subscribeNotify=e.onNotify=e.onPushView=e.onNavigationBar=e.onRefresh=e.onBack=e.ready=e.wrapNotOkPayload=e.wrapOkPayload=void 0;var o=t(0),i=t(1),r=navigator.userAgent,a=r.match(/(Android);?[\s\/]+([\d.]+)?/),c=r.match(/(iPad).*OS\s([\d_]+)/),u=r.match(/(iPod)(.*OS\s([\d_]+))?/),s=!c&&r.match(/(iPhone\sOS)\s([\d_]+)/),l=!!r.toLowerCase().match(/DFYJ/i),f=function(n){return n.init(function(n,e){e&&e(data)}),n},d=function(n){var e=function(e){(0,i.log)("ready end"),n(e)};if(l)if(c||s||u){if(window.WebViewJavascriptBridge)return(0,i.log)("ready sync start"),e(WebViewJavascriptBridge);if((0,i.log)("ready async start(push)"),window.WVJBCallbacks)return window.WVJBCallbacks.push(e);(0,i.log)("ready async start(iframe)"),window.WVJBCallbacks=[e];var t=document.createElement("iframe");t.style.display="none",t.src="https://__bridge_loaded__",document.documentElement.appendChild(t),setTimeout(function(){document.documentElement.removeChild(t)},0)}else a?window.WebViewJavascriptBridge?((0,i.log)("ready sync start"),e(f(WebViewJavascriptBridge))):((0,i.log)("ready async start"),document.addEventListener("WebViewJavascriptBridgeReady",function(){e(f(WebViewJavascriptBridge))},!1)):((0,i.log)("other platform ready sync start"),e());else(0,i.log)("non app ready sync start"),e()},p=function(){},g=function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}},v=function(){return{code:arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,info:arguments.length>1&&void 0!==arguments[1]?arguments[1]:"error"}},h=function(n){var e={complete:p};e=(0,o._extends)({},e,n),(0,i.log)("onBack->"+JSON.stringify(e)),WebViewJavascriptBridge.callHandler("back",e,function(n){(0,i.log)("onBack<-"+JSON.stringify(n)),e.complete(n)})},y=function(n){var e={complete:p};e=(0,o._extends)({},e,n),(0,i.log)("onRefresh->"+JSON.stringify(e)),WebViewJavascriptBridge.callHandler("refresh",e,function(n){(0,i.log)("onRefresh<-"+JSON.stringify(n)),e.complete(n)})},m=function(n){var e={complete:p};e=(0,o._extends)({},e,n),(0,i.log)("onNavigationBar->"+JSON.stringify(e)),WebViewJavascriptBridge.callHandler("navigationBar",e,function(n){(0,i.log)("onNavigationBar<-"+JSON.stringify(n)),e.complete(n)})},b=function(n){var e={title:""};e=(0,o._extends)({},e,n),e.uri&&(-1!=e.uri.indexOf("http")||-1!=e.uri.indexOf("https")||(e.uri=(0,o.getAbsoluteUrl)(e.uri))),(0,i.log)("onPushView->"+JSON.stringify(e)),WebViewJavascriptBridge.callHandler("pushView",e,function(n){(0,i.log)("onPushView<-"+JSON.stringify(n))})},w=function(n){"function"==typeof n&&WebViewJavascriptBridge.registerHandler("pageWillAppear",n)},A=function(n){var e={type:"javascriptNotify"};e=(0,o._extends)({},e,n),(0,i.log)("onNotify->"+JSON.stringify(e)),WebViewJavascriptBridge.callHandler("notify",e,function(n){(0,i.log)("onNotify<-"+JSON.stringify(n))})},x={},O=function(n,e){if("function"==typeof e){var t=n;"sae_video"==t&&(t="notify"),x[t]=e,(0,i.log)("subscribeNotify->"+n),WebViewJavascriptBridge.registerHandler(t,function(n){(0,i.log)("subscribeNotify<-"+JSON.stringify(n)),Object.prototype.toString.call(n).toLocaleLowerCase()=="[object String]".toLocaleLowerCase()&&(n=JSON.parse(n)),x[t]&&x[t](n)})}},k=function(n){var e={url:""};e=(0,o._extends)({},e,n),(0,i.log)("onDynamicLink->"+JSON.stringify(e)),WebViewJavascriptBridge.callHandler("dynamicLink",e,function(n){(0,i.log)("onDynamicLink<-"+JSON.stringify(n))})},B={},S=!1,N=function(n,e){switch(arguments.length){case 1:return parseInt(Math.random()*n+1,10);case 2:return parseInt(Math.random()*(e-n+1)+n,10);default:return 0}},M=[],j=function n(){var e=N(1e3,9999);return-1!==M.indexOf(e)?n(e):(M.push(e),e)},I=function(n,e,t,o){var r={type:n||"1",payload:e||{},callbackId:j()};B[n+"-ok"]="function"==typeof t?t:p,B[n+"-notok"]="function"==typeof o?o:p,B[n+"_"+r.callbackId+"-ok"]="function"==typeof t?t:p,B[n+"_"+r.callbackId+"-notok"]="function"==typeof o?o:p,(0,i.log)("onRequest->"+JSON.stringify(r)),WebViewJavascriptBridge.callHandler("request",r,function(n){"string"==typeof n&&(n=JSON.parse(n)),(0,i.log)("onRequest<-"+JSON.stringify(n)),n.error||"true"===n.error?n.callbackId&&"function"==typeof B[n.type+"_"+n.callbackId+"-notok"]?B[n.type+"_"+n.callbackId+"-notok"](v(-1,n.info)):"function"==typeof B[n.type+"-notok"]&&B[n.type+"-notok"](v(-1,n.info)):n.callbackId&&"function"==typeof B[n.type+"_"+n.callbackId+"-ok"]?(c||s||u||n.payload)&&B[n.type+"_"+n.callbackId+"-ok"](g(n.payload)):"function"==typeof B[n.type+"-ok"]&&(c||s||u||n.payload)&&B[n.type+"-ok"](g(n.payload))}),S||(WebViewJavascriptBridge.registerHandler("request",function(n){"string"==typeof n&&(n=JSON.parse(n)),n.error||"true"===n.error?n.callbackId&&"function"==typeof B[n.type+"_"+n.callbackId+"-notok"]?B[n.type+"_"+n.callbackId+"-notok"](v(-1,n.info)):"function"==typeof B[n.type+"-notok"]&&B[n.type+"-notok"](v(-1,n.info)):n.callbackId&&"function"==typeof B[n.type+"_"+n.callbackId+"-ok"]?B[n.type+"_"+n.callbackId+"-ok"](g(n.payload)):"function"==typeof B[n.type+"-ok"]&&B[n.type+"-ok"](g(n.payload))}),S=!0)},P=function(n,e,t,r){if((0,o.isEmpty)(n))throw new Error("functionNo is required ...");var a={funcId:n,payload:e||{}};(0,i.log)("onApiRequest->"+JSON.stringify(a)),WebViewJavascriptBridge.callHandler("apiRequest",a,function(n){if((0,i.log)("onApiRequest<-"+JSON.stringify(n)),"string"==typeof n&&(n=JSON.parse(n)),c||s||u){if(n.error||"true"===n.error)n.payload?"function"==typeof r&&r(v(n.payload.code,n.payload.info)):"function"==typeof r&&r(v(-1,n.info));else if("function"==typeof t){var e={};n.payload&&(e="string"==typeof n.payload.data?JSON.parse(n.payload.data):n.payload.data),t(g(e))}}else if(n.error||"true"===n.error)"function"==typeof r&&r(v(-1,n.info));else{var o={};o="string"==typeof n.payload.data?JSON.parse(n.payload.data):n.payload.data?n.payload.data:{},"0"!=n.payload.code?"function"==typeof r&&r(v(n.payload.code,n.payload.info)):"function"==typeof t&&t(g(o))}})};e.wrapOkPayload=g,e.wrapNotOkPayload=v,e.ready=d,e.onBack=h,e.onRefresh=y,e.onNavigationBar=m,e.onPushView=b,e.onNotify=A,e.subscribeNotify=O,e.onDynamicLink=k,e.onRequest=I,e.pageWillAppear=w,e.onApiRequest=P},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(n,e){for(var t=n.split(".").length;t<e;)n+=".0",t++;return n},i=function(n){var e=navigator.userAgent.toLowerCase().match(/DFYJ\/([\d.]+)/i);return e?e[1]:void 0},r=function(n,e){var t=n.split("."),i=e.split("."),r=Math.max(t.length,i.length);n=o(n,r),e=o(e,r);var a=n.split("."),c=e.split(".");if(n===e)return 0;for(var u=0;u<a.length;u++){var s=parseInt(a[u]);if(!c[u])return 1;var l=parseInt(c[u]);if(s<l)return-1;if(s>l)return 1}return-1},a=function(n){var e=i();return e?r(e,n):1};e.getVersion=i,e.compareVersion=a,e._compareVersion=r},function(n,e,t){"use strict";function o(n){return n&&n.__esModule?n:{default:n}}Object.defineProperty(e,"__esModule",{value:!0});var i=t(21),r=o(i),a=t(6),c=o(a),u=navigator.userAgent.toLowerCase(),s=function(){return!!u.match(/MicroMessenger/i)},l=function(){return!!u.match(/QQ/i)},f=u.match(/(iPad).*OS\s([\d_]+)/),d=u.match(/(iPod)(.*OS\s([\d_]+))?/),p=!f&&u.match(/(iPhone\sOS)\s([\d_]+)/),g=!!(f||p||d),v=function(){var n=navigator.userAgent.match(/(Android);?[\s\/]+([\d.]+)?/),e=n?"在浏览器中打开":"在Safari中打开",t=document.createElement("div");t.id="mask-panel",t.innerHTML='\n <div id="arraw">\n <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAADkCAYAAABTwODqAAAAAXNSR0IArs4c6QAAE0RJREFUeAHtnQewLEUVhnkSxEcSkCCoPKJgwoCIKAoUBjIqiogBkGwgZ4HygSQLqDIgUIAIiAEQy1JBlFBYij5J+kQo4FUpiCgISFKR8Pz+W7uPvXtnZ7tnuqdPz52u6rq7M6dPn/6/7dk5M71zF1pompb58+fvQN2y7cNfpO0DLBofYDdg+27ax+sHZsyYcVuRXRu2vagNg/AZA0BXw/4wqsauegTbXsHfVpZpBRiQy0DxGOpLBmguwetj2bfUwLbWvJw2gAG4KNSOpq5UQO/lbDsKm9Z9ZU0bwAD8HHW9Arj9Ta/jxX79N235Oy0AMzM/CrDNHKC9B9sPOthlY9J6wADbGBq7eBDZlTZv87A3bdpqwIBaC/UP8iQwA/tDaLu6ZzuT5q0FDKDlUVxnzC+uoPziaouPZSu0NdWklYABMwEIpZerofYKtP0Cvhar4SN509YBBogOsQdS1wyg7jr4OCCAn2QuWgcYJT9J1YlVqLIJH5qPhXLWtJ9WAQbE5gi4YwQRd8b3uyL4je6yNYABoIsYupgRqxxAHzpkZ1X0fZV9QXhdfjydunTkwfwL/wdx9+mhyP0Ec5/9DAbuTNQ4lhobrkR/qfqiz8GbFdputmQNGKEXRlnd+ntVgwrPoi9dCMlCuyyCLIG3B/veUrI/1q4NcbxbLOch/WYLmBm0JUJsE1IMT19a8vNezzaNm2cJGGHfiFL7NK7W1A73I5bXT91sZ0t2gBFUy2uOoFqIXecAWiiwih2kkyOxINLkiEreIaSW1eiMWctsrJQlCURn1vprrmQDGAG1nOYoqpbXWCurEpAW72lGmyrZAEa1falaVmO1rE9ge1sLLgvAzAwtozF/xkqMWxLrdpYgmweMYMo5d7Uk2phYPk3MWlhvopgGjFBaNnMoNadr5tL0MGLXAvvkxSxgBNJyGS250eqMGOVOnN4dwzE+da1aZ9ZaaJ+0mASMMIuhihapa9lMjKK7QSdST6A+HKMDfK5I1ZIfLbhPVkwCRo39qa+OpMp/8TubW36PUh/h9fHUpyP1tS5+Px/Jt5Nbc4D5xGt5TKzVE/Px/WXA/rmvDq/n8fo0qvbFKJsypp1iOHbxaQowQmxC0Du7BF7R5nyAzhluy7Yb2fat4e0B33+csb0joD9nV2YAI8A6RB1zBePVgPzhKGXYdzn7rhm1P8D2AxmjFuI3WkwAZuA6mdIZs06uYpS5OP2Gg+OvY3O7g10VEy3A12J6LchvrCQHzID7i9S1HCZGeQCnJzFDnx3nHJtnsNHZ9d/H2Vbcr4X4ghwr9ZsSVlLADFT9H0LVBY0Y5SmcfhFwT7g6x/ZxbGdT/+3axtNuTewPYuyNXLxJCpiB7kqN9Uu+5/F9MsDu569Xoc19NDiFKh8xyttx+skYjod9JgPMJ/g9BPOB4YACvj8LULdV9UfbW2h7TtX2Du12RIPNHexqmSQBzMB02y/mr+l/BKAraylDY3z8hD8/ruunpP3n0OK1Jftr72ocMAPSDXvduNcN/BjlZpyeH9Dxufi6NaC/QVcTixjQZOXBjSFfNwqYgWipzbHUpUIOYsDXvbw+lZn33MC2Wi97vk7Gib6XY5SlcaobE1rAH7w0BpgBLEz0WiwX65lUE2e/AAl+9tvzOZvY1UeM8kqcRlny0xhgBrAX9Y0x1MGnctwTAPGPSP71fazcWDny2Hy6Ygxvot2eFduObNYIYGbvtkSw1cgo6u/4CgDuqO+m3AN96CrX18qtau3dGq22ruVhqHF0wAT8ZvrcY6jfkG+/j/DXhXRY5ou+dL36sjKbmvv2QjPN5iAlKmACfRVRHk6N1c+v8X1xECX8nFyI+W/8mjhbSyt9H+t7uXaJJbye4qrlKjpjjnJ2iN951DOYUbHu4+K+uPT6PI29iiFGkWY6s9YZdq0SBTCBaZmKct2VakU3uvEj7DoeobU6I0np9X08nSuWGEW5sX4WIy0rlyiAieaz1NdUjqq8oZbXCO7D5Wbx9/ZiEGTFFKPoKtd+dRwHB8wn7sMEtHmdoMa0PR1h7xlj09juXixnROxwCzT9UFX/QQETSOy7JBciqE6sTBVi+hUBXRQxqE+h7UZV/AcDTABrEsDBVYJwbHMdQl7qaNu4GbF9n06vj9Sx7h3rsRFr+PoPApiOl6PjY6halhKj6CLGV2M4DuzzK/i7M7DPvjtpqzNrae1cagOmw4m1RvS4vHOvfoa6/PglZoiW05guvRhPIMgHIwUqjbWY3nki1QJMRzp0HEhdK9KA/oNfnTE/Fsl/cLe9WGfjWLHHKGvjVA9lc1ryUwswHe1CjbXe93l8n4Jgf+FvVqUX86kErTHEKO/EqbQfWyoD5hO0Kd53GttDdYPzEOrm6s3TtiT2m4jgvIhR7NRjUNpFJcA4Xg+v+v1QrHIlAv0olvO+X8axAtXrpKXf1uVvbwxXuthWtNm/x2Jkc2/AONSv5o6mLjLSa70dv6f52fVcjG/NOGZipWvlOjONuU5ZY9GYYhQxOLrHpNC/F+ABUXQjIUa5H6da6vpcDOd9n4xjYV4fRp1FVf4e7dGEvbFoyY/GFqNM3NTpsZni3xkwDmR7KHW1KV7CbHgSN/pZp/7GLnvRwVsGOnkbr/cYeB/0ZW9Ms3Eaa2xicmiP0aTYnQHTanfqBpNah3ujGXsiQvwtnMtiT4iwA3u2Kti7LfuKtheY+m/qje1EWsY6OomNGE0qToAZ+Ptotf2klmHfnIkAc8O6nOqNcWimThFhwHJvbAZn9sCu+i97YzyzvqeRHrbvsVpgMBYwDdbHet8FLcK/uIKBXx3e7WSPjEMXY/QVU3aBQHocju3qk1uHe9cb6xXhPE7xtG+P2cSOUsAYrorVkVSdlMQoc3B6QQzHgz4Zx8t4fwzV5RLfS7DzvuY72J/D6wuw0dhjFLE6sseu9NMco/PGfTLQmXR6CnWWZ+fzsD+CGZds1YhnvIXmpTO4sEVGG4E7mA75Rh41ffINpqp9qwEjynA65KtT1PTJN5gq9q0FzOwdlQ756qT0KehidN8A6ti3EjBAxqVDvpppMXqsawC+sXjZtw4wIFzSIS+RMJZOev5ktPTJNyBX+1YBBoBPOuSqUd+uifSp31ewv60BDFylQ8dRo93+w7c+QLHvPtFFuNIKwMCtkw75qplV+tQKwBDakxrtGnLBJyCb9Cl7wMxepUMp0pgs0qesAQM3dDpUMFlLN5lPn7IFDNwY6VApzYKd0s90+pQlYODGTIcKOJZuMp0+ZQcYuBI0djpUSrRgp9n0KSvAwFU6dDh1VoHIqTcpfSpcF5UysKwAI1TT6ZAvmw1pEG3xnm8wss8GMLNXa8JSpEO+uppKn7IADFylQ5/2VTqhvZn0yTxg4FpIh3w/K9LVRPo0wzfyJu2Bq7NTPa4o5g2EmEPSg2IOYl1XrCfxjI3d7AwGrsV0aKygQwbL8z7p3SeTgIFrOR0aYjj2bdL0ySRgJLOeDo2lOmSQLH0yB5jZm0s6NMRw7Nsk6ZMpwMDNLR0aS3XIoPH0yQxg4OaYDg3xG/tWejeaPplIk4Cbezo0luyQgdKng0mf9DdqST6DgduGdMgXktKnRv7FXVLAwG1TOuQLuZH0KSlgFGlbOuQLOXr6lAwws7et6ZAvZKVP2/g2crVPApgBtT0dctW/b7cnmmzQfxPyb+OAGcjEdw+DMHEGH1LMGr7EIcqjIxoVGbjTLR3yZR48fWpsBgN3OqZDvoCDp0+NAAbudE6HfCEHTZ8aAcwIp3s65As5WPoUHTCzdztGl8NiOV8Ise2DpE9RAQNX6ZCpZaSxqQT2Xzt9igYYuF06VJ+2+NRKn6KkScDt0qH6cAc9VE6fgs9g4Hbp0CCaMK8rp09BAQNX6dBh1FlhxtV5GVCgUvoUFDDBKB2Kck11YKDT+aV3+hQMMLO3S4ea+eh5pU9BAAO3S4eagdvvxTl9qg0YuF061Je9ub/i5pQ+1UqTgNulQ81BLeppbPpUeQYDt0uHiiRvdtvY3z5VAgzcLh1qFmRZb2uwc+SjIyoBxmGXDpVJ3vy+kemTN2Bmb5cONQ/QpcfC9MkLMHC7dMhF6nQ2U9InZ8DA7dKhdOBcexbPSemTU5oEXJ2tnU7N9VEKrgK1xW5B+jR2BgO3S4fyw74gfRo7gwG8O+N7a8IxLkbfKybsv27Xf63roEb7OWMB13AepCkfsHVx9OUgzpp38hA/EdUESVbGHqKTRfZCx7qokmtJOXsnNOsAx/3odIAd9M15Bt/nML6oJt0MjirvQt0MdtA35xncAXYAvIiDjUWTpziDfjR1YN0hOh6B5N+/GloOgHOdwckPz7kA1qXSHEsH2JGa/ulkjqUD7EgtV8D3Oo4vqlkO38E5HqIf5wz6gajkHJ3nAHgJx7FYMvuTlWByAJzjIboD7PEJ7wB7iDVsmsMMzu07+H+IPG9Y6FTvcwD80lTiVOz3Lk6wnq3YNngz04BZzaEVJ7kBNvP9q0+LacDEtzQ1t7tJHWB9shzLso52VszmE8gdVoJRHNZncG6A/8L37787wO4K5Ab4j+5Da8aym8FhdZ4T1l19b9YBa4V+LuUpAp1rLVjrgFeyJlhJPHMs5b/9OK0Dfnk/0Az+3mgxRrOAexc5VrYoWkFMT7Pt1oLtyTeZBYwyeoLPoskVcgvgVg7P/3UzbdbKMuDu8Bzgs9ABri/ic7gwlx71h2UZ8Cr9II3/ncvh+UmrMVoGvKpV0YbiMnn23I/RMuA1+kEa/qub+zcYjs/mzQZSpCURbQXLwvViu8Hy4VkxWp3Bq2cAVyH+1HqcVgGvaV044pvH7L3bepxWAa9hXTjiMz97paFVwNYP0bpzdIMEtF7MAeYES8/FeqVx4a61emlyWDdzgAlwHar1hXZXDgtp9b1FwK+zKlYvrj8ye038et9FJ4uAX+sSeEKbKxL27d21KcB8/+rQrEcXWi13M3vN3lgoEs0UYAJU/rt4UaBGtl1sJA7nMKwBtnx4/hOz9xZnZY0YWgNs+QQru9mrz5gZwHz/annO+kY++MNh/IHZa25J7HCQRe/NACa4N1BfXBSkgW1Zzl7pZglwyqfKl32GbmH2mvpBWVmww/ssAd5wODgj77OdvdLPBGC+f3VzweIN/quZveZvCZZNBBOACdDi4fkx4vpmmXg57LMCeCODYp3L7DW7WtJVr+SAOTxreezargE3ZKdfKlzfUF9Ru0kOmNFtHnWE/s61UvIb/s1strAAeFNj0nyX2fuAsZgqh5MUMIfn1xC5pd8A30s8Wd0OHEc+KWCC22xcgA3uf56+vsbsNfMQsxBjTwa4d+15kxCDCOTj28DN9orVKA2SASagd1KtPCpYP96+dJRIOW9PCXhbI8I9QhynMXv1ELPWlSSAOTxrWY6F3Fffu6cCV1etWlmSAEbJ7YyoeRFwbzcSS5QwGgfM7NWzrzaOMho/pzdhfrlfk/ysGweMRFtSUy9sf4gYzmjr9+7gx7BRwMzemXS+1WAACV7rBsJxwH08Qd+Nd9koYEanM+elGh/lCx3qOvNs4Gbzy4QXQq/2qjHAvdn7gWphBmnVP2Nu3cWMMnUaA0wQ21NTXtg4k5n72zIx2rivEcDMXj1zQ4BTlUuA+7NUnafstxHADDDl7L0KuN9JKXLKvqMDZvYu1wOcYpzX0ulZKTq20uciDQSyK32k+OdWP6bfc5i9rbzG7MotKmBm73oEkuKe7/cAm/V6ZleA4+yiAQauDv97jwsgwv7zgXtFBL9ZuowGGDXeS9XvfZsqOhR/HbjT8mx5lMhRADN7dbXqE6M6jbBdj/TVPd1fRvCdtcsogFFEh+alG1LmX/RzMnBbfduvqpbBATN7dSvw3VUD8mx3F/YnAvdhz3bTxjwoYOAug3KfaUi9q+nnLOA+01B/WXYTFDAKfJYa+9CsZa1nA/aqLBVvOOhggJm9mxJ77B+RaYHcScC9s2Gdsu0uCGDgrowC+0RWQXeCtDBdJ1VdcVSgNmDg6uGhR1Fj3Qp8Ct86JF/nOKbObECB2oDxtS811uN/tTBOs7Y7Sx6A5vOyFmBm7/vobAufDh1t9U+W9QPsnzvad2YjFKgMGLhauB7je/dm/OqSo1Y+dqWmApUAA1f/mftIaqX2I2K+n+3nAfZ3I/Z3myso4A0IuLq3exx1hQr9FTXRSdQl1J8Ct1U/3SwabNPbvAADVwvWj6CGuEukVY76xxZaL/UEf7sSQQEvwPSvK1VvDhCHnrl8AWDvC+Crc1GigDNgZu/H8LNFia9xu3S/9tfUSwE7b5xxtz+MAk6Agbs13e1csUsdinWR4jLA/rWij65ZRQXGAgaufktUJR3SXR7d8fkBYB+sGF/XrKYCM8ra92auL9x/4FPLZn4B2EfL/Hf74iswErAnXC2Z0c2Aq6i3AVbft10xoEAhYA+4f2cMmq3XdLPVAM2CEKYABu5HsPtEgW1/0z95obPhX1Hv6GZrXxabfxcABqwuYuj79v0Foep7tQ/1rg5qgUJGN00ABu7ixHcotf/UdaU2ylVvpd4I0Hv425UMFZgBXC2UO5Y6k/r7Xp0L1OyflcxYugLg9ah68k1XOgU6BXJT4P/OYxRnaI6r8QAAAABJRU5ErkJggg=="/>\n </div>\n <p>请点击右上角按钮,选择“'+e+"”</p>",document.body.appendChild(t),t.addEventListener("click",function(){t.remove()})},h=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=n.isDirectCallApp,t=void 0!==e&&e,o=n.icon,i=void 0===o?"https://app.dfzq.com.hk/dfhqcf-app/open/favicon.png":o,a=n.mainText,u=void 0===a?"东方环球财富":a,f=n.subText,d=void 0===f?"悦享投资之美":f,p=n.buttonText,h=void 0===p?"立即打开":p,y=n.appDownloadUrl,m=void 0===y?"https://static.dfzq.com.hk/html5-dfgj-commonappdownload-dist/common-appdownload/index.html":y,b=n.appStoreUrl,w=void 0===b?"https://static.dfzq.com.hk/html5-dfgj-commonappdownload-dist/common-appdownload/index.html":b,A=n.scheme;A=void 0===A?{}:A;var x=A.protocol,O=void 0===x?"dfgj":x,k=n.universal,B=n.path,S={scheme:{protocol:O},appstore:w,yingyongbao:m,fallback:m,timeout:5e3};k&&(S.universal=k);var N=new r.default(S),M=function(n,e){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if((s()||g&&l())&&!t)return void v();n||(n=document.location.href),/^http/.test(n)&&(n="dl/wb?url="+encodeURIComponent(n)),N.open({path:n,callback:e})},j=document.createElement("style");j.innerHTML=c.default,document.head.appendChild(j);var I=document.createElement("div");I.className="share-navigation",I.innerHTML='\n <div>\n <div class="logo-image">\n <img src="'+i+'" />\n </div>\n <div class="logo-text">\n <p>'+u+"</p>\n <p>"+d+'</p>\n </div>\n </div>\n <button class="open">'+h+"</button>",document.body.appendChild(I);var P=I.getElementsByClassName("open")[0];P&&(P.addEventListener("click",function(){M(B)}),t&&(s()||g&&l()||M(B,function(){},!0)))};e.default=h},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.onCallAppInstall=e.hideLoading=e.showLoading=e.getSystemInfo=e.onIdCardOCR=e.onShareCheckInstall=e.onTradeLogin=e.onViewWillAppear=e.onWxPay=e.onNavigateBar=e.onNavigateNativeTo=e.onReq=e.onNavigateBack=e.onNavigateTo=e.onShare=e.onMobileLogin=e.updateState=e.oauth=e.ready=e.isFromAndroid=e.isFromIOS=e.isFromWeiXin=e.isFromApp=void 0;var o=t(0),i=t(2),r=t(3),a=t(1),c=t(4),u=function(n){return n&&n.__esModule?n:{default:n}}(c),s=function(){},l=navigator.userAgent,f=l.match(/(Android);?[\s\/]+([\d.]+)?/),d=l.match(/(iPad).*OS\s([\d_]+)/),p=l.match(/(iPod)(.*OS\s([\d_]+))?/),g=!d&&l.match(/(iPhone\sOS)\s([\d_]+)/),v=function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]},h=function(){return!!navigator.userAgent.toLowerCase().match(/DFYJ/i)},y=function(){return!!navigator.userAgent.toLowerCase().match(/MicroMessenger/i)},m=function(){return!!(d||g||p)},b=function(){return!!f},w=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s;(0,i.ready)(n)},A=function(n){var e={success:s,fail:s};n=(0,o._extends)({},e,n),h()?((0,a.log)("[jsbridge oauth] callback"),(0,i.onRequest)("refreshToken",null,function(e){if("function"==typeof n.success){var t=(0,i.wrapOkPayload)(e);n.success(t)}(0,a.log)("[jsbridge oauth] end")})):v()},x=function(n){h()?((0,a.log)("[jsbridge updateState] callback"),n&&(0,i.onRequest)("updateState",n)):v()},O=function(n){var e={success:s,fail:s};n=(0,o._extends)({},e,n),h()?(0,i.onRequest)("mobileLogin",{},n.success,n.fail):v()},k=function(n){var e={success:s,fail:s};n=(0,o._extends)({},e,n),h()?(0,i.onRequest)("tradeLogin",{},n.success,n.fail):v()},B=function(n){var e={channel:["1","2","3","4"],title:"",description:"",thumbImageUrl:"https://app.dfzq.com.hk/dfhqcf-app/open/favicon.png",link:"",ext:"",success:s,fail:s};n=(0,o._extends)({},e,n),h()?(-1!==n.channel.indexOf(3)&&(d||g||p)&&(n.thumbImageUrl=n.thumbImageUrl),(0,i.onRequest)("onShare",{channel:n.channel,title:n.title,description:n.description,thumbImageUrl:n.thumbImageUrl,link:n.link,ext:n.ext},n.success,n.fail)):v()},S=function(n){var e={title:"",uri:"",success:s,fail:s};n=(0,o._extends)({},e,n),h()?(0,i.onPushView)(n):v()},N=function(n){var e={title:"",uri:"",success:s,fail:s};n=(0,o._extends)({},e,n),h()?(n.complete=n.success,(0,i.onBack)(n)):v()},M=function(n,e){var t={success:s,fail:s};e=(0,o._extends)({},t,e),h()?(0,i.onApiRequest)(n,e,e.success,e.fail):v()},j=function(n){var e={url:"",success:s,fail:s};n=(0,o._extends)({},e,n),(0,r.compareVersion)("3.2.6")>=0&&""!=n.url&&(n.url=n.url.replace("dfyj://dl","dfyj20170811://dl")),h()?(0,i.onDynamicLink)(n):v()},I=function(n){var e={title:"",type:"0",rightButtonTitle:"",onRightButtonPress:s,isShowBackButton:!0,success:s,fail:s};n=(0,o._extends)({},e,n),h()?(n.onRightButtonPress!=s&&WebViewJavascriptBridge&&WebViewJavascriptBridge.registerHandler("onRightButtonPress",n.onRightButtonPress),(0,i.onNavigationBar)(n)):v()},P=function(n){var e={appId:"",partnerId:"",prePayId:"",noncestr:"",timestamp:"",package:"Sign=WXPay",sign:""};n=(0,o._extends)({},e,n),h()?(0,i.onRequest)("5",{appId:n.appId,partnerId:n.partnerId,prePayId:n.prePayId,noncestr:n.noncestr,timestamp:n.timestamp,package:n.package,sign:n.sign},n.success,n.fail):v()},q=function(n){"function"==typeof n&&(h()?((0,a.log)("pageWillAppear->{}"),(0,i.pageWillAppear)(function(){"l"!==document.readyState[0]?((0,a.log)("pageWillAppear<-{DOMContentReady:yes}"),n()):document.addEventListener("DOMContentLoaded",function(){(0,a.log)("pageWillAppear<-{DOMContentLoaded:yes}"),n()})})):v())},C=function(n){var e={channel:[1,2,3,4],success:s,fail:s};n=(0,o._extends)({},e,n),h()?(0,i.onRequest)("onShareCheckInstall",n,n.success,n.fail):v()},V=function(n){var e={mode:"1",success:s,fail:s};n=(0,o._extends)({},e,n),h()?(0,i.onRequest)("9",n,n.success,n.fail):v()},L=function(n){var e={success:s,fail:s};n=(0,o._extends)({},e,n),h()?(0,i.onRequest)("getSystemInfo",{},n.success,n.fail):v()},E=function(n){var e={text:"加载中",cancelable:!0,success:s,fail:s};n=(0,o._extends)({},e,n),h()?(0,i.onRequest)("showLoading",n,n.success,n.fail):v()},D=function(n){var e={success:s,fail:s};n=(0,o._extends)({},e,n),h()?(0,i.onRequest)("hideLoading",{},n.success,n.fail):v()},J=function(n){h()||(0,u.default)(n)};e.isFromApp=h,e.isFromWeiXin=y,e.isFromIOS=m,e.isFromAndroid=b,e.ready=w,e.oauth=A,e.updateState=x,e.onMobileLogin=O,e.onShare=B,e.onNavigateTo=S,e.onNavigateBack=N,e.onReq=M,e.onNavigateNativeTo=j,e.onNavigateBar=I,e.onWxPay=P,e.onViewWillAppear=q,e.onTradeLogin=k,e.onShareCheckInstall=C,e.onIdCardOCR=V,e.getSystemInfo=L,e.showLoading=E,e.hideLoading=D,e.onCallAppInstall=J},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=".share-navigation {\n position: fixed;\n bottom: 0;\n left: 0;\n z-index: 100;\n background: #ffffff;\n -webkit-box-shadow: 0 0 8px 1px rgba(215, 215, 215, 0.5);\n box-shadow: 0 0 8px 1px rgba(215, 215, 215, 0.5);\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n height: 68px;\n width: 100%;\n padding: 0 16px;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n.share-navigation p {\n margin: 0;\n}\n.share-navigation > :first-child {\n -webkit-box-flex: 1;\n -ms-flex: auto;\n flex: auto;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.share-navigation > :first-child .logo-image {\n display: inline-block;\n width: 40px;\n height: 40px;\n margin-right: 16px;\n}\n.share-navigation > :first-child .logo-image img{\n width: 100%;\n height: 100%;\n display: block;\n}\n.share-navigation > :first-child .logo-text {\n font-size: 15px;\n color: #777770;\n}\n.share-navigation .open {\n font-size: 15px;\n width: 100px;\n height: 38px;\n color: #ffffff;\n text-align: center;\n background: #ec2e31;\n border-radius: 4px;\n border: none;\n outline: none;\n}\n\n#mask-panel {\n position: fixed;\n width: 100%;\n height: 100%;\n background: rgba(0, 0, 0, 0.7);\n z-index: 1000;\n color: #d0d0d0;\n top: 0;\n left: 0;\n}\n#mask-panel #arraw {\n position: absolute;\n right: 20px;\n top: 25px;\n width: 35px;\n}\n#mask-panel #arraw img {\n width: 100%;\n}\n#mask-panel p {\n text-align: center;\n margin-top: 140px;\n}"},,,,,,,,,,,,,,,function(n,e,t){!function(e,t){n.exports=function(){"use strict";function n(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function e(n,e){return e={exports:{}},n(e,e.exports),e.exports}function t(){var n=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);return parseInt(n[1],10)}function o(){return navigator.appVersion.match(/micromessenger\/(\d+\.\d+\.\d+)/i)[1]}function i(){var n=window.navigator.userAgent||"",e=/android/i.test(n),t=/iphone|ipad|ipod/i.test(n);return{isAndroid:e,isIos:t,isWechat:/micromessenger\/([\d.]+)/i.test(n),isWeibo:/(weibo).*weibo__([\d.]+)/i.test(n),isQQ:/qq\/([\d.]+)/i.test(n),isQQBrowser:/(qqbrowser)\/([\d.]+)/i.test(n),isQzone:/qzone\/.*_qz_([\d.]+)/i.test(n),isOriginalChrome:/chrome\/[\d.]+ Mobile Safari\/[\d.]+/i.test(n)&&e,isSafari:/safari\/([\d.]+)$/i.test(n)&&t&&n.indexOf("Crios")<0&&0===n.indexOf("Mozilla")}}function r(n,e){var t=n.path,o=n.param,i=e.buildScheme;if(void 0!==i)return i(n,e);var r=e.scheme,a=r.host,c=r.port,u=r.protocol,s=c?":"+c:"",l=a?""+a+s+"/":"",f=void 0!==o?Mn(o).map(function(n){return n+"="+o[n]}).join("&"):"";return u+"://"+l+t+(f?"?"+f:"")}function a(n,e){var t=e.outChain,o=r(n,e);return void 0!==t&&t&&(o=t.protocol+"://"+t.path+"?"+t.key+"="+encodeURIComponent(o)),o}function c(n,e){var t=e.outChain,o=e.intent,i=e.fallback,a=Mn(o).map(function(n){return n+"="+o[n]+";"}).join(""),c="#Intent;"+a+"S.browser_fallback_url="+encodeURIComponent(i)+";end;",u=r(n,e);if(void 0!==t&&t){var s=e.outChain;return"intent://"+s.path+"?"+s.key+"="+encodeURIComponent(u)+c}return"intent://"+(u=u.slice(u.indexOf("//")+2))+c}function u(n,e){var t=e.universal;if(!t)return"";var o=t.host,i=t.pathKey,r=n.path,a=n.param,c=void 0!==a?Mn(a).map(function(n){return n+"="+a[n]}).join("&"):"";return"https://"+o+"?"+i+"="+r+(c?"&"+c:"")}function s(n,e){var t=a(n,e);return e.yingyongbao+"&android_schema="+encodeURIComponent(t)}function l(){var n=["webkit","moz","ms","o"],e=void 0;return"hidden"in document?"":(n.forEach(function(n){n+"Hidden"in document&&(e=n)}),e||!1)}function f(){var n=l();if(!1===n)return!1;var e=n?n+"Hidden":"hidden";return document[e]}function d(){var n=l();return!1!==n&&n+"visibilitychange"}function p(n){window.top.location.href=n}function g(n){jn||(jn=document.createElement("iframe"),jn.frameborder="0",jn.style.cssText="display:none;border:0;width:0;height:0;",document.body.appendChild(jn)),jn.src=n}function v(n){var e=document.createElement("a");e.setAttribute("href",n),e.style.display="none",document.body.appendChild(e),e.click()}function h(n,e){var t=d(),o=setTimeout(function(){f()||n()},e);if(t)return void document.addEventListener(t,function(){clearTimeout(o)});window.addEventListener("pagehide",function(){clearTimeout(o)})}var y=e(function(n){var e=n.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)}),m=e(function(n){var e=n.exports={version:"2.6.9"};"number"==typeof __e&&(__e=e)}),b=(m.version,function(n){if("function"!=typeof n)throw TypeError(n+" is not a function!");return n}),w=function(n,e,t){if(b(n),void 0===e)return n;switch(t){case 1:return function(t){return n.call(e,t)};case 2:return function(t,o){return n.call(e,t,o)};case 3:return function(t,o,i){return n.call(e,t,o,i)}}return function(){return n.apply(e,arguments)}},A=function(n){return"object"==typeof n?null!==n:"function"==typeof n},x=function(n){if(!A(n))throw TypeError(n+" is not an object!");return n},O=function(n){try{return!!n()}catch(n){return!0}},k=!O(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),B=y.document,S=A(B)&&A(B.createElement),N=function(n){return S?B.createElement(n):{}},M=!k&&!O(function(){return 7!=Object.defineProperty(N("div"),"a",{get:function(){return 7}}).a}),j=function(n,e){if(!A(n))return n;var t,o;if(e&&"function"==typeof(t=n.toString)&&!A(o=t.call(n)))return o;if("function"==typeof(t=n.valueOf)&&!A(o=t.call(n)))return o;if(!e&&"function"==typeof(t=n.toString)&&!A(o=t.call(n)))return o;throw TypeError("Can't convert object to primitive value")},I=Object.defineProperty,P=k?Object.defineProperty:function(n,e,t){if(x(n),e=j(e,!0),x(t),M)try{return I(n,e,t)}catch(n){}if("get"in t||"set"in t)throw TypeError("Accessors not supported!");return"value"in t&&(n[e]=t.value),n},q={f:P},C=function(n,e){return{enumerable:!(1&n),configurable:!(2&n),writable:!(4&n),value:e}},V=k?function(n,e,t){return q.f(n,e,C(1,t))}:function(n,e,t){return n[e]=t,n},L={}.hasOwnProperty,E=function(n,e){return L.call(n,e)},D=function(n,e,t){var o,i,r,a=n&D.F,c=n&D.G,u=n&D.S,s=n&D.P,l=n&D.B,f=n&D.W,d=c?m:m[e]||(m[e]={}),p=d.prototype,g=c?y:u?y[e]:(y[e]||{}).prototype;c&&(t=e);for(o in t)(i=!a&&g&&void 0!==g[o])&&E(d,o)||(r=i?g[o]:t[o],d[o]=c&&"function"!=typeof g[o]?t[o]:l&&i?w(r,y):f&&g[o]==r?function(n){var e=function(e,t,o){if(this instanceof n){switch(arguments.length){case 0:return new n;case 1:return new n(e);case 2:return new n(e,t)}return new n(e,t,o)}return n.apply(this,arguments)};return e.prototype=n.prototype,e}(r):s&&"function"==typeof r?w(Function.call,r):r,s&&((d.virtual||(d.virtual={}))[o]=r,n&D.R&&p&&!p[o]&&V(p,o,r)))};D.F=1,D.G=2,D.S=4,D.P=8,D.B=16,D.W=32,D.U=64,D.R=128;var J=D,W={}.toString,R=function(n){return W.call(n).slice(8,-1)},Y=Object("z").propertyIsEnumerable(0)?Object:function(n){return"String"==R(n)?n.split(""):Object(n)},T=function(n){if(void 0==n)throw TypeError("Can't call method on "+n);return n},H=function(n){return Y(T(n))},z=Math.ceil,F=Math.floor,U=function(n){return isNaN(n=+n)?0:(n>0?F:z)(n)},_=Math.min,X=function(n){return n>0?_(U(n),9007199254740991):0},Q=Math.max,K=Math.min,Z=function(n,e){return n=U(n),n<0?Q(n+e,0):K(n,e)},G=e(function(n){var e=y["__core-js_shared__"]||(y["__core-js_shared__"]={});(n.exports=function(n,t){return e[n]||(e[n]=void 0!==t?t:{})})("versions",[]).push({version:m.version,mode:"pure",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),$=0,nn=Math.random(),en=function(n){return"Symbol(".concat(void 0===n?"":n,")_",(++$+nn).toString(36))},tn=G("keys"),on=function(n){return function(n,e,t){for(var o=H(n),i=X(o.length),r=Z(t,i);i>r;r++)if(r in o&&o[r]===e)return r||0;return-1}}(),rn=function(n){return tn[n]||(tn[n]=en(n))}("IE_PROTO"),an=function(n,e){var t,o=H(n),i=0,r=[];for(t in o)t!=rn&&E(o,t)&&r.push(t);for(;e.length>i;)E(o,t=e[i++])&&(~on(r,t)||r.push(t));return r},cn="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),un=Object.keys||function(n){return an(n,cn)},sn=Object.getOwnPropertySymbols,ln={f:sn},fn={}.propertyIsEnumerable,dn={f:fn},pn=function(n){return Object(T(n))},gn=Object.assign,vn=!gn||O(function(){var n={},e={},t=Symbol(),o="abcdefghijklmnopqrst";return n[t]=7,o.split("").forEach(function(n){e[n]=n}),7!=gn({},n)[t]||Object.keys(gn({},e)).join("")!=o})?function(n,e){for(var t=pn(n),o=arguments.length,i=1,r=ln.f,a=dn.f;o>i;)for(var c,u=Y(arguments[i++]),s=r?un(u).concat(r(u)):un(u),l=s.length,f=0;l>f;)c=s[f++],k&&!a.call(u,c)||(t[c]=u[c]);return t}:gn;J(J.S+J.F,"Object",{assign:vn});var hn=m.Object.assign,yn=e(function(n){n.exports={default:hn,__esModule:!0}}),mn=n(yn),bn=e(function(n,e){e.__esModule=!0,e.default=function(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}}),wn=n(bn);J(J.S+J.F*!k,"Object",{defineProperty:q.f});var An=m.Object,xn=function(n,e,t){return An.defineProperty(n,e,t)},On=e(function(n){n.exports={default:xn,__esModule:!0}});n(On);var kn=e(function(n,e){e.__esModule=!0;var t=function(n){return n&&n.__esModule?n:{default:n}}(On);e.default=function(){function n(n,e){for(var o=0;o<e.length;o++){var i=e[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),(0,t.default)(n,i.key,i)}}return function(e,t,o){return t&&n(e.prototype,t),o&&n(e,o),e}}()}),Bn=n(kn);!function(n,e){var t=(m.Object||{})[n]||Object[n],o={};o[n]=function(){return function(n){return un(pn(n))}}(),J(J.S+J.F*O(function(){t(1)}),"Object",o)}("keys");var Sn=m.Object.keys,Nn=e(function(n){n.exports={default:Sn,__esModule:!0}}),Mn=n(Nn),jn=null;return function(){function n(e){wn(this,n);var t={timeout:2e3};this.options=mn(t,e)}return Bn(n,[{key:"generateScheme",value:function(n){return a(n,this.options)}},{key:"generateIntent",value:function(n){return c(n,this.options)}},{key:"generateUniversalLink",value:function(n){return u(n,this.options)}},{key:"generateYingYongBao",value:function(n){return s(n,this.options)}},{key:"checkOpen",value:function(n){return h(n,this.options.timeout)}},{key:"fallToAppStore",value:function(){var n=this;this.checkOpen(function(){p(n.options.appstore)})}},{key:"fallToFbUrl",value:function(){var n=this;this.checkOpen(function(){p(n.options.fallback)})}},{key:"fallToCustomCb",value:function(n){this.checkOpen(function(){n()})}},{key:"open",value:function(n){var e=i(),r=this.options,a=r.universal,c=r.appstore,u=r.logFunc,s=r.intent,l=n.callback,f=void 0!==a,d=this.generateScheme(n),h=null;if(void 0!==u&&u(),e.isIos?e.isWechat&&o()<"7.0.5"||e.isQQ||e.isQQBrowser?p(c):t()<9?(g(d),h=this.fallToAppStore):f?p(this.generateUniversalLink(n)):(p(d),h=this.fallToAppStore):e.isWechat?p(this.generateYingYongBao(n)):e.isOriginalChrome?void 0!==s?p(this.generateIntent(n)):(v(d),h=this.fallToFbUrl):(g(d),h=this.fallToFbUrl),void 0!==l)return void this.fallToCustomCb(l);h&&h.call(this)}}]),n}()}()}()}])});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.fastman=t():e.fastman=t()}(this,function(){return function(e){function t(o){if(n[o])return n[o].exports;var i=n[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=7)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){var t=document.createElement("a");t.setAttribute("href",e);var n=t.href;return t=null,n},i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},a=function(e){return!(null!=e&&(e.length||e.length>0))};t.getAbsoluteUrl=o,t._extends=i,t.isEmpty=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){new Date};t.log=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.onApiRequest=t.pageWillAppear=t.onRequest=t.onDynamicLink=t.subscribeNotify=t.onNotify=t.onPushView=t.onNavigationBar=t.onRefresh=t.onBack=t.ready=t.wrapNotOkPayload=t.wrapOkPayload=void 0;var o=n(0),i=n(1),a=navigator.userAgent,r=a.match(/(Android);?[\s\/]+([\d.]+)?/),c=a.match(/(iPad).*OS\s([\d_]+)/),l=a.match(/(iPod)(.*OS\s([\d_]+))?/),s=!c&&a.match(/(iPhone\sOS)\s([\d_]+)/),f=!!a.toLowerCase().match(/DFYJ/i),d=function(e){return e.init(function(e,t){t&&t(data)}),e},u=function(e){var t=function(t){(0,i.log)("ready end"),e(t)};if(f)if(c||s||l){if(window.WebViewJavascriptBridge)return(0,i.log)("ready sync start"),t(WebViewJavascriptBridge);if((0,i.log)("ready async start(push)"),window.WVJBCallbacks)return window.WVJBCallbacks.push(t);(0,i.log)("ready async start(iframe)"),window.WVJBCallbacks=[t];var n=document.createElement("iframe");n.style.display="none",n.src="https://__bridge_loaded__",document.documentElement.appendChild(n),setTimeout(function(){document.documentElement.removeChild(n)},0)}else r?window.WebViewJavascriptBridge?((0,i.log)("ready sync start"),t(d(WebViewJavascriptBridge))):((0,i.log)("ready async start"),document.addEventListener("WebViewJavascriptBridgeReady",function(){t(d(WebViewJavascriptBridge))},!1)):((0,i.log)("other platform ready sync start"),t());else(0,i.log)("non app ready sync start"),t()},p=function(){},y=function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}},g=function(){return{code:arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,info:arguments.length>1&&void 0!==arguments[1]?arguments[1]:"error"}},v=function(e){var t={complete:p};t=(0,o._extends)({},t,e),(0,i.log)("onBack->"+JSON.stringify(t)),WebViewJavascriptBridge.callHandler("back",t,function(e){(0,i.log)("onBack<-"+JSON.stringify(e)),t.complete(e)})},b=function(e){var t={complete:p};t=(0,o._extends)({},t,e),(0,i.log)("onRefresh->"+JSON.stringify(t)),WebViewJavascriptBridge.callHandler("refresh",t,function(e){(0,i.log)("onRefresh<-"+JSON.stringify(e)),t.complete(e)})},h=function(e){var t={complete:p};t=(0,o._extends)({},t,e),(0,i.log)("onNavigationBar->"+JSON.stringify(t)),WebViewJavascriptBridge.callHandler("navigationBar",t,function(e){(0,i.log)("onNavigationBar<-"+JSON.stringify(e)),t.complete(e)})},k=function(e){var t={title:""};t=(0,o._extends)({},t,e),t.uri&&(-1!=t.uri.indexOf("http")||-1!=t.uri.indexOf("https")||(t.uri=(0,o.getAbsoluteUrl)(t.uri))),(0,i.log)("onPushView->"+JSON.stringify(t)),WebViewJavascriptBridge.callHandler("pushView",t,function(e){(0,i.log)("onPushView<-"+JSON.stringify(e))})},m=function(e){"function"==typeof e&&WebViewJavascriptBridge.registerHandler("pageWillAppear",e)},w=function(e){var t={type:"javascriptNotify"};t=(0,o._extends)({},t,e),(0,i.log)("onNotify->"+JSON.stringify(t)),WebViewJavascriptBridge.callHandler("notify",t,function(e){(0,i.log)("onNotify<-"+JSON.stringify(e))})},J={},O=function(e,t){if("function"==typeof t){var n=e;"sae_video"==n&&(n="notify"),J[n]=t,(0,i.log)("subscribeNotify->"+e),WebViewJavascriptBridge.registerHandler(n,function(e){(0,i.log)("subscribeNotify<-"+JSON.stringify(e)),Object.prototype.toString.call(e).toLocaleLowerCase()=="[object String]".toLocaleLowerCase()&&(e=JSON.parse(e)),J[n]&&J[n](e)})}},N=function(e){var t={url:""};t=(0,o._extends)({},t,e),(0,i.log)("onDynamicLink->"+JSON.stringify(t)),WebViewJavascriptBridge.callHandler("dynamicLink",t,function(e){(0,i.log)("onDynamicLink<-"+JSON.stringify(e))})},_={},B=!1,x=function(e,t){switch(arguments.length){case 1:return parseInt(Math.random()*e+1,10);case 2:return parseInt(Math.random()*(t-e+1)+e,10);default:return 0}},S=[],V=function e(){var t=x(1e3,9999);return-1!==S.indexOf(t)?e(t):(S.push(t),t)},W=function(e,t,n,o){var a={type:e||"1",payload:t||{},callbackId:V()};_[e+"-ok"]="function"==typeof n?n:p,_[e+"-notok"]="function"==typeof o?o:p,_[e+"_"+a.callbackId+"-ok"]="function"==typeof n?n:p,_[e+"_"+a.callbackId+"-notok"]="function"==typeof o?o:p,(0,i.log)("onRequest->"+JSON.stringify(a)),WebViewJavascriptBridge.callHandler("request",a,function(e){"string"==typeof e&&(e=JSON.parse(e)),(0,i.log)("onRequest<-"+JSON.stringify(e)),e.error||"true"===e.error?e.callbackId&&"function"==typeof _[e.type+"_"+e.callbackId+"-notok"]?_[e.type+"_"+e.callbackId+"-notok"](g(-1,e.info)):"function"==typeof _[e.type+"-notok"]&&_[e.type+"-notok"](g(-1,e.info)):e.callbackId&&"function"==typeof _[e.type+"_"+e.callbackId+"-ok"]?(c||s||l||e.payload)&&_[e.type+"_"+e.callbackId+"-ok"](y(e.payload)):"function"==typeof _[e.type+"-ok"]&&(c||s||l||e.payload)&&_[e.type+"-ok"](y(e.payload))}),B||(WebViewJavascriptBridge.registerHandler("request",function(e){"string"==typeof e&&(e=JSON.parse(e)),e.error||"true"===e.error?e.callbackId&&"function"==typeof _[e.type+"_"+e.callbackId+"-notok"]?_[e.type+"_"+e.callbackId+"-notok"](g(-1,e.info)):"function"==typeof _[e.type+"-notok"]&&_[e.type+"-notok"](g(-1,e.info)):e.callbackId&&"function"==typeof _[e.type+"_"+e.callbackId+"-ok"]?_[e.type+"_"+e.callbackId+"-ok"](y(e.payload)):"function"==typeof _[e.type+"-ok"]&&_[e.type+"-ok"](y(e.payload))}),B=!0)},I=function(e,t,n,a){if((0,o.isEmpty)(e))throw new Error("functionNo is required ...");var r={funcId:e,payload:t||{}};(0,i.log)("onApiRequest->"+JSON.stringify(r)),WebViewJavascriptBridge.callHandler("apiRequest",r,function(e){if((0,i.log)("onApiRequest<-"+JSON.stringify(e)),"string"==typeof e&&(e=JSON.parse(e)),c||s||l){if(e.error||"true"===e.error)e.payload?"function"==typeof a&&a(g(e.payload.code,e.payload.info)):"function"==typeof a&&a(g(-1,e.info));else if("function"==typeof n){var t={};e.payload&&(t="string"==typeof e.payload.data?JSON.parse(e.payload.data):e.payload.data),n(y(t))}}else if(e.error||"true"===e.error)"function"==typeof a&&a(g(-1,e.info));else{var o={};o="string"==typeof e.payload.data?JSON.parse(e.payload.data):e.payload.data?e.payload.data:{},"0"!=e.payload.code?"function"==typeof a&&a(g(e.payload.code,e.payload.info)):"function"==typeof n&&n(y(o))}})};t.wrapOkPayload=y,t.wrapNotOkPayload=g,t.ready=u,t.onBack=v,t.onRefresh=b,t.onNavigationBar=h,t.onPushView=k,t.onNotify=w,t.subscribeNotify=O,t.onDynamicLink=N,t.onRequest=W,t.pageWillAppear=m,t.onApiRequest=I},,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.onNavigateBack=t.onNavigateTo=t.onShare=t.onLogin=t.oauth=t.ready=void 0;var o=n(0),i=n(2),a=!1,r=function(){},c=function(){return{error:!1,info:"ok",payload:arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}},l=function(){return{error:!0,info:arguments.length>0&&void 0!==arguments[0]?arguments[0]:"error"}},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"请在东方赢家财富版客户端打开链接",t=document.createElement("div");t.style.cssText="display:table;position:absolute;left:0;right:0;top:0;bottom:0;width:100%;height:100%;background:white;z-index:99999;",t.innerHTML='<div style="display:table-cell;vertical-align: middle;text-align: center;">'+e+"</div>",document.body.appendChild(t)},f=function(){return!!navigator.userAgent.toLowerCase().match(/DFYJ/i)},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r;f()?(0,i.ready)(e):s()},u=function(e){var t={success:r,fail:r};e=(0,o._extends)({},t,e),f()?a||(a=!0,WebViewJavascriptBridge&&WebViewJavascriptBridge.callHandler("refreshToken",{},function(t){if("string"==typeof t&&(t=JSON.parse(t)),"0"==t.code){var n={};if(n.token=t.token,n.vtDeviceId=t.vtDeviceId,"function"==typeof e.success){var o=c(n);e.success(o)}}else if("function"==typeof e.fail){var i=l("桥接程序建立失败");e.fail(i)}a=!1})):s()},p=function(e){var t={success:r,fail:r};e=(0,o._extends)({},t,e),f()?(0,i.onRequest)("2","",e.success,e.fail):s()},y=function(e){var t={channel:"1",title:"",description:"",thumbImageUrl:"http://wxs.dfzq.com.cn/fileRes/new_download/images/new_pic.jpg",link:"",ext:"",success:r,fail:r};e=(0,o._extends)({},t,e),f()?(0,i.onRequest)("4",{channel:e.channel,title:e.title,description:e.description,thumbImageUrl:e.thumbImageUrl,link:e.link,ext:e.ext},e.success,e.fail):s()},g=function(e){var t={title:"",uri:"",success:r,fail:r};e=(0,o._extends)({},t,e),f()?(0,i.onPushView)(e):s()},v=function(e){var t={title:"",uri:"",success:r,fail:r};e=(0,o._extends)({},t,e),f()?(e.complete=e.success,(0,i.onBack)(e)):s()};t.ready=d,t.oauth=u,t.onLogin=p,t.onShare=y,t.onNavigateTo=g,t.onNavigateBack=v}])});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.fastman=t():e.fastman=t()}(this,function(){return function(e){function t(o){if(n[o])return n[o].exports;var i=n[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=8)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){var t=document.createElement("a");t.setAttribute("href",e);var n=t.href;return t=null,n},i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},a=function(e){return!(null!=e&&(e.length||e.length>0))};t.getAbsoluteUrl=o,t._extends=i,t.isEmpty=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){new Date};t.log=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.onApiRequest=t.pageWillAppear=t.onRequest=t.onDynamicLink=t.subscribeNotify=t.onNotify=t.onPushView=t.onNavigationBar=t.onRefresh=t.onBack=t.ready=t.wrapNotOkPayload=t.wrapOkPayload=void 0;var o=n(0),i=n(1),a=navigator.userAgent,r=a.match(/(Android);?[\s\/]+([\d.]+)?/),c=a.match(/(iPad).*OS\s([\d_]+)/),s=a.match(/(iPod)(.*OS\s([\d_]+))?/),l=!c&&a.match(/(iPhone\sOS)\s([\d_]+)/),f=!!a.toLowerCase().match(/DFYJ/i),u=function(e){return e.init(function(e,t){t&&t(data)}),e},d=function(e){var t=function(t){(0,i.log)("ready end"),e(t)};if(f)if(c||l||s){if(window.WebViewJavascriptBridge)return(0,i.log)("ready sync start"),t(WebViewJavascriptBridge);if((0,i.log)("ready async start(push)"),window.WVJBCallbacks)return window.WVJBCallbacks.push(t);(0,i.log)("ready async start(iframe)"),window.WVJBCallbacks=[t];var n=document.createElement("iframe");n.style.display="none",n.src="https://__bridge_loaded__",document.documentElement.appendChild(n),setTimeout(function(){document.documentElement.removeChild(n)},0)}else r?window.WebViewJavascriptBridge?((0,i.log)("ready sync start"),t(u(WebViewJavascriptBridge))):((0,i.log)("ready async start"),document.addEventListener("WebViewJavascriptBridgeReady",function(){t(u(WebViewJavascriptBridge))},!1)):((0,i.log)("other platform ready sync start"),t());else(0,i.log)("non app ready sync start"),t()},p=function(){},y=function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}},g=function(){return{code:arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,info:arguments.length>1&&void 0!==arguments[1]?arguments[1]:"error"}},v=function(e){var t={complete:p};t=(0,o._extends)({},t,e),(0,i.log)("onBack->"+JSON.stringify(t)),WebViewJavascriptBridge.callHandler("back",t,function(e){(0,i.log)("onBack<-"+JSON.stringify(e)),t.complete(e)})},b=function(e){var t={complete:p};t=(0,o._extends)({},t,e),(0,i.log)("onRefresh->"+JSON.stringify(t)),WebViewJavascriptBridge.callHandler("refresh",t,function(e){(0,i.log)("onRefresh<-"+JSON.stringify(e)),t.complete(e)})},h=function(e){var t={complete:p};t=(0,o._extends)({},t,e),(0,i.log)("onNavigationBar->"+JSON.stringify(t)),WebViewJavascriptBridge.callHandler("navigationBar",t,function(e){(0,i.log)("onNavigationBar<-"+JSON.stringify(e)),t.complete(e)})},k=function(e){var t={title:""};t=(0,o._extends)({},t,e),t.uri&&(-1!=t.uri.indexOf("http")||-1!=t.uri.indexOf("https")||(t.uri=(0,o.getAbsoluteUrl)(t.uri))),(0,i.log)("onPushView->"+JSON.stringify(t)),WebViewJavascriptBridge.callHandler("pushView",t,function(e){(0,i.log)("onPushView<-"+JSON.stringify(e))})},m=function(e){"function"==typeof e&&WebViewJavascriptBridge.registerHandler("pageWillAppear",e)},w=function(e){var t={type:"javascriptNotify"};t=(0,o._extends)({},t,e),(0,i.log)("onNotify->"+JSON.stringify(t)),WebViewJavascriptBridge.callHandler("notify",t,function(e){(0,i.log)("onNotify<-"+JSON.stringify(e))})},J={},O=function(e,t){if("function"==typeof t){var n=e;"sae_video"==n&&(n="notify"),J[n]=t,(0,i.log)("subscribeNotify->"+e),WebViewJavascriptBridge.registerHandler(n,function(e){(0,i.log)("subscribeNotify<-"+JSON.stringify(e)),Object.prototype.toString.call(e).toLocaleLowerCase()=="[object String]".toLocaleLowerCase()&&(e=JSON.parse(e)),J[n]&&J[n](e)})}},N=function(e){var t={url:""};t=(0,o._extends)({},t,e),(0,i.log)("onDynamicLink->"+JSON.stringify(t)),WebViewJavascriptBridge.callHandler("dynamicLink",t,function(e){(0,i.log)("onDynamicLink<-"+JSON.stringify(e))})},_={},B=!1,x=function(e,t){switch(arguments.length){case 1:return parseInt(Math.random()*e+1,10);case 2:return parseInt(Math.random()*(t-e+1)+e,10);default:return 0}},S=[],V=function e(){var t=x(1e3,9999);return-1!==S.indexOf(t)?e(t):(S.push(t),t)},W=function(e,t,n,o){var a={type:e||"1",payload:t||{},callbackId:V()};_[e+"-ok"]="function"==typeof n?n:p,_[e+"-notok"]="function"==typeof o?o:p,_[e+"_"+a.callbackId+"-ok"]="function"==typeof n?n:p,_[e+"_"+a.callbackId+"-notok"]="function"==typeof o?o:p,(0,i.log)("onRequest->"+JSON.stringify(a)),WebViewJavascriptBridge.callHandler("request",a,function(e){"string"==typeof e&&(e=JSON.parse(e)),(0,i.log)("onRequest<-"+JSON.stringify(e)),e.error||"true"===e.error?e.callbackId&&"function"==typeof _[e.type+"_"+e.callbackId+"-notok"]?_[e.type+"_"+e.callbackId+"-notok"](g(-1,e.info)):"function"==typeof _[e.type+"-notok"]&&_[e.type+"-notok"](g(-1,e.info)):e.callbackId&&"function"==typeof _[e.type+"_"+e.callbackId+"-ok"]?(c||l||s||e.payload)&&_[e.type+"_"+e.callbackId+"-ok"](y(e.payload)):"function"==typeof _[e.type+"-ok"]&&(c||l||s||e.payload)&&_[e.type+"-ok"](y(e.payload))}),B||(WebViewJavascriptBridge.registerHandler("request",function(e){"string"==typeof e&&(e=JSON.parse(e)),e.error||"true"===e.error?e.callbackId&&"function"==typeof _[e.type+"_"+e.callbackId+"-notok"]?_[e.type+"_"+e.callbackId+"-notok"](g(-1,e.info)):"function"==typeof _[e.type+"-notok"]&&_[e.type+"-notok"](g(-1,e.info)):e.callbackId&&"function"==typeof _[e.type+"_"+e.callbackId+"-ok"]?_[e.type+"_"+e.callbackId+"-ok"](y(e.payload)):"function"==typeof _[e.type+"-ok"]&&_[e.type+"-ok"](y(e.payload))}),B=!0)},I=function(e,t,n,a){if((0,o.isEmpty)(e))throw new Error("functionNo is required ...");var r={funcId:e,payload:t||{}};(0,i.log)("onApiRequest->"+JSON.stringify(r)),WebViewJavascriptBridge.callHandler("apiRequest",r,function(e){if((0,i.log)("onApiRequest<-"+JSON.stringify(e)),"string"==typeof e&&(e=JSON.parse(e)),c||l||s){if(e.error||"true"===e.error)e.payload?"function"==typeof a&&a(g(e.payload.code,e.payload.info)):"function"==typeof a&&a(g(-1,e.info));else if("function"==typeof n){var t={};e.payload&&(t="string"==typeof e.payload.data?JSON.parse(e.payload.data):e.payload.data),n(y(t))}}else if(e.error||"true"===e.error)"function"==typeof a&&a(g(-1,e.info));else{var o={};o="string"==typeof e.payload.data?JSON.parse(e.payload.data):e.payload.data?e.payload.data:{},"0"!=e.payload.code?"function"==typeof a&&a(g(e.payload.code,e.payload.info)):"function"==typeof n&&n(y(o))}})};t.wrapOkPayload=y,t.wrapNotOkPayload=g,t.ready=d,t.onBack=v,t.onRefresh=b,t.onNavigationBar=h,t.onPushView=k,t.onNotify=w,t.subscribeNotify=O,t.onDynamicLink=N,t.onRequest=W,t.pageWillAppear=m,t.onApiRequest=I},,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.onReq=t.onNavigateBack=t.onNavigateTo=t.onShare=t.onLogin=t.oauth=t.ready=t.isFromWeiXin=t.isFromApp=void 0;var o=n(0),i=n(2),a=!1,r=function(){},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"请在东方赢家财富版客户端打开链接",t=document.createElement("div");t.style.cssText="display:table;position:absolute;left:0;right:0;top:0;bottom:0;width:100%;height:100%;background:white;z-index:99999;",t.innerHTML='<div style="display:table-cell;vertical-align: middle;text-align: center;">'+e+"</div>",document.body.appendChild(t)},s=function(){return!!navigator.userAgent.toLowerCase().match(/DFYJ/i)},l=function(){return!!navigator.userAgent.toLowerCase().match(/MicroMessenger/i)},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r;s()?(0,i.ready)(e):c()},u=function(e){var t={success:r,fail:r};e=(0,o._extends)({},t,e),s()?a||(a=!0,WebViewJavascriptBridge&&WebViewJavascriptBridge.callHandler("refreshToken",{},function(t){if("string"==typeof t&&(t=JSON.parse(t)),"0"==t.code){var n={};if(n.token=t.token,n.vtDeviceId=t.vtDeviceId,"function"==typeof e.success){var o=(0,i.wrapOkPayload)(n);e.success(o)}}else if("function"==typeof e.fail){var r=(0,i.wrapNotOkPayload)(-1,"桥接程序建立失败");e.fail(r)}a=!1})):c()},d=function(e){var t={success:r,fail:r};e=(0,o._extends)({},t,e),s()?(0,i.onRequest)("2","",e.success,e.fail):c()},p=function(e){var t={channel:"1",title:"",description:"",thumbImageUrl:"http://wxs.dfzq.com.cn/fileRes/new_download/images/new_pic.jpg",link:"",ext:"",success:r,fail:r};e=(0,o._extends)({},t,e),s()?(0,i.onRequest)("4",{channel:e.channel,title:e.title,description:e.description,thumbImageUrl:e.thumbImageUrl,link:e.link,ext:e.ext},e.success,e.fail):c()},y=function(e){var t={title:"",uri:"",success:r,fail:r};e=(0,o._extends)({},t,e),s()?(0,i.onPushView)(e):c()},g=function(e){var t={title:"",uri:"",success:r,fail:r};e=(0,o._extends)({},t,e),s()?(e.complete=e.success,(0,i.onBack)(e)):c()},v=function(e,t){var n={success:r,fail:r};t=(0,o._extends)({},n,t),s()?(0,i.onApiRequest)(e,t,t.success,t.fail):c()};t.isFromApp=s,t.isFromWeiXin=l,t.ready=f,t.oauth=u,t.onLogin=d,t.onShare=p,t.onNavigateTo=y,t.onNavigateBack=g,t.onReq=v}])});
|