audioCall.js 247 KB

12
  1. /*! For license information please see audioCall.js.LICENSE.txt */
  2. !function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=52)}([function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s,c,l){var u,d="function"==typeof e?e.options:e;if(c){d.components||(d.components={});var f=Object.prototype.hasOwnProperty;for(var h in c)f.call(c,h)&&!f.call(d.components,h)&&(d.components[h]=c[h])}if(l&&("function"==typeof l.beforeCreate&&(l.beforeCreate=[l.beforeCreate]),(l.beforeCreate||(l.beforeCreate=[])).unshift((function(){this[l.__module]=this})),(d.mixins||(d.mixins=[])).push(l)),t&&(d.render=t,d.staticRenderFns=n,d._compiled=!0),i&&(d.functional=!0),o&&(d._scopeId="data-v-"+o),a?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},d._ssrRegister=u):r&&(u=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),u)if(d.functional){d._injectStyles=u;var _=d.render;d.render=function(e,t){return u.call(t),_(e,t)}}else{var p=d.beforeCreate;d.beforeCreate=p?[].concat(p,u):[u]}return{exports:e,options:d}}n.d(t,"a",(function(){return i}))},function(e,t){e.exports={".content":{"":{display:["flex",0,0,16],flexDirection:["column",0,0,16],width:[94,0,0,16],marginLeft:[3,0,0,16],backgroundColor:["#FFFFFF",0,0,16],borderRadius:["16rpx",0,0,16],boxShadow:["0rpx 0rpx 10rpx 0rpx lightgray",0,0,16]}},".contentInRowL":{"":{display:["flex",0,0,17],flexDirection:["row",0,0,17],justifyContent:["flex-start",0,0,17]}},".contentInRowR":{"":{display:["flex",0,0,18],flexDirection:["row",0,0,18],justifyContent:["flex-end",0,0,18]}},".contentInRowC":{"":{display:["flex",0,0,19],flexDirection:["row",0,0,19],justifyContent:["center",0,0,19],alignItems:["center",0,0,19]}},".contentInRowS":{"":{display:["flex",0,0,20],flexDirection:["row",0,0,20],alignItems:["center",0,0,20],justifyContent:["space-between",0,0,20]}},".contentColumn":{"":{display:["flex",0,0,21],flexDirection:["column",0,0,21]}},".contentColumnC":{"":{display:["flex",0,0,22],flexDirection:["column",0,0,22],alignItems:["center",0,0,22],justifyContent:["center",0,0,22]}},".text1row":{"":{overflow:["hidden",0,0,23],textOverflow:["ellipsis",0,0,23]}},".text2row":{"":{overflow:["hidden",0,0,24],textOverflow:["ellipsis",0,0,24]}},"@VERSION":2}},function(e,t,n){"use strict";function i(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1)}function r(){return"string"==typeof __channelId__&&__channelId__}function o(e,t){switch(i(t)){case"Function":return"function() { [native code] }";default:return t}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=t.shift();if(r())return t.push(t.pop().replace("at ","uni-app:///")),console[a].apply(console,t);var s=t.map((function(e){var t=Object.prototype.toString.call(e).toLowerCase();if("[object object]"===t||"[object array]"===t)try{e="---BEGIN:JSON---"+JSON.stringify(e,o)+"---END:JSON---"}catch(n){e=t}else if(null===e)e="---NULL---";else if(void 0===e)e="---UNDEFINED---";else{var n=i(e).toUpperCase();e="NUMBER"===n||"BOOLEAN"===n?"---BEGIN:"+n+"---"+e+"---END:"+n+"---":String(e)}return e})),c="";if(s.length>1){var l=s.pop();c=s.join("---COMMA---"),0===l.indexOf(" at ")?c+=l:c+="---COMMA---"+l}else c=s[0];console[a](c)},t.log=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];console[e].apply(console,n)}},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){Vue.prototype.__$appStyle__={},Vue.prototype.__merge_style&&Vue.prototype.__merge_style(n(6).default,Vue.prototype.__$appStyle__)},function(e,t,n){"use strict";n.r(t);var i=n(1),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t.default=r.a},function(e,t){if("undefined"==typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){throw n}))}))}),"undefined"!=typeof uni&&uni&&uni.requireGlobal){var n=uni.requireGlobal();ArrayBuffer=n.ArrayBuffer,Int8Array=n.Int8Array,Uint8Array=n.Uint8Array,Uint8ClampedArray=n.Uint8ClampedArray,Int16Array=n.Int16Array,Uint16Array=n.Uint16Array,Int32Array=n.Int32Array,Uint32Array=n.Uint32Array,Float32Array=n.Float32Array,Float64Array=n.Float64Array,BigInt64Array=n.BigInt64Array,BigUint64Array=n.BigUint64Array}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return weex.requireModule(e)}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var i=n(61);function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,i(r.key),r)}}e.exports=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},,,function(e,t,n){"use strict";var i=n(36),r=n(27),o=n(0);var a=Object(o.a)(r.default,i.b,i.c,!1,null,null,"1786a3be",!1,i.a,void 0);(function(e){this.options.style||(this.options.style={}),Vue.prototype.__merge_style&&Vue.prototype.__$appStyle__&&Vue.prototype.__merge_style(Vue.prototype.__$appStyle__,this.options.style),Vue.prototype.__merge_style?Vue.prototype.__merge_style(n(49).default,this.options.style):Object.assign(this.options.style,n(49).default)}).call(a),t.default=a.exports},,,,,function(e,t,n){"use strict";n.r(t);var i=n(19),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t.default=r.a},function(e,t,n){"use strict";var i=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(55)),o=i(n(56));weex.requireModule("dom").addRule("fontFace",{fontFamily:"uniicons",src:"url('"+o.default+"')"});var a={name:"UniIcons",emits:["click"],props:{type:{type:String,default:""},color:{type:String,default:"#333333"},size:{type:[Number,String],default:16},customPrefix:{type:String,default:""}},data:function(){return{icons:r.default.glyphs}},computed:{unicode:function(){var e=this,t=this.icons.find((function(t){return t.font_class===e.type}));return t?unescape("%u".concat(t.unicode)):""},iconSize:function(){return"number"==typeof(e=this.size)||/^[0-9]*$/g.test(e)?e+"px":e;var e}},methods:{_onClick:function(){this.$emit("click")}}};t.default=a},function(e,t){e.exports={".uni-icons":{"":{fontFamily:["uniicons",0,0,16],textDecoration:["none",0,0,16],textAlign:["center",0,0,16]}},"@VERSION":2}},function(e,t,n){"use strict";n.r(t);var i=n(22),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t.default=r.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={props:{shownav:!0,tinColor:"",title:"",titledetl:"",rightBT1:"",rightBTimg1:"",rightBT2:0,rightBTimg2:"",isfaver:0,addBT:0,jiantou:0,xinzeng:0},data:function(){return{statusBarHeight:0,navBarHeight:50,fanhuisrc:"/static/imags/fanhuiz@3x.png",fanhuisrcb:"/static/imags/fanhuiB@3x.png"}},created:function(){var e=uni.getSystemInfoSync();this.statusBarHeight=2*e.statusBarHeight+30,this.navBarHeight=50+this.statusBarHeight},methods:{leftbuttonsel:function(e){1==e&&uni.navigateBack(),this.$emit("Enavbarsel",e)}}};t.default=i},function(e,t){e.exports={".contentView":{"":{position:["fixed",0,0,0],left:[0,0,0,0],right:[0,0,0,0],top:[0,0,0,0],zIndex:[999,0,0,0],backgroundColor:["#40AE36",0,0,0]}},".navBarBox":{"":{display:["flex",0,0,1],width:["700rpx",0,0,1],backgroundColor:["#40AE36",0,0,1]}},".navBar":{"":{display:["flex",0,0,2],width:["700rpx",0,0,2],marginLeft:[5,0,0,2],paddingBottom:["10rpx",0,0,2],flexDirection:["row",0,0,2],justifyContent:["space-between",0,0,2],alignItems:["center",0,0,2]}},".logo":{"":{width:["50rpx",0,0,3],height:["50rpx",0,0,3],marginLeft:["6rpx",0,0,3]}},".textlable":{"":{flexDirection:["column",0,0,4],marginLeft:["20rpx",0,0,4]}},".textlableR":{"":{flexDirection:["column",0,0,5],marginLeft:["20rpx",0,0,5]}},".lableTR":{"":{fontSize:["32rpx",0,0,6],color:["#FFFFFF",0,0,6]}},".lableTRb":{"":{fontSize:["30rpx",0,0,7],color:["#1A1A1A",0,0,7]}},".lableT":{"":{fontSize:["30rpx",0,0,8],color:["#FFFFFF",0,0,8]}},".lableTb":{"":{fontSize:["30rpx",0,0,9],color:["#1A1A1A",0,0,9],textAlign:["left",0,0,9]}},".lableB":{"":{fontSize:["22rpx",0,0,10],color:["#FFFFFF",0,0,10]}},".leftconten":{"":{display:["flex",0,0,11],flexDirection:["row",0,0,11],justifyContent:["flex-start",0,0,11]}},".rightconten":{"":{display:["flex",0,0,12],flexDirection:["row",0,0,12],justifyContent:["flex-end",0,0,12]}},".mycart":{"":{marginRight:["10rpx",0,0,13],width:["50rpx",0,0,13],height:["46rpx",0,0,13]}},".xinzengTxt":{"":{marginRight:["10rpx",0,0,14],color:["#FFFFFF",0,0,14],fontSize:["28rpx",0,0,14]}},"@VERSION":2}},function(e,t,n){"use strict";n.r(t);var i=n(25),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t.default=r.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={name:"netImage",props:{mysrc:"",mymode:"",width:0,height:0,bradius:0,backgrS:0},data:function(){return{defaultImage:"/static/logo.png",baseUrl:"https://backend.fooder.tw/prod-api",showdefault:0,comUrl:this.mysrc}},watch:{mysrc:function(e){this.showdefault=0,this.comUrl=this.mysrc}},methods:{imageError:function(){this.comUrl="",this.showdefault=1},myimageclick:function(){this.$emit("Emyimageclick",this.comUrl)},compleurl:function(e){if(!e)return"";if(e.length<8)return"";var t=e.substring(0,8);return"https://"===t||"/static/"===t?e:this.baseUrl+e}}}},function(e,t){e.exports={".imageBGV":{"":{backgroundColor:["#FFFAF0",0,0,0],borderWidth:["1rpx",0,0,0],borderStyle:["solid",0,0,0],borderColor:["#D3D3D3",0,0,0]}},"@VERSION":2}},function(e,t,n){"use strict";var i=n(28),r=n.n(i);t.default=r.a},function(e,t,n){"use strict";(function(e){var i=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(58)),o=i(n(59)),a=i(n(60)),s=n(42),c=(n(74),i(n(76))),l=i(n(77)),u={components:{TrtcLocalView:c.default,TrtcRemoteView:l.default},data:function(){return{iscaller:!1,trtcCloud:null,sdkAppId:1600036174,userSig:"",roomId:Math.floor(1e5*Math.random()),userId:"",appScene:s.TRTCAppScene.TRTCAppSceneVideoCall,isFrontCamera:!0,streamType:s.TRTCVideoStreamType.TRTCVideoStreamTypeBig,remoteUserId:"",userinfo:"",friend:"",nickName:"",avatar:"",noteMessage:"",callState:!1,isAndroid:!1,audioObj:null,soundPlay:!1}},onLoad:function(t){var n=uni.getSystemInfoSync();if(this.isAndroid="android"===n.platform.toLowerCase(),e("log","onLoad---------------------"," at pages/imcall/audioCall.nvue:57"),getApp().globalData.imViewOpen=!0,this.userinfo=uni.getStorageSync("userInfo"),this.userId="user_"+this.userinfo.userId,e("log",this.userId," at pages/imcall/audioCall.nvue:61"),1==t.caller){this.iscaller=!0;var i=uni.getStorageSync("imUser");this.friend={id:"userid_"+i.userId,name:i.nickName,avatar:i.avatar},e("log",i," at pages/imcall/audioCall.nvue:71"),this.nickName=i.nickName,this.avatar=i.avatar,this.noteMessage=this.i18n("audioCall.zhengzhj")}else this.isAndroid||(this.audioObj=uni.createInnerAudioContext(),this.audioObj.src="hybrid/html/xuanfu/img/y800.mp3",this.audioObj.play(),this.soundPlay=!0)},mounted:function(){if("android"===uni.getSystemInfoSync().platform&&(o.default.requestAndroidPermission("android.permission.RECORD_AUDIO"),o.default.requestAndroidPermission("android.permission.CAMERA")),e("log","mounted---------------------"," at pages/imcall/audioCall.nvue:91"),this.iscaller)this.getUserSig(this.userId);else{var t=uni.getStorageSync("impayload");this.doPushMessage(t),this.isAndroid&&this.getUserSig(this.userId)}},unmounted:function(){this.handleUninstallEvents()},onUnload:function(){this.soundPlay&&this.audioObj.pause(),getApp().globalData.imViewOpen=!1,this.destroyInstance(),e("log","- onUnload"," at pages/imcall/audioCall.nvue:114")},onBackPress:function(){getApp().globalData.imViewOpen=!1,this.destroyInstance()},methods:{i18n:function(e){return getApp().globalData.$t(e)},doPushMessage:function(t){-1!=t.indexOf('\\"')&&(t=(t=(t=t.replace(/\\\"/g,'"')).replace(/\"{/g,"{")).replace(/}\"/g,"}"));var n=JSON.parse(t);e("log","doPushMessage",n," at pages/imcall/audioCall.nvue:132"),this.friend={id:"userid_"+n.userId,name:n.nickName,avatar:n.avatar},this.roomId=n.roomId,this.nickName=n.nickName,this.avatar=n.avatar},destroyInstance:function(){this.exitRoom(),this.trtcCloud&&(a.default.destroyInstance(),this.trtcCloud=null)},createTrtcCloud:function(){this.trtcCloud=a.default.createInstance(),this.handleEvents()},enterRoom:function(){try{this.createTrtcCloud();var t=this.roomId,n=this.userId,i=this.sdkAppId,r=this.appScene,o={roomId:+t,userId:n,sdkAppId:i,userSig:this.userSig};e("log",o," at pages/imcall/audioCall.nvue:169"),this.trtcCloud.enterRoom(o,r),this.iscaller||(this.noteMessage=this.i18n("audioCall.zhengzjt"))}catch(t){this.noteMessage=this.i18n("audioCall.wfjt"),e("log","enterRoom error = ".concat(JSON.stringify(t))," at pages/imcall/audioCall.nvue:176")}},exitRoom:function(){try{this.stopLocalAudio(),this.trtcCloud.exitRoom(),this.remoteUserId=""}catch(e){}},startLocalAudio:function(){this.trtcCloud.enableAudioVolumeEvaluation(300),this.trtcCloud.startLocalAudio()},stopLocalAudio:function(){this.trtcCloud.stopLocalAudio()},handleEvents:function(){var t=this;this.trtcCloud.on("onWarning",(function(e){})),this.trtcCloud.on("onError",(function(t){e("log","- onError: ",JSON.stringify(t)," at pages/imcall/audioCall.nvue:206")})),this.trtcCloud.on("onEnterRoom",(function(n){e("log","- onEnterRoom = ".concat(n)," at pages/imcall/audioCall.nvue:214"),n>0?t.iscaller?t.goEasypushmsg():(t.startLocalAudio(),t.noteMessage=t.i18n("audioCall.yijietong")):(t.noteMessage=t.i18n("audioCall.wfjt"),e("log","enter room failed\uff0cerror code = ".concat(n)," at pages/imcall/audioCall.nvue:230"))})),this.trtcCloud.on("onExitRoom",(function(n){t.noteMessage=t.i18n("audioCall.yiguanduan"),e("log","onExitRoom",n," at pages/imcall/audioCall.nvue:235")})),this.trtcCloud.on("onFirstVideoFrame",(function(t){e("log","\u6e32\u67d3\u7684\u9996\u5e27\u753b\u9762\u54cd\u5e94 = ".concat(JSON.stringify(t))," at pages/imcall/audioCall.nvue:244")})),this.trtcCloud.on("onRemoteUserEnterRoom",(function(e){t.remoteUserId=e,t.startLocalAudio(),t.noteMessage=t.i18n("audioCall.yijietong")})),this.trtcCloud.on("onUserVideoAvailable",(function(e){var n=e.userId,i=e.available;n&&i&&(t.remoteUserId=n,t.trtcCloud.startRemoteView(t.remoteUserId,t.streamType,t.remoteUserId))})),this.trtcCloud.on("onUserVoiceVolume",(function(e){}))},handleUninstallEvents:function(){this.trtcCloud.off("*")},bohaoAct:function(e){1==e?(this.soundPlay&&this.audioObj.pause(),this.getUserSig(this.userId)):2==e&&uni.navigateBack()},getUserSig:function(t){var n=this;this.callState=!0,(0,r.default)("getUserSig",{userId:t},(function(t){e("log","getUserSig",t," at pages/imcall/audioCall.nvue:300"),200==t.data.code?(n.userSig=t.data.data,n.enterRoom()):n.noteMessage=n.i18n("audioCall.wfjt")}),(function(e){}))},sentroomId:function(){if(e("log","sentroomId"," at pages/imcall/audioCall.nvue:313"),""!=this.imUser.cid&&null!=this.imUser.cid&&null!=this.imUser.cid){var t={roomId:JSON.stringify(this.roomId),nickName:this.userinfo.nickName,avatar:this.userinfo.avatar};e("log","sentroomId",this.imUser.cid," at pages/imcall/audioCall.nvue:328"),(0,r.default)("pushMsgYH",{cid:this.imUser.cid,title:"IM Call",content:"IM Call",payload:t},(function(t){e("log",t," at pages/imcall/audioCall.nvue:335")}),(function(e){}))}else uni.showToast({title:this.i18n("audioCall.hujiaosb"),icon:"none",duration:1e3})},goEasypushmsg:function(){var t={roomId:JSON.stringify(this.roomId),userId:this.userinfo.userId,nickName:this.userinfo.nickName,avatar:this.userinfo.avatar,ptype:1};e("log","goEasypushmsg1"," at pages/imcall/audioCall.nvue:348");var n=getApp().globalData.goEasy.pubsub;e("log","goEasypushmsg2"," at pages/imcall/audioCall.nvue:351"),n.publish({channel:this.friend.id,message:JSON.stringify(t),notification:{title:"IM Call",body:"Call"},onSuccess:function(){e("log","Publish successfully."," at pages/imcall/audioCall.nvue:360")},onFailed:function(t){e("log","Failed to publish message, code:"+t.code+" error:"+t.content," at pages/imcall/audioCall.nvue:363")}})}}};t.default=u}).call(this,n(2).default)},function(e,t,n){"use strict";n.r(t);var i=n(30),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t.default=r.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={name:"TrtcLocalView",props:{viewId:{type:String,default:""}}};t.default=i},function(e,t,n){"use strict";n.r(t);var i=n(32),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t.default=r.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={name:"TrtcRemoteView",props:{userId:{type:String,default:""},viewId:{type:String,default:""}}};t.default=i},function(e,t){e.exports={".iconImg":{"":{marginTop:["30rpx",0,0,0],width:["200rpx",0,0,0],height:["200rpx",0,0,0],borderRadius:["10rpx",0,0,0],backgroundColor:["#1A1A1A",0,0,0]}},".spIcon":{"":{marginTop:["20rpx",0,0,1],marginRight:["20rpx",0,0,1],marginBottom:["20rpx",0,0,1],marginLeft:["20rpx",0,0,1],width:["150rpx",0,0,1],height:["150rpx",0,0,1]}},"@VERSION":2}},,,function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return i}));var i={customNav:n(53).default,netImage:n(57).default},r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("scroll-view",{staticStyle:{flexDirection:"column"},attrs:{scrollY:!0,showScrollbar:!0,enableBackToTop:!0,bubble:"true"}},[n("view",[n("customNav",{attrs:{shownav:!0,title:e.i18n("audioCall.imtitle"),tinColor:"#40AE36",jiantou:"0"}}),n("view",{staticClass:["contentColumnC"],staticStyle:{width:"700rpx",marginLeft:"25rpx",marginTop:"50rpx"}},[n("netImage",{staticClass:["spIcon"],attrs:{width:"120",height:"120",mysrc:e.avatar,mymode:"scaleToFill"}}),n("u-text",{staticStyle:{marginTop:"30rpx",fontSize:"32rpx"},appendAsTree:!0,attrs:{append:"tree"}},[e._v(e._s(e.nickName))]),e.callState?e._e():n("u-image",{staticStyle:{width:"80rpx",height:"80rpx",marginTop:"80rpx"},attrs:{src:"/static/imags/jietong.png",mode:"scaleToFill"},on:{click:function(t){e.bohaoAct(1)}}}),e.callState?n("u-image",{staticStyle:{width:"80rpx",height:"80rpx",marginTop:"80rpx"},attrs:{src:"/static/imags/guaduandd.png",mode:"scaleToFill"},on:{click:function(t){e.bohaoAct(2)}}}):e._e(),n("u-text",{staticStyle:{marginTop:"80rpx",fontSize:"32rpx"},appendAsTree:!0,attrs:{append:"tree"}},[e._v(e._s(e.noteMessage))])],1)],1)])},o=[]},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return i}));var i={uniIcons:n(54).default},r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("view",{},[n("view",{staticClass:["contentView"],style:{backgroundColor:e.tinColor}},[n("view",{staticClass:["navBarBox"],style:{marginTop:+e.statusBarHeight+"rpx",backgroundColor:e.tinColor}},[e.shownav?n("view",{staticClass:["navBar"]},[0==e.jiantou?n("view",{staticClass:["leftconten"]},[n("u-image",{staticClass:["logo"],attrs:{src:e.fanhuisrc,mode:"aspectFit"},on:{click:function(t){e.leftbuttonsel(1)}}}),""==e.titledetl?n("view",{staticClass:["textlableR"]},[n("view",{staticClass:["lableTR"]},[n("u-text",[e._v(e._s(e.title))])])]):e._e(),""!=e.titledetl?n("view",{staticClass:["textlable"]},[n("u-text",{staticClass:["lableT"],appendAsTree:!0,attrs:{append:"tree"}},[e._v(e._s(e.title))]),n("u-text",{staticClass:["lableB"],appendAsTree:!0,attrs:{append:"tree"}},[e._v(e._s(e.titledetl))])]):e._e()],1):e._e(),1==e.jiantou?n("view",{staticClass:["leftconten"]},[n("u-image",{staticClass:["logo"],attrs:{src:e.fanhuisrcb,mode:"aspectFit"},on:{click:function(t){e.leftbuttonsel(1)}}}),""==e.titledetl?n("view",{staticClass:["textlableR"]},[n("view",{staticClass:["lableTRb"]},[n("u-text",[e._v(e._s(e.title))])])]):e._e(),""!=e.titledetl?n("view",{staticClass:["textlable"]},[n("view",{staticClass:["lableTb"]},[n("u-text",[e._v(e._s(e.title))])]),n("view",{staticClass:["lableB"]},[n("u-text",[e._v(e._s(e.titledetl))])])]):e._e()],1):e._e(),n("view",{staticClass:["rightconten"]},[1==e.rightBT1?n("u-image",{staticClass:["mycart"],attrs:{src:e.rightBTimg1,mode:"scaleToFill"},on:{click:function(t){e.leftbuttonsel(2)}}}):e._e(),1==e.rightBT2?n("u-image",{staticClass:["mycart"],attrs:{src:e.rightBTimg2,mode:"scaleToFill"},on:{click:function(t){e.leftbuttonsel(3)}}}):e._e(),1==e.xinzeng?n("u-text",{staticClass:["xinzengTxt"],appendAsTree:!0,attrs:{append:"tree"},on:{click:function(t){e.leftbuttonsel(5)}}},[e._v(e._s(e.$t("schema.add")))]):e._e(),1==e.addBT?n("uni-icons",{attrs:{customPrefix:"custom-icon",color:"white",type:"plus",size:"26"},on:{click:function(t){e.leftbuttonsel(4)}}}):e._e()],1)]):e._e()])]),e.shownav?n("view",{style:{height:e.navBarHeight+"rpx"}}):e._e(),e.shownav?e._e():n("view",{style:{height:e.statusBarHeight+"rpx"}})])},o=[]},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){}));var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("view",{class:1==e.backgrS?"":"imageBGV",style:{width:e.width+"rpx",height:e.height+"rpx",borderRadius:e.bradius+"rpx"}},[n("u-image",{style:{width:e.width+"rpx",height:e.height+"rpx",borderRadius:e.bradius+"rpx"},attrs:{src:e.compleurl(e.comUrl),mode:e.mymode},on:{error:e.imageError,click:e.myimageclick}})],1)},r=[]},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){}));var i=function(){var e=this.$createElement;return(this._self._c||e)("TRTCCloudUniPlugin-TXLocalViewComponent",{attrs:{viewId:this.viewId}})},r=[]},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){}));var i=function(){var e=this.$createElement;return(this._self._c||e)("TRTCCloudUniPlugin-TXRemoteViewComponent",{attrs:{userId:this.userId,viewId:this.viewId}})},r=[]},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){}));var i=function(){var e=this.$createElement;return(this._self._c||e)("u-text",{staticClass:["uni-icons"],style:{color:this.color,"font-size":this.iconSize},appendAsTree:!0,attrs:{append:"tree"},on:{click:this._onClick}},[this._v(this._s(this.unicode))])},r=[]},function(e,t,n){"use strict";var i=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.TRTCVideoStreamType=t.TRTCVideoRotation=t.TRTCVideoResolutionMode=t.TRTCVideoResolution=t.TRTCVideoMirrorType=t.TRTCVideoFillMode=t.TRTCVideoEncParam=t.TRTCSnapshotSourceType=t.TRTCShareSource=t.TRTCScreenShareParams=t.TRTCRoleType=t.TRTCRenderParams=t.TRTCParams=t.TRTCGSensorMode=t.TRTCBeautyStyle=t.TRTCAudioRoute=t.TRTCAudioQuality=t.TRTCAppScene=t.AudioMusicParam=void 0;var r,o=i(n(10)),a=i(n(9));t.TRTCVideoResolution=r,function(e){e[e.TRTCVideoResolution_120_120=1]="TRTCVideoResolution_120_120",e[e.TRTCVideoResolution_160_160=3]="TRTCVideoResolution_160_160",e[e.TRTCVideoResolution_270_270=5]="TRTCVideoResolution_270_270",e[e.TRTCVideoResolution_480_480=7]="TRTCVideoResolution_480_480",e[e.TRTCVideoResolution_160_120=50]="TRTCVideoResolution_160_120",e[e.TRTCVideoResolution_240_180=52]="TRTCVideoResolution_240_180",e[e.TRTCVideoResolution_280_210=54]="TRTCVideoResolution_280_210",e[e.TRTCVideoResolution_320_240=56]="TRTCVideoResolution_320_240",e[e.TRTCVideoResolution_400_300=58]="TRTCVideoResolution_400_300",e[e.TRTCVideoResolution_480_360=60]="TRTCVideoResolution_480_360",e[e.TRTCVideoResolution_640_480=62]="TRTCVideoResolution_640_480",e[e.TRTCVideoResolution_960_720=64]="TRTCVideoResolution_960_720",e[e.TRTCVideoResolution_160_90=100]="TRTCVideoResolution_160_90",e[e.TRTCVideoResolution_256_144=102]="TRTCVideoResolution_256_144",e[e.TRTCVideoResolution_320_180=104]="TRTCVideoResolution_320_180",e[e.TRTCVideoResolution_480_270=106]="TRTCVideoResolution_480_270",e[e.TRTCVideoResolution_640_360=108]="TRTCVideoResolution_640_360",e[e.TRTCVideoResolution_960_540=110]="TRTCVideoResolution_960_540",e[e.TRTCVideoResolution_1280_720=112]="TRTCVideoResolution_1280_720",e[e.TRTCVideoResolution_1920_1080=114]="TRTCVideoResolution_1920_1080"}(r||(t.TRTCVideoResolution=r={}));var s;t.TRTCVideoResolutionMode=s,function(e){e[e.TRTCVideoResolutionModeLandscape=0]="TRTCVideoResolutionModeLandscape",e[e.TRTCVideoResolutionModePortrait=1]="TRTCVideoResolutionModePortrait"}(s||(t.TRTCVideoResolutionMode=s={}));var c;t.TRTCVideoStreamType=c,function(e){e[e.TRTCVideoStreamTypeBig=0]="TRTCVideoStreamTypeBig",e[e.TRTCVideoStreamTypeSmall=1]="TRTCVideoStreamTypeSmall",e[e.TRTCVideoStreamTypeSub=2]="TRTCVideoStreamTypeSub"}(c||(t.TRTCVideoStreamType=c={}));var l;t.TRTCSnapshotSourceType=l,function(e){e[e.TRTCSnapshotSourceTypeStream=0]="TRTCSnapshotSourceTypeStream",e[e.TRTCSnapshotSourceTypeView=1]="TRTCSnapshotSourceTypeView"}(l||(t.TRTCSnapshotSourceType=l={}));var u;t.TRTCVideoFillMode=u,function(e){e[e.TRTCVideoFillMode_Fill=0]="TRTCVideoFillMode_Fill",e[e.TRTCVideoFillMode_Fit=1]="TRTCVideoFillMode_Fit"}(u||(t.TRTCVideoFillMode=u={}));var d;t.TRTCVideoRotation=d,function(e){e[e.TRTCVideoRotation_0=0]="TRTCVideoRotation_0",e[e.TRTCVideoRotation_90=1]="TRTCVideoRotation_90",e[e.TRTCVideoRotation_180=2]="TRTCVideoRotation_180",e[e.TRTCVideoRotation_270=3]="TRTCVideoRotation_270"}(d||(t.TRTCVideoRotation=d={}));var f;t.TRTCVideoMirrorType=f,function(e){e[e.TRTCVideoMirrorType_Auto=0]="TRTCVideoMirrorType_Auto",e[e.TRTCVideoMirrorType_Enable=1]="TRTCVideoMirrorType_Enable",e[e.TRTCVideoMirrorType_Disable=2]="TRTCVideoMirrorType_Disable"}(f||(t.TRTCVideoMirrorType=f={}));var h;t.TRTCBeautyStyle=h,function(e){e[e.TRTCBeautyStyleSmooth=0]="TRTCBeautyStyleSmooth",e[e.TRTCBeautyStyleNature=1]="TRTCBeautyStyleNature",e[e.TRTCBeautyStylePitu=2]="TRTCBeautyStylePitu"}(h||(t.TRTCBeautyStyle=h={}));var _=(0,o.default)((function e(t,n,i,r,o,s,c){(0,a.default)(this,e),this.id=t,this.path=n,this.loopCount=i,this.publish=r,this.isShortFile=o,this.startTimeMS=s,this.endTimeMS=c}));t.AudioMusicParam=_;var p;t.TRTCAppScene=p,function(e){e[e.TRTCAppSceneVideoCall=0]="TRTCAppSceneVideoCall",e[e.TRTCAppSceneLIVE=1]="TRTCAppSceneLIVE",e[e.TRTCAppSceneAudioCall=2]="TRTCAppSceneAudioCall",e[e.TRTCAppSceneVoiceChatRoom=3]="TRTCAppSceneVoiceChatRoom"}(p||(t.TRTCAppScene=p={}));var m;t.TRTCRoleType=m,function(e){e[e.TRTCRoleAnchor=20]="TRTCRoleAnchor",e[e.TRTCRoleAudience=21]="TRTCRoleAudience"}(m||(t.TRTCRoleType=m={}));var g;t.TRTCAudioQuality=g,function(e){e[e.TRTCAudioQualitySpeech=1]="TRTCAudioQualitySpeech",e[e.TRTCAudioQualityDefault=2]="TRTCAudioQualityDefault",e[e.TRTCAudioQualityMusic=3]="TRTCAudioQualityMusic"}(g||(t.TRTCAudioQuality=g={}));var R=(0,o.default)((function e(t,n,i,r,o,s,c,l,u,d){(0,a.default)(this,e),this.sdkAppId=t,this.userId=n,this.roomId=i,this.userSig=r,this.strRoomId=o,this.privateMapKey=s,this.role=c,this.businessInfo=l,this.streamId=u,this.userDefineRecordId=d}));t.TRTCParams=R;var E=(0,o.default)((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.TRTCVideoResolution_640_360,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.TRTCVideoResolutionModePortrait,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:15,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:550,c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,l=arguments.length>5&&void 0!==arguments[5]&&arguments[5];(0,a.default)(this,e),this.videoResolution=t,this.videoResolutionMode=n,this.videoFps=i,this.videoBitrate=o,this.minVideoBitrate=c,this.enableAdjustRes=l}));t.TRTCVideoEncParam=E;var v=(0,o.default)((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.TRTCVideoRotation_0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.TRTCVideoFillMode_Fit,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f.TRTCVideoMirrorType_Disable;(0,a.default)(this,e),this.rotation=t,this.fillMode=n,this.mirrorType=i}));t.TRTCRenderParams=v;var y=(0,o.default)((function e(t){(0,a.default)(this,e),this.enableForegroundService=t}));t.TRTCScreenShareParams=y;var T,b;t.TRTCAudioRoute=T,function(e){e[e.TRTCAudioRouteSpeaker=0]="TRTCAudioRouteSpeaker",e[e.TRTCAudioRouteEarpiece=1]="TRTCAudioRouteEarpiece"}(T||(t.TRTCAudioRoute=T={})),t.TRTCShareSource=b,function(e){e.InApp="InApp",e.ByReplaykit="ByReplaykit"}(b||(t.TRTCShareSource=b={}));var w;t.TRTCGSensorMode=w,function(e){e[e.TRTC_GSENSOR_MODE_DISABLE=0]="TRTC_GSENSOR_MODE_DISABLE",e[e.TRTC_GSENSOR_MODE_UIAUTOLAYOUT=1]="TRTC_GSENSOR_MODE_UIAUTOLAYOUT"}(w||(t.TRTCGSensorMode=w={}))},function(e,t){function n(t,i){return e.exports=n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t,i)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";n.r(t);var i=n(20),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t.default=r.a},function(e,t,n){"use strict";n.r(t);var i=n(23),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t.default=r.a},function(e,t,n){"use strict";n.r(t);var i=n(26),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t.default=r.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.errorCodeUrl=t.NAME=void 0;t.NAME={ANDROID:"android",IOS:"ios",STRING:"string",FUNCTION:"function",BOOLEAN:"boolean",NUMBER:"number",LOG_PREFIX:"\u3010UniApp-JS\u3011"};t.errorCodeUrl="https://web.sdk.qcloud.com/trtc/uniapp/doc/zh-cn/ErrorCode.html"},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";n.r(t);var i=n(33),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t.default=r.a},,,function(e,t,n){"use strict";n.r(t);n(5),n(7);var i=n(13);i.default.mpType="page",i.default.route="pages/imcall/audioCall",i.default.el="#root",new Vue(i.default)},function(e,t,n){"use strict";n.r(t);var i=n(37),r=n(21);for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o);var a=n(0);var s=Object(a.a)(r.default,i.b,i.c,!1,null,null,"ed825840",!1,i.a,void 0);(function(e){this.options.style||(this.options.style={}),Vue.prototype.__merge_style&&Vue.prototype.__$appStyle__&&Vue.prototype.__merge_style(Vue.prototype.__$appStyle__,this.options.style),Vue.prototype.__merge_style?Vue.prototype.__merge_style(n(45).default,this.options.style):Object.assign(this.options.style,n(45).default)}).call(s),t.default=s.exports},function(e,t,n){"use strict";n.r(t);var i=n(41),r=n(18);for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o);var a=n(0);var s=Object(a.a)(r.default,i.b,i.c,!1,null,null,"200e2d19",!1,i.a,void 0);(function(e){this.options.style||(this.options.style={}),Vue.prototype.__merge_style&&Vue.prototype.__$appStyle__&&Vue.prototype.__merge_style(Vue.prototype.__$appStyle__,this.options.style),Vue.prototype.__merge_style?Vue.prototype.__merge_style(n(44).default,this.options.style):Object.assign(this.options.style,n(44).default)}).call(s),t.default=s.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={id:"2852637",name:"uniui\u56fe\u6807\u5e93",font_family:"uniicons",css_prefix_text:"uniui-",description:"",glyphs:[{icon_id:"25027049",name:"yanse",font_class:"color",unicode:"e6cf",unicode_decimal:59087},{icon_id:"25027048",name:"wallet",font_class:"wallet",unicode:"e6b1",unicode_decimal:59057},{icon_id:"25015720",name:"settings-filled",font_class:"settings-filled",unicode:"e6ce",unicode_decimal:59086},{icon_id:"25015434",name:"shimingrenzheng-filled",font_class:"auth-filled",unicode:"e6cc",unicode_decimal:59084},{icon_id:"24934246",name:"shop-filled",font_class:"shop-filled",unicode:"e6cd",unicode_decimal:59085},{icon_id:"24934159",name:"staff-filled-01",font_class:"staff-filled",unicode:"e6cb",unicode_decimal:59083},{icon_id:"24932461",name:"VIP-filled",font_class:"vip-filled",unicode:"e6c6",unicode_decimal:59078},{icon_id:"24932462",name:"plus_circle_fill",font_class:"plus-filled",unicode:"e6c7",unicode_decimal:59079},{icon_id:"24932463",name:"folder_add-filled",font_class:"folder-add-filled",unicode:"e6c8",unicode_decimal:59080},{icon_id:"24932464",name:"yanse-filled",font_class:"color-filled",unicode:"e6c9",unicode_decimal:59081},{icon_id:"24932465",name:"tune-filled",font_class:"tune-filled",unicode:"e6ca",unicode_decimal:59082},{icon_id:"24932455",name:"a-rilidaka-filled",font_class:"calendar-filled",unicode:"e6c0",unicode_decimal:59072},{icon_id:"24932456",name:"notification-filled",font_class:"notification-filled",unicode:"e6c1",unicode_decimal:59073},{icon_id:"24932457",name:"wallet-filled",font_class:"wallet-filled",unicode:"e6c2",unicode_decimal:59074},{icon_id:"24932458",name:"paihangbang-filled",font_class:"medal-filled",unicode:"e6c3",unicode_decimal:59075},{icon_id:"24932459",name:"gift-filled",font_class:"gift-filled",unicode:"e6c4",unicode_decimal:59076},{icon_id:"24932460",name:"fire-filled",font_class:"fire-filled",unicode:"e6c5",unicode_decimal:59077},{icon_id:"24928001",name:"refreshempty",font_class:"refreshempty",unicode:"e6bf",unicode_decimal:59071},{icon_id:"24926853",name:"location-ellipse",font_class:"location-filled",unicode:"e6af",unicode_decimal:59055},{icon_id:"24926735",name:"person-filled",font_class:"person-filled",unicode:"e69d",unicode_decimal:59037},{icon_id:"24926703",name:"personadd-filled",font_class:"personadd-filled",unicode:"e698",unicode_decimal:59032},{icon_id:"24923351",name:"back",font_class:"back",unicode:"e6b9",unicode_decimal:59065},{icon_id:"24923352",name:"forward",font_class:"forward",unicode:"e6ba",unicode_decimal:59066},{icon_id:"24923353",name:"arrowthinright",font_class:"arrow-right",unicode:"e6bb",unicode_decimal:59067},{icon_id:"24923353",name:"arrowthinright",font_class:"arrowthinright",unicode:"e6bb",unicode_decimal:59067},{icon_id:"24923354",name:"arrowthinleft",font_class:"arrow-left",unicode:"e6bc",unicode_decimal:59068},{icon_id:"24923354",name:"arrowthinleft",font_class:"arrowthinleft",unicode:"e6bc",unicode_decimal:59068},{icon_id:"24923355",name:"arrowthinup",font_class:"arrow-up",unicode:"e6bd",unicode_decimal:59069},{icon_id:"24923355",name:"arrowthinup",font_class:"arrowthinup",unicode:"e6bd",unicode_decimal:59069},{icon_id:"24923356",name:"arrowthindown",font_class:"arrow-down",unicode:"e6be",unicode_decimal:59070},{icon_id:"24923356",name:"arrowthindown",font_class:"arrowthindown",unicode:"e6be",unicode_decimal:59070},{icon_id:"24923349",name:"arrowdown",font_class:"bottom",unicode:"e6b8",unicode_decimal:59064},{icon_id:"24923349",name:"arrowdown",font_class:"arrowdown",unicode:"e6b8",unicode_decimal:59064},{icon_id:"24923346",name:"arrowright",font_class:"right",unicode:"e6b5",unicode_decimal:59061},{icon_id:"24923346",name:"arrowright",font_class:"arrowright",unicode:"e6b5",unicode_decimal:59061},{icon_id:"24923347",name:"arrowup",font_class:"top",unicode:"e6b6",unicode_decimal:59062},{icon_id:"24923347",name:"arrowup",font_class:"arrowup",unicode:"e6b6",unicode_decimal:59062},{icon_id:"24923348",name:"arrowleft",font_class:"left",unicode:"e6b7",unicode_decimal:59063},{icon_id:"24923348",name:"arrowleft",font_class:"arrowleft",unicode:"e6b7",unicode_decimal:59063},{icon_id:"24923334",name:"eye",font_class:"eye",unicode:"e651",unicode_decimal:58961},{icon_id:"24923335",name:"eye-filled",font_class:"eye-filled",unicode:"e66a",unicode_decimal:58986},{icon_id:"24923336",name:"eye-slash",font_class:"eye-slash",unicode:"e6b3",unicode_decimal:59059},{icon_id:"24923337",name:"eye-slash-filled",font_class:"eye-slash-filled",unicode:"e6b4",unicode_decimal:59060},{icon_id:"24923305",name:"info-filled",font_class:"info-filled",unicode:"e649",unicode_decimal:58953},{icon_id:"24923299",name:"reload-01",font_class:"reload",unicode:"e6b2",unicode_decimal:59058},{icon_id:"24923195",name:"mic_slash_fill",font_class:"micoff-filled",unicode:"e6b0",unicode_decimal:59056},{icon_id:"24923165",name:"map-pin-ellipse",font_class:"map-pin-ellipse",unicode:"e6ac",unicode_decimal:59052},{icon_id:"24923166",name:"map-pin",font_class:"map-pin",unicode:"e6ad",unicode_decimal:59053},{icon_id:"24923167",name:"location",font_class:"location",unicode:"e6ae",unicode_decimal:59054},{icon_id:"24923064",name:"starhalf",font_class:"starhalf",unicode:"e683",unicode_decimal:59011},{icon_id:"24923065",name:"star",font_class:"star",unicode:"e688",unicode_decimal:59016},{icon_id:"24923066",name:"star-filled",font_class:"star-filled",unicode:"e68f",unicode_decimal:59023},{icon_id:"24899646",name:"a-rilidaka",font_class:"calendar",unicode:"e6a0",unicode_decimal:59040},{icon_id:"24899647",name:"fire",font_class:"fire",unicode:"e6a1",unicode_decimal:59041},{icon_id:"24899648",name:"paihangbang",font_class:"medal",unicode:"e6a2",unicode_decimal:59042},{icon_id:"24899649",name:"font",font_class:"font",unicode:"e6a3",unicode_decimal:59043},{icon_id:"24899650",name:"gift",font_class:"gift",unicode:"e6a4",unicode_decimal:59044},{icon_id:"24899651",name:"link",font_class:"link",unicode:"e6a5",unicode_decimal:59045},{icon_id:"24899652",name:"notification",font_class:"notification",unicode:"e6a6",unicode_decimal:59046},{icon_id:"24899653",name:"staff",font_class:"staff",unicode:"e6a7",unicode_decimal:59047},{icon_id:"24899654",name:"VIP",font_class:"vip",unicode:"e6a8",unicode_decimal:59048},{icon_id:"24899655",name:"folder_add",font_class:"folder-add",unicode:"e6a9",unicode_decimal:59049},{icon_id:"24899656",name:"tune",font_class:"tune",unicode:"e6aa",unicode_decimal:59050},{icon_id:"24899657",name:"shimingrenzheng",font_class:"auth",unicode:"e6ab",unicode_decimal:59051},{icon_id:"24899565",name:"person",font_class:"person",unicode:"e699",unicode_decimal:59033},{icon_id:"24899566",name:"email-filled",font_class:"email-filled",unicode:"e69a",unicode_decimal:59034},{icon_id:"24899567",name:"phone-filled",font_class:"phone-filled",unicode:"e69b",unicode_decimal:59035},{icon_id:"24899568",name:"phone",font_class:"phone",unicode:"e69c",unicode_decimal:59036},{icon_id:"24899570",name:"email",font_class:"email",unicode:"e69e",unicode_decimal:59038},{icon_id:"24899571",name:"personadd",font_class:"personadd",unicode:"e69f",unicode_decimal:59039},{icon_id:"24899558",name:"chatboxes-filled",font_class:"chatboxes-filled",unicode:"e692",unicode_decimal:59026},{icon_id:"24899559",name:"contact",font_class:"contact",unicode:"e693",unicode_decimal:59027},{icon_id:"24899560",name:"chatbubble-filled",font_class:"chatbubble-filled",unicode:"e694",unicode_decimal:59028},{icon_id:"24899561",name:"contact-filled",font_class:"contact-filled",unicode:"e695",unicode_decimal:59029},{icon_id:"24899562",name:"chatboxes",font_class:"chatboxes",unicode:"e696",unicode_decimal:59030},{icon_id:"24899563",name:"chatbubble",font_class:"chatbubble",unicode:"e697",unicode_decimal:59031},{icon_id:"24881290",name:"upload-filled",font_class:"upload-filled",unicode:"e68e",unicode_decimal:59022},{icon_id:"24881292",name:"upload",font_class:"upload",unicode:"e690",unicode_decimal:59024},{icon_id:"24881293",name:"weixin",font_class:"weixin",unicode:"e691",unicode_decimal:59025},{icon_id:"24881274",name:"compose",font_class:"compose",unicode:"e67f",unicode_decimal:59007},{icon_id:"24881275",name:"qq",font_class:"qq",unicode:"e680",unicode_decimal:59008},{icon_id:"24881276",name:"download-filled",font_class:"download-filled",unicode:"e681",unicode_decimal:59009},{icon_id:"24881277",name:"pengyouquan",font_class:"pyq",unicode:"e682",unicode_decimal:59010},{icon_id:"24881279",name:"sound",font_class:"sound",unicode:"e684",unicode_decimal:59012},{icon_id:"24881280",name:"trash-filled",font_class:"trash-filled",unicode:"e685",unicode_decimal:59013},{icon_id:"24881281",name:"sound-filled",font_class:"sound-filled",unicode:"e686",unicode_decimal:59014},{icon_id:"24881282",name:"trash",font_class:"trash",unicode:"e687",unicode_decimal:59015},{icon_id:"24881284",name:"videocam-filled",font_class:"videocam-filled",unicode:"e689",unicode_decimal:59017},{icon_id:"24881285",name:"spinner-cycle",font_class:"spinner-cycle",unicode:"e68a",unicode_decimal:59018},{icon_id:"24881286",name:"weibo",font_class:"weibo",unicode:"e68b",unicode_decimal:59019},{icon_id:"24881288",name:"videocam",font_class:"videocam",unicode:"e68c",unicode_decimal:59020},{icon_id:"24881289",name:"download",font_class:"download",unicode:"e68d",unicode_decimal:59021},{icon_id:"24879601",name:"help",font_class:"help",unicode:"e679",unicode_decimal:59001},{icon_id:"24879602",name:"navigate-filled",font_class:"navigate-filled",unicode:"e67a",unicode_decimal:59002},{icon_id:"24879603",name:"plusempty",font_class:"plusempty",unicode:"e67b",unicode_decimal:59003},{icon_id:"24879604",name:"smallcircle",font_class:"smallcircle",unicode:"e67c",unicode_decimal:59004},{icon_id:"24879605",name:"minus-filled",font_class:"minus-filled",unicode:"e67d",unicode_decimal:59005},{icon_id:"24879606",name:"micoff",font_class:"micoff",unicode:"e67e",unicode_decimal:59006},{icon_id:"24879588",name:"closeempty",font_class:"closeempty",unicode:"e66c",unicode_decimal:58988},{icon_id:"24879589",name:"clear",font_class:"clear",unicode:"e66d",unicode_decimal:58989},{icon_id:"24879590",name:"navigate",font_class:"navigate",unicode:"e66e",unicode_decimal:58990},{icon_id:"24879591",name:"minus",font_class:"minus",unicode:"e66f",unicode_decimal:58991},{icon_id:"24879592",name:"image",font_class:"image",unicode:"e670",unicode_decimal:58992},{icon_id:"24879593",name:"mic",font_class:"mic",unicode:"e671",unicode_decimal:58993},{icon_id:"24879594",name:"paperplane",font_class:"paperplane",unicode:"e672",unicode_decimal:58994},{icon_id:"24879595",name:"close",font_class:"close",unicode:"e673",unicode_decimal:58995},{icon_id:"24879596",name:"help-filled",font_class:"help-filled",unicode:"e674",unicode_decimal:58996},{icon_id:"24879597",name:"plus-filled",font_class:"paperplane-filled",unicode:"e675",unicode_decimal:58997},{icon_id:"24879598",name:"plus",font_class:"plus",unicode:"e676",unicode_decimal:58998},{icon_id:"24879599",name:"mic-filled",font_class:"mic-filled",unicode:"e677",unicode_decimal:58999},{icon_id:"24879600",name:"image-filled",font_class:"image-filled",unicode:"e678",unicode_decimal:59e3},{icon_id:"24855900",name:"locked-filled",font_class:"locked-filled",unicode:"e668",unicode_decimal:58984},{icon_id:"24855901",name:"info",font_class:"info",unicode:"e669",unicode_decimal:58985},{icon_id:"24855903",name:"locked",font_class:"locked",unicode:"e66b",unicode_decimal:58987},{icon_id:"24855884",name:"camera-filled",font_class:"camera-filled",unicode:"e658",unicode_decimal:58968},{icon_id:"24855885",name:"chat-filled",font_class:"chat-filled",unicode:"e659",unicode_decimal:58969},{icon_id:"24855886",name:"camera",font_class:"camera",unicode:"e65a",unicode_decimal:58970},{icon_id:"24855887",name:"circle",font_class:"circle",unicode:"e65b",unicode_decimal:58971},{icon_id:"24855888",name:"checkmarkempty",font_class:"checkmarkempty",unicode:"e65c",unicode_decimal:58972},{icon_id:"24855889",name:"chat",font_class:"chat",unicode:"e65d",unicode_decimal:58973},{icon_id:"24855890",name:"circle-filled",font_class:"circle-filled",unicode:"e65e",unicode_decimal:58974},{icon_id:"24855891",name:"flag",font_class:"flag",unicode:"e65f",unicode_decimal:58975},{icon_id:"24855892",name:"flag-filled",font_class:"flag-filled",unicode:"e660",unicode_decimal:58976},{icon_id:"24855893",name:"gear-filled",font_class:"gear-filled",unicode:"e661",unicode_decimal:58977},{icon_id:"24855894",name:"home",font_class:"home",unicode:"e662",unicode_decimal:58978},{icon_id:"24855895",name:"home-filled",font_class:"home-filled",unicode:"e663",unicode_decimal:58979},{icon_id:"24855896",name:"gear",font_class:"gear",unicode:"e664",unicode_decimal:58980},{icon_id:"24855897",name:"smallcircle-filled",font_class:"smallcircle-filled",unicode:"e665",unicode_decimal:58981},{icon_id:"24855898",name:"map-filled",font_class:"map-filled",unicode:"e666",unicode_decimal:58982},{icon_id:"24855899",name:"map",font_class:"map",unicode:"e667",unicode_decimal:58983},{icon_id:"24855825",name:"refresh-filled",font_class:"refresh-filled",unicode:"e656",unicode_decimal:58966},{icon_id:"24855826",name:"refresh",font_class:"refresh",unicode:"e657",unicode_decimal:58967},{icon_id:"24855808",name:"cloud-upload",font_class:"cloud-upload",unicode:"e645",unicode_decimal:58949},{icon_id:"24855809",name:"cloud-download-filled",font_class:"cloud-download-filled",unicode:"e646",unicode_decimal:58950},{icon_id:"24855810",name:"cloud-download",font_class:"cloud-download",unicode:"e647",unicode_decimal:58951},{icon_id:"24855811",name:"cloud-upload-filled",font_class:"cloud-upload-filled",unicode:"e648",unicode_decimal:58952},{icon_id:"24855813",name:"redo",font_class:"redo",unicode:"e64a",unicode_decimal:58954},{icon_id:"24855814",name:"images-filled",font_class:"images-filled",unicode:"e64b",unicode_decimal:58955},{icon_id:"24855815",name:"undo-filled",font_class:"undo-filled",unicode:"e64c",unicode_decimal:58956},{icon_id:"24855816",name:"more",font_class:"more",unicode:"e64d",unicode_decimal:58957},{icon_id:"24855817",name:"more-filled",font_class:"more-filled",unicode:"e64e",unicode_decimal:58958},{icon_id:"24855818",name:"undo",font_class:"undo",unicode:"e64f",unicode_decimal:58959},{icon_id:"24855819",name:"images",font_class:"images",unicode:"e650",unicode_decimal:58960},{icon_id:"24855821",name:"paperclip",font_class:"paperclip",unicode:"e652",unicode_decimal:58962},{icon_id:"24855822",name:"settings",font_class:"settings",unicode:"e653",unicode_decimal:58963},{icon_id:"24855823",name:"search",font_class:"search",unicode:"e654",unicode_decimal:58964},{icon_id:"24855824",name:"redo-filled",font_class:"redo-filled",unicode:"e655",unicode_decimal:58965},{icon_id:"24841702",name:"list",font_class:"list",unicode:"e644",unicode_decimal:58948},{icon_id:"24841489",name:"mail-open-filled",font_class:"mail-open-filled",unicode:"e63a",unicode_decimal:58938},{icon_id:"24841491",name:"hand-thumbsdown-filled",font_class:"hand-down-filled",unicode:"e63c",unicode_decimal:58940},{icon_id:"24841492",name:"hand-thumbsdown",font_class:"hand-down",unicode:"e63d",unicode_decimal:58941},{icon_id:"24841493",name:"hand-thumbsup-filled",font_class:"hand-up-filled",unicode:"e63e",unicode_decimal:58942},{icon_id:"24841494",name:"hand-thumbsup",font_class:"hand-up",unicode:"e63f",unicode_decimal:58943},{icon_id:"24841496",name:"heart-filled",font_class:"heart-filled",unicode:"e641",unicode_decimal:58945},{icon_id:"24841498",name:"mail-open",font_class:"mail-open",unicode:"e643",unicode_decimal:58947},{icon_id:"24841488",name:"heart",font_class:"heart",unicode:"e639",unicode_decimal:58937},{icon_id:"24839963",name:"loop",font_class:"loop",unicode:"e633",unicode_decimal:58931},{icon_id:"24839866",name:"pulldown",font_class:"pulldown",unicode:"e632",unicode_decimal:58930},{icon_id:"24813798",name:"scan",font_class:"scan",unicode:"e62a",unicode_decimal:58922},{icon_id:"24813786",name:"bars",font_class:"bars",unicode:"e627",unicode_decimal:58919},{icon_id:"24813788",name:"cart-filled",font_class:"cart-filled",unicode:"e629",unicode_decimal:58921},{icon_id:"24813790",name:"checkbox",font_class:"checkbox",unicode:"e62b",unicode_decimal:58923},{icon_id:"24813791",name:"checkbox-filled",font_class:"checkbox-filled",unicode:"e62c",unicode_decimal:58924},{icon_id:"24813794",name:"shop",font_class:"shop",unicode:"e62f",unicode_decimal:58927},{icon_id:"24813795",name:"headphones",font_class:"headphones",unicode:"e630",unicode_decimal:58928},{icon_id:"24813796",name:"cart",font_class:"cart",unicode:"e631",unicode_decimal:58929}]}},function(e,t,n){e.exports=n.p+"assets/uniicons.b6d3756e.ttf"},function(e,t,n){"use strict";n.r(t);var i=n(38),r=n(24);for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o);var a=n(0);var s=Object(a.a)(r.default,i.b,i.c,!1,null,null,"1fcdeb74",!1,i.a,void 0);(function(e){this.options.style||(this.options.style={}),Vue.prototype.__merge_style&&Vue.prototype.__$appStyle__&&Vue.prototype.__merge_style(Vue.prototype.__$appStyle__,this.options.style),Vue.prototype.__merge_style?Vue.prototype.__merge_style(n(46).default,this.options.style):Object.assign(this.options.style,n(46).default)}).call(s),t.default=s.exports},function(e,t){var n="https://api.fooder.tw";e.exports=function(e,t,i,r){"SetTxorder"==e&&uni.request({url:n+"/system/txorder/SetTxorder",method:"POST",sslVerify:!1,data:t,header:{"Content-Type":"application/json"},success:function(e){i(e)},fail:function(e){r(e)}}),"getFjorder"==e&&uni.request({url:n+"/system/txorder/getFjorder",method:"GET",sslVerify:!1,data:t,header:{"Content-Type":"application/json"},success:function(e){i(e)},fail:function(e){r(e)}}),"getUsTxorder"==e&&uni.request({url:n+"/system/txorder/getUsTxorder",method:"GET",sslVerify:!1,data:t,header:{"Content-Type":"application/json",token:getApp().globalData.token},success:function(e){i(e)},fail:function(e){r(e)}}),"getTxorder"==e&&uni.request({url:n+"/system/txorder/getTxorder",method:"GET",sslVerify:!1,data:t,header:{"Content-Type":"application/json"},success:function(e){i(e)},fail:function(e){r(e)}}),"pushMsgYH"==e&&uni.request({url:"https://fc-mp-20ccbe79-10f8-41d7-a06c-c42581f351c1.next.bspapp.com/push",method:"GET",sslVerify:!1,data:t,header:{"Content-Type":"application/json"},success:function(e){i(e)},fail:function(e){r(e)}}),"pushMsgSJ"==e&&uni.request({url:"https://fc-mp-20ccbe79-10f8-41d7-a06c-c42581f351c1.next.bspapp.com/sjpush",method:"GET",sslVerify:!1,data:t,header:{"Content-Type":"application/json"},success:function(e){i(e)},fail:function(e){r(e)}}),"userCall"==e&&uni.request({url:n+"/system/call/userCall",method:"POST",sslVerify:!1,data:t,header:{"Content-Type":"application/json",token:getApp().globalData.token},success:function(e){i(e)},fail:function(e){r(e)}}),"getCall"==e&&uni.request({url:n+"/system/call/getCall",method:"GET",sslVerify:!1,data:t,header:{"Content-Type":"application/json",token:getApp().globalData.token},success:function(e){i(e)},fail:function(e){r(e)}}),"ringoff"==e&&uni.request({url:n+"/system/call/ringoff",method:"GET",sslVerify:!1,data:t,header:{"Content-Type":"application/json",token:getApp().globalData.token},success:function(e){i(e)},fail:function(e){r(e)}}),"getUserSig"==e&&uni.request({url:n+"/infouser/user/getUserSig",method:"GET",sslVerify:!1,data:t,header:{"Content-Type":"application/json"},success:function(e){i(e)},fail:function(e){r(e)}}),"kefuMsgList"==e&&uni.request({url:n+"/system/appeal/apiList",method:"GET",sslVerify:!1,data:t,header:{"Content-Type":"application/json"},success:function(e){i(e)},fail:function(e){r(e)}}),"updatakefuMsg"==e&&uni.request({url:n+"/system/appeal/apiAdd",method:"POST",sslVerify:!1,data:t,header:{"Content-Type":"application/json"},success:function(e){i(e)},fail:function(e){r(e)}}),"getfeedlist"==e&&uni.request({url:n+"/system/posfeedback/getfeedlist",method:"GET",sslVerify:!1,data:t,header:{"Content-Type":"application/json"},success:function(e){i(e)},fail:function(e){r(e)}}),"getzddaylist"==e&&uni.request({url:n+"/Billing/billing/getzddaylist",method:"GET",sslVerify:!1,data:t,header:{"Content-Type":"application/json",token:getApp().globalData.token},success:function(e){i(e)},fail:function(e){r(e)}}),"getzdmeeklist"==e&&uni.request({url:n+"/Billing/billing/getzdmeeklist",method:"GET",sslVerify:!1,data:t,header:{"Content-Type":"application/json",token:getApp().globalData.token},success:function(e){i(e)},fail:function(e){r(e)}}),"getzdmatlist"==e&&uni.request({url:n+"/Billing/billing/getzdmatlist",method:"GET",sslVerify:!1,data:t,header:{"Content-Type":"application/json",token:getApp().globalData.token},success:function(e){i(e)},fail:function(e){r(e)}})}},function(e,t,n){"use strict";(function(e){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n="iOS"==plus.os.name;var i={judgeIosPermission:function(t){return"location"==t?(i=plus.ios.import("CLLocationManager"),r=i.authorizationStatus(),e("log","\u5b9a\u4f4d\u6743\u9650\u5f00\u542f\uff1a"+(n=2!=r)," at TrtcCloud/permission.js:47"),plus.ios.deleteObject(i),n):"camera"==t?function(){var t=!1,n=plus.ios.import("AVCaptureDevice"),i=n.authorizationStatusForMediaType("vide");return e("log","authStatus:"+i," at TrtcCloud/permission.js:84"),3==i?(t=!0,e("log","\u76f8\u673a\u6743\u9650\u5df2\u7ecf\u5f00\u542f"," at TrtcCloud/permission.js:87")):e("log","\u76f8\u673a\u6743\u9650\u6ca1\u6709\u5f00\u542f"," at TrtcCloud/permission.js:89"),plus.ios.deleteObject(n),t}():"photoLibrary"==t?function(){var t=!1,n=plus.ios.import("PHPhotoLibrary"),i=n.authorizationStatus();return e("log","authStatus:"+i," at TrtcCloud/permission.js:100"),3==i?(t=!0,e("log","\u76f8\u518c\u6743\u9650\u5df2\u7ecf\u5f00\u542f"," at TrtcCloud/permission.js:103")):e("log","\u76f8\u518c\u6743\u9650\u6ca1\u6709\u5f00\u542f"," at TrtcCloud/permission.js:105"),plus.ios.deleteObject(n),t}():"record"==t?function(){var t=!1,n=plus.ios.import("AVAudioSession"),i=n.sharedInstance().recordPermission();return e("log","permissionStatus:"+i," at TrtcCloud/permission.js:68"),1684369017==i||1970168948==i?e("log","\u9ea6\u514b\u98ce\u6743\u9650\u6ca1\u6709\u5f00\u542f"," at TrtcCloud/permission.js:70"):(t=!0,e("log","\u9ea6\u514b\u98ce\u6743\u9650\u5df2\u7ecf\u5f00\u542f"," at TrtcCloud/permission.js:73")),plus.ios.deleteObject(n),t}():"push"==t?function(){var t=!1,n=plus.ios.import("UIApplication"),i=n.sharedApplication(),r=0;if(i.currentUserNotificationSettings){var o=i.currentUserNotificationSettings();r=o.plusGetAttribute("types"),e("log","enabledTypes1:"+r," at TrtcCloud/permission.js:18"),0==r?e("log","\u63a8\u9001\u6743\u9650\u6ca1\u6709\u5f00\u542f"," at TrtcCloud/permission.js:20"):(t=!0,e("log","\u5df2\u7ecf\u5f00\u542f\u63a8\u9001\u529f\u80fd!"," at TrtcCloud/permission.js:23")),plus.ios.deleteObject(o)}else 0==(r=i.enabledRemoteNotificationTypes())?e("log","\u63a8\u9001\u6743\u9650\u6ca1\u6709\u5f00\u542f!"," at TrtcCloud/permission.js:29"):(t=!0,e("log","\u5df2\u7ecf\u5f00\u542f\u63a8\u9001\u529f\u80fd!"," at TrtcCloud/permission.js:32")),e("log","enabledTypes2:"+r," at TrtcCloud/permission.js:34");return plus.ios.deleteObject(i),plus.ios.deleteObject(n),t}():"contact"==t?function(){var t=!1,n=plus.ios.import("CNContactStore");return 3==n.authorizationStatusForEntityType(0)?(t=!0,e("log","\u901a\u8baf\u5f55\u6743\u9650\u5df2\u7ecf\u5f00\u542f"," at TrtcCloud/permission.js:118")):e("log","\u901a\u8baf\u5f55\u6743\u9650\u6ca1\u6709\u5f00\u542f"," at TrtcCloud/permission.js:120"),plus.ios.deleteObject(n),t}():"calendar"==t?function(){var t=!1,n=plus.ios.import("EKEventStore");return 3==n.authorizationStatusForEntityType(0)?(t=!0,e("log","\u65e5\u5386\u6743\u9650\u5df2\u7ecf\u5f00\u542f"," at TrtcCloud/permission.js:133")):e("log","\u65e5\u5386\u6743\u9650\u6ca1\u6709\u5f00\u542f"," at TrtcCloud/permission.js:135"),plus.ios.deleteObject(n),t}():"memo"==t&&function(){var t=!1,n=plus.ios.import("EKEventStore");return 3==n.authorizationStatusForEntityType(1)?(t=!0,e("log","\u5907\u5fd8\u5f55\u6743\u9650\u5df2\u7ecf\u5f00\u542f"," at TrtcCloud/permission.js:148")):e("log","\u5907\u5fd8\u5f55\u6743\u9650\u6ca1\u6709\u5f00\u542f"," at TrtcCloud/permission.js:150"),plus.ios.deleteObject(n),t}();var n,i,r},requestAndroidPermission:function(t){return new Promise((function(n,i){plus.android.requestPermissions([t],(function(t){for(var i=0,r=0;r<t.granted.length;r++){var o=t.granted[r];e("log","\u5df2\u83b7\u53d6\u7684\u6743\u9650\uff1a"+o," at TrtcCloud/permission.js:165"),i=1}for(r=0;r<t.deniedPresent.length;r++){var a=t.deniedPresent[r];e("log","\u62d2\u7edd\u672c\u6b21\u7533\u8bf7\u7684\u6743\u9650\uff1a"+a," at TrtcCloud/permission.js:170"),i=0}for(r=0;r<t.deniedAlways.length;r++){var s=t.deniedAlways[r];e("log","\u6c38\u4e45\u62d2\u7edd\u7533\u8bf7\u7684\u6743\u9650\uff1a"+s," at TrtcCloud/permission.js:175"),i=-1}n(i)}),(function(t){e("log","\u7533\u8bf7\u6743\u9650\u9519\u8bef\uff1a"+t.code+" = "+t.message," at TrtcCloud/permission.js:185"),n({code:t.code,message:t.message})}))}))},checkSystemEnableLocation:function(){if(n){var t=!1,i=plus.ios.import("CLLocationManager");t=i.locationServicesEnabled();return e("log","\u7cfb\u7edf\u5b9a\u4f4d\u5f00\u542f:"+t," at TrtcCloud/permission.js:251"),plus.ios.deleteObject(i),t}var r=plus.android.importClass("android.content.Context"),o=plus.android.importClass("android.location.LocationManager");return t=plus.android.runtimeMainActivity().getSystemService(r.LOCATION_SERVICE).isProviderEnabled(o.GPS_PROVIDER),e("log","\u7cfb\u7edf\u5b9a\u4f4d\u5f00\u542f:"+t," at TrtcCloud/permission.js:260"),t},gotoAppPermissionSetting:function(){if(n){var e=plus.ios.import("UIApplication").sharedApplication(),t=plus.ios.import("NSURL"),i=t.URLWithString("app-settings:");e.openURL(i),plus.ios.deleteObject(i),plus.ios.deleteObject(t),plus.ios.deleteObject(e)}else{var r=plus.android.importClass("android.content.Intent"),o=plus.android.importClass("android.provider.Settings"),a=plus.android.importClass("android.net.Uri"),s=plus.android.runtimeMainActivity(),c=new r;c.setAction(o.ACTION_APPLICATION_DETAILS_SETTINGS);var l=a.fromParts("package",s.getPackageName(),null);c.setData(l),s.startActivity(c)}}};t.default=i}).call(this,n(2).default)},function(e,t,n){"use strict";(function(e){var i=n(3);Object.defineProperty(t,"__esModule",{value:!0});var r={};t.default=void 0;var o=i(n(9)),a=i(n(10)),s=i(n(63)),c=n(42);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var l=function(){function t(){(0,o.default)(this,t)}return(0,a.default)(t,[{key:"on",value:function(e,t){return s.default._getInstance().on(e,t)}},{key:"off",value:function(e){return s.default._getInstance().off(e)}},{key:"enterRoom",value:function(e,t){return s.default._getInstance().enterRoom(e,t)}},{key:"exitRoom",value:function(){return s.default._getInstance().exitRoom()}},{key:"switchRole",value:function(e){return s.default._getInstance().switchRole(e)}},{key:"connectOtherRoom",value:function(e){return s.default._getInstance().connectOtherRoom(e)}},{key:"disconnectOtherRoom",value:function(){return s.default._getInstance().disconnectOtherRoom()}},{key:"startLocalPreview",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;return s.default._getInstance().startLocalPreview(e,t)}},{key:"setVideoEncoderParam",value:function(e){return s.default._getInstance().setVideoEncoderParam(e)}},{key:"switchCamera",value:function(e){return s.default._getInstance().switchCamera(e)}},{key:"stopLocalPreview",value:function(){return s.default._getInstance().stopLocalPreview()}},{key:"setLocalRenderParams",value:function(e){return s.default._getInstance().setLocalRenderParams(e)}},{key:"muteLocalVideo",value:function(e,t){return s.default._getInstance().muteLocalVideo(e,t)}},{key:"startRemoteView",value:function(e,t,n){return s.default._getInstance().startRemoteView(e,t,n)}},{key:"stopRemoteView",value:function(e,t){return s.default._getInstance().stopRemoteView(e,t)}},{key:"setRemoteRenderParams",value:function(e,t,n){}},{key:"setVideoEncoderRotation",value:function(e){return s.default._getInstance().setVideoEncoderRotation(e)}},{key:"setVideoEncoderMirror",value:function(e){return s.default._getInstance().setVideoEncoderMirror(e)}},{key:"setGSensorMode",value:function(e){return s.default._getInstance().setGSensorMode(e)}},{key:"snapshotVideo",value:function(e,t,n){return s.default._getInstance().snapshotVideo(e,t,n)}},{key:"startLocalAudio",value:function(e){return s.default._getInstance().startLocalAudio(e)}},{key:"stopLocalAudio",value:function(){return s.default._getInstance().stopLocalAudio()}},{key:"muteLocalAudio",value:function(e){return s.default._getInstance().muteLocalAudio(e)}},{key:"muteRemoteAudio",value:function(e,t){return s.default._getInstance().muteRemoteAudio(e,t)}},{key:"muteAllRemoteAudio",value:function(e){return s.default._getInstance().muteAllRemoteAudio(e)}},{key:"setAudioRoute",value:function(e){return s.default._getInstance().setAudioRoute(e)}},{key:"enableAudioVolumeEvaluation",value:function(e){return s.default._getInstance().enableAudioVolumeEvaluation(e)}},{key:"setSubStreamEncoderParam",value:function(e){return s.default._getInstance().setSubStreamEncoderParam(e)}},{key:"startScreenCapture",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c.TRTCVideoStreamType.TRTCVideoStreamTypeSub,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return s.default._getInstance().startScreenCapture(e,t,n)}},{key:"stopScreenCapture",value:function(){return s.default._getInstance().stopScreenCapture()}},{key:"pauseScreenCapture",value:function(){return s.default._getInstance().pauseScreenCapture()}},{key:"resumeScreenCapture",value:function(){return s.default._getInstance().resumeScreenCapture()}},{key:"setBeautyStyle",value:function(e){return s.default._getInstance().setBeautyStyle(e)}},{key:"setBeautyLevel",value:function(e){return s.default._getInstance().setBeautyLevel(e)}},{key:"startPlayMusic",value:function(e){return s.default._getInstance().startPlayMusic(e)}},{key:"stopPlayMusic",value:function(e){return s.default._getInstance().stopPlayMusic(e)}},{key:"pausePlayMusic",value:function(e){return s.default._getInstance().pausePlayMusic(e)}},{key:"resumePlayMusic",value:function(e){return s.default._getInstance().resumePlayMusic(e)}},{key:"onError",value:function(e,t,n){}},{key:"onWarning",value:function(e,t,n){}},{key:"onEnterRoom",value:function(e){}},{key:"onExitRoom",value:function(e){}},{key:"onConnectOtherRoom",value:function(e){}},{key:"onDisconnectOtherRoom",value:function(e){}},{key:"onSwitchRole",value:function(e,t){}},{key:"onFirstVideoFrame",value:function(e,t,n,i){}},{key:"onFirstAudioFrame",value:function(e){}},{key:"onSnapshotComplete",value:function(e,t){}},{key:"onMicDidReady",value:function(){}},{key:"onCameraDidReady",value:function(){}},{key:"onNetworkQuality",value:function(e,t){}},{key:"onRemoteUserEnterRoom",value:function(e){}},{key:"onRemoteUserLeaveRoom",value:function(e,t){}},{key:"onSendFirstLocalAudioFrame",value:function(){}},{key:"onSendFirstLocalVideoFrame",value:function(e){}},{key:"onStatistics",value:function(e){}},{key:"onUserAudioAvailable",value:function(e,t){}},{key:"onUserVideoAvailable",value:function(e,t){}},{key:"onUserVoiceVolume",value:function(e,t){}},{key:"onScreenCaptureStarted",value:function(){}},{key:"onScreenCaptureStopped",value:function(e){}},{key:"onScreenCapturePaused",value:function(e){}},{key:"onScreenCaptureResumed",value:function(){}},{key:"onUserSubStreamAvailable",value:function(e,t){}},{key:"onUserVideoSizeChanged",value:function(e,t,n,i){}},{key:"onStart",value:function(e,t){}},{key:"onPlayProgress",value:function(e,t,n){}},{key:"onComplete",value:function(e,t){}}],[{key:"createInstance",value:function(){return e("log","----------------------------------------------------------------"," at TrtcCloud/lib/index.js:20"),e("log"," SDK ".concat("1.3.3"," ")," at TrtcCloud/lib/index.js:21"),e("log","----------------------------------------------------------------"," at TrtcCloud/lib/index.js:22"),s.default._createInstance()}},{key:"destroyInstance",value:function(){return s.default._destroyInstance()}}]),t}();t.default=l}).call(this,n(2).default)},function(e,t,n){var i=n(4).default,r=n(62);e.exports=function(e){var t=r(e,"string");return"symbol"==i(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var i=n(4).default;e.exports=function(e,t){if("object"!=i(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";(function(e,i){var r=n(3),o=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(64)),s=r(n(4)),c=r(n(9)),l=r(n(10)),u=n(47),d=n(42),f=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var i={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=r?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,n&&n.set(e,i);return i}(n(66));function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}var _=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{c(i.next(e))}catch(e){o(e)}}function s(e){try{c(i.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))},p=e("TRTCCloudUniPlugin-TRTCCloudImpl"),m=e("TRTCCloudUniPlugin-TRTCCloudImpl-TXAudioEffectManagerModule"),g=e("globalEvent"),R=null,E=function(){function e(){(0,c.default)(this,e),this.listenersMap_=new Map}return(0,l.default)(e,[{key:"on",value:function(e,t){var n=this;if((0,s.default)(e)!==u.NAME.STRING||(0,s.default)(t)!==u.NAME.FUNCTION)throw new f.default({code:f.TXLiteJSError.INVALID_PARAMETER,message:"".concat(u.NAME.LOG_PREFIX," please check the on method parameter types. event type is a ").concat((0,s.default)(e),"; callback type is a ").concat((0,s.default)(t))});var r=function(r){return _(n,void 0,void 0,a.default.mark((function n(){var o,s,c,l,u,d,h,_,p,m,g,R,E,v;return a.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:o=r.data,c=(s=void 0===o?[]:o)[0],l=s[1],u=s[2],n.t0=e,n.next="onEnterRoom"===n.t0?7:"onExitRoom"===n.t0?10:"onFirstVideoFrame"===n.t0?13:"onFirstAudioFrame"===n.t0?19:"onMicDidReady"===n.t0?22:"onCameraDidReady"===n.t0?24:"onNetworkQuality"===n.t0?26:"onRemoteUserEnterRoom"===n.t0?30:"onRemoteUserLeaveRoom"===n.t0?33:"onSendFirstLocalAudioFrame"===n.t0?37:"onSendFirstLocalVideoFrame"===n.t0?39:"onStatistics"===n.t0?42:"onUserAudioAvailable"===n.t0?45:"onUserVideoAvailable"===n.t0?49:"onUserVoiceVolume"===n.t0?53:"onSwitchRole"===n.t0?57:"onScreenCaptureStarted"===n.t0?59:"onScreenCapturePaused"===n.t0?61:"onScreenCaptureResumed"===n.t0?63:"onScreenCaptureStopped"===n.t0?65:"onUserSubStreamAvailable"===n.t0?67:"onSnapshotComplete"===n.t0?71:"onUserVideoSizeChanged"===n.t0?73:"onStart"===n.t0?75:"onPlayProgress"===n.t0?77:"onComplete"===n.t0?79:"onConnectOtherRoom"===n.t0?81:"onDisconnectOtherRoom"===n.t0?83:"onError"===n.t0?85:88;break;case 7:return t(c),n.abrupt("break",89);case 10:return t(c),n.abrupt("break",89);case 13:return d=c,h=s[1],_=s[2],p=s[3],t({userId:d,streamType:h,width:_,height:p}),n.abrupt("break",89);case 19:return t(c),n.abrupt("break",89);case 22:case 24:return t(),n.abrupt("break",89);case 26:return m=s[0],g=s[1],t({localQuality:m,remoteQuality:g}),n.abrupt("break",89);case 30:return t(c),n.abrupt("break",89);case 33:return t({userId:c,reason:l}),n.abrupt("break",89);case 37:return t(),n.abrupt("break",89);case 39:return t(c),n.abrupt("break",89);case 42:return R=s[0],t(R),n.abrupt("break",89);case 45:return t({userId:c,available:l}),n.abrupt("break",89);case 49:return t({userId:c,available:l}),n.abrupt("break",89);case 53:return E=s[0],v=s[1],t({userVolumes:E,totalVolume:v}),n.abrupt("break",89);case 57:case 59:case 61:case 63:case 65:return t({code:c,message:l}),n.abrupt("break",89);case 67:return t({userId:c,available:l}),n.abrupt("break",89);case 71:return t({base64Data:c,message:l}),n.abrupt("break",89);case 73:return t(s),n.abrupt("break",89);case 75:return t({id:c,errCode:l}),n.abrupt("break",89);case 77:return t({id:c,curPtsMS:l,durationMS:u}),n.abrupt("break",89);case 79:return t({id:c,errCode:l}),n.abrupt("break",89);case 81:return t({userId:"",errCode:c,errMsg:l}),n.abrupt("break",89);case 83:return t({errCode:c,errMsg:l}),n.abrupt("break",89);case 85:return i("error","onError: ".concat(c,", ").concat(l,", ").concat(u)," at TrtcCloud/lib/TrtcCloudImpl.js:238"),t((0,f.generateError_)({message:l},c,u)),n.abrupt("break",89);case 88:t({code:c,message:l,extraInfo:u});case 89:case"end":return n.stop()}}),n)})))};this.listenersMap_.set(e,r),g.addEventListener(e,r)}},{key:"off",value:function(e){if((0,s.default)(e)!==u.NAME.STRING)throw new f.default({code:f.TXLiteJSError.INVALID_PARAMETER,message:"".concat(u.NAME.LOG_PREFIX," please check the off method parameter types. event type is a ").concat((0,s.default)(e)," not a ").concat(u.NAME.STRING)});try{"*"===e?(this.listenersMap_.forEach((function(e,t){g.removeEventListener(t,e)})),this.listenersMap_.clear()):(g.removeEventListener(e,this.listenersMap_.get(e)),this.listenersMap_.delete(e))}catch(e){throw(0,f.generateError_)(e)}}},{key:"enterRoom",value:function(e,t){if(t!==d.TRTCAppScene.TRTCAppSceneVideoCall&&t!==d.TRTCAppScene.TRTCAppSceneLIVE&&t!==d.TRTCAppScene.TRTCAppSceneAudioCall&&t!==d.TRTCAppScene.TRTCAppSceneVoiceChatRoom)throw new f.default({code:f.TXLiteJSError.INVALID_PARAMETER,message:"".concat(u.NAME.LOG_PREFIX," please check the enterRoom method parameters. scene is not of TRTCAppScene")});try{var n=Object.assign(Object.assign({},e),{role:e.role||d.TRTCRoleType.TRTCRoleAnchor,appScene:t});p.enterRoom(n)}catch(e){throw(0,f.generateError_)(e)}}},{key:"exitRoom",value:function(){try{p.exitRoom()}catch(e){throw(0,f.generateError_)(e)}}},{key:"connectOtherRoom",value:function(e){try{p.connectOtherRoom(e)}catch(e){throw(0,f.generateError_)(e)}}},{key:"disconnectOtherRoom",value:function(){try{p.disconnectOtherRoom()}catch(e){throw(0,f.generateError_)(e)}}},{key:"switchRole",value:function(e){if(e!==d.TRTCRoleType.TRTCRoleAnchor&&e!==d.TRTCRoleType.TRTCRoleAudience)throw new f.default({code:f.TXLiteJSError.INVALID_PARAMETER,message:"".concat(u.NAME.LOG_PREFIX," please check the switchRole method parameter. role is not of TRTCRoleType")});try{e&&p.switchRole(e)}catch(e){throw(0,f.generateError_)(e)}}},{key:"startLocalPreview",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;if((0,s.default)(e)!==u.NAME.BOOLEAN||!t||(0,s.default)(t)!==u.NAME.STRING)throw new f.default({code:f.TXLiteJSError.INVALID_PARAMETER,message:"".concat(u.NAME.LOG_PREFIX," please check the startLocalPreview method parameters")});try{var n={isFrontCamera:!!e};n=t?Object.assign(Object.assign({},n),{userId:t}):n,p.startLocalPreview(n)}catch(e){throw(0,f.generateError_)(e)}}},{key:"setVideoEncoderParam",value:function(e){try{p.setVideoEncoderParam(e)}catch(e){throw(0,f.generateError_)(e)}}},{key:"stopLocalPreview",value:function(){try{p.stopLocalPreview()}catch(e){throw(0,f.generateError_)(e)}}},{key:"switchCamera",value:function(e){if((0,s.default)(e)!==u.NAME.BOOLEAN)throw new f.default({code:f.TXLiteJSError.INVALID_PARAMETER,message:"".concat(u.NAME.LOG_PREFIX," please check the switchCamera method parameter")});try{p.switchCamera(e)}catch(e){throw(0,f.generateError_)(e)}}},{key:"setLocalRenderParams",value:function(e){try{var t=e.rotation,n=void 0===t?d.TRTCVideoRotation.TRTCVideoRotation_0:t,i=e.fillMode,r=void 0===i?d.TRTCVideoFillMode.TRTCVideoFillMode_Fill:i,o=e.mirrorType,a=void 0===o?d.TRTCVideoMirrorType.TRTCVideoMirrorType_Auto:o;p.setLocalRenderParams({rotation:n,fillMode:r,mirrorType:a})}catch(e){throw(0,f.generateError_)(e)}}},{key:"muteLocalVideo",value:function(e,t){if(e!==d.TRTCVideoStreamType.TRTCVideoStreamTypeBig&&e!==d.TRTCVideoStreamType.TRTCVideoStreamTypeSub||(0,s.default)(t)!==u.NAME.BOOLEAN)throw new f.default({code:f.TXLiteJSError.INVALID_PARAMETER,message:"".concat(u.NAME.LOG_PREFIX," please check the muteLocalVideo method parameters")});try{p.muteLocalVideo({streamType:e,mute:!!t})}catch(e){throw(0,f.generateError_)(e)}}},{key:"startRemoteView",value:function(e,t,n){if(!e||t!==d.TRTCVideoStreamType.TRTCVideoStreamTypeBig&&t!==d.TRTCVideoStreamType.TRTCVideoStreamTypeSmall&&t!==d.TRTCVideoStreamType.TRTCVideoStreamTypeSub||!n)throw new f.default({code:f.TXLiteJSError.INVALID_PARAMETER,message:"".concat(u.NAME.LOG_PREFIX," please check the startRemoteView method parameters")});try{p.startRemoteView({userId:e,streamType:t,viewId:n})}catch(e){throw(0,f.generateError_)(e)}}},{key:"stopRemoteView",value:function(e,t){if(!e||t!==d.TRTCVideoStreamType.TRTCVideoStreamTypeBig&&t!==d.TRTCVideoStreamType.TRTCVideoStreamTypeSmall&&t!==d.TRTCVideoStreamType.TRTCVideoStreamTypeSub)throw new f.default({code:f.TXLiteJSError.INVALID_PARAMETER,message:"".concat(u.NAME.LOG_PREFIX," please check the stopRemoteView method parameters")});try{p.stopRemoteView({userId:e,streamType:t})}catch(e){throw(0,f.generateError_)(e)}}},{key:"setRemoteRenderParams",value:function(e,t,n){try{if(!e||t!==d.TRTCVideoStreamType.TRTCVideoStreamTypeBig&&t!==d.TRTCVideoStreamType.TRTCVideoStreamTypeSub)throw new f.default({code:f.TXLiteJSError.INVALID_PARAMETER,message:"".concat(u.NAME.LOG_PREFIX," please check the snapshotVideo method parameters")});var i=n.rotation,r=void 0===i?d.TRTCVideoRotation.TRTCVideoRotation_0:i,o=n.fillMode,a=void 0===o?d.TRTCVideoFillMode.TRTCVideoFillMode_Fill:o,s=n.mirrorType,c=void 0===s?d.TRTCVideoMirrorType.TRTCVideoMirrorType_Auto:s;p.setRemoteRenderParams({userId:e,streamType:t,rotation:r,fillMode:a,mirrorType:c})}catch(e){throw(0,f.generateError_)(e)}}},{key:"setVideoEncoderRotation",value:function(e){if((0,s.default)(e)!==u.NAME.NUMBER)throw new f.default({code:f.TXLiteJSError.INVALID_PARAMETER,message:"".concat(u.NAME.LOG_PREFIX," please check the setVideoEncoderRotation method parameter")});try{p.setVideoEncoderRotation(e)}catch(e){throw(0,f.generateError_)(e)}}},{key:"setVideoEncoderMirror",value:function(e){if((0,s.default)(e)!==u.NAME.BOOLEAN)throw new f.default({code:f.TXLiteJSError.INVALID_PARAMETER,message:"".concat(u.NAME.LOG_PREFIX," please check the setVideoEncoderMirror method parameter")});try{p.setVideoEncoderMirror(e)}catch(e){throw(0,f.generateError_)(e)}}},{key:"setGSensorMode",value:function(e){if((0,s.default)(e)!==u.NAME.NUMBER)throw new f.default({code:f.TXLiteJSError.INVALID_PARAMETER,message:"".concat(u.NAME.LOG_PREFIX," please check the setGSensorMode method parameter")});try{p.setGSensorMode(e)}catch(e){throw(0,f.generateError_)(e)}}},{key:"snapshotVideo",value:function(e,t,n){if(t!==d.TRTCVideoStreamType.TRTCVideoStreamTypeBig&&t!==d.TRTCVideoStreamType.TRTCVideoStreamTypeSub)throw new f.default({code:f.TXLiteJSError.INVALID_PARAMETER,message:"".concat(u.NAME.LOG_PREFIX," please check the snapshotVideo method parameters")});try{p.snapshotVideo({userId:e||null,streamType:t,sourceType:n})}catch(e){throw(0,f.generateError_)(e)}}},{key:"startLocalAudio",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.TRTCAudioQuality.TRTCAudioQualityDefault;if(e!==d.TRTCAudioQuality.TRTCAudioQualitySpeech&&e!==d.TRTCAudioQuality.TRTCAudioQualityDefault&&e!==d.TRTCAudioQuality.TRTCAudioQualityMusic)throw new f.default({code:f.TXLiteJSError.INVALID_PARAMETER,message:"".concat(u.NAME.LOG_PREFIX," please check the startLocalAudio method parameters")});try{p.startLocalAudio(e)}catch(e){throw(0,f.generateError_)(e)}}},{key:"stopLocalAudio",value:function(){try{p.stopLocalAudio()}catch(e){throw(0,f.generateError_)(e)}}},{key:"muteLocalAudio",value:function(e){if((0,s.default)(e)!==u.NAME.BOOLEAN)throw new f.default({code:f.TXLiteJSError.INVALID_PARAMETER,message:"".concat(u.NAME.LOG_PREFIX," please check the muteLocalAudio method parameters, mute type is a ").concat((0,s.default)(e)," not a ").concat(u.NAME.BOOLEAN)});try{p.muteLocalAudio(!!e)}catch(e){throw(0,f.generateError_)(e)}}},{key:"muteRemoteAudio",value:function(e,t){if((0,s.default)(t)!==u.NAME.BOOLEAN||!e)throw new f.default({code:f.TXLiteJSError.INVALID_PARAMETER,message:"".concat(u.NAME.LOG_PREFIX," please check the muteRemoteAudio method parameters")});try{p.muteRemoteAudio({userId:e,mute:!!t})}catch(e){throw(0,f.generateError_)(e)}}},{key:"muteAllRemoteAudio",value:function(e){if((0,s.default)(e)!==u.NAME.BOOLEAN)throw new f.default({code:f.TXLiteJSError.INVALID_PARAMETER,message:"".concat(u.NAME.LOG_PREFIX," please check the muteAllRemoteAudio method parameters, mute type is a ").concat((0,s.default)(e)," not a ").concat(u.NAME.BOOLEAN)});try{p.muteAllRemoteAudio(!!e)}catch(e){throw(0,f.generateError_)(e)}}},{key:"setAudioRoute",value:function(e){if(e!==d.TRTCAudioRoute.TRTCAudioRouteSpeaker&&e!==d.TRTCAudioRoute.TRTCAudioRouteEarpiece)throw new f.default({code:f.TXLiteJSError.INVALID_PARAMETER,message:"".concat(u.NAME.LOG_PREFIX," please check the setAudioRoute method parameter, route is not of TRTCAudioRoute")});try{p.setAudioRoute(e)}catch(e){throw(0,f.generateError_)(e)}}},{key:"enableAudioVolumeEvaluation",value:function(e){if((0,s.default)(e)!==u.NAME.NUMBER)throw new f.default({code:f.TXLiteJSError.INVALID_PARAMETER,message:"".concat(u.NAME.LOG_PREFIX," please check the enableAudioVolumeEvaluation method parameter, interval type is a ").concat((0,s.default)(e)," not a ").concat(u.NAME.NUMBER)});try{e>0&&p.enableAudioVolumeEvaluation(e)}catch(e){throw(0,f.generateError_)(e)}}},{key:"setBeautyStyle",value:function(e){if(e!==d.TRTCBeautyStyle.TRTCBeautyStyleSmooth&&e!==d.TRTCBeautyStyle.TRTCBeautyStyleNature&&e!==d.TRTCBeautyStyle.TRTCBeautyStylePitu)throw new f.default({code:f.TXLiteJSError.INVALID_PARAMETER,message:"".concat(u.NAME.LOG_PREFIX," please check the setBeautyStyle method parameter, beautyStyle is not of TRTCBeautyStyle")});try{p.setBeautyStyle(e)}catch(e){throw(0,f.generateError_)(e)}}},{key:"setBeautyLevel",value:function(e){if((0,s.default)(e)!==u.NAME.NUMBER||e<0||e>9)throw new f.default({code:f.TXLiteJSError.INVALID_PARAMETER,message:"".concat(u.NAME.LOG_PREFIX," please check the setBeautyLevel method parameter, beautyLevel should in the range 0-9")});try{p.setBeautyLevel(e)}catch(e){throw(0,f.generateError_)(e)}}},{key:"startPlayMusic",value:function(e){try{var t=(e||{}).id,n=void 0===t?0:t;m.startPlayMusic(Object.assign(Object.assign({},e),{ID:n}))}catch(e){throw(0,f.generateError_)(e)}}},{key:"stopPlayMusic",value:function(e){try{m.stopPlayMusic(e)}catch(e){throw(0,f.generateError_)(e)}}},{key:"pausePlayMusic",value:function(e){try{m.pausePlayMusic(e)}catch(e){throw(0,f.generateError_)(e)}}},{key:"resumePlayMusic",value:function(e){try{m.resumePlayMusic(e)}catch(e){throw(0,f.generateError_)(e)}}},{key:"setSubStreamEncoderParam",value:function(e){try{p.setSubStreamEncoderParam(e)}catch(e){throw(0,f.generateError_)(e)}}},{key:"startScreenCapture",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.TRTCVideoStreamType.TRTCVideoStreamTypeSub,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};try{var i=uni.getSystemInfoSync().platform;e!==d.TRTCVideoStreamType.TRTCVideoStreamTypeSub&&e!==d.TRTCVideoStreamType.TRTCVideoStreamTypeBig&&(e=d.TRTCVideoStreamType.TRTCVideoStreamTypeSub);var r=n.enableForegroundService,o=void 0===r||r,a=Object.assign({streamType:e},t);i===u.NAME.ANDROID&&p.startScreenCapture(Object.assign(Object.assign({},a),{enableForegroundService:o})),i===u.NAME.IOS&&p.startScreenCaptureInApp(a)}catch(e){throw(0,f.generateError_)(e)}}},{key:"stopScreenCapture",value:function(){try{p.stopScreenCapture()}catch(e){throw(0,f.generateError_)(e)}}},{key:"pauseScreenCapture",value:function(){try{p.pauseScreenCapture()}catch(e){throw(0,f.generateError_)(e)}}},{key:"resumeScreenCapture",value:function(){try{p.resumeScreenCapture()}catch(e){throw(0,f.generateError_)(e)}}}],[{key:"_createInstance",value:function(){try{return R||(p.sharedInstance(),R=new e)}catch(e){throw(0,f.generateError_)(e)}}},{key:"_getInstance",value:function(){if(R)return R;throw new f.default({code:f.TXLiteJSError.INVALID_OPERATION,message:"get trtcCloud failed, please create trtcCloud first"})}},{key:"_destroyInstance",value:function(){try{R=null,p.destroySharedInstance()}catch(e){throw new f.default({code:e.code||f.TXLiteJSError.UNKNOWN,message:e.message,name:e.name})}}}]),e}();t.default=E}).call(this,n(8).default,n(2).default)},function(e,t,n){var i=n(4),r=n(65)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"===("undefined"==typeof globalThis?"undefined":i(globalThis))?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){var i=n(4).default;function r(){"use strict";e.exports=r=function(){return n},e.exports.__esModule=!0,e.exports.default=e.exports;var t,n={},o=Object.prototype,a=o.hasOwnProperty,s=Object.defineProperty||function(e,t,n){e[t]=n.value},c="function"==typeof Symbol?Symbol:{},l=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",d=c.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(t){f=function(e,t,n){return e[t]=n}}function h(e,t,n,i){var r=t&&t.prototype instanceof E?t:E,o=Object.create(r.prototype),a=new x(i||[]);return s(o,"_invoke",{value:I(e,n,a)}),o}function _(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=h;var p="suspendedStart",m="executing",g="completed",R={};function E(){}function v(){}function y(){}var T={};f(T,l,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(M([])));w&&w!==o&&a.call(w,l)&&(T=w);var S=y.prototype=E.prototype=Object.create(T);function A(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function n(r,o,s,c){var l=_(e[r],e,o);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==i(d)&&a.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,s,c)}),(function(e){n("throw",e,s,c)})):t.resolve(d).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,c)}))}c(l.arg)}var r;s(this,"_invoke",{value:function(e,i){function o(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(o,o):o()}})}function I(e,n,i){var r=p;return function(o,a){if(r===m)throw Error("Generator is already running");if(r===g){if("throw"===o)throw a;return{value:t,done:!0}}for(i.method=o,i.arg=a;;){var s=i.delegate;if(s){var c=O(s,i);if(c){if(c===R)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(r===p)throw r=g,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r=m;var l=_(e,n,i);if("normal"===l.type){if(r=i.done?g:"suspendedYield",l.arg===R)continue;return{value:l.arg,done:i.done}}"throw"===l.type&&(r=g,i.method="throw",i.arg=l.arg)}}}function O(e,n){var i=n.method,r=e.iterator[i];if(r===t)return n.delegate=null,"throw"===i&&e.iterator.return&&(n.method="return",n.arg=t,O(e,n),"throw"===n.method)||"return"!==i&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+i+"' method")),R;var o=_(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,R;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,R):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,R)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function M(e){if(e||""===e){var n=e[l];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function n(){for(;++r<e.length;)if(a.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}throw new TypeError(i(e)+" is not iterable")}return v.prototype=y,s(S,"constructor",{value:y,configurable:!0}),s(y,"constructor",{value:v,configurable:!0}),v.displayName=f(y,d,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,f(e,d,"GeneratorFunction")),e.prototype=Object.create(S),e},n.awrap=function(e){return{__await:e}},A(C.prototype),f(C.prototype,u,(function(){return this})),n.AsyncIterator=C,n.async=function(e,t,i,r,o){void 0===o&&(o=Promise);var a=new C(h(e,t,i,r),o);return n.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},A(S),f(S,d,"Generator"),f(S,l,(function(){return this})),f(S,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var t=Object(e),n=[];for(var i in t)n.push(i);return n.reverse(),function e(){for(;n.length;){var i=n.pop();if(i in t)return e.value=i,e.done=!1,e}return e.done=!0,e}},n.values=M,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(N),!e)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(i,r){return s.type="throw",s.arg=e,n.next=i,r&&(n.method="next",n.arg=t),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var c=a.call(o,"catchLoc"),l=a.call(o,"finallyLoc");if(c&&l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&a.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,R):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),R},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),N(n),R}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var r=i.arg;N(n)}return r}}throw Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={iterator:M(e),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),R}},n}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var i=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TXLiteJSError=t.TXLiteAVWarning=t.TXLiteAVError=void 0,t.generateError_=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.UNKNOWN,n=arguments.length>2?arguments[2]:void 0;return new h({code:e.code||t,message:"".concat(u.NAME.LOG_PREFIX).concat(e.message),extraInfo:n})};var r=i(n(9)),o=i(n(10)),a=i(n(67)),s=i(n(68)),c=i(n(48)),l=i(n(70)),u=n(47);function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=(0,c.default)(e);if(t){var r=(0,c.default)(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return(0,s.default)(this,n)}}t.TXLiteAVError={ERR_NULL:0,ERR_ROOM_ENTER_FAIL:-3301,ERR_ENTER_ROOM_PARAM_NULL:-3316,ERR_SDK_APPID_INVALID:-3317,ERR_ROOM_ID_INVALID:-3318,ERR_USER_ID_INVALID:-3319,ERR_USER_SIG_INVALID:-3320,ERR_ROOM_REQUEST_ENTER_ROOM_TIMEOUT:-3308,ERR_SERVER_INFO_SERVICE_SUSPENDED:-100013,ERR_ROOM_REQUEST_QUIT_ROOM_TIMEOUT:-3325,ERR_CAMERA_START_FAIL:-1301,ERR_CAMERA_NOT_AUTHORIZED:-1314,ERR_CAMERA_SET_PARAM_FAIL:-1315,ERR_CAMERA_OCCUPY:-1316,ERR_MIC_START_FAIL:-1302,ERR_MIC_NOT_AUTHORIZED:-1317,ERR_MIC_SET_PARAM_FAIL:-1318,ERR_MIC_OCCUPY:-1319,ERR_MIC_STOP_FAIL:-1320,ERR_SPEAKER_START_FAIL:-1321,ERR_SPEAKER_SET_PARAM_FAIL:-1322,ERR_SPEAKER_STOP_FAIL:-1323,ERR_SCREEN_CAPTURE_START_FAIL:-1308,ERR_SCREEN_CAPTURE_UNSURPORT:-1309,ERR_SERVER_CENTER_NO_PRIVILEDGE_PUSH_SUB_VIDEO:-102015,ERR_SERVER_CENTER_ANOTHER_USER_PUSH_SUB_VIDEO:-102016,ERR_VIDEO_ENCODE_FAIL:-1303,ERR_AUDIO_ENCODE_FAIL:-1304,ERR_UNSUPPORTED_RESOLUTION:-1305,ERR_UNSUPPORTED_SAMPLERATE:-1306,ERR_PIXEL_FORMAT_UNSUPPORTED:-1327,ERR_BUFFER_TYPE_UNSUPPORTED:-1328,ERR_PUBLISH_CDN_STREAM_REQUEST_TIME_OUT:-3321,ERR_CLOUD_MIX_TRANSCODING_REQUEST_TIME_OUT:-3322,ERR_PUBLISH_CDN_STREAM_SERVER_FAILED:-3323,ERR_CLOUD_MIX_TRANSCODING_SERVER_FAILED:-3324,ERR_ROOM_REQUEST_START_PUBLISHING_TIMEOUT:-3333,ERR_ROOM_REQUEST_START_PUBLISHING_ERROR:-3334,ERR_ROOM_REQUEST_STOP_PUBLISHING_TIMEOUT:-3335,ERR_ROOM_REQUEST_STOP_PUBLISHING_ERROR:-3336,ERR_ROOM_REQUEST_CONN_ROOM_TIMEOUT:-3326,ERR_ROOM_REQUEST_DISCONN_ROOM_TIMEOUT:-3327,ERR_ROOM_REQUEST_CONN_ROOM_INVALID_PARAM:-3328,ERR_CONNECT_OTHER_ROOM_AS_AUDIENCE:-3330,ERR_SERVER_CENTER_CONN_ROOM_NOT_SUPPORT:-102031,ERR_SERVER_CENTER_CONN_ROOM_REACH_MAX_NUM:-102032,ERR_SERVER_CENTER_CONN_ROOM_REACH_MAX_RETRY_TIMES:-102033,ERR_SERVER_CENTER_CONN_ROOM_REQ_TIMEOUT:-102034,ERR_SERVER_CENTER_CONN_ROOM_REQ:-102035,ERR_SERVER_CENTER_CONN_ROOM_NO_SIG:-102036,ERR_SERVER_CENTER_CONN_ROOM_DECRYPT_SIG:-102037,ERR_SERVER_CENTER_CONN_ROOM_NO_KEY:-102038,ERR_SERVER_CENTER_CONN_ROOM_PARSE_SIG:-102039,ERR_SERVER_CENTER_CONN_ROOM_INVALID_SIG_TIME:-102040,ERR_SERVER_CENTER_CONN_ROOM_SIG_GROUPID:-102041,ERR_SERVER_CENTER_CONN_ROOM_NOT_CONNED:-102042,ERR_SERVER_CENTER_CONN_ROOM_USER_NOT_CONNED:-102043,ERR_SERVER_CENTER_CONN_ROOM_FAILED:-102044,ERR_SERVER_CENTER_CONN_ROOM_CANCEL_FAILED:-102045,ERR_SERVER_CENTER_CONN_ROOM_CONNED_ROOM_NOT_EXIST:-102046,ERR_SERVER_CENTER_CONN_ROOM_CONNED_REACH_MAX_ROOM:-102047,ERR_SERVER_CENTER_CONN_ROOM_CONNED_USER_NOT_EXIST:-102048,ERR_SERVER_CENTER_CONN_ROOM_CONNED_USER_DELETED:-102049,ERR_SERVER_CENTER_CONN_ROOM_CONNED_USER_FULL:-102050,ERR_SERVER_CENTER_CONN_ROOM_INVALID_SEQ:-102051,ERR_RTMP_PUSH_NET_DISCONNECT:-1307,ERR_RTMP_PUSH_INVALID_ADDRESS:-1313,ERR_RTMP_PUSH_NET_ALLADDRESS_FAIL:-1324,ERR_RTMP_PUSH_NO_NETWORK:-1325,ERR_RTMP_PUSH_SERVER_REFUSE:-1326,ERR_PLAY_LIVE_STREAM_NET_DISCONNECT:-2301,ERR_GET_RTMP_ACC_URL_FAIL:-2302,ERR_FILE_NOT_FOUND:-2303,ERR_HEVC_DECODE_FAIL:-2304,ERR_VOD_DECRYPT_FAIL:-2305,ERR_GET_VODFILE_MEDIAINFO_FAIL:-2306,ERR_PLAY_LIVE_STREAM_SWITCH_FAIL:-2307,ERR_PLAY_LIVE_STREAM_SERVER_REFUSE:-2308,ERR_RTMP_ACC_FETCH_STREAM_FAIL:-2309,ERR_ROOM_HEARTBEAT_FAIL:-3302,ERR_ROOM_REQUEST_IP_FAIL:-3303,ERR_ROOM_CONNECT_FAIL:-3304,ERR_ROOM_REQUEST_AVSEAT_FAIL:-3305,ERR_ROOM_REQUEST_TOKEN_HTTPS_TIMEOUT:-3306,ERR_ROOM_REQUEST_IP_TIMEOUT:-3307,ERR_ROOM_REQUEST_VIDEO_FLAG_TIMEOUT:-3309,ERR_ROOM_REQUEST_VIDEO_DATA_ROOM_TIMEOUT:-3310,ERR_ROOM_REQUEST_CHANGE_ABILITY_TIMEOUT:-3311,ERR_ROOM_REQUEST_STATUS_REPORT_TIMEOUT:-3312,ERR_ROOM_REQUEST_CLOSE_VIDEO_TIMEOUT:-3313,ERR_ROOM_REQUEST_SET_RECEIVE_TIMEOUT:-3314,ERR_ROOM_REQUEST_TOKEN_INVALID_PARAMETER:-3315,ERR_ROOM_REQUEST_AES_TOKEN_RETURN_ERROR:-3329,ERR_ACCIP_LIST_EMPTY:-3331,ERR_ROOM_REQUEST_SEND_JSON_CMD_TIMEOUT:-3332,ERR_SERVER_INFO_UNPACKING_ERROR:-1e5,ERR_SERVER_INFO_TOKEN_ERROR:-100001,ERR_SERVER_INFO_ALLOCATE_ACCESS_FAILED:-100002,ERR_SERVER_INFO_GENERATE_SIGN_FAILED:-100003,ERR_SERVER_INFO_TOKEN_TIMEOUT:-100004,ERR_SERVER_INFO_INVALID_COMMAND:-100005,ERR_SERVER_INFO_PRIVILEGE_FLAG_ERROR:-100006,ERR_SERVER_INFO_GENERATE_KEN_ERROR:-100007,ERR_SERVER_INFO_GENERATE_TOKEN_ERROR:-100008,ERR_SERVER_INFO_DATABASE:-100009,ERR_SERVER_INFO_BAD_ROOMID:-100010,ERR_SERVER_INFO_BAD_SCENE_OR_ROLE:-100011,ERR_SERVER_INFO_ROOMID_EXCHANGE_FAILED:-100012,ERR_SERVER_INFO_STRGROUP_HAS_INVALID_CHARS:-100014,ERR_SERVER_INFO_LACK_SDKAPPID:-100015,ERR_SERVER_INFO_INVALID:-100016,ERR_SERVER_INFO_ECDH_GET_KEY:-100017,ERR_SERVER_INFO_ECDH_GET_TINYID:-100018,ERR_SERVER_ACC_TOKEN_TIMEOUT:-101e3,ERR_SERVER_ACC_SIGN_ERROR:-101001,ERR_SERVER_ACC_SIGN_TIMEOUT:-101002,ERR_SERVER_ACC_ROOM_NOT_EXIST:-101003,ERR_SERVER_ACC_ROOMID:-101004,ERR_SERVER_ACC_LOCATIONID:-101005,ERR_SERVER_CENTER_SYSTEM_ERROR:-102e3,ERR_SERVER_CENTER_INVALID_ROOMID:-102001,ERR_SERVER_CENTER_CREATE_ROOM_FAILED:-102002,ERR_SERVER_CENTER_SIGN_ERROR:-102003,ERR_SERVER_CENTER_SIGN_TIMEOUT:-102004,ERR_SERVER_CENTER_ROOM_NOT_EXIST:-102005,ERR_SERVER_CENTER_ADD_USER_FAILED:-102006,ERR_SERVER_CENTER_FIND_USER_FAILED:-102007,ERR_SERVER_CENTER_SWITCH_TERMINATION_FREQUENTLY:-102008,ERR_SERVER_CENTER_LOCATION_NOT_EXIST:-102009,ERR_SERVER_CENTER_NO_PRIVILEDGE_CREATE_ROOM:-102010,ERR_SERVER_CENTER_NO_PRIVILEDGE_ENTER_ROOM:-102011,ERR_SERVER_CENTER_INVALID_PARAMETER_SUB_VIDEO:-102012,ERR_SERVER_CENTER_NO_PRIVILEDGE_PUSH_VIDEO:-102013,ERR_SERVER_CENTER_ROUTE_TABLE_ERROR:-102014,ERR_SERVER_CENTER_NOT_PUSH_SUB_VIDEO:-102017,ERR_SERVER_CENTER_USER_WAS_DELETED:-102018,ERR_SERVER_CENTER_NO_PRIVILEDGE_REQUEST_VIDEO:-102019,ERR_SERVER_CENTER_INVALID_PARAMETER:-102023,ERR_SERVER_CENTER_I_FRAME_UNKNOW_TYPE:-102024,ERR_SERVER_CENTER_I_FRAME_INVALID_PACKET:-102025,ERR_SERVER_CENTER_I_FRAME_DEST_USER_NOT_EXIST:-102026,ERR_SERVER_CENTER_I_FRAME_ROOM_TOO_BIG:-102027,ERR_SERVER_CENTER_I_FRAME_RPS_INVALID_PARAMETER:-102028,ERR_SERVER_CENTER_INVALID_ROOM_ID:-102029,ERR_SERVER_CENTER_ROOM_ID_TOO_LONG:-102030,ERR_SERVER_CENTER_ROOM_FULL:-102052,ERR_SERVER_CENTER_DECODE_JSON_FAIL:-102053,ERR_SERVER_CENTER_UNKNOWN_SUB_CMD:-102054,ERR_SERVER_CENTER_INVALID_ROLE:-102055,ERR_SERVER_CENTER_REACH_PROXY_MAX:-102056,ERR_SERVER_CENTER_RECORDID_STORE:-102057,ERR_SERVER_CENTER_PB_SERIALIZE:-102058,ERR_SERVER_SSO_SIG_EXPIRED:-70001,ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_1:-70003,ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_2:-70004,ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_3:-70005,ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_4:-70006,ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_5:-70007,ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_6:-70008,ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_7:-70009,ERR_SERVER_SSO_SIG_VERIFICATION_FAILED_8:-70010,ERR_SERVER_SSO_SIG_VERIFICATION_ID_NOT_MATCH:-70013,ERR_SERVER_SSO_APPID_NOT_MATCH:-70014,ERR_SERVER_SSO_VERIFICATION_EXPIRED:-70017,ERR_SERVER_SSO_VERIFICATION_FAILED:-70018,ERR_SERVER_SSO_APPID_NOT_FOUND:-70020,ERR_SERVER_SSO_ACCOUNT_IN_BLACKLIST:-70051,ERR_SERVER_SSO_SIG_INVALID:-70052,ERR_SERVER_SSO_LIMITED_BY_SECURITY:-70114,ERR_SERVER_SSO_INVALID_LOGIN_STATUS:-70221,ERR_SERVER_SSO_APPID_ERROR:-70252,ERR_SERVER_SSO_TICKET_VERIFICATION_FAILED:-70346,ERR_SERVER_SSO_TICKET_EXPIRED:-70347,ERR_SERVER_SSO_ACCOUNT_EXCEED_PURCHASES:-70398,ERR_SERVER_SSO_INTERNAL_ERROR:-70500};t.TXLiteAVWarning={WARNING_HW_ENCODER_START_FAIL:1103,WARNING_VIDEO_ENCODER_SW_TO_HW:1107,WARNING_INSUFFICIENT_CAPTURE_FPS:1108,WARNING_SW_ENCODER_START_FAIL:1109,WARNING_REDUCE_CAPTURE_RESOLUTION:1110,WARNING_VIDEO_FRAME_DECODE_FAIL:2101,WARNING_AUDIO_FRAME_DECODE_FAIL:2102,WARNING_VIDEO_PLAY_LAG:2105,WARNING_HW_DECODER_START_FAIL:2106,WARNING_VIDEO_DECODER_HW_TO_SW:2108,WARNING_SW_DECODER_START_FAIL:2109,WARNING_VIDEO_RENDER_FAIL:2110,WARNING_AUDIO_RECORDING_WRITE_FAIL:7001,WARNING_ROOM_DISCONNECT:5101,WARNING_IGNORE_UPSTREAM_FOR_AUDIENCE:6001,WARNING_NET_BUSY:1101,WARNING_RTMP_SERVER_RECONNECT:1102,WARNING_LIVE_STREAM_SERVER_RECONNECT:2103,WARNING_RECV_DATA_LAG:2104,WARNING_RTMP_DNS_FAIL:3001,WARNING_RTMP_SEVER_CONN_FAIL:3002,WARNING_RTMP_SHAKE_FAIL:3003,WARNING_RTMP_SERVER_BREAK_CONNECT:3004,WARNING_RTMP_READ_WRITE_FAIL:3005,WARNING_RTMP_WRITE_FAIL:3006,WARNING_RTMP_READ_FAIL:3007,WARNING_RTMP_NO_DATA:3008,WARNING_PLAY_LIVE_STREAM_INFO_CONNECT_FAIL:3009,WARNING_NO_STEAM_SOURCE_FAIL:3010,WARNING_ROOM_RECONNECT:5102,WARNING_ROOM_NET_BUSY:5103};var f={UNKNOWN:65535,INVALID_PARAMETER:4096,INVALID_OPERATION:4097};t.TXLiteJSError=f;var h=function(e){(0,a.default)(n,e);var t=d(n);function n(e){var i,o=e.code,a=void 0===o?f.UNKNOWN:o,c=e.message,l=e.extraInfo;if((0,r.default)(this,n),l){var d={errCode:a,errMsg:c,extraInfo:Object.assign(Object.assign({},l),{errCodeUrl:u.errorCodeUrl})};i=t.call(this,JSON.stringify(d))}else i=t.call(this,c+" <".concat(function(e){for(var t in f)if(f[t]===e)return t;return"UNKNOWN"}(a)," 0x").concat(a.toString(16),">. Refer to: ").concat(u.errorCodeUrl));return i.errCode=a,i.errMsg=c,i.extraInfo=Object.assign(Object.assign({},l),{errCodeUrl:u.errorCodeUrl}),(0,s.default)(i)}return(0,o.default)(n,[{key:"getCode",value:function(){return this.errCode}}]),n}((0,l.default)(Error)),_=h;t.default=_},function(e,t,n){var i=n(43);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var i=n(4).default,r=n(69);e.exports=function(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return r(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var i=n(48),r=n(43),o=n(71),a=n(72);function s(t){var n="function"==typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!o(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return a(e,arguments,i(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),r(t,e)},e.exports.__esModule=!0,e.exports.default=e.exports,s(t)}e.exports=s,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var i=n(43),r=n(73);e.exports=function(e,t,n){if(r())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,t);var a=new(e.bind.apply(e,o));return n&&i(a,n.prototype),a},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(e.exports=n=function(){return!!t},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var i=n(3)(n(75));e.exports={genTestUserSig:function(e){return{sdkAppId:1600036174,userSig:new i.default(1600036174,"e3b6abb54f40fc92d207ab95616887b1f06ffaf97e60fcb1f780e7002a3c114e",604800).genTestUserSig(e)}}}},function(e,t,n){"use strict";(function(e){var i=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(9)),o=i(n(10)),a=i(n(4)),s="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},c=[],l=[],u="undefined"!=typeof Uint8Array?Uint8Array:Array,d=!1;function f(){d=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;t<n;++t)c[t]=e[t],l[e.charCodeAt(t)]=t;l["-".charCodeAt(0)]=62,l["_".charCodeAt(0)]=63}function h(e,t,n){for(var i,r,o=[],a=t;a<n;a+=3)i=(e[a]<<16)+(e[a+1]<<8)+e[a+2],o.push(c[(r=i)>>18&63]+c[r>>12&63]+c[r>>6&63]+c[63&r]);return o.join("")}function _(e){var t;d||f();for(var n=e.length,i=n%3,r="",o=[],a=0,s=n-i;a<s;a+=16383)o.push(h(e,a,a+16383>s?s:a+16383));return 1===i?(t=e[n-1],r+=c[t>>2],r+=c[t<<4&63],r+="=="):2===i&&(t=(e[n-2]<<8)+e[n-1],r+=c[t>>10],r+=c[t>>4&63],r+=c[t<<2&63],r+="="),o.push(r),o.join("")}function p(e,t,n,i,r){var o,a,s=8*r-i-1,c=(1<<s)-1,l=c>>1,u=-7,d=n?r-1:0,f=n?-1:1,h=e[t+d];for(d+=f,o=h&(1<<-u)-1,h>>=-u,u+=s;u>0;o=256*o+e[t+d],d+=f,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=i;u>0;a=256*a+e[t+d],d+=f,u-=8);if(0===o)o=1-l;else{if(o===c)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,i),o-=l}return(h?-1:1)*a*Math.pow(2,o-i)}function m(e,t,n,i,r,o){var a,s,c,l=8*o-r-1,u=(1<<l)-1,d=u>>1,f=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,h=i?0:o-1,_=i?1:-1,p=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),(t+=a+d>=1?f/c:f*Math.pow(2,1-d))*c>=2&&(a++,c/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*c-1)*Math.pow(2,r),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,r),a=0));r>=8;e[n+h]=255&s,h+=_,s/=256,r-=8);for(a=a<<r|s,l+=r;l>0;e[n+h]=255&a,h+=_,a/=256,l-=8);e[n+h-_]|=128*p}var g={}.toString,R=Array.isArray||function(e){return"[object Array]"==g.call(e)};function E(){return y.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function v(e,t){if(E()<t)throw new RangeError("Invalid typed array length");return y.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=y.prototype:(null===e&&(e=new y(t)),e.length=t),e}function y(e,t,n){if(!(y.TYPED_ARRAY_SUPPORT||this instanceof y))return new y(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return w(this,e)}return T(this,e,t,n)}function T(e,t,n,i){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,i){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(i||0))throw new RangeError("'length' is out of bounds");return t=void 0===n&&void 0===i?new Uint8Array(t):void 0===i?new Uint8Array(t,n):new Uint8Array(t,n,i),y.TYPED_ARRAY_SUPPORT?(e=t).__proto__=y.prototype:e=S(e,t),e}(e,t,n,i):"string"==typeof t?function(e,t,n){if("string"==typeof n&&""!==n||(n="utf8"),!y.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var i=0|I(t,n),r=(e=v(e,i)).write(t,n);return r!==i&&(e=e.slice(0,r)),e}(e,t,n):function(e,t){if(C(t)){var n=0|A(t.length);return 0===(e=v(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(i=t.length)!=i?v(e,0):S(e,t);if("Buffer"===t.type&&R(t.data))return S(e,t.data)}var i;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function b(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function w(e,t){if(b(t),e=v(e,t<0?0:0|A(t)),!y.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function S(e,t){var n=t.length<0?0:0|A(t.length);e=v(e,n);for(var i=0;i<n;i+=1)e[i]=255&t[i];return e}function A(e){if(e>=E())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+E().toString(16)+" bytes");return 0|e}function C(e){return!(null==e||!e._isBuffer)}function I(e,t){if(C(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return te(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return ne(e).length;default:if(i)return te(e).length;t=(""+t).toLowerCase(),i=!0}}function O(e,t,n){var i=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return G(this,t,n);case"utf8":case"utf-8":return F(this,t,n);case"ascii":return j(this,t,n);case"latin1":case"binary":return H(this,t,n);case"base64":return U(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return W(this,t,n);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function k(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function N(e,t,n,i,r){if(0===e.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(r)return-1;n=e.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof t&&(t=y.from(t,i)),C(t))return 0===t.length?-1:x(e,t,n,i,r);if("number"==typeof t)return t&=255,y.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):x(e,[t],n,i,r);throw new TypeError("val must be string, number or Buffer")}function x(e,t,n,i,r){var o,a=1,s=e.length,c=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;a=2,s/=2,c/=2,n/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(r){var u=-1;for(o=n;o<s;o++)if(l(e,o)===l(t,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===c)return u*a}else-1!==u&&(o-=o-u),u=-1}else for(n+c>s&&(n=s-c),o=n;o>=0;o--){for(var d=!0,f=0;f<c;f++)if(l(e,o+f)!==l(t,f)){d=!1;break}if(d)return o}return-1}function M(e,t,n,i){n=Number(n)||0;var r=e.length-n;i?(i=Number(i))>r&&(i=r):i=r;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");i>o/2&&(i=o/2);for(var a=0;a<i;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function L(e,t,n,i){return ie(te(t,e.length-n),e,n,i)}function V(e,t,n,i){return ie(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,i)}function P(e,t,n,i){return V(e,t,n,i)}function D(e,t,n,i){return ie(ne(t),e,n,i)}function B(e,t,n,i){return ie(function(e,t){for(var n,i,r,o=[],a=0;a<e.length&&!((t-=2)<0);++a)i=(n=e.charCodeAt(a))>>8,r=n%256,o.push(r),o.push(i);return o}(t,e.length-n),e,n,i)}function U(e,t,n){return 0===t&&n===e.length?_(e):_(e.slice(t,n))}function F(e,t,n){n=Math.min(e.length,n);for(var i=[],r=t;r<n;){var o,a,s,c,l=e[r],u=null,d=l>239?4:l>223?3:l>191?2:1;if(r+d<=n)switch(d){case 1:l<128&&(u=l);break;case 2:128==(192&(o=e[r+1]))&&(c=(31&l)<<6|63&o)>127&&(u=c);break;case 3:o=e[r+1],a=e[r+2],128==(192&o)&&128==(192&a)&&(c=(15&l)<<12|(63&o)<<6|63&a)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:o=e[r+1],a=e[r+2],s=e[r+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(c=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&c<1114112&&(u=c)}null===u?(u=65533,d=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|1023&u),i.push(u),r+=d}return function(e){var t=e.length;if(t<=z)return String.fromCharCode.apply(String,e);for(var n="",i=0;i<t;)n+=String.fromCharCode.apply(String,e.slice(i,i+=z));return n}(i)}y.TYPED_ARRAY_SUPPORT=void 0===s.TYPED_ARRAY_SUPPORT||s.TYPED_ARRAY_SUPPORT,y.poolSize=8192,y._augment=function(e){return e.__proto__=y.prototype,e},y.from=function(e,t,n){return T(null,e,t,n)},y.TYPED_ARRAY_SUPPORT&&(y.prototype.__proto__=Uint8Array.prototype,y.__proto__=Uint8Array),y.alloc=function(e,t,n){return function(e,t,n,i){return b(t),t<=0?v(e,t):void 0!==n?"string"==typeof i?v(e,t).fill(n,i):v(e,t).fill(n):v(e,t)}(null,e,t,n)},y.allocUnsafe=function(e){return w(null,e)},y.allocUnsafeSlow=function(e){return w(null,e)},y.isBuffer=re,y.compare=function(e,t){if(!C(e)||!C(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,i=t.length,r=0,o=Math.min(n,i);r<o;++r)if(e[r]!==t[r]){n=e[r],i=t[r];break}return n<i?-1:i<n?1:0},y.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},y.concat=function(e,t){if(!R(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return y.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var i=y.allocUnsafe(t),r=0;for(n=0;n<e.length;++n){var o=e[n];if(!C(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(i,r),r+=o.length}return i},y.byteLength=I,y.prototype._isBuffer=!0,y.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)k(this,t,t+1);return this},y.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)k(this,t,t+3),k(this,t+1,t+2);return this},y.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)k(this,t,t+7),k(this,t+1,t+6),k(this,t+2,t+5),k(this,t+3,t+4);return this},y.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?F(this,0,e):O.apply(this,arguments)},y.prototype.equals=function(e){if(!C(e))throw new TypeError("Argument must be a Buffer");return this===e||0===y.compare(this,e)},y.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},y.prototype.compare=function(e,t,n,i,r){if(!C(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),t<0||n>e.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&t>=n)return 0;if(i>=r)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(r>>>=0)-(i>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),c=this.slice(i,r),l=e.slice(t,n),u=0;u<s;++u)if(c[u]!==l[u]){o=c[u],a=l[u];break}return o<a?-1:a<o?1:0},y.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},y.prototype.indexOf=function(e,t,n){return N(this,e,t,n,!0)},y.prototype.lastIndexOf=function(e,t,n){return N(this,e,t,n,!1)},y.prototype.write=function(e,t,n,i){if(void 0===t)i="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)i=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===i&&(i="utf8")):(i=n,n=void 0)}var r=this.length-t;if((void 0===n||n>r)&&(n=r),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return M(this,e,t,n);case"utf8":case"utf-8":return L(this,e,t,n);case"ascii":return V(this,e,t,n);case"latin1":case"binary":return P(this,e,t,n);case"base64":return D(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}},y.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var z=4096;function j(e,t,n){var i="";n=Math.min(e.length,n);for(var r=t;r<n;++r)i+=String.fromCharCode(127&e[r]);return i}function H(e,t,n){var i="";n=Math.min(e.length,n);for(var r=t;r<n;++r)i+=String.fromCharCode(e[r]);return i}function G(e,t,n){var i=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>i)&&(n=i);for(var r="",o=t;o<n;++o)r+=ee(e[o]);return r}function W(e,t,n){for(var i=e.slice(t,n),r="",o=0;o<i.length;o+=2)r+=String.fromCharCode(i[o]+256*i[o+1]);return r}function Z(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function X(e,t,n,i,r,o){if(!C(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||t<o)throw new RangeError('"value" argument is out of bounds');if(n+i>e.length)throw new RangeError("Index out of range")}function Y(e,t,n,i){t<0&&(t=65535+t+1);for(var r=0,o=Math.min(e.length-n,2);r<o;++r)e[n+r]=(t&255<<8*(i?r:1-r))>>>8*(i?r:1-r)}function K(e,t,n,i){t<0&&(t=4294967295+t+1);for(var r=0,o=Math.min(e.length-n,4);r<o;++r)e[n+r]=t>>>8*(i?r:3-r)&255}function q(e,t,n,i,r,o){if(n+i>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Q(e,t,n,i,r){return r||q(e,0,n,4),m(e,t,n,i,23,4),n+4}function J(e,t,n,i,r){return r||q(e,0,n,8),m(e,t,n,i,52,8),n+8}y.prototype.slice=function(e,t){var n,i=this.length;if((e=~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),(t=void 0===t?i:~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),t<e&&(t=e),y.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=y.prototype;else{var r=t-e;n=new y(r,void 0);for(var o=0;o<r;++o)n[o]=this[o+e]}return n},y.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||Z(e,t,this.length);for(var i=this[e],r=1,o=0;++o<t&&(r*=256);)i+=this[e+o]*r;return i},y.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||Z(e,t,this.length);for(var i=this[e+--t],r=1;t>0&&(r*=256);)i+=this[e+--t]*r;return i},y.prototype.readUInt8=function(e,t){return t||Z(e,1,this.length),this[e]},y.prototype.readUInt16LE=function(e,t){return t||Z(e,2,this.length),this[e]|this[e+1]<<8},y.prototype.readUInt16BE=function(e,t){return t||Z(e,2,this.length),this[e]<<8|this[e+1]},y.prototype.readUInt32LE=function(e,t){return t||Z(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},y.prototype.readUInt32BE=function(e,t){return t||Z(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},y.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||Z(e,t,this.length);for(var i=this[e],r=1,o=0;++o<t&&(r*=256);)i+=this[e+o]*r;return i>=(r*=128)&&(i-=Math.pow(2,8*t)),i},y.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||Z(e,t,this.length);for(var i=t,r=1,o=this[e+--i];i>0&&(r*=256);)o+=this[e+--i]*r;return o>=(r*=128)&&(o-=Math.pow(2,8*t)),o},y.prototype.readInt8=function(e,t){return t||Z(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},y.prototype.readInt16LE=function(e,t){t||Z(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},y.prototype.readInt16BE=function(e,t){t||Z(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},y.prototype.readInt32LE=function(e,t){return t||Z(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},y.prototype.readInt32BE=function(e,t){return t||Z(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},y.prototype.readFloatLE=function(e,t){return t||Z(e,4,this.length),p(this,e,!0,23,4)},y.prototype.readFloatBE=function(e,t){return t||Z(e,4,this.length),p(this,e,!1,23,4)},y.prototype.readDoubleLE=function(e,t){return t||Z(e,8,this.length),p(this,e,!0,52,8)},y.prototype.readDoubleBE=function(e,t){return t||Z(e,8,this.length),p(this,e,!1,52,8)},y.prototype.writeUIntLE=function(e,t,n,i){e=+e,t|=0,n|=0,i||X(this,e,t,n,Math.pow(2,8*n)-1,0);var r=1,o=0;for(this[t]=255&e;++o<n&&(r*=256);)this[t+o]=e/r&255;return t+n},y.prototype.writeUIntBE=function(e,t,n,i){e=+e,t|=0,n|=0,i||X(this,e,t,n,Math.pow(2,8*n)-1,0);var r=n-1,o=1;for(this[t+r]=255&e;--r>=0&&(o*=256);)this[t+r]=e/o&255;return t+n},y.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||X(this,e,t,1,255,0),y.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},y.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||X(this,e,t,2,65535,0),y.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Y(this,e,t,!0),t+2},y.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||X(this,e,t,2,65535,0),y.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Y(this,e,t,!1),t+2},y.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||X(this,e,t,4,4294967295,0),y.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):K(this,e,t,!0),t+4},y.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||X(this,e,t,4,4294967295,0),y.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):K(this,e,t,!1),t+4},y.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t|=0,!i){var r=Math.pow(2,8*n-1);X(this,e,t,n,r-1,-r)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},y.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t|=0,!i){var r=Math.pow(2,8*n-1);X(this,e,t,n,r-1,-r)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},y.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||X(this,e,t,1,127,-128),y.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},y.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||X(this,e,t,2,32767,-32768),y.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Y(this,e,t,!0),t+2},y.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||X(this,e,t,2,32767,-32768),y.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Y(this,e,t,!1),t+2},y.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||X(this,e,t,4,2147483647,-2147483648),y.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):K(this,e,t,!0),t+4},y.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||X(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),y.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):K(this,e,t,!1),t+4},y.prototype.writeFloatLE=function(e,t,n){return Q(this,e,t,!0,n)},y.prototype.writeFloatBE=function(e,t,n){return Q(this,e,t,!1,n)},y.prototype.writeDoubleLE=function(e,t,n){return J(this,e,t,!0,n)},y.prototype.writeDoubleBE=function(e,t,n){return J(this,e,t,!1,n)},y.prototype.copy=function(e,t,n,i){if(n||(n=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<n&&(i=n),i===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-n&&(i=e.length-t+n);var r,o=i-n;if(this===e&&n<t&&t<i)for(r=o-1;r>=0;--r)e[r+t]=this[r+n];else if(o<1e3||!y.TYPED_ARRAY_SUPPORT)for(r=0;r<o;++r)e[r+t]=this[r+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},y.prototype.fill=function(e,t,n,i){if("string"==typeof e){if("string"==typeof t?(i=t,t=0,n=this.length):"string"==typeof n&&(i=n,n=this.length),1===e.length){var r=e.charCodeAt(0);r<256&&(e=r)}if(void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!y.isEncoding(i))throw new TypeError("Unknown encoding: "+i)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=C(e)?e:te(new y(e,i).toString()),s=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var $=/[^+\/0-9A-Za-z-_]/g;function ee(e){return e<16?"0"+e.toString(16):e.toString(16)}function te(e,t){var n;t=t||1/0;for(var i=e.length,r=null,o=[],a=0;a<i;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!r){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===i){(t-=3)>-1&&o.push(239,191,189);continue}r=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(t-=3)>-1&&o.push(239,191,189);if(r=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function ne(e){return function(e){var t,n,i,r,o,a;d||f();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===e[s-2]?2:"="===e[s-1]?1:0,a=new u(3*s/4-o),i=o>0?s-4:s;var c=0;for(t=0,n=0;t<i;t+=4,n+=3)r=l[e.charCodeAt(t)]<<18|l[e.charCodeAt(t+1)]<<12|l[e.charCodeAt(t+2)]<<6|l[e.charCodeAt(t+3)],a[c++]=r>>16&255,a[c++]=r>>8&255,a[c++]=255&r;return 2===o?(r=l[e.charCodeAt(t)]<<2|l[e.charCodeAt(t+1)]>>4,a[c++]=255&r):1===o&&(r=l[e.charCodeAt(t)]<<10|l[e.charCodeAt(t+1)]<<4|l[e.charCodeAt(t+2)]>>2,a[c++]=r>>8&255,a[c++]=255&r),a}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace($,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function ie(e,t,n,i){for(var r=0;r<i&&!(r+n>=t.length||r>=e.length);++r)t[r+n]=e[r];return r}function re(e){return null!=e&&(!!e._isBuffer||oe(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&oe(e.slice(0,0))}(e))}function oe(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function ae(e,t){return e(t={exports:{}},t.exports),t.exports}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var se=ae((function(e,t){var n;e.exports=n=n||function(e,t){var n=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),i={},r=i.lib={},o=r.Base={extend:function(e){var t=n(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},a=r.WordArray=o.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||c).stringify(this)},concat:function(e){var t=this.words,n=e.words,i=this.sigBytes,r=e.sigBytes;if(this.clamp(),i%4)for(var o=0;o<r;o++){var a=n[o>>>2]>>>24-o%4*8&255;t[i+o>>>2]|=a<<24-(i+o)%4*8}else for(o=0;o<r;o+=4)t[i+o>>>2]=n[o>>>2];return this.sigBytes+=r,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=o.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var n,i=[],r=function(t){t=t;var n=987654321,i=4294967295;return function(){var r=((n=36969*(65535&n)+(n>>16)&i)<<16)+(t=18e3*(65535&t)+(t>>16)&i)&i;return r/=4294967296,(r+=.5)*(e.random()>.5?1:-1)}},o=0;o<t;o+=4){var s=r(4294967296*(n||e.random()));n=987654071*s(),i.push(4294967296*s()|0)}return new a.init(i,t)}}),s=i.enc={},c=s.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,i=[],r=0;r<n;r++){var o=t[r>>>2]>>>24-r%4*8&255;i.push((o>>>4).toString(16)),i.push((15&o).toString(16))}return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i<t;i+=2)n[i>>>3]|=parseInt(e.substr(i,2),16)<<24-i%8*4;return new a.init(n,t/2)}},l=s.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,i=[],r=0;r<n;r++){var o=t[r>>>2]>>>24-r%4*8&255;i.push(String.fromCharCode(o))}return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i<t;i++)n[i>>>2]|=(255&e.charCodeAt(i))<<24-i%4*8;return new a.init(n,t)}},u=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(l.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return l.parse(unescape(encodeURIComponent(e)))}},d=r.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=u.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n=this._data,i=n.words,r=n.sigBytes,o=this.blockSize,s=r/(4*o),c=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*o,l=e.min(4*c,r);if(c){for(var u=0;u<c;u+=o)this._doProcessBlock(i,u);var d=i.splice(0,c);n.sigBytes-=l}return new a.init(d,l)},clone:function(){var e=o.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),f=(r.Hasher=d.extend({cfg:o.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){d.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new f.HMAC.init(e,n).finalize(t)}}}),i.algo={});return i}(Math)})),ce=(ae((function(e,t){var n,i,r,o,a,s;e.exports=(r=(i=n=se).lib,o=r.Base,a=r.WordArray,(s=i.x64={}).Word=o.extend({init:function(e,t){this.high=e,this.low=t}}),s.WordArray=o.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:8*e.length},toX32:function(){for(var e=this.words,t=e.length,n=[],i=0;i<t;i++){var r=e[i];n.push(r.high),n.push(r.low)}return a.create(n,this.sigBytes)},clone:function(){for(var e=o.clone.call(this),t=e.words=this.words.slice(0),n=t.length,i=0;i<n;i++)t[i]=t[i].clone();return e}}),n)})),ae((function(e,t){var n;e.exports=(n=se,function(){if("function"==typeof ArrayBuffer){var e=n.lib.WordArray,t=e.init;(e.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var n=e.byteLength,i=[],r=0;r<n;r++)i[r>>>2]|=e[r]<<24-r%4*8;t.call(this,i,n)}else t.apply(this,arguments)}).prototype=e}}(),n.lib.WordArray)})),ae((function(e,t){var n;e.exports=(n=se,function(){var e=n,t=e.lib.WordArray,i=e.enc;function r(e){return e<<8&4278255360|e>>>8&16711935}i.Utf16=i.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,i=[],r=0;r<n;r+=2){var o=t[r>>>2]>>>16-r%4*8&65535;i.push(String.fromCharCode(o))}return i.join("")},parse:function(e){for(var n=e.length,i=[],r=0;r<n;r++)i[r>>>1]|=e.charCodeAt(r)<<16-r%2*16;return t.create(i,2*n)}},i.Utf16LE={stringify:function(e){for(var t=e.words,n=e.sigBytes,i=[],o=0;o<n;o+=2){var a=r(t[o>>>2]>>>16-o%4*8&65535);i.push(String.fromCharCode(a))}return i.join("")},parse:function(e){for(var n=e.length,i=[],o=0;o<n;o++)i[o>>>1]|=r(e.charCodeAt(o)<<16-o%2*16);return t.create(i,2*n)}}}(),n.enc.Utf16)})),ae((function(e,t){var n,i,r;e.exports=(r=(i=n=se).lib.WordArray,i.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,i=this._map;e.clamp();for(var r=[],o=0;o<n;o+=3)for(var a=(t[o>>>2]>>>24-o%4*8&255)<<16|(t[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|t[o+2>>>2]>>>24-(o+2)%4*8&255,s=0;s<4&&o+.75*s<n;s++)r.push(i.charAt(a>>>6*(3-s)&63));var c=i.charAt(64);if(c)for(;r.length%4;)r.push(c);return r.join("")},parse:function(e){var t=e.length,n=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var o=0;o<n.length;o++)i[n.charCodeAt(o)]=o}var a=n.charAt(64);if(a){var s=e.indexOf(a);-1!==s&&(t=s)}return function(e,t,n){for(var i=[],o=0,a=0;a<t;a++)if(a%4){var s=n[e.charCodeAt(a-1)]<<a%4*2,c=n[e.charCodeAt(a)]>>>6-a%4*2;i[o>>>2]|=(s|c)<<24-o%4*8,o++}return r.create(i,o)}(e,t,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},n.enc.Base64)})),ae((function(e,t){var n;e.exports=(n=se,function(e){var t=n,i=t.lib,r=i.WordArray,o=i.Hasher,a=t.algo,s=[];!function(){for(var t=0;t<64;t++)s[t]=4294967296*e.abs(e.sin(t+1))|0}();var c=a.MD5=o.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var i=t+n,r=e[i];e[i]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8)}var o=this._hash.words,a=e[t+0],c=e[t+1],h=e[t+2],_=e[t+3],p=e[t+4],m=e[t+5],g=e[t+6],R=e[t+7],E=e[t+8],v=e[t+9],y=e[t+10],T=e[t+11],b=e[t+12],w=e[t+13],S=e[t+14],A=e[t+15],C=o[0],I=o[1],O=o[2],k=o[3];C=l(C,I,O,k,a,7,s[0]),k=l(k,C,I,O,c,12,s[1]),O=l(O,k,C,I,h,17,s[2]),I=l(I,O,k,C,_,22,s[3]),C=l(C,I,O,k,p,7,s[4]),k=l(k,C,I,O,m,12,s[5]),O=l(O,k,C,I,g,17,s[6]),I=l(I,O,k,C,R,22,s[7]),C=l(C,I,O,k,E,7,s[8]),k=l(k,C,I,O,v,12,s[9]),O=l(O,k,C,I,y,17,s[10]),I=l(I,O,k,C,T,22,s[11]),C=l(C,I,O,k,b,7,s[12]),k=l(k,C,I,O,w,12,s[13]),O=l(O,k,C,I,S,17,s[14]),C=u(C,I=l(I,O,k,C,A,22,s[15]),O,k,c,5,s[16]),k=u(k,C,I,O,g,9,s[17]),O=u(O,k,C,I,T,14,s[18]),I=u(I,O,k,C,a,20,s[19]),C=u(C,I,O,k,m,5,s[20]),k=u(k,C,I,O,y,9,s[21]),O=u(O,k,C,I,A,14,s[22]),I=u(I,O,k,C,p,20,s[23]),C=u(C,I,O,k,v,5,s[24]),k=u(k,C,I,O,S,9,s[25]),O=u(O,k,C,I,_,14,s[26]),I=u(I,O,k,C,E,20,s[27]),C=u(C,I,O,k,w,5,s[28]),k=u(k,C,I,O,h,9,s[29]),O=u(O,k,C,I,R,14,s[30]),C=d(C,I=u(I,O,k,C,b,20,s[31]),O,k,m,4,s[32]),k=d(k,C,I,O,E,11,s[33]),O=d(O,k,C,I,T,16,s[34]),I=d(I,O,k,C,S,23,s[35]),C=d(C,I,O,k,c,4,s[36]),k=d(k,C,I,O,p,11,s[37]),O=d(O,k,C,I,R,16,s[38]),I=d(I,O,k,C,y,23,s[39]),C=d(C,I,O,k,w,4,s[40]),k=d(k,C,I,O,a,11,s[41]),O=d(O,k,C,I,_,16,s[42]),I=d(I,O,k,C,g,23,s[43]),C=d(C,I,O,k,v,4,s[44]),k=d(k,C,I,O,b,11,s[45]),O=d(O,k,C,I,A,16,s[46]),C=f(C,I=d(I,O,k,C,h,23,s[47]),O,k,a,6,s[48]),k=f(k,C,I,O,R,10,s[49]),O=f(O,k,C,I,S,15,s[50]),I=f(I,O,k,C,m,21,s[51]),C=f(C,I,O,k,b,6,s[52]),k=f(k,C,I,O,_,10,s[53]),O=f(O,k,C,I,y,15,s[54]),I=f(I,O,k,C,c,21,s[55]),C=f(C,I,O,k,E,6,s[56]),k=f(k,C,I,O,A,10,s[57]),O=f(O,k,C,I,g,15,s[58]),I=f(I,O,k,C,w,21,s[59]),C=f(C,I,O,k,p,6,s[60]),k=f(k,C,I,O,T,10,s[61]),O=f(O,k,C,I,h,15,s[62]),I=f(I,O,k,C,v,21,s[63]),o[0]=o[0]+C|0,o[1]=o[1]+I|0,o[2]=o[2]+O|0,o[3]=o[3]+k|0},_doFinalize:function(){var t=this._data,n=t.words,i=8*this._nDataBytes,r=8*t.sigBytes;n[r>>>5]|=128<<24-r%32;var o=e.floor(i/4294967296),a=i;n[15+(r+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),n[14+(r+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(n.length+1),this._process();for(var s=this._hash,c=s.words,l=0;l<4;l++){var u=c[l];c[l]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return s},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function l(e,t,n,i,r,o,a){var s=e+(t&n|~t&i)+r+a;return(s<<o|s>>>32-o)+t}function u(e,t,n,i,r,o,a){var s=e+(t&i|n&~i)+r+a;return(s<<o|s>>>32-o)+t}function d(e,t,n,i,r,o,a){var s=e+(t^n^i)+r+a;return(s<<o|s>>>32-o)+t}function f(e,t,n,i,r,o,a){var s=e+(n^(t|~i))+r+a;return(s<<o|s>>>32-o)+t}t.MD5=o._createHelper(c),t.HmacMD5=o._createHmacHelper(c)}(Math),n.MD5)})),ae((function(e,t){var n,i,r,o,a,s,c,l;e.exports=(r=(i=n=se).lib,o=r.WordArray,a=r.Hasher,s=i.algo,c=[],l=s.SHA1=a.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,i=n[0],r=n[1],o=n[2],a=n[3],s=n[4],l=0;l<80;l++){if(l<16)c[l]=0|e[t+l];else{var u=c[l-3]^c[l-8]^c[l-14]^c[l-16];c[l]=u<<1|u>>>31}var d=(i<<5|i>>>27)+s+c[l];d+=l<20?1518500249+(r&o|~r&a):l<40?1859775393+(r^o^a):l<60?(r&o|r&a|o&a)-1894007588:(r^o^a)-899497514,s=a,a=o,o=r<<30|r>>>2,r=i,i=d}n[0]=n[0]+i|0,n[1]=n[1]+r|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+s|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;return t[i>>>5]|=128<<24-i%32,t[14+(i+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(i+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}}),i.SHA1=a._createHelper(l),i.HmacSHA1=a._createHmacHelper(l),n.SHA1)})),ae((function(e,t){var n;e.exports=(n=se,function(e){var t=n,i=t.lib,r=i.WordArray,o=i.Hasher,a=t.algo,s=[],c=[];!function(){function t(t){for(var n=e.sqrt(t),i=2;i<=n;i++)if(!(t%i))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var i=2,r=0;r<64;)t(i)&&(r<8&&(s[r]=n(e.pow(i,.5))),c[r]=n(e.pow(i,1/3)),r++),i++}();var l=[],u=a.SHA256=o.extend({_doReset:function(){this._hash=new r.init(s.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,i=n[0],r=n[1],o=n[2],a=n[3],s=n[4],u=n[5],d=n[6],f=n[7],h=0;h<64;h++){if(h<16)l[h]=0|e[t+h];else{var _=l[h-15],p=(_<<25|_>>>7)^(_<<14|_>>>18)^_>>>3,m=l[h-2],g=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;l[h]=p+l[h-7]+g+l[h-16]}var R=i&r^i&o^r&o,E=(i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22),v=f+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&u^~s&d)+c[h]+l[h];f=d,d=u,u=s,s=a+v|0,a=o,o=r,r=i,i=v+(E+R)|0}n[0]=n[0]+i|0,n[1]=n[1]+r|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+s|0,n[5]=n[5]+u|0,n[6]=n[6]+d|0,n[7]=n[7]+f|0},_doFinalize:function(){var t=this._data,n=t.words,i=8*this._nDataBytes,r=8*t.sigBytes;return n[r>>>5]|=128<<24-r%32,n[14+(r+64>>>9<<4)]=e.floor(i/4294967296),n[15+(r+64>>>9<<4)]=i,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=o._createHelper(u),t.HmacSHA256=o._createHmacHelper(u)}(Math),n.SHA256)})),ae((function(e,t){var n,i,r,o,a,s;e.exports=(r=(i=n=se).lib.WordArray,o=i.algo,a=o.SHA256,s=o.SHA224=a.extend({_doReset:function(){this._hash=new r.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=a._doFinalize.call(this);return e.sigBytes-=4,e}}),i.SHA224=a._createHelper(s),i.HmacSHA224=a._createHmacHelper(s),n.SHA224)})),ae((function(e,t){var n;e.exports=(n=se,function(){var e=n,t=e.lib.Hasher,i=e.x64,r=i.Word,o=i.WordArray,a=e.algo;function s(){return r.create.apply(r,arguments)}var c=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],l=[];!function(){for(var e=0;e<80;e++)l[e]=s()}();var u=a.SHA512=t.extend({_doReset:function(){this._hash=new o.init([new r.init(1779033703,4089235720),new r.init(3144134277,2227873595),new r.init(1013904242,4271175723),new r.init(2773480762,1595750129),new r.init(1359893119,2917565137),new r.init(2600822924,725511199),new r.init(528734635,4215389547),new r.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,i=n[0],r=n[1],o=n[2],a=n[3],s=n[4],u=n[5],d=n[6],f=n[7],h=i.high,_=i.low,p=r.high,m=r.low,g=o.high,R=o.low,E=a.high,v=a.low,y=s.high,T=s.low,b=u.high,w=u.low,S=d.high,A=d.low,C=f.high,I=f.low,O=h,k=_,N=p,x=m,M=g,L=R,V=E,P=v,D=y,B=T,U=b,F=w,z=S,j=A,H=C,G=I,W=0;W<80;W++){var Z=l[W];if(W<16)var X=Z.high=0|e[t+2*W],Y=Z.low=0|e[t+2*W+1];else{var K=l[W-15],q=K.high,Q=K.low,J=(q>>>1|Q<<31)^(q>>>8|Q<<24)^q>>>7,$=(Q>>>1|q<<31)^(Q>>>8|q<<24)^(Q>>>7|q<<25),ee=l[W-2],te=ee.high,ne=ee.low,ie=(te>>>19|ne<<13)^(te<<3|ne>>>29)^te>>>6,re=(ne>>>19|te<<13)^(ne<<3|te>>>29)^(ne>>>6|te<<26),oe=l[W-7],ae=oe.high,se=oe.low,ce=l[W-16],le=ce.high,ue=ce.low;X=(X=(X=J+ae+((Y=$+se)>>>0<$>>>0?1:0))+ie+((Y+=re)>>>0<re>>>0?1:0))+le+((Y+=ue)>>>0<ue>>>0?1:0),Z.high=X,Z.low=Y}var de,fe=D&U^~D&z,he=B&F^~B&j,_e=O&N^O&M^N&M,pe=k&x^k&L^x&L,me=(O>>>28|k<<4)^(O<<30|k>>>2)^(O<<25|k>>>7),ge=(k>>>28|O<<4)^(k<<30|O>>>2)^(k<<25|O>>>7),Re=(D>>>14|B<<18)^(D>>>18|B<<14)^(D<<23|B>>>9),Ee=(B>>>14|D<<18)^(B>>>18|D<<14)^(B<<23|D>>>9),ve=c[W],ye=ve.high,Te=ve.low,be=H+Re+((de=G+Ee)>>>0<G>>>0?1:0),we=ge+pe;H=z,G=j,z=U,j=F,U=D,F=B,D=V+(be=(be=(be=be+fe+((de+=he)>>>0<he>>>0?1:0))+ye+((de+=Te)>>>0<Te>>>0?1:0))+X+((de+=Y)>>>0<Y>>>0?1:0))+((B=P+de|0)>>>0<P>>>0?1:0)|0,V=M,P=L,M=N,L=x,N=O,x=k,O=be+(me+_e+(we>>>0<ge>>>0?1:0))+((k=de+we|0)>>>0<de>>>0?1:0)|0}_=i.low=_+k,i.high=h+O+(_>>>0<k>>>0?1:0),m=r.low=m+x,r.high=p+N+(m>>>0<x>>>0?1:0),R=o.low=R+L,o.high=g+M+(R>>>0<L>>>0?1:0),v=a.low=v+P,a.high=E+V+(v>>>0<P>>>0?1:0),T=s.low=T+B,s.high=y+D+(T>>>0<B>>>0?1:0),w=u.low=w+F,u.high=b+U+(w>>>0<F>>>0?1:0),A=d.low=A+j,d.high=S+z+(A>>>0<j>>>0?1:0),I=f.low=I+G,f.high=C+H+(I>>>0<G>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;return t[i>>>5]|=128<<24-i%32,t[30+(i+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(i+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(u),e.HmacSHA512=t._createHmacHelper(u)}(),n.SHA512)})),ae((function(e,t){var n,i,r,o,a,s,c,l;e.exports=(r=(i=n=se).x64,o=r.Word,a=r.WordArray,s=i.algo,c=s.SHA512,l=s.SHA384=c.extend({_doReset:function(){this._hash=new a.init([new o.init(3418070365,3238371032),new o.init(1654270250,914150663),new o.init(2438529370,812702999),new o.init(355462360,4144912697),new o.init(1731405415,4290775857),new o.init(2394180231,1750603025),new o.init(3675008525,1694076839),new o.init(1203062813,3204075428)])},_doFinalize:function(){var e=c._doFinalize.call(this);return e.sigBytes-=16,e}}),i.SHA384=c._createHelper(l),i.HmacSHA384=c._createHmacHelper(l),n.SHA384)})),ae((function(e,t){var n;e.exports=(n=se,function(e){var t=n,i=t.lib,r=i.WordArray,o=i.Hasher,a=t.x64.Word,s=t.algo,c=[],l=[],u=[];!function(){for(var e=1,t=0,n=0;n<24;n++){c[e+5*t]=(n+1)*(n+2)/2%64;var i=(2*e+3*t)%5;e=t%5,t=i}for(e=0;e<5;e++)for(t=0;t<5;t++)l[e+5*t]=t+(2*e+3*t)%5*5;for(var r=1,o=0;o<24;o++){for(var s=0,d=0,f=0;f<7;f++){if(1&r){var h=(1<<f)-1;h<32?d^=1<<h:s^=1<<h-32}128&r?r=r<<1^113:r<<=1}u[o]=a.create(s,d)}}();var d=[];!function(){for(var e=0;e<25;e++)d[e]=a.create()}();var f=s.SHA3=o.extend({cfg:o.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new a.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var n=this._state,i=this.blockSize/2,r=0;r<i;r++){var o=e[t+2*r],a=e[t+2*r+1];o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),(I=n[r]).high^=a,I.low^=o}for(var s=0;s<24;s++){for(var f=0;f<5;f++){for(var h=0,_=0,p=0;p<5;p++)h^=(I=n[f+5*p]).high,_^=I.low;var m=d[f];m.high=h,m.low=_}for(f=0;f<5;f++){var g=d[(f+4)%5],R=d[(f+1)%5],E=R.high,v=R.low;for(h=g.high^(E<<1|v>>>31),_=g.low^(v<<1|E>>>31),p=0;p<5;p++)(I=n[f+5*p]).high^=h,I.low^=_}for(var y=1;y<25;y++){var T=(I=n[y]).high,b=I.low,w=c[y];w<32?(h=T<<w|b>>>32-w,_=b<<w|T>>>32-w):(h=b<<w-32|T>>>64-w,_=T<<w-32|b>>>64-w);var S=d[l[y]];S.high=h,S.low=_}var A=d[0],C=n[0];for(A.high=C.high,A.low=C.low,f=0;f<5;f++)for(p=0;p<5;p++){var I=n[y=f+5*p],O=d[y],k=d[(f+1)%5+5*p],N=d[(f+2)%5+5*p];I.high=O.high^~k.high&N.high,I.low=O.low^~k.low&N.low}I=n[0];var x=u[s];I.high^=x.high,I.low^=x.low}},_doFinalize:function(){var t=this._data,n=t.words,i=(this._nDataBytes,8*t.sigBytes),o=32*this.blockSize;n[i>>>5]|=1<<24-i%32,n[(e.ceil((i+1)/o)*o>>>5)-1]|=128,t.sigBytes=4*n.length,this._process();for(var a=this._state,s=this.cfg.outputLength/8,c=s/8,l=[],u=0;u<c;u++){var d=a[u],f=d.high,h=d.low;f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),l.push(h),l.push(f)}return new r.init(l,s)},clone:function(){for(var e=o.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});t.SHA3=o._createHelper(f),t.HmacSHA3=o._createHmacHelper(f)}(Math),n.SHA3)})),ae((function(e,t){var n;e.exports=(n=se,function(e){var t=n,i=t.lib,r=i.WordArray,o=i.Hasher,a=t.algo,s=r.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),c=r.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),l=r.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),u=r.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),d=r.create([0,1518500249,1859775393,2400959708,2840853838]),f=r.create([1352829926,1548603684,1836072691,2053994217,0]),h=a.RIPEMD160=o.extend({_doReset:function(){this._hash=r.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var i=t+n,r=e[i];e[i]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8)}var o,a,h,v,y,T,b,w,S,A,C,I=this._hash.words,O=d.words,k=f.words,N=s.words,x=c.words,M=l.words,L=u.words;for(T=o=I[0],b=a=I[1],w=h=I[2],S=v=I[3],A=y=I[4],n=0;n<80;n+=1)C=o+e[t+N[n]]|0,C+=n<16?_(a,h,v)+O[0]:n<32?p(a,h,v)+O[1]:n<48?m(a,h,v)+O[2]:n<64?g(a,h,v)+O[3]:R(a,h,v)+O[4],C=(C=E(C|=0,M[n]))+y|0,o=y,y=v,v=E(h,10),h=a,a=C,C=T+e[t+x[n]]|0,C+=n<16?R(b,w,S)+k[0]:n<32?g(b,w,S)+k[1]:n<48?m(b,w,S)+k[2]:n<64?p(b,w,S)+k[3]:_(b,w,S)+k[4],C=(C=E(C|=0,L[n]))+A|0,T=A,A=S,S=E(w,10),w=b,b=C;C=I[1]+h+S|0,I[1]=I[2]+v+A|0,I[2]=I[3]+y+T|0,I[3]=I[4]+o+b|0,I[4]=I[0]+a+w|0,I[0]=C},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;t[i>>>5]|=128<<24-i%32,t[14+(i+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var r=this._hash,o=r.words,a=0;a<5;a++){var s=o[a];o[a]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return r},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function _(e,t,n){return e^t^n}function p(e,t,n){return e&t|~e&n}function m(e,t,n){return(e|~t)^n}function g(e,t,n){return e&n|t&~n}function R(e,t,n){return e^(t|~n)}function E(e,t){return e<<t|e>>>32-t}t.RIPEMD160=o._createHelper(h),t.HmacRIPEMD160=o._createHmacHelper(h)}(),n.RIPEMD160)})),ae((function(e,t){var n,i,r,o;e.exports=(i=(n=se).lib.Base,r=n.enc,o=r.Utf8,void(n.algo.HMAC=i.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=o.parse(t));var n=e.blockSize,i=4*n;t.sigBytes>i&&(t=e.finalize(t)),t.clamp();for(var r=this._oKey=t.clone(),a=this._iKey=t.clone(),s=r.words,c=a.words,l=0;l<n;l++)s[l]^=1549556828,c[l]^=909522486;r.sigBytes=a.sigBytes=i,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,n=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(n))}})))})),ae((function(e,t){var n,i,r,o,a,s,c,l,u;e.exports=(o=(r=(i=n=se).lib).Base,a=r.WordArray,c=(s=i.algo).SHA1,l=s.HMAC,u=s.PBKDF2=o.extend({cfg:o.extend({keySize:4,hasher:c,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,i=l.create(n.hasher,e),r=a.create(),o=a.create([1]),s=r.words,c=o.words,u=n.keySize,d=n.iterations;s.length<u;){var f=i.update(t).finalize(o);i.reset();for(var h=f.words,_=h.length,p=f,m=1;m<d;m++){p=i.finalize(p),i.reset();for(var g=p.words,R=0;R<_;R++)h[R]^=g[R]}r.concat(f),c[0]++}return r.sigBytes=4*u,r}}),i.PBKDF2=function(e,t,n){return u.create(n).compute(e,t)},n.PBKDF2)})),ae((function(e,t){var n,i,r,o,a,s,c,l;e.exports=(o=(r=(i=n=se).lib).Base,a=r.WordArray,c=(s=i.algo).MD5,l=s.EvpKDF=o.extend({cfg:o.extend({keySize:4,hasher:c,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,i=n.hasher.create(),r=a.create(),o=r.words,s=n.keySize,c=n.iterations;o.length<s;){l&&i.update(l);var l=i.update(e).finalize(t);i.reset();for(var u=1;u<c;u++)l=i.finalize(l),i.reset();r.concat(l)}return r.sigBytes=4*s,r}}),i.EvpKDF=function(e,t,n){return l.create(n).compute(e,t)},n.EvpKDF)})),ae((function(e,t){var n,i,r,o,a,s,c,l,u,d,f,h,_,p,m,g,R,E,v,y,T,b,w;e.exports=void((n=se).lib.Cipher||(i=n,r=i.lib,o=r.Base,a=r.WordArray,s=r.BufferedBlockAlgorithm,c=i.enc,c.Utf8,l=c.Base64,u=i.algo,d=u.EvpKDF,f=r.Cipher=s.extend({cfg:o.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,n){this.cfg=this.cfg.extend(n),this._xformMode=e,this._key=t,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?w:y}return function(t){return{encrypt:function(n,i,r){return e(i).encrypt(t,n,i,r)},decrypt:function(n,i,r){return e(i).decrypt(t,n,i,r)}}}}()}),r.StreamCipher=f.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),h=i.mode={},_=r.BlockCipherMode=o.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),p=h.CBC=function(){var e=_.extend();function t(e,t,n){var i=this._iv;if(i){var r=i;this._iv=void 0}else r=this._prevBlock;for(var o=0;o<n;o++)e[t+o]^=r[o]}return e.Encryptor=e.extend({processBlock:function(e,n){var i=this._cipher,r=i.blockSize;t.call(this,e,n,r),i.encryptBlock(e,n),this._prevBlock=e.slice(n,n+r)}}),e.Decryptor=e.extend({processBlock:function(e,n){var i=this._cipher,r=i.blockSize,o=e.slice(n,n+r);i.decryptBlock(e,n),t.call(this,e,n,r),this._prevBlock=o}}),e}(),m=i.pad={},g=m.Pkcs7={pad:function(e,t){for(var n=4*t,i=n-e.sigBytes%n,r=i<<24|i<<16|i<<8|i,o=[],s=0;s<i;s+=4)o.push(r);var c=a.create(o,i);e.concat(c)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},r.BlockCipher=f.extend({cfg:f.cfg.extend({mode:p,padding:g}),reset:function(){f.reset.call(this);var e=this.cfg,t=e.iv,n=e.mode;if(this._xformMode==this._ENC_XFORM_MODE)var i=n.createEncryptor;else{i=n.createDecryptor;this._minBufferSize=1}this._mode&&this._mode.__creator==i?this._mode.init(this,t&&t.words):(this._mode=i.call(n,this,t&&t.words),this._mode.__creator=i)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){e.pad(this._data,this.blockSize);var t=this._process(!0)}else{t=this._process(!0);e.unpad(t)}return t},blockSize:4}),R=r.CipherParams=o.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),E=i.format={},v=E.OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;if(n)var i=a.create([1398893684,1701076831]).concat(n).concat(t);else i=t;return i.toString(l)},parse:function(e){var t=l.parse(e),n=t.words;if(1398893684==n[0]&&1701076831==n[1]){var i=a.create(n.slice(2,4));n.splice(0,4),t.sigBytes-=16}return R.create({ciphertext:t,salt:i})}},y=r.SerializableCipher=o.extend({cfg:o.extend({format:v}),encrypt:function(e,t,n,i){i=this.cfg.extend(i);var r=e.createEncryptor(n,i),o=r.finalize(t),a=r.cfg;return R.create({ciphertext:o,key:n,iv:a.iv,algorithm:e,mode:a.mode,padding:a.padding,blockSize:e.blockSize,formatter:i.format})},decrypt:function(e,t,n,i){return i=this.cfg.extend(i),t=this._parse(t,i.format),e.createDecryptor(n,i).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),T=i.kdf={},b=T.OpenSSL={execute:function(e,t,n,i){i||(i=a.random(8));var r=d.create({keySize:t+n}).compute(e,i),o=a.create(r.words.slice(t),4*n);return r.sigBytes=4*t,R.create({key:r,iv:o,salt:i})}},w=r.PasswordBasedCipher=y.extend({cfg:y.cfg.extend({kdf:b}),encrypt:function(e,t,n,i){var r=(i=this.cfg.extend(i)).kdf.execute(n,e.keySize,e.ivSize);i.iv=r.iv;var o=y.encrypt.call(this,e,t,r.key,i);return o.mixIn(r),o},decrypt:function(e,t,n,i){i=this.cfg.extend(i),t=this._parse(t,i.format);var r=i.kdf.execute(n,e.keySize,e.ivSize,t.salt);return i.iv=r.iv,y.decrypt.call(this,e,t,r.key,i)}})))})),ae((function(e,t){var n;e.exports=((n=se).mode.CFB=function(){var e=n.lib.BlockCipherMode.extend();function t(e,t,n,i){var r=this._iv;if(r){var o=r.slice(0);this._iv=void 0}else o=this._prevBlock;i.encryptBlock(o,0);for(var a=0;a<n;a++)e[t+a]^=o[a]}return e.Encryptor=e.extend({processBlock:function(e,n){var i=this._cipher,r=i.blockSize;t.call(this,e,n,r,i),this._prevBlock=e.slice(n,n+r)}}),e.Decryptor=e.extend({processBlock:function(e,n){var i=this._cipher,r=i.blockSize,o=e.slice(n,n+r);t.call(this,e,n,r,i),this._prevBlock=o}}),e}(),n.mode.CFB)})),ae((function(e,t){var n,i,r;e.exports=((n=se).mode.CTR=(r=(i=n.lib.BlockCipherMode.extend()).Encryptor=i.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize,r=this._iv,o=this._counter;r&&(o=this._counter=r.slice(0),this._iv=void 0);var a=o.slice(0);n.encryptBlock(a,0),o[i-1]=o[i-1]+1|0;for(var s=0;s<i;s++)e[t+s]^=a[s]}}),i.Decryptor=r,i),n.mode.CTR)})),ae((function(e,t){var n;e.exports=((n=se).mode.CTRGladman=function(){var e=n.lib.BlockCipherMode.extend();function t(e){if(255==(e>>24&255)){var t=e>>16&255,n=e>>8&255,i=255&e;255===t?(t=0,255===n?(n=0,255===i?i=0:++i):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=i}else e+=1<<24;return e}var i=e.Encryptor=e.extend({processBlock:function(e,n){var i=this._cipher,r=i.blockSize,o=this._iv,a=this._counter;o&&(a=this._counter=o.slice(0),this._iv=void 0),function(e){0===(e[0]=t(e[0]))&&(e[1]=t(e[1]))}(a);var s=a.slice(0);i.encryptBlock(s,0);for(var c=0;c<r;c++)e[n+c]^=s[c]}});return e.Decryptor=i,e}(),n.mode.CTRGladman)})),ae((function(e,t){var n,i,r;e.exports=((n=se).mode.OFB=(r=(i=n.lib.BlockCipherMode.extend()).Encryptor=i.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize,r=this._iv,o=this._keystream;r&&(o=this._keystream=r.slice(0),this._iv=void 0),n.encryptBlock(o,0);for(var a=0;a<i;a++)e[t+a]^=o[a]}}),i.Decryptor=r,i),n.mode.OFB)})),ae((function(e,t){var n,i;e.exports=((n=se).mode.ECB=((i=n.lib.BlockCipherMode.extend()).Encryptor=i.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),i.Decryptor=i.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),i),n.mode.ECB)})),ae((function(e,t){var n;e.exports=((n=se).pad.AnsiX923={pad:function(e,t){var n=e.sigBytes,i=4*t,r=i-n%i,o=n+r-1;e.clamp(),e.words[o>>>2]|=r<<24-o%4*8,e.sigBytes+=r},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},n.pad.Ansix923)})),ae((function(e,t){var n;e.exports=((n=se).pad.Iso10126={pad:function(e,t){var i=4*t,r=i-e.sigBytes%i;e.concat(n.lib.WordArray.random(r-1)).concat(n.lib.WordArray.create([r<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},n.pad.Iso10126)})),ae((function(e,t){var n;e.exports=((n=se).pad.Iso97971={pad:function(e,t){e.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(e,t)},unpad:function(e){n.pad.ZeroPadding.unpad(e),e.sigBytes--}},n.pad.Iso97971)})),ae((function(e,t){var n;e.exports=((n=se).pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){for(var t=e.words,n=e.sigBytes-1;!(t[n>>>2]>>>24-n%4*8&255);)n--;e.sigBytes=n+1}},n.pad.ZeroPadding)})),ae((function(e,t){var n;e.exports=((n=se).pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding)})),ae((function(e,t){var n,i,r,o;e.exports=(r=(i=n=se).lib.CipherParams,o=i.enc.Hex,i.format.Hex={stringify:function(e){return e.ciphertext.toString(o)},parse:function(e){var t=o.parse(e);return r.create({ciphertext:t})}},n.format.Hex)})),ae((function(e,t){var n;e.exports=(n=se,function(){var e=n,t=e.lib.BlockCipher,i=e.algo,r=[],o=[],a=[],s=[],c=[],l=[],u=[],d=[],f=[],h=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,i=0;for(t=0;t<256;t++){var _=i^i<<1^i<<2^i<<3^i<<4;_=_>>>8^255&_^99,r[n]=_,o[_]=n;var p=e[n],m=e[p],g=e[m],R=257*e[_]^16843008*_;a[n]=R<<24|R>>>8,s[n]=R<<16|R>>>16,c[n]=R<<8|R>>>24,l[n]=R,R=16843009*g^65537*m^257*p^16843008*n,u[_]=R<<24|R>>>8,d[_]=R<<16|R>>>16,f[_]=R<<8|R>>>24,h[_]=R,n?(n=p^e[e[e[g^p]]],i^=e[e[i]]):n=i=1}}();var _=[0,1,2,4,8,16,32,64,128,27,54],p=i.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,i=4*((this._nRounds=n+6)+1),o=this._keySchedule=[],a=0;a<i;a++)if(a<n)o[a]=t[a];else{var s=o[a-1];a%n?n>6&&a%n==4&&(s=r[s>>>24]<<24|r[s>>>16&255]<<16|r[s>>>8&255]<<8|r[255&s]):(s=r[(s=s<<8|s>>>24)>>>24]<<24|r[s>>>16&255]<<16|r[s>>>8&255]<<8|r[255&s],s^=_[a/n|0]<<24),o[a]=o[a-n]^s}for(var c=this._invKeySchedule=[],l=0;l<i;l++)a=i-l,s=l%4?o[a]:o[a-4],c[l]=l<4||a<=4?s:u[r[s>>>24]]^d[r[s>>>16&255]]^f[r[s>>>8&255]]^h[r[255&s]]}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,a,s,c,l,r)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,u,d,f,h,o),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,i,r,o,a,s){for(var c=this._nRounds,l=e[t]^n[0],u=e[t+1]^n[1],d=e[t+2]^n[2],f=e[t+3]^n[3],h=4,_=1;_<c;_++){var p=i[l>>>24]^r[u>>>16&255]^o[d>>>8&255]^a[255&f]^n[h++],m=i[u>>>24]^r[d>>>16&255]^o[f>>>8&255]^a[255&l]^n[h++],g=i[d>>>24]^r[f>>>16&255]^o[l>>>8&255]^a[255&u]^n[h++],R=i[f>>>24]^r[l>>>16&255]^o[u>>>8&255]^a[255&d]^n[h++];l=p,u=m,d=g,f=R}p=(s[l>>>24]<<24|s[u>>>16&255]<<16|s[d>>>8&255]<<8|s[255&f])^n[h++],m=(s[u>>>24]<<24|s[d>>>16&255]<<16|s[f>>>8&255]<<8|s[255&l])^n[h++],g=(s[d>>>24]<<24|s[f>>>16&255]<<16|s[l>>>8&255]<<8|s[255&u])^n[h++],R=(s[f>>>24]<<24|s[l>>>16&255]<<16|s[u>>>8&255]<<8|s[255&d])^n[h++],e[t]=p,e[t+1]=m,e[t+2]=g,e[t+3]=R},keySize:8});e.AES=t._createHelper(p)}(),n.AES)})),ae((function(e,t){var n;e.exports=(n=se,function(){var e=n,t=e.lib,i=t.WordArray,r=t.BlockCipher,o=e.algo,a=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],s=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],l=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],d=o.DES=r.extend({_doReset:function(){for(var e=this._key.words,t=[],n=0;n<56;n++){var i=a[n]-1;t[n]=e[i>>>5]>>>31-i%32&1}for(var r=this._subKeys=[],o=0;o<16;o++){var l=r[o]=[],u=c[o];for(n=0;n<24;n++)l[n/6|0]|=t[(s[n]-1+u)%28]<<31-n%6,l[4+(n/6|0)]|=t[28+(s[n+24]-1+u)%28]<<31-n%6;for(l[0]=l[0]<<1|l[0]>>>31,n=1;n<7;n++)l[n]=l[n]>>>4*(n-1)+3;l[7]=l[7]<<5|l[7]>>>27}var d=this._invSubKeys=[];for(n=0;n<16;n++)d[n]=r[15-n]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,n){this._lBlock=e[t],this._rBlock=e[t+1],f.call(this,4,252645135),f.call(this,16,65535),h.call(this,2,858993459),h.call(this,8,16711935),f.call(this,1,1431655765);for(var i=0;i<16;i++){for(var r=n[i],o=this._lBlock,a=this._rBlock,s=0,c=0;c<8;c++)s|=l[c][((a^r[c])&u[c])>>>0];this._lBlock=a,this._rBlock=o^s}var d=this._lBlock;this._lBlock=this._rBlock,this._rBlock=d,f.call(this,1,1431655765),h.call(this,8,16711935),h.call(this,2,858993459),f.call(this,16,65535),f.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function f(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<<e}function h(e,t){var n=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<<e}e.DES=r._createHelper(d);var _=o.TripleDES=r.extend({_doReset:function(){var e=this._key.words;this._des1=d.createEncryptor(i.create(e.slice(0,2))),this._des2=d.createEncryptor(i.create(e.slice(2,4))),this._des3=d.createEncryptor(i.create(e.slice(4,6)))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});e.TripleDES=r._createHelper(_)}(),n.TripleDES)})),ae((function(e,t){var n;e.exports=(n=se,function(){var e=n,t=e.lib.StreamCipher,i=e.algo,r=i.RC4=t.extend({_doReset:function(){for(var e=this._key,t=e.words,n=e.sigBytes,i=this._S=[],r=0;r<256;r++)i[r]=r;r=0;for(var o=0;r<256;r++){var a=r%n,s=t[a>>>2]>>>24-a%4*8&255;o=(o+i[r]+s)%256;var c=i[r];i[r]=i[o],i[o]=c}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=o.call(this)},keySize:8,ivSize:0});function o(){for(var e=this._S,t=this._i,n=this._j,i=0,r=0;r<4;r++){n=(n+e[t=(t+1)%256])%256;var o=e[t];e[t]=e[n],e[n]=o,i|=e[(e[t]+e[n])%256]<<24-8*r}return this._i=t,this._j=n,i}e.RC4=t._createHelper(r);var a=i.RC4Drop=r.extend({cfg:r.cfg.extend({drop:192}),_doReset:function(){r._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)o.call(this)}});e.RC4Drop=t._createHelper(a)}(),n.RC4)})),ae((function(e,t){var n;e.exports=(n=se,function(){var e=n,t=e.lib.StreamCipher,i=e.algo,r=[],o=[],a=[],s=i.Rabbit=t.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var i=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,n=0;n<4;n++)c.call(this);for(n=0;n<8;n++)r[n]^=i[n+4&7];if(t){var o=t.words,a=o[0],s=o[1],l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=l>>>16|4294901760&u,f=u<<16|65535&l;for(r[0]^=l,r[1]^=d,r[2]^=u,r[3]^=f,r[4]^=l,r[5]^=d,r[6]^=u,r[7]^=f,n=0;n<4;n++)c.call(this)}},_doProcessBlock:function(e,t){var n=this._X;c.call(this),r[0]=n[0]^n[5]>>>16^n[3]<<16,r[1]=n[2]^n[7]>>>16^n[5]<<16,r[2]=n[4]^n[1]>>>16^n[7]<<16,r[3]=n[6]^n[3]>>>16^n[1]<<16;for(var i=0;i<4;i++)r[i]=16711935&(r[i]<<8|r[i]>>>24)|4278255360&(r[i]<<24|r[i]>>>8),e[t+i]^=r[i]},blockSize:4,ivSize:2});function c(){for(var e=this._X,t=this._C,n=0;n<8;n++)o[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<o[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<o[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<o[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<o[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<o[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<o[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<o[6]>>>0?1:0)|0,this._b=t[7]>>>0<o[7]>>>0?1:0,n=0;n<8;n++){var i=e[n]+t[n],r=65535&i,s=i>>>16,c=((r*r>>>17)+r*s>>>15)+s*s,l=((4294901760&i)*i|0)+((65535&i)*i|0);a[n]=c^l}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.Rabbit=t._createHelper(s)}(),n.Rabbit)})),ae((function(e,t){var n;e.exports=(n=se,function(){var e=n,t=e.lib.StreamCipher,i=e.algo,r=[],o=[],a=[],s=i.RabbitLegacy=t.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var r=0;r<4;r++)c.call(this);for(r=0;r<8;r++)i[r]^=n[r+4&7];if(t){var o=t.words,a=o[0],s=o[1],l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=l>>>16|4294901760&u,f=u<<16|65535&l;for(i[0]^=l,i[1]^=d,i[2]^=u,i[3]^=f,i[4]^=l,i[5]^=d,i[6]^=u,i[7]^=f,r=0;r<4;r++)c.call(this)}},_doProcessBlock:function(e,t){var n=this._X;c.call(this),r[0]=n[0]^n[5]>>>16^n[3]<<16,r[1]=n[2]^n[7]>>>16^n[5]<<16,r[2]=n[4]^n[1]>>>16^n[7]<<16,r[3]=n[6]^n[3]>>>16^n[1]<<16;for(var i=0;i<4;i++)r[i]=16711935&(r[i]<<8|r[i]>>>24)|4278255360&(r[i]<<24|r[i]>>>8),e[t+i]^=r[i]},blockSize:4,ivSize:2});function c(){for(var e=this._X,t=this._C,n=0;n<8;n++)o[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<o[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<o[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<o[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<o[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<o[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<o[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<o[6]>>>0?1:0)|0,this._b=t[7]>>>0<o[7]>>>0?1:0,n=0;n<8;n++){var i=e[n]+t[n],r=65535&i,s=i>>>16,c=((r*r>>>17)+r*s>>>15)+s*s,l=((4294901760&i)*i|0)+((65535&i)*i|0);a[n]=c^l}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.RabbitLegacy=t._createHelper(s)}(),n.RabbitLegacy)})),ae((function(e,t){e.exports=se})));function le(){throw new Error("setTimeout has not been defined")}function ue(){throw new Error("clearTimeout has not been defined")}var de=le,fe=ue;function he(e){if(de===setTimeout)return setTimeout(e,0);if((de===le||!de)&&setTimeout)return de=setTimeout,setTimeout(e,0);try{return de(e,0)}catch(t){try{return de.call(null,e,0)}catch(t){return de.call(this,e,0)}}}"function"==typeof s.setTimeout&&(de=setTimeout),"function"==typeof s.clearTimeout&&(fe=clearTimeout);var _e,pe=[],me=!1,ge=-1;function Re(){me&&_e&&(me=!1,_e.length?pe=_e.concat(pe):ge=-1,pe.length&&Ee())}function Ee(){if(!me){var e=he(Re);me=!0;for(var t=pe.length;t;){for(_e=pe,pe=[];++ge<t;)_e&&_e[ge].run();ge=-1,t=pe.length}_e=null,me=!1,function(e){if(fe===clearTimeout)return clearTimeout(e);if((fe===ue||!fe)&&clearTimeout)return fe=clearTimeout,clearTimeout(e);try{fe(e)}catch(t){try{return fe.call(null,e)}catch(t){return fe.call(this,e)}}}(e)}}function ve(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];pe.push(new ye(e,t)),1!==pe.length||me||he(Ee)}function ye(e,t){this.fun=e,this.array=t}ye.prototype.run=function(){this.fun.apply(null,this.array)};function Te(){}function be(){be.init.call(this)}function we(e){return void 0===e._maxListeners?be.defaultMaxListeners:e._maxListeners}function Se(e,t,n){if(t)e.call(n);else for(var i=e.length,r=Me(e,i),o=0;o<i;++o)r[o].call(n)}function Ae(e,t,n,i){if(t)e.call(n,i);else for(var r=e.length,o=Me(e,r),a=0;a<r;++a)o[a].call(n,i)}function Ce(e,t,n,i,r){if(t)e.call(n,i,r);else for(var o=e.length,a=Me(e,o),s=0;s<o;++s)a[s].call(n,i,r)}function Ie(e,t,n,i,r,o){if(t)e.call(n,i,r,o);else for(var a=e.length,s=Me(e,a),c=0;c<a;++c)s[c].call(n,i,r,o)}function Oe(e,t,n,i){if(t)e.apply(n,i);else for(var r=e.length,o=Me(e,r),a=0;a<r;++a)o[a].apply(n,i)}function ke(t,n,i,r){var o,a,s,c;if("function"!=typeof i)throw new TypeError('"listener" argument must be a function');if((a=t._events)?(a.newListener&&(t.emit("newListener",n,i.listener?i.listener:i),a=t._events),s=a[n]):(a=t._events=new Te,t._eventsCount=0),s){if("function"==typeof s?s=a[n]=r?[i,s]:[s,i]:r?s.unshift(i):s.push(i),!s.warned&&(o=we(t))&&o>0&&s.length>o){s.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+n+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=t,l.type=n,l.count=s.length,c=l,"function"==typeof console.warn?e("warn",c," at debug/lib-generate-test-usersig-es.min.js:3130"):e("log",c," at debug/lib-generate-test-usersig-es.min.js:3130")}}else s=a[n]=i,++t._eventsCount;return t}function Ne(e,t,n){var i=!1;function r(){e.removeListener(t,r),i||(i=!0,n.apply(e,arguments))}return r.listener=n,r}function xe(e){var t=this._events;if(t){var n=t[e];if("function"==typeof n)return 1;if(n)return n.length}return 0}function Me(e,t){for(var n=new Array(t);t--;)n[t]=e[t];return n}Te.prototype=Object.create(null),be.EventEmitter=be,be.usingDomains=!1,be.prototype.domain=void 0,be.prototype._events=void 0,be.prototype._maxListeners=void 0,be.defaultMaxListeners=10,be.init=function(){this.domain=null,be.usingDomains&&(void 0).active&&(void 0).Domain,this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new Te,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},be.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},be.prototype.getMaxListeners=function(){return we(this)},be.prototype.emit=function(e){var t,n,i,r,o,a,s,c="error"===e;if(a=this._events)c=c&&null==a.error;else if(!c)return!1;if(s=this.domain,c){if(t=arguments[1],!s){if(t instanceof Error)throw t;var l=new Error('Uncaught, unspecified "error" event. ('+t+")");throw l.context=t,l}return t||(t=new Error('Uncaught, unspecified "error" event')),t.domainEmitter=this,t.domain=s,t.domainThrown=!1,s.emit("error",t),!1}if(!(n=a[e]))return!1;var u="function"==typeof n;switch(i=arguments.length){case 1:Se(n,u,this);break;case 2:Ae(n,u,this,arguments[1]);break;case 3:Ce(n,u,this,arguments[1],arguments[2]);break;case 4:Ie(n,u,this,arguments[1],arguments[2],arguments[3]);break;default:for(r=new Array(i-1),o=1;o<i;o++)r[o-1]=arguments[o];Oe(n,u,this,r)}return!0},be.prototype.addListener=function(e,t){return ke(this,e,t,!1)},be.prototype.on=be.prototype.addListener,be.prototype.prependListener=function(e,t){return ke(this,e,t,!0)},be.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.on(e,Ne(this,e,t)),this},be.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.prependListener(e,Ne(this,e,t)),this},be.prototype.removeListener=function(e,t){var n,i,r,o,a;if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');if(!(i=this._events))return this;if(!(n=i[e]))return this;if(n===t||n.listener&&n.listener===t)0==--this._eventsCount?this._events=new Te:(delete i[e],i.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(r=-1,o=n.length;o-- >0;)if(n[o]===t||n[o].listener&&n[o].listener===t){a=n[o].listener,r=o;break}if(r<0)return this;if(1===n.length){if(n[0]=void 0,0==--this._eventsCount)return this._events=new Te,this;delete i[e]}else!function(e,t){for(var n=t,i=n+1,r=e.length;i<r;n+=1,i+=1)e[n]=e[i];e.pop()}(n,r);i.removeListener&&this.emit("removeListener",e,a||t)}return this},be.prototype.removeAllListeners=function(e){var t,n;if(!(n=this._events))return this;if(!n.removeListener)return 0===arguments.length?(this._events=new Te,this._eventsCount=0):n[e]&&(0==--this._eventsCount?this._events=new Te:delete n[e]),this;if(0===arguments.length){for(var i,r=Object.keys(n),o=0;o<r.length;++o)"removeListener"!==(i=r[o])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=new Te,this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(t)do{this.removeListener(e,t[t.length-1])}while(t[0]);return this},be.prototype.listeners=function(e){var t,n=this._events;return n&&(t=n[e])?"function"==typeof t?[t.listener||t]:function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(t):[]},be.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):xe.call(e,t)},be.prototype.listenerCount=xe,be.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]};var Le="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e},Ve=/%[sdj%]/g;function Pe(e){if(!Ye(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(Fe(arguments[n]));return t.join(" ")}n=1;for(var i=arguments,r=i.length,o=String(e).replace(Ve,(function(e){if("%%"===e)return"%";if(n>=r)return e;switch(e){case"%s":return String(i[n++]);case"%d":return Number(i[n++]);case"%j":try{return JSON.stringify(i[n++])}catch(e){return"[Circular]"}default:return e}})),a=i[n];n<r;a=i[++n])Xe(a)||!Qe(a)?o+=" "+a:o+=" "+Fe(a);return o}function De(t,n){if(Ke(s.process))return function(){return De(t,n).apply(this,arguments)};var i=!1;return function(){return i||(e("error",n," at debug/lib-generate-test-usersig-es.min.js:3342"),i=!0),t.apply(this,arguments)}}var Be,Ue={};function Fe(e,t){var n={seen:[],stylize:je};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),Ze(t)?n.showHidden=t:t&&function(e,t){if(!t||!Qe(t))return e;for(var n=Object.keys(t),i=n.length;i--;)e[n[i]]=t[n[i]]}(n,t),Ke(n.showHidden)&&(n.showHidden=!1),Ke(n.depth)&&(n.depth=2),Ke(n.colors)&&(n.colors=!1),Ke(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=ze),He(n,e,n.depth)}function ze(e,t){var n=Fe.styles[t];return n?"\x1b["+Fe.colors[n][0]+"m"+e+"\x1b["+Fe.colors[n][1]+"m":e}function je(e,t){return e}function He(e,t,n){if(e.customInspect&&t&&et(t.inspect)&&t.inspect!==Fe&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(n,e);return Ye(i)||(i=He(e,i,n)),i}var r=function(e,t){if(Ke(t))return e.stylize("undefined","undefined");if(Ye(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return"number"==typeof t?e.stylize(""+t,"number"):Ze(t)?e.stylize(""+t,"boolean"):Xe(t)?e.stylize("null","null"):void 0}(e,t);if(r)return r;var o=Object.keys(t),a=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(t)),$e(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return Ge(t);if(0===o.length){if(et(t)){var s=t.name?": "+t.name:"";return e.stylize("[Function"+s+"]","special")}if(qe(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(Je(t))return e.stylize(Date.prototype.toString.call(t),"date");if($e(t))return Ge(t)}var c,l,u="",d=!1,f=["{","}"];return c=t,Array.isArray(c)&&(d=!0,f=["[","]"]),et(t)&&(u=" [Function"+(t.name?": "+t.name:"")+"]"),qe(t)&&(u=" "+RegExp.prototype.toString.call(t)),Je(t)&&(u=" "+Date.prototype.toUTCString.call(t)),$e(t)&&(u=" "+Ge(t)),0!==o.length||d&&0!=t.length?n<0?qe(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),l=d?function(e,t,n,i,r){for(var o=[],a=0,s=t.length;a<s;++a)nt(t,String(a))?o.push(We(e,t,n,i,String(a),!0)):o.push("");return r.forEach((function(r){r.match(/^\d+$/)||o.push(We(e,t,n,i,r,!0))})),o}(e,t,n,a,o):o.map((function(i){return We(e,t,n,a,i,d)})),e.seen.pop(),function(e,t,n){return e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}(l,u,f)):f[0]+u+f[1]}function Ge(e){return"["+Error.prototype.toString.call(e)+"]"}function We(e,t,n,i,r,o){var a,s,c;if((c=Object.getOwnPropertyDescriptor(t,r)||{value:t[r]}).get?s=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(s=e.stylize("[Setter]","special")),nt(i,r)||(a="["+r+"]"),s||(e.seen.indexOf(c.value)<0?(s=Xe(n)?He(e,c.value,null):He(e,c.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),Ke(a)){if(o&&r.match(/^\d+$/))return s;(a=JSON.stringify(""+r)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function Ze(e){return"boolean"==typeof e}function Xe(e){return null===e}function Ye(e){return"string"==typeof e}function Ke(e){return void 0===e}function qe(e){return Qe(e)&&"[object RegExp]"===tt(e)}function Qe(e){return"object"==(0,a.default)(e)&&null!==e}function Je(e){return Qe(e)&&"[object Date]"===tt(e)}function $e(e){return Qe(e)&&("[object Error]"===tt(e)||e instanceof Error)}function et(e){return"function"==typeof e}function tt(e){return Object.prototype.toString.call(e)}function nt(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function it(){this.head=null,this.tail=null,this.length=0}Fe.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},Fe.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},it.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},it.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},it.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},it.prototype.clear=function(){this.head=this.tail=null,this.length=0},it.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},it.prototype.concat=function(e){if(0===this.length)return y.alloc(0);if(1===this.length)return this.head.data;for(var t=y.allocUnsafe(e>>>0),n=this.head,i=0;n;)n.data.copy(t,i),i+=n.data.length,n=n.next;return t};var rt=y.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function ot(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),function(e){if(e&&!rt(e))throw new Error("Unknown encoding: "+e)}(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=st;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=ct;break;default:return void(this.write=at)}this.charBuffer=new y(6),this.charReceived=0,this.charLength=0}function at(e){return e.toString(this.encoding)}function st(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function ct(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}ot.prototype.write=function(e){for(var t="";this.charLength;){var n=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived<this.charLength)return"";if(e=e.slice(n,e.length),!((i=(t=this.charBuffer.slice(0,this.charLength).toString(this.encoding)).charCodeAt(t.length-1))>=55296&&i<=56319)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var i,r=e.length;if(this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,r),r-=this.charReceived),r=(t+=e.toString(this.encoding,0,r)).length-1,(i=t.charCodeAt(r))>=55296&&i<=56319){var o=this.surrogateSize;return this.charLength+=o,this.charReceived+=o,this.charBuffer.copy(this.charBuffer,o,0,o),e.copy(this.charBuffer,0,0,o),t.substring(0,r)}return t},ot.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(1==t&&n>>5==6){this.charLength=2;break}if(t<=2&&n>>4==14){this.charLength=3;break}if(t<=3&&n>>3==30){this.charLength=4;break}}this.charReceived=t},ot.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,i=this.charBuffer,r=this.encoding;t+=i.slice(0,n).toString(r)}return t},dt.ReadableState=ut;var lt=function(t){return Ke(Be)&&(Be=""),t=t.toUpperCase(),Ue[t]||(new RegExp("\\b"+t+"\\b","i").test(Be)?Ue[t]=function(){var n=Pe.apply(null,arguments);e("error","%s %d: %s",t,0,n," at debug/lib-generate-test-usersig-es.min.js:3681")}:Ue[t]=function(){}),Ue[t]}("stream");function ut(e,t){e=e||{},this.objectMode=!!e.objectMode,t instanceof Bt&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var n=e.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:i,this.highWaterMark=~~this.highWaterMark,this.buffer=new it,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(this.decoder=new ot(e.encoding),this.encoding=e.encoding)}function dt(e){if(!(this instanceof dt))return new dt(e);this._readableState=new ut(e,this),this.readable=!0,e&&"function"==typeof e.read&&(this._read=e.read),be.call(this)}function ft(e,t,n,i,r){var o=function(e,t){var n=null;return re(t)||"string"==typeof t||null==t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}(t,n);if(o)e.emit("error",o);else if(null===n)t.reading=!1,function(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,_t(e)}}(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!r){var a=new Error("stream.push() after EOF");e.emit("error",a)}else if(t.endEmitted&&r){var s=new Error("stream.unshift() after end event");e.emit("error",s)}else{var c;!t.decoder||r||i||(n=t.decoder.write(n),c=!t.objectMode&&0===n.length),r||(t.reading=!1),c||(t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&_t(e))),function(e,t){t.readingMore||(t.readingMore=!0,ve(mt,e,t))}(e,t)}else r||(t.reading=!1);return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(t)}Le(dt,be),dt.prototype.push=function(e,t){var n=this._readableState;return n.objectMode||"string"!=typeof e||(t=t||n.defaultEncoding)!==n.encoding&&(e=y.from(e,t),t=""),ft(this,n,e,t,!1)},dt.prototype.unshift=function(e){return ft(this,this._readableState,e,"",!0)},dt.prototype.isPaused=function(){return!1===this._readableState.flowing},dt.prototype.setEncoding=function(e){return this._readableState.decoder=new ot(e),this._readableState.encoding=e,this};function ht(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function _t(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(lt("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?ve(pt,e):pt(e))}function pt(e){lt("emit readable"),e.emit("readable"),Et(e)}function mt(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(lt("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function gt(e){lt("readable nexttick read 0"),e.read(0)}function Rt(e,t){t.reading||(lt("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),Et(e),t.flowing&&!t.reading&&e.read(0)}function Et(e){var t=e._readableState;for(lt("flow",t.flowing);t.flowing&&null!==e.read(););}function vt(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var i;return e<t.head.data.length?(i=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):i=e===t.head.data.length?t.shift():n?function(e,t){var n=t.head,i=1,r=n.data;for(e-=r.length;n=n.next;){var o=n.data,a=e>o.length?o.length:e;if(a===o.length?r+=o:r+=o.slice(0,e),0==(e-=a)){a===o.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++i}return t.length-=i,r}(e,t):function(e,t){var n=y.allocUnsafe(e),i=t.head,r=1;for(i.data.copy(n),e-=i.data.length;i=i.next;){var o=i.data,a=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,a),0==(e-=a)){a===o.length?(++r,i.next?t.head=i.next:t.head=t.tail=null):(t.head=i,i.data=o.slice(a));break}++r}return t.length-=r,n}(e,t),i}(e,t.buffer,t.decoder),n);var n}function yt(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,ve(Tt,t,e))}function Tt(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function bt(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1}function wt(){}function St(e,t,n){this.chunk=e,this.encoding=t,this.callback=n,this.next=null}function At(e,t){Object.defineProperty(this,"buffer",{get:De((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")}),e=e||{},this.objectMode=!!e.objectMode,t instanceof Bt&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var n=e.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:i,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var r=!1===e.decodeStrings;this.decodeStrings=!r,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,i=n.sync,r=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,i,r){--t.pendingcb,n?ve(r,i):r(i),e._writableState.errorEmitted=!0,e.emit("error",i)}(e,n,i,t,r);else{var o=Nt(n);o||n.corked||n.bufferProcessing||!n.bufferedRequest||kt(e,n),i?ve(Ot,e,n,o,r):Ot(e,n,o,r)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new Lt(this)}function Ct(e){if(!(this instanceof Ct||this instanceof Bt))return new Ct(e);this._writableState=new At(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev)),be.call(this)}function It(e,t,n,i,r,o,a){t.writelen=i,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(r,t.onwrite):e._write(r,o,t.onwrite),t.sync=!1}function Ot(e,t,n,i){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,i(),Mt(e,t)}function kt(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var i=t.bufferedRequestCount,r=new Array(i),o=t.corkedRequestsFree;o.entry=n;for(var a=0;n;)r[a]=n,n=n.next,a+=1;It(e,t,!0,t.length,r,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new Lt(t)}else{for(;n;){var s=n.chunk,c=n.encoding,l=n.callback;if(It(e,t,!1,t.objectMode?1:s.length,s,c,l),n=n.next,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=n,t.bufferProcessing=!1}function Nt(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function xt(e,t){t.prefinished||(t.prefinished=!0,e.emit("prefinish"))}function Mt(e,t){var n=Nt(t);return n&&(0===t.pendingcb?(xt(e,t),t.finished=!0,e.emit("finish")):xt(e,t)),n}function Lt(e){var t=this;this.next=null,this.entry=null,this.finish=function(n){var i=t.entry;for(t.entry=null;i;){var r=i.callback;e.pendingcb--,r(n),i=i.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}}dt.prototype.read=function(e){lt("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return lt("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?yt(this):_t(this),null;if(0===(e=ht(e,t))&&t.ended)return 0===t.length&&yt(this),null;var i,r=t.needReadable;return lt("need readable",r),(0===t.length||t.length-e<t.highWaterMark)&&lt("length less than watermark",r=!0),t.ended||t.reading?lt("reading or ended",r=!1):r&&(lt("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=ht(n,t))),null===(i=e>0?vt(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&yt(this)),null!==i&&this.emit("data",i),i},dt.prototype._read=function(e){this.emit("error",new Error("not implemented"))},dt.prototype.pipe=function(e,t){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,lt("pipe count=%d opts=%j",i.pipesCount,t);var r=t&&!1===t.end?l:a;function o(e){lt("onunpipe"),e===n&&l()}function a(){lt("onend"),e.end()}i.endEmitted?ve(r):n.once("end",r),e.on("unpipe",o);var s=function(e){return function(){var t=e._readableState;lt("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&e.listeners("data").length&&(t.flowing=!0,Et(e))}}(n);e.on("drain",s);var c=!1;function l(){lt("cleanup"),e.removeListener("close",h),e.removeListener("finish",_),e.removeListener("drain",s),e.removeListener("error",f),e.removeListener("unpipe",o),n.removeListener("end",a),n.removeListener("end",l),n.removeListener("data",d),c=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||s()}var u=!1;function d(t){lt("ondata"),u=!1,!1!==e.write(t)||u||((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==bt(i.pipes,e))&&!c&&(lt("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,u=!0),n.pause())}function f(t){lt("onerror",t),p(),e.removeListener("error",f),0===("error",e.listeners("error").length)&&e.emit("error",t)}function h(){e.removeListener("finish",_),p()}function _(){lt("onfinish"),e.removeListener("close",h),p()}function p(){lt("unpipe"),n.unpipe(e)}return n.on("data",d),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",f),e.once("close",h),e.once("finish",_),e.emit("pipe",n),i.flowing||(lt("pipe resume"),n.resume()),e},dt.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var r=0;r<i;r++)n[r].emit("unpipe",this);return this}var o=bt(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this)),this},dt.prototype.on=function(e,t){var n=be.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var i=this._readableState;i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.emittedReadable=!1,i.reading?i.length&&_t(this):ve(gt,this))}return n},dt.prototype.addListener=dt.prototype.on,dt.prototype.resume=function(){var e=this._readableState;return e.flowing||(lt("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,ve(Rt,e,t))}(this,e)),this},dt.prototype.pause=function(){return lt("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(lt("pause"),this._readableState.flowing=!1,this.emit("pause")),this},dt.prototype.wrap=function(e){var t=this._readableState,n=!1,i=this;for(var r in e.on("end",(function(){if(lt("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&i.push(e)}i.push(null)})),e.on("data",(function(r){lt("wrapped data"),t.decoder&&(r=t.decoder.write(r)),t.objectMode&&null==r||(t.objectMode||r&&r.length)&&(i.push(r)||(n=!0,e.pause()))})),e)void 0===this[r]&&"function"==typeof e[r]&&(this[r]=function(t){return function(){return e[t].apply(e,arguments)}}(r));return function(e,t){for(var n=0,i=e.length;n<i;n++)t(e[n])}(["error","close","destroy","pause","resume"],(function(t){e.on(t,i.emit.bind(i,t))})),i._read=function(t){lt("wrapped _read",t),n&&(n=!1,e.resume())},i},dt._fromList=vt,Ct.WritableState=At,Le(Ct,be),At.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},Ct.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},Ct.prototype.write=function(e,t,n){var i=this._writableState,r=!1;return"function"==typeof t&&(n=t,t=null),y.isBuffer(e)?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof n&&(n=wt),i.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),ve(t,n)}(this,n):function(e,t,n,i){var r=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):y.isBuffer(n)||"string"==typeof n||void 0===n||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),ve(i,o),r=!1),r}(this,i,e,n)&&(i.pendingcb++,r=function(e,t,n,i,r){n=function(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=y.from(t,n)),t}(t,n,i),y.isBuffer(n)&&(i="buffer");var o=t.objectMode?1:n.length;t.length+=o;var a=t.length<t.highWaterMark;if(a||(t.needDrain=!0),t.writing||t.corked){var s=t.lastBufferedRequest;t.lastBufferedRequest=new St(n,i,r),s?s.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else It(e,t,!1,o,n,i,r);return a}(this,i,e,t,n)),r},Ct.prototype.cork=function(){this._writableState.corked++},Ct.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||kt(this,e))},Ct.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Ct.prototype._write=function(e,t,n){n(new Error("not implemented"))},Ct.prototype._writev=null,Ct.prototype.end=function(e,t,n){var i=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||i.finished||function(e,t,n){t.ending=!0,Mt(e,t),n&&(t.finished?ve(n):e.once("finish",n)),t.ended=!0,e.writable=!1}(this,i,n)},Le(Bt,dt);for(var Vt=Object.keys(Ct.prototype),Pt=0;Pt<Vt.length;Pt++){var Dt=Vt[Pt];Bt.prototype[Dt]||(Bt.prototype[Dt]=Ct.prototype[Dt])}function Bt(e){if(!(this instanceof Bt))return new Bt(e);dt.call(this,e),Ct.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",Ut)}function Ut(){this.allowHalfOpen||this._writableState.ended||ve(Ft,this)}function Ft(e){e.end()}function zt(e){this.afterTransform=function(t,n){return function(e,t,n){var i=e._transformState;i.transforming=!1;var r=i.writecb;if(!r)return e.emit("error",new Error("no writecb in Transform class"));i.writechunk=null,i.writecb=null,null!=n&&e.push(n),r(t);var o=e._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&e._read(o.highWaterMark)}(e,t,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function jt(e){if(!(this instanceof jt))return new jt(e);Bt.call(this,e),this._transformState=new zt(this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.once("prefinish",(function(){"function"==typeof this._flush?this._flush((function(e){Ht(t,e)})):Ht(t)}))}function Ht(e,t){if(t)return e.emit("error",t);var n=e._writableState,i=e._transformState;if(n.length)throw new Error("Calling transform done when ws.length != 0");if(i.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}function Gt(e){if(!(this instanceof Gt))return new Gt(e);jt.call(this,e)}function Wt(){be.call(this)}Le(jt,Bt),jt.prototype.push=function(e,t){return this._transformState.needTransform=!1,Bt.prototype.push.call(this,e,t)},jt.prototype._transform=function(e,t,n){throw new Error("Not implemented")},jt.prototype._write=function(e,t,n){var i=this._transformState;if(i.writecb=n,i.writechunk=e,i.writeencoding=t,!i.transforming){var r=this._readableState;(i.needTransform||r.needReadable||r.length<r.highWaterMark)&&this._read(r.highWaterMark)}},jt.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},Le(Gt,jt),Gt.prototype._transform=function(e,t,n){n(null,e)},Le(Wt,be),Wt.Readable=dt,Wt.Writable=Ct,Wt.Duplex=Bt,Wt.Transform=jt,Wt.PassThrough=Gt,Wt.Stream=Wt,Wt.prototype.pipe=function(e,t){var n=this;function i(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function r(){n.readable&&n.resume&&n.resume()}n.on("data",i),e.on("drain",r),e._isStdio||t&&!1===t.end||(n.on("end",a),n.on("close",s));var o=!1;function a(){o||(o=!0,e.end())}function s(){o||(o=!0,"function"==typeof e.destroy&&e.destroy())}function c(e){if(l(),0===be.listenerCount(this,"error"))throw e}function l(){n.removeListener("data",i),e.removeListener("drain",r),n.removeListener("end",a),n.removeListener("close",s),n.removeListener("error",c),e.removeListener("error",c),n.removeListener("end",l),n.removeListener("close",l),e.removeListener("close",l)}return n.on("error",c),e.on("error",c),n.on("end",l),n.on("close",l),e.on("close",l),e.emit("pipe",n),e};var Zt={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"};function Xt(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}function Yt(e,t,n,i,r){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+i),r);else for(var o=0;o<i;o++)e[r+o]=t[n+o]}var Kt=Uint8Array,qt=Uint16Array,Qt=Int32Array;function Jt(e){for(var t=e.length;--t>=0;)e[t]=0}var $t=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],en=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],tn=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],nn=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],rn=new Array(576);Jt(rn);var on=new Array(60);Jt(on);var an=new Array(512);Jt(an);var sn=new Array(256);Jt(sn);var cn=new Array(29);Jt(cn);var ln,un,dn,fn=new Array(30);function hn(e,t,n,i,r){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=i,this.max_length=r,this.has_stree=e&&e.length}function _n(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function pn(e){return e<256?an[e]:an[256+(e>>>7)]}function mn(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function gn(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,mn(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function Rn(e,t,n){gn(e,n[2*t],n[2*t+1])}function En(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}function vn(e,t,n){var i,r,o=new Array(16),a=0;for(i=1;i<=15;i++)o[i]=a=a+n[i-1]<<1;for(r=0;r<=t;r++){var s=e[2*r+1];0!==s&&(e[2*r]=En(o[s]++,s))}}function yn(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function Tn(e){e.bi_valid>8?mn(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function bn(e,t,n,i){var r=2*t,o=2*n;return e[r]<e[o]||e[r]===e[o]&&i[t]<=i[n]}function wn(e,t,n){for(var i=e.heap[n],r=n<<1;r<=e.heap_len&&(r<e.heap_len&&bn(t,e.heap[r+1],e.heap[r],e.depth)&&r++,!bn(t,i,e.heap[r],e.depth));)e.heap[n]=e.heap[r],n=r,r<<=1;e.heap[n]=i}function Sn(e,t,n){var i,r,o,a,s=0;if(0!==e.last_lit)do{i=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],r=e.pending_buf[e.l_buf+s],s++,0===i?Rn(e,r,t):(Rn(e,(o=sn[r])+256+1,t),0!==(a=$t[o])&&gn(e,r-=cn[o],a),Rn(e,o=pn(--i),n),0!==(a=en[o])&&gn(e,i-=fn[o],a))}while(s<e.last_lit);Rn(e,256,t)}function An(e,t){var n,i,r,o=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,c=t.stat_desc.elems,l=-1;for(e.heap_len=0,e.heap_max=573,n=0;n<c;n++)0!==o[2*n]?(e.heap[++e.heap_len]=l=n,e.depth[n]=0):o[2*n+1]=0;for(;e.heap_len<2;)o[2*(r=e.heap[++e.heap_len]=l<2?++l:0)]=1,e.depth[r]=0,e.opt_len--,s&&(e.static_len-=a[2*r+1]);for(t.max_code=l,n=e.heap_len>>1;n>=1;n--)wn(e,o,n);r=c;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],wn(e,o,1),i=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=i,o[2*r]=o[2*n]+o[2*i],e.depth[r]=(e.depth[n]>=e.depth[i]?e.depth[n]:e.depth[i])+1,o[2*n+1]=o[2*i+1]=r,e.heap[1]=r++,wn(e,o,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,i,r,o,a,s,c=t.dyn_tree,l=t.max_code,u=t.stat_desc.static_tree,d=t.stat_desc.has_stree,f=t.stat_desc.extra_bits,h=t.stat_desc.extra_base,_=t.stat_desc.max_length,p=0;for(o=0;o<=15;o++)e.bl_count[o]=0;for(c[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<573;n++)(o=c[2*c[2*(i=e.heap[n])+1]+1]+1)>_&&(o=_,p++),c[2*i+1]=o,i>l||(e.bl_count[o]++,a=0,i>=h&&(a=f[i-h]),s=c[2*i],e.opt_len+=s*(o+a),d&&(e.static_len+=s*(u[2*i+1]+a)));if(0!==p){do{for(o=_-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[_]--,p-=2}while(p>0);for(o=_;0!==o;o--)for(i=e.bl_count[o];0!==i;)(r=e.heap[--n])>l||(c[2*r+1]!==o&&(e.opt_len+=(o-c[2*r+1])*c[2*r],c[2*r+1]=o),i--)}}(e,t),vn(o,l,e.bl_count)}function Cn(e,t,n){var i,r,o=-1,a=t[1],s=0,c=7,l=4;for(0===a&&(c=138,l=3),t[2*(n+1)+1]=65535,i=0;i<=n;i++)r=a,a=t[2*(i+1)+1],++s<c&&r===a||(s<l?e.bl_tree[2*r]+=s:0!==r?(r!==o&&e.bl_tree[2*r]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,s=0,o=r,0===a?(c=138,l=3):r===a?(c=6,l=3):(c=7,l=4))}function In(e,t,n){var i,r,o=-1,a=t[1],s=0,c=7,l=4;for(0===a&&(c=138,l=3),i=0;i<=n;i++)if(r=a,a=t[2*(i+1)+1],!(++s<c&&r===a)){if(s<l)do{Rn(e,r,e.bl_tree)}while(0!=--s);else 0!==r?(r!==o&&(Rn(e,r,e.bl_tree),s--),Rn(e,16,e.bl_tree),gn(e,s-3,2)):s<=10?(Rn(e,17,e.bl_tree),gn(e,s-3,3)):(Rn(e,18,e.bl_tree),gn(e,s-11,7));s=0,o=r,0===a?(c=138,l=3):r===a?(c=6,l=3):(c=7,l=4)}}Jt(fn);var On=!1;function kn(e,t,n,i){gn(e,0+(i?1:0),3),function(e,t,n,i){Tn(e),mn(e,n),mn(e,~n),Yt(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}(e,t,n)}function Nn(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(sn[n]+256+1)]++,e.dyn_dtree[2*pn(t)]++),e.last_lit===e.lit_bufsize-1}function xn(e,t,n,i){for(var r=65535&e|0,o=e>>>16&65535|0,a=0;0!==n;){n-=a=n>2e3?2e3:n;do{o=o+(r=r+t[i++]|0)|0}while(--a);r%=65521,o%=65521}return r|o<<16|0}var Mn=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var i=0;i<8;i++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();function Ln(e,t,n,i){var r=Mn,o=i+n;e^=-1;for(var a=i;a<o;a++)e=e>>>8^r[255&(e^t[a])];return-1^e}var Vn,Pn=258,Dn=262;function Bn(e,t){return e.msg=Zt[t],t}function Un(e){return(e<<1)-(e>4?9:0)}function Fn(e){for(var t=e.length;--t>=0;)e[t]=0}function zn(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(Yt(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function jn(e,t){(function(e,t,n,i){var r,o,a=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),An(e,e.l_desc),An(e,e.d_desc),a=function(e){var t;for(Cn(e,e.dyn_ltree,e.l_desc.max_code),Cn(e,e.dyn_dtree,e.d_desc.max_code),An(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*nn[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),r=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=r&&(r=o)):r=o=n+5,n+4<=r&&-1!==t?kn(e,t,n,i):4===e.strategy||o===r?(gn(e,2+(i?1:0),3),Sn(e,rn,on)):(gn(e,4+(i?1:0),3),function(e,t,n,i){var r;for(gn(e,t-257,5),gn(e,n-1,5),gn(e,i-4,4),r=0;r<i;r++)gn(e,e.bl_tree[2*nn[r]+1],3);In(e,e.dyn_ltree,t-1),In(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),Sn(e,e.dyn_ltree,e.dyn_dtree)),yn(e),i&&Tn(e)})(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,zn(e.strm)}function Hn(e,t){e.pending_buf[e.pending++]=t}function Gn(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function Wn(e,t){var n,i,r=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,c=e.strstart>e.w_size-Dn?e.strstart-(e.w_size-Dn):0,l=e.window,u=e.w_mask,d=e.prev,f=e.strstart+Pn,h=l[o+a-1],_=l[o+a];e.prev_length>=e.good_match&&(r>>=2),s>e.lookahead&&(s=e.lookahead);do{if(l[(n=t)+a]===_&&l[n+a-1]===h&&l[n]===l[o]&&l[++n]===l[o+1]){o+=2,n++;do{}while(l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&o<f);if(i=Pn-(f-o),o=f-Pn,i>a){if(e.match_start=t,a=i,i>=s)break;h=l[o+a-1],_=l[o+a]}}}while((t=d[t&u])>c&&0!=--r);return a<=e.lookahead?a:e.lookahead}function Zn(e){var t,n,i,r,o,a,s,c,l,u,d=e.w_size;do{if(r=e.window_size-e.lookahead-e.strstart,e.strstart>=d+(d-Dn)){Yt(e.window,e.window,d,d,0),e.match_start-=d,e.strstart-=d,e.block_start-=d,t=n=e.hash_size;do{i=e.head[--t],e.head[t]=i>=d?i-d:0}while(--n);t=n=d;do{i=e.prev[--t],e.prev[t]=i>=d?i-d:0}while(--n);r+=d}if(0===e.strm.avail_in)break;if(a=e.strm,s=e.window,c=e.strstart+e.lookahead,l=r,u=void 0,(u=a.avail_in)>l&&(u=l),n=0===u?0:(a.avail_in-=u,Yt(s,a.input,a.next_in,u,c),1===a.state.wrap?a.adler=xn(a.adler,s,u,c):2===a.state.wrap&&(a.adler=Ln(a.adler,s,u,c)),a.next_in+=u,a.total_in+=u,u),e.lookahead+=n,e.lookahead+e.insert>=3)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+3-1])&e.hash_mask,e.prev[o&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=o,o++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<Dn&&0!==e.strm.avail_in)}function Xn(e,t){for(var n,i;;){if(e.lookahead<Dn){if(Zn(e),e.lookahead<Dn&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-Dn&&(e.match_length=Wn(e,n)),e.match_length>=3)if(i=Nn(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else i=Nn(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&(jn(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,4===t?(jn(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(jn(e,!1),0===e.strm.avail_out)?1:2}function Yn(e,t){for(var n,i,r;;){if(e.lookahead<Dn){if(Zn(e),e.lookahead<Dn&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-Dn&&(e.match_length=Wn(e,n),e.match_length<=5&&(1===e.strategy||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){r=e.strstart+e.lookahead-3,i=Nn(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=r&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,i&&(jn(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((i=Nn(e,0,e.window[e.strstart-1]))&&jn(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(i=Nn(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t?(jn(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(jn(e,!1),0===e.strm.avail_out)?1:2}function Kn(e,t,n,i,r){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=i,this.func=r}function qn(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new qt(1146),this.dyn_dtree=new qt(122),this.bl_tree=new qt(78),Fn(this.dyn_ltree),Fn(this.dyn_dtree),Fn(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new qt(16),this.heap=new qt(573),Fn(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new qt(573),Fn(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Qn(e){var t,n=function(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:113,e.adler=2===t.wrap?0:1,t.last_flush=0,function(e){On||(function(){var e,t,n,i,r,o=new Array(16);for(n=0,i=0;i<28;i++)for(cn[i]=n,e=0;e<1<<$t[i];e++)sn[n++]=i;for(sn[n-1]=i,r=0,i=0;i<16;i++)for(fn[i]=r,e=0;e<1<<en[i];e++)an[r++]=i;for(r>>=7;i<30;i++)for(fn[i]=r<<7,e=0;e<1<<en[i]-7;e++)an[256+r++]=i;for(t=0;t<=15;t++)o[t]=0;for(e=0;e<=143;)rn[2*e+1]=8,e++,o[8]++;for(;e<=255;)rn[2*e+1]=9,e++,o[9]++;for(;e<=279;)rn[2*e+1]=7,e++,o[7]++;for(;e<=287;)rn[2*e+1]=8,e++,o[8]++;for(vn(rn,287,o),e=0;e<30;e++)on[2*e+1]=5,on[2*e]=En(e,5);ln=new hn(rn,$t,257,286,15),un=new hn(on,en,0,30,15),dn=new hn(new Array(0),tn,0,19,7)}(),On=!0),e.l_desc=new _n(e.dyn_ltree,ln),e.d_desc=new _n(e.dyn_dtree,un),e.bl_desc=new _n(e.bl_tree,dn),e.bi_buf=0,e.bi_valid=0,yn(e)}(t),0):Bn(e,-2)}(e);return 0===n&&((t=e.state).window_size=2*t.w_size,Fn(t.head),t.max_lazy_match=Vn[t.level].max_lazy,t.good_match=Vn[t.level].good_length,t.nice_match=Vn[t.level].nice_length,t.max_chain_length=Vn[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),n}function Jn(e,t){var n,i,r,o;if(!e||!e.state||t>5||t<0)return e?Bn(e,-2):-2;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||666===i.status&&4!==t)return Bn(e,0===e.avail_out?-5:-2);if(i.strm=e,n=i.last_flush,i.last_flush=t,42===i.status)if(2===i.wrap)e.adler=0,Hn(i,31),Hn(i,139),Hn(i,8),i.gzhead?(Hn(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),Hn(i,255&i.gzhead.time),Hn(i,i.gzhead.time>>8&255),Hn(i,i.gzhead.time>>16&255),Hn(i,i.gzhead.time>>24&255),Hn(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),Hn(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(Hn(i,255&i.gzhead.extra.length),Hn(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=Ln(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(Hn(i,0),Hn(i,0),Hn(i,0),Hn(i,0),Hn(i,0),Hn(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),Hn(i,3),i.status=113);else{var a=8+(i.w_bits-8<<4)<<8;a|=(i.strategy>=2||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(a|=32),a+=31-a%31,i.status=113,Gn(i,a),0!==i.strstart&&(Gn(i,e.adler>>>16),Gn(i,65535&e.adler)),e.adler=1}if(69===i.status)if(i.gzhead.extra){for(r=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>r&&(e.adler=Ln(e.adler,i.pending_buf,i.pending-r,r)),zn(e),r=i.pending,i.pending!==i.pending_buf_size));)Hn(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>r&&(e.adler=Ln(e.adler,i.pending_buf,i.pending-r,r)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){r=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(e.adler=Ln(e.adler,i.pending_buf,i.pending-r,r)),zn(e),r=i.pending,i.pending===i.pending_buf_size)){o=1;break}o=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,Hn(i,o)}while(0!==o);i.gzhead.hcrc&&i.pending>r&&(e.adler=Ln(e.adler,i.pending_buf,i.pending-r,r)),0===o&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){r=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(e.adler=Ln(e.adler,i.pending_buf,i.pending-r,r)),zn(e),r=i.pending,i.pending===i.pending_buf_size)){o=1;break}o=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,Hn(i,o)}while(0!==o);i.gzhead.hcrc&&i.pending>r&&(e.adler=Ln(e.adler,i.pending_buf,i.pending-r,r)),0===o&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&zn(e),i.pending+2<=i.pending_buf_size&&(Hn(i,255&e.adler),Hn(i,e.adler>>8&255),e.adler=0,i.status=113)):i.status=113),0!==i.pending){if(zn(e),0===e.avail_out)return i.last_flush=-1,0}else if(0===e.avail_in&&Un(t)<=Un(n)&&4!==t)return Bn(e,-5);if(666===i.status&&0!==e.avail_in)return Bn(e,-5);if(0!==e.avail_in||0!==i.lookahead||0!==t&&666!==i.status){var s=2===i.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(Zn(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,n=Nn(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(jn(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(jn(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(jn(e,!1),0===e.strm.avail_out)?1:2}(i,t):3===i.strategy?function(e,t){for(var n,i,r,o,a=e.window;;){if(e.lookahead<=Pn){if(Zn(e),e.lookahead<=Pn&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(i=a[r=e.strstart-1])===a[++r]&&i===a[++r]&&i===a[++r]){o=e.strstart+Pn;do{}while(i===a[++r]&&i===a[++r]&&i===a[++r]&&i===a[++r]&&i===a[++r]&&i===a[++r]&&i===a[++r]&&i===a[++r]&&r<o);e.match_length=Pn-(o-r),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=Nn(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=Nn(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(jn(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(jn(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(jn(e,!1),0===e.strm.avail_out)?1:2}(i,t):Vn[i.level].func(i,t);if(3!==s&&4!==s||(i.status=666),1===s||3===s)return 0===e.avail_out&&(i.last_flush=-1),0;if(2===s&&(1===t?function(e){gn(e,2,3),Rn(e,256,rn),function(e){16===e.bi_valid?(mn(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}(i):5!==t&&(kn(i,0,0,!1),3===t&&(Fn(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),zn(e),0===e.avail_out))return i.last_flush=-1,0}return 4!==t?0:i.wrap<=0?1:(2===i.wrap?(Hn(i,255&e.adler),Hn(i,e.adler>>8&255),Hn(i,e.adler>>16&255),Hn(i,e.adler>>24&255),Hn(i,255&e.total_in),Hn(i,e.total_in>>8&255),Hn(i,e.total_in>>16&255),Hn(i,e.total_in>>24&255)):(Gn(i,e.adler>>>16),Gn(i,65535&e.adler)),zn(e),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?0:1)}Vn=[new Kn(0,0,0,0,(function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(Zn(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var i=e.block_start+n;if((0===e.strstart||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,jn(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-Dn&&(jn(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(jn(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(jn(e,!1),e.strm.avail_out),1)})),new Kn(4,4,8,4,Xn),new Kn(4,5,16,8,Xn),new Kn(4,6,32,32,Xn),new Kn(4,4,16,16,Yn),new Kn(8,16,32,32,Yn),new Kn(8,16,128,128,Yn),new Kn(8,32,128,256,Yn),new Kn(32,128,258,1024,Yn),new Kn(32,258,258,4096,Yn)];function $n(e,t){var n,i,r,o,a,s,c,l,u,d,f,h,_,p,m,g,R,E,v,y,T,b,w,S,A;n=e.state,i=e.next_in,S=e.input,r=i+(e.avail_in-5),o=e.next_out,A=e.output,a=o-(t-e.avail_out),s=o+(e.avail_out-257),c=n.dmax,l=n.wsize,u=n.whave,d=n.wnext,f=n.window,h=n.hold,_=n.bits,p=n.lencode,m=n.distcode,g=(1<<n.lenbits)-1,R=(1<<n.distbits)-1;e:do{_<15&&(h+=S[i++]<<_,_+=8,h+=S[i++]<<_,_+=8),E=p[h&g];t:for(;;){if(h>>>=v=E>>>24,_-=v,0==(v=E>>>16&255))A[o++]=65535&E;else{if(!(16&v)){if(0==(64&v)){E=p[(65535&E)+(h&(1<<v)-1)];continue t}if(32&v){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}y=65535&E,(v&=15)&&(_<v&&(h+=S[i++]<<_,_+=8),y+=h&(1<<v)-1,h>>>=v,_-=v),_<15&&(h+=S[i++]<<_,_+=8,h+=S[i++]<<_,_+=8),E=m[h&R];n:for(;;){if(h>>>=v=E>>>24,_-=v,!(16&(v=E>>>16&255))){if(0==(64&v)){E=m[(65535&E)+(h&(1<<v)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(T=65535&E,_<(v&=15)&&(h+=S[i++]<<_,(_+=8)<v&&(h+=S[i++]<<_,_+=8)),(T+=h&(1<<v)-1)>c){e.msg="invalid distance too far back",n.mode=30;break e}if(h>>>=v,_-=v,T>(v=o-a)){if((v=T-v)>u&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(b=0,w=f,0===d){if(b+=l-v,v<y){y-=v;do{A[o++]=f[b++]}while(--v);b=o-T,w=A}}else if(d<v){if(b+=l+d-v,(v-=d)<y){y-=v;do{A[o++]=f[b++]}while(--v);if(b=0,d<y){y-=v=d;do{A[o++]=f[b++]}while(--v);b=o-T,w=A}}}else if(b+=d-v,v<y){y-=v;do{A[o++]=f[b++]}while(--v);b=o-T,w=A}for(;y>2;)A[o++]=w[b++],A[o++]=w[b++],A[o++]=w[b++],y-=3;y&&(A[o++]=w[b++],y>1&&(A[o++]=w[b++]))}else{b=o-T;do{A[o++]=A[b++],A[o++]=A[b++],A[o++]=A[b++],y-=3}while(y>2);y&&(A[o++]=A[b++],y>1&&(A[o++]=A[b++]))}break}}break}}while(i<r&&o<s);i-=y=_>>3,h&=(1<<(_-=y<<3))-1,e.next_in=i,e.next_out=o,e.avail_in=i<r?r-i+5:5-(i-r),e.avail_out=o<s?s-o+257:257-(o-s),n.hold=h,n.bits=_}var ei=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],ti=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],ni=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],ii=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];function ri(e,t,n,i,r,o,a,s){var c,l,u,d,f,h,_,p,m,g=s.bits,R=0,E=0,v=0,y=0,T=0,b=0,w=0,S=0,A=0,C=0,I=null,O=0,k=new qt(16),N=new qt(16),x=null,M=0;for(R=0;R<=15;R++)k[R]=0;for(E=0;E<i;E++)k[t[n+E]]++;for(T=g,y=15;y>=1&&0===k[y];y--);if(T>y&&(T=y),0===y)return r[o++]=20971520,r[o++]=20971520,s.bits=1,0;for(v=1;v<y&&0===k[v];v++);for(T<v&&(T=v),S=1,R=1;R<=15;R++)if(S<<=1,(S-=k[R])<0)return-1;if(S>0&&(0===e||1!==y))return-1;for(N[1]=0,R=1;R<15;R++)N[R+1]=N[R]+k[R];for(E=0;E<i;E++)0!==t[n+E]&&(a[N[t[n+E]]++]=E);if(0===e?(I=x=a,h=19):1===e?(I=ei,O-=257,x=ti,M-=257,h=256):(I=ni,x=ii,h=-1),C=0,E=0,R=v,f=o,b=T,w=0,u=-1,d=(A=1<<T)-1,1===e&&A>852||2===e&&A>592)return 1;for(;;){_=R-w,a[E]<h?(p=0,m=a[E]):a[E]>h?(p=x[M+a[E]],m=I[O+a[E]]):(p=96,m=0),c=1<<R-w,v=l=1<<b;do{r[f+(C>>w)+(l-=c)]=_<<24|p<<16|m|0}while(0!==l);for(c=1<<R-1;C&c;)c>>=1;if(0!==c?(C&=c-1,C+=c):C=0,E++,0==--k[R]){if(R===y)break;R=t[n+a[E]]}if(R>T&&(C&d)!==u){for(0===w&&(w=T),f+=v,S=1<<(b=R-w);b+w<y&&!((S-=k[b+w])<=0);)b++,S<<=1;if(A+=1<<b,1===e&&A>852||2===e&&A>592)return 1;r[u=C&d]=T<<24|b<<16|f-o|0}}return 0!==C&&(r[f+C]=R-w<<24|64<<16|0),s.bits=T,0}function oi(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function ai(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new qt(320),this.work=new qt(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function si(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,function(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Qt(852),t.distcode=t.distdyn=new Qt(592),t.sane=1,t.back=-1,0):-2}(e)):-2}var ci,li,ui=!0;function di(e){if(ui){var t;for(ci=new Qt(512),li=new Qt(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(ri(1,e.lens,0,288,ci,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;ri(2,e.lens,0,32,li,0,e.work,{bits:5}),ui=!1}e.lencode=ci,e.lenbits=9,e.distcode=li,e.distbits=5}var fi;function hi(e){if(e<1||e>7)throw new TypeError("Bad argument");this.mode=e,this.init_done=!1,this.write_in_progress=!1,this.pending_close=!1,this.windowBits=0,this.level=0,this.memLevel=0,this.strategy=0,this.dictionary=null}function _i(e,t){for(var n=0;n<e.length;n++)this[t+n]=e[n]}hi.prototype.init=function(e,t,n,i,r){var o;switch(this.windowBits=e,this.level=t,this.memLevel=n,this.strategy=i,3!==this.mode&&4!==this.mode||(this.windowBits+=16),7===this.mode&&(this.windowBits+=32),5!==this.mode&&6!==this.mode||(this.windowBits=-this.windowBits),this.strm=new Xt,this.mode){case 1:case 3:case 5:o=function(e,t,n,i,r,o){if(!e)return-2;var a=1;if(-1===t&&(t=6),i<0?(a=0,i=-i):i>15&&(a=2,i-=16),r<1||r>9||i<8||i>15||t<0||t>9||o<0||o>4)return Bn(e,-2);8===i&&(i=9);var s=new qn;return e.state=s,s.strm=e,s.wrap=a,s.gzhead=null,s.w_bits=i,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=r+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new Kt(2*s.w_size),s.head=new qt(s.hash_size),s.prev=new qt(s.w_size),s.lit_bufsize=1<<r+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new Kt(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=o,s.method=8,Qn(e)}(this.strm,this.level,0,this.windowBits,this.memLevel,this.strategy);break;case 2:case 4:case 6:case 7:o=function(e,t){var n,i;return e?(i=new ai,e.state=i,i.window=null,0!==(n=function(e,t){var n,i;return e&&e.state?(i=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?-2:(null!==i.window&&i.wbits!==t&&(i.window=null),i.wrap=n,i.wbits=t,si(e))):-2}(e,t))&&(e.state=null),n):-2}(this.strm,this.windowBits);break;default:throw new Error("Unknown mode "+this.mode)}0===o?(this.write_in_progress=!1,this.init_done=!0):this._error(o)},hi.prototype.params=function(){throw new Error("deflateParams Not supported")},hi.prototype._writeCheck=function(){if(!this.init_done)throw new Error("write before init");if(0===this.mode)throw new Error("already finalized");if(this.write_in_progress)throw new Error("write already in progress");if(this.pending_close)throw new Error("close is pending")},hi.prototype.write=function(e,t,n,i,r,o,a){this._writeCheck(),this.write_in_progress=!0;var s=this;return ve((function(){s.write_in_progress=!1;var c=s._write(e,t,n,i,r,o,a);s.callback(c[0],c[1]),s.pending_close&&s.close()})),this},hi.prototype.writeSync=function(e,t,n,i,r,o,a){return this._writeCheck(),this._write(e,t,n,i,r,o,a)},hi.prototype._write=function(e,t,n,i,r,o,a){if(this.write_in_progress=!0,0!==e&&1!==e&&2!==e&&3!==e&&4!==e&&5!==e)throw new Error("Invalid flush value");null==t&&(t=new y(0),i=0,n=0),r._set?r.set=r._set:r.set=_i;var s,c=this.strm;switch(c.avail_in=i,c.input=t,c.next_in=n,c.avail_out=a,c.output=r,c.next_out=o,this.mode){case 1:case 3:case 5:s=Jn(c,e);break;case 7:case 2:case 4:case 6:s=function(e,t){var n,i,r,o,a,s,c,l,u,d,f,h,_,p,m,g,R,E,v,y,T,b,w,S,A=0,C=new Kt(4),I=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return-2;12===(n=e.state).mode&&(n.mode=13),a=e.next_out,r=e.output,c=e.avail_out,o=e.next_in,i=e.input,s=e.avail_in,l=n.hold,u=n.bits,d=s,f=c,b=0;e:for(;;)switch(n.mode){case 1:if(0===n.wrap){n.mode=13;break}for(;u<16;){if(0===s)break e;s--,l+=i[o++]<<u,u+=8}if(2&n.wrap&&35615===l){n.check=0,C[0]=255&l,C[1]=l>>>8&255,n.check=Ln(n.check,C,2,0),l=0,u=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&l)<<8)+(l>>8))%31){e.msg="incorrect header check",n.mode=30;break}if(8!=(15&l)){e.msg="unknown compression method",n.mode=30;break}if(u-=4,T=8+(15&(l>>>=4)),0===n.wbits)n.wbits=T;else if(T>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<<T,e.adler=n.check=1,n.mode=512&l?10:12,l=0,u=0;break;case 2:for(;u<16;){if(0===s)break e;s--,l+=i[o++]<<u,u+=8}if(n.flags=l,8!=(255&n.flags)){e.msg="unknown compression method",n.mode=30;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=30;break}n.head&&(n.head.text=l>>8&1),512&n.flags&&(C[0]=255&l,C[1]=l>>>8&255,n.check=Ln(n.check,C,2,0)),l=0,u=0,n.mode=3;case 3:for(;u<32;){if(0===s)break e;s--,l+=i[o++]<<u,u+=8}n.head&&(n.head.time=l),512&n.flags&&(C[0]=255&l,C[1]=l>>>8&255,C[2]=l>>>16&255,C[3]=l>>>24&255,n.check=Ln(n.check,C,4,0)),l=0,u=0,n.mode=4;case 4:for(;u<16;){if(0===s)break e;s--,l+=i[o++]<<u,u+=8}n.head&&(n.head.xflags=255&l,n.head.os=l>>8),512&n.flags&&(C[0]=255&l,C[1]=l>>>8&255,n.check=Ln(n.check,C,2,0)),l=0,u=0,n.mode=5;case 5:if(1024&n.flags){for(;u<16;){if(0===s)break e;s--,l+=i[o++]<<u,u+=8}n.length=l,n.head&&(n.head.extra_len=l),512&n.flags&&(C[0]=255&l,C[1]=l>>>8&255,n.check=Ln(n.check,C,2,0)),l=0,u=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((h=n.length)>s&&(h=s),h&&(n.head&&(T=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),Yt(n.head.extra,i,o,h,T)),512&n.flags&&(n.check=Ln(n.check,i,h,o)),s-=h,o+=h,n.length-=h),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===s)break e;h=0;do{T=i[o+h++],n.head&&T&&n.length<65536&&(n.head.name+=String.fromCharCode(T))}while(T&&h<s);if(512&n.flags&&(n.check=Ln(n.check,i,h,o)),s-=h,o+=h,T)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===s)break e;h=0;do{T=i[o+h++],n.head&&T&&n.length<65536&&(n.head.comment+=String.fromCharCode(T))}while(T&&h<s);if(512&n.flags&&(n.check=Ln(n.check,i,h,o)),s-=h,o+=h,T)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;u<16;){if(0===s)break e;s--,l+=i[o++]<<u,u+=8}if(l!==(65535&n.check)){e.msg="header crc mismatch",n.mode=30;break}l=0,u=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;u<32;){if(0===s)break e;s--,l+=i[o++]<<u,u+=8}e.adler=n.check=oi(l),l=0,u=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=a,e.avail_out=c,e.next_in=o,e.avail_in=s,n.hold=l,n.bits=u,2;e.adler=n.check=1,n.mode=12;case 12:if(5===t||6===t)break e;case 13:if(n.last){l>>>=7&u,u-=7&u,n.mode=27;break}for(;u<3;){if(0===s)break e;s--,l+=i[o++]<<u,u+=8}switch(n.last=1&l,u-=1,3&(l>>>=1)){case 0:n.mode=14;break;case 1:if(di(n),n.mode=20,6===t){l>>>=2,u-=2;break e}break;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}l>>>=2,u-=2;break;case 14:for(l>>>=7&u,u-=7&u;u<32;){if(0===s)break e;s--,l+=i[o++]<<u,u+=8}if((65535&l)!=(l>>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&l,l=0,u=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(h=n.length){if(h>s&&(h=s),h>c&&(h=c),0===h)break e;Yt(r,i,o,h,a),s-=h,o+=h,c-=h,a+=h,n.length-=h;break}n.mode=12;break;case 17:for(;u<14;){if(0===s)break e;s--,l+=i[o++]<<u,u+=8}if(n.nlen=257+(31&l),l>>>=5,u-=5,n.ndist=1+(31&l),l>>>=5,u-=5,n.ncode=4+(15&l),l>>>=4,u-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;u<3;){if(0===s)break e;s--,l+=i[o++]<<u,u+=8}n.lens[I[n.have++]]=7&l,l>>>=3,u-=3}for(;n.have<19;)n.lens[I[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,w={bits:n.lenbits},b=ri(0,n.lens,0,19,n.lencode,0,n.work,w),n.lenbits=w.bits,b){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;g=(A=n.lencode[l&(1<<n.lenbits)-1])>>>16&255,R=65535&A,!((m=A>>>24)<=u);){if(0===s)break e;s--,l+=i[o++]<<u,u+=8}if(R<16)l>>>=m,u-=m,n.lens[n.have++]=R;else{if(16===R){for(S=m+2;u<S;){if(0===s)break e;s--,l+=i[o++]<<u,u+=8}if(l>>>=m,u-=m,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}T=n.lens[n.have-1],h=3+(3&l),l>>>=2,u-=2}else if(17===R){for(S=m+3;u<S;){if(0===s)break e;s--,l+=i[o++]<<u,u+=8}u-=m,T=0,h=3+(7&(l>>>=m)),l>>>=3,u-=3}else{for(S=m+7;u<S;){if(0===s)break e;s--,l+=i[o++]<<u,u+=8}u-=m,T=0,h=11+(127&(l>>>=m)),l>>>=7,u-=7}if(n.have+h>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;h--;)n.lens[n.have++]=T}}if(30===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,w={bits:n.lenbits},b=ri(1,n.lens,0,n.nlen,n.lencode,0,n.work,w),n.lenbits=w.bits,b){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,w={bits:n.distbits},b=ri(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,w),n.distbits=w.bits,b){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(s>=6&&c>=258){e.next_out=a,e.avail_out=c,e.next_in=o,e.avail_in=s,n.hold=l,n.bits=u,$n(e,f),a=e.next_out,r=e.output,c=e.avail_out,o=e.next_in,i=e.input,s=e.avail_in,l=n.hold,u=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;g=(A=n.lencode[l&(1<<n.lenbits)-1])>>>16&255,R=65535&A,!((m=A>>>24)<=u);){if(0===s)break e;s--,l+=i[o++]<<u,u+=8}if(g&&0==(240&g)){for(E=m,v=g,y=R;g=(A=n.lencode[y+((l&(1<<E+v)-1)>>E)])>>>16&255,R=65535&A,!(E+(m=A>>>24)<=u);){if(0===s)break e;s--,l+=i[o++]<<u,u+=8}l>>>=E,u-=E,n.back+=E}if(l>>>=m,u-=m,n.back+=m,n.length=R,0===g){n.mode=26;break}if(32&g){n.back=-1,n.mode=12;break}if(64&g){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&g,n.mode=22;case 22:if(n.extra){for(S=n.extra;u<S;){if(0===s)break e;s--,l+=i[o++]<<u,u+=8}n.length+=l&(1<<n.extra)-1,l>>>=n.extra,u-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;g=(A=n.distcode[l&(1<<n.distbits)-1])>>>16&255,R=65535&A,!((m=A>>>24)<=u);){if(0===s)break e;s--,l+=i[o++]<<u,u+=8}if(0==(240&g)){for(E=m,v=g,y=R;g=(A=n.distcode[y+((l&(1<<E+v)-1)>>E)])>>>16&255,R=65535&A,!(E+(m=A>>>24)<=u);){if(0===s)break e;s--,l+=i[o++]<<u,u+=8}l>>>=E,u-=E,n.back+=E}if(l>>>=m,u-=m,n.back+=m,64&g){e.msg="invalid distance code",n.mode=30;break}n.offset=R,n.extra=15&g,n.mode=24;case 24:if(n.extra){for(S=n.extra;u<S;){if(0===s)break e;s--,l+=i[o++]<<u,u+=8}n.offset+=l&(1<<n.extra)-1,l>>>=n.extra,u-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===c)break e;if(h=f-c,n.offset>h){if((h=n.offset-h)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}h>n.wnext?(h-=n.wnext,_=n.wsize-h):_=n.wnext-h,h>n.length&&(h=n.length),p=n.window}else p=r,_=a-n.offset,h=n.length;h>c&&(h=c),c-=h,n.length-=h;do{r[a++]=p[_++]}while(--h);0===n.length&&(n.mode=21);break;case 26:if(0===c)break e;r[a++]=n.length,c--,n.mode=21;break;case 27:if(n.wrap){for(;u<32;){if(0===s)break e;s--,l|=i[o++]<<u,u+=8}if(f-=c,e.total_out+=f,n.total+=f,f&&(e.adler=n.check=n.flags?Ln(n.check,r,f,a-f):xn(n.check,r,f,a-f)),f=c,(n.flags?l:oi(l))!==n.check){e.msg="incorrect data check",n.mode=30;break}l=0,u=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;u<32;){if(0===s)break e;s--,l+=i[o++]<<u,u+=8}if(l!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=30;break}l=0,u=0}n.mode=29;case 29:b=1;break e;case 30:b=-3;break e;case 31:return-4;case 32:default:return-2}return e.next_out=a,e.avail_out=c,e.next_in=o,e.avail_in=s,n.hold=l,n.bits=u,(n.wsize||f!==e.avail_out&&n.mode<30&&(n.mode<27||4!==t))&&function(e,t,n,i){var r,o=e.state;null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new Kt(o.wsize)),i>=o.wsize?(Yt(o.window,t,n-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):((r=o.wsize-o.wnext)>i&&(r=i),Yt(o.window,t,n-i,r,o.wnext),(i-=r)?(Yt(o.window,t,n-i,i,0),o.wnext=i,o.whave=o.wsize):(o.wnext+=r,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=r)))}(e,e.output,e.next_out,f-e.avail_out),d-=e.avail_in,f-=e.avail_out,e.total_in+=d,e.total_out+=f,n.total+=f,n.wrap&&f&&(e.adler=n.check=n.flags?Ln(n.check,r,f,e.next_out-f):xn(n.check,r,f,e.next_out-f)),e.data_type=n.bits+(n.last?64:0)+(12===n.mode?128:0)+(20===n.mode||15===n.mode?256:0),(0===d&&0===f||4===t)&&0===b&&(b=-5),b}(c,e);break;default:throw new Error("Unknown mode "+this.mode)}return 1!==s&&0!==s&&this._error(s),this.write_in_progress=!1,[c.avail_in,c.avail_out]},hi.prototype.close=function(){this.write_in_progress?this.pending_close=!0:(this.pending_close=!1,1===this.mode||3===this.mode||5===this.mode?function(e){var t;e&&e.state&&(42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&103!==t&&113!==t&&666!==t?Bn(e,-2):(e.state=null,113===t&&Bn(e,-3)))}(this.strm):function(e){if(!e||!e.state)return-2;var t=e.state;t.window&&(t.window=null),e.state=null}(this.strm),this.mode=0)},hi.prototype.reset=function(){switch(this.mode){case 1:case 5:fi=Qn(this.strm);break;case 2:case 6:fi=si(this.strm)}0!==fi&&this._error(fi)},hi.prototype._error=function(e){this.onerror(Zt[e]+": "+this.strm.msg,e),this.write_in_progress=!1,this.pending_close&&this.close()};var pi=Object.freeze({NONE:0,DEFLATE:1,INFLATE:2,GZIP:3,GUNZIP:4,DEFLATERAW:5,INFLATERAW:6,UNZIP:7,Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8,Zlib:hi}),mi={};Object.keys(pi).forEach((function(e){mi[e]=pi[e]})),mi.Z_MIN_WINDOWBITS=8,mi.Z_MAX_WINDOWBITS=15,mi.Z_DEFAULT_WINDOWBITS=15,mi.Z_MIN_CHUNK=64,mi.Z_MAX_CHUNK=1/0,mi.Z_DEFAULT_CHUNK=16384,mi.Z_MIN_MEMLEVEL=1,mi.Z_MAX_MEMLEVEL=9,mi.Z_DEFAULT_MEMLEVEL=8,mi.Z_MIN_LEVEL=-1,mi.Z_MAX_LEVEL=9,mi.Z_DEFAULT_LEVEL=mi.Z_DEFAULT_COMPRESSION;var gi={Z_OK:mi.Z_OK,Z_STREAM_END:mi.Z_STREAM_END,Z_NEED_DICT:mi.Z_NEED_DICT,Z_ERRNO:mi.Z_ERRNO,Z_STREAM_ERROR:mi.Z_STREAM_ERROR,Z_DATA_ERROR:mi.Z_DATA_ERROR,Z_MEM_ERROR:mi.Z_MEM_ERROR,Z_BUF_ERROR:mi.Z_BUF_ERROR,Z_VERSION_ERROR:mi.Z_VERSION_ERROR};function Ri(e,t){if("string"==typeof t&&(t=new y(t)),!re(t))throw new TypeError("Not a string or buffer");var n=mi.Z_FINISH;return e._processChunk(t,n)}function Ei(e){if(!(this instanceof Ei))return new Ei(e);Ai.call(this,e,mi.DEFLATE)}function vi(e){if(!(this instanceof vi))return new vi(e);Ai.call(this,e,mi.INFLATE)}function yi(e){if(!(this instanceof yi))return new yi(e);Ai.call(this,e,mi.GZIP)}function Ti(e){if(!(this instanceof Ti))return new Ti(e);Ai.call(this,e,mi.GUNZIP)}function bi(e){if(!(this instanceof bi))return new bi(e);Ai.call(this,e,mi.DEFLATERAW)}function wi(e){if(!(this instanceof wi))return new wi(e);Ai.call(this,e,mi.INFLATERAW)}function Si(e){if(!(this instanceof Si))return new Si(e);Ai.call(this,e,mi.UNZIP)}function Ai(e,t){if(this._opts=e=e||{},this._chunkSize=e.chunkSize||mi.Z_DEFAULT_CHUNK,jt.call(this,e),e.flush&&e.flush!==mi.Z_NO_FLUSH&&e.flush!==mi.Z_PARTIAL_FLUSH&&e.flush!==mi.Z_SYNC_FLUSH&&e.flush!==mi.Z_FULL_FLUSH&&e.flush!==mi.Z_FINISH&&e.flush!==mi.Z_BLOCK)throw new Error("Invalid flush flag: "+e.flush);if(this._flushFlag=e.flush||mi.Z_NO_FLUSH,e.chunkSize&&(e.chunkSize<mi.Z_MIN_CHUNK||e.chunkSize>mi.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+e.chunkSize);if(e.windowBits&&(e.windowBits<mi.Z_MIN_WINDOWBITS||e.windowBits>mi.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+e.windowBits);if(e.level&&(e.level<mi.Z_MIN_LEVEL||e.level>mi.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+e.level);if(e.memLevel&&(e.memLevel<mi.Z_MIN_MEMLEVEL||e.memLevel>mi.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+e.memLevel);if(e.strategy&&e.strategy!=mi.Z_FILTERED&&e.strategy!=mi.Z_HUFFMAN_ONLY&&e.strategy!=mi.Z_RLE&&e.strategy!=mi.Z_FIXED&&e.strategy!=mi.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+e.strategy);if(e.dictionary&&!re(e.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._binding=new mi.Zlib(t);var n=this;this._hadError=!1,this._binding.onerror=function(e,t){n._binding=null,n._hadError=!0;var i=new Error(e);i.errno=t,i.code=mi.codes[t],n.emit("error",i)};var i=mi.Z_DEFAULT_COMPRESSION;"number"==typeof e.level&&(i=e.level);var r=mi.Z_DEFAULT_STRATEGY;"number"==typeof e.strategy&&(r=e.strategy),this._binding.init(e.windowBits||mi.Z_DEFAULT_WINDOWBITS,i,e.memLevel||mi.Z_DEFAULT_MEMLEVEL,r,e.dictionary),this._buffer=new y(this._chunkSize),this._offset=0,this._closed=!1,this._level=i,this._strategy=r,this.once("end",this.close)}Object.keys(gi).forEach((function(e){gi[gi[e]]=e})),Le(Ai,jt),Ai.prototype.params=function(e,t,n){if(e<mi.Z_MIN_LEVEL||e>mi.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+e);if(t!=mi.Z_FILTERED&&t!=mi.Z_HUFFMAN_ONLY&&t!=mi.Z_RLE&&t!=mi.Z_FIXED&&t!=mi.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+t);if(this._level!==e||this._strategy!==t){var i=this;this.flush(mi.Z_SYNC_FLUSH,(function(){i._binding.params(e,t),i._hadError||(i._level=e,i._strategy=t,n&&n())}))}else ve(n)},Ai.prototype.reset=function(){return this._binding.reset()},Ai.prototype._flush=function(e){this._transform(new y(0),"",e)},Ai.prototype.flush=function(e,t){var n=this._writableState;if(("function"==typeof e||void 0===e&&!t)&&(t=e,e=mi.Z_FULL_FLUSH),n.ended)t&&ve(t);else if(n.ending)t&&this.once("end",t);else if(n.needDrain){var i=this;this.once("drain",(function(){i.flush(t)}))}else this._flushFlag=e,this.write(new y(0),"",t)},Ai.prototype.close=function(e){if(e&&ve(e),!this._closed){this._closed=!0,this._binding.close();var t=this;ve((function(){t.emit("close")}))}},Ai.prototype._transform=function(e,t,n){var i,r=this._writableState,o=(r.ending||r.ended)&&(!e||r.length===e.length);if(null===!e&&!re(e))return n(new Error("invalid input"));o?i=mi.Z_FINISH:(i=this._flushFlag,e.length>=r.length&&(this._flushFlag=this._opts.flush||mi.Z_NO_FLUSH)),this._processChunk(e,i,n)},Ai.prototype._processChunk=function(e,t,n){var i=e&&e.length,r=this._chunkSize-this._offset,o=0,a=this,s="function"==typeof n;if(!s){var c,l=[],u=0;this.on("error",(function(e){c=e}));do{var d=this._binding.writeSync(t,e,o,i,this._buffer,this._offset,r)}while(!this._hadError&&_(d[0],d[1]));if(this._hadError)throw c;var f=y.concat(l,u);return this.close(),f}var h=this._binding.write(t,e,o,i,this._buffer,this._offset,r);function _(c,d){if(!a._hadError){var f=r-d;if(function(e,t){if(!e)throw new Error("have should not go down")}(f>=0),f>0){var h=a._buffer.slice(a._offset,a._offset+f);a._offset+=f,s?a.push(h):(l.push(h),u+=h.length)}if((0===d||a._offset>=a._chunkSize)&&(r=a._chunkSize,a._offset=0,a._buffer=new y(a._chunkSize)),0===d){if(o+=i-c,i=c,!s)return!0;var p=a._binding.write(t,e,o,i,a._buffer,a._offset,a._chunkSize);return p.callback=_,void(p.buffer=e)}if(!s)return!1;n()}}h.buffer=e,h.callback=_},Le(Ei,Ai),Le(vi,Ai),Le(yi,Ai),Le(Ti,Ai),Le(bi,Ai),Le(wi,Ai),Le(Si,Ai);var Ci=function(e,t){return Ri(new Ei(t),e)},Ii=function(e,t){return Ri(new vi(t),e)},Oi=function(){function t(e,n,i){(0,r.default)(this,t),this.SDKAPPID=e,this.EXPIRETIME=i,this.PRIVATEKEY=n}return(0,o.default)(t,[{key:"genTestUserSig",value:function(t){return this._isNumber(this.SDKAPPID)?this._isString(this.PRIVATEKEY)?this._isString(t)?this._isNumber(this.EXPIRETIME)?(e("log","sdkAppID="+this.SDKAPPID+" key="+this.PRIVATEKEY+" userID="+t+" expire="+this.EXPIRETIME," at debug/lib-generate-test-usersig-es.min.js:6138"),this.genSigWithUserbuf(t,this.EXPIRETIME,null)):(e("error","expireTime must be a number"," at debug/lib-generate-test-usersig-es.min.js:6138"),""):(e("error","userID must be a string"," at debug/lib-generate-test-usersig-es.min.js:6138"),""):(e("error","privateKey must be a string"," at debug/lib-generate-test-usersig-es.min.js:6138"),""):(e("error","sdkAppID must be a number"," at debug/lib-generate-test-usersig-es.min.js:6138"),"")}},{key:"newBuffer",value:function(e,t){return y.from?y.from(e,t):new y(e,t)}},{key:"unescape",value:function(e){return e.replace(/_/g,"=").replace(/\-/g,"/").replace(/\*/g,"+")}},{key:"escape",value:function(e){return e.replace(/\+/g,"*").replace(/\//g,"-").replace(/=/g,"_")}},{key:"encode",value:function(e){return this.escape(this.newBuffer(e).toString("base64"))}},{key:"decode",value:function(e){return this.newBuffer(this.unescape(e),"base64")}},{key:"base64encode",value:function(e){return this.newBuffer(e).toString("base64")}},{key:"base64decode",value:function(e){return this.newBuffer(e,"base64").toString()}},{key:"_hmacsha256",value:function(e,t,n,i){var r="TLS.identifier:"+e+"\n";r+="TLS.sdkappid:"+this.SDKAPPID+"\n",r+="TLS.time:"+t+"\n",r+="TLS.expire:"+n+"\n",null!=i&&(r+="TLS.userbuf:"+i+"\n");var o=ce.HmacSHA256(r,this.PRIVATEKEY);return ce.enc.Base64.stringify(o)}},{key:"_utc",value:function(){return Math.round(Date.now()/1e3)}},{key:"_isNumber",value:function(e){return null!==e&&("number"==typeof e&&!isNaN(e-0)||"object"==(0,a.default)(e)&&e.constructor===Number)}},{key:"_isString",value:function(e){return"string"==typeof e}},{key:"genSigWithUserbuf",value:function(t,n,i){var r=this._utc(),o={"TLS.ver":"2.0","TLS.identifier":t,"TLS.sdkappid":this.SDKAPPID,"TLS.time":r,"TLS.expire":n},a="";if(null!=i){var s=this.base64encode(i);o["TLS.userbuf"]=s,a=this._hmacsha256(t,r,n,s)}else a=this._hmacsha256(t,r,n,null);o["TLS.sig"]=a;var c=JSON.stringify(o),l=Ci(this.newBuffer(c)).toString("base64"),u=this.escape(l);return e("log","ret="+u," at debug/lib-generate-test-usersig-es.min.js:6208"),u}},{key:"validate",value:function(t){var n=this.decode(t),i=Ii(n);e("log","validate ret="+i," at debug/lib-generate-test-usersig-es.min.js:6214")}}]),t}();t.default=Oi}).call(this,n(2).default)},function(e,t,n){"use strict";n.r(t);var i=n(39),r=n(29);for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o);var a=n(0);var s=Object(a.a)(r.default,i.b,i.c,!1,null,null,"e648b240",!1,i.a,void 0);(function(e){this.options.style||(this.options.style={}),Vue.prototype.__merge_style&&Vue.prototype.__$appStyle__&&Vue.prototype.__merge_style(Vue.prototype.__$appStyle__,this.options.style)}).call(s),t.default=s.exports},function(e,t,n){"use strict";n.r(t);var i=n(40),r=n(31);for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o);var a=n(0);var s=Object(a.a)(r.default,i.b,i.c,!1,null,null,"6aa4e991",!1,i.a,void 0);(function(e){this.options.style||(this.options.style={}),Vue.prototype.__merge_style&&Vue.prototype.__$appStyle__&&Vue.prototype.__merge_style(Vue.prototype.__$appStyle__,this.options.style)}).call(s),t.default=s.exports}]);