Handy_Cao vor 2 Jahren
Ursprung
Commit
bb80f1e47d
26 geänderte Dateien mit 531 neuen und 78 gelöschten Zeilen
  1. 3 0
      GuangZuan/miniprogram/app.ts
  2. 8 5
      GuangZuan/miniprogram/mHome/pages/goodsdetail/index.ts
  3. 1 1
      GuangZuan/miniprogram/mHome/pages/presell/new/index.wxml
  4. 1 1
      GuangZuan/miniprogram/mHome/pages/purchase/new/index.wxml
  5. 17 15
      GuangZuan/miniprogram/mMine/pages/bank/index.ts
  6. 1 1
      GuangZuan/miniprogram/mMine/pages/bank/index.wxml
  7. 1 1
      GuangZuan/miniprogram/mMine/pages/invoice/operate/index.wxml
  8. 3 3
      GuangZuan/miniprogram/mTrade/pages/listingbuy/index.ts
  9. 3 3
      GuangZuan/miniprogram/mTrade/pages/listingbuy/index.wxml
  10. 4 5
      GuangZuan/miniprogram/mTrade/pages/listingsell/index.ts
  11. 1 1
      GuangZuan/miniprogram/mTrade/pages/listingsell/index.wxml
  12. 25 25
      GuangZuan/miniprogram/pages/mine/index.ts
  13. 1 1
      GuangZuan/miniprogram/pages/trade/index.less
  14. 13 11
      GuangZuan/miniprogram/pages/trade/index.ts
  15. 1 1
      GuangZuan/miniprogram/pages/trade/index.wxml
  16. 1 3
      GuangZuan/miniprogram/utils/message/index.ts
  17. 2 1
      GuangZuan/miniprogram/utils/websocket/crypto.ts
  18. 5 0
      GuangZuan/node_modules/.package-lock.json
  19. 6 0
      GuangZuan/node_modules/fastestsmallesttextencoderdecoder/EncoderDecoderTogether.min.js
  20. 122 0
      GuangZuan/node_modules/fastestsmallesttextencoderdecoder/LICENSE
  21. 7 0
      GuangZuan/node_modules/fastestsmallesttextencoderdecoder/NodeJS/EncoderAndDecoderNodeJS.min.js
  22. 7 0
      GuangZuan/node_modules/fastestsmallesttextencoderdecoder/NodeJS/EncoderAndDecoderNodeJS.min.mjs
  23. 220 0
      GuangZuan/node_modules/fastestsmallesttextencoderdecoder/README.md
  24. 66 0
      GuangZuan/node_modules/fastestsmallesttextencoderdecoder/package.json
  25. 11 0
      GuangZuan/package-lock.json
  26. 1 0
      GuangZuan/package.json

+ 3 - 0
GuangZuan/miniprogram/app.ts

@@ -17,6 +17,9 @@ App({
     /// 获取iPhone底部安全区域
     wx.getSystemInfo({
       success: res => {
+        
+        console.log(res)
+
         this.globalData.safeBottom = res.screenHeight-res.safeArea.bottom
         this.globalData.windowHeight = res.windowHeight
         this.globalData.navHeight = res.screenHeight - res.windowHeight - res.statusBarHeight

+ 8 - 5
GuangZuan/miniprogram/mHome/pages/goodsdetail/index.ts

@@ -3,7 +3,7 @@ import { EOrderSrc } from "../../../constants/enum/index"
 import services from "../../../services/index"
 import { sendMsgToMQ } from "../../../services/api/common/index"
 import { getGoods, queryPermancePlanTmp } from "../../../services/api/orders/index"
-import { accountid, clientType, getErrorMsg, isEncrypted, loginid, protoHeader, timetample, userid, loginQuery, isMyFavorite, marketID } from "../../../services/utils"
+import { accountid, clientType, getErrorMsg, isEncrypted, loginid, protoHeader, timetample, userid, loginQuery, isMyFavorite, marketID, removeMyFavorite, addMyFavotite } from "../../../services/utils"
 import { hideLoading, showLoading, showModel, showToast } from "../../../utils/message/index"
 import { encryptBody } from "../../../utils/websocket/crypto"
 import { formatDateString, isnullstr } from "../../../utils/util"
@@ -77,7 +77,8 @@ Page({
               /// 克拉单价
               priceper: Number(obj.priceper).toFixed(2),
               /// 显示价格
-              price: (obj.zscurrencytype === 1 ? obj.price : obj.price*this.data.exchangerate).toFixed(2)
+              price: (obj.zscurrencytype === 1 ? obj.price : obj.price*this.data.exchangerate).toFixed(2),
+              operator: isMyFavorite(obj.wrtradeorderid) ? 1 : 2 
              })
             /// 查询履约模板信息
             this.queryPermancePlanTmp(obj.performancetemplateid)
@@ -199,11 +200,13 @@ Page({
             hideLoading(() => {}, getErrorMsg(data.RetCode))
             return
           }
-          /// 操作成功
           hideLoading(()=>{
             /// 是否收藏
             this.setData({ operator: this.data.operator === 1 ? 2 : 1 })
-          }, '请求成功', 'success')
+            this.data.operator === 1 ? addMyFavotite(wrtradeorderid) : removeMyFavorite(wrtradeorderid)
+          })
+          /// 操作成功
+          showToast('操作请求成功', 'success', 1000)
         },
         fail: (emsg) => {
           /// 操作失败
@@ -218,7 +221,7 @@ Page({
    */
   onLoad(options: any) {
     /// 商品编号
-    this.setData({ goodsno: options.goodsno, ordertime: options.ordertime, operator: isMyFavorite(options.goodsno) ? 1 : 2 })
+    this.setData({ goodsno: options.goodsno, ordertime: options.ordertime })
     /// 是否显示交易
     if (options.showTrade) { this.setData({ showTrade: Number(options.showTrade)}) }
     /// 获取商品数据

+ 1 - 1
GuangZuan/miniprogram/mHome/pages/presell/new/index.wxml

@@ -94,7 +94,7 @@
 <!-- toast -->
 <van-toast id="van-toast"/>
 <!-- 履约模板 -->
-<van-popup show="{{ show }}" position="bottom" custom-style="height: 30%"  bind:click-overlay="onClose">
+<van-popup show="{{ show }}" position="bottom" custom-style="height: 40%"  bind:click-overlay="onClose">
   <van-picker show-toolbar bind:confirm="onSelect" bind:cancel="onClose" columns="{{ actions }}" title="请选择履约模板" />
 </van-popup>
 <!-- 选择日期 -->  

+ 1 - 1
GuangZuan/miniprogram/mHome/pages/purchase/new/index.wxml

@@ -126,7 +126,7 @@
 <!-- toast -->
 <van-toast id="van-toast"/>
 <!-- 履约模板 -->
-<van-popup show="{{ show }}" position="bottom" custom-style="height: 30%"  bind:click-overlay="onClose">
+<van-popup show="{{ show }}" position="bottom" custom-style="height: 40%"  bind:click-overlay="onClose">
   <van-picker show-toolbar bind:confirm="onSelect" bind:cancel="onClose" columns="{{ actions }}" title="请选择履约模板" />
 </van-popup>
 <!-- 选择日期 -->  

+ 17 - 15
GuangZuan/miniprogram/mMine/pages/bank/index.ts

@@ -146,20 +146,22 @@ Page({
           hideLoading(()=>{
             const sign = res.data.filter(obj => {
               return obj.signstatus === 2 || obj.signstatus === 3 || obj.signstatus === 4
-            })[0]
-            /// 数据赋值
-            this.setData({ 
-              bankAccountSign: sign,
-              bankName: sign.bankname,
-              bankNo: sign.bankaccountno,
-              accountName: sign.bankaccountname,
-              branchBankName: sign.branchbankname,
-              signStatus: getEnumdicValue('signstatus', sign.signstatus),
-              status: sign.signstatus,
-              bankInfo: this.data.bankInfos.filter(obj => {
-                return obj.bankid === sign.bankid
-              })[0],
-            })
+            })[0] 
+            if (sign) {
+              /// 数据赋值
+              this.setData({ 
+                bankAccountSign: sign,
+                bankName: sign.bankname ?? '',
+                bankNo: sign.bankaccountno,
+                accountName: sign.bankaccountname,
+                branchBankName: sign.branchbankname,
+                signStatus: getEnumdicValue('signstatus', sign.signstatus),
+                status: sign?.signstatus,
+                bankInfo: this.data.bankInfos.filter(obj => {
+                  return obj.bankid === sign.bankid
+                })[0],
+              })
+            }
           })
         },
         fail: (emsg) => { hideLoading(()=>{}, emsg) }
@@ -247,7 +249,7 @@ Page({
           success: (res) => {
             /// 解析对象
             const data = JSON.parse(res.data.data)
-            if (data.Status != 0) {
+            if ( data.Status != 0 ) {
               hideLoading(() => {}, getErrorMsg(data.Status))
               return
             }

+ 1 - 1
GuangZuan/miniprogram/mMine/pages/bank/index.wxml

@@ -28,7 +28,7 @@
 </view>
 
 <!-- 选择开户行 -->
-<van-popup show="{{ showBank }}" position="bottom" custom-style="height: 30%" bind:click-overlay="onCancel">
+<van-popup show="{{ showBank }}" position="bottom" custom-style="height: 40%" bind:click-overlay="onCancel">
   <!-- picker --> 
   <van-picker show-toolbar title="请选择开户行" default-index="{{ 1 }}" columns="{{ bankNames }}" bind:cancel="onCancel" bind:confirm="onConfirm"/>
 </van-popup>

+ 1 - 1
GuangZuan/miniprogram/mMine/pages/invoice/operate/index.wxml

@@ -40,6 +40,6 @@
 </view>
 
 <!-- 地区选择 -->
-<van-popup show="{{ show }}" position="bottom" custom-style="height: 30%" bind:click-overlay="onCancel">
+<van-popup show="{{ show }}" position="bottom" custom-style="height: 40%" bind:click-overlay="onCancel">
   <van-picker show-toolbar title="请选择发票类型" columns="{{ intypes }}" default-index="{{ 0 }}" bind:cancel="onCancel" bind:confirm="onCancel"/>
 </van-popup>

+ 3 - 3
GuangZuan/miniprogram/mTrade/pages/listingbuy/index.ts

@@ -287,14 +287,14 @@ Page({
       color1: getEnumList('ZSColorType')[0].enumitemname,
       color2: getEnumList('ZSColorType')[0].enumitemname,
       /// 颜色
-      czcolors: getEnumList('ZSCZColor3Type').map(obj => {
+      zscolors: getEnumList('ZSCZColor3Type').map(obj => {
         return {
           value: obj.enumitemname,
           text: obj.enumdicname
         }
       }),
-      czcolor1: getEnumList('ZSCZColor3Type')[0].enumitemname,
-      czcolor2: getEnumList('ZSCZColor3Type')[0].enumitemname,
+      zscolor1: getEnumList('ZSCZColor3Type')[0].enumitemname,
+      zscolor2: getEnumList('ZSCZColor3Type')[0].enumitemname,
       /// 净度
       neatness: getEnumList('ZSClarityType').map(obj => {
         return {

+ 3 - 3
GuangZuan/miniprogram/mTrade/pages/listingbuy/index.wxml

@@ -72,8 +72,8 @@
     <text class="title">颜色</text>
     <view class="content color">
       <van-dropdown-menu custom-class="menu color">
-        <van-dropdown-item model:value="{{ czcolor1 }}" options="{{ czcolors }}" />
-        <van-dropdown-item model:value="{{ czcolor2 }}" options="{{ czcolors }}" />
+        <van-dropdown-item model:value="{{ zscolor1 }}" options="{{ zscolors }}" />
+        <van-dropdown-item model:value="{{ zscolor2 }}" options="{{ zscolors }}" />
       </van-dropdown-menu>
     </view>
   </view>
@@ -142,6 +142,6 @@
 <!-- toast -->
 <van-toast id="van-toast"/>
 <!-- 履约模板 -->
-<van-popup show="{{ show }}" position="bottom" custom-style="height: 30%"  bind:click-overlay="onClose">
+<van-popup show="{{ show }}" position="bottom" custom-style="height: 40%"  bind:click-overlay="onClose">
   <van-picker show-toolbar bind:confirm="onSelect" bind:cancel="onClose" columns="{{ actions }}" title="请选择履约模板" />
 </van-popup>

+ 4 - 5
GuangZuan/miniprogram/mTrade/pages/listingsell/index.ts

@@ -3,7 +3,7 @@ import { FunCode } from "../../../constants/enum/funcode";
 import { sendMsgToMQ } from "../../../services/api/common/index";
 import { accountid, clientType, getErrorMsg, isEncrypted, marketID, protoHeader, saveTradeActive, timetample, userid } from "../../../services/utils";
 import { hideLoading, showLoading, showModel } from "../../../utils/message/index";
-import { isnullstr } from "../../../utils/util";
+import { formatDateString, isnullstr } from "../../../utils/util";
 import { queryMyWRPosition, queryPermancePlanTmp } from "../../../services/api/orders/index";
 import { encryptBody } from "../../../utils/websocket/crypto";
 
@@ -73,14 +73,12 @@ Page({
    */
   onSelectItem(e: any) {
     var objs = this.data.values
-    objs.forEach(obj => {
-      obj.isChecked = false
-    })
+    objs.forEach(obj => { obj.isChecked = false })
     objs[e.currentTarget.id].isChecked = true
     /// 数据赋值
     this.setData({ 
       values: objs,
-      sellorder: this.data.dataList[e.currentTarget.id]
+      postion: this.data.dataList[e.currentTarget.id]
     })
   },
 
@@ -213,6 +211,7 @@ Page({
           ClientSerialNo: timetample().toString(),
           ClientType: clientType(),
           MarketID: marketID(67),
+          ClientOrderTime: formatDateString(new Date().toString())
         })
 
         /// 发送请求

+ 1 - 1
GuangZuan/miniprogram/mTrade/pages/listingsell/index.wxml

@@ -59,6 +59,6 @@
 </view>
 
 <!-- 履约模板 -->
-<van-popup show="{{ show }}" position="bottom" custom-style="height: 30%"  bind:click-overlay="onClose">
+<van-popup show="{{ show }}" position="bottom" custom-style="height: 40%"  bind:click-overlay="onClose">
   <van-picker show-toolbar bind:confirm="onSelect" bind:cancel="onClose" columns="{{ actions }}" title="请选择履约模板" />
 </van-popup>

+ 25 - 25
GuangZuan/miniprogram/pages/mine/index.ts

@@ -138,31 +138,31 @@ Page({
    */
   queryBankAccountSign() {
     /// loding.....
-    showLoading(() => {
-      /// 发送请求
-      queryBankAccountSign({
-        data: {
-          userid: userid()
-        },
-        success: (res) => {
-          /// 请求失败
-          if (res.code != 200) {
-            hideLoading(() => {}, '用户签约信息请求失败,原因:'+res.msg)
-            return
-          }
-          hideLoading(() => {
-            const sign = res.data.filter(obj => {
-              return obj.signstatus === 2 || obj.signstatus === 3 || obj.signstatus === 4
-            })[0]
-            /// 数据赋值
-            this.setData({  sign: sign })
-          })
-        },
-        fail: (emsg) => {
-          hideLoading(() => {}, emsg)
-        }
-      })
-    })
+    // showLoading(() => {
+    //   /// 发送请求
+    //   queryBankAccountSign({
+    //     data: {
+    //       userid: userid()
+    //     },
+    //     success: (res) => {
+    //       /// 请求失败
+    //       if (res.code != 200) {
+    //         hideLoading(() => {}, '用户签约信息请求失败,原因:'+res.msg)
+    //         return
+    //       }
+    //       hideLoading(() => {
+    //         const sign = res.data.filter(obj => {
+    //           return obj.signstatus === 2 || obj.signstatus === 3 || obj.signstatus === 4
+    //         })[0]
+    //         /// 数据赋值
+    //         this.setData({  sign: sign })
+    //       })
+    //     },
+    //     fail: (emsg) => {
+    //       hideLoading(() => {}, emsg)
+    //     }
+    //   })
+    // })
   },
 
   /**

+ 1 - 1
GuangZuan/miniprogram/pages/trade/index.less

@@ -131,7 +131,7 @@
       &__right {
         margin-right: 10px;
         border: 1px solid #407DB8;
-        width: 40%;
+        width: 35%;
         border-radius: 10px;
         padding: 10px 0px;
         align-items: center;

+ 13 - 11
GuangZuan/miniprogram/pages/trade/index.ts

@@ -56,7 +56,9 @@ Page({
     /// 数据缓存
     storge: {},
     /// 当前资金账号
-    taaccountid: accountid()
+    taaccountid: accountid(),
+    /// 数据长度
+    length: 0
   },
 
   /**
@@ -170,21 +172,16 @@ Page({
           isMyFavorite(wrtradeorderid) ? removeMyFavorite(wrtradeorderid) : addMyFavotite(wrtradeorderid)
           /// 操作成功
           hideLoading(()=>{
-            setTimeout(function () {
-              /// 更新数据
-              this.queryDiamond()
-            }, 30)
+            const t = this
             /// 更新数据
-            wx.startPullDownRefresh()
+            setTimeout(function () { t.queryDiamond()}, 300)
           }, '请求成功'+res.msg, 'success')
         },
         fail: (emsg) => {
           /// 操作失败
           hideLoading(()=>{}, emsg)
         },
-        complete: () => {
-          wx.stopPullDownRefresh()
-        }
+        complete: () => {}
       })
     })
   },
@@ -238,6 +235,7 @@ Page({
             /// 数据赋值
             this.setData({ 
               isEmpty: res.data.length === 0,
+              length: res.data.length ?? 0,
               sellOrders: res.data.map(itm => {
                 var obj = itm
                 obj.zscuttype1display = isnullstr(itm.zscuttype1display)
@@ -283,6 +281,7 @@ Page({
             /// 数据赋值
             this.setData({ 
               isEmpty: res.data.length === 0,
+              length: res.data.length ?? 0,
               askOrders: res.data.map(itm => {
                 var obj = itm
                 obj.zscuttypedisplay = isnullstr(itm.zscuttypedisplay)
@@ -346,8 +345,6 @@ Page({
         }
       })),
     })
-    /// 查询数据
-    this.data.active == 0 ? this.queryDiamond() : this.queryBuyOrder()
   },
 
   onShow() {
@@ -370,6 +367,11 @@ Page({
     //   } catch (error) {}
     // }
     this.setData({ active: getTradeActive() })
+    
+    /// 更新数据
+    const t = this
+    setTimeout(function () { t.data.active == 0 ? t.queryDiamond() : t.queryBuyOrder() }, 300)
+
     /// 初始化Tabbar
     this.getTabBar().init()
   },

+ 1 - 1
GuangZuan/miniprogram/pages/trade/index.wxml

@@ -34,7 +34,7 @@
 </view>
 
 <!-- 内容滚动视图 --> 
-<scroll-view wx:if="{{ !isEmpty }}" class="content-view" style="padding-bottom: {{ sellOrders.length > 3 ? safeBottom+navHeight+15 : 5  }}px;">
+<scroll-view wx:if="{{ !isEmpty }}" class="content-view" style="padding-bottom: {{ length > 3 ? safeBottom+navHeight+15 : 5  }}px;">
   <!-- 数据 --> 
   <van-swipe-cell wx:for="{{ active === 0 ? sellOrders : askOrders }}" wx:for-item="itm" wx:for-index="idx" wx:key="wrtradeorderid" right-width="50" >
     <view class="vanSwipeCell-item">

+ 1 - 3
GuangZuan/miniprogram/utils/message/index.ts

@@ -1,13 +1,11 @@
 type Icon = 'success' | 'error' | 'loading' | 'none'
 
-const duration = 3000
-
 /**
  * 轻提示
  * @param text 提示文本
  * @param icon 提示图标
  */
-export function showToast(text = '网络异常,请稍后再试', icon: Icon = 'none'): void {
+export function showToast(text = '网络异常,请稍后再试', icon: Icon = 'none', duration: number = 3000): void {
   wx.showToast({
       title: text,
       icon: icon,

+ 2 - 1
GuangZuan/miniprogram/utils/websocket/crypto.ts

@@ -217,6 +217,7 @@ export const decryptAES = (value: string): string | undefined => {
 
   const decrytped = CryptoJS.AES.decrypt(cipherParams, uint8ArrayToWordArray(key), aesOption);
   const h = wordArrayToUint8Array(decrytped).subarray(0, decrytped.sigBytes);
-  const result = new TextDecoder().decode(h);
+  // const result = new TextDecoder().decode(h);
+  const result = decodeURIComponent(escape(String.fromCharCode(...h)))
   return result;
 }

+ 5 - 0
GuangZuan/node_modules/.package-lock.json

@@ -1165,6 +1165,11 @@
       "integrity": "sha512-Ia0sQNrMPXXkqVFt6w6M1n1oKo3NfKs+mvaV811Jwir7vAk9a6PVV9VPYf6X3BU97QiLEmuW3uXH9u87zDFfdw==",
       "dev": true
     },
+    "node_modules/fastestsmallesttextencoderdecoder": {
+      "version": "1.0.22",
+      "resolved": "https://registry.npmmirror.com/fastestsmallesttextencoderdecoder/-/fastestsmallesttextencoderdecoder-1.0.22.tgz",
+      "integrity": "sha512-Pb8d48e+oIuY4MaM64Cd7OW1gt4nxCHs7/ddPPZ/Ic3sg8yVGM7O9wDvZ7us6ScaUupzM+pfBolwtYhN1IxBIw=="
+    },
     "node_modules/file-uri-to-path": {
       "version": "1.0.0",
       "resolved": "https://registry.npmmirror.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",

+ 6 - 0
GuangZuan/node_modules/fastestsmallesttextencoderdecoder/EncoderDecoderTogether.min.js

@@ -0,0 +1,6 @@
+'use strict';(function(r){function x(){}function y(){}var z=String.fromCharCode,v={}.toString,A=v.call(r.SharedArrayBuffer),B=v(),q=r.Uint8Array,t=q||Array,w=q?ArrayBuffer:t,C=w.isView||function(g){return g&&"length"in g},D=v.call(w.prototype);w=y.prototype;var E=r.TextEncoder,a=new (q?Uint16Array:t)(32);x.prototype.decode=function(g){if(!C(g)){var l=v.call(g);if(l!==D&&l!==A&&l!==B)throw TypeError("Failed to execute 'decode' on 'TextDecoder': The provided value is not of type '(ArrayBuffer or ArrayBufferView)'");
+g=q?new t(g):g||[]}for(var f=l="",b=0,c=g.length|0,u=c-32|0,e,d,h=0,p=0,m,k=0,n=-1;b<c;){for(e=b<=u?32:c-b|0;k<e;b=b+1|0,k=k+1|0){d=g[b]&255;switch(d>>4){case 15:m=g[b=b+1|0]&255;if(2!==m>>6||247<d){b=b-1|0;break}h=(d&7)<<6|m&63;p=5;d=256;case 14:m=g[b=b+1|0]&255,h<<=6,h|=(d&15)<<6|m&63,p=2===m>>6?p+4|0:24,d=d+256&768;case 13:case 12:m=g[b=b+1|0]&255,h<<=6,h|=(d&31)<<6|m&63,p=p+7|0,b<c&&2===m>>6&&h>>p&&1114112>h?(d=h,h=h-65536|0,0<=h&&(n=(h>>10)+55296|0,d=(h&1023)+56320|0,31>k?(a[k]=n,k=k+1|0,n=-1):
+(m=n,n=d,d=m))):(d>>=8,b=b-d-1|0,d=65533),h=p=0,e=b<=u?32:c-b|0;default:a[k]=d;continue;case 11:case 10:case 9:case 8:}a[k]=65533}f+=z(a[0],a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9],a[10],a[11],a[12],a[13],a[14],a[15],a[16],a[17],a[18],a[19],a[20],a[21],a[22],a[23],a[24],a[25],a[26],a[27],a[28],a[29],a[30],a[31]);32>k&&(f=f.slice(0,k-32|0));if(b<c){if(a[0]=n,k=~n>>>31,n=-1,f.length<l.length)continue}else-1!==n&&(f+=z(n));l+=f;f=""}return l};w.encode=function(g){g=void 0===g?"":""+g;var l=g.length|
+0,f=new t((l<<1)+8|0),b,c=0,u=!q;for(b=0;b<l;b=b+1|0,c=c+1|0){var e=g.charCodeAt(b)|0;if(127>=e)f[c]=e;else{if(2047>=e)f[c]=192|e>>6;else{a:{if(55296<=e)if(56319>=e){var d=g.charCodeAt(b=b+1|0)|0;if(56320<=d&&57343>=d){e=(e<<10)+d-56613888|0;if(65535<e){f[c]=240|e>>18;f[c=c+1|0]=128|e>>12&63;f[c=c+1|0]=128|e>>6&63;f[c=c+1|0]=128|e&63;continue}break a}e=65533}else 57343>=e&&(e=65533);!u&&b<<1<c&&b<<1<(c-7|0)&&(u=!0,d=new t(3*l),d.set(f),f=d)}f[c]=224|e>>12;f[c=c+1|0]=128|e>>6&63}f[c=c+1|0]=128|e&63}}return q?
+f.subarray(0,c):f.slice(0,c)};E||(r.TextDecoder=x,r.TextEncoder=y)})(""+void 0==typeof global?""+void 0==typeof self?this:self:global);//AnonyCo
+//# sourceMappingURL=https://cdn.jsdelivr.net/gh/AnonyCo/FastestSmallestTextEncoderDecoder/EncoderDecoderTogether.min.js.map

+ 122 - 0
GuangZuan/node_modules/fastestsmallesttextencoderdecoder/LICENSE

@@ -0,0 +1,122 @@
+Creative Commons Legal Code
+
+CC0 1.0 Universal
+
+    CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
+    LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
+    ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
+    INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
+    REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
+    PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
+    THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
+    HEREUNDER.
+
+Statement of Purpose
+
+The laws of most jurisdictions throughout the world automatically confer
+exclusive Copyright and Related Rights (defined below) upon the creator
+and subsequent owner(s) (each and all, an "owner") of an original work of
+authorship and/or a database (each, a "Work").
+
+Certain owners wish to permanently relinquish those rights to a Work for
+the purpose of contributing to a commons of creative, cultural and
+scientific works ("Commons") that the public can reliably and without fear
+of later claims of infringement build upon, modify, incorporate in other
+works, reuse and redistribute as freely as possible in any form whatsoever
+and for any purposes, including without limitation commercial purposes.
+These owners may contribute to the Commons to promote the ideal of a free
+culture and the further production of creative, cultural and scientific
+works, or to gain reputation or greater distribution for their Work in
+part through the use and efforts of others.
+
+For these and/or other purposes and motivations, and without any
+expectation of additional consideration or compensation, the person
+associating CC0 with a Work (the "Affirmer"), to the extent that he or she
+is an owner of Copyright and Related Rights in the Work, voluntarily
+elects to apply CC0 to the Work and publicly distribute the Work under its
+terms, with knowledge of his or her Copyright and Related Rights in the
+Work and the meaning and intended legal effect of CC0 on those rights.
+
+1. Copyright and Related Rights. A Work made available under CC0 may be
+protected by copyright and related or neighboring rights ("Copyright and
+Related Rights"). Copyright and Related Rights include, but are not
+limited to, the following:
+
+  i. the right to reproduce, adapt, distribute, perform, display,
+     communicate, and translate a Work;
+ ii. moral rights retained by the original author(s) and/or performer(s);
+iii. publicity and privacy rights pertaining to a person's image or
+     likeness depicted in a Work;
+ iv. rights protecting against unfair competition in regards to a Work,
+     subject to the limitations in paragraph 4(a), below;
+  v. rights protecting the extraction, dissemination, use and reuse of data
+     in a Work;
+ vi. database rights (such as those arising under Directive 96/9/EC of the
+     European Parliament and of the Council of 11 March 1996 on the legal
+     protection of databases, and under any national implementation
+     thereof, including any amended or successor version of such
+     directive); and
+vii. other similar, equivalent or corresponding rights throughout the
+     world based on applicable law or treaty, and any national
+     implementations thereof.
+
+2. Waiver. To the greatest extent permitted by, but not in contravention
+of, applicable law, Affirmer hereby overtly, fully, permanently,
+irrevocably and unconditionally waives, abandons, and surrenders all of
+Affirmer's Copyright and Related Rights and associated claims and causes
+of action, whether now known or unknown (including existing as well as
+future claims and causes of action), in the Work (i) in all territories
+worldwide, (ii) for the maximum duration provided by applicable law or
+treaty (including future time extensions), (iii) in any current or future
+medium and for any number of copies, and (iv) for any purpose whatsoever,
+including without limitation commercial, advertising or promotional
+purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
+member of the public at large and to the detriment of Affirmer's heirs and
+successors, fully intending that such Waiver shall not be subject to
+revocation, rescission, cancellation, termination, or any other legal or
+equitable action to disrupt the quiet enjoyment of the Work by the public
+as contemplated by Affirmer's express Statement of Purpose.
+
+3. Public License Fallback. Should any part of the Waiver for any reason
+be judged legally invalid or ineffective under applicable law, then the
+Waiver shall be preserved to the maximum extent permitted taking into
+account Affirmer's express Statement of Purpose. In addition, to the
+extent the Waiver is so judged Affirmer hereby grants to each affected
+person a royalty-free, non transferable, non sublicensable, non exclusive,
+irrevocable and unconditional license to exercise Affirmer's Copyright and
+Related Rights in the Work (i) in all territories worldwide, (ii) for the
+maximum duration provided by applicable law or treaty (including future
+time extensions), (iii) in any current or future medium and for any number
+of copies, and (iv) for any purpose whatsoever, including without
+limitation commercial, advertising or promotional purposes (the
+"License"). The License shall be deemed effective as of the date CC0 was
+applied by Affirmer to the Work. Should any part of the License for any
+reason be judged legally invalid or ineffective under applicable law, such
+partial invalidity or ineffectiveness shall not invalidate the remainder
+of the License, and in such case Affirmer hereby affirms that he or she
+will not (i) exercise any of his or her remaining Copyright and Related
+Rights in the Work or (ii) assert any associated claims and causes of
+action with respect to the Work, in either case contrary to Affirmer's
+express Statement of Purpose.
+
+4. Limitations and Disclaimers.
+
+ a. No trademark or patent rights held by Affirmer are waived, abandoned,
+    surrendered, licensed or otherwise affected by this document.
+ b. Affirmer offers the Work as-is and makes no representations or
+    warranties of any kind concerning the Work, express, implied,
+    statutory or otherwise, including without limitation warranties of
+    title, merchantability, fitness for a particular purpose, non
+    infringement, or the absence of latent or other defects, accuracy, or
+    the present or absence of errors, whether or not discoverable, all to
+    the greatest extent permissible under applicable law.
+ c. Affirmer disclaims responsibility for clearing rights of other persons
+    that may apply to the Work or any use thereof, including without
+    limitation any person's Copyright and Related Rights in the Work.
+    Further, Affirmer disclaims responsibility for obtaining any necessary
+    consents, permissions or other rights required for any use of the
+    Work.
+ d. Affirmer understands and acknowledges that Creative Commons is not a
+    party to this document and has no duty or obligation with respect to
+    this CC0 or use of the Work.
+

+ 7 - 0
GuangZuan/node_modules/fastestsmallesttextencoderdecoder/NodeJS/EncoderAndDecoderNodeJS.min.js

@@ -0,0 +1,7 @@
+'use strict';(function(q){var C=String.fromCharCode,v={}.toString,w=q.SharedArrayBuffer,J=w?v.call(w):"",r=q.Uint8Array,K=r?v.call(ArrayBuffer.prototype):"",n=q.Buffer,a=new Uint16Array(32);try{!n&&q.require&&(n=q.require("Buffer"));var D=n.prototype;var L=n?v.call(D):""}catch(c){}var x=n.allocUnsafe,z=!!r&&!n,M=!n||!!r&&r.prototype.isPrototypeOf(D),A=q.TextEncoder,B=q.TextDecoder;if(z||n){var y=function(c){c.TextDecoder=B||E;c.TextEncoder=A||F;c!==q&&(c.decode=B?G(new B,"decode"):H,c.encode=A?G(new A,
+"encode"):I);return c},G=function(c,h,d){d=c[h];return function(){return d.apply(c,arguments)}},I=function(c){c=void 0===c?"":""+c;var h=c.length|0,d=z?new r((h<<1)+8|0):x?x((h<<1)+8|0):new n((h<<1)+8|0),b,e=0,u=!1;for(b=0;b<h;b=b+1|0,e=e+1|0){var g=c.charCodeAt(b)|0;if(127>=g)d[e]=g;else{if(2047>=g)d[e]=192|g>>6;else{a:{if(55296<=g)if(56320>g){var f=c.charCodeAt(b=b+1|0)|0;if(56320<=f&&57343>=f){g=(g<<10)+f-56613888|0;if(65535<g){d[e]=240|g>>18;d[e=e+1|0]=128|g>>12&63;d[e=e+1|0]=128|g>>6&63;d[e=
+e+1|0]=128|g&63;continue}break a}g=65533}else 57343>=g&&(g=65533);!u&&b<<1<e&&b<<1<(e-7|0)&&(u=!0,f=z?new r(3*h):x?x(3*h):new n(3*h),f.set(d),d=f)}d[e]=224|g>>12;d[e=e+1|0]=128|g>>6&63}d[e=e+1|0]=128|g&63}}return d.subarray(0,e)},F=function(){},H=function(c){var h=c&&c.buffer||c,d=v.call(h);if(d!==K&&d!==L&&d!==J&&"[object ArrayBuffer]"!==d&&void 0!==c)throw TypeError("Failed to execute 'decode' on 'TextDecoder': The provided value is not of type '(ArrayBuffer or ArrayBufferView)'");c=M?new r(h):
+h||[];d=h="";for(var b=0,e=c.length|0,u=e-32|0,g,f,k=0,t=0,m,l=0,p=-1;b<e;){for(g=b<=u?32:e-b|0;l<g;b=b+1|0,l=l+1|0){f=c[b]&255;switch(f>>4){case 15:m=c[b=b+1|0]&255;if(2!==m>>6||247<f){b=b-1|0;break}k=(f&7)<<6|m&63;t=5;f=256;case 14:m=c[b=b+1|0]&255,k<<=6,k|=(f&15)<<6|m&63,t=2===m>>6?t+4|0:24,f=f+256&768;case 13:case 12:m=c[b=b+1|0]&255,k<<=6,k|=(f&31)<<6|m&63,t=t+7|0,b<e&&2===m>>6&&k>>t&&1114112>k?(f=k,k=k-65536|0,0<=k&&(p=(k>>10)+55296|0,f=(k&1023)+56320|0,31>l?(a[l]=p,l=l+1|0,p=-1):(m=p,p=f,f=
+m))):(f>>=8,b=b-f-1|0,f=65533),k=t=0,g=b<=u?32:e-b|0;default:a[l]=f;continue;case 11:case 10:case 9:case 8:}a[l]=65533}d+=C(a[0],a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9],a[10],a[11],a[12],a[13],a[14],a[15],a[16],a[17],a[18],a[19],a[20],a[21],a[22],a[23],a[24],a[25],a[26],a[27],a[28],a[29],a[30],a[31]);32>l&&(d=d.slice(0,l-32|0));if(b<e){if(a[0]=p,l=~p>>>31,p=-1,d.length<h.length)continue}else-1!==p&&(d+=C(p));h+=d;d=""}return h},E=function(){};E.prototype.decode=H;w=F.prototype;w.encode=I;"object"===
+typeof exports&&"undefined"!==typeof module?y(module.exports):typeof define==typeof y&&"function"===typeof define&&define.amd?define(function(){return y({})}):y(q)}})("undefined"==typeof global?"undefined"==typeof self?this||{}:self:global);//AnonyCo
+//# sourceMappingURL=https://cdn.jsdelivr.net/gh/AnonyCo/FastestSmallestTextEncoderDecoder/NodeJS/EncoderAndDecoderNodeJS.min.js.map

+ 7 - 0
GuangZuan/node_modules/fastestsmallesttextencoderdecoder/NodeJS/EncoderAndDecoderNodeJS.min.mjs

@@ -0,0 +1,7 @@
+'use strict';var a="undefined"==typeof global?"undefined"===typeof self?{}:self:global,p=String.fromCharCode,q={}.toString,r=a.SharedArrayBuffer,v=r?q.call(r):"",w=a.Uint8Array,x=w?q.call(ArrayBuffer.prototype):"",y=a.Buffer;try{!y&&a.require&&(y=a.require("Buffer"));var z=y.prototype,A=q.call(z)}catch(g){}var B=y.allocUnsafe,C=!!w&&!y,D=new Uint16Array(32),E=!y||!!w&&w.prototype.isPrototypeOf(z),G=F.prototype;function H(){}
+function I(g){var h=g&&g.buffer||g,c=q.call(h);if(c!==x&&c!==A&&c!==v&&"[object ArrayBuffer]"!==c&&void 0!==g)throw TypeError("Failed to execute 'decode' on 'TextDecoder': The provided value is not of type '(ArrayBuffer or ArrayBufferView)'");g=E?new w(h):h||[];c=h="";for(var b=0,d=g.length|0,u=d-32|0,f,e,k=0,t=0,m,l=0,n=-1;b<d;){for(f=b<=u?32:d-b|0;l<f;b=b+1|0,l=l+1|0){e=g[b]&255;switch(e>>4){case 15:m=g[b=b+1|0]&255;if(2!==m>>6||247<e){b=b-1|0;break}k=(e&7)<<6|m&63;t=5;e=256;case 14:m=g[b=b+1|0]&
+255,k<<=6,k|=(e&15)<<6|m&63,t=2===m>>6?t+4|0:24,e=e+256&768;case 13:case 12:m=g[b=b+1|0]&255,k<<=6,k|=(e&31)<<6|m&63,t=t+7|0,b<d&&2===m>>6&&k>>t&&1114112>k?(e=k,k=k-65536|0,0<=k&&(n=(k>>10)+55296|0,e=(k&1023)+56320|0,31>l?(D[l]=n,l=l+1|0,n=-1):(m=n,n=e,e=m))):(e>>=8,b=b-e-1|0,e=65533),k=t=0,f=b<=u?32:d-b|0;default:D[l]=e;continue;case 11:case 10:case 9:case 8:}D[l]=65533}c+=p(D[0],D[1],D[2],D[3],D[4],D[5],D[6],D[7],D[8],D[9],D[10],D[11],D[12],D[13],D[14],D[15],D[16],D[17],D[18],D[19],D[20],D[21],
+D[22],D[23],D[24],D[25],D[26],D[27],D[28],D[29],D[30],D[31]);32>l&&(c=c.slice(0,l-32|0));if(b<d){if(D[0]=n,l=~n>>>31,n=-1,c.length<h.length)continue}else-1!==n&&(c+=p(n));h+=c;c=""}return h}H.prototype.decode=I;function F(){}
+function J(g){g=void 0===g?"":""+g;var h=g.length|0,c=C?new w((h<<1)+8|0):B?B((h<<1)+8|0):new y((h<<1)+8|0),b,d=0,u=!1;for(b=0;b<h;b=b+1|0,d=d+1|0){var f=g.charCodeAt(b)|0;if(127>=f)c[d]=f;else{if(2047>=f)c[d]=192|f>>6;else{a:{if(55296<=f)if(56320>f){var e=g.charCodeAt(b=b+1|0)|0;if(56320<=e&&57343>=e){f=(f<<10)+e-56613888|0;if(65535<f){c[d]=240|f>>18;c[d=d+1|0]=128|f>>12&63;c[d=d+1|0]=128|f>>6&63;c[d=d+1|0]=128|f&63;continue}break a}f=65533}else 57343>=f&&(f=65533);!u&&b<<1<d&&b<<1<(d-7|0)&&(u=!0,
+e=C?new w(3*h):B?B(3*h):new y(3*h),e.set(c),c=e)}c[d]=224|f>>12;c[d=d+1|0]=128|f>>6&63}c[d=d+1|0]=128|f&63}}return c.subarray(0,d)}G.encode=J;function K(g,h){var c=g[h];return function(){return c.apply(g,arguments)}}var L=a.TextDecoder,M=a.TextEncoder;var TextDecoder=L||H,TextEncoder=M||F,decode=L?K(new L,"decode"):I,encode=M?K(new M,"encode"):J;export{TextDecoder,TextEncoder,decode,encode};//AnonyCo
+//# sourceMappingURL=https://cdn.jsdelivr.net/gh/AnonyCo/FastestSmallestTextEncoderDecoder/NodeJS/EncoderAndDecoderNodeJS.min.mjs.map

+ 220 - 0
GuangZuan/node_modules/fastestsmallesttextencoderdecoder/README.md

@@ -0,0 +1,220 @@
+
+
+[![npm version](http://img.shields.io/npm/v/fastestsmallesttextencoderdecoder.svg?label=version)](https://npmjs.org/package/fastestsmallesttextencoderdecoder "View this project on npm")
+[![GitHub stars](https://img.shields.io/github/stars/anonyco/FastestSmallestTextEncoderDecoder.svg?style=social)](https://github.com/anonyco/FastestSmallestTextEncoderDecoder/stargazers "View others who have stared this repository")
+[![GitHub file size in bytes](https://img.shields.io/github/size/AnonyCo/FastestSmallestTextEncoderDecoder/EncoderDecoderTogether.min.js?label=without%20gzip)](https://github.com/anonyco/FastestSmallestTextEncoderDecoder/blob/master/EncoderDecoderTogether.min.js "File without gzip")
+[![GitHub file size in bytes](https://img.shields.io/github/size/AnonyCo/FastestSmallestTextEncoderDecoder/test/EncoderDecoderTogether.min.js.gz?label=gzip%20applied)](https://github.com/anonyco/FastestSmallestTextEncoderDecoder/blob/master/test/EncoderDecoderTogether.min.js.gz "Gzipped file")
+[![npm bundle size (version)](https://img.shields.io/bundlephobia/min/fastestsmallesttextencoderdecoder/latest.svg?color=maroon&label=NPM%20bundle%20size)](https://npmjs.org/package/fastestsmallesttextencoderdecoder "View this project on npm")<!--[![Issues](http://img.shields.io/github/issues/anonyco/FastestSmallestTextEncoderDecoder.svg)]( https://github.com/anonyco/FastestSmallestTextEncoderDecoder/issues )-->
+[![npm downloads](https://img.shields.io/npm/dt/fastestsmallesttextencoderdecoder.svg)](https://npmjs.org/package/fastestsmallesttextencoderdecoder "View this project on npm")
+[![CC0 license](https://camo.githubusercontent.com/4df6de8c11e31c357bf955b12ab8c55f55c48823/68747470733a2f2f6c6963656e7365627574746f6e732e6e65742f702f7a65726f2f312e302f38387833312e706e67)](https://creativecommons.org/share-your-work/public-domain/cc0/ "This project's liscence")
+
+This Javascript library provides the most performant tiny polyfill for [`window.TextEncoder`](https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder), [`TextEncoder.prototype.encodeInto`](https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder/encodeInto), and [`window.TextDecoder`](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder) for use in [the browser](https://developer.mozilla.org/en-US/docs/Web/API/Window), in [NodeJS](https://nodejs.org/en/docs/), in [RequireJS](https://requirejs.org/docs/whyamd.html), in web [Worker](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope)s, in [SharedWorker](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorkerGlobalScope)s, and in [ServiceWorker](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope)s.
+
+## Quick Start
+
+Add the following HTML Code inside the `<head>`:
+
+````HTML
+<script src="https://dl.dropboxusercontent.com/s/r55397ld512etib/EncoderDecoderTogether.min.js?dl=0" nomodule="" type="text/javascript"></script>
+````
+
+If no script on the page requires this library until the DOMContentLoaded event, then use the the much less blocking version below:
+
+````HTML
+<script defer="" src="https://dl.dropboxusercontent.com/s/r55397ld512etib/EncoderDecoderTogether.min.js?dl=0" nomodule="" type="text/javascript"></script>
+````
+
+Alternatively, either use `https://dl.dropboxusercontent.com/s/47481btie8pb95h/FastestTextEncoderPolyfill.min.js?dl=0` to polyfill `window.TextEncoder` for converting a `String` into a `Uint8Array` or use `https://dl.dropboxusercontent.com/s/qmoknmp86sytc74/FastestTextDecoderPolyfill.min.js?dl=0` to only polyfill `window.TextDecoder` for converting a `Uint8Array`/`ArrayBuffer`/*\[typedarray\]*/`global.Buffer` into a `String`.
+
+The `nomodule` attribute prevents the script from being needlessly downloaded and executed on browsers which already support `TextEncoder` and `TextDecoder`. `nomodule` does not test for the presence of `TextEncoder` or `TextDecoder`, but it is very safe to assume that browsers advanced enough to support modules also support `TextEncoder` and `TextDecoder`.
+
+## EncodeInto
+
+See the [MDN here](https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder/encodeInto) for documentation. For the TextEncoder.prototype.encodeInto polyfill, please use `https://dl.dropboxusercontent.com/s/i2e2rho1ohtbhfg/EncoderDecoderTogether.min.js?dl=0` for the full package, `https://dl.dropboxusercontent.com/s/nlcgzbr0ayd5pjs/FastestTextEncoderPolyfill.min.js?dl=0` for only TextEncoder and TextEncoder.prototype.encodeInto, and `npm i fastestsmallesttextencoderdecoder-encodeinto` for NodeJS, es6 modules, RequireJS, AngularJS, or whatever it is that floats your boat. The [encodeInto](https://github.com/anonyco/FastestSmallestTextEncoderDecoder/tree/master/encodeInto) folder of this repository contains the auto-generated encodeInto build of the main project. The npm project is [fastestsmallesttextencoderdecoder-encodeinto](https://www.npmjs.com/package/fastestsmallesttextencoderdecoder-encodeinto):
+
+```
+npm install fastestsmallesttextencoderdecoder-encodeinto
+```
+
+## RequireJS and NodeJS
+
+For dropping into either RequireJS or NodeJS, please use [the `fastestsmallesttextencoderdecoder` npm repository](https://npmjs.org/package/fastestsmallesttextencoderdecoder), [this minified file](https://github.com/anonyco/FastestSmallestTextEncoderDecoder/blob/master/NodeJS/EncoderAndDecoderNodeJS.min.js), or the corresponding [source code file](https://github.com/anonyco/FastestSmallestTextEncoderDecoder/blob/master/NodeJS/EncoderAndDecoderNodeJS.src.js). To install via npm, use the following code.
+
+```Bash
+npm install fastestsmallesttextencoderdecoder
+```
+
+Alternatively, if one do not know how to use the command line, save the script corresponding to one's operating system to the directory where the nodejs script will run and use the file manager to run the script (on Windows, it's a double-click).
+
+
+* fastestsmallesttextencoderdecoder
+    - Microsoft Windows batch: [install-FastestSmallestTextEncoderDecoder-windows.bat](https://raw.githubusercontent.com/anonyco/FastestSmallestTextEncoderDecoder/master/gh-pages/install-FastestSmallestTextEncoderDecoder-windows.bat)
+    - Bash for Apple MacOS and Linux (e.x. Ubuntu): [install-FastestSmallestTextEncoderDecoder-unix.sh](https://raw.githubusercontent.com/anonyco/FastestSmallestTextEncoderDecoder/master/gh-pages/install-FastestSmallestTextEncoderDecoder-unix.sh)
+* fastestsmallesttextencoderdecoder-encodeinto
+    - Microsoft Windows batch: [install-FastestSmallestTextEncoderDecoder-encodeInto.bat](https://raw.githubusercontent.com/anonyco/FastestSmallestTextEncoderDecoder/master/gh-pages/install-FastestSmallestTextEncoderDecoder-encodeInto.bat)
+    - Bash for Apple MacOS and Linux (e.x. Ubuntu): [install-FastestSmallestTextEncoderDecoder-encodeInto.sh](https://raw.githubusercontent.com/anonyco/FastestSmallestTextEncoderDecoder/master/gh-pages/install-FastestSmallestTextEncoderDecoder-encodeInto.sh)
+
+
+After installing via npm, one can use `require("fastestsmallesttextencoderdecoder")`. Alternatively, one can drop the *EncoderAndDecoderNodeJS.min.js* file into the same directory as their NodeJS script and do `require("./EncoderAndDecoderNodeJS.min.js")`. Both methods are functionally equivalent.
+
+## AngularJS
+Open a terminal in the project's directory, and install fastestsmallesttextencoderdecoder via npm.
+
+```Bash
+npm install fastestsmallesttextencoderdecoder
+```
+
+Then, add `import 'fastestsmallesttextencoderdecoder';` to the polyfills.ts file. 
+
+## Benchmarks
+Don't take my word that FastestSmallestTextEncoderDecoder is the fastest. Instead, check out the benchmarks below. You can run your own benchmarks by cloning this repo and running `npm run benchmark`, but beware that you need a beefy computer with plenty of free RAM, as the NodeJS garbage collector is disabled via `--noconcurrent_sweeping --nouse-idle-notification` so that it does not interfer with the timing of the tests (the GC is runned manually via `global.gc(true)` at the conclusion of the tests).
+
+The tests below were performed on an ascii file. To ensure consistancy, all test results are the mean of the IQR of many many trials. The checkmark "✔" means that the encoder/decoder implementation gave the correct output, whereas a bold "**✗**" indicates an incorrect output. This extra check is signifigant because relying on a faulty encoder/decoder can lead to inconsistant behaviors in code that defaults to using the native implementation where available.
+
+| Library | Decode 32 bytes | Decode 32768 | Decode 16777216 | Encode 32 bytes | Encode 32768 | Encode 16777216 |
+| ------- | --------------- | ------------ | --------------- | --------------- | ------------ | --------------- |
+| <i>Native</i> | 10201 KB/sec ✔ | 806451 KB/sec ✔ | 907381 KB/sec ✔ | 53415 KB/sec ✔ | 4661211 KB/sec ✔ | 1150916 KB/sec ✔ |
+| FastestSmallestTextEncoderDecoder | 18038 KB/sec ✔ | 154839 KB/sec ✔ | 168984 KB/sec ✔ | 21667 KB/sec ✔ | 404279 KB/sec ✔ | 681429 KB/sec ✔ |
+| [fast-text-encoding](https://github.com/samthor/fast-text-encoding) | 17518 KB/sec ✔ | 71806 KB/sec ✔ | 99017 KB/sec ✔ | 22713 KB/sec ✔ | 240880 KB/sec ✔ | 445137 KB/sec ✔ |
+| [text-encoding-shim](https://gitlab.com/PseudoPsycho/text-encoding-shim) | 10205 KB/sec ✔ | 17503 KB/sec ✔ | 27971 KB/sec ✔ | 14044 KB/sec ✔ | 50007 KB/sec ✔ | 88687 KB/sec ✔ |
+| [TextEncoderLite](https://github.com/solderjs/TextEncoderLite) | 12433 KB/sec ✔ | 23456 KB/sec ✔ | 13929 KB/sec ✔ | 24013 KB/sec ✔ | 57034 KB/sec ✔ | 62119 KB/sec ✔ |
+| [TextEncoderTextDecoder.js](https://gist.github.com/Yaffle/5458286) | 4469 KB/sec ✔ | 5956 KB/sec ✔ | 5626 KB/sec ✔ | 13576 KB/sec ✔ | 37667 KB/sec ✔ | 57916 KB/sec ✔ |
+| [text-encoding](https://github.com/inexorabletash/text-encoding) | 3084 KB/sec ✔ | 6762 KB/sec ✔ | 7925 KB/sec ✔ | 8621 KB/sec ✔ | 26699 KB/sec ✔ | 35755 KB/sec ✔ |
+
+Needless to say, FastestSmallestTextEncoderDecoder outperformed every other polyfill out there. Infact, it is so fast that it outperformed the native implementation on a set of 32 ascii bytes. The tests below were performed on a mixed ascii-utf8 file.
+
+| Library | Decode 32 bytes | Decode 32768 | Decode 16777216 | Encode 32 bytes | Encode 32768 | Encode 16777216 |
+| ------- | --------------- | ------------ | --------------- | --------------- | ------------ | --------------- |
+| <i>Native</i> | 24140 KB/sec ✔ | 365043 KB/sec ✔ | 512133 KB/sec ✔ | 54183 KB/sec ✔ | 293455 KB/sec ✔ | 535203 KB/sec ✔ |
+| FastestSmallestTextEncoderDecoder | 13932 KB/sec ✔ | 113823 KB/sec ✔ | 141706 KB/sec ✔ | 20755 KB/sec ✔ | 212100 KB/sec ✔ | 443344 KB/sec ✔ |
+| [fast-text-encoding](https://github.com/samthor/fast-text-encoding) | 10738 KB/sec ✔ | 62851 KB/sec ✔ | 94031 KB/sec ✔ | 15105 KB/sec ✔ | 104843 KB/sec ✔ | 320778 KB/sec ✔ |
+| [TextEncoderLite](https://github.com/solderjs/TextEncoderLite) | 6594 KB/sec ✔ | 9893 KB/sec ✔ | 10470 KB/sec ✔ | 17660 KB/sec **✗** | 53905 KB/sec **✗** | 57862 KB/sec **✗** |
+| [text-encoding-shim](https://gitlab.com/PseudoPsycho/text-encoding-shim) | 10778 KB/sec ✔ | 15063 KB/sec ✔ | 24373 KB/sec ✔ | 27296 KB/sec ✔ | 31496 KB/sec ✔ | 42497 KB/sec ✔ |
+| [TextEncoderTextDecoder.js](https://gist.github.com/Yaffle/5458286) | 5558 KB/sec ✔ | 5121 KB/sec ✔ | 6580 KB/sec ✔ | 14583 KB/sec ✔ | 32261 KB/sec ✔ | 60183 KB/sec ✔ |
+| [text-encoding](https://github.com/inexorabletash/text-encoding) | 3531 KB/sec ✔ | 6669 KB/sec ✔ | 7983 KB/sec ✔ | 7233 KB/sec ✔ | 20343 KB/sec ✔ | 29136 KB/sec ✔ |
+
+FastestSmallestTextEncoderDecoder excells at encoding lots of complex unicode and runs at 83% the speed of the native implementation. In the next test, let's examine a more real world example&mdash;the [1876 The Russian Synodal Bible.txt](https://github.com/anonyco/FastestSmallestTextEncoderDecoder/blob/master/test/1876%20The%20Russian%20Synodal%20Bible.txt). It's a whoping 4.4MB rat's-nest of complex Russian UTF-8, sure to give any encoder/decoder a bad day. Let's see how they perform at their worst.
+
+| Library | Decode Russian Bible | Encode Russian Bible |
+| ------- | -------------------- | -------------------- |
+| <i>Native</i> | 626273 KB/sec ✔ | 951538 KB/sec ✔ | 
+| FastestSmallestTextEncoderDecoder | 228360 KB/sec ✔ | 428625 KB/sec ✔ | 
+| [fast-text-encoding](https://github.com/samthor/fast-text-encoding) | 94666 KB/sec ✔ | 289109 KB/sec ✔ | 
+| [text-encoding-shim](https://gitlab.com/PseudoPsycho/text-encoding-shim) | 29335 KB/sec ✔ | 60508 KB/sec ✔ | 
+| [TextEncoderLite](https://github.com/solderjs/TextEncoderLite) | 14079 KB/sec ✔ | 61648 KB/sec ✔ | 
+| [TextEncoderTextDecoder.js](https://gist.github.com/Yaffle/5458286) | 5989 KB/sec ✔ | 54741 KB/sec ✔ | 
+| [text-encoding](https://github.com/inexorabletash/text-encoding) | 7919 KB/sec ✔ | 28043 KB/sec ✔ | 
+
+
+## Browser Support
+
+This polyfill will bring
+support for TextEncoder/TextDecoder to the following browsers.
+
+| Feature | Chrome <img src="https://developer.mozilla.org/static/browsers/chrome.svg" height="14" /> | Firefox <img src="https://developer.mozilla.org/static/browsers/firefox.svg" height="14" /> | Opera <img src="https://developer.mozilla.org/static/browsers/opera.svg" height="14" /> | Edge <img src="https://developer.mozilla.org/static/browsers/edge.svg" height="14" /> | Internet Explorer <img src="https://developer.mozilla.org/static/browsers/internet-explorer.svg" height="14" /> | Safari <img src="https://developer.mozilla.org/static/browsers/safari.svg" height="14" /> | Android <img src="https://developer.mozilla.org/static/platforms/android.svg" height="14" /> | Samsung Internet <img src="https://developer.mozilla.org/static/browsers/samsung-internet.svg" height="14" /> | Node.js <img src="https://nodejs.org/static/favicon.ico" height="14" /> |
+| ------------------ | --- | --- | -------------------------------- | ------ | --- | ------------------------- | --- | --- | --- |
+| Full Polyfill      | [7.0](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray#Browser_compatibility) | [4.0](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray#Browser_compatibility) | [11.6](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray#Browser_compatibility)                             | [12.0\*\*](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray#Browser_compatibility) | [10](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray#Browser_compatibility)  | [5.1](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray#Browser_compatibility) (Desktop) / [4.2](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray#Browser_compatibility) (iOS) | [4.0](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray#Browser_compatibility) | [1.0](https://gist.github.com/poshaughnessy/5718717a04db20a02e9fdb3fc16e2258) | [3.0](https://nodejs.org/docs/latest-v4.x/api/buffer.html#buffer_buffers_and_typedarray) |
+| Partial Polyfill\* | [1.0\*\*](https://robertnyman.com/javascript/index.html) | [0.6](https://en.wikipedia.org/wiki/Comparison_of_JavaScript_engines) | [7.0](https://en.wikipedia.org/wiki/Presto_\(browser_engine\)) (Desktop) / [9.5\*\*](https://en.wikipedia.org/wiki/Presto_\(browser_engine\)) (Mobile) | [12.0\*\*](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray#Browser_compatibility) | [4.0](https://en.wikipedia.org/wiki/Comparison_of_JavaScript_engines) | [2.0](https://en.wikipedia.org/wiki/Comparison_of_JavaScript_engines)                       | 1.0\*\* | [1.0\*\*](https://gist.github.com/poshaughnessy/5718717a04db20a02e9fdb3fc16e2258) | [0.10](https://nodejs.org/docs/latest-v0.10.x/api/index.html) |
+
+Also note that while this polyfill may work in these old browsers, it is very likely that the rest of one's website will not work unless if one makes a concious effort to have their code work in these old browsers.
+
+\* Partial polyfill means that `Array` (or `Buffer` in NodeJS) will be used instead of `Uint8Array`/\[*typedarray*\].
+
+\*\* This is the first public release of the browser
+
+
+
+## API Documentation
+
+Please review the MDN at [`window.TextEncoder`](https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder) and [`window.TextDecoder`](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder) for information on how to use TextEncoder and TextDecoder.
+
+As for NodeJS, calling `require("EncoderAndDecoderNodeJS.min.js")` yields the following object. Note that this polyfill checks for `global.TextEncoder` and `global.TextDecoder` and returns the native implementation if available.
+
+```Javascript
+module.exports = {
+	TextEncoder: function TextEncoder(){/*...*/},
+	TextDecoder: function TextDecoder(){/*...*/},
+	encode: TextEncoder.prototype.encode,
+	decode: TextDecoder.prototype.decode
+}
+```
+
+In NodeJS, one does not ever have to use `new` just to get the encoder/decoder (although one still can do so if they want to). All of the code snippets below function identically <sub>(aside from unused local variables introduced into the scope)</sub>.
+
+```Javascript
+    // Variation 1
+    const {TextEncoder, TextDecoder} = require("fastestsmallesttextencoderdecoder");
+    const encode = (new TextEncoder).encode;
+    const decode = (new TextDecoder).decode;
+```
+
+```Javascript
+    // Variation 2
+    const {encode, decode} = require("fastestsmallesttextencoderdecoder");
+```
+
+```Javascript
+    // Variation 3 (a rewording of Variation 2)
+    const encodeAndDecodeModule = require("fastestsmallesttextencoderdecoder");
+    const encode = encodeAndDecodeModule.encode;
+    const decode = encodeAndDecodeModule.decode;
+```
+
+Or, one can use the new and shiny [ES6 module importation](https://developer.mozilla.org/en-US/docs/web/javascript/reference/statements/import) statements.
+
+
+```Javascript
+    // Variation 1
+    import {TextEncoder, TextDecoder} from "fastestsmallesttextencoderdecoder";
+    const encode = (new TextEncoder).encode;
+    const decode = (new TextDecoder).decode;
+```
+
+```Javascript
+    // Variation 2
+    import {encode, decode} from "fastestsmallesttextencoderdecoder";
+```
+
+```Javascript
+    // Variation 3 (a rewording of Variation 2)
+    import * as encodeAndDecodeModule from "fastestsmallesttextencoderdecoder";
+    const encode = encodeAndDecodeModule.encode;
+    const decode = encodeAndDecodeModule.decode;
+```
+
+
+## Demonstration
+
+Visit the [GithubPage](https://anonyco.github.io/FastestSmallestTextEncoderDecoder/gh-pages/) to see a demonstation. As seen in the Web Worker [hexWorker.js](https://github.com/anonyco/FastestSmallestTextEncoderDecoder/blob/master/gh-pages/hexWorker.js), the Github Pages demonstration uses a special [encoderAndDecoderForced.src.js](https://github.com/anonyco/FastestSmallestTextEncoderDecoder/blob/master/gh-pages/encoderAndDecoderForced.src.js) version of this library to forcefully install the TextEncoder and TextDecoder even when there is native support. That way, this demonstraton should serve to truthfully demonstrate this polyfill.
+
+## npm Project
+This project can be found on [npm here at this link](https://npmjs.org/package/fastestsmallesttextencoderdecoder).
+
+## Development
+
+On Linux, the project can be developed by cloning it with the following command line. The development scripts are designed to be interpeted by Dash, and whether they work on Mac OS is unknown, but they certainly won't work on Windows.
+
+```Bash
+git clone https://github.com/anonyco/FastestSmallestTextEncoderDecoder.git; cd FastestSmallestTextEncoderDecoder; npm run install-dev
+```
+
+Emphasize the `npm run install-dev`, which downloads `closure-compiler.jar` into the repository for minifying the files.
+
+Now that the repository is cloned, edit the files as one see fit. Do not edit the files in the `encodeInto` folder. Those are all auto-generated by having Closure Compiler set `ENCODEINTO_BUILD` to true and removing dead code for compactness. Also, do not run `npm run build` in the `encodeInto`. That's done automatically when `npm run build` is runned in the topmost folder. Now that the files have been edited, run the following in the terminal in the root folder of the repository in order to minify the NodeJS JavaScript files.
+
+```Bash
+npm run build
+```
+
+To edit tests, edit `test/node.js`. These tests are compared against the native implementation to ensure validity. To run tests, do the following. 
+
+```Bash
+npm run test
+```
+
+
+
+## Continuity
+
+Feel free to reach out to me at wowzeryest@gmail.com. I am fairly attentive to my github account, but in the unlikely event that issues/pulls start piling up, I of course welcome others to step in and contribute. I am widely open to input and collaboration from anyone on all of my projects.
+

+ 66 - 0
GuangZuan/node_modules/fastestsmallesttextencoderdecoder/package.json

@@ -0,0 +1,66 @@
+{
+	"name": "fastestsmallesttextencoderdecoder",
+	"version": "1.0.22",
+	"description": "The fastest smallest Javascript polyfill for the encode of TextEncoder and decode of TextDecoder for UTF-8 only. Made by AnonyCo with ❤️ from 🐕s.",
+	"keywords": [
+		"utf-8",
+		"encoding",
+		"decoding",
+		"encoder",
+		"decoder",
+		"javascript",
+		"polyfill",
+		"js",
+		"utf8",
+		"compact",
+		"cross-browser",
+		"utf8-string",
+		"pure-javascript",
+		"nodejs",
+		"node-js",
+		"node-module",
+		"nodejs-modules",
+		"performance",
+		"tiny",
+		"small"
+	],
+	"homepage": "https://github.com/anonyco/FastestSmallestTextEncoderDecoder#quick-start",
+	"bugs": {
+		"url": "https://github.com/anonyco/FastestSmallestTextEncoderDecoder/issues",
+		"email": "wowzeryest@gmail.com"
+	},
+	"scripts": {
+		"install-dev": "mkdir compiler-latest 2> /dev/null; wget -P ./compiler-latest/ 'https://dl.google.com/closure-compiler/compiler-latest.tar.gz'; unlink ./closure-compiler.jar 2> /dev/null; wget -P ./compiler-latest/ 'https://github.com/google/zopfli/archive/zopfli-1.0.3.tar.gz'; cd compiler-latest; tar xvzf compiler-latest.tar.gz 1> /dev/null; tar xvzf compiler-latest.tar.gz 1> /dev/null; bash -c 'for j in closure-compiler-*; do mv -- \"$j\" \"../closure-compiler.jar\" 1> /dev/null; done' 1> /dev/null 2> /dev/null; tar xvzf zopfli-1.0.3.tar.gz 1> /dev/null; cd zopfli-zopfli-1.0.3; make zopfli 1> /dev/null; mv ./zopfli ../../; cd ../..; rm -rf compiler-latest 2> /dev/null; chmod +X ./zopfli; curl -V 1>/dev/null 2>&1 || (echo 'Curl must be installed in order to upload to NPM. Installing...'; if type apk > /dev/null; then sudo apk add --no-cache curl; elif type apt-get > /dev/null; then sudo apt-get install curl; elif type dnf > /dev/null; then sudo dnf install curl; elif type pacman > /dev/null; then pacman -S curl; elif type zypper > /dev/null; then sudo zypper install curl; fi ); wait",
+		"build": "if [ ! -s 'closure-compiler.jar' ]; then npm run install-dev; fi; npm run build-browser & npm run build-gzip; npm run build-encodeinto & true; npm run build-require & true; npm run build-module & true; wait",
+		"build-browser": "java -server -Xmx1024M -jar './closure-compiler.jar' --D ENCODEINTO_BUILD=false --js './EncoderDecoderTogether.src.js' --js_output_file 'EncoderDecoderTogether.min.js' --create_source_map 'EncoderDecoderTogether.min.js.map' --language_out ECMASCRIPT_2017 --compilation_level ADVANCED_OPTIMIZATIONS --output_wrapper '%output%//AnonyCo\n//# sourceMappingURL=https://cdn.jsdelivr.net/gh/AnonyCo/FastestSmallestTextEncoderDecoder/EncoderDecoderTogether.min.js.map' & true; java -server -Xmx1024M -jar './closure-compiler.jar' --D ENCODEINTO_BUILD=false --js './individual/FastestTextEncoderPolyfill.src.js' --js_output_file 'individual/FastestTextEncoderPolyfill.min.js' --language_out ECMASCRIPT_2017 --compilation_level ADVANCED_OPTIMIZATIONS --output_wrapper '%output%//AnonyCo'; wait; sed -i -e 's/\"undefined\"/\"\"+void 0/g' './EncoderDecoderTogether.min.js' & true; if [ \"${PWD##*/}\" != 'encodeInto' ]; then java -server -Xmx1024M -jar './closure-compiler.jar' --js './individual/FastestTextDecoderPolyfill.src.js' --js_output_file 'individual/FastestTextDecoderPolyfill.min.js' --language_out ECMASCRIPT_2017 --compilation_level ADVANCED_OPTIMIZATIONS --output_wrapper '%output%//AnonyCo'; fi; wait",
+		"build-require": "java -server -Xmx1024M -jar './closure-compiler.jar' --D ENCODEINTO_BUILD=false --js './NodeJS/EncoderAndDecoderNodeJS.src.js' --js_output_file 'NodeJS/EncoderAndDecoderNodeJS.min.js' --create_source_map 'NodeJS/EncoderAndDecoderNodeJS.min.js.map' --compilation_level ADVANCED_OPTIMIZATIONS --output_wrapper '%output%//AnonyCo\n//# sourceMappingURL=https://cdn.jsdelivr.net/gh/AnonyCo/FastestSmallestTextEncoderDecoder/NodeJS/EncoderAndDecoderNodeJS.min.js.map' --language_out ECMASCRIPT_2017",
+		"build-module": "java -server -Xmx1024M -jar './closure-compiler.jar' --D ENCODEINTO_BUILD=false --js './NodeJS/EncoderAndDecoderNodeJS.src.module.js' --create_source_map 'NodeJS/EncoderAndDecoderNodeJS.min.mjs.map' --compilation_level ADVANCED_OPTIMIZATIONS --output_wrapper '%output%//AnonyCo\n//# sourceMappingURL=https://cdn.jsdelivr.net/gh/AnonyCo/FastestSmallestTextEncoderDecoder/NodeJS/EncoderAndDecoderNodeJS.min.mjs.map' --language_out ECMASCRIPT_2017 | sed -e 's@window\\.export_default=@export default @g;     s@window\\.export_@export let @g;     s@window\\.exports=\\[@export{@g;    s@window\\.var_gens=\\[@@g;    s@,\"_REMOVE@@g;    s@REMOVE_\",@@g;    s@REMOVE_\"@@g;    s@,\"REM_B_\"\\]@}@g;    s@,\"REM_VAR_\"\\]@@g;    s@\"REM_VAR_\"\\]@@g;    s@REM_VAR_\"\\]@@g' > 'NodeJS/EncoderAndDecoderNodeJS.min.mjs'",
+		"build-es6": "npm run build-module",
+		"build-gzip": "./zopfli -i20 EncoderDecoderTogether.min.js; mv EncoderDecoderTogether.min.js.gz test 2> /dev/null",
+		"build-encodeinto": "if [ \"${PWD##*/}\" != 'encodeInto' ]; then mkdir -p encodeInto; cd encodeInto; mkdir -p test individual NodeJS; echo 'Please see [fastestsmallesttextencoderdecoder](fastestsmallesttextencoderdecoder) for usage and details' > README.md; ln -fsT ../LICENSE LICENSE; ln -fsT '../closure-compiler.jar' 'closure-compiler.jar'; ln -fsT ../zopfli zopfli; sed -e 's@\"fastestsmallesttextencoderdecoder\"@\"fastestsmallesttextencoderdecoder-encodeinto\"@; s@E[N]CODEINTO_BUILD=false@ENCODEINTO_BUILD=true@g; s@gh/AnonyCo/[F]astestSmallestTextEncoderDecoder@gh/AnonyCo/FastestSmallestTextEncoderDecoder/encodeInto@g; s@[.]/EncoderDecoderTogether@..\\/EncoderDecoderTogether@g; s@[.]/NodeJS/@..\\/NodeJS/@g; s@[.]/individual/FastestTextEncoderPolyfill@..\\/individual/FastestTextEncoderPolyfill@g' > package.json < '../package.json'; cd test; for f in *; do if [ ! -e \"../../test/$f\" ]; then unlink \"$f\" 2> /dev/null; fi; done; for i in $(dir -Ab1L ../../test); do ln -fsT \"../../test/$i\" \"./$i\"; done; cd ..; npm run build; cd ..; printf '#!/bin/sh\nnpm install fastestsmallesttextencoderdecoder-encodeinto\n' > gh-pages/install-FastestSmallestTextEncoderDecoder-encodeInto.sh; printf '@npm install fastestsmallesttextencoderdecoder-encodeinto\r\n' > gh-pages/install-FastestSmallestTextEncoderDecoder-encodeInto.bat; fi; wait",
+		"prepublishOnly": "if [ -f './encodeInto/package.json' ]; then cd encodeInto; npm publish; cd ..; fi",
+		"test": "if [ \"${PWD##*/}\" != 'encodeInto' ]; then cd encodeInto/test; node --preserve-symlinks --preserve-symlinks-main -- 'test.js' -test-encode-into; cd ../..; fi; cd test; node --preserve-symlinks --preserve-symlinks-main -- 'test.js'",
+		"benchmark": "cd test; node --preserve-symlinks --preserve-symlinks-main --expose-gc --max-old-space-size=10240 --max-semi-space-size=8192 --noconcurrent_sweeping --nouse-idle-notification -- 'benchmark.js'"
+	},
+	"license": "CC0-1.0",
+	"author": {
+		"name": "Jack Giffin",
+		"email": "wowzeryest@gmail.com",
+		"url": "https://jackgiffin.com/"
+	},
+	"main": "NodeJS/EncoderAndDecoderNodeJS.min.js",
+	"module": "NodeJS/EncoderAndDecoderNodeJS.min.mjs",
+	"es2015": "NodeJS/EncoderAndDecoderNodeJS.min.mjs",
+	"browser": "EncoderDecoderTogether.min.js",
+	"repository": {
+		"type": "git",
+		"url": "git://github.com/anonyco/FastestSmallestTextEncoderDecoder.git"
+	},
+	"files": [
+		"EncoderDecoderTogether.min.js",
+		"NodeJS/EncoderAndDecoderNodeJS.min.js",
+		"NodeJS/EncoderAndDecoderNodeJS.min.mjs"
+	],
+	"publishConfig": { "registry": "https://registry.npmjs.org/" }
+
+}

+ 11 - 0
GuangZuan/package-lock.json

@@ -12,6 +12,7 @@
         "@vant/weapp": "^1.10.4",
         "crypto": "^1.0.1",
         "crypto-js": "^4.1.1",
+        "fastestsmallesttextencoderdecoder": "^1.0.22",
         "long": "^5.2.0",
         "minigame-api-typings": "^3.6.0",
         "moment": "^2.29.4"
@@ -1186,6 +1187,11 @@
       "integrity": "sha512-Ia0sQNrMPXXkqVFt6w6M1n1oKo3NfKs+mvaV811Jwir7vAk9a6PVV9VPYf6X3BU97QiLEmuW3uXH9u87zDFfdw==",
       "dev": true
     },
+    "node_modules/fastestsmallesttextencoderdecoder": {
+      "version": "1.0.22",
+      "resolved": "https://registry.npmmirror.com/fastestsmallesttextencoderdecoder/-/fastestsmallesttextencoderdecoder-1.0.22.tgz",
+      "integrity": "sha512-Pb8d48e+oIuY4MaM64Cd7OW1gt4nxCHs7/ddPPZ/Ic3sg8yVGM7O9wDvZ7us6ScaUupzM+pfBolwtYhN1IxBIw=="
+    },
     "node_modules/file-uri-to-path": {
       "version": "1.0.0",
       "resolved": "https://registry.npmmirror.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
@@ -5229,6 +5235,11 @@
       "integrity": "sha512-Ia0sQNrMPXXkqVFt6w6M1n1oKo3NfKs+mvaV811Jwir7vAk9a6PVV9VPYf6X3BU97QiLEmuW3uXH9u87zDFfdw==",
       "dev": true
     },
+    "fastestsmallesttextencoderdecoder": {
+      "version": "1.0.22",
+      "resolved": "https://registry.npmmirror.com/fastestsmallesttextencoderdecoder/-/fastestsmallesttextencoderdecoder-1.0.22.tgz",
+      "integrity": "sha512-Pb8d48e+oIuY4MaM64Cd7OW1gt4nxCHs7/ddPPZ/Ic3sg8yVGM7O9wDvZ7us6ScaUupzM+pfBolwtYhN1IxBIw=="
+    },
     "file-uri-to-path": {
       "version": "1.0.0",
       "resolved": "https://registry.npmmirror.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",

+ 1 - 0
GuangZuan/package.json

@@ -11,6 +11,7 @@
     "@vant/weapp": "^1.10.4",
     "crypto": "^1.0.1",
     "crypto-js": "^4.1.1",
+    "fastestsmallesttextencoderdecoder": "^1.0.22",
     "long": "^5.2.0",
     "minigame-api-typings": "^3.6.0",
     "moment": "^2.29.4"