@jctrans-materials/shared 1.0.40-beta.6 → 1.0.40-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +3 -3
- package/dist/index.d.ts +61 -12
- package/dist/index.esm.js +412 -379
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var $t=Object.create;var Re=Object.defineProperty,Ut=Object.defineProperties,Gt=Object.getOwnPropertyDescriptor,jt=Object.getOwnPropertyDescriptors,Kt=Object.getOwnPropertyNames,Ar=Object.getOwnPropertySymbols,Mt=Object.getPrototypeOf,yr=Object.prototype.hasOwnProperty,Xt=Object.prototype.propertyIsEnumerable;var Te=(e,t,n)=>t in e?Re(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,R=(e,t)=>{for(var n in t||(t={}))yr.call(t,n)&&Te(e,n,t[n]);if(Ar)for(var n of Ar(t))Xt.call(t,n)&&Te(e,n,t[n]);return e},U=(e,t)=>Ut(e,jt(t));var Vt=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Kt(t))!yr.call(e,a)&&a!==n&&Re(e,a,{get:()=>t[a],enumerable:!(r=Gt(t,a))||r.enumerable});return e};var Zt=(e,t,n)=>(n=e!=null?$t(Mt(e)):{},Vt(t||!e||!e.__esModule?Re(n,"default",{value:e,enumerable:!0}):n,e));var S0=(e,t,n)=>Te(e,typeof t!="symbol"?t+"":t,n);var V=(e,t,n)=>new Promise((r,a)=>{var f=v=>{try{h(n.next(v))}catch(i){a(i)}},y=v=>{try{h(n.throw(v))}catch(i){a(i)}},h=v=>v.done?r(v.value):Promise.resolve(v.value).then(f,y);h((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Qt=require("mitt"),gr=require("axios"),r0={prefixPath:"https://cloudapi-sit2.jctrans.net.cn",searchPath:"/system/dms/fr/aggr/getLocationOptions",oldSearchPath:"/system/dms/fr/aggr/findPageList",carrierPath:"/system/dms/carrier/findAllList",allLinePath:"/system/dms/fr/line/findAllListByCountry",linePath:"/system/dms/fr/line/findAllList"},it={get basePath(){return r0.prefixPath+r0.searchPath},get carrierPath(){return r0.prefixPath+r0.carrierPath},get linePath(){return r0.prefixPath+r0.linePath},get allLinePath(){return r0.prefixPath+r0.allLinePath},get oldBasePath(){return r0.prefixPath+r0.oldSearchPath},get prefixPath(){return r0.prefixPath}},Yt=e=>{e&&(e.prefixPath!==void 0&&(r0.prefixPath=e.prefixPath),e.searchPath!==void 0&&(r0.searchPath=e.searchPath))},a0=()=>it,We=()=>{var t,n,r,a,f,y;let e;try{typeof useCookie=="function"&&(e=(t=useCookie("jc-language"))==null?void 0:t.value)}catch(h){}if(e)return e==="en"||e==="en-US";if(typeof document!="undefined"){const h=document.cookie||"";return/(^|;\s*)jc-language=en(-US)?(;|$)/.test(h)}try{if(typeof useNuxtApp=="function"){const h=useNuxtApp(),v=((y=(f=(a=(r=(n=h==null?void 0:h.ssrContext)==null?void 0:n.event)==null?void 0:r.node)==null?void 0:a.req)==null?void 0:f.headers)==null?void 0:y.cookie)||"";return/(^|;\s*)jc-language=en(-US)?(;|$)/.test(v)}}catch(h){}return!1};/*! js-cookie v3.0.5 | MIT */function L0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var Jt={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Ne(e,t){function n(a,f,y){if(typeof document!="undefined"){y=L0({},t,y),typeof y.expires=="number"&&(y.expires=new Date(Date.now()+y.expires*864e5)),y.expires&&(y.expires=y.expires.toUTCString()),a=encodeURIComponent(a).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var h="";for(var v in y)y[v]&&(h+="; "+v,y[v]!==!0&&(h+="="+y[v].split(";")[0]));return document.cookie=a+"="+e.write(f,a)+h}}function r(a){if(!(typeof document=="undefined"||arguments.length&&!a)){for(var f=document.cookie?document.cookie.split("; "):[],y={},h=0;h<f.length;h++){var v=f[h].split("="),i=v.slice(1).join("=");try{var o=decodeURIComponent(v[0]);if(y[o]=e.read(i,o),a===o)break}catch(B){}}return a?y[a]:y}}return Object.create({set:n,get:r,remove:function(a,f){n(a,"",L0({},f,{expires:-1}))},withAttributes:function(a){return Ne(this.converter,L0({},this.attributes,a))},withConverter:function(a){return Ne(L0({},this.converter,a),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var Z=Ne(Jt,{path:"/"});const $e=typeof window!="undefined";function ot(e){const t=/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,n=/^((?:[a-fA-F0-9]{1,4}:){7}[a-fA-F0-9]{1,4}|::|(?:[a-fA-F0-9]{1,4}:){1,7}:|:(?::[a-fA-F0-9]{1,4}){1,7})$/;return t.test(e)||n.test(e)}function at(){if(!$e)return;const e=window.location.hostname;if(e==="localhost"||ot(e))return;const t=e.split(".");if(t.length>=2)return e.endsWith(".net.cn")||e.endsWith(".com.cn")?t.length>=3?"."+t.slice(-3).join("."):void 0:"."+t.slice(-2).join(".")}const be="JC-JAVA-Token-Root",Ue="hasLogin",Ee="prjId",Ge="JC-Expires-In",me="JC-Expires-Time-In",Ie="JC-Refresh-Token",je="JC-Refresh-Expires-In",Ke="JC-Refresh-Expires-Time-In",Fe="JC-Remember-Account",De="JC-Remember-Password",Me=new Set(["/auth/login","/auth/register","/auth/registerAccComp","/auth/loginByCode","/auth/loginByQrCode","/auth/registerBindWechat","/auth/refreshToken","/auth/bindThirdPartyByCode","/auth/bindThirdPartyByPwd","/auth/registerByThirdParty","/auth/loginPwdBindWechat","/auth/loginCodeBindWechat","/auth/registerJoinCompanyBindWechat","/auth/registerUserCompBindWechat","/auth/registerJoinCompByThirdParty","/auth/registerJoinCompany","/auth/loginRegisterByAccount","/auth/autoLogin","/auth/completeCompRedirect","/auth/completeJoinCompanyRedirect","/auth/loginByFacebook","/auth/loginByLinkedin"]),Xe=()=>({domain:at(),path:"/",sameSite:"Lax"});function Ve(){return Z.get(Ee)||window.sessionStorage.getItem(Ee)||void 0}function Ze(){return Z.get("jc-language")}function en(e,t,n){const r=Xe();n?(Z.set(Fe,e,U(R({},r),{expires:30})),Z.set(De,t,U(R({},r),{expires:30}))):(Z.remove(Fe,r),Z.remove(De,r))}function _e(e){if(!e)return;const t=Xe(),n=Date.now();if(e.accessToken&&(Z.set(be,e.accessToken,U(R({},t),{expires:e.expireIn?e.expireIn/(3600*24):1})),Z.set(Ue,n.toString(),t)),e.expireIn){const r=n+e.expireIn*1e3;Z.set(Ge,e.expireIn.toString(),U(R({},t),{expires:e.expireIn?e.expireIn/(3600*24):1})),Z.set(me,r.toString(),U(R({},t),{expires:e.expireIn?e.expireIn/(3600*24):1}))}if(e.refreshToken&&Z.set(Ie,e.refreshToken,U(R({},t),{expires:e.refreshTokenExpireIn?e.refreshTokenExpireIn/(3600*24):1})),e.refreshTokenExpireIn){const r=n+e.refreshTokenExpireIn*1e3;Z.set(je,e.refreshTokenExpireIn.toString(),U(R({},t),{expires:e.refreshTokenExpireIn?e.refreshTokenExpireIn/(3600*24):1})),Z.set(Ke,r.toString(),U(R({},t),{expires:e.refreshTokenExpireIn?e.refreshTokenExpireIn/(3600*24):1}))}}function rn(){const e=Xe();[be,Ue,Ge,me,Ie,je,Ke,Ee].forEach(n=>Z.remove(n,e))}function Qe(){let e="";try{if(typeof process!="undefined"&&process.env&&(e=process.env.VUE_APP_ID||""),!e&&$e){const t=window.BASE_INFO;e=(t==null?void 0:t.VUE_APP_ID)||window.VUE_APP_ID||window.sessionStorage.getItem("VUE_APP_ID")||window.sessionStorage.getItem("_GIO-appId")||""}}catch(t){}return(e||"").trim()}function xt(e){var n;const t=(e==null?void 0:e.url)||"";if(!$e)return t;try{const r=((n=window.BASE_INFO)==null?void 0:n.VUE_APP_BASE_API)||window.location.origin;return new URL(t,r).pathname}catch(r){return t}}function Ye(){return Z.get(be)}function st(){return Z.get(Ie)}function ct(){const e=Z.get(me);return e?Number(e):0}function tn(){return{account:Z.get(Fe),password:Z.get(De)}}function Je(e){var t;if(typeof window=="undefined")return"-";try{return((t=window.sessionStorage)==null?void 0:t.getItem(e))||"-"}catch(n){return"-"}}function er(e){const t=String(e||"").replace(/[\u0000-\u001F\u007F]+/g," ").trim();return t?/^[\u0000-\u00FF]*$/.test(t)?t:encodeURIComponent(t):""}function ft(e={}){const t=e.fetch||(typeof window!="undefined"?window.fetch:void 0);if(!t)throw new Error("Fetch implementation is missing. Provide one in options or ensure it's available globally.");const{prefixPath:n}=a0(),r=(a,f,y,h)=>V(null,null,function*(){var c,p,F,E,D;const v=e.baseURL||n||"",i=a.startsWith("http")?a:v+a,o=h!=null&&h.params?"?"+new URLSearchParams(h.params).toString():"",B=R({"Content-Type":"application/json"},h==null?void 0:h.headers),x=Ye(),u=Qe(),d=Ve(),C=Ze(),g=B["app-id"]||B["APP-ID"]||u;B["APP-ID"]=g,B["Accept-Language"]=C||"en-US";const s=er(Je("_GIO-pageCode"));!B.pageCode&&!B["page-code"]&&s&&(B.pageCode=s),localStorage.getItem("clientId")&&(B["client-uid"]=localStorage.getItem("clientId")),B["app-id"]&&delete B["app-id"],x&&(h==null?void 0:h.isToken)!==!1&&(B.Authorization=`Bearer ${x}`),d&&(B["popular-channel"]=String(d));try{const b=y&&typeof y=="object"?JSON.stringify(y):y,k=yield t(i+o,{method:f,headers:B,body:f!=="GET"?b:void 0});let A,_;k&&typeof k.json=="function"?(A=yield k.json(),_=k.status):(A=k,_=200),console.log("🍉 ~ fetch.ts:95 ~ wrapFetch ~ result:",A);const I=a.split("?")[0];return Me.has(I)&&((c=A==null?void 0:A.data)!=null&&c.result)&&_e(A.data.result),(p=A==null?void 0:A.data)!=null&&p.verifyCode&&((F=A==null?void 0:A.data)!=null&&F.result)&&typeof window!="undefined"&&typeof window.gdp=="function"&&window.gdp("track","submitAuthCode",{verifyCode:(E=A==null?void 0:A.data)==null?void 0:E.verifyCode,registerEntry_var:sessionStorage.getItem("_GIO-registerEntry")||"-"}),(A==null?void 0:A.code)===401&&e.onUnauthorized&&e.onUnauthorized(),{data:A,status:_}}catch(b){const k=((D=b==null?void 0:b.response)==null?void 0:D._data)||(b==null?void 0:b.data);return(k==null?void 0:k.code)===401&&e.onUnauthorized&&e.onUnauthorized(),Promise.reject(b)}});return{get:(a,f)=>r(a,"GET",void 0,f),post:(a,f,y)=>r(a,"POST",f,y)}}let nn=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((t,n)=>(n&=63,n<36?t+=n.toString(36):n<62?t+=(n-26).toString(36).toUpperCase():n>62?t+="-":t+="_",t),"");const rr="clientId",tr="sessionClientId";function dt(){return nn()}function ut(){return typeof localStorage=="undefined"?null:localStorage.getItem(rr)}function ht(){return typeof sessionStorage=="undefined"?null:sessionStorage.getItem(tr)}function on(e){typeof localStorage!="undefined"&&localStorage.setItem(rr,e)}function lt(e){typeof sessionStorage!="undefined"&&sessionStorage.setItem(tr,e)}function nr(){const e=ut();if(e)return e;const t=ht();if(t)return t;const n=dt();return lt(n),n}function an(){typeof localStorage!="undefined"&&localStorage.removeItem(rr),typeof sessionStorage!="undefined"&&sessionStorage.removeItem(tr)}function xn(){return ut()||ht()||null}function pt(e,t={}){const{headerName:n="client-uid"}=t;e.interceptors.request.use(r=>{const a=nr();return r.headers[n]=a,r})}let ze=!1,He=[];function sn(e={}){const{prefixPath:t}=a0(),n=gr.create({baseURL:e.baseURL||t||"",timeout:15e3});return pt(n,{headerName:"client-uid"}),n.interceptors.request.use(r=>V(null,null,function*(){var B;const a=Qe(),f=Ve(),y=Ye(),h=Ze(),i=r.headers["app-id"]||r.headers["APP-ID"]||a;r.headers["APP-ID"]=i,r.headers["Accept-Language"]=h||"en-US";const o=er(Je("_GIO-pageCode"));if(!r.headers.pageCode&&!r.headers["page-code"]&&o&&(r.headers.pageCode=o),r.headers["app-id"]&&delete r.headers["app-id"],f&&(r.headers["popular-channel"]=f),y&&((B=r.headers)==null?void 0:B.isToken)!==!1){const x=ct(),u=st(),d=Date.now(),C=300*1e3;if(u&&x>0&&x-d<=C&&x-d>0)return ze||(ze=!0,gr.post(`${n.defaults.baseURL}/auth/refreshToken`,{refreshToken:u},{headers:{"APP-ID":i}}).then(l=>{if(l.data.code===0){_e(l.data.data);const g=l.data.data.accessToken;He.forEach(s=>s(g)),He=[]}}).finally(()=>{ze=!1})),new Promise(l=>{He.push(g=>{r.headers.Authorization=`Bearer ${g}`,l(r)})});r.headers.Authorization=`Bearer ${y}`}return r})),n.interceptors.response.use(r=>{const{code:a,data:f}=r.data,y=xt(r.config);return Me.has(y)&&(f!=null&&f.result)&&_e(f.result),f.verifyCode&&f.result&&typeof window!="undefined"&&typeof window.gdp=="function"&&window.gdp("track","submitAuthCode",{verifyCode:f.verifyCode,registerEntry_var:sessionStorage.getItem("_GIO-registerEntry")||"-"}),a===401&&e.onUnauthorized&&e.onUnauthorized(),r},r=>Promise.reject(r)),{get:(r,a)=>n.get(r,R({},a)).then(f=>({data:f.data,status:f.status})),post:(r,a,f)=>n.post(r,a,R({},f)).then(y=>({data:y.data,status:y.status}))}}function vt(e){return sn(e)}function cn(){const e=typeof globalThis!="undefined"&&typeof globalThis.fetch=="function"?globalThis.fetch.bind(globalThis):void 0;return e?ft({fetch:e}):vt()}let k0=cn();function fn(e,t){switch(e){case"fetch":k0=ft(t);break;case"axios":default:k0=vt(t);break}return k0}const n0={get:(...e)=>k0.get(...e),post:(...e)=>k0.post(...e)},dn=()=>a0().oldBasePath,un={Continent:"continentId",Country:"countryId",City:"cityId",Province:"provinceId",Seaport:"seaportId",Airport:"airportId"},hn=["City","Seaport","Airport","Country","Region"].filter(Boolean);function A0(e,t){return e==="allCityByCountryId"?Array.isArray(t)?String(t[0]):String(t):Array.isArray(t)?JSON.stringify(t):JSON.stringify([Number(t)])}function ln(e){const t=[];if(e.ids)for(const n of e.ids){const r=un[n.type];t.push({name:r,val:A0(r,n.ids)})}return e.scope&&(e.scope.countryId!==void 0&&e.scope.countryId!==null&&t.push({name:"countryId",val:A0("countryId",[e.scope.countryId])}),e.scope.cityId!==void 0&&e.scope.cityId!==null&&t.push({name:"cityId",val:A0("cityId",[e.scope.cityId])}),e.scope.provinceId!==void 0&&e.scope.provinceId!==null&&t.push({name:"provinceId",val:A0("provinceId",[e.scope.provinceId])})),t}function f0(e){var r,a,f,y;const t={current:(r=e.page)!=null?r:1,size:(a=e.size)!=null?a:10,level:e.level,searchContent:(f=e.keyword)!=null?f:void 0,displayInfo:(y=e.displayInfo)!=null?y:hn,sort:e.sort},n=ln({ids:e.ids,scope:e.scope});return t.appointSearch=[...n,...e.extraAppoint||[]],Object.keys(t).forEach(h=>{t[h]===void 0&&delete t[h]}),t}function pn(e,t,n){const r=We(),a=(i,o)=>{var u,d,C;if(!i)return"";const B=(d=(u=i.nameCn)!=null?u:i[`${o.toLowerCase()}NameCn`])!=null?d:i.name,x=(C=i.nameEn)!=null?C:i[`${o.toLowerCase()}NameEn`];return r?x||B||"":B||x||""},f=a(e,t),y=a(n.country,"country"),h=a(n.city,"city"),v=a(n.continent,"continent");switch(t){case"Seaport":case"Airport":const i=[h,y].filter(Boolean).join(", ");return i?`${f} (${i})`:f;case"City":case"Province":return y?`${f} (${y})`:f;case"Country":return v?`${f} (${v})`:f;default:return f}}function s0(e=[],t=[]){var f,y,h,v;const n=[];function r(i,o,B){var l,g,s,c,p,F,E,D,b,k,A;if(!i||!t.includes(o))return;const x=(g=(l=i.id)!=null?l:i[o.toLowerCase()+"Id"])!=null?g:null;if(x==null)return;const u=(p=(c=(s=i.nameCn)!=null?s:i[`${o.toLowerCase()}NameCn`])!=null?c:i.name)!=null?p:void 0,d=(E=(F=i.nameEn)!=null?F:i[`${o.toLowerCase()}NameEn`])!=null?E:void 0,C=pn(i,o,B)||u||d||"";n.push({id:x,type:o,nameCn:u,nameEn:d,display:C,continent:(D=B.continent)!=null?D:void 0,country:(b=B.country)!=null?b:void 0,city:(k=B.city)!=null?k:void 0,province:(A=B.province)!=null?A:void 0,raw:i})}for(const i of e){const o={continent:(f=i.continent)!=null?f:void 0,country:(y=i.country)!=null?y:void 0,city:(h=i.city)!=null?h:void 0,province:(v=i.province)!=null?v:void 0};let B=!1;if(["Continent","Country","Province","City","Seaport","Airport"].forEach(u=>{const d=u.toLowerCase();i[d]&&(r(i[d],u,o),B=!0)}),!B&&i.id!==void 0){let u;i.type&&t.includes(i.type)?u=i.type:t.length===1&&(u=t[0]),u&&r(i,u,o)}}const a=new Set;return n.filter(i=>{const o=`${i.type}_${i.id}`;return a.has(o)?!1:(a.add(o),!0)})}function c0(e){return V(this,null,function*(){return(yield n0.post(dn(),e)).data})}function P0(e){return V(this,null,function*(){var a;const t=f0({keyword:e.keyword,displayInfo:e.displayInfo,page:e.page,size:e.size,level:e.level,sort:e.sort,ids:e.ids,scope:e.scope,extraAppoint:e.extraAppoint}),n=yield c0(t),r=s0(((a=n.data)==null?void 0:a.records)||[],t.displayInfo||[]);return U(R({},n),{records:r})})}function ir(e){return V(this,null,function*(){var n;if(!((n=e.keyword)!=null&&n.trim()))throw new Error("searchByName: keyword 不能为空");const t=e.types&&e.types.length>0?e.types:["Continent","Country","City","Province","Seaport","Airport"];return P0({keyword:e.keyword.trim(),displayInfo:t,page:e.page,size:e.size,level:e.level,sort:e.sort})})}function Ct(e,t){return V(this,null,function*(){const n=Array.isArray(t)?t:[t],r=[e],a=f0({displayInfo:r,ids:[{type:e,ids:n}]}),f=yield c0(a);return s0(f.records||[],r).filter(h=>h.type===e)})}function vn(e,t){return V(this,null,function*(){var r;return(r=(yield Ct(e,[t]))[0])!=null?r:null})}function Cn(e,t){return V(this,null,function*(){var f,y;const n=["City"],r=f0({displayInfo:n,page:(f=t==null?void 0:t.page)!=null?f:1,size:(y=t==null?void 0:t.size)!=null?y:1e3,extraAppoint:[{name:"allCityByCountryId",val:A0("allCityByCountryId",e)}]}),a=yield c0(r);return U(R({},a),{records:s0(a.records||[],n)})})}function Bn(e,t,n){return V(this,null,function*(){var y,h;if(!t||t.length===0)throw new Error("childTypes 必须至少包含一个:Seaport | Airport");const r=t,a=f0({displayInfo:r,page:(y=n==null?void 0:n.page)!=null?y:1,size:(h=n==null?void 0:n.size)!=null?h:1e3,extraAppoint:[{name:"cityId",val:A0("cityId",[e])}]}),f=yield c0(a);return U(R({},f),{records:s0(f.records||[],r)})})}function An(e,t){return ir({keyword:e,types:["Country"],page:t==null?void 0:t.page,size:t==null?void 0:t.size})}function yn(e,t){return t!=null&&t.countryId?P0({keyword:e,displayInfo:["City"],scope:{countryId:t.countryId},page:t.page,size:t.size}):ir({keyword:e,types:["City"],page:t==null?void 0:t.page,size:t==null?void 0:t.size})}function gn(e,t){return P0({keyword:e,displayInfo:["Seaport"],scope:t!=null&&t.cityId?{cityId:t.cityId}:void 0,page:t==null?void 0:t.page,size:t==null?void 0:t.size})}function En(e,t){return P0({keyword:e,displayInfo:["Airport"],scope:t!=null&&t.cityId?{cityId:t.cityId}:void 0,page:t==null?void 0:t.page,size:t==null?void 0:t.size})}function Fn(){return V(this,arguments,function*(e={}){var r,a;const t=["Continent"],n=yield c0({current:(r=e.page)!=null?r:1,size:(a=e.size)!=null?a:10,level:1,displayInfo:t});return U(R({},n),{records:s0(n.records||[],t)})})}function Dn(){return V(this,arguments,function*(e={}){var a,f;const t=["Country"],n=f0({displayInfo:t,page:(a=e.page)!=null?a:1,size:(f=e.size)!=null?f:10,ids:e.ids?[{type:"Country",ids:e.ids}]:void 0}),r=yield c0(n);return U(R({},r),{records:s0(r.records||[],t)})})}function _n(){return V(this,arguments,function*(e={}){var a,f;const t=["City"],n=f0({displayInfo:t,page:(a=e.page)!=null?a:1,size:(f=e.size)!=null?f:10,ids:e.ids?[{type:"City",ids:e.ids}]:void 0,scope:e.countryId?{countryId:e.countryId}:void 0}),r=yield c0(n);return U(R({},r),{records:s0(r.records||[],t)})})}function bn(){return V(this,arguments,function*(e={}){var a,f;const t=["Province"],n=f0({displayInfo:t,page:(a=e.page)!=null?a:1,size:(f=e.size)!=null?f:10,ids:e.ids?[{type:"Province",ids:e.ids}]:void 0,scope:e.countryId?{countryId:e.countryId}:void 0}),r=yield c0(n);return U(R({},r),{records:s0(r.records||[],t)})})}function mn(){return V(this,arguments,function*(e={}){var a,f;const t=["Seaport"],n=f0({displayInfo:t,page:(a=e.page)!=null?a:1,size:(f=e.size)!=null?f:10,ids:e.ids?[{type:"Seaport",ids:e.ids}]:void 0,scope:e.cityId?{cityId:e.cityId}:e.countryId?{countryId:e.countryId}:void 0}),r=yield c0(n);return U(R({},r),{records:s0(r.records||[],t)})})}function In(){return V(this,arguments,function*(e={}){var a,f;const t=["Airport"],n=f0({displayInfo:t,page:(a=e.page)!=null?a:1,size:(f=e.size)!=null?f:10,ids:e.ids?[{type:"Airport",ids:e.ids}]:void 0,scope:e.cityId?{cityId:e.cityId}:e.countryId?{countryId:e.countryId}:void 0}),r=yield c0(n);return U(R({},r),{records:s0(r.records||[],t)})})}var Le=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function wn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Sn(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}),n}var O0={exports:{}};function kn(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var W0={exports:{}};const Pn={},Tn=Object.freeze(Object.defineProperty({__proto__:null,default:Pn},Symbol.toStringTag,{value:"Module"})),Rn=Sn(Tn);var zn=W0.exports,Er;function N(){return Er||(Er=1,(function(e,t){(function(n,r){e.exports=r()})(zn,function(){var n=n||(function(r,a){var f;if(typeof window!="undefined"&&window.crypto&&(f=window.crypto),typeof self!="undefined"&&self.crypto&&(f=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(f=globalThis.crypto),!f&&typeof window!="undefined"&&window.msCrypto&&(f=window.msCrypto),!f&&typeof Le!="undefined"&&Le.crypto&&(f=Le.crypto),!f&&typeof kn=="function")try{f=Rn}catch(s){}var y=function(){if(f){if(typeof f.getRandomValues=="function")try{return f.getRandomValues(new Uint32Array(1))[0]}catch(s){}if(typeof f.randomBytes=="function")try{return f.randomBytes(4).readInt32LE()}catch(s){}}throw new Error("Native crypto module could not be used to get secure random number.")},h=Object.create||(function(){function s(){}return function(c){var p;return s.prototype=c,p=new s,s.prototype=null,p}})(),v={},i=v.lib={},o=i.Base=(function(){return{extend:function(s){var c=h(this);return s&&c.mixIn(s),(!c.hasOwnProperty("init")||this.init===c.init)&&(c.init=function(){c.$super.init.apply(this,arguments)}),c.init.prototype=c,c.$super=this,c},create:function(){var s=this.extend();return s.init.apply(s,arguments),s},init:function(){},mixIn:function(s){for(var c in s)s.hasOwnProperty(c)&&(this[c]=s[c]);s.hasOwnProperty("toString")&&(this.toString=s.toString)},clone:function(){return this.init.prototype.extend(this)}}})(),B=i.WordArray=o.extend({init:function(s,c){s=this.words=s||[],c!=a?this.sigBytes=c:this.sigBytes=s.length*4},toString:function(s){return(s||u).stringify(this)},concat:function(s){var c=this.words,p=s.words,F=this.sigBytes,E=s.sigBytes;if(this.clamp(),F%4)for(var D=0;D<E;D++){var b=p[D>>>2]>>>24-D%4*8&255;c[F+D>>>2]|=b<<24-(F+D)%4*8}else for(var k=0;k<E;k+=4)c[F+k>>>2]=p[k>>>2];return this.sigBytes+=E,this},clamp:function(){var s=this.words,c=this.sigBytes;s[c>>>2]&=4294967295<<32-c%4*8,s.length=r.ceil(c/4)},clone:function(){var s=o.clone.call(this);return s.words=this.words.slice(0),s},random:function(s){for(var c=[],p=0;p<s;p+=4)c.push(y());return new B.init(c,s)}}),x=v.enc={},u=x.Hex={stringify:function(s){for(var c=s.words,p=s.sigBytes,F=[],E=0;E<p;E++){var D=c[E>>>2]>>>24-E%4*8&255;F.push((D>>>4).toString(16)),F.push((D&15).toString(16))}return F.join("")},parse:function(s){for(var c=s.length,p=[],F=0;F<c;F+=2)p[F>>>3]|=parseInt(s.substr(F,2),16)<<24-F%8*4;return new B.init(p,c/2)}},d=x.Latin1={stringify:function(s){for(var c=s.words,p=s.sigBytes,F=[],E=0;E<p;E++){var D=c[E>>>2]>>>24-E%4*8&255;F.push(String.fromCharCode(D))}return F.join("")},parse:function(s){for(var c=s.length,p=[],F=0;F<c;F++)p[F>>>2]|=(s.charCodeAt(F)&255)<<24-F%4*8;return new B.init(p,c)}},C=x.Utf8={stringify:function(s){try{return decodeURIComponent(escape(d.stringify(s)))}catch(c){throw new Error("Malformed UTF-8 data")}},parse:function(s){return d.parse(unescape(encodeURIComponent(s)))}},l=i.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new B.init,this._nDataBytes=0},_append:function(s){typeof s=="string"&&(s=C.parse(s)),this._data.concat(s),this._nDataBytes+=s.sigBytes},_process:function(s){var c,p=this._data,F=p.words,E=p.sigBytes,D=this.blockSize,b=D*4,k=E/b;s?k=r.ceil(k):k=r.max((k|0)-this._minBufferSize,0);var A=k*D,_=r.min(A*4,E);if(A){for(var I=0;I<A;I+=D)this._doProcessBlock(F,I);c=F.splice(0,A),p.sigBytes-=_}return new B.init(c,_)},clone:function(){var s=o.clone.call(this);return s._data=this._data.clone(),s},_minBufferSize:0});i.Hasher=l.extend({cfg:o.extend(),init:function(s){this.cfg=this.cfg.extend(s),this.reset()},reset:function(){l.reset.call(this),this._doReset()},update:function(s){return this._append(s),this._process(),this},finalize:function(s){s&&this._append(s);var c=this._doFinalize();return c},blockSize:16,_createHelper:function(s){return function(c,p){return new s.init(p).finalize(c)}},_createHmacHelper:function(s){return function(c,p){return new g.HMAC.init(s,p).finalize(c)}}});var g=v.algo={};return v})(Math);return n})})(W0)),W0.exports}var $0={exports:{}},Hn=$0.exports,Fr;function we(){return Fr||(Fr=1,(function(e,t){(function(n,r){e.exports=r(N())})(Hn,function(n){return(function(r){var a=n,f=a.lib,y=f.Base,h=f.WordArray,v=a.x64={};v.Word=y.extend({init:function(i,o){this.high=i,this.low=o}}),v.WordArray=y.extend({init:function(i,o){i=this.words=i||[],o!=r?this.sigBytes=o:this.sigBytes=i.length*8},toX32:function(){for(var i=this.words,o=i.length,B=[],x=0;x<o;x++){var u=i[x];B.push(u.high),B.push(u.low)}return h.create(B,this.sigBytes)},clone:function(){for(var i=y.clone.call(this),o=i.words=this.words.slice(0),B=o.length,x=0;x<B;x++)o[x]=o[x].clone();return i}})})(),n})})($0)),$0.exports}var U0={exports:{}},Ln=U0.exports,Dr;function qn(){return Dr||(Dr=1,(function(e,t){(function(n,r){e.exports=r(N())})(Ln,function(n){return(function(){if(typeof ArrayBuffer=="function"){var r=n,a=r.lib,f=a.WordArray,y=f.init,h=f.init=function(v){if(v instanceof ArrayBuffer&&(v=new Uint8Array(v)),(v instanceof Int8Array||typeof Uint8ClampedArray!="undefined"&&v instanceof Uint8ClampedArray||v instanceof Int16Array||v instanceof Uint16Array||v instanceof Int32Array||v instanceof Uint32Array||v instanceof Float32Array||v instanceof Float64Array)&&(v=new Uint8Array(v.buffer,v.byteOffset,v.byteLength)),v instanceof Uint8Array){for(var i=v.byteLength,o=[],B=0;B<i;B++)o[B>>>2]|=v[B]<<24-B%4*8;y.call(this,o,i)}else y.apply(this,arguments)};h.prototype=f}})(),n.lib.WordArray})})(U0)),U0.exports}var G0={exports:{}},Nn=G0.exports,_r;function On(){return _r||(_r=1,(function(e,t){(function(n,r){e.exports=r(N())})(Nn,function(n){return(function(){var r=n,a=r.lib,f=a.WordArray,y=r.enc;y.Utf16=y.Utf16BE={stringify:function(v){for(var i=v.words,o=v.sigBytes,B=[],x=0;x<o;x+=2){var u=i[x>>>2]>>>16-x%4*8&65535;B.push(String.fromCharCode(u))}return B.join("")},parse:function(v){for(var i=v.length,o=[],B=0;B<i;B++)o[B>>>1]|=v.charCodeAt(B)<<16-B%2*16;return f.create(o,i*2)}},y.Utf16LE={stringify:function(v){for(var i=v.words,o=v.sigBytes,B=[],x=0;x<o;x+=2){var u=h(i[x>>>2]>>>16-x%4*8&65535);B.push(String.fromCharCode(u))}return B.join("")},parse:function(v){for(var i=v.length,o=[],B=0;B<i;B++)o[B>>>1]|=h(v.charCodeAt(B)<<16-B%2*16);return f.create(o,i*2)}};function h(v){return v<<8&4278255360|v>>>8&16711935}})(),n.enc.Utf16})})(G0)),G0.exports}var j0={exports:{}},Wn=j0.exports,br;function l0(){return br||(br=1,(function(e,t){(function(n,r){e.exports=r(N())})(Wn,function(n){return(function(){var r=n,a=r.lib,f=a.WordArray,y=r.enc;y.Base64={stringify:function(v){var i=v.words,o=v.sigBytes,B=this._map;v.clamp();for(var x=[],u=0;u<o;u+=3)for(var d=i[u>>>2]>>>24-u%4*8&255,C=i[u+1>>>2]>>>24-(u+1)%4*8&255,l=i[u+2>>>2]>>>24-(u+2)%4*8&255,g=d<<16|C<<8|l,s=0;s<4&&u+s*.75<o;s++)x.push(B.charAt(g>>>6*(3-s)&63));var c=B.charAt(64);if(c)for(;x.length%4;)x.push(c);return x.join("")},parse:function(v){var i=v.length,o=this._map,B=this._reverseMap;if(!B){B=this._reverseMap=[];for(var x=0;x<o.length;x++)B[o.charCodeAt(x)]=x}var u=o.charAt(64);if(u){var d=v.indexOf(u);d!==-1&&(i=d)}return h(v,i,B)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function h(v,i,o){for(var B=[],x=0,u=0;u<i;u++)if(u%4){var d=o[v.charCodeAt(u-1)]<<u%4*2,C=o[v.charCodeAt(u)]>>>6-u%4*2,l=d|C;B[x>>>2]|=l<<24-x%4*8,x++}return f.create(B,x)}})(),n.enc.Base64})})(j0)),j0.exports}var K0={exports:{}},$n=K0.exports,mr;function Un(){return mr||(mr=1,(function(e,t){(function(n,r){e.exports=r(N())})($n,function(n){return(function(){var r=n,a=r.lib,f=a.WordArray,y=r.enc;y.Base64url={stringify:function(v,i){i===void 0&&(i=!0);var o=v.words,B=v.sigBytes,x=i?this._safe_map:this._map;v.clamp();for(var u=[],d=0;d<B;d+=3)for(var C=o[d>>>2]>>>24-d%4*8&255,l=o[d+1>>>2]>>>24-(d+1)%4*8&255,g=o[d+2>>>2]>>>24-(d+2)%4*8&255,s=C<<16|l<<8|g,c=0;c<4&&d+c*.75<B;c++)u.push(x.charAt(s>>>6*(3-c)&63));var p=x.charAt(64);if(p)for(;u.length%4;)u.push(p);return u.join("")},parse:function(v,i){i===void 0&&(i=!0);var o=v.length,B=i?this._safe_map:this._map,x=this._reverseMap;if(!x){x=this._reverseMap=[];for(var u=0;u<B.length;u++)x[B.charCodeAt(u)]=u}var d=B.charAt(64);if(d){var C=v.indexOf(d);C!==-1&&(o=C)}return h(v,o,x)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function h(v,i,o){for(var B=[],x=0,u=0;u<i;u++)if(u%4){var d=o[v.charCodeAt(u-1)]<<u%4*2,C=o[v.charCodeAt(u)]>>>6-u%4*2,l=d|C;B[x>>>2]|=l<<24-x%4*8,x++}return f.create(B,x)}})(),n.enc.Base64url})})(K0)),K0.exports}var M0={exports:{}},Gn=M0.exports,Ir;function p0(){return Ir||(Ir=1,(function(e,t){(function(n,r){e.exports=r(N())})(Gn,function(n){return(function(r){var a=n,f=a.lib,y=f.WordArray,h=f.Hasher,v=a.algo,i=[];(function(){for(var C=0;C<64;C++)i[C]=r.abs(r.sin(C+1))*4294967296|0})();var o=v.MD5=h.extend({_doReset:function(){this._hash=new y.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(C,l){for(var g=0;g<16;g++){var s=l+g,c=C[s];C[s]=(c<<8|c>>>24)&16711935|(c<<24|c>>>8)&4278255360}var p=this._hash.words,F=C[l+0],E=C[l+1],D=C[l+2],b=C[l+3],k=C[l+4],A=C[l+5],_=C[l+6],I=C[l+7],w=C[l+8],z=C[l+9],H=C[l+10],L=C[l+11],K=C[l+12],W=C[l+13],G=C[l+14],$=C[l+15],m=p[0],P=p[1],T=p[2],S=p[3];m=B(m,P,T,S,F,7,i[0]),S=B(S,m,P,T,E,12,i[1]),T=B(T,S,m,P,D,17,i[2]),P=B(P,T,S,m,b,22,i[3]),m=B(m,P,T,S,k,7,i[4]),S=B(S,m,P,T,A,12,i[5]),T=B(T,S,m,P,_,17,i[6]),P=B(P,T,S,m,I,22,i[7]),m=B(m,P,T,S,w,7,i[8]),S=B(S,m,P,T,z,12,i[9]),T=B(T,S,m,P,H,17,i[10]),P=B(P,T,S,m,L,22,i[11]),m=B(m,P,T,S,K,7,i[12]),S=B(S,m,P,T,W,12,i[13]),T=B(T,S,m,P,G,17,i[14]),P=B(P,T,S,m,$,22,i[15]),m=x(m,P,T,S,E,5,i[16]),S=x(S,m,P,T,_,9,i[17]),T=x(T,S,m,P,L,14,i[18]),P=x(P,T,S,m,F,20,i[19]),m=x(m,P,T,S,A,5,i[20]),S=x(S,m,P,T,H,9,i[21]),T=x(T,S,m,P,$,14,i[22]),P=x(P,T,S,m,k,20,i[23]),m=x(m,P,T,S,z,5,i[24]),S=x(S,m,P,T,G,9,i[25]),T=x(T,S,m,P,b,14,i[26]),P=x(P,T,S,m,w,20,i[27]),m=x(m,P,T,S,W,5,i[28]),S=x(S,m,P,T,D,9,i[29]),T=x(T,S,m,P,I,14,i[30]),P=x(P,T,S,m,K,20,i[31]),m=u(m,P,T,S,A,4,i[32]),S=u(S,m,P,T,w,11,i[33]),T=u(T,S,m,P,L,16,i[34]),P=u(P,T,S,m,G,23,i[35]),m=u(m,P,T,S,E,4,i[36]),S=u(S,m,P,T,k,11,i[37]),T=u(T,S,m,P,I,16,i[38]),P=u(P,T,S,m,H,23,i[39]),m=u(m,P,T,S,W,4,i[40]),S=u(S,m,P,T,F,11,i[41]),T=u(T,S,m,P,b,16,i[42]),P=u(P,T,S,m,_,23,i[43]),m=u(m,P,T,S,z,4,i[44]),S=u(S,m,P,T,K,11,i[45]),T=u(T,S,m,P,$,16,i[46]),P=u(P,T,S,m,D,23,i[47]),m=d(m,P,T,S,F,6,i[48]),S=d(S,m,P,T,I,10,i[49]),T=d(T,S,m,P,G,15,i[50]),P=d(P,T,S,m,A,21,i[51]),m=d(m,P,T,S,K,6,i[52]),S=d(S,m,P,T,b,10,i[53]),T=d(T,S,m,P,H,15,i[54]),P=d(P,T,S,m,E,21,i[55]),m=d(m,P,T,S,w,6,i[56]),S=d(S,m,P,T,$,10,i[57]),T=d(T,S,m,P,_,15,i[58]),P=d(P,T,S,m,W,21,i[59]),m=d(m,P,T,S,k,6,i[60]),S=d(S,m,P,T,L,10,i[61]),T=d(T,S,m,P,D,15,i[62]),P=d(P,T,S,m,z,21,i[63]),p[0]=p[0]+m|0,p[1]=p[1]+P|0,p[2]=p[2]+T|0,p[3]=p[3]+S|0},_doFinalize:function(){var C=this._data,l=C.words,g=this._nDataBytes*8,s=C.sigBytes*8;l[s>>>5]|=128<<24-s%32;var c=r.floor(g/4294967296),p=g;l[(s+64>>>9<<4)+15]=(c<<8|c>>>24)&16711935|(c<<24|c>>>8)&4278255360,l[(s+64>>>9<<4)+14]=(p<<8|p>>>24)&16711935|(p<<24|p>>>8)&4278255360,C.sigBytes=(l.length+1)*4,this._process();for(var F=this._hash,E=F.words,D=0;D<4;D++){var b=E[D];E[D]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360}return F},clone:function(){var C=h.clone.call(this);return C._hash=this._hash.clone(),C}});function B(C,l,g,s,c,p,F){var E=C+(l&g|~l&s)+c+F;return(E<<p|E>>>32-p)+l}function x(C,l,g,s,c,p,F){var E=C+(l&s|g&~s)+c+F;return(E<<p|E>>>32-p)+l}function u(C,l,g,s,c,p,F){var E=C+(l^g^s)+c+F;return(E<<p|E>>>32-p)+l}function d(C,l,g,s,c,p,F){var E=C+(g^(l|~s))+c+F;return(E<<p|E>>>32-p)+l}a.MD5=h._createHelper(o),a.HmacMD5=h._createHmacHelper(o)})(Math),n.MD5})})(M0)),M0.exports}var X0={exports:{}},jn=X0.exports,wr;function Bt(){return wr||(wr=1,(function(e,t){(function(n,r){e.exports=r(N())})(jn,function(n){return(function(){var r=n,a=r.lib,f=a.WordArray,y=a.Hasher,h=r.algo,v=[],i=h.SHA1=y.extend({_doReset:function(){this._hash=new f.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(o,B){for(var x=this._hash.words,u=x[0],d=x[1],C=x[2],l=x[3],g=x[4],s=0;s<80;s++){if(s<16)v[s]=o[B+s]|0;else{var c=v[s-3]^v[s-8]^v[s-14]^v[s-16];v[s]=c<<1|c>>>31}var p=(u<<5|u>>>27)+g+v[s];s<20?p+=(d&C|~d&l)+1518500249:s<40?p+=(d^C^l)+1859775393:s<60?p+=(d&C|d&l|C&l)-1894007588:p+=(d^C^l)-899497514,g=l,l=C,C=d<<30|d>>>2,d=u,u=p}x[0]=x[0]+u|0,x[1]=x[1]+d|0,x[2]=x[2]+C|0,x[3]=x[3]+l|0,x[4]=x[4]+g|0},_doFinalize:function(){var o=this._data,B=o.words,x=this._nDataBytes*8,u=o.sigBytes*8;return B[u>>>5]|=128<<24-u%32,B[(u+64>>>9<<4)+14]=Math.floor(x/4294967296),B[(u+64>>>9<<4)+15]=x,o.sigBytes=B.length*4,this._process(),this._hash},clone:function(){var o=y.clone.call(this);return o._hash=this._hash.clone(),o}});r.SHA1=y._createHelper(i),r.HmacSHA1=y._createHmacHelper(i)})(),n.SHA1})})(X0)),X0.exports}var V0={exports:{}},Kn=V0.exports,Sr;function or(){return Sr||(Sr=1,(function(e,t){(function(n,r){e.exports=r(N())})(Kn,function(n){return(function(r){var a=n,f=a.lib,y=f.WordArray,h=f.Hasher,v=a.algo,i=[],o=[];(function(){function u(g){for(var s=r.sqrt(g),c=2;c<=s;c++)if(!(g%c))return!1;return!0}function d(g){return(g-(g|0))*4294967296|0}for(var C=2,l=0;l<64;)u(C)&&(l<8&&(i[l]=d(r.pow(C,1/2))),o[l]=d(r.pow(C,1/3)),l++),C++})();var B=[],x=v.SHA256=h.extend({_doReset:function(){this._hash=new y.init(i.slice(0))},_doProcessBlock:function(u,d){for(var C=this._hash.words,l=C[0],g=C[1],s=C[2],c=C[3],p=C[4],F=C[5],E=C[6],D=C[7],b=0;b<64;b++){if(b<16)B[b]=u[d+b]|0;else{var k=B[b-15],A=(k<<25|k>>>7)^(k<<14|k>>>18)^k>>>3,_=B[b-2],I=(_<<15|_>>>17)^(_<<13|_>>>19)^_>>>10;B[b]=A+B[b-7]+I+B[b-16]}var w=p&F^~p&E,z=l&g^l&s^g&s,H=(l<<30|l>>>2)^(l<<19|l>>>13)^(l<<10|l>>>22),L=(p<<26|p>>>6)^(p<<21|p>>>11)^(p<<7|p>>>25),K=D+L+w+o[b]+B[b],W=H+z;D=E,E=F,F=p,p=c+K|0,c=s,s=g,g=l,l=K+W|0}C[0]=C[0]+l|0,C[1]=C[1]+g|0,C[2]=C[2]+s|0,C[3]=C[3]+c|0,C[4]=C[4]+p|0,C[5]=C[5]+F|0,C[6]=C[6]+E|0,C[7]=C[7]+D|0},_doFinalize:function(){var u=this._data,d=u.words,C=this._nDataBytes*8,l=u.sigBytes*8;return d[l>>>5]|=128<<24-l%32,d[(l+64>>>9<<4)+14]=r.floor(C/4294967296),d[(l+64>>>9<<4)+15]=C,u.sigBytes=d.length*4,this._process(),this._hash},clone:function(){var u=h.clone.call(this);return u._hash=this._hash.clone(),u}});a.SHA256=h._createHelper(x),a.HmacSHA256=h._createHmacHelper(x)})(Math),n.SHA256})})(V0)),V0.exports}var Z0={exports:{}},Mn=Z0.exports,kr;function Xn(){return kr||(kr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),or())})(Mn,function(n){return(function(){var r=n,a=r.lib,f=a.WordArray,y=r.algo,h=y.SHA256,v=y.SHA224=h.extend({_doReset:function(){this._hash=new f.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var i=h._doFinalize.call(this);return i.sigBytes-=4,i}});r.SHA224=h._createHelper(v),r.HmacSHA224=h._createHmacHelper(v)})(),n.SHA224})})(Z0)),Z0.exports}var Q0={exports:{}},Vn=Q0.exports,Pr;function At(){return Pr||(Pr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),we())})(Vn,function(n){return(function(){var r=n,a=r.lib,f=a.Hasher,y=r.x64,h=y.Word,v=y.WordArray,i=r.algo;function o(){return h.create.apply(h,arguments)}var B=[o(1116352408,3609767458),o(1899447441,602891725),o(3049323471,3964484399),o(3921009573,2173295548),o(961987163,4081628472),o(1508970993,3053834265),o(2453635748,2937671579),o(2870763221,3664609560),o(3624381080,2734883394),o(310598401,1164996542),o(607225278,1323610764),o(1426881987,3590304994),o(1925078388,4068182383),o(2162078206,991336113),o(2614888103,633803317),o(3248222580,3479774868),o(3835390401,2666613458),o(4022224774,944711139),o(264347078,2341262773),o(604807628,2007800933),o(770255983,1495990901),o(1249150122,1856431235),o(1555081692,3175218132),o(1996064986,2198950837),o(2554220882,3999719339),o(2821834349,766784016),o(2952996808,2566594879),o(3210313671,3203337956),o(3336571891,1034457026),o(3584528711,2466948901),o(113926993,3758326383),o(338241895,168717936),o(666307205,1188179964),o(773529912,1546045734),o(1294757372,1522805485),o(1396182291,2643833823),o(1695183700,2343527390),o(1986661051,1014477480),o(2177026350,1206759142),o(2456956037,344077627),o(2730485921,1290863460),o(2820302411,3158454273),o(3259730800,3505952657),o(3345764771,106217008),o(3516065817,3606008344),o(3600352804,1432725776),o(4094571909,1467031594),o(275423344,851169720),o(430227734,3100823752),o(506948616,1363258195),o(659060556,3750685593),o(883997877,3785050280),o(958139571,3318307427),o(1322822218,3812723403),o(1537002063,2003034995),o(1747873779,3602036899),o(1955562222,1575990012),o(2024104815,1125592928),o(2227730452,2716904306),o(2361852424,442776044),o(2428436474,593698344),o(2756734187,3733110249),o(3204031479,2999351573),o(3329325298,3815920427),o(3391569614,3928383900),o(3515267271,566280711),o(3940187606,3454069534),o(4118630271,4000239992),o(116418474,1914138554),o(174292421,2731055270),o(289380356,3203993006),o(460393269,320620315),o(685471733,587496836),o(852142971,1086792851),o(1017036298,365543100),o(1126000580,2618297676),o(1288033470,3409855158),o(1501505948,4234509866),o(1607167915,987167468),o(1816402316,1246189591)],x=[];(function(){for(var d=0;d<80;d++)x[d]=o()})();var u=i.SHA512=f.extend({_doReset:function(){this._hash=new v.init([new h.init(1779033703,4089235720),new h.init(3144134277,2227873595),new h.init(1013904242,4271175723),new h.init(2773480762,1595750129),new h.init(1359893119,2917565137),new h.init(2600822924,725511199),new h.init(528734635,4215389547),new h.init(1541459225,327033209)])},_doProcessBlock:function(d,C){for(var l=this._hash.words,g=l[0],s=l[1],c=l[2],p=l[3],F=l[4],E=l[5],D=l[6],b=l[7],k=g.high,A=g.low,_=s.high,I=s.low,w=c.high,z=c.low,H=p.high,L=p.low,K=F.high,W=F.low,G=E.high,$=E.low,m=D.high,P=D.low,T=b.high,S=b.low,M=k,j=A,Y=_,q=I,F0=w,v0=z,ke=H,D0=L,i0=K,J=W,R0=G,_0=$,z0=m,b0=P,Pe=T,m0=S,o0=0;o0<80;o0++){var t0,d0,H0=x[o0];if(o0<16)d0=H0.high=d[C+o0*2]|0,t0=H0.low=d[C+o0*2+1]|0;else{var xr=x[o0-15],C0=xr.high,I0=xr.low,wt=(C0>>>1|I0<<31)^(C0>>>8|I0<<24)^C0>>>7,sr=(I0>>>1|C0<<31)^(I0>>>8|C0<<24)^(I0>>>7|C0<<25),cr=x[o0-2],B0=cr.high,w0=cr.low,St=(B0>>>19|w0<<13)^(B0<<3|w0>>>29)^B0>>>6,fr=(w0>>>19|B0<<13)^(w0<<3|B0>>>29)^(w0>>>6|B0<<26),dr=x[o0-7],kt=dr.high,Pt=dr.low,ur=x[o0-16],Tt=ur.high,hr=ur.low;t0=sr+Pt,d0=wt+kt+(t0>>>0<sr>>>0?1:0),t0=t0+fr,d0=d0+St+(t0>>>0<fr>>>0?1:0),t0=t0+hr,d0=d0+Tt+(t0>>>0<hr>>>0?1:0),H0.high=d0,H0.low=t0}var Rt=i0&R0^~i0&z0,lr=J&_0^~J&b0,zt=M&Y^M&F0^Y&F0,Ht=j&q^j&v0^q&v0,Lt=(M>>>28|j<<4)^(M<<30|j>>>2)^(M<<25|j>>>7),pr=(j>>>28|M<<4)^(j<<30|M>>>2)^(j<<25|M>>>7),qt=(i0>>>14|J<<18)^(i0>>>18|J<<14)^(i0<<23|J>>>9),Nt=(J>>>14|i0<<18)^(J>>>18|i0<<14)^(J<<23|i0>>>9),vr=B[o0],Ot=vr.high,Cr=vr.low,e0=m0+Nt,u0=Pe+qt+(e0>>>0<m0>>>0?1:0),e0=e0+lr,u0=u0+Rt+(e0>>>0<lr>>>0?1:0),e0=e0+Cr,u0=u0+Ot+(e0>>>0<Cr>>>0?1:0),e0=e0+t0,u0=u0+d0+(e0>>>0<t0>>>0?1:0),Br=pr+Ht,Wt=Lt+zt+(Br>>>0<pr>>>0?1:0);Pe=z0,m0=b0,z0=R0,b0=_0,R0=i0,_0=J,J=D0+e0|0,i0=ke+u0+(J>>>0<D0>>>0?1:0)|0,ke=F0,D0=v0,F0=Y,v0=q,Y=M,q=j,j=e0+Br|0,M=u0+Wt+(j>>>0<e0>>>0?1:0)|0}A=g.low=A+j,g.high=k+M+(A>>>0<j>>>0?1:0),I=s.low=I+q,s.high=_+Y+(I>>>0<q>>>0?1:0),z=c.low=z+v0,c.high=w+F0+(z>>>0<v0>>>0?1:0),L=p.low=L+D0,p.high=H+ke+(L>>>0<D0>>>0?1:0),W=F.low=W+J,F.high=K+i0+(W>>>0<J>>>0?1:0),$=E.low=$+_0,E.high=G+R0+($>>>0<_0>>>0?1:0),P=D.low=P+b0,D.high=m+z0+(P>>>0<b0>>>0?1:0),S=b.low=S+m0,b.high=T+Pe+(S>>>0<m0>>>0?1:0)},_doFinalize:function(){var d=this._data,C=d.words,l=this._nDataBytes*8,g=d.sigBytes*8;C[g>>>5]|=128<<24-g%32,C[(g+128>>>10<<5)+30]=Math.floor(l/4294967296),C[(g+128>>>10<<5)+31]=l,d.sigBytes=C.length*4,this._process();var s=this._hash.toX32();return s},clone:function(){var d=f.clone.call(this);return d._hash=this._hash.clone(),d},blockSize:1024/32});r.SHA512=f._createHelper(u),r.HmacSHA512=f._createHmacHelper(u)})(),n.SHA512})})(Q0)),Q0.exports}var Y0={exports:{}},Zn=Y0.exports,Tr;function Qn(){return Tr||(Tr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),we(),At())})(Zn,function(n){return(function(){var r=n,a=r.x64,f=a.Word,y=a.WordArray,h=r.algo,v=h.SHA512,i=h.SHA384=v.extend({_doReset:function(){this._hash=new y.init([new f.init(3418070365,3238371032),new f.init(1654270250,914150663),new f.init(2438529370,812702999),new f.init(355462360,4144912697),new f.init(1731405415,4290775857),new f.init(2394180231,1750603025),new f.init(3675008525,1694076839),new f.init(1203062813,3204075428)])},_doFinalize:function(){var o=v._doFinalize.call(this);return o.sigBytes-=16,o}});r.SHA384=v._createHelper(i),r.HmacSHA384=v._createHmacHelper(i)})(),n.SHA384})})(Y0)),Y0.exports}var J0={exports:{}},Yn=J0.exports,Rr;function Jn(){return Rr||(Rr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),we())})(Yn,function(n){return(function(r){var a=n,f=a.lib,y=f.WordArray,h=f.Hasher,v=a.x64,i=v.Word,o=a.algo,B=[],x=[],u=[];(function(){for(var l=1,g=0,s=0;s<24;s++){B[l+5*g]=(s+1)*(s+2)/2%64;var c=g%5,p=(2*l+3*g)%5;l=c,g=p}for(var l=0;l<5;l++)for(var g=0;g<5;g++)x[l+5*g]=g+(2*l+3*g)%5*5;for(var F=1,E=0;E<24;E++){for(var D=0,b=0,k=0;k<7;k++){if(F&1){var A=(1<<k)-1;A<32?b^=1<<A:D^=1<<A-32}F&128?F=F<<1^113:F<<=1}u[E]=i.create(D,b)}})();var d=[];(function(){for(var l=0;l<25;l++)d[l]=i.create()})();var C=o.SHA3=h.extend({cfg:h.cfg.extend({outputLength:512}),_doReset:function(){for(var l=this._state=[],g=0;g<25;g++)l[g]=new i.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(l,g){for(var s=this._state,c=this.blockSize/2,p=0;p<c;p++){var F=l[g+2*p],E=l[g+2*p+1];F=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360,E=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360;var D=s[p];D.high^=E,D.low^=F}for(var b=0;b<24;b++){for(var k=0;k<5;k++){for(var A=0,_=0,I=0;I<5;I++){var D=s[k+5*I];A^=D.high,_^=D.low}var w=d[k];w.high=A,w.low=_}for(var k=0;k<5;k++)for(var z=d[(k+4)%5],H=d[(k+1)%5],L=H.high,K=H.low,A=z.high^(L<<1|K>>>31),_=z.low^(K<<1|L>>>31),I=0;I<5;I++){var D=s[k+5*I];D.high^=A,D.low^=_}for(var W=1;W<25;W++){var A,_,D=s[W],G=D.high,$=D.low,m=B[W];m<32?(A=G<<m|$>>>32-m,_=$<<m|G>>>32-m):(A=$<<m-32|G>>>64-m,_=G<<m-32|$>>>64-m);var P=d[x[W]];P.high=A,P.low=_}var T=d[0],S=s[0];T.high=S.high,T.low=S.low;for(var k=0;k<5;k++)for(var I=0;I<5;I++){var W=k+5*I,D=s[W],M=d[W],j=d[(k+1)%5+5*I],Y=d[(k+2)%5+5*I];D.high=M.high^~j.high&Y.high,D.low=M.low^~j.low&Y.low}var D=s[0],q=u[b];D.high^=q.high,D.low^=q.low}},_doFinalize:function(){var l=this._data,g=l.words;this._nDataBytes*8;var s=l.sigBytes*8,c=this.blockSize*32;g[s>>>5]|=1<<24-s%32,g[(r.ceil((s+1)/c)*c>>>5)-1]|=128,l.sigBytes=g.length*4,this._process();for(var p=this._state,F=this.cfg.outputLength/8,E=F/8,D=[],b=0;b<E;b++){var k=p[b],A=k.high,_=k.low;A=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,_=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,D.push(_),D.push(A)}return new y.init(D,F)},clone:function(){for(var l=h.clone.call(this),g=l._state=this._state.slice(0),s=0;s<25;s++)g[s]=g[s].clone();return l}});a.SHA3=h._createHelper(C),a.HmacSHA3=h._createHmacHelper(C)})(Math),n.SHA3})})(J0)),J0.exports}var ee={exports:{}},ei=ee.exports,zr;function ri(){return zr||(zr=1,(function(e,t){(function(n,r){e.exports=r(N())})(ei,function(n){/** @preserve
|
|
1
|
+
"use strict";var jt=Object.create;var Te=Object.defineProperty,Kt=Object.defineProperties,Mt=Object.getOwnPropertyDescriptor,Xt=Object.getOwnPropertyDescriptors,Vt=Object.getOwnPropertyNames,Ar=Object.getOwnPropertySymbols,Qt=Object.getPrototypeOf,yr=Object.prototype.hasOwnProperty,Zt=Object.prototype.propertyIsEnumerable;var Re=(e,t,n)=>t in e?Te(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,T=(e,t)=>{for(var n in t||(t={}))yr.call(t,n)&&Re(e,n,t[n]);if(Ar)for(var n of Ar(t))Zt.call(t,n)&&Re(e,n,t[n]);return e},U=(e,t)=>Kt(e,Xt(t));var Yt=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Vt(t))!yr.call(e,a)&&a!==n&&Te(e,a,{get:()=>t[a],enumerable:!(r=Mt(t,a))||r.enumerable});return e};var Jt=(e,t,n)=>(n=e!=null?jt(Qt(e)):{},Yt(t||!e||!e.__esModule?Te(n,"default",{value:e,enumerable:!0}):n,e));var k0=(e,t,n)=>Re(e,typeof t!="symbol"?t+"":t,n);var V=(e,t,n)=>new Promise((r,a)=>{var f=v=>{try{h(n.next(v))}catch(i){a(i)}},y=v=>{try{h(n.throw(v))}catch(i){a(i)}},h=v=>v.done?r(v.value):Promise.resolve(v.value).then(f,y);h((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const en=require("mitt"),gr=require("axios"),r0={prefixPath:"https://cloudapi-sit2.jctrans.net.cn",searchPath:"/system/dms/fr/aggr/getLocationOptions",oldSearchPath:"/system/dms/fr/aggr/findPageList",carrierPath:"/system/dms/carrier/findAllList",allLinePath:"/system/dms/fr/line/findAllListByCountry",linePath:"/system/dms/fr/line/findAllList"},it={get basePath(){return r0.prefixPath+r0.searchPath},get carrierPath(){return r0.prefixPath+r0.carrierPath},get linePath(){return r0.prefixPath+r0.linePath},get allLinePath(){return r0.prefixPath+r0.allLinePath},get oldBasePath(){return r0.prefixPath+r0.oldSearchPath},get prefixPath(){return r0.prefixPath}},rn=e=>{e&&(e.prefixPath!==void 0&&(r0.prefixPath=e.prefixPath),e.searchPath!==void 0&&(r0.searchPath=e.searchPath))},a0=()=>it,We=()=>{var t,n,r,a,f,y;let e;try{typeof useCookie=="function"&&(e=(t=useCookie("jc-language"))==null?void 0:t.value)}catch(h){}if(e)return e==="en"||e==="en-US";if(typeof document!="undefined"){const h=document.cookie||"";return/(^|;\s*)jc-language=en(-US)?(;|$)/.test(h)}try{if(typeof useNuxtApp=="function"){const h=useNuxtApp(),v=((y=(f=(a=(r=(n=h==null?void 0:h.ssrContext)==null?void 0:n.event)==null?void 0:r.node)==null?void 0:a.req)==null?void 0:f.headers)==null?void 0:y.cookie)||"";return/(^|;\s*)jc-language=en(-US)?(;|$)/.test(v)}}catch(h){}return!1};/*! js-cookie v3.0.5 | MIT */function L0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var tn={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Ne(e,t){function n(a,f,y){if(typeof document!="undefined"){y=L0({},t,y),typeof y.expires=="number"&&(y.expires=new Date(Date.now()+y.expires*864e5)),y.expires&&(y.expires=y.expires.toUTCString()),a=encodeURIComponent(a).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var h="";for(var v in y)y[v]&&(h+="; "+v,y[v]!==!0&&(h+="="+y[v].split(";")[0]));return document.cookie=a+"="+e.write(f,a)+h}}function r(a){if(!(typeof document=="undefined"||arguments.length&&!a)){for(var f=document.cookie?document.cookie.split("; "):[],y={},h=0;h<f.length;h++){var v=f[h].split("="),i=v.slice(1).join("=");try{var o=decodeURIComponent(v[0]);if(y[o]=e.read(i,o),a===o)break}catch(B){}}return a?y[a]:y}}return Object.create({set:n,get:r,remove:function(a,f){n(a,"",L0({},f,{expires:-1}))},withAttributes:function(a){return Ne(this.converter,L0({},this.attributes,a))},withConverter:function(a){return Ne(L0({},this.converter,a),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var Q=Ne(tn,{path:"/"});const $e=typeof window!="undefined";function ot(e){const t=/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,n=/^((?:[a-fA-F0-9]{1,4}:){7}[a-fA-F0-9]{1,4}|::|(?:[a-fA-F0-9]{1,4}:){1,7}:|:(?::[a-fA-F0-9]{1,4}){1,7})$/;return t.test(e)||n.test(e)}function at(){if(!$e)return;const e=window.location.hostname;if(e==="localhost"||ot(e))return;const t=e.split(".");if(t.length>=2)return e.endsWith(".net.cn")||e.endsWith(".com.cn")?t.length>=3?"."+t.slice(-3).join("."):void 0:"."+t.slice(-2).join(".")}const me="JC-JAVA-Token-Root",Ue="hasLogin",Ee="prjId",Ge="JC-Expires-In",be="JC-Expires-Time-In",Ie="JC-Refresh-Token",je="JC-Refresh-Expires-In",Ke="JC-Refresh-Expires-Time-In",Fe="JC-Remember-Account",De="JC-Remember-Password",Me=new Set(["/auth/login","/auth/register","/auth/registerAccComp","/auth/loginByCode","/auth/loginByQrCode","/auth/registerBindWechat","/auth/refreshToken","/auth/bindThirdPartyByCode","/auth/bindThirdPartyByPwd","/auth/registerByThirdParty","/auth/loginPwdBindWechat","/auth/loginCodeBindWechat","/auth/registerJoinCompanyBindWechat","/auth/registerUserCompBindWechat","/auth/registerJoinCompByThirdParty","/auth/registerJoinCompany","/auth/loginRegisterByAccount","/auth/autoLogin","/auth/completeCompRedirect","/auth/completeJoinCompanyRedirect","/auth/loginByFacebook","/auth/loginByLinkedin"]),Xe=()=>({domain:at(),path:"/",sameSite:"Lax"});function Ve(){return Q.get(Ee)||window.sessionStorage.getItem(Ee)||void 0}function Qe(){return Q.get("jc-language")}function nn(e,t,n){const r=Xe();n?(Q.set(Fe,e,U(T({},r),{expires:30})),Q.set(De,t,U(T({},r),{expires:30}))):(Q.remove(Fe,r),Q.remove(De,r))}function _e(e){if(!e)return;const t=Xe(),n=Date.now();if(e.accessToken&&(Q.set(me,e.accessToken,U(T({},t),{expires:e.expireIn?e.expireIn/(3600*24):1})),Q.set(Ue,n.toString(),t)),e.expireIn){const r=n+e.expireIn*1e3;Q.set(Ge,e.expireIn.toString(),U(T({},t),{expires:e.expireIn?e.expireIn/(3600*24):1})),Q.set(be,r.toString(),U(T({},t),{expires:e.expireIn?e.expireIn/(3600*24):1}))}if(e.refreshToken&&Q.set(Ie,e.refreshToken,U(T({},t),{expires:e.refreshTokenExpireIn?e.refreshTokenExpireIn/(3600*24):1})),e.refreshTokenExpireIn){const r=n+e.refreshTokenExpireIn*1e3;Q.set(je,e.refreshTokenExpireIn.toString(),U(T({},t),{expires:e.refreshTokenExpireIn?e.refreshTokenExpireIn/(3600*24):1})),Q.set(Ke,r.toString(),U(T({},t),{expires:e.refreshTokenExpireIn?e.refreshTokenExpireIn/(3600*24):1}))}}function on(){const e=Xe();[me,Ue,Ge,be,Ie,je,Ke,Ee].forEach(n=>Q.remove(n,e))}function Ze(){let e="";try{if(typeof process!="undefined"&&process.env&&(e=process.env.VUE_APP_ID||""),!e&&$e){const t=window.BASE_INFO;e=(t==null?void 0:t.VUE_APP_ID)||window.VUE_APP_ID||window.sessionStorage.getItem("VUE_APP_ID")||window.sessionStorage.getItem("_GIO-appId")||""}}catch(t){}return(e||"").trim()}function xt(e){var n;const t=(e==null?void 0:e.url)||"";if(!$e)return t;try{const r=((n=window.BASE_INFO)==null?void 0:n.VUE_APP_BASE_API)||window.location.origin;return new URL(t,r).pathname}catch(r){return t}}function Ye(){return Q.get(me)}function st(){return Q.get(Ie)}function ct(){const e=Q.get(be);return e?Number(e):0}function an(){return{account:Q.get(Fe),password:Q.get(De)}}function Je(e){var t;if(typeof window=="undefined")return"-";try{return((t=window.sessionStorage)==null?void 0:t.getItem(e))||"-"}catch(n){return"-"}}function er(e){const t=String(e||"").replace(/[\u0000-\u001F\u007F]+/g," ").trim();return t?/^[\u0000-\u00FF]*$/.test(t)?t:encodeURIComponent(t):""}function ft(e){if(e==null)return!0;if(typeof e=="string"||Array.isArray(e))return e.length===0;if(e instanceof Map||e instanceof Set)return e.size===0;if(typeof e=="object"){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}return!0}function dt(e={}){const t=e.fetch||(typeof window!="undefined"?window.fetch:void 0);if(!t)throw new Error("Fetch implementation is missing. Provide one in options or ensure it's available globally.");const{prefixPath:n}=a0(),r=(a,f,y,h)=>V(null,null,function*(){var c,p,F,E,D;const v=e.baseURL||n||"",i=a.startsWith("http")?a:v+a,o=h!=null&&h.params?"?"+new URLSearchParams(h.params).toString():"",B=T({"Content-Type":"application/json"},h==null?void 0:h.headers),x=Ye(),u=Ze(),d=Ve(),C=Qe(),g=B["app-id"]||B["APP-ID"]||u;B["APP-ID"]=g,B["Accept-Language"]=C||"en-US";const s=er(Je("_GIO-pageCode"));!B.pageCode&&!B["page-code"]&&s&&(B.pageCode=s),localStorage.getItem("clientId")&&(B["client-uid"]=localStorage.getItem("clientId")),B["app-id"]&&delete B["app-id"],x&&(h==null?void 0:h.isToken)!==!1&&(B.Authorization=`Bearer ${x}`),d&&(B["popular-channel"]=String(d));try{const m=y&&typeof y=="object"?JSON.stringify(y):y,S=yield t(i+o,{method:f,headers:B,body:f!=="GET"?m:void 0});let A,_;S&&typeof S.json=="function"?(A=yield S.json(),_=S.status):(A=S,_=200),console.log("🍉 ~ fetch.ts:95 ~ wrapFetch ~ result:",A);const I=a.split("?")[0];return Me.has(I)&&((c=A==null?void 0:A.data)!=null&&c.result)&&_e(A.data.result),(p=A==null?void 0:A.data)!=null&&p.verifyCode&&((F=A==null?void 0:A.data)!=null&&F.result)&&typeof window!="undefined"&&typeof window.gdp=="function"&&window.gdp("track","submitAuthCode",{verifyCode:(E=A==null?void 0:A.data)==null?void 0:E.verifyCode,registerEntry_var:sessionStorage.getItem("_GIO-registerEntry")||"-"}),(A==null?void 0:A.code)===401&&e.onUnauthorized&&e.onUnauthorized(),{data:A,status:_}}catch(m){const S=((D=m==null?void 0:m.response)==null?void 0:D._data)||(m==null?void 0:m.data);return(S==null?void 0:S.code)===401&&e.onUnauthorized&&e.onUnauthorized(),Promise.reject(m)}});return{get:(a,f)=>r(a,"GET",void 0,f),post:(a,f,y)=>r(a,"POST",f,y)}}let xn=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((t,n)=>(n&=63,n<36?t+=n.toString(36):n<62?t+=(n-26).toString(36).toUpperCase():n>62?t+="-":t+="_",t),"");const rr="clientId",tr="sessionClientId";function ut(){return xn()}function ht(){return typeof localStorage=="undefined"?null:localStorage.getItem(rr)}function lt(){return typeof sessionStorage=="undefined"?null:sessionStorage.getItem(tr)}function sn(e){typeof localStorage!="undefined"&&localStorage.setItem(rr,e)}function pt(e){typeof sessionStorage!="undefined"&&sessionStorage.setItem(tr,e)}function nr(){const e=ht();if(e)return e;const t=lt();if(t)return t;const n=ut();return pt(n),n}function cn(){typeof localStorage!="undefined"&&localStorage.removeItem(rr),typeof sessionStorage!="undefined"&&sessionStorage.removeItem(tr)}function fn(){return ht()||lt()||null}function vt(e,t={}){const{headerName:n="client-uid"}=t;e.interceptors.request.use(r=>{const a=nr();return r.headers[n]=a,r})}let ze=!1,He=[];function dn(e={}){const{prefixPath:t}=a0(),n=gr.create({baseURL:e.baseURL||t||"",timeout:15e3});return vt(n,{headerName:"client-uid"}),n.interceptors.request.use(r=>V(null,null,function*(){var B;const a=Ze(),f=Ve(),y=Ye(),h=Qe(),i=r.headers["app-id"]||r.headers["APP-ID"]||a;r.headers["APP-ID"]=i,r.headers["Accept-Language"]=h||"en-US";const o=er(Je("_GIO-pageCode"));if(!r.headers.pageCode&&!r.headers["page-code"]&&o&&(r.headers.pageCode=o),r.headers["app-id"]&&delete r.headers["app-id"],f&&(r.headers["popular-channel"]=f),y&&((B=r.headers)==null?void 0:B.isToken)!==!1){const x=ct(),u=st(),d=Date.now(),C=300*1e3;if(u&&x>0&&x-d<=C&&x-d>0)return ze||(ze=!0,gr.post(`${n.defaults.baseURL}/auth/refreshToken`,{refreshToken:u},{headers:{"APP-ID":i}}).then(l=>{if(l.data.code===0){_e(l.data.data);const g=l.data.data.accessToken;He.forEach(s=>s(g)),He=[]}}).finally(()=>{ze=!1})),new Promise(l=>{He.push(g=>{r.headers.Authorization=`Bearer ${g}`,l(r)})});r.headers.Authorization=`Bearer ${y}`}return r})),n.interceptors.response.use(r=>{const{code:a,data:f}=r.data,y=xt(r.config);return Me.has(y)&&(f!=null&&f.result)&&_e(f.result),f.verifyCode&&f.result&&typeof window!="undefined"&&typeof window.gdp=="function"&&window.gdp("track","submitAuthCode",{verifyCode:f.verifyCode,registerEntry_var:sessionStorage.getItem("_GIO-registerEntry")||"-"}),a===401&&e.onUnauthorized&&e.onUnauthorized(),r},r=>Promise.reject(r)),{get:(r,a)=>n.get(r,T({},a)).then(f=>({data:f.data,status:f.status})),post:(r,a,f)=>n.post(r,a,T({},f)).then(y=>({data:y.data,status:y.status}))}}function Ct(e){return dn(e)}function un(){const e=typeof globalThis!="undefined"&&typeof globalThis.fetch=="function"?globalThis.fetch.bind(globalThis):void 0;return e?dt({fetch:e}):Ct()}let S0=un();function hn(e,t){switch(e){case"fetch":S0=dt(t);break;case"axios":default:S0=Ct(t);break}return S0}const n0={get:(...e)=>S0.get(...e),post:(...e)=>S0.post(...e)},ln=()=>a0().oldBasePath,pn={Continent:"continentId",Country:"countryId",City:"cityId",Province:"provinceId",Seaport:"seaportId",Airport:"airportId"},vn=["City","Seaport","Airport","Country","Region"].filter(Boolean);function A0(e,t){return e==="allCityByCountryId"?Array.isArray(t)?String(t[0]):String(t):Array.isArray(t)?JSON.stringify(t):JSON.stringify([Number(t)])}function Cn(e){const t=[];if(e.ids)for(const n of e.ids){const r=pn[n.type];t.push({name:r,val:A0(r,n.ids)})}return e.scope&&(e.scope.countryId!==void 0&&e.scope.countryId!==null&&t.push({name:"countryId",val:A0("countryId",[e.scope.countryId])}),e.scope.cityId!==void 0&&e.scope.cityId!==null&&t.push({name:"cityId",val:A0("cityId",[e.scope.cityId])}),e.scope.provinceId!==void 0&&e.scope.provinceId!==null&&t.push({name:"provinceId",val:A0("provinceId",[e.scope.provinceId])})),t}function f0(e){var r,a,f,y;const t={current:(r=e.page)!=null?r:1,size:(a=e.size)!=null?a:10,level:e.level,searchContent:(f=e.keyword)!=null?f:void 0,displayInfo:(y=e.displayInfo)!=null?y:vn,sort:e.sort},n=Cn({ids:e.ids,scope:e.scope});return t.appointSearch=[...n,...e.extraAppoint||[]],Object.keys(t).forEach(h=>{t[h]===void 0&&delete t[h]}),t}function Bn(e,t,n){const r=We(),a=(i,o)=>{var u,d,C;if(!i)return"";const B=(d=(u=i.nameCn)!=null?u:i[`${o.toLowerCase()}NameCn`])!=null?d:i.name,x=(C=i.nameEn)!=null?C:i[`${o.toLowerCase()}NameEn`];return r?x||B||"":B||x||""},f=a(e,t),y=a(n.country,"country"),h=a(n.city,"city"),v=a(n.continent,"continent");switch(t){case"Seaport":case"Airport":const i=[h,y].filter(Boolean).join(", ");return i?`${f} (${i})`:f;case"City":case"Province":return y?`${f} (${y})`:f;case"Country":return v?`${f} (${v})`:f;default:return f}}function s0(e=[],t=[]){var f,y,h,v;const n=[];function r(i,o,B){var l,g,s,c,p,F,E,D,m,S,A;if(!i||!t.includes(o))return;const x=(g=(l=i.id)!=null?l:i[o.toLowerCase()+"Id"])!=null?g:null;if(x==null)return;const u=(p=(c=(s=i.nameCn)!=null?s:i[`${o.toLowerCase()}NameCn`])!=null?c:i.name)!=null?p:void 0,d=(E=(F=i.nameEn)!=null?F:i[`${o.toLowerCase()}NameEn`])!=null?E:void 0,C=Bn(i,o,B)||u||d||"";n.push({id:x,type:o,nameCn:u,nameEn:d,display:C,continent:(D=B.continent)!=null?D:void 0,country:(m=B.country)!=null?m:void 0,city:(S=B.city)!=null?S:void 0,province:(A=B.province)!=null?A:void 0,raw:i})}for(const i of e){const o={continent:(f=i.continent)!=null?f:void 0,country:(y=i.country)!=null?y:void 0,city:(h=i.city)!=null?h:void 0,province:(v=i.province)!=null?v:void 0};let B=!1;if(["Continent","Country","Province","City","Seaport","Airport"].forEach(u=>{const d=u.toLowerCase();i[d]&&(r(i[d],u,o),B=!0)}),!B&&i.id!==void 0){let u;i.type&&t.includes(i.type)?u=i.type:t.length===1&&(u=t[0]),u&&r(i,u,o)}}const a=new Set;return n.filter(i=>{const o=`${i.type}_${i.id}`;return a.has(o)?!1:(a.add(o),!0)})}function c0(e){return V(this,null,function*(){return(yield n0.post(ln(),e)).data})}function P0(e){return V(this,null,function*(){var a;const t=f0({keyword:e.keyword,displayInfo:e.displayInfo,page:e.page,size:e.size,level:e.level,sort:e.sort,ids:e.ids,scope:e.scope,extraAppoint:e.extraAppoint}),n=yield c0(t),r=s0(((a=n.data)==null?void 0:a.records)||[],t.displayInfo||[]);return U(T({},n),{records:r})})}function ir(e){return V(this,null,function*(){var n;if(!((n=e.keyword)!=null&&n.trim()))throw new Error("searchByName: keyword 不能为空");const t=e.types&&e.types.length>0?e.types:["Continent","Country","City","Province","Seaport","Airport"];return P0({keyword:e.keyword.trim(),displayInfo:t,page:e.page,size:e.size,level:e.level,sort:e.sort})})}function Bt(e,t){return V(this,null,function*(){const n=Array.isArray(t)?t:[t],r=[e],a=f0({displayInfo:r,ids:[{type:e,ids:n}]}),f=yield c0(a);return s0(f.records||[],r).filter(h=>h.type===e)})}function An(e,t){return V(this,null,function*(){var r;return(r=(yield Bt(e,[t]))[0])!=null?r:null})}function yn(e,t){return V(this,null,function*(){var f,y;const n=["City"],r=f0({displayInfo:n,page:(f=t==null?void 0:t.page)!=null?f:1,size:(y=t==null?void 0:t.size)!=null?y:1e3,extraAppoint:[{name:"allCityByCountryId",val:A0("allCityByCountryId",e)}]}),a=yield c0(r);return U(T({},a),{records:s0(a.records||[],n)})})}function gn(e,t,n){return V(this,null,function*(){var y,h;if(!t||t.length===0)throw new Error("childTypes 必须至少包含一个:Seaport | Airport");const r=t,a=f0({displayInfo:r,page:(y=n==null?void 0:n.page)!=null?y:1,size:(h=n==null?void 0:n.size)!=null?h:1e3,extraAppoint:[{name:"cityId",val:A0("cityId",[e])}]}),f=yield c0(a);return U(T({},f),{records:s0(f.records||[],r)})})}function En(e,t){return ir({keyword:e,types:["Country"],page:t==null?void 0:t.page,size:t==null?void 0:t.size})}function Fn(e,t){return t!=null&&t.countryId?P0({keyword:e,displayInfo:["City"],scope:{countryId:t.countryId},page:t.page,size:t.size}):ir({keyword:e,types:["City"],page:t==null?void 0:t.page,size:t==null?void 0:t.size})}function Dn(e,t){return P0({keyword:e,displayInfo:["Seaport"],scope:t!=null&&t.cityId?{cityId:t.cityId}:void 0,page:t==null?void 0:t.page,size:t==null?void 0:t.size})}function _n(e,t){return P0({keyword:e,displayInfo:["Airport"],scope:t!=null&&t.cityId?{cityId:t.cityId}:void 0,page:t==null?void 0:t.page,size:t==null?void 0:t.size})}function mn(){return V(this,arguments,function*(e={}){var r,a;const t=["Continent"],n=yield c0({current:(r=e.page)!=null?r:1,size:(a=e.size)!=null?a:10,level:1,displayInfo:t});return U(T({},n),{records:s0(n.records||[],t)})})}function bn(){return V(this,arguments,function*(e={}){var a,f;const t=["Country"],n=f0({displayInfo:t,page:(a=e.page)!=null?a:1,size:(f=e.size)!=null?f:10,ids:e.ids?[{type:"Country",ids:e.ids}]:void 0}),r=yield c0(n);return U(T({},r),{records:s0(r.records||[],t)})})}function In(){return V(this,arguments,function*(e={}){var a,f;const t=["City"],n=f0({displayInfo:t,page:(a=e.page)!=null?a:1,size:(f=e.size)!=null?f:10,ids:e.ids?[{type:"City",ids:e.ids}]:void 0,scope:e.countryId?{countryId:e.countryId}:void 0}),r=yield c0(n);return U(T({},r),{records:s0(r.records||[],t)})})}function wn(){return V(this,arguments,function*(e={}){var a,f;const t=["Province"],n=f0({displayInfo:t,page:(a=e.page)!=null?a:1,size:(f=e.size)!=null?f:10,ids:e.ids?[{type:"Province",ids:e.ids}]:void 0,scope:e.countryId?{countryId:e.countryId}:void 0}),r=yield c0(n);return U(T({},r),{records:s0(r.records||[],t)})})}function kn(){return V(this,arguments,function*(e={}){var a,f;const t=["Seaport"],n=f0({displayInfo:t,page:(a=e.page)!=null?a:1,size:(f=e.size)!=null?f:10,ids:e.ids?[{type:"Seaport",ids:e.ids}]:void 0,scope:e.cityId?{cityId:e.cityId}:e.countryId?{countryId:e.countryId}:void 0}),r=yield c0(n);return U(T({},r),{records:s0(r.records||[],t)})})}function Sn(){return V(this,arguments,function*(e={}){var a,f;const t=["Airport"],n=f0({displayInfo:t,page:(a=e.page)!=null?a:1,size:(f=e.size)!=null?f:10,ids:e.ids?[{type:"Airport",ids:e.ids}]:void 0,scope:e.cityId?{cityId:e.cityId}:e.countryId?{countryId:e.countryId}:void 0}),r=yield c0(n);return U(T({},r),{records:s0(r.records||[],t)})})}var Le=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Pn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Rn(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}),n}var O0={exports:{}};function Tn(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var W0={exports:{}};const zn={},Hn=Object.freeze(Object.defineProperty({__proto__:null,default:zn},Symbol.toStringTag,{value:"Module"})),Ln=Rn(Hn);var qn=W0.exports,Er;function N(){return Er||(Er=1,(function(e,t){(function(n,r){e.exports=r()})(qn,function(){var n=n||(function(r,a){var f;if(typeof window!="undefined"&&window.crypto&&(f=window.crypto),typeof self!="undefined"&&self.crypto&&(f=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(f=globalThis.crypto),!f&&typeof window!="undefined"&&window.msCrypto&&(f=window.msCrypto),!f&&typeof Le!="undefined"&&Le.crypto&&(f=Le.crypto),!f&&typeof Tn=="function")try{f=Ln}catch(s){}var y=function(){if(f){if(typeof f.getRandomValues=="function")try{return f.getRandomValues(new Uint32Array(1))[0]}catch(s){}if(typeof f.randomBytes=="function")try{return f.randomBytes(4).readInt32LE()}catch(s){}}throw new Error("Native crypto module could not be used to get secure random number.")},h=Object.create||(function(){function s(){}return function(c){var p;return s.prototype=c,p=new s,s.prototype=null,p}})(),v={},i=v.lib={},o=i.Base=(function(){return{extend:function(s){var c=h(this);return s&&c.mixIn(s),(!c.hasOwnProperty("init")||this.init===c.init)&&(c.init=function(){c.$super.init.apply(this,arguments)}),c.init.prototype=c,c.$super=this,c},create:function(){var s=this.extend();return s.init.apply(s,arguments),s},init:function(){},mixIn:function(s){for(var c in s)s.hasOwnProperty(c)&&(this[c]=s[c]);s.hasOwnProperty("toString")&&(this.toString=s.toString)},clone:function(){return this.init.prototype.extend(this)}}})(),B=i.WordArray=o.extend({init:function(s,c){s=this.words=s||[],c!=a?this.sigBytes=c:this.sigBytes=s.length*4},toString:function(s){return(s||u).stringify(this)},concat:function(s){var c=this.words,p=s.words,F=this.sigBytes,E=s.sigBytes;if(this.clamp(),F%4)for(var D=0;D<E;D++){var m=p[D>>>2]>>>24-D%4*8&255;c[F+D>>>2]|=m<<24-(F+D)%4*8}else for(var S=0;S<E;S+=4)c[F+S>>>2]=p[S>>>2];return this.sigBytes+=E,this},clamp:function(){var s=this.words,c=this.sigBytes;s[c>>>2]&=4294967295<<32-c%4*8,s.length=r.ceil(c/4)},clone:function(){var s=o.clone.call(this);return s.words=this.words.slice(0),s},random:function(s){for(var c=[],p=0;p<s;p+=4)c.push(y());return new B.init(c,s)}}),x=v.enc={},u=x.Hex={stringify:function(s){for(var c=s.words,p=s.sigBytes,F=[],E=0;E<p;E++){var D=c[E>>>2]>>>24-E%4*8&255;F.push((D>>>4).toString(16)),F.push((D&15).toString(16))}return F.join("")},parse:function(s){for(var c=s.length,p=[],F=0;F<c;F+=2)p[F>>>3]|=parseInt(s.substr(F,2),16)<<24-F%8*4;return new B.init(p,c/2)}},d=x.Latin1={stringify:function(s){for(var c=s.words,p=s.sigBytes,F=[],E=0;E<p;E++){var D=c[E>>>2]>>>24-E%4*8&255;F.push(String.fromCharCode(D))}return F.join("")},parse:function(s){for(var c=s.length,p=[],F=0;F<c;F++)p[F>>>2]|=(s.charCodeAt(F)&255)<<24-F%4*8;return new B.init(p,c)}},C=x.Utf8={stringify:function(s){try{return decodeURIComponent(escape(d.stringify(s)))}catch(c){throw new Error("Malformed UTF-8 data")}},parse:function(s){return d.parse(unescape(encodeURIComponent(s)))}},l=i.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new B.init,this._nDataBytes=0},_append:function(s){typeof s=="string"&&(s=C.parse(s)),this._data.concat(s),this._nDataBytes+=s.sigBytes},_process:function(s){var c,p=this._data,F=p.words,E=p.sigBytes,D=this.blockSize,m=D*4,S=E/m;s?S=r.ceil(S):S=r.max((S|0)-this._minBufferSize,0);var A=S*D,_=r.min(A*4,E);if(A){for(var I=0;I<A;I+=D)this._doProcessBlock(F,I);c=F.splice(0,A),p.sigBytes-=_}return new B.init(c,_)},clone:function(){var s=o.clone.call(this);return s._data=this._data.clone(),s},_minBufferSize:0});i.Hasher=l.extend({cfg:o.extend(),init:function(s){this.cfg=this.cfg.extend(s),this.reset()},reset:function(){l.reset.call(this),this._doReset()},update:function(s){return this._append(s),this._process(),this},finalize:function(s){s&&this._append(s);var c=this._doFinalize();return c},blockSize:16,_createHelper:function(s){return function(c,p){return new s.init(p).finalize(c)}},_createHmacHelper:function(s){return function(c,p){return new g.HMAC.init(s,p).finalize(c)}}});var g=v.algo={};return v})(Math);return n})})(W0)),W0.exports}var $0={exports:{}},Nn=$0.exports,Fr;function we(){return Fr||(Fr=1,(function(e,t){(function(n,r){e.exports=r(N())})(Nn,function(n){return(function(r){var a=n,f=a.lib,y=f.Base,h=f.WordArray,v=a.x64={};v.Word=y.extend({init:function(i,o){this.high=i,this.low=o}}),v.WordArray=y.extend({init:function(i,o){i=this.words=i||[],o!=r?this.sigBytes=o:this.sigBytes=i.length*8},toX32:function(){for(var i=this.words,o=i.length,B=[],x=0;x<o;x++){var u=i[x];B.push(u.high),B.push(u.low)}return h.create(B,this.sigBytes)},clone:function(){for(var i=y.clone.call(this),o=i.words=this.words.slice(0),B=o.length,x=0;x<B;x++)o[x]=o[x].clone();return i}})})(),n})})($0)),$0.exports}var U0={exports:{}},On=U0.exports,Dr;function Wn(){return Dr||(Dr=1,(function(e,t){(function(n,r){e.exports=r(N())})(On,function(n){return(function(){if(typeof ArrayBuffer=="function"){var r=n,a=r.lib,f=a.WordArray,y=f.init,h=f.init=function(v){if(v instanceof ArrayBuffer&&(v=new Uint8Array(v)),(v instanceof Int8Array||typeof Uint8ClampedArray!="undefined"&&v instanceof Uint8ClampedArray||v instanceof Int16Array||v instanceof Uint16Array||v instanceof Int32Array||v instanceof Uint32Array||v instanceof Float32Array||v instanceof Float64Array)&&(v=new Uint8Array(v.buffer,v.byteOffset,v.byteLength)),v instanceof Uint8Array){for(var i=v.byteLength,o=[],B=0;B<i;B++)o[B>>>2]|=v[B]<<24-B%4*8;y.call(this,o,i)}else y.apply(this,arguments)};h.prototype=f}})(),n.lib.WordArray})})(U0)),U0.exports}var G0={exports:{}},$n=G0.exports,_r;function Un(){return _r||(_r=1,(function(e,t){(function(n,r){e.exports=r(N())})($n,function(n){return(function(){var r=n,a=r.lib,f=a.WordArray,y=r.enc;y.Utf16=y.Utf16BE={stringify:function(v){for(var i=v.words,o=v.sigBytes,B=[],x=0;x<o;x+=2){var u=i[x>>>2]>>>16-x%4*8&65535;B.push(String.fromCharCode(u))}return B.join("")},parse:function(v){for(var i=v.length,o=[],B=0;B<i;B++)o[B>>>1]|=v.charCodeAt(B)<<16-B%2*16;return f.create(o,i*2)}},y.Utf16LE={stringify:function(v){for(var i=v.words,o=v.sigBytes,B=[],x=0;x<o;x+=2){var u=h(i[x>>>2]>>>16-x%4*8&65535);B.push(String.fromCharCode(u))}return B.join("")},parse:function(v){for(var i=v.length,o=[],B=0;B<i;B++)o[B>>>1]|=h(v.charCodeAt(B)<<16-B%2*16);return f.create(o,i*2)}};function h(v){return v<<8&4278255360|v>>>8&16711935}})(),n.enc.Utf16})})(G0)),G0.exports}var j0={exports:{}},Gn=j0.exports,mr;function l0(){return mr||(mr=1,(function(e,t){(function(n,r){e.exports=r(N())})(Gn,function(n){return(function(){var r=n,a=r.lib,f=a.WordArray,y=r.enc;y.Base64={stringify:function(v){var i=v.words,o=v.sigBytes,B=this._map;v.clamp();for(var x=[],u=0;u<o;u+=3)for(var d=i[u>>>2]>>>24-u%4*8&255,C=i[u+1>>>2]>>>24-(u+1)%4*8&255,l=i[u+2>>>2]>>>24-(u+2)%4*8&255,g=d<<16|C<<8|l,s=0;s<4&&u+s*.75<o;s++)x.push(B.charAt(g>>>6*(3-s)&63));var c=B.charAt(64);if(c)for(;x.length%4;)x.push(c);return x.join("")},parse:function(v){var i=v.length,o=this._map,B=this._reverseMap;if(!B){B=this._reverseMap=[];for(var x=0;x<o.length;x++)B[o.charCodeAt(x)]=x}var u=o.charAt(64);if(u){var d=v.indexOf(u);d!==-1&&(i=d)}return h(v,i,B)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function h(v,i,o){for(var B=[],x=0,u=0;u<i;u++)if(u%4){var d=o[v.charCodeAt(u-1)]<<u%4*2,C=o[v.charCodeAt(u)]>>>6-u%4*2,l=d|C;B[x>>>2]|=l<<24-x%4*8,x++}return f.create(B,x)}})(),n.enc.Base64})})(j0)),j0.exports}var K0={exports:{}},jn=K0.exports,br;function Kn(){return br||(br=1,(function(e,t){(function(n,r){e.exports=r(N())})(jn,function(n){return(function(){var r=n,a=r.lib,f=a.WordArray,y=r.enc;y.Base64url={stringify:function(v,i){i===void 0&&(i=!0);var o=v.words,B=v.sigBytes,x=i?this._safe_map:this._map;v.clamp();for(var u=[],d=0;d<B;d+=3)for(var C=o[d>>>2]>>>24-d%4*8&255,l=o[d+1>>>2]>>>24-(d+1)%4*8&255,g=o[d+2>>>2]>>>24-(d+2)%4*8&255,s=C<<16|l<<8|g,c=0;c<4&&d+c*.75<B;c++)u.push(x.charAt(s>>>6*(3-c)&63));var p=x.charAt(64);if(p)for(;u.length%4;)u.push(p);return u.join("")},parse:function(v,i){i===void 0&&(i=!0);var o=v.length,B=i?this._safe_map:this._map,x=this._reverseMap;if(!x){x=this._reverseMap=[];for(var u=0;u<B.length;u++)x[B.charCodeAt(u)]=u}var d=B.charAt(64);if(d){var C=v.indexOf(d);C!==-1&&(o=C)}return h(v,o,x)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function h(v,i,o){for(var B=[],x=0,u=0;u<i;u++)if(u%4){var d=o[v.charCodeAt(u-1)]<<u%4*2,C=o[v.charCodeAt(u)]>>>6-u%4*2,l=d|C;B[x>>>2]|=l<<24-x%4*8,x++}return f.create(B,x)}})(),n.enc.Base64url})})(K0)),K0.exports}var M0={exports:{}},Mn=M0.exports,Ir;function p0(){return Ir||(Ir=1,(function(e,t){(function(n,r){e.exports=r(N())})(Mn,function(n){return(function(r){var a=n,f=a.lib,y=f.WordArray,h=f.Hasher,v=a.algo,i=[];(function(){for(var C=0;C<64;C++)i[C]=r.abs(r.sin(C+1))*4294967296|0})();var o=v.MD5=h.extend({_doReset:function(){this._hash=new y.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(C,l){for(var g=0;g<16;g++){var s=l+g,c=C[s];C[s]=(c<<8|c>>>24)&16711935|(c<<24|c>>>8)&4278255360}var p=this._hash.words,F=C[l+0],E=C[l+1],D=C[l+2],m=C[l+3],S=C[l+4],A=C[l+5],_=C[l+6],I=C[l+7],w=C[l+8],z=C[l+9],H=C[l+10],L=C[l+11],K=C[l+12],W=C[l+13],G=C[l+14],$=C[l+15],b=p[0],P=p[1],R=p[2],k=p[3];b=B(b,P,R,k,F,7,i[0]),k=B(k,b,P,R,E,12,i[1]),R=B(R,k,b,P,D,17,i[2]),P=B(P,R,k,b,m,22,i[3]),b=B(b,P,R,k,S,7,i[4]),k=B(k,b,P,R,A,12,i[5]),R=B(R,k,b,P,_,17,i[6]),P=B(P,R,k,b,I,22,i[7]),b=B(b,P,R,k,w,7,i[8]),k=B(k,b,P,R,z,12,i[9]),R=B(R,k,b,P,H,17,i[10]),P=B(P,R,k,b,L,22,i[11]),b=B(b,P,R,k,K,7,i[12]),k=B(k,b,P,R,W,12,i[13]),R=B(R,k,b,P,G,17,i[14]),P=B(P,R,k,b,$,22,i[15]),b=x(b,P,R,k,E,5,i[16]),k=x(k,b,P,R,_,9,i[17]),R=x(R,k,b,P,L,14,i[18]),P=x(P,R,k,b,F,20,i[19]),b=x(b,P,R,k,A,5,i[20]),k=x(k,b,P,R,H,9,i[21]),R=x(R,k,b,P,$,14,i[22]),P=x(P,R,k,b,S,20,i[23]),b=x(b,P,R,k,z,5,i[24]),k=x(k,b,P,R,G,9,i[25]),R=x(R,k,b,P,m,14,i[26]),P=x(P,R,k,b,w,20,i[27]),b=x(b,P,R,k,W,5,i[28]),k=x(k,b,P,R,D,9,i[29]),R=x(R,k,b,P,I,14,i[30]),P=x(P,R,k,b,K,20,i[31]),b=u(b,P,R,k,A,4,i[32]),k=u(k,b,P,R,w,11,i[33]),R=u(R,k,b,P,L,16,i[34]),P=u(P,R,k,b,G,23,i[35]),b=u(b,P,R,k,E,4,i[36]),k=u(k,b,P,R,S,11,i[37]),R=u(R,k,b,P,I,16,i[38]),P=u(P,R,k,b,H,23,i[39]),b=u(b,P,R,k,W,4,i[40]),k=u(k,b,P,R,F,11,i[41]),R=u(R,k,b,P,m,16,i[42]),P=u(P,R,k,b,_,23,i[43]),b=u(b,P,R,k,z,4,i[44]),k=u(k,b,P,R,K,11,i[45]),R=u(R,k,b,P,$,16,i[46]),P=u(P,R,k,b,D,23,i[47]),b=d(b,P,R,k,F,6,i[48]),k=d(k,b,P,R,I,10,i[49]),R=d(R,k,b,P,G,15,i[50]),P=d(P,R,k,b,A,21,i[51]),b=d(b,P,R,k,K,6,i[52]),k=d(k,b,P,R,m,10,i[53]),R=d(R,k,b,P,H,15,i[54]),P=d(P,R,k,b,E,21,i[55]),b=d(b,P,R,k,w,6,i[56]),k=d(k,b,P,R,$,10,i[57]),R=d(R,k,b,P,_,15,i[58]),P=d(P,R,k,b,W,21,i[59]),b=d(b,P,R,k,S,6,i[60]),k=d(k,b,P,R,L,10,i[61]),R=d(R,k,b,P,D,15,i[62]),P=d(P,R,k,b,z,21,i[63]),p[0]=p[0]+b|0,p[1]=p[1]+P|0,p[2]=p[2]+R|0,p[3]=p[3]+k|0},_doFinalize:function(){var C=this._data,l=C.words,g=this._nDataBytes*8,s=C.sigBytes*8;l[s>>>5]|=128<<24-s%32;var c=r.floor(g/4294967296),p=g;l[(s+64>>>9<<4)+15]=(c<<8|c>>>24)&16711935|(c<<24|c>>>8)&4278255360,l[(s+64>>>9<<4)+14]=(p<<8|p>>>24)&16711935|(p<<24|p>>>8)&4278255360,C.sigBytes=(l.length+1)*4,this._process();for(var F=this._hash,E=F.words,D=0;D<4;D++){var m=E[D];E[D]=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360}return F},clone:function(){var C=h.clone.call(this);return C._hash=this._hash.clone(),C}});function B(C,l,g,s,c,p,F){var E=C+(l&g|~l&s)+c+F;return(E<<p|E>>>32-p)+l}function x(C,l,g,s,c,p,F){var E=C+(l&s|g&~s)+c+F;return(E<<p|E>>>32-p)+l}function u(C,l,g,s,c,p,F){var E=C+(l^g^s)+c+F;return(E<<p|E>>>32-p)+l}function d(C,l,g,s,c,p,F){var E=C+(g^(l|~s))+c+F;return(E<<p|E>>>32-p)+l}a.MD5=h._createHelper(o),a.HmacMD5=h._createHmacHelper(o)})(Math),n.MD5})})(M0)),M0.exports}var X0={exports:{}},Xn=X0.exports,wr;function At(){return wr||(wr=1,(function(e,t){(function(n,r){e.exports=r(N())})(Xn,function(n){return(function(){var r=n,a=r.lib,f=a.WordArray,y=a.Hasher,h=r.algo,v=[],i=h.SHA1=y.extend({_doReset:function(){this._hash=new f.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(o,B){for(var x=this._hash.words,u=x[0],d=x[1],C=x[2],l=x[3],g=x[4],s=0;s<80;s++){if(s<16)v[s]=o[B+s]|0;else{var c=v[s-3]^v[s-8]^v[s-14]^v[s-16];v[s]=c<<1|c>>>31}var p=(u<<5|u>>>27)+g+v[s];s<20?p+=(d&C|~d&l)+1518500249:s<40?p+=(d^C^l)+1859775393:s<60?p+=(d&C|d&l|C&l)-1894007588:p+=(d^C^l)-899497514,g=l,l=C,C=d<<30|d>>>2,d=u,u=p}x[0]=x[0]+u|0,x[1]=x[1]+d|0,x[2]=x[2]+C|0,x[3]=x[3]+l|0,x[4]=x[4]+g|0},_doFinalize:function(){var o=this._data,B=o.words,x=this._nDataBytes*8,u=o.sigBytes*8;return B[u>>>5]|=128<<24-u%32,B[(u+64>>>9<<4)+14]=Math.floor(x/4294967296),B[(u+64>>>9<<4)+15]=x,o.sigBytes=B.length*4,this._process(),this._hash},clone:function(){var o=y.clone.call(this);return o._hash=this._hash.clone(),o}});r.SHA1=y._createHelper(i),r.HmacSHA1=y._createHmacHelper(i)})(),n.SHA1})})(X0)),X0.exports}var V0={exports:{}},Vn=V0.exports,kr;function or(){return kr||(kr=1,(function(e,t){(function(n,r){e.exports=r(N())})(Vn,function(n){return(function(r){var a=n,f=a.lib,y=f.WordArray,h=f.Hasher,v=a.algo,i=[],o=[];(function(){function u(g){for(var s=r.sqrt(g),c=2;c<=s;c++)if(!(g%c))return!1;return!0}function d(g){return(g-(g|0))*4294967296|0}for(var C=2,l=0;l<64;)u(C)&&(l<8&&(i[l]=d(r.pow(C,1/2))),o[l]=d(r.pow(C,1/3)),l++),C++})();var B=[],x=v.SHA256=h.extend({_doReset:function(){this._hash=new y.init(i.slice(0))},_doProcessBlock:function(u,d){for(var C=this._hash.words,l=C[0],g=C[1],s=C[2],c=C[3],p=C[4],F=C[5],E=C[6],D=C[7],m=0;m<64;m++){if(m<16)B[m]=u[d+m]|0;else{var S=B[m-15],A=(S<<25|S>>>7)^(S<<14|S>>>18)^S>>>3,_=B[m-2],I=(_<<15|_>>>17)^(_<<13|_>>>19)^_>>>10;B[m]=A+B[m-7]+I+B[m-16]}var w=p&F^~p&E,z=l&g^l&s^g&s,H=(l<<30|l>>>2)^(l<<19|l>>>13)^(l<<10|l>>>22),L=(p<<26|p>>>6)^(p<<21|p>>>11)^(p<<7|p>>>25),K=D+L+w+o[m]+B[m],W=H+z;D=E,E=F,F=p,p=c+K|0,c=s,s=g,g=l,l=K+W|0}C[0]=C[0]+l|0,C[1]=C[1]+g|0,C[2]=C[2]+s|0,C[3]=C[3]+c|0,C[4]=C[4]+p|0,C[5]=C[5]+F|0,C[6]=C[6]+E|0,C[7]=C[7]+D|0},_doFinalize:function(){var u=this._data,d=u.words,C=this._nDataBytes*8,l=u.sigBytes*8;return d[l>>>5]|=128<<24-l%32,d[(l+64>>>9<<4)+14]=r.floor(C/4294967296),d[(l+64>>>9<<4)+15]=C,u.sigBytes=d.length*4,this._process(),this._hash},clone:function(){var u=h.clone.call(this);return u._hash=this._hash.clone(),u}});a.SHA256=h._createHelper(x),a.HmacSHA256=h._createHmacHelper(x)})(Math),n.SHA256})})(V0)),V0.exports}var Q0={exports:{}},Qn=Q0.exports,Sr;function Zn(){return Sr||(Sr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),or())})(Qn,function(n){return(function(){var r=n,a=r.lib,f=a.WordArray,y=r.algo,h=y.SHA256,v=y.SHA224=h.extend({_doReset:function(){this._hash=new f.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var i=h._doFinalize.call(this);return i.sigBytes-=4,i}});r.SHA224=h._createHelper(v),r.HmacSHA224=h._createHmacHelper(v)})(),n.SHA224})})(Q0)),Q0.exports}var Z0={exports:{}},Yn=Z0.exports,Pr;function yt(){return Pr||(Pr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),we())})(Yn,function(n){return(function(){var r=n,a=r.lib,f=a.Hasher,y=r.x64,h=y.Word,v=y.WordArray,i=r.algo;function o(){return h.create.apply(h,arguments)}var B=[o(1116352408,3609767458),o(1899447441,602891725),o(3049323471,3964484399),o(3921009573,2173295548),o(961987163,4081628472),o(1508970993,3053834265),o(2453635748,2937671579),o(2870763221,3664609560),o(3624381080,2734883394),o(310598401,1164996542),o(607225278,1323610764),o(1426881987,3590304994),o(1925078388,4068182383),o(2162078206,991336113),o(2614888103,633803317),o(3248222580,3479774868),o(3835390401,2666613458),o(4022224774,944711139),o(264347078,2341262773),o(604807628,2007800933),o(770255983,1495990901),o(1249150122,1856431235),o(1555081692,3175218132),o(1996064986,2198950837),o(2554220882,3999719339),o(2821834349,766784016),o(2952996808,2566594879),o(3210313671,3203337956),o(3336571891,1034457026),o(3584528711,2466948901),o(113926993,3758326383),o(338241895,168717936),o(666307205,1188179964),o(773529912,1546045734),o(1294757372,1522805485),o(1396182291,2643833823),o(1695183700,2343527390),o(1986661051,1014477480),o(2177026350,1206759142),o(2456956037,344077627),o(2730485921,1290863460),o(2820302411,3158454273),o(3259730800,3505952657),o(3345764771,106217008),o(3516065817,3606008344),o(3600352804,1432725776),o(4094571909,1467031594),o(275423344,851169720),o(430227734,3100823752),o(506948616,1363258195),o(659060556,3750685593),o(883997877,3785050280),o(958139571,3318307427),o(1322822218,3812723403),o(1537002063,2003034995),o(1747873779,3602036899),o(1955562222,1575990012),o(2024104815,1125592928),o(2227730452,2716904306),o(2361852424,442776044),o(2428436474,593698344),o(2756734187,3733110249),o(3204031479,2999351573),o(3329325298,3815920427),o(3391569614,3928383900),o(3515267271,566280711),o(3940187606,3454069534),o(4118630271,4000239992),o(116418474,1914138554),o(174292421,2731055270),o(289380356,3203993006),o(460393269,320620315),o(685471733,587496836),o(852142971,1086792851),o(1017036298,365543100),o(1126000580,2618297676),o(1288033470,3409855158),o(1501505948,4234509866),o(1607167915,987167468),o(1816402316,1246189591)],x=[];(function(){for(var d=0;d<80;d++)x[d]=o()})();var u=i.SHA512=f.extend({_doReset:function(){this._hash=new v.init([new h.init(1779033703,4089235720),new h.init(3144134277,2227873595),new h.init(1013904242,4271175723),new h.init(2773480762,1595750129),new h.init(1359893119,2917565137),new h.init(2600822924,725511199),new h.init(528734635,4215389547),new h.init(1541459225,327033209)])},_doProcessBlock:function(d,C){for(var l=this._hash.words,g=l[0],s=l[1],c=l[2],p=l[3],F=l[4],E=l[5],D=l[6],m=l[7],S=g.high,A=g.low,_=s.high,I=s.low,w=c.high,z=c.low,H=p.high,L=p.low,K=F.high,W=F.low,G=E.high,$=E.low,b=D.high,P=D.low,R=m.high,k=m.low,M=S,j=A,Y=_,q=I,F0=w,v0=z,Se=H,D0=L,i0=K,J=W,T0=G,_0=$,z0=b,m0=P,Pe=R,b0=k,o0=0;o0<80;o0++){var t0,d0,H0=x[o0];if(o0<16)d0=H0.high=d[C+o0*2]|0,t0=H0.low=d[C+o0*2+1]|0;else{var xr=x[o0-15],C0=xr.high,I0=xr.low,Pt=(C0>>>1|I0<<31)^(C0>>>8|I0<<24)^C0>>>7,sr=(I0>>>1|C0<<31)^(I0>>>8|C0<<24)^(I0>>>7|C0<<25),cr=x[o0-2],B0=cr.high,w0=cr.low,Rt=(B0>>>19|w0<<13)^(B0<<3|w0>>>29)^B0>>>6,fr=(w0>>>19|B0<<13)^(w0<<3|B0>>>29)^(w0>>>6|B0<<26),dr=x[o0-7],Tt=dr.high,zt=dr.low,ur=x[o0-16],Ht=ur.high,hr=ur.low;t0=sr+zt,d0=Pt+Tt+(t0>>>0<sr>>>0?1:0),t0=t0+fr,d0=d0+Rt+(t0>>>0<fr>>>0?1:0),t0=t0+hr,d0=d0+Ht+(t0>>>0<hr>>>0?1:0),H0.high=d0,H0.low=t0}var Lt=i0&T0^~i0&z0,lr=J&_0^~J&m0,qt=M&Y^M&F0^Y&F0,Nt=j&q^j&v0^q&v0,Ot=(M>>>28|j<<4)^(M<<30|j>>>2)^(M<<25|j>>>7),pr=(j>>>28|M<<4)^(j<<30|M>>>2)^(j<<25|M>>>7),Wt=(i0>>>14|J<<18)^(i0>>>18|J<<14)^(i0<<23|J>>>9),$t=(J>>>14|i0<<18)^(J>>>18|i0<<14)^(J<<23|i0>>>9),vr=B[o0],Ut=vr.high,Cr=vr.low,e0=b0+$t,u0=Pe+Wt+(e0>>>0<b0>>>0?1:0),e0=e0+lr,u0=u0+Lt+(e0>>>0<lr>>>0?1:0),e0=e0+Cr,u0=u0+Ut+(e0>>>0<Cr>>>0?1:0),e0=e0+t0,u0=u0+d0+(e0>>>0<t0>>>0?1:0),Br=pr+Nt,Gt=Ot+qt+(Br>>>0<pr>>>0?1:0);Pe=z0,b0=m0,z0=T0,m0=_0,T0=i0,_0=J,J=D0+e0|0,i0=Se+u0+(J>>>0<D0>>>0?1:0)|0,Se=F0,D0=v0,F0=Y,v0=q,Y=M,q=j,j=e0+Br|0,M=u0+Gt+(j>>>0<e0>>>0?1:0)|0}A=g.low=A+j,g.high=S+M+(A>>>0<j>>>0?1:0),I=s.low=I+q,s.high=_+Y+(I>>>0<q>>>0?1:0),z=c.low=z+v0,c.high=w+F0+(z>>>0<v0>>>0?1:0),L=p.low=L+D0,p.high=H+Se+(L>>>0<D0>>>0?1:0),W=F.low=W+J,F.high=K+i0+(W>>>0<J>>>0?1:0),$=E.low=$+_0,E.high=G+T0+($>>>0<_0>>>0?1:0),P=D.low=P+m0,D.high=b+z0+(P>>>0<m0>>>0?1:0),k=m.low=k+b0,m.high=R+Pe+(k>>>0<b0>>>0?1:0)},_doFinalize:function(){var d=this._data,C=d.words,l=this._nDataBytes*8,g=d.sigBytes*8;C[g>>>5]|=128<<24-g%32,C[(g+128>>>10<<5)+30]=Math.floor(l/4294967296),C[(g+128>>>10<<5)+31]=l,d.sigBytes=C.length*4,this._process();var s=this._hash.toX32();return s},clone:function(){var d=f.clone.call(this);return d._hash=this._hash.clone(),d},blockSize:1024/32});r.SHA512=f._createHelper(u),r.HmacSHA512=f._createHmacHelper(u)})(),n.SHA512})})(Z0)),Z0.exports}var Y0={exports:{}},Jn=Y0.exports,Rr;function ei(){return Rr||(Rr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),we(),yt())})(Jn,function(n){return(function(){var r=n,a=r.x64,f=a.Word,y=a.WordArray,h=r.algo,v=h.SHA512,i=h.SHA384=v.extend({_doReset:function(){this._hash=new y.init([new f.init(3418070365,3238371032),new f.init(1654270250,914150663),new f.init(2438529370,812702999),new f.init(355462360,4144912697),new f.init(1731405415,4290775857),new f.init(2394180231,1750603025),new f.init(3675008525,1694076839),new f.init(1203062813,3204075428)])},_doFinalize:function(){var o=v._doFinalize.call(this);return o.sigBytes-=16,o}});r.SHA384=v._createHelper(i),r.HmacSHA384=v._createHmacHelper(i)})(),n.SHA384})})(Y0)),Y0.exports}var J0={exports:{}},ri=J0.exports,Tr;function ti(){return Tr||(Tr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),we())})(ri,function(n){return(function(r){var a=n,f=a.lib,y=f.WordArray,h=f.Hasher,v=a.x64,i=v.Word,o=a.algo,B=[],x=[],u=[];(function(){for(var l=1,g=0,s=0;s<24;s++){B[l+5*g]=(s+1)*(s+2)/2%64;var c=g%5,p=(2*l+3*g)%5;l=c,g=p}for(var l=0;l<5;l++)for(var g=0;g<5;g++)x[l+5*g]=g+(2*l+3*g)%5*5;for(var F=1,E=0;E<24;E++){for(var D=0,m=0,S=0;S<7;S++){if(F&1){var A=(1<<S)-1;A<32?m^=1<<A:D^=1<<A-32}F&128?F=F<<1^113:F<<=1}u[E]=i.create(D,m)}})();var d=[];(function(){for(var l=0;l<25;l++)d[l]=i.create()})();var C=o.SHA3=h.extend({cfg:h.cfg.extend({outputLength:512}),_doReset:function(){for(var l=this._state=[],g=0;g<25;g++)l[g]=new i.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(l,g){for(var s=this._state,c=this.blockSize/2,p=0;p<c;p++){var F=l[g+2*p],E=l[g+2*p+1];F=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360,E=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360;var D=s[p];D.high^=E,D.low^=F}for(var m=0;m<24;m++){for(var S=0;S<5;S++){for(var A=0,_=0,I=0;I<5;I++){var D=s[S+5*I];A^=D.high,_^=D.low}var w=d[S];w.high=A,w.low=_}for(var S=0;S<5;S++)for(var z=d[(S+4)%5],H=d[(S+1)%5],L=H.high,K=H.low,A=z.high^(L<<1|K>>>31),_=z.low^(K<<1|L>>>31),I=0;I<5;I++){var D=s[S+5*I];D.high^=A,D.low^=_}for(var W=1;W<25;W++){var A,_,D=s[W],G=D.high,$=D.low,b=B[W];b<32?(A=G<<b|$>>>32-b,_=$<<b|G>>>32-b):(A=$<<b-32|G>>>64-b,_=G<<b-32|$>>>64-b);var P=d[x[W]];P.high=A,P.low=_}var R=d[0],k=s[0];R.high=k.high,R.low=k.low;for(var S=0;S<5;S++)for(var I=0;I<5;I++){var W=S+5*I,D=s[W],M=d[W],j=d[(S+1)%5+5*I],Y=d[(S+2)%5+5*I];D.high=M.high^~j.high&Y.high,D.low=M.low^~j.low&Y.low}var D=s[0],q=u[m];D.high^=q.high,D.low^=q.low}},_doFinalize:function(){var l=this._data,g=l.words;this._nDataBytes*8;var s=l.sigBytes*8,c=this.blockSize*32;g[s>>>5]|=1<<24-s%32,g[(r.ceil((s+1)/c)*c>>>5)-1]|=128,l.sigBytes=g.length*4,this._process();for(var p=this._state,F=this.cfg.outputLength/8,E=F/8,D=[],m=0;m<E;m++){var S=p[m],A=S.high,_=S.low;A=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,_=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,D.push(_),D.push(A)}return new y.init(D,F)},clone:function(){for(var l=h.clone.call(this),g=l._state=this._state.slice(0),s=0;s<25;s++)g[s]=g[s].clone();return l}});a.SHA3=h._createHelper(C),a.HmacSHA3=h._createHmacHelper(C)})(Math),n.SHA3})})(J0)),J0.exports}var ee={exports:{}},ni=ee.exports,zr;function ii(){return zr||(zr=1,(function(e,t){(function(n,r){e.exports=r(N())})(ni,function(n){/** @preserve
|
|
2
2
|
(c) 2012 by Cédric Mesnil. All rights reserved.
|
|
3
3
|
|
|
4
4
|
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
8
8
|
|
|
9
9
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
10
|
-
*/return(function(r){var a=n,f=a.lib,y=f.WordArray,h=f.Hasher,v=a.algo,i=y.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]),o=y.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]),B=y.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]),x=y.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]),u=y.create([0,1518500249,1859775393,2400959708,2840853838]),d=y.create([1352829926,1548603684,1836072691,2053994217,0]),C=v.RIPEMD160=h.extend({_doReset:function(){this._hash=y.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(E,D){for(var b=0;b<16;b++){var k=D+b,A=E[k];E[k]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360}var _=this._hash.words,I=u.words,w=d.words,z=i.words,H=o.words,L=B.words,K=x.words,W,G,$,m,P,T,S,M,j,Y;T=W=_[0],S=G=_[1],M=$=_[2],j=m=_[3],Y=P=_[4];for(var q,b=0;b<80;b+=1)q=W+E[D+z[b]]|0,b<16?q+=l(G,$,m)+I[0]:b<32?q+=g(G,$,m)+I[1]:b<48?q+=s(G,$,m)+I[2]:b<64?q+=c(G,$,m)+I[3]:q+=p(G,$,m)+I[4],q=q|0,q=F(q,L[b]),q=q+P|0,W=P,P=m,m=F($,10),$=G,G=q,q=T+E[D+H[b]]|0,b<16?q+=p(S,M,j)+w[0]:b<32?q+=c(S,M,j)+w[1]:b<48?q+=s(S,M,j)+w[2]:b<64?q+=g(S,M,j)+w[3]:q+=l(S,M,j)+w[4],q=q|0,q=F(q,K[b]),q=q+Y|0,T=Y,Y=j,j=F(M,10),M=S,S=q;q=_[1]+$+j|0,_[1]=_[2]+m+Y|0,_[2]=_[3]+P+T|0,_[3]=_[4]+W+S|0,_[4]=_[0]+G+M|0,_[0]=q},_doFinalize:function(){var E=this._data,D=E.words,b=this._nDataBytes*8,k=E.sigBytes*8;D[k>>>5]|=128<<24-k%32,D[(k+64>>>9<<4)+14]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,E.sigBytes=(D.length+1)*4,this._process();for(var A=this._hash,_=A.words,I=0;I<5;I++){var w=_[I];_[I]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360}return A},clone:function(){var E=h.clone.call(this);return E._hash=this._hash.clone(),E}});function l(E,D,b){return E^D^b}function g(E,D,b){return E&D|~E&b}function s(E,D,b){return(E|~D)^b}function c(E,D,b){return E&b|D&~b}function p(E,D,b){return E^(D|~b)}function F(E,D){return E<<D|E>>>32-D}a.RIPEMD160=h._createHelper(C),a.HmacRIPEMD160=h._createHmacHelper(C)})(),n.RIPEMD160})})(ee)),ee.exports}var re={exports:{}},ti=re.exports,Hr;function ar(){return Hr||(Hr=1,(function(e,t){(function(n,r){e.exports=r(N())})(ti,function(n){(function(){var r=n,a=r.lib,f=a.Base,y=r.enc,h=y.Utf8,v=r.algo;v.HMAC=f.extend({init:function(i,o){i=this._hasher=new i.init,typeof o=="string"&&(o=h.parse(o));var B=i.blockSize,x=B*4;o.sigBytes>x&&(o=i.finalize(o)),o.clamp();for(var u=this._oKey=o.clone(),d=this._iKey=o.clone(),C=u.words,l=d.words,g=0;g<B;g++)C[g]^=1549556828,l[g]^=909522486;u.sigBytes=d.sigBytes=x,this.reset()},reset:function(){var i=this._hasher;i.reset(),i.update(this._iKey)},update:function(i){return this._hasher.update(i),this},finalize:function(i){var o=this._hasher,B=o.finalize(i);o.reset();var x=o.finalize(this._oKey.clone().concat(B));return x}})})()})})(re)),re.exports}var te={exports:{}},ni=te.exports,Lr;function ii(){return Lr||(Lr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),or(),ar())})(ni,function(n){return(function(){var r=n,a=r.lib,f=a.Base,y=a.WordArray,h=r.algo,v=h.SHA256,i=h.HMAC,o=h.PBKDF2=f.extend({cfg:f.extend({keySize:128/32,hasher:v,iterations:25e4}),init:function(B){this.cfg=this.cfg.extend(B)},compute:function(B,x){for(var u=this.cfg,d=i.create(u.hasher,B),C=y.create(),l=y.create([1]),g=C.words,s=l.words,c=u.keySize,p=u.iterations;g.length<c;){var F=d.update(x).finalize(l);d.reset();for(var E=F.words,D=E.length,b=F,k=1;k<p;k++){b=d.finalize(b),d.reset();for(var A=b.words,_=0;_<D;_++)E[_]^=A[_]}C.concat(F),s[0]++}return C.sigBytes=c*4,C}});r.PBKDF2=function(B,x,u){return o.create(u).compute(B,x)}})(),n.PBKDF2})})(te)),te.exports}var ne={exports:{}},oi=ne.exports,qr;function h0(){return qr||(qr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),Bt(),ar())})(oi,function(n){return(function(){var r=n,a=r.lib,f=a.Base,y=a.WordArray,h=r.algo,v=h.MD5,i=h.EvpKDF=f.extend({cfg:f.extend({keySize:128/32,hasher:v,iterations:1}),init:function(o){this.cfg=this.cfg.extend(o)},compute:function(o,B){for(var x,u=this.cfg,d=u.hasher.create(),C=y.create(),l=C.words,g=u.keySize,s=u.iterations;l.length<g;){x&&d.update(x),x=d.update(o).finalize(B),d.reset();for(var c=1;c<s;c++)x=d.finalize(x),d.reset();C.concat(x)}return C.sigBytes=g*4,C}});r.EvpKDF=function(o,B,x){return i.create(x).compute(o,B)}})(),n.EvpKDF})})(ne)),ne.exports}var ie={exports:{}},ai=ie.exports,Nr;function Q(){return Nr||(Nr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),h0())})(ai,function(n){n.lib.Cipher||(function(r){var a=n,f=a.lib,y=f.Base,h=f.WordArray,v=f.BufferedBlockAlgorithm,i=a.enc;i.Utf8;var o=i.Base64,B=a.algo,x=B.EvpKDF,u=f.Cipher=v.extend({cfg:y.extend(),createEncryptor:function(A,_){return this.create(this._ENC_XFORM_MODE,A,_)},createDecryptor:function(A,_){return this.create(this._DEC_XFORM_MODE,A,_)},init:function(A,_,I){this.cfg=this.cfg.extend(I),this._xformMode=A,this._key=_,this.reset()},reset:function(){v.reset.call(this),this._doReset()},process:function(A){return this._append(A),this._process()},finalize:function(A){A&&this._append(A);var _=this._doFinalize();return _},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:(function(){function A(_){return typeof _=="string"?k:E}return function(_){return{encrypt:function(I,w,z){return A(w).encrypt(_,I,w,z)},decrypt:function(I,w,z){return A(w).decrypt(_,I,w,z)}}}})()});f.StreamCipher=u.extend({_doFinalize:function(){var A=this._process(!0);return A},blockSize:1});var d=a.mode={},C=f.BlockCipherMode=y.extend({createEncryptor:function(A,_){return this.Encryptor.create(A,_)},createDecryptor:function(A,_){return this.Decryptor.create(A,_)},init:function(A,_){this._cipher=A,this._iv=_}}),l=d.CBC=(function(){var A=C.extend();A.Encryptor=A.extend({processBlock:function(I,w){var z=this._cipher,H=z.blockSize;_.call(this,I,w,H),z.encryptBlock(I,w),this._prevBlock=I.slice(w,w+H)}}),A.Decryptor=A.extend({processBlock:function(I,w){var z=this._cipher,H=z.blockSize,L=I.slice(w,w+H);z.decryptBlock(I,w),_.call(this,I,w,H),this._prevBlock=L}});function _(I,w,z){var H,L=this._iv;L?(H=L,this._iv=r):H=this._prevBlock;for(var K=0;K<z;K++)I[w+K]^=H[K]}return A})(),g=a.pad={},s=g.Pkcs7={pad:function(A,_){for(var I=_*4,w=I-A.sigBytes%I,z=w<<24|w<<16|w<<8|w,H=[],L=0;L<w;L+=4)H.push(z);var K=h.create(H,w);A.concat(K)},unpad:function(A){var _=A.words[A.sigBytes-1>>>2]&255;A.sigBytes-=_}};f.BlockCipher=u.extend({cfg:u.cfg.extend({mode:l,padding:s}),reset:function(){var A;u.reset.call(this);var _=this.cfg,I=_.iv,w=_.mode;this._xformMode==this._ENC_XFORM_MODE?A=w.createEncryptor:(A=w.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==A?this._mode.init(this,I&&I.words):(this._mode=A.call(w,this,I&&I.words),this._mode.__creator=A)},_doProcessBlock:function(A,_){this._mode.processBlock(A,_)},_doFinalize:function(){var A,_=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(_.pad(this._data,this.blockSize),A=this._process(!0)):(A=this._process(!0),_.unpad(A)),A},blockSize:128/32});var c=f.CipherParams=y.extend({init:function(A){this.mixIn(A)},toString:function(A){return(A||this.formatter).stringify(this)}}),p=a.format={},F=p.OpenSSL={stringify:function(A){var _,I=A.ciphertext,w=A.salt;return w?_=h.create([1398893684,1701076831]).concat(w).concat(I):_=I,_.toString(o)},parse:function(A){var _,I=o.parse(A),w=I.words;return w[0]==1398893684&&w[1]==1701076831&&(_=h.create(w.slice(2,4)),w.splice(0,4),I.sigBytes-=16),c.create({ciphertext:I,salt:_})}},E=f.SerializableCipher=y.extend({cfg:y.extend({format:F}),encrypt:function(A,_,I,w){w=this.cfg.extend(w);var z=A.createEncryptor(I,w),H=z.finalize(_),L=z.cfg;return c.create({ciphertext:H,key:I,iv:L.iv,algorithm:A,mode:L.mode,padding:L.padding,blockSize:A.blockSize,formatter:w.format})},decrypt:function(A,_,I,w){w=this.cfg.extend(w),_=this._parse(_,w.format);var z=A.createDecryptor(I,w).finalize(_.ciphertext);return z},_parse:function(A,_){return typeof A=="string"?_.parse(A,this):A}}),D=a.kdf={},b=D.OpenSSL={execute:function(A,_,I,w,z){if(w||(w=h.random(64/8)),z)var H=x.create({keySize:_+I,hasher:z}).compute(A,w);else var H=x.create({keySize:_+I}).compute(A,w);var L=h.create(H.words.slice(_),I*4);return H.sigBytes=_*4,c.create({key:H,iv:L,salt:w})}},k=f.PasswordBasedCipher=E.extend({cfg:E.cfg.extend({kdf:b}),encrypt:function(A,_,I,w){w=this.cfg.extend(w);var z=w.kdf.execute(I,A.keySize,A.ivSize,w.salt,w.hasher);w.iv=z.iv;var H=E.encrypt.call(this,A,_,z.key,w);return H.mixIn(z),H},decrypt:function(A,_,I,w){w=this.cfg.extend(w),_=this._parse(_,w.format);var z=w.kdf.execute(I,A.keySize,A.ivSize,_.salt,w.hasher);w.iv=z.iv;var H=E.decrypt.call(this,A,_,z.key,w);return H}})})()})})(ie)),ie.exports}var oe={exports:{}},xi=oe.exports,Or;function si(){return Or||(Or=1,(function(e,t){(function(n,r,a){e.exports=r(N(),Q())})(xi,function(n){return n.mode.CFB=(function(){var r=n.lib.BlockCipherMode.extend();r.Encryptor=r.extend({processBlock:function(f,y){var h=this._cipher,v=h.blockSize;a.call(this,f,y,v,h),this._prevBlock=f.slice(y,y+v)}}),r.Decryptor=r.extend({processBlock:function(f,y){var h=this._cipher,v=h.blockSize,i=f.slice(y,y+v);a.call(this,f,y,v,h),this._prevBlock=i}});function a(f,y,h,v){var i,o=this._iv;o?(i=o.slice(0),this._iv=void 0):i=this._prevBlock,v.encryptBlock(i,0);for(var B=0;B<h;B++)f[y+B]^=i[B]}return r})(),n.mode.CFB})})(oe)),oe.exports}var ae={exports:{}},ci=ae.exports,Wr;function fi(){return Wr||(Wr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),Q())})(ci,function(n){return n.mode.CTR=(function(){var r=n.lib.BlockCipherMode.extend(),a=r.Encryptor=r.extend({processBlock:function(f,y){var h=this._cipher,v=h.blockSize,i=this._iv,o=this._counter;i&&(o=this._counter=i.slice(0),this._iv=void 0);var B=o.slice(0);h.encryptBlock(B,0),o[v-1]=o[v-1]+1|0;for(var x=0;x<v;x++)f[y+x]^=B[x]}});return r.Decryptor=a,r})(),n.mode.CTR})})(ae)),ae.exports}var xe={exports:{}},di=xe.exports,$r;function ui(){return $r||($r=1,(function(e,t){(function(n,r,a){e.exports=r(N(),Q())})(di,function(n){/** @preserve
|
|
10
|
+
*/return(function(r){var a=n,f=a.lib,y=f.WordArray,h=f.Hasher,v=a.algo,i=y.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]),o=y.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]),B=y.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]),x=y.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]),u=y.create([0,1518500249,1859775393,2400959708,2840853838]),d=y.create([1352829926,1548603684,1836072691,2053994217,0]),C=v.RIPEMD160=h.extend({_doReset:function(){this._hash=y.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(E,D){for(var m=0;m<16;m++){var S=D+m,A=E[S];E[S]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360}var _=this._hash.words,I=u.words,w=d.words,z=i.words,H=o.words,L=B.words,K=x.words,W,G,$,b,P,R,k,M,j,Y;R=W=_[0],k=G=_[1],M=$=_[2],j=b=_[3],Y=P=_[4];for(var q,m=0;m<80;m+=1)q=W+E[D+z[m]]|0,m<16?q+=l(G,$,b)+I[0]:m<32?q+=g(G,$,b)+I[1]:m<48?q+=s(G,$,b)+I[2]:m<64?q+=c(G,$,b)+I[3]:q+=p(G,$,b)+I[4],q=q|0,q=F(q,L[m]),q=q+P|0,W=P,P=b,b=F($,10),$=G,G=q,q=R+E[D+H[m]]|0,m<16?q+=p(k,M,j)+w[0]:m<32?q+=c(k,M,j)+w[1]:m<48?q+=s(k,M,j)+w[2]:m<64?q+=g(k,M,j)+w[3]:q+=l(k,M,j)+w[4],q=q|0,q=F(q,K[m]),q=q+Y|0,R=Y,Y=j,j=F(M,10),M=k,k=q;q=_[1]+$+j|0,_[1]=_[2]+b+Y|0,_[2]=_[3]+P+R|0,_[3]=_[4]+W+k|0,_[4]=_[0]+G+M|0,_[0]=q},_doFinalize:function(){var E=this._data,D=E.words,m=this._nDataBytes*8,S=E.sigBytes*8;D[S>>>5]|=128<<24-S%32,D[(S+64>>>9<<4)+14]=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360,E.sigBytes=(D.length+1)*4,this._process();for(var A=this._hash,_=A.words,I=0;I<5;I++){var w=_[I];_[I]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360}return A},clone:function(){var E=h.clone.call(this);return E._hash=this._hash.clone(),E}});function l(E,D,m){return E^D^m}function g(E,D,m){return E&D|~E&m}function s(E,D,m){return(E|~D)^m}function c(E,D,m){return E&m|D&~m}function p(E,D,m){return E^(D|~m)}function F(E,D){return E<<D|E>>>32-D}a.RIPEMD160=h._createHelper(C),a.HmacRIPEMD160=h._createHmacHelper(C)})(),n.RIPEMD160})})(ee)),ee.exports}var re={exports:{}},oi=re.exports,Hr;function ar(){return Hr||(Hr=1,(function(e,t){(function(n,r){e.exports=r(N())})(oi,function(n){(function(){var r=n,a=r.lib,f=a.Base,y=r.enc,h=y.Utf8,v=r.algo;v.HMAC=f.extend({init:function(i,o){i=this._hasher=new i.init,typeof o=="string"&&(o=h.parse(o));var B=i.blockSize,x=B*4;o.sigBytes>x&&(o=i.finalize(o)),o.clamp();for(var u=this._oKey=o.clone(),d=this._iKey=o.clone(),C=u.words,l=d.words,g=0;g<B;g++)C[g]^=1549556828,l[g]^=909522486;u.sigBytes=d.sigBytes=x,this.reset()},reset:function(){var i=this._hasher;i.reset(),i.update(this._iKey)},update:function(i){return this._hasher.update(i),this},finalize:function(i){var o=this._hasher,B=o.finalize(i);o.reset();var x=o.finalize(this._oKey.clone().concat(B));return x}})})()})})(re)),re.exports}var te={exports:{}},ai=te.exports,Lr;function xi(){return Lr||(Lr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),or(),ar())})(ai,function(n){return(function(){var r=n,a=r.lib,f=a.Base,y=a.WordArray,h=r.algo,v=h.SHA256,i=h.HMAC,o=h.PBKDF2=f.extend({cfg:f.extend({keySize:128/32,hasher:v,iterations:25e4}),init:function(B){this.cfg=this.cfg.extend(B)},compute:function(B,x){for(var u=this.cfg,d=i.create(u.hasher,B),C=y.create(),l=y.create([1]),g=C.words,s=l.words,c=u.keySize,p=u.iterations;g.length<c;){var F=d.update(x).finalize(l);d.reset();for(var E=F.words,D=E.length,m=F,S=1;S<p;S++){m=d.finalize(m),d.reset();for(var A=m.words,_=0;_<D;_++)E[_]^=A[_]}C.concat(F),s[0]++}return C.sigBytes=c*4,C}});r.PBKDF2=function(B,x,u){return o.create(u).compute(B,x)}})(),n.PBKDF2})})(te)),te.exports}var ne={exports:{}},si=ne.exports,qr;function h0(){return qr||(qr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),At(),ar())})(si,function(n){return(function(){var r=n,a=r.lib,f=a.Base,y=a.WordArray,h=r.algo,v=h.MD5,i=h.EvpKDF=f.extend({cfg:f.extend({keySize:128/32,hasher:v,iterations:1}),init:function(o){this.cfg=this.cfg.extend(o)},compute:function(o,B){for(var x,u=this.cfg,d=u.hasher.create(),C=y.create(),l=C.words,g=u.keySize,s=u.iterations;l.length<g;){x&&d.update(x),x=d.update(o).finalize(B),d.reset();for(var c=1;c<s;c++)x=d.finalize(x),d.reset();C.concat(x)}return C.sigBytes=g*4,C}});r.EvpKDF=function(o,B,x){return i.create(x).compute(o,B)}})(),n.EvpKDF})})(ne)),ne.exports}var ie={exports:{}},ci=ie.exports,Nr;function Z(){return Nr||(Nr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),h0())})(ci,function(n){n.lib.Cipher||(function(r){var a=n,f=a.lib,y=f.Base,h=f.WordArray,v=f.BufferedBlockAlgorithm,i=a.enc;i.Utf8;var o=i.Base64,B=a.algo,x=B.EvpKDF,u=f.Cipher=v.extend({cfg:y.extend(),createEncryptor:function(A,_){return this.create(this._ENC_XFORM_MODE,A,_)},createDecryptor:function(A,_){return this.create(this._DEC_XFORM_MODE,A,_)},init:function(A,_,I){this.cfg=this.cfg.extend(I),this._xformMode=A,this._key=_,this.reset()},reset:function(){v.reset.call(this),this._doReset()},process:function(A){return this._append(A),this._process()},finalize:function(A){A&&this._append(A);var _=this._doFinalize();return _},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:(function(){function A(_){return typeof _=="string"?S:E}return function(_){return{encrypt:function(I,w,z){return A(w).encrypt(_,I,w,z)},decrypt:function(I,w,z){return A(w).decrypt(_,I,w,z)}}}})()});f.StreamCipher=u.extend({_doFinalize:function(){var A=this._process(!0);return A},blockSize:1});var d=a.mode={},C=f.BlockCipherMode=y.extend({createEncryptor:function(A,_){return this.Encryptor.create(A,_)},createDecryptor:function(A,_){return this.Decryptor.create(A,_)},init:function(A,_){this._cipher=A,this._iv=_}}),l=d.CBC=(function(){var A=C.extend();A.Encryptor=A.extend({processBlock:function(I,w){var z=this._cipher,H=z.blockSize;_.call(this,I,w,H),z.encryptBlock(I,w),this._prevBlock=I.slice(w,w+H)}}),A.Decryptor=A.extend({processBlock:function(I,w){var z=this._cipher,H=z.blockSize,L=I.slice(w,w+H);z.decryptBlock(I,w),_.call(this,I,w,H),this._prevBlock=L}});function _(I,w,z){var H,L=this._iv;L?(H=L,this._iv=r):H=this._prevBlock;for(var K=0;K<z;K++)I[w+K]^=H[K]}return A})(),g=a.pad={},s=g.Pkcs7={pad:function(A,_){for(var I=_*4,w=I-A.sigBytes%I,z=w<<24|w<<16|w<<8|w,H=[],L=0;L<w;L+=4)H.push(z);var K=h.create(H,w);A.concat(K)},unpad:function(A){var _=A.words[A.sigBytes-1>>>2]&255;A.sigBytes-=_}};f.BlockCipher=u.extend({cfg:u.cfg.extend({mode:l,padding:s}),reset:function(){var A;u.reset.call(this);var _=this.cfg,I=_.iv,w=_.mode;this._xformMode==this._ENC_XFORM_MODE?A=w.createEncryptor:(A=w.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==A?this._mode.init(this,I&&I.words):(this._mode=A.call(w,this,I&&I.words),this._mode.__creator=A)},_doProcessBlock:function(A,_){this._mode.processBlock(A,_)},_doFinalize:function(){var A,_=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(_.pad(this._data,this.blockSize),A=this._process(!0)):(A=this._process(!0),_.unpad(A)),A},blockSize:128/32});var c=f.CipherParams=y.extend({init:function(A){this.mixIn(A)},toString:function(A){return(A||this.formatter).stringify(this)}}),p=a.format={},F=p.OpenSSL={stringify:function(A){var _,I=A.ciphertext,w=A.salt;return w?_=h.create([1398893684,1701076831]).concat(w).concat(I):_=I,_.toString(o)},parse:function(A){var _,I=o.parse(A),w=I.words;return w[0]==1398893684&&w[1]==1701076831&&(_=h.create(w.slice(2,4)),w.splice(0,4),I.sigBytes-=16),c.create({ciphertext:I,salt:_})}},E=f.SerializableCipher=y.extend({cfg:y.extend({format:F}),encrypt:function(A,_,I,w){w=this.cfg.extend(w);var z=A.createEncryptor(I,w),H=z.finalize(_),L=z.cfg;return c.create({ciphertext:H,key:I,iv:L.iv,algorithm:A,mode:L.mode,padding:L.padding,blockSize:A.blockSize,formatter:w.format})},decrypt:function(A,_,I,w){w=this.cfg.extend(w),_=this._parse(_,w.format);var z=A.createDecryptor(I,w).finalize(_.ciphertext);return z},_parse:function(A,_){return typeof A=="string"?_.parse(A,this):A}}),D=a.kdf={},m=D.OpenSSL={execute:function(A,_,I,w,z){if(w||(w=h.random(64/8)),z)var H=x.create({keySize:_+I,hasher:z}).compute(A,w);else var H=x.create({keySize:_+I}).compute(A,w);var L=h.create(H.words.slice(_),I*4);return H.sigBytes=_*4,c.create({key:H,iv:L,salt:w})}},S=f.PasswordBasedCipher=E.extend({cfg:E.cfg.extend({kdf:m}),encrypt:function(A,_,I,w){w=this.cfg.extend(w);var z=w.kdf.execute(I,A.keySize,A.ivSize,w.salt,w.hasher);w.iv=z.iv;var H=E.encrypt.call(this,A,_,z.key,w);return H.mixIn(z),H},decrypt:function(A,_,I,w){w=this.cfg.extend(w),_=this._parse(_,w.format);var z=w.kdf.execute(I,A.keySize,A.ivSize,_.salt,w.hasher);w.iv=z.iv;var H=E.decrypt.call(this,A,_,z.key,w);return H}})})()})})(ie)),ie.exports}var oe={exports:{}},fi=oe.exports,Or;function di(){return Or||(Or=1,(function(e,t){(function(n,r,a){e.exports=r(N(),Z())})(fi,function(n){return n.mode.CFB=(function(){var r=n.lib.BlockCipherMode.extend();r.Encryptor=r.extend({processBlock:function(f,y){var h=this._cipher,v=h.blockSize;a.call(this,f,y,v,h),this._prevBlock=f.slice(y,y+v)}}),r.Decryptor=r.extend({processBlock:function(f,y){var h=this._cipher,v=h.blockSize,i=f.slice(y,y+v);a.call(this,f,y,v,h),this._prevBlock=i}});function a(f,y,h,v){var i,o=this._iv;o?(i=o.slice(0),this._iv=void 0):i=this._prevBlock,v.encryptBlock(i,0);for(var B=0;B<h;B++)f[y+B]^=i[B]}return r})(),n.mode.CFB})})(oe)),oe.exports}var ae={exports:{}},ui=ae.exports,Wr;function hi(){return Wr||(Wr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),Z())})(ui,function(n){return n.mode.CTR=(function(){var r=n.lib.BlockCipherMode.extend(),a=r.Encryptor=r.extend({processBlock:function(f,y){var h=this._cipher,v=h.blockSize,i=this._iv,o=this._counter;i&&(o=this._counter=i.slice(0),this._iv=void 0);var B=o.slice(0);h.encryptBlock(B,0),o[v-1]=o[v-1]+1|0;for(var x=0;x<v;x++)f[y+x]^=B[x]}});return r.Decryptor=a,r})(),n.mode.CTR})})(ae)),ae.exports}var xe={exports:{}},li=xe.exports,$r;function pi(){return $r||($r=1,(function(e,t){(function(n,r,a){e.exports=r(N(),Z())})(li,function(n){/** @preserve
|
|
11
11
|
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
|
12
12
|
* derived from CryptoJS.mode.CTR
|
|
13
13
|
* Jan Hruby jhruby.web@gmail.com
|
|
14
|
-
*/return n.mode.CTRGladman=(function(){var r=n.lib.BlockCipherMode.extend();function a(h){if((h>>24&255)===255){var v=h>>16&255,i=h>>8&255,o=h&255;v===255?(v=0,i===255?(i=0,o===255?o=0:++o):++i):++v,h=0,h+=v<<16,h+=i<<8,h+=o}else h+=1<<24;return h}function f(h){return(h[0]=a(h[0]))===0&&(h[1]=a(h[1])),h}var y=r.Encryptor=r.extend({processBlock:function(h,v){var i=this._cipher,o=i.blockSize,B=this._iv,x=this._counter;B&&(x=this._counter=B.slice(0),this._iv=void 0),f(x);var u=x.slice(0);i.encryptBlock(u,0);for(var d=0;d<o;d++)h[v+d]^=u[d]}});return r.Decryptor=y,r})(),n.mode.CTRGladman})})(xe)),xe.exports}var se={exports:{}},hi=se.exports,Ur;function li(){return Ur||(Ur=1,(function(e,t){(function(n,r,a){e.exports=r(N(),Q())})(hi,function(n){return n.mode.OFB=(function(){var r=n.lib.BlockCipherMode.extend(),a=r.Encryptor=r.extend({processBlock:function(f,y){var h=this._cipher,v=h.blockSize,i=this._iv,o=this._keystream;i&&(o=this._keystream=i.slice(0),this._iv=void 0),h.encryptBlock(o,0);for(var B=0;B<v;B++)f[y+B]^=o[B]}});return r.Decryptor=a,r})(),n.mode.OFB})})(se)),se.exports}var ce={exports:{}},pi=ce.exports,Gr;function vi(){return Gr||(Gr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),Q())})(pi,function(n){return n.mode.ECB=(function(){var r=n.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(a,f){this._cipher.encryptBlock(a,f)}}),r.Decryptor=r.extend({processBlock:function(a,f){this._cipher.decryptBlock(a,f)}}),r})(),n.mode.ECB})})(ce)),ce.exports}var fe={exports:{}},Ci=fe.exports,jr;function Bi(){return jr||(jr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),Q())})(Ci,function(n){return n.pad.AnsiX923={pad:function(r,a){var f=r.sigBytes,y=a*4,h=y-f%y,v=f+h-1;r.clamp(),r.words[v>>>2]|=h<<24-v%4*8,r.sigBytes+=h},unpad:function(r){var a=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=a}},n.pad.Ansix923})})(fe)),fe.exports}var de={exports:{}},Ai=de.exports,Kr;function yi(){return Kr||(Kr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),Q())})(Ai,function(n){return n.pad.Iso10126={pad:function(r,a){var f=a*4,y=f-r.sigBytes%f;r.concat(n.lib.WordArray.random(y-1)).concat(n.lib.WordArray.create([y<<24],1))},unpad:function(r){var a=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=a}},n.pad.Iso10126})})(de)),de.exports}var ue={exports:{}},gi=ue.exports,Mr;function Ei(){return Mr||(Mr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),Q())})(gi,function(n){return n.pad.Iso97971={pad:function(r,a){r.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(r,a)},unpad:function(r){n.pad.ZeroPadding.unpad(r),r.sigBytes--}},n.pad.Iso97971})})(ue)),ue.exports}var he={exports:{}},Fi=he.exports,Xr;function Di(){return Xr||(Xr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),Q())})(Fi,function(n){return n.pad.ZeroPadding={pad:function(r,a){var f=a*4;r.clamp(),r.sigBytes+=f-(r.sigBytes%f||f)},unpad:function(r){for(var a=r.words,f=r.sigBytes-1,f=r.sigBytes-1;f>=0;f--)if(a[f>>>2]>>>24-f%4*8&255){r.sigBytes=f+1;break}}},n.pad.ZeroPadding})})(he)),he.exports}var le={exports:{}},_i=le.exports,Vr;function bi(){return Vr||(Vr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),Q())})(_i,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})})(le)),le.exports}var pe={exports:{}},mi=pe.exports,Zr;function Ii(){return Zr||(Zr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),Q())})(mi,function(n){return(function(r){var a=n,f=a.lib,y=f.CipherParams,h=a.enc,v=h.Hex,i=a.format;i.Hex={stringify:function(o){return o.ciphertext.toString(v)},parse:function(o){var B=v.parse(o);return y.create({ciphertext:B})}}})(),n.format.Hex})})(pe)),pe.exports}var ve={exports:{}},wi=ve.exports,Qr;function Si(){return Qr||(Qr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),l0(),p0(),h0(),Q())})(wi,function(n){return(function(){var r=n,a=r.lib,f=a.BlockCipher,y=r.algo,h=[],v=[],i=[],o=[],B=[],x=[],u=[],d=[],C=[],l=[];(function(){for(var c=[],p=0;p<256;p++)p<128?c[p]=p<<1:c[p]=p<<1^283;for(var F=0,E=0,p=0;p<256;p++){var D=E^E<<1^E<<2^E<<3^E<<4;D=D>>>8^D&255^99,h[F]=D,v[D]=F;var b=c[F],k=c[b],A=c[k],_=c[D]*257^D*16843008;i[F]=_<<24|_>>>8,o[F]=_<<16|_>>>16,B[F]=_<<8|_>>>24,x[F]=_;var _=A*16843009^k*65537^b*257^F*16843008;u[D]=_<<24|_>>>8,d[D]=_<<16|_>>>16,C[D]=_<<8|_>>>24,l[D]=_,F?(F=b^c[c[c[A^b]]],E^=c[c[E]]):F=E=1}})();var g=[0,1,2,4,8,16,32,64,128,27,54],s=y.AES=f.extend({_doReset:function(){var c;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var p=this._keyPriorReset=this._key,F=p.words,E=p.sigBytes/4,D=this._nRounds=E+6,b=(D+1)*4,k=this._keySchedule=[],A=0;A<b;A++)A<E?k[A]=F[A]:(c=k[A-1],A%E?E>6&&A%E==4&&(c=h[c>>>24]<<24|h[c>>>16&255]<<16|h[c>>>8&255]<<8|h[c&255]):(c=c<<8|c>>>24,c=h[c>>>24]<<24|h[c>>>16&255]<<16|h[c>>>8&255]<<8|h[c&255],c^=g[A/E|0]<<24),k[A]=k[A-E]^c);for(var _=this._invKeySchedule=[],I=0;I<b;I++){var A=b-I;if(I%4)var c=k[A];else var c=k[A-4];I<4||A<=4?_[I]=c:_[I]=u[h[c>>>24]]^d[h[c>>>16&255]]^C[h[c>>>8&255]]^l[h[c&255]]}}},encryptBlock:function(c,p){this._doCryptBlock(c,p,this._keySchedule,i,o,B,x,h)},decryptBlock:function(c,p){var F=c[p+1];c[p+1]=c[p+3],c[p+3]=F,this._doCryptBlock(c,p,this._invKeySchedule,u,d,C,l,v);var F=c[p+1];c[p+1]=c[p+3],c[p+3]=F},_doCryptBlock:function(c,p,F,E,D,b,k,A){for(var _=this._nRounds,I=c[p]^F[0],w=c[p+1]^F[1],z=c[p+2]^F[2],H=c[p+3]^F[3],L=4,K=1;K<_;K++){var W=E[I>>>24]^D[w>>>16&255]^b[z>>>8&255]^k[H&255]^F[L++],G=E[w>>>24]^D[z>>>16&255]^b[H>>>8&255]^k[I&255]^F[L++],$=E[z>>>24]^D[H>>>16&255]^b[I>>>8&255]^k[w&255]^F[L++],m=E[H>>>24]^D[I>>>16&255]^b[w>>>8&255]^k[z&255]^F[L++];I=W,w=G,z=$,H=m}var W=(A[I>>>24]<<24|A[w>>>16&255]<<16|A[z>>>8&255]<<8|A[H&255])^F[L++],G=(A[w>>>24]<<24|A[z>>>16&255]<<16|A[H>>>8&255]<<8|A[I&255])^F[L++],$=(A[z>>>24]<<24|A[H>>>16&255]<<16|A[I>>>8&255]<<8|A[w&255])^F[L++],m=(A[H>>>24]<<24|A[I>>>16&255]<<16|A[w>>>8&255]<<8|A[z&255])^F[L++];c[p]=W,c[p+1]=G,c[p+2]=$,c[p+3]=m},keySize:256/32});r.AES=f._createHelper(s)})(),n.AES})})(ve)),ve.exports}var Ce={exports:{}},ki=Ce.exports,Yr;function Pi(){return Yr||(Yr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),l0(),p0(),h0(),Q())})(ki,function(n){return(function(){var r=n,a=r.lib,f=a.WordArray,y=a.BlockCipher,h=r.algo,v=[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],i=[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],o=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],B=[{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}],x=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],u=h.DES=y.extend({_doReset:function(){for(var g=this._key,s=g.words,c=[],p=0;p<56;p++){var F=v[p]-1;c[p]=s[F>>>5]>>>31-F%32&1}for(var E=this._subKeys=[],D=0;D<16;D++){for(var b=E[D]=[],k=o[D],p=0;p<24;p++)b[p/6|0]|=c[(i[p]-1+k)%28]<<31-p%6,b[4+(p/6|0)]|=c[28+(i[p+24]-1+k)%28]<<31-p%6;b[0]=b[0]<<1|b[0]>>>31;for(var p=1;p<7;p++)b[p]=b[p]>>>(p-1)*4+3;b[7]=b[7]<<5|b[7]>>>27}for(var A=this._invSubKeys=[],p=0;p<16;p++)A[p]=E[15-p]},encryptBlock:function(g,s){this._doCryptBlock(g,s,this._subKeys)},decryptBlock:function(g,s){this._doCryptBlock(g,s,this._invSubKeys)},_doCryptBlock:function(g,s,c){this._lBlock=g[s],this._rBlock=g[s+1],d.call(this,4,252645135),d.call(this,16,65535),C.call(this,2,858993459),C.call(this,8,16711935),d.call(this,1,1431655765);for(var p=0;p<16;p++){for(var F=c[p],E=this._lBlock,D=this._rBlock,b=0,k=0;k<8;k++)b|=B[k][((D^F[k])&x[k])>>>0];this._lBlock=D,this._rBlock=E^b}var A=this._lBlock;this._lBlock=this._rBlock,this._rBlock=A,d.call(this,1,1431655765),C.call(this,8,16711935),C.call(this,2,858993459),d.call(this,16,65535),d.call(this,4,252645135),g[s]=this._lBlock,g[s+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function d(g,s){var c=(this._lBlock>>>g^this._rBlock)&s;this._rBlock^=c,this._lBlock^=c<<g}function C(g,s){var c=(this._rBlock>>>g^this._lBlock)&s;this._lBlock^=c,this._rBlock^=c<<g}r.DES=y._createHelper(u);var l=h.TripleDES=y.extend({_doReset:function(){var g=this._key,s=g.words;if(s.length!==2&&s.length!==4&&s.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var c=s.slice(0,2),p=s.length<4?s.slice(0,2):s.slice(2,4),F=s.length<6?s.slice(0,2):s.slice(4,6);this._des1=u.createEncryptor(f.create(c)),this._des2=u.createEncryptor(f.create(p)),this._des3=u.createEncryptor(f.create(F))},encryptBlock:function(g,s){this._des1.encryptBlock(g,s),this._des2.decryptBlock(g,s),this._des3.encryptBlock(g,s)},decryptBlock:function(g,s){this._des3.decryptBlock(g,s),this._des2.encryptBlock(g,s),this._des1.decryptBlock(g,s)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=y._createHelper(l)})(),n.TripleDES})})(Ce)),Ce.exports}var Be={exports:{}},Ti=Be.exports,Jr;function Ri(){return Jr||(Jr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),l0(),p0(),h0(),Q())})(Ti,function(n){return(function(){var r=n,a=r.lib,f=a.StreamCipher,y=r.algo,h=y.RC4=f.extend({_doReset:function(){for(var o=this._key,B=o.words,x=o.sigBytes,u=this._S=[],d=0;d<256;d++)u[d]=d;for(var d=0,C=0;d<256;d++){var l=d%x,g=B[l>>>2]>>>24-l%4*8&255;C=(C+u[d]+g)%256;var s=u[d];u[d]=u[C],u[C]=s}this._i=this._j=0},_doProcessBlock:function(o,B){o[B]^=v.call(this)},keySize:256/32,ivSize:0});function v(){for(var o=this._S,B=this._i,x=this._j,u=0,d=0;d<4;d++){B=(B+1)%256,x=(x+o[B])%256;var C=o[B];o[B]=o[x],o[x]=C,u|=o[(o[B]+o[x])%256]<<24-d*8}return this._i=B,this._j=x,u}r.RC4=f._createHelper(h);var i=y.RC4Drop=h.extend({cfg:h.cfg.extend({drop:192}),_doReset:function(){h._doReset.call(this);for(var o=this.cfg.drop;o>0;o--)v.call(this)}});r.RC4Drop=f._createHelper(i)})(),n.RC4})})(Be)),Be.exports}var Ae={exports:{}},zi=Ae.exports,et;function Hi(){return et||(et=1,(function(e,t){(function(n,r,a){e.exports=r(N(),l0(),p0(),h0(),Q())})(zi,function(n){return(function(){var r=n,a=r.lib,f=a.StreamCipher,y=r.algo,h=[],v=[],i=[],o=y.Rabbit=f.extend({_doReset:function(){for(var x=this._key.words,u=this.cfg.iv,d=0;d<4;d++)x[d]=(x[d]<<8|x[d]>>>24)&16711935|(x[d]<<24|x[d]>>>8)&4278255360;var C=this._X=[x[0],x[3]<<16|x[2]>>>16,x[1],x[0]<<16|x[3]>>>16,x[2],x[1]<<16|x[0]>>>16,x[3],x[2]<<16|x[1]>>>16],l=this._C=[x[2]<<16|x[2]>>>16,x[0]&4294901760|x[1]&65535,x[3]<<16|x[3]>>>16,x[1]&4294901760|x[2]&65535,x[0]<<16|x[0]>>>16,x[2]&4294901760|x[3]&65535,x[1]<<16|x[1]>>>16,x[3]&4294901760|x[0]&65535];this._b=0;for(var d=0;d<4;d++)B.call(this);for(var d=0;d<8;d++)l[d]^=C[d+4&7];if(u){var g=u.words,s=g[0],c=g[1],p=(s<<8|s>>>24)&16711935|(s<<24|s>>>8)&4278255360,F=(c<<8|c>>>24)&16711935|(c<<24|c>>>8)&4278255360,E=p>>>16|F&4294901760,D=F<<16|p&65535;l[0]^=p,l[1]^=E,l[2]^=F,l[3]^=D,l[4]^=p,l[5]^=E,l[6]^=F,l[7]^=D;for(var d=0;d<4;d++)B.call(this)}},_doProcessBlock:function(x,u){var d=this._X;B.call(this),h[0]=d[0]^d[5]>>>16^d[3]<<16,h[1]=d[2]^d[7]>>>16^d[5]<<16,h[2]=d[4]^d[1]>>>16^d[7]<<16,h[3]=d[6]^d[3]>>>16^d[1]<<16;for(var C=0;C<4;C++)h[C]=(h[C]<<8|h[C]>>>24)&16711935|(h[C]<<24|h[C]>>>8)&4278255360,x[u+C]^=h[C]},blockSize:128/32,ivSize:64/32});function B(){for(var x=this._X,u=this._C,d=0;d<8;d++)v[d]=u[d];u[0]=u[0]+1295307597+this._b|0,u[1]=u[1]+3545052371+(u[0]>>>0<v[0]>>>0?1:0)|0,u[2]=u[2]+886263092+(u[1]>>>0<v[1]>>>0?1:0)|0,u[3]=u[3]+1295307597+(u[2]>>>0<v[2]>>>0?1:0)|0,u[4]=u[4]+3545052371+(u[3]>>>0<v[3]>>>0?1:0)|0,u[5]=u[5]+886263092+(u[4]>>>0<v[4]>>>0?1:0)|0,u[6]=u[6]+1295307597+(u[5]>>>0<v[5]>>>0?1:0)|0,u[7]=u[7]+3545052371+(u[6]>>>0<v[6]>>>0?1:0)|0,this._b=u[7]>>>0<v[7]>>>0?1:0;for(var d=0;d<8;d++){var C=x[d]+u[d],l=C&65535,g=C>>>16,s=((l*l>>>17)+l*g>>>15)+g*g,c=((C&4294901760)*C|0)+((C&65535)*C|0);i[d]=s^c}x[0]=i[0]+(i[7]<<16|i[7]>>>16)+(i[6]<<16|i[6]>>>16)|0,x[1]=i[1]+(i[0]<<8|i[0]>>>24)+i[7]|0,x[2]=i[2]+(i[1]<<16|i[1]>>>16)+(i[0]<<16|i[0]>>>16)|0,x[3]=i[3]+(i[2]<<8|i[2]>>>24)+i[1]|0,x[4]=i[4]+(i[3]<<16|i[3]>>>16)+(i[2]<<16|i[2]>>>16)|0,x[5]=i[5]+(i[4]<<8|i[4]>>>24)+i[3]|0,x[6]=i[6]+(i[5]<<16|i[5]>>>16)+(i[4]<<16|i[4]>>>16)|0,x[7]=i[7]+(i[6]<<8|i[6]>>>24)+i[5]|0}r.Rabbit=f._createHelper(o)})(),n.Rabbit})})(Ae)),Ae.exports}var ye={exports:{}},Li=ye.exports,rt;function qi(){return rt||(rt=1,(function(e,t){(function(n,r,a){e.exports=r(N(),l0(),p0(),h0(),Q())})(Li,function(n){return(function(){var r=n,a=r.lib,f=a.StreamCipher,y=r.algo,h=[],v=[],i=[],o=y.RabbitLegacy=f.extend({_doReset:function(){var x=this._key.words,u=this.cfg.iv,d=this._X=[x[0],x[3]<<16|x[2]>>>16,x[1],x[0]<<16|x[3]>>>16,x[2],x[1]<<16|x[0]>>>16,x[3],x[2]<<16|x[1]>>>16],C=this._C=[x[2]<<16|x[2]>>>16,x[0]&4294901760|x[1]&65535,x[3]<<16|x[3]>>>16,x[1]&4294901760|x[2]&65535,x[0]<<16|x[0]>>>16,x[2]&4294901760|x[3]&65535,x[1]<<16|x[1]>>>16,x[3]&4294901760|x[0]&65535];this._b=0;for(var l=0;l<4;l++)B.call(this);for(var l=0;l<8;l++)C[l]^=d[l+4&7];if(u){var g=u.words,s=g[0],c=g[1],p=(s<<8|s>>>24)&16711935|(s<<24|s>>>8)&4278255360,F=(c<<8|c>>>24)&16711935|(c<<24|c>>>8)&4278255360,E=p>>>16|F&4294901760,D=F<<16|p&65535;C[0]^=p,C[1]^=E,C[2]^=F,C[3]^=D,C[4]^=p,C[5]^=E,C[6]^=F,C[7]^=D;for(var l=0;l<4;l++)B.call(this)}},_doProcessBlock:function(x,u){var d=this._X;B.call(this),h[0]=d[0]^d[5]>>>16^d[3]<<16,h[1]=d[2]^d[7]>>>16^d[5]<<16,h[2]=d[4]^d[1]>>>16^d[7]<<16,h[3]=d[6]^d[3]>>>16^d[1]<<16;for(var C=0;C<4;C++)h[C]=(h[C]<<8|h[C]>>>24)&16711935|(h[C]<<24|h[C]>>>8)&4278255360,x[u+C]^=h[C]},blockSize:128/32,ivSize:64/32});function B(){for(var x=this._X,u=this._C,d=0;d<8;d++)v[d]=u[d];u[0]=u[0]+1295307597+this._b|0,u[1]=u[1]+3545052371+(u[0]>>>0<v[0]>>>0?1:0)|0,u[2]=u[2]+886263092+(u[1]>>>0<v[1]>>>0?1:0)|0,u[3]=u[3]+1295307597+(u[2]>>>0<v[2]>>>0?1:0)|0,u[4]=u[4]+3545052371+(u[3]>>>0<v[3]>>>0?1:0)|0,u[5]=u[5]+886263092+(u[4]>>>0<v[4]>>>0?1:0)|0,u[6]=u[6]+1295307597+(u[5]>>>0<v[5]>>>0?1:0)|0,u[7]=u[7]+3545052371+(u[6]>>>0<v[6]>>>0?1:0)|0,this._b=u[7]>>>0<v[7]>>>0?1:0;for(var d=0;d<8;d++){var C=x[d]+u[d],l=C&65535,g=C>>>16,s=((l*l>>>17)+l*g>>>15)+g*g,c=((C&4294901760)*C|0)+((C&65535)*C|0);i[d]=s^c}x[0]=i[0]+(i[7]<<16|i[7]>>>16)+(i[6]<<16|i[6]>>>16)|0,x[1]=i[1]+(i[0]<<8|i[0]>>>24)+i[7]|0,x[2]=i[2]+(i[1]<<16|i[1]>>>16)+(i[0]<<16|i[0]>>>16)|0,x[3]=i[3]+(i[2]<<8|i[2]>>>24)+i[1]|0,x[4]=i[4]+(i[3]<<16|i[3]>>>16)+(i[2]<<16|i[2]>>>16)|0,x[5]=i[5]+(i[4]<<8|i[4]>>>24)+i[3]|0,x[6]=i[6]+(i[5]<<16|i[5]>>>16)+(i[4]<<16|i[4]>>>16)|0,x[7]=i[7]+(i[6]<<8|i[6]>>>24)+i[5]|0}r.RabbitLegacy=f._createHelper(o)})(),n.RabbitLegacy})})(ye)),ye.exports}var ge={exports:{}},Ni=ge.exports,tt;function Oi(){return tt||(tt=1,(function(e,t){(function(n,r,a){e.exports=r(N(),l0(),p0(),h0(),Q())})(Ni,function(n){return(function(){var r=n,a=r.lib,f=a.BlockCipher,y=r.algo;const h=16,v=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],i=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var o={pbox:[],sbox:[]};function B(l,g){let s=g>>24&255,c=g>>16&255,p=g>>8&255,F=g&255,E=l.sbox[0][s]+l.sbox[1][c];return E=E^l.sbox[2][p],E=E+l.sbox[3][F],E}function x(l,g,s){let c=g,p=s,F;for(let E=0;E<h;++E)c=c^l.pbox[E],p=B(l,c)^p,F=c,c=p,p=F;return F=c,c=p,p=F,p=p^l.pbox[h],c=c^l.pbox[h+1],{left:c,right:p}}function u(l,g,s){let c=g,p=s,F;for(let E=h+1;E>1;--E)c=c^l.pbox[E],p=B(l,c)^p,F=c,c=p,p=F;return F=c,c=p,p=F,p=p^l.pbox[1],c=c^l.pbox[0],{left:c,right:p}}function d(l,g,s){for(let D=0;D<4;D++){l.sbox[D]=[];for(let b=0;b<256;b++)l.sbox[D][b]=i[D][b]}let c=0;for(let D=0;D<h+2;D++)l.pbox[D]=v[D]^g[c],c++,c>=s&&(c=0);let p=0,F=0,E=0;for(let D=0;D<h+2;D+=2)E=x(l,p,F),p=E.left,F=E.right,l.pbox[D]=p,l.pbox[D+1]=F;for(let D=0;D<4;D++)for(let b=0;b<256;b+=2)E=x(l,p,F),p=E.left,F=E.right,l.sbox[D][b]=p,l.sbox[D][b+1]=F;return!0}var C=y.Blowfish=f.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var l=this._keyPriorReset=this._key,g=l.words,s=l.sigBytes/4;d(o,g,s)}},encryptBlock:function(l,g){var s=x(o,l[g],l[g+1]);l[g]=s.left,l[g+1]=s.right},decryptBlock:function(l,g){var s=u(o,l[g],l[g+1]);l[g]=s.left,l[g+1]=s.right},blockSize:64/32,keySize:128/32,ivSize:64/32});r.Blowfish=f._createHelper(C)})(),n.Blowfish})})(ge)),ge.exports}var Wi=O0.exports,nt;function $i(){return nt||(nt=1,(function(e,t){(function(n,r,a){e.exports=r(N(),we(),qn(),On(),l0(),Un(),p0(),Bt(),or(),Xn(),At(),Qn(),Jn(),ri(),ar(),ii(),h0(),Q(),si(),fi(),ui(),li(),vi(),Bi(),yi(),Ei(),Di(),bi(),Ii(),Si(),Pi(),Ri(),Hi(),qi(),Oi())})(Wi,function(n){return n})})(O0)),O0.exports}var Ui=$i();const x0=wn(Ui),yt="jctrans2003Z!2@#";function Gi(e){if(!e)return e;const t=x0.enc.Utf8.parse(yt),n=x0.AES.decrypt(e,t,{mode:x0.mode.ECB,padding:x0.pad.Pkcs7});return x0.enc.Utf8.stringify(n).toString()}function E0(e){if(!e)return e;var t=x0.enc.Utf8.parse(yt),n=x0.enc.Utf8.parse(e),r=x0.AES.encrypt(n,t,{mode:x0.mode.ECB,padding:x0.pad.Pkcs7});return r.toString()}function gt(e={}){const{headerName:t="client-uid",injectRequest:n=!0}=e;return((r,a={})=>{if(!n)return globalThis.fetch(r,a);const f=nr(),y=new Headers(a.headers||{});return y.set(t,f),globalThis.fetch(r,U(R({},a),{headers:y}))})}function ji(e={}){if(typeof globalThis=="undefined"||typeof globalThis.fetch=="undefined"){console.warn("[ClientId] fetch is not available in this environment");return}const t=gt(e);globalThis.fetch=t}const Ki="2.1",Mi=()=>a0().basePath,q0=()=>a0().carrierPath,N0=()=>a0().linePath,Xi=()=>a0().allLinePath;function Et(e,t){if(t)return{target:e,finalType:t};let n=e.type;return n==="Country"&&e.region&&!e.country?{target:e.region,finalType:"Region"}:{target:e[n==null?void 0:n.toLowerCase()]||e,finalType:n||"Country"}}function qe(e,t,n){const{target:r,finalType:a}=Et(e,n),f=o=>{if(!o)return"";const B=o.nameCn||o.displayNameCn||o.name||o.carrierNameCn||o.lineNameCn||"",x=o.nameEn||o.displayNameEn||o.nameEnShow||o.carrierNameEn||o.lineNameEn||"";return t?x||B:B||x},y=f(r);if(a==="Carrier"){const o=r.scac||r.scacCode||r.carrierCode||r.code||"";return o?`${y} (${o})`:y}if(a==="Line"){const o=t?r.countryNameEn||"":r.countryNameCn||"";return o?`${y} (${o})`:y}const h=e.country||e.region,v=f(h),i=f(e.city);if(["Seaport","Airport","Wharf"].includes(a)){const o=[i,v].filter(Boolean).join(", ");return o?`${y} (${o})`:y}return["City","Province"].includes(a)&&v?`${y} (${v})`:y}function Vi(e=[],t){return e.map(n=>{var o;const{target:r,finalType:a}=Et(n,t),f=r.nameCn||r.name||r.carrierNameCn||r.lineNameCn,y=r.nameEn||r.nameEnShow||r.carrierNameEn||r.lineNameEn,h=r.scacCode||r.scac||r.carrierCode||r.code,v={id:(o=r.id)!=null?o:n.id,type:a,nameCn:f,nameEn:y,code:h,display:qe(n,We(),t),displayEn:qe(n,!0,t),displayCn:qe(n,!1,t),raw:n};let i={};return a==="Carrier"?i={scacCode:r.scacCode||r.scac,iataCode:r.iataCode||r.iata,carrierCode:r.carrierCode,lineType:r.lineType}:a==="Line"&&(i={lineType:r.lineType}),R(R({},v),i)})}function X(n){return V(this,arguments,function*(e,t={}){const r=R({current:1,size:10},e),a=t.path||Mi(),y=(yield n0.post(a,r)).data.data||{};return U(R({},y),{records:Vi(y.records||[],t.forcedType)})})}const Ft={searchByName:e=>X(U(R({searchContent:e.keyword,searchMode:e.searchMode},e),{displayInfo:["Country"]})),getByIds:e=>X({countryIds:e,displayInfo:["Country"]})},Dt={searchByName:e=>X(U(R({searchContent:e.keyword,searchMode:e.searchMode},e),{displayInfo:["Country"]})),getByIds:e=>X({countryIds:e,displayInfo:["Country"]})},Oe={searchByName:e=>X(U(R({searchContent:e.keyword,countryIds:e.countryId?[e.countryId]:void 0},e),{displayInfo:["City"]})),getByIds:e=>X({cityIds:e,displayInfo:["City"]}),getCitiesByCountry:(e,t)=>X(R({countryIds:[e],displayInfo:["City"]},t))},_t={searchByName:e=>X(U(R({searchContent:e.keyword,cityIds:e.cityId?[e.cityId]:void 0,countryIds:e.countryId?[e.countryId]:void 0},e),{displayInfo:["Seaport"]})),getByIds:e=>X({seaportIds:e,displayInfo:["Seaport"]})},bt={searchByName:e=>X(U(R({searchContent:e.keyword,countryIds:e.countryId?[e.countryId]:void 0},e),{displayInfo:["Airport"]})),getByIds:e=>X({airportIds:e,displayInfo:["Airport"]})},mt={getByIds:e=>X({wharfIds:e,displayInfo:["Wharf"]})},y0={_buildPayload:(e,t)=>({current:e.current||1,size:e.size||10,lineType:t,searchkey:e.keyword,ids:e.ids}),searchShipping:e=>X(y0._buildPayload(e,"shipping"),{path:q0(),forcedType:"Carrier"}),searchAir:e=>X(y0._buildPayload(e,"air"),{path:q0(),forcedType:"Carrier"}),search:(e,t)=>X(y0._buildPayload(e,t),{path:q0(),forcedType:"Carrier"}),getByIds:(e,t="shipping")=>X(y0._buildPayload({ids:e},t),{path:q0(),forcedType:"Carrier"})},g0={_buildPayload:(e,t)=>({current:e.current||1,size:e.size||10,lineType:t,searchkey:e.keyword,ids:e.ids}),searchAllByCountry:(e,t)=>X({countryId:t,lineType:e,current:1,size:999},{path:Xi(),forcedType:"Line"}),searchShipping:e=>X(g0._buildPayload(e,"shipping"),{path:N0(),forcedType:"Line"}),searchAir:e=>X(g0._buildPayload(e,"air"),{path:N0(),forcedType:"Line"}),search:(e,t)=>X(g0._buildPayload(e,t),{path:N0(),forcedType:"Line"}),getByIds:(e,t="shipping")=>X(g0._buildPayload({ids:e},t),{path:N0(),forcedType:"Line"})},Zi=e=>X(R({searchContent:e.keyword},e)),Qi=(e,t,n)=>{const r=Array.isArray(e)?e:[e],a=(n==null?void 0:n.lineType)||"shipping";switch(t){case"Country":return Ft.getByIds(r);case"Region":return Dt.getByIds(r);case"City":return Oe.getByIds(r);case"Seaport":return _t.getByIds(r);case"Airport":return bt.getByIds(r);case"Wharf":return mt.getByIds(r);case"Carrier":return y0.getByIds(r,a);case"Line":return g0.getByIds(r,a);default:return X({[`${t.toLowerCase()}Ids`]:r,displayInfo:[t]})}},Yi={SEARCH_VERSION:Ki,searchByName:Zi,searchByIdWithType:Qi,country:Ft,region:Dt,city:Oe,seaport:_t,airport:bt,wharf:mt,carrier:y0,line:g0,getCitiesByCountry:Oe.getCitiesByCountry,getChildrenByCity:(e,t,n)=>X(R({cityIds:[e],displayInfo:t},n))},Ji=()=>a0().prefixPath;function eo(e){return V(this,null,function*(){const t=R({},e),r=(yield n0.post(Ji()+"/system/dms/fr/dmsReport/report",t)).data||{};return R({},r)})}const T0=()=>a0().prefixPath,ro=e=>V(null,null,function*(){return yield n0.post(T0()+"/auth/getKqCompanyPage",R({},e))});function to(e){return n0.post(T0()+"/code",R({},e))}function no(e){return n0.post(T0()+"/check",R({},e))}function io(e={size:-1}){return n0.post(T0()+"/system/dms/fr/country/findPageCountry",R({},e))}const It=(e,t)=>n0.post(T0()+e,R({},t));function oo(e={size:-1}){return It("/system/admin/dict/data/type/dictType",R({},e))}function ao(e){return V(this,null,function*(){return yield It("/common/ip/get",R({},e))})}const Se=()=>a0().prefixPath,xo=e=>{var t,n;if(e!=null&&e.redirectPath)return e.redirectPath;if(typeof window=="undefined")return"/";try{return((t=window.sessionStorage)==null?void 0:t.getItem("jc-auth-path"))||((n=window.location)==null?void 0:n.pathname)||"/"}catch(r){return"/"}},O=(e,t)=>n0.post(Se()+e,U(R({},t),{redirectPath:xo(t)}),{headers:{"app-id":"ERA"}});function so(e){return e.target=E0(e==null?void 0:e.target),O("/auth/validateAccountExist",e)}function co(e){return e.target=E0(e==null?void 0:e.target),O("/auth/emailCode",e)}function fo(e){return e.target=E0(e==null?void 0:e.target),O("/auth/mobileCodeAnon",e)}function uo(e){return e.target=E0(e==null?void 0:e.target),n0.post(Se()+"/auth/verifyEmailCode",R({},e))}function ho(e){return e.target=E0(e==null?void 0:e.target),n0.post(Se()+"/auth/verifyMobileCode",R({},e))}function lo(e){return n0.post(Se()+"/auth/validateCompany",R({},e))}function po(e){return O("/auth/registerJoinCompany",e)}function vo(e){return O("/auth/registerJoinCompByThirdParty",e)}function Co(e){return O("/auth/getJoinCompany",e)}function Bo(e,t){return O("/auth/redirect",{toSys:e,path:t})}function Ao(e){return O("/auth/registerAccComp",e)}function yo(e){return O("/auth/registerUserCompBindWechat",e)}function go(e){return O("/auth/registerJoinCompanyBindWechat",e)}function Eo(e){return O("/auth/loginPwdBindWechat",e)}function Fo(e){return O("/auth/loginCodeBindWechat",e)}function Do(e){const t=R({},e);return O("/auth/login",R({},t))}function _o(e){return O("/auth/loginRegisterByAccount",R({},e))}function bo(e){return O("/auth/loginByQrCode",R({},e))}function mo(e={}){return O("/auth/getLoginQrCode",R({},e))}function Io(e){return O("/auth/autoLogin",R({},e))}function wo(e){return O("/auth/completeCompRedirect",R({},e))}function So(e){return O("/auth/userCompPerms",R({},e))}function ko(e){return O("/auth/getLoginUserMobileEmail",R({},e))}function Po(e){return O("/auth/getMobileEmail",R({},e))}function To(e){return O("/auth/completeJoinCompanyRedirect",R({},e))}function Ro(e){return O("/auth/forgotPwdAccount",R({},e))}function zo(e){return O("/auth/forgotPwdVerifyCode",R({},e))}function Ho(e){return O("/auth/forgotPwd",R({},e))}function Lo(e){return O("/auth/loginByFacebook",U(R({},e),{businessCode:"WINDOW_LOGIN"}))}function qo(e){return O("/auth/loginByLinkedin",U(R({},e),{businessCode:"WINDOW_LOGIN"}))}function No(e){return O("/auth/bindThirdPartyByPwd",R({},e))}function Oo(e){return O("/auth/bindThirdPartyByCode",R({},e))}function Wo(e){return O("/auth/registerByThirdParty",R({},e))}function $o(e){return O("/auth/findListByMobileEmail",R({},e))}function Uo(e){return O("/auth/inviteJoinGetComp",R({},e))}function Go(e){if(typeof window=="undefined"||!window.sessionStorage)return;const{activityCode:t,referenceUserId:n,empNo:r,uniqueCode:a,path:f,clickSource:y,registerEvent:h,registerType:v,compKey:i}=e;t&&sessionStorage.setItem("jc-auth-activityCode",t),n&&sessionStorage.setItem("jc-auth-referenceUserId",n),r&&sessionStorage.setItem("jc-auth-empNo",r),a&&sessionStorage.setItem("jc-auth-uniqueCode",a),f&&sessionStorage.setItem("jc-auth-path",f),y&&sessionStorage.setItem("jc-auth-clickSource",y),h&&sessionStorage.setItem("jc-auth-registerEvent",h),v&&sessionStorage.setItem("jc-auth-registerType",v),i&&sessionStorage.setItem("jc-auth-compKey",i)}function jo(){typeof window=="undefined"||!window.sessionStorage||(sessionStorage.removeItem("jc-auth-activityCode"),sessionStorage.removeItem("jc-auth-referenceUserId"),sessionStorage.removeItem("jc-auth-empNo"),sessionStorage.removeItem("jc-auth-uniqueCode"),sessionStorage.removeItem("jc-auth-path"),sessionStorage.removeItem("jc-auth-clickSource"),sessionStorage.removeItem("jc-auth-registerEvent"),sessionStorage.removeItem("jc-auth-registerType"),sessionStorage.removeItem("jc-auth-compKey"))}function Ko(){return typeof window=="undefined"||!window.sessionStorage?{activityCode:null,referenceUserId:null,empNo:null,uniqueCode:null,path:null,clickSource:null,registerEvent:null,registerType:null,compKey:null}:{activityCode:sessionStorage.getItem("jc-auth-activityCode"),referenceUserId:sessionStorage.getItem("jc-auth-referenceUserId"),empNo:sessionStorage.getItem("jc-auth-empNo"),uniqueCode:sessionStorage.getItem("jc-auth-uniqueCode"),path:sessionStorage.getItem("jc-auth-path"),clickSource:sessionStorage.getItem("jc-auth-clickSource"),registerEvent:sessionStorage.getItem("jc-auth-registerEvent"),registerType:sessionStorage.getItem("jc-auth-registerType"),compKey:sessionStorage.getItem("jc-auth-compKey")}}function Mo(e){if(typeof window=="undefined"||!window.sessionStorage)return;const{registerEntry:t}=e;t&&sessionStorage.setItem("_GIO-registerEntry",t)}function Xo(){return typeof window=="undefined"||!window.sessionStorage?{registerEntry:null}:{registerEntry:sessionStorage.getItem("_GIO-registerEntry")}}function Vo(){typeof window=="undefined"||!window.sessionStorage||sessionStorage.removeItem("_GIO-registerEntry")}class Zo{constructor(){S0(this,"hasInitCalled",!1);S0(this,"dispatcher",null);S0(this,"dispatcherLoading",null);S0(this,"pendingActions",[])}get shouldValidateAttributes(){return typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"}flushPendingActions(){if(!this.dispatcher||this.pendingActions.length===0)return;const t=[...this.pendingActions];this.pendingActions=[];for(const n of t)this.dispatcher(n.action,...n.args)}ensureDispatcher(){return V(this,null,function*(){return typeof window=="undefined"?null:typeof window.gdp=="function"?(this.dispatcher=window.gdp,this.flushPendingActions(),this.dispatcher):this.dispatcher?this.dispatcher:this.dispatcherLoading?this.dispatcherLoading:(this.dispatcherLoading=V(this,null,function*(){try{const t=yield import("gio-webjs-sdk"),n=(t==null?void 0:t.default)||t;return typeof n!="function"?(console.warn("[GIO] gdp 函数未就绪或引入失败"),null):(this.dispatcher=n,this.flushPendingActions(),this.dispatcher)}catch(t){return console.warn("[GIO] gio-webjs-sdk 加载失败",t),null}finally{this.dispatcherLoading=null}}),this.dispatcherLoading)})}dispatch(t,...n){if(typeof window!="undefined"){if(!this.dispatcher&&typeof window.gdp=="function"&&(this.dispatcher=window.gdp),this.dispatcher){this.dispatcher(t,...n);return}this.pendingActions.push({action:t,args:n}),this.ensureDispatcher()}}isInitialized(){return typeof window=="undefined"?!1:this.hasInitCalled}isBrowser(){return typeof window!="undefined"}init(t,n,r,a,f){if(!t||!n){console.warn("[GIO] init accountId/dataSourceId 不能为空");return}let y,h={},v;typeof r=="string"?(y=r,typeof a=="function"?v=a:(h=a||{},v=f)):(h=r||{},typeof a=="function"&&(v=a));const i=[t,n];y&&i.push(y);const o=R({},h);i.push(o),v&&i.push(v),typeof window!="undefined"&&(process.env.NODE_ENV==="development"&&(window._gr_ignore_local_rule=!0),this.dispatch("init",...i),this.hasInitCalled=!0)}setOption(t,n,r){this.dispatch("setOption",t,n,r)}getOption(t,n){this.dispatch("getOption",t,n)}getVersion(t){this.dispatch("getOption","version",t)}getUserAgent(t){this.dispatch("getUserAgent",t)}identify(t,n){if(!t||t.length===0){console.warn("[GIO] identify deviceId 不能为空");return}t.length>1e3&&(console.warn("[GIO] identify deviceId 长度超过 1000,将被截断"),t=t.slice(0,1e3)),this.dispatch("identify",t,n)}getDeviceId(t){this.dispatch("getDeviceId",t)}setUserId(t,n,r){const a=String(t);if(a.length===0||a.length>1e3){console.warn("[GIO] setUserId userId 长度必须在 0-1000 之间");return}if(typeof n=="function"){this.dispatch("setUserId",a,n);return}if(typeof n!="undefined"){this.dispatch("setUserId",a,n,r);return}if(r){this.dispatch("setUserId",a,r);return}this.dispatch("setUserId",a)}clearUserId(t){this.dispatch("clearUserId",t)}track(t,n,r){if(!t||t.length===0){console.warn("[GIO] track eventName 不能为空");return}this.shouldValidateAttributes&&this._validateAttributes(n,"track"),this.dispatch("track",t,n,r)}setUserAttributes(t,n){this.shouldValidateAttributes&&this._validateAttributes(t,"setUserAttributes"),this.dispatch("setUserAttributes",t,n)}setGeneralProps(t,n){this.shouldValidateAttributes&&this._validateAttributes(t,"setGeneralProps"),this.dispatch("setGeneralProps",t,n)}clearGeneralProps(t=[],n){this.dispatch("clearGeneralProps",t,n)}setPageListener(t){this.dispatch("setPageListener",t)}setPageAttributes(t,n){this.shouldValidateAttributes&&this._validateAttributes(t,"setPageAttributes"),this.dispatch("setPageAttributes",t,n)}clearPageAttributes(t=[],n){this.dispatch("clearPageAttributes",t,n)}sendPage(t,n){t&&t.title?this.dispatch("sendPage",{title:t.title},n):this.dispatch("sendPage",n)}setBeforeSendListener(t){this.dispatch("setBeforeSendListener",t)}trackTimerStart(t,n){this.dispatch("trackTimerStart",t,n)}trackTimerPause(t,n){this.dispatch("trackTimerPause",t,n)}trackTimerResume(t,n){this.dispatch("trackTimerResume",t,n)}trackTimerEnd(t,n,r){this.dispatch("trackTimerEnd",t,n,r)}removeTimer(t,n){this.dispatch("removeTimer",t,n)}clearTrackTimer(t){this.dispatch("clearTrackTimer"),t==null||t()}registerPlugins(t,n){this.dispatch("registerPlugins",t,n)}_validateAttributes(t,n){if(t){for(const[r,a]of Object.entries(t))if(r.length>100&&console.warn(`[GIO] ${n}: key "${r.slice(0,20)}..." length ${r.length} > 100, SDK may ignore or truncate it`),typeof a=="string")a.length>1e3&&console.warn(`[GIO] ${n}: key "${r}" value length ${a.length} > 1000, SDK may ignore or truncate it`);else if(typeof a!="number"){if(typeof a!="boolean"){if(typeof a!="function")if(Array.isArray(a)){a.length>100&&console.warn(`[GIO] ${n}: key "${r}" array length ${a.length} > 100, SDK may ignore or truncate it`);for(const f of a)typeof f!="string"&&typeof f!="number"&&console.warn(`[GIO] ${n}: key "${r}" array contains non-string/number value: ${typeof f}`)}else typeof a=="object"&&a!==null&&console.error(`[GIO] ${n}: key "${r}" value is an object, nested object is not recommended and may be rejected`)}}}}}const Qo=new Zo;function Yo(e){return!e||!e.isBrowser()?null:e}function Jo(e){return e?e.isBrowser()&&e.isInitialized():!1}const ea={Open:"GLOBAL_MODAL_OPEN",Close:"GLOBAL_MODAL_CLOSE",Submit:"GLOBAL_MODAL_SUBMIT"},ra=Qt();exports.Decrypt=Gi;exports.Encrypt=E0;exports.ExpiresInKey=Ge;exports.ExpiresInTimeKey=me;exports.HasLoginKey=Ue;exports.MODAL_ACTION=ea;exports.PrjId=Ee;exports.RefreshExpiresInKey=je;exports.RefreshExpiresInTimeKey=Ke;exports.RefreshTokenKey=Ie;exports.RememberMeAccountKey=Fe;exports.RememberMePasswordKey=De;exports.TOKEN_ENDPOINTS=Me;exports.TokenKey=be;exports.autoLoginByTGC=Io;exports.bindThirdPartyByCodeApi=Oo;exports.bindThirdPartyByPwdApi=No;exports.checkAccountExistsFPApi=Ro;exports.checkEmailCodeApi=uo;exports.checkMobileCodeApi=ho;exports.clearAllAuth=rn;exports.clearClientId=an;exports.completeCompRedirectApi=wo;exports.completeJoinCompanyRedirectApi=To;exports.createFetchWithClientId=gt;exports.createRequest=fn;exports.currentConfig=it;exports.emitter=ra;exports.findDictAPi=oo;exports.findListByMobileEmailApi=$o;exports.findPAreaCodeAPi=io;exports.generateClientId=dt;exports.getAirport=In;exports.getAppId=Qe;exports.getAuthSessionItems=Ko;exports.getById=vn;exports.getByIds=Ct;exports.getChildrenByCity=Bn;exports.getCitiesByCountry=Cn;exports.getCity=_n;exports.getCompanyOptionApi=ro;exports.getContinent=Fn;exports.getCountry=Dn;exports.getCurrentClientId=xn;exports.getExpiresTimeIn=ct;exports.getFirstDomain=at;exports.getGioSessionItems=Xo;exports.getIsEn=We;exports.getJoinCompanyApi=Co;exports.getLanguage=Ze;exports.getLocalIpDataApi=ao;exports.getLoginQrCode=mo;exports.getMEVCodeApi=zo;exports.getMobileEmailApi=Po;exports.getOrCreateClientId=nr;exports.getPathFromConfig=xt;exports.getProjectId=Ve;exports.getProvince=bn;exports.getRedirectPathApi=Bo;exports.getRefreshToken=st;exports.getRememberAccount=tn;exports.getSeaport=mn;exports.getSessionHeaderValue=Je;exports.getSharedConfig=a0;exports.getToken=Ye;exports.getTracker=Yo;exports.getUserInfoApi=ko;exports.initSharedConfig=Yt;exports.installClientIdPlugin=pt;exports.installFetchClientId=ji;exports.inviteJoinGetCompApi=Uo;exports.isGioAvailable=Jo;exports.isIpAddress=ot;exports.locationSearchV2=Yi;exports.loginApi=Do;exports.loginByEmailOrMobileCodeApi=_o;exports.loginByFacebookApi=Lo;exports.loginByLinkedinApi=qo;exports.loginByQrCode=bo;exports.loginCodeBindWechatApi=Fo;exports.loginPwdBindWechatApi=Eo;exports.registerApi=Ao;exports.registerByThirdPartyApi=Wo;exports.registerJoinCompByThirdPartyApi=vo;exports.registerJoinCompanyApi=po;exports.registerJoinCompanyBindWechatApi=go;exports.registerUserCompBindWechatApi=yo;exports.reportNewTypeDataApi=eo;exports.resetAuthSessionItems=jo;exports.resetGioSessionItems=Vo;exports.resetPasswordApi=Ho;exports.saveClientIdToLocalStorage=on;exports.saveClientIdToSessionStorage=lt;exports.search=P0;exports.searchAirportByName=En;exports.searchByName=ir;exports.searchCityByName=yn;exports.searchCountryByName=An;exports.searchSeaportByName=gn;exports.sendEmailCodeApi=co;exports.sendMobileCodeApi=fo;exports.setAuthSessionItems=Go;exports.setGioSessionItems=Mo;exports.setRememberMe=en;exports.setTokenAll=_e;exports.slideCheckApi=no;exports.slideGetApi=to;exports.toSafeHeaderValue=er;exports.tracker=Qo;exports.userCompPermsApi=So;exports.validateAccountExistApi=so;exports.validateCompanyApi=lo;
|
|
14
|
+
*/return n.mode.CTRGladman=(function(){var r=n.lib.BlockCipherMode.extend();function a(h){if((h>>24&255)===255){var v=h>>16&255,i=h>>8&255,o=h&255;v===255?(v=0,i===255?(i=0,o===255?o=0:++o):++i):++v,h=0,h+=v<<16,h+=i<<8,h+=o}else h+=1<<24;return h}function f(h){return(h[0]=a(h[0]))===0&&(h[1]=a(h[1])),h}var y=r.Encryptor=r.extend({processBlock:function(h,v){var i=this._cipher,o=i.blockSize,B=this._iv,x=this._counter;B&&(x=this._counter=B.slice(0),this._iv=void 0),f(x);var u=x.slice(0);i.encryptBlock(u,0);for(var d=0;d<o;d++)h[v+d]^=u[d]}});return r.Decryptor=y,r})(),n.mode.CTRGladman})})(xe)),xe.exports}var se={exports:{}},vi=se.exports,Ur;function Ci(){return Ur||(Ur=1,(function(e,t){(function(n,r,a){e.exports=r(N(),Z())})(vi,function(n){return n.mode.OFB=(function(){var r=n.lib.BlockCipherMode.extend(),a=r.Encryptor=r.extend({processBlock:function(f,y){var h=this._cipher,v=h.blockSize,i=this._iv,o=this._keystream;i&&(o=this._keystream=i.slice(0),this._iv=void 0),h.encryptBlock(o,0);for(var B=0;B<v;B++)f[y+B]^=o[B]}});return r.Decryptor=a,r})(),n.mode.OFB})})(se)),se.exports}var ce={exports:{}},Bi=ce.exports,Gr;function Ai(){return Gr||(Gr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),Z())})(Bi,function(n){return n.mode.ECB=(function(){var r=n.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(a,f){this._cipher.encryptBlock(a,f)}}),r.Decryptor=r.extend({processBlock:function(a,f){this._cipher.decryptBlock(a,f)}}),r})(),n.mode.ECB})})(ce)),ce.exports}var fe={exports:{}},yi=fe.exports,jr;function gi(){return jr||(jr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),Z())})(yi,function(n){return n.pad.AnsiX923={pad:function(r,a){var f=r.sigBytes,y=a*4,h=y-f%y,v=f+h-1;r.clamp(),r.words[v>>>2]|=h<<24-v%4*8,r.sigBytes+=h},unpad:function(r){var a=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=a}},n.pad.Ansix923})})(fe)),fe.exports}var de={exports:{}},Ei=de.exports,Kr;function Fi(){return Kr||(Kr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),Z())})(Ei,function(n){return n.pad.Iso10126={pad:function(r,a){var f=a*4,y=f-r.sigBytes%f;r.concat(n.lib.WordArray.random(y-1)).concat(n.lib.WordArray.create([y<<24],1))},unpad:function(r){var a=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=a}},n.pad.Iso10126})})(de)),de.exports}var ue={exports:{}},Di=ue.exports,Mr;function _i(){return Mr||(Mr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),Z())})(Di,function(n){return n.pad.Iso97971={pad:function(r,a){r.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(r,a)},unpad:function(r){n.pad.ZeroPadding.unpad(r),r.sigBytes--}},n.pad.Iso97971})})(ue)),ue.exports}var he={exports:{}},mi=he.exports,Xr;function bi(){return Xr||(Xr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),Z())})(mi,function(n){return n.pad.ZeroPadding={pad:function(r,a){var f=a*4;r.clamp(),r.sigBytes+=f-(r.sigBytes%f||f)},unpad:function(r){for(var a=r.words,f=r.sigBytes-1,f=r.sigBytes-1;f>=0;f--)if(a[f>>>2]>>>24-f%4*8&255){r.sigBytes=f+1;break}}},n.pad.ZeroPadding})})(he)),he.exports}var le={exports:{}},Ii=le.exports,Vr;function wi(){return Vr||(Vr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),Z())})(Ii,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})})(le)),le.exports}var pe={exports:{}},ki=pe.exports,Qr;function Si(){return Qr||(Qr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),Z())})(ki,function(n){return(function(r){var a=n,f=a.lib,y=f.CipherParams,h=a.enc,v=h.Hex,i=a.format;i.Hex={stringify:function(o){return o.ciphertext.toString(v)},parse:function(o){var B=v.parse(o);return y.create({ciphertext:B})}}})(),n.format.Hex})})(pe)),pe.exports}var ve={exports:{}},Pi=ve.exports,Zr;function Ri(){return Zr||(Zr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),l0(),p0(),h0(),Z())})(Pi,function(n){return(function(){var r=n,a=r.lib,f=a.BlockCipher,y=r.algo,h=[],v=[],i=[],o=[],B=[],x=[],u=[],d=[],C=[],l=[];(function(){for(var c=[],p=0;p<256;p++)p<128?c[p]=p<<1:c[p]=p<<1^283;for(var F=0,E=0,p=0;p<256;p++){var D=E^E<<1^E<<2^E<<3^E<<4;D=D>>>8^D&255^99,h[F]=D,v[D]=F;var m=c[F],S=c[m],A=c[S],_=c[D]*257^D*16843008;i[F]=_<<24|_>>>8,o[F]=_<<16|_>>>16,B[F]=_<<8|_>>>24,x[F]=_;var _=A*16843009^S*65537^m*257^F*16843008;u[D]=_<<24|_>>>8,d[D]=_<<16|_>>>16,C[D]=_<<8|_>>>24,l[D]=_,F?(F=m^c[c[c[A^m]]],E^=c[c[E]]):F=E=1}})();var g=[0,1,2,4,8,16,32,64,128,27,54],s=y.AES=f.extend({_doReset:function(){var c;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var p=this._keyPriorReset=this._key,F=p.words,E=p.sigBytes/4,D=this._nRounds=E+6,m=(D+1)*4,S=this._keySchedule=[],A=0;A<m;A++)A<E?S[A]=F[A]:(c=S[A-1],A%E?E>6&&A%E==4&&(c=h[c>>>24]<<24|h[c>>>16&255]<<16|h[c>>>8&255]<<8|h[c&255]):(c=c<<8|c>>>24,c=h[c>>>24]<<24|h[c>>>16&255]<<16|h[c>>>8&255]<<8|h[c&255],c^=g[A/E|0]<<24),S[A]=S[A-E]^c);for(var _=this._invKeySchedule=[],I=0;I<m;I++){var A=m-I;if(I%4)var c=S[A];else var c=S[A-4];I<4||A<=4?_[I]=c:_[I]=u[h[c>>>24]]^d[h[c>>>16&255]]^C[h[c>>>8&255]]^l[h[c&255]]}}},encryptBlock:function(c,p){this._doCryptBlock(c,p,this._keySchedule,i,o,B,x,h)},decryptBlock:function(c,p){var F=c[p+1];c[p+1]=c[p+3],c[p+3]=F,this._doCryptBlock(c,p,this._invKeySchedule,u,d,C,l,v);var F=c[p+1];c[p+1]=c[p+3],c[p+3]=F},_doCryptBlock:function(c,p,F,E,D,m,S,A){for(var _=this._nRounds,I=c[p]^F[0],w=c[p+1]^F[1],z=c[p+2]^F[2],H=c[p+3]^F[3],L=4,K=1;K<_;K++){var W=E[I>>>24]^D[w>>>16&255]^m[z>>>8&255]^S[H&255]^F[L++],G=E[w>>>24]^D[z>>>16&255]^m[H>>>8&255]^S[I&255]^F[L++],$=E[z>>>24]^D[H>>>16&255]^m[I>>>8&255]^S[w&255]^F[L++],b=E[H>>>24]^D[I>>>16&255]^m[w>>>8&255]^S[z&255]^F[L++];I=W,w=G,z=$,H=b}var W=(A[I>>>24]<<24|A[w>>>16&255]<<16|A[z>>>8&255]<<8|A[H&255])^F[L++],G=(A[w>>>24]<<24|A[z>>>16&255]<<16|A[H>>>8&255]<<8|A[I&255])^F[L++],$=(A[z>>>24]<<24|A[H>>>16&255]<<16|A[I>>>8&255]<<8|A[w&255])^F[L++],b=(A[H>>>24]<<24|A[I>>>16&255]<<16|A[w>>>8&255]<<8|A[z&255])^F[L++];c[p]=W,c[p+1]=G,c[p+2]=$,c[p+3]=b},keySize:256/32});r.AES=f._createHelper(s)})(),n.AES})})(ve)),ve.exports}var Ce={exports:{}},Ti=Ce.exports,Yr;function zi(){return Yr||(Yr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),l0(),p0(),h0(),Z())})(Ti,function(n){return(function(){var r=n,a=r.lib,f=a.WordArray,y=a.BlockCipher,h=r.algo,v=[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],i=[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],o=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],B=[{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}],x=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],u=h.DES=y.extend({_doReset:function(){for(var g=this._key,s=g.words,c=[],p=0;p<56;p++){var F=v[p]-1;c[p]=s[F>>>5]>>>31-F%32&1}for(var E=this._subKeys=[],D=0;D<16;D++){for(var m=E[D]=[],S=o[D],p=0;p<24;p++)m[p/6|0]|=c[(i[p]-1+S)%28]<<31-p%6,m[4+(p/6|0)]|=c[28+(i[p+24]-1+S)%28]<<31-p%6;m[0]=m[0]<<1|m[0]>>>31;for(var p=1;p<7;p++)m[p]=m[p]>>>(p-1)*4+3;m[7]=m[7]<<5|m[7]>>>27}for(var A=this._invSubKeys=[],p=0;p<16;p++)A[p]=E[15-p]},encryptBlock:function(g,s){this._doCryptBlock(g,s,this._subKeys)},decryptBlock:function(g,s){this._doCryptBlock(g,s,this._invSubKeys)},_doCryptBlock:function(g,s,c){this._lBlock=g[s],this._rBlock=g[s+1],d.call(this,4,252645135),d.call(this,16,65535),C.call(this,2,858993459),C.call(this,8,16711935),d.call(this,1,1431655765);for(var p=0;p<16;p++){for(var F=c[p],E=this._lBlock,D=this._rBlock,m=0,S=0;S<8;S++)m|=B[S][((D^F[S])&x[S])>>>0];this._lBlock=D,this._rBlock=E^m}var A=this._lBlock;this._lBlock=this._rBlock,this._rBlock=A,d.call(this,1,1431655765),C.call(this,8,16711935),C.call(this,2,858993459),d.call(this,16,65535),d.call(this,4,252645135),g[s]=this._lBlock,g[s+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function d(g,s){var c=(this._lBlock>>>g^this._rBlock)&s;this._rBlock^=c,this._lBlock^=c<<g}function C(g,s){var c=(this._rBlock>>>g^this._lBlock)&s;this._lBlock^=c,this._rBlock^=c<<g}r.DES=y._createHelper(u);var l=h.TripleDES=y.extend({_doReset:function(){var g=this._key,s=g.words;if(s.length!==2&&s.length!==4&&s.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var c=s.slice(0,2),p=s.length<4?s.slice(0,2):s.slice(2,4),F=s.length<6?s.slice(0,2):s.slice(4,6);this._des1=u.createEncryptor(f.create(c)),this._des2=u.createEncryptor(f.create(p)),this._des3=u.createEncryptor(f.create(F))},encryptBlock:function(g,s){this._des1.encryptBlock(g,s),this._des2.decryptBlock(g,s),this._des3.encryptBlock(g,s)},decryptBlock:function(g,s){this._des3.decryptBlock(g,s),this._des2.encryptBlock(g,s),this._des1.decryptBlock(g,s)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=y._createHelper(l)})(),n.TripleDES})})(Ce)),Ce.exports}var Be={exports:{}},Hi=Be.exports,Jr;function Li(){return Jr||(Jr=1,(function(e,t){(function(n,r,a){e.exports=r(N(),l0(),p0(),h0(),Z())})(Hi,function(n){return(function(){var r=n,a=r.lib,f=a.StreamCipher,y=r.algo,h=y.RC4=f.extend({_doReset:function(){for(var o=this._key,B=o.words,x=o.sigBytes,u=this._S=[],d=0;d<256;d++)u[d]=d;for(var d=0,C=0;d<256;d++){var l=d%x,g=B[l>>>2]>>>24-l%4*8&255;C=(C+u[d]+g)%256;var s=u[d];u[d]=u[C],u[C]=s}this._i=this._j=0},_doProcessBlock:function(o,B){o[B]^=v.call(this)},keySize:256/32,ivSize:0});function v(){for(var o=this._S,B=this._i,x=this._j,u=0,d=0;d<4;d++){B=(B+1)%256,x=(x+o[B])%256;var C=o[B];o[B]=o[x],o[x]=C,u|=o[(o[B]+o[x])%256]<<24-d*8}return this._i=B,this._j=x,u}r.RC4=f._createHelper(h);var i=y.RC4Drop=h.extend({cfg:h.cfg.extend({drop:192}),_doReset:function(){h._doReset.call(this);for(var o=this.cfg.drop;o>0;o--)v.call(this)}});r.RC4Drop=f._createHelper(i)})(),n.RC4})})(Be)),Be.exports}var Ae={exports:{}},qi=Ae.exports,et;function Ni(){return et||(et=1,(function(e,t){(function(n,r,a){e.exports=r(N(),l0(),p0(),h0(),Z())})(qi,function(n){return(function(){var r=n,a=r.lib,f=a.StreamCipher,y=r.algo,h=[],v=[],i=[],o=y.Rabbit=f.extend({_doReset:function(){for(var x=this._key.words,u=this.cfg.iv,d=0;d<4;d++)x[d]=(x[d]<<8|x[d]>>>24)&16711935|(x[d]<<24|x[d]>>>8)&4278255360;var C=this._X=[x[0],x[3]<<16|x[2]>>>16,x[1],x[0]<<16|x[3]>>>16,x[2],x[1]<<16|x[0]>>>16,x[3],x[2]<<16|x[1]>>>16],l=this._C=[x[2]<<16|x[2]>>>16,x[0]&4294901760|x[1]&65535,x[3]<<16|x[3]>>>16,x[1]&4294901760|x[2]&65535,x[0]<<16|x[0]>>>16,x[2]&4294901760|x[3]&65535,x[1]<<16|x[1]>>>16,x[3]&4294901760|x[0]&65535];this._b=0;for(var d=0;d<4;d++)B.call(this);for(var d=0;d<8;d++)l[d]^=C[d+4&7];if(u){var g=u.words,s=g[0],c=g[1],p=(s<<8|s>>>24)&16711935|(s<<24|s>>>8)&4278255360,F=(c<<8|c>>>24)&16711935|(c<<24|c>>>8)&4278255360,E=p>>>16|F&4294901760,D=F<<16|p&65535;l[0]^=p,l[1]^=E,l[2]^=F,l[3]^=D,l[4]^=p,l[5]^=E,l[6]^=F,l[7]^=D;for(var d=0;d<4;d++)B.call(this)}},_doProcessBlock:function(x,u){var d=this._X;B.call(this),h[0]=d[0]^d[5]>>>16^d[3]<<16,h[1]=d[2]^d[7]>>>16^d[5]<<16,h[2]=d[4]^d[1]>>>16^d[7]<<16,h[3]=d[6]^d[3]>>>16^d[1]<<16;for(var C=0;C<4;C++)h[C]=(h[C]<<8|h[C]>>>24)&16711935|(h[C]<<24|h[C]>>>8)&4278255360,x[u+C]^=h[C]},blockSize:128/32,ivSize:64/32});function B(){for(var x=this._X,u=this._C,d=0;d<8;d++)v[d]=u[d];u[0]=u[0]+1295307597+this._b|0,u[1]=u[1]+3545052371+(u[0]>>>0<v[0]>>>0?1:0)|0,u[2]=u[2]+886263092+(u[1]>>>0<v[1]>>>0?1:0)|0,u[3]=u[3]+1295307597+(u[2]>>>0<v[2]>>>0?1:0)|0,u[4]=u[4]+3545052371+(u[3]>>>0<v[3]>>>0?1:0)|0,u[5]=u[5]+886263092+(u[4]>>>0<v[4]>>>0?1:0)|0,u[6]=u[6]+1295307597+(u[5]>>>0<v[5]>>>0?1:0)|0,u[7]=u[7]+3545052371+(u[6]>>>0<v[6]>>>0?1:0)|0,this._b=u[7]>>>0<v[7]>>>0?1:0;for(var d=0;d<8;d++){var C=x[d]+u[d],l=C&65535,g=C>>>16,s=((l*l>>>17)+l*g>>>15)+g*g,c=((C&4294901760)*C|0)+((C&65535)*C|0);i[d]=s^c}x[0]=i[0]+(i[7]<<16|i[7]>>>16)+(i[6]<<16|i[6]>>>16)|0,x[1]=i[1]+(i[0]<<8|i[0]>>>24)+i[7]|0,x[2]=i[2]+(i[1]<<16|i[1]>>>16)+(i[0]<<16|i[0]>>>16)|0,x[3]=i[3]+(i[2]<<8|i[2]>>>24)+i[1]|0,x[4]=i[4]+(i[3]<<16|i[3]>>>16)+(i[2]<<16|i[2]>>>16)|0,x[5]=i[5]+(i[4]<<8|i[4]>>>24)+i[3]|0,x[6]=i[6]+(i[5]<<16|i[5]>>>16)+(i[4]<<16|i[4]>>>16)|0,x[7]=i[7]+(i[6]<<8|i[6]>>>24)+i[5]|0}r.Rabbit=f._createHelper(o)})(),n.Rabbit})})(Ae)),Ae.exports}var ye={exports:{}},Oi=ye.exports,rt;function Wi(){return rt||(rt=1,(function(e,t){(function(n,r,a){e.exports=r(N(),l0(),p0(),h0(),Z())})(Oi,function(n){return(function(){var r=n,a=r.lib,f=a.StreamCipher,y=r.algo,h=[],v=[],i=[],o=y.RabbitLegacy=f.extend({_doReset:function(){var x=this._key.words,u=this.cfg.iv,d=this._X=[x[0],x[3]<<16|x[2]>>>16,x[1],x[0]<<16|x[3]>>>16,x[2],x[1]<<16|x[0]>>>16,x[3],x[2]<<16|x[1]>>>16],C=this._C=[x[2]<<16|x[2]>>>16,x[0]&4294901760|x[1]&65535,x[3]<<16|x[3]>>>16,x[1]&4294901760|x[2]&65535,x[0]<<16|x[0]>>>16,x[2]&4294901760|x[3]&65535,x[1]<<16|x[1]>>>16,x[3]&4294901760|x[0]&65535];this._b=0;for(var l=0;l<4;l++)B.call(this);for(var l=0;l<8;l++)C[l]^=d[l+4&7];if(u){var g=u.words,s=g[0],c=g[1],p=(s<<8|s>>>24)&16711935|(s<<24|s>>>8)&4278255360,F=(c<<8|c>>>24)&16711935|(c<<24|c>>>8)&4278255360,E=p>>>16|F&4294901760,D=F<<16|p&65535;C[0]^=p,C[1]^=E,C[2]^=F,C[3]^=D,C[4]^=p,C[5]^=E,C[6]^=F,C[7]^=D;for(var l=0;l<4;l++)B.call(this)}},_doProcessBlock:function(x,u){var d=this._X;B.call(this),h[0]=d[0]^d[5]>>>16^d[3]<<16,h[1]=d[2]^d[7]>>>16^d[5]<<16,h[2]=d[4]^d[1]>>>16^d[7]<<16,h[3]=d[6]^d[3]>>>16^d[1]<<16;for(var C=0;C<4;C++)h[C]=(h[C]<<8|h[C]>>>24)&16711935|(h[C]<<24|h[C]>>>8)&4278255360,x[u+C]^=h[C]},blockSize:128/32,ivSize:64/32});function B(){for(var x=this._X,u=this._C,d=0;d<8;d++)v[d]=u[d];u[0]=u[0]+1295307597+this._b|0,u[1]=u[1]+3545052371+(u[0]>>>0<v[0]>>>0?1:0)|0,u[2]=u[2]+886263092+(u[1]>>>0<v[1]>>>0?1:0)|0,u[3]=u[3]+1295307597+(u[2]>>>0<v[2]>>>0?1:0)|0,u[4]=u[4]+3545052371+(u[3]>>>0<v[3]>>>0?1:0)|0,u[5]=u[5]+886263092+(u[4]>>>0<v[4]>>>0?1:0)|0,u[6]=u[6]+1295307597+(u[5]>>>0<v[5]>>>0?1:0)|0,u[7]=u[7]+3545052371+(u[6]>>>0<v[6]>>>0?1:0)|0,this._b=u[7]>>>0<v[7]>>>0?1:0;for(var d=0;d<8;d++){var C=x[d]+u[d],l=C&65535,g=C>>>16,s=((l*l>>>17)+l*g>>>15)+g*g,c=((C&4294901760)*C|0)+((C&65535)*C|0);i[d]=s^c}x[0]=i[0]+(i[7]<<16|i[7]>>>16)+(i[6]<<16|i[6]>>>16)|0,x[1]=i[1]+(i[0]<<8|i[0]>>>24)+i[7]|0,x[2]=i[2]+(i[1]<<16|i[1]>>>16)+(i[0]<<16|i[0]>>>16)|0,x[3]=i[3]+(i[2]<<8|i[2]>>>24)+i[1]|0,x[4]=i[4]+(i[3]<<16|i[3]>>>16)+(i[2]<<16|i[2]>>>16)|0,x[5]=i[5]+(i[4]<<8|i[4]>>>24)+i[3]|0,x[6]=i[6]+(i[5]<<16|i[5]>>>16)+(i[4]<<16|i[4]>>>16)|0,x[7]=i[7]+(i[6]<<8|i[6]>>>24)+i[5]|0}r.RabbitLegacy=f._createHelper(o)})(),n.RabbitLegacy})})(ye)),ye.exports}var ge={exports:{}},$i=ge.exports,tt;function Ui(){return tt||(tt=1,(function(e,t){(function(n,r,a){e.exports=r(N(),l0(),p0(),h0(),Z())})($i,function(n){return(function(){var r=n,a=r.lib,f=a.BlockCipher,y=r.algo;const h=16,v=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],i=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var o={pbox:[],sbox:[]};function B(l,g){let s=g>>24&255,c=g>>16&255,p=g>>8&255,F=g&255,E=l.sbox[0][s]+l.sbox[1][c];return E=E^l.sbox[2][p],E=E+l.sbox[3][F],E}function x(l,g,s){let c=g,p=s,F;for(let E=0;E<h;++E)c=c^l.pbox[E],p=B(l,c)^p,F=c,c=p,p=F;return F=c,c=p,p=F,p=p^l.pbox[h],c=c^l.pbox[h+1],{left:c,right:p}}function u(l,g,s){let c=g,p=s,F;for(let E=h+1;E>1;--E)c=c^l.pbox[E],p=B(l,c)^p,F=c,c=p,p=F;return F=c,c=p,p=F,p=p^l.pbox[1],c=c^l.pbox[0],{left:c,right:p}}function d(l,g,s){for(let D=0;D<4;D++){l.sbox[D]=[];for(let m=0;m<256;m++)l.sbox[D][m]=i[D][m]}let c=0;for(let D=0;D<h+2;D++)l.pbox[D]=v[D]^g[c],c++,c>=s&&(c=0);let p=0,F=0,E=0;for(let D=0;D<h+2;D+=2)E=x(l,p,F),p=E.left,F=E.right,l.pbox[D]=p,l.pbox[D+1]=F;for(let D=0;D<4;D++)for(let m=0;m<256;m+=2)E=x(l,p,F),p=E.left,F=E.right,l.sbox[D][m]=p,l.sbox[D][m+1]=F;return!0}var C=y.Blowfish=f.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var l=this._keyPriorReset=this._key,g=l.words,s=l.sigBytes/4;d(o,g,s)}},encryptBlock:function(l,g){var s=x(o,l[g],l[g+1]);l[g]=s.left,l[g+1]=s.right},decryptBlock:function(l,g){var s=u(o,l[g],l[g+1]);l[g]=s.left,l[g+1]=s.right},blockSize:64/32,keySize:128/32,ivSize:64/32});r.Blowfish=f._createHelper(C)})(),n.Blowfish})})(ge)),ge.exports}var Gi=O0.exports,nt;function ji(){return nt||(nt=1,(function(e,t){(function(n,r,a){e.exports=r(N(),we(),Wn(),Un(),l0(),Kn(),p0(),At(),or(),Zn(),yt(),ei(),ti(),ii(),ar(),xi(),h0(),Z(),di(),hi(),pi(),Ci(),Ai(),gi(),Fi(),_i(),bi(),wi(),Si(),Ri(),zi(),Li(),Ni(),Wi(),Ui())})(Gi,function(n){return n})})(O0)),O0.exports}var Ki=ji();const x0=Pn(Ki),gt="jctrans2003Z!2@#";function Mi(e){if(!e)return e;const t=x0.enc.Utf8.parse(gt),n=x0.AES.decrypt(e,t,{mode:x0.mode.ECB,padding:x0.pad.Pkcs7});return x0.enc.Utf8.stringify(n).toString()}function E0(e){if(!e)return e;var t=x0.enc.Utf8.parse(gt),n=x0.enc.Utf8.parse(e),r=x0.AES.encrypt(n,t,{mode:x0.mode.ECB,padding:x0.pad.Pkcs7});return r.toString()}function Et(e={}){const{headerName:t="client-uid",injectRequest:n=!0}=e;return((r,a={})=>{if(!n)return globalThis.fetch(r,a);const f=nr(),y=new Headers(a.headers||{});return y.set(t,f),globalThis.fetch(r,U(T({},a),{headers:y}))})}function Xi(e={}){if(typeof globalThis=="undefined"||typeof globalThis.fetch=="undefined"){console.warn("[ClientId] fetch is not available in this environment");return}const t=Et(e);globalThis.fetch=t}const Vi="2.1",Qi=()=>a0().basePath,q0=()=>a0().carrierPath,N0=()=>a0().linePath,Zi=()=>a0().allLinePath;function Ft(e,t){if(t)return{target:e,finalType:t};let n=e.type;return n==="Country"&&e.region&&!e.country?{target:e.region,finalType:"Region"}:{target:e[n==null?void 0:n.toLowerCase()]||e,finalType:n||"Country"}}function qe(e,t,n){const{target:r,finalType:a}=Ft(e,n),f=o=>{if(!o)return"";const B=o.nameCn||o.displayNameCn||o.name||o.carrierNameCn||o.lineNameCn||"",x=o.nameEn||o.displayNameEn||o.nameEnShow||o.carrierNameEn||o.lineNameEn||"";return t?x||B:B||x},y=f(r);if(a==="Carrier"){const o=r.scac||r.scacCode||r.carrierCode||r.code||"";return o?`${y} (${o})`:y}if(a==="Line"){const o=t?r.countryNameEn||"":r.countryNameCn||"";return o?`${y} (${o})`:y}const h=e.country||e.region,v=f(h),i=f(e.city);if(["Seaport","Airport","Wharf"].includes(a)){const o=[i,v].filter(Boolean).join(", ");return o?`${y} (${o})`:y}return["City","Province"].includes(a)&&v?`${y} (${v})`:y}function Yi(e=[],t){return e.map(n=>{var o;const{target:r,finalType:a}=Ft(n,t),f=r.nameCn||r.name||r.carrierNameCn||r.lineNameCn,y=r.nameEn||r.nameEnShow||r.carrierNameEn||r.lineNameEn,h=r.scacCode||r.scac||r.carrierCode||r.code,v={id:(o=r.id)!=null?o:n.id,type:a,nameCn:f,nameEn:y,code:h,display:qe(n,We(),t),displayEn:qe(n,!0,t),displayCn:qe(n,!1,t),raw:n};let i={};return a==="Carrier"?i={scacCode:r.scacCode||r.scac,iataCode:r.iataCode||r.iata,carrierCode:r.carrierCode,lineType:r.lineType}:a==="Line"&&(i={lineType:r.lineType}),T(T({},v),i)})}function X(n){return V(this,arguments,function*(e,t={}){const r=T({current:1,size:10},e),a=t.path||Qi(),y=(yield n0.post(a,r)).data.data||{};return U(T({},y),{records:Yi(y.records||[],t.forcedType)})})}const Dt={searchByName:e=>X(U(T({searchContent:e.keyword,searchMode:e.searchMode},e),{displayInfo:["Country"]})),getByIds:e=>X({countryIds:e,displayInfo:["Country"]})},_t={searchByName:e=>X(U(T({searchContent:e.keyword,searchMode:e.searchMode},e),{displayInfo:["Country"]})),getByIds:e=>X({countryIds:e,displayInfo:["Country"]})},Oe={searchByName:e=>X(U(T({searchContent:e.keyword,countryIds:e.countryId?[e.countryId]:void 0},e),{displayInfo:["City"]})),getByIds:e=>X({cityIds:e,displayInfo:["City"]}),getCitiesByCountry:(e,t)=>X(T({countryIds:[e],displayInfo:["City"]},t))},mt={searchByName:e=>X(U(T({searchContent:e.keyword,cityIds:e.cityId?[e.cityId]:void 0,countryIds:e.countryId?[e.countryId]:void 0},e),{displayInfo:["Seaport"]})),getByIds:e=>X({seaportIds:e,displayInfo:["Seaport"]})},bt={searchByName:e=>X(U(T({searchContent:e.keyword,countryIds:e.countryId?[e.countryId]:void 0},e),{displayInfo:["Airport"]})),getByIds:e=>X({airportIds:e,displayInfo:["Airport"]})},It={getByIds:e=>X({wharfIds:e,displayInfo:["Wharf"]})},y0={_buildPayload:(e,t)=>({current:e.current||1,size:e.size||10,lineType:t,searchkey:e.keyword,ids:e.ids}),searchShipping:e=>X(y0._buildPayload(e,"shipping"),{path:q0(),forcedType:"Carrier"}),searchAir:e=>X(y0._buildPayload(e,"air"),{path:q0(),forcedType:"Carrier"}),search:(e,t)=>X(y0._buildPayload(e,t),{path:q0(),forcedType:"Carrier"}),getByIds:(e,t="shipping")=>X(y0._buildPayload({ids:e},t),{path:q0(),forcedType:"Carrier"})},g0={_buildPayload:(e,t)=>({current:e.current||1,size:e.size||10,lineType:t,searchkey:e.keyword,ids:e.ids}),searchAllByCountry:(e,t)=>X({countryId:t,lineType:e,current:1,size:999},{path:Zi(),forcedType:"Line"}),searchShipping:e=>X(g0._buildPayload(e,"shipping"),{path:N0(),forcedType:"Line"}),searchAir:e=>X(g0._buildPayload(e,"air"),{path:N0(),forcedType:"Line"}),search:(e,t)=>X(g0._buildPayload(e,t),{path:N0(),forcedType:"Line"}),getByIds:(e,t="shipping")=>X(g0._buildPayload({ids:e},t),{path:N0(),forcedType:"Line"})},Ji=e=>X(T({searchContent:e.keyword},e)),eo=(e,t,n)=>{const r=Array.isArray(e)?e:[e],a=(n==null?void 0:n.lineType)||"shipping";switch(t){case"Country":return Dt.getByIds(r);case"Region":return _t.getByIds(r);case"City":return Oe.getByIds(r);case"Seaport":return mt.getByIds(r);case"Airport":return bt.getByIds(r);case"Wharf":return It.getByIds(r);case"Carrier":return y0.getByIds(r,a);case"Line":return g0.getByIds(r,a);default:return X({[`${t.toLowerCase()}Ids`]:r,displayInfo:[t]})}},ro={SEARCH_VERSION:Vi,searchByName:Ji,searchByIdWithType:eo,country:Dt,region:_t,city:Oe,seaport:mt,airport:bt,wharf:It,carrier:y0,line:g0,getCitiesByCountry:Oe.getCitiesByCountry,getChildrenByCity:(e,t,n)=>X(T({cityIds:[e],displayInfo:t},n))},to=()=>a0().prefixPath;function no(e){return V(this,null,function*(){const t=T({},e),r=(yield n0.post(to()+"/system/dms/fr/dmsReport/report",t)).data||{};return T({},r)})}const R0=()=>a0().prefixPath,io=e=>V(null,null,function*(){return yield n0.post(R0()+"/auth/getKqCompanyPage",T({},e))});function oo(e){return n0.post(R0()+"/code",T({},e))}function ao(e){return n0.post(R0()+"/check",T({},e))}function xo(e={size:-1}){return n0.post(R0()+"/system/dms/fr/country/findPageCountry",T({},e))}const wt=(e,t)=>n0.post(R0()+e,T({},t));function so(e={size:-1}){return wt("/system/admin/dict/data/type/dictType",T({},e))}function co(e){return V(this,null,function*(){return yield wt("/common/ip/get",T({},e))})}const ke=()=>a0().prefixPath,fo=e=>{var t,n;if(e!=null&&e.redirectPath)return e.redirectPath;if(typeof window=="undefined")return"/";try{return((t=window.sessionStorage)==null?void 0:t.getItem("jc-auth-path"))||((n=window.location)==null?void 0:n.pathname)||"/"}catch(r){return"/"}},O=(e,t)=>n0.post(ke()+e,U(T({},t),{redirectPath:fo(t)}),{headers:{"app-id":"ERA"}});function uo(e){return e.target=E0(e==null?void 0:e.target),O("/auth/validateAccountExist",e)}function ho(e){return e.target=E0(e==null?void 0:e.target),O("/auth/emailCode",e)}function lo(e){return e.target=E0(e==null?void 0:e.target),O("/auth/mobileCodeAnon",e)}function po(e){return e.target=E0(e==null?void 0:e.target),n0.post(ke()+"/auth/verifyEmailCode",T({},e))}function vo(e){return e.target=E0(e==null?void 0:e.target),n0.post(ke()+"/auth/verifyMobileCode",T({},e))}function Co(e){return n0.post(ke()+"/auth/validateCompany",T({},e))}function Bo(e){return O("/auth/registerJoinCompany",e)}function Ao(e){return O("/auth/registerJoinCompByThirdParty",e)}function yo(e){return O("/auth/getJoinCompany",e)}function go(e,t){return O("/auth/redirect",{toSys:e,path:t})}function Eo(e){return O("/auth/registerAccComp",e)}function Fo(e){return O("/auth/registerUserCompBindWechat",e)}function Do(e){return O("/auth/registerJoinCompanyBindWechat",e)}function _o(e){return O("/auth/loginPwdBindWechat",e)}function mo(e){return O("/auth/loginCodeBindWechat",e)}function bo(e){const t=T({},e);return O("/auth/login",T({},t))}function Io(e){return O("/auth/loginRegisterByAccount",T({},e))}function wo(e){return O("/auth/loginByQrCode",T({},e))}function ko(e={}){return O("/auth/getLoginQrCode",T({},e))}function So(e){return O("/auth/autoLogin",T({},e))}function Po(e){return O("/auth/completeCompRedirect",T({},e))}function Ro(e){return O("/auth/userCompPerms",T({},e))}function To(e){return O("/auth/getLoginUserMobileEmail",T({},e))}function zo(e){return O("/auth/getMobileEmail",T({},e))}function Ho(e){return O("/auth/completeJoinCompanyRedirect",T({},e))}function Lo(e){return O("/auth/forgotPwdAccount",T({},e))}function qo(e){return O("/auth/forgotPwdVerifyCode",T({},e))}function No(e){return O("/auth/forgotPwd",T({},e))}function Oo(e){return O("/auth/loginByFacebook",U(T({},e),{businessCode:"WINDOW_LOGIN"}))}function Wo(e){return O("/auth/loginByLinkedin",U(T({},e),{businessCode:"WINDOW_LOGIN"}))}function $o(e){return O("/auth/bindThirdPartyByPwd",T({},e))}function Uo(e){return O("/auth/bindThirdPartyByCode",T({},e))}function Go(e){return O("/auth/registerByThirdParty",T({},e))}function jo(e){return O("/auth/findListByMobileEmail",T({},e))}function Ko(e){return O("/auth/inviteJoinGetComp",T({},e))}function Mo(e){if(typeof window=="undefined"||!window.sessionStorage)return;const{activityCode:t,referenceUserId:n,empNo:r,uniqueCode:a,path:f,clickSource:y,registerEvent:h,registerType:v,compKey:i}=e;t&&sessionStorage.setItem("jc-auth-activityCode",t),n&&sessionStorage.setItem("jc-auth-referenceUserId",n),r&&sessionStorage.setItem("jc-auth-empNo",r),a&&sessionStorage.setItem("jc-auth-uniqueCode",a),f&&sessionStorage.setItem("jc-auth-path",f),y&&sessionStorage.setItem("jc-auth-clickSource",y),h&&sessionStorage.setItem("jc-auth-registerEvent",h),v&&sessionStorage.setItem("jc-auth-registerType",v),i&&sessionStorage.setItem("jc-auth-compKey",i)}function Xo(){typeof window=="undefined"||!window.sessionStorage||(sessionStorage.removeItem("jc-auth-activityCode"),sessionStorage.removeItem("jc-auth-referenceUserId"),sessionStorage.removeItem("jc-auth-empNo"),sessionStorage.removeItem("jc-auth-uniqueCode"),sessionStorage.removeItem("jc-auth-path"),sessionStorage.removeItem("jc-auth-clickSource"),sessionStorage.removeItem("jc-auth-registerEvent"),sessionStorage.removeItem("jc-auth-registerType"),sessionStorage.removeItem("jc-auth-compKey"))}function Vo(){return typeof window=="undefined"||!window.sessionStorage?{activityCode:null,referenceUserId:null,empNo:null,uniqueCode:null,path:null,clickSource:null,registerEvent:null,registerType:null,compKey:null}:{activityCode:sessionStorage.getItem("jc-auth-activityCode"),referenceUserId:sessionStorage.getItem("jc-auth-referenceUserId"),empNo:sessionStorage.getItem("jc-auth-empNo"),uniqueCode:sessionStorage.getItem("jc-auth-uniqueCode"),path:sessionStorage.getItem("jc-auth-path"),clickSource:sessionStorage.getItem("jc-auth-clickSource"),registerEvent:sessionStorage.getItem("jc-auth-registerEvent"),registerType:sessionStorage.getItem("jc-auth-registerType"),compKey:sessionStorage.getItem("jc-auth-compKey")}}function Qo(e){if(typeof window=="undefined"||!window.sessionStorage)return;const{registerEntry:t}=e;t&&sessionStorage.setItem("_GIO-registerEntry",t)}function Zo(){return typeof window=="undefined"||!window.sessionStorage?{registerEntry:null}:{registerEntry:sessionStorage.getItem("_GIO-registerEntry")}}function Yo(){typeof window=="undefined"||!window.sessionStorage||sessionStorage.removeItem("_GIO-registerEntry")}class Jo{constructor(){k0(this,"hasInitCalled",!1);k0(this,"dispatcher",null);k0(this,"dispatcherLoading",null);k0(this,"pendingActions",[])}get shouldValidateAttributes(){return typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"}flushPendingActions(){if(!this.dispatcher||this.pendingActions.length===0)return;const t=[...this.pendingActions];this.pendingActions=[];for(const n of t)this.dispatcher(n.action,...n.args)}ensureDispatcher(){return V(this,null,function*(){return typeof window=="undefined"?null:typeof window.gdp=="function"?(this.dispatcher=window.gdp,this.flushPendingActions(),this.dispatcher):this.dispatcher?this.dispatcher:this.dispatcherLoading?this.dispatcherLoading:(this.dispatcherLoading=V(this,null,function*(){try{const t=yield import("gio-webjs-sdk"),n=(t==null?void 0:t.default)||t;return typeof n!="function"?(console.warn("[GIO] gdp 函数未就绪或引入失败"),null):(this.dispatcher=n,this.flushPendingActions(),this.dispatcher)}catch(t){return console.warn("[GIO] gio-webjs-sdk 加载失败",t),null}finally{this.dispatcherLoading=null}}),this.dispatcherLoading)})}dispatch(t,...n){if(typeof window!="undefined"){if(!this.dispatcher&&typeof window.gdp=="function"&&(this.dispatcher=window.gdp),this.dispatcher){this.dispatcher(t,...n);return}this.pendingActions.push({action:t,args:n}),this.ensureDispatcher()}}isInitialized(){return typeof window=="undefined"?!1:this.hasInitCalled}isBrowser(){return typeof window!="undefined"}init(t,n,r,a,f){if(!t||!n){console.warn("[GIO] init accountId/dataSourceId 不能为空");return}let y,h={},v;typeof r=="string"?(y=r,typeof a=="function"?v=a:(h=a||{},v=f)):(h=r||{},typeof a=="function"&&(v=a));const i=[t,n];y&&i.push(y);const o=T({},h);i.push(o),v&&i.push(v),typeof window!="undefined"&&(process.env.NODE_ENV==="development"&&(window._gr_ignore_local_rule=!0),this.dispatch("init",...i),this.hasInitCalled=!0)}setOption(t,n,r){this.dispatch("setOption",t,n,r)}getOption(t,n){this.dispatch("getOption",t,n)}getVersion(t){this.dispatch("getOption","version",t)}getUserAgent(t){this.dispatch("getUserAgent",t)}identify(t,n){if(!t||t.length===0){console.warn("[GIO] identify deviceId 不能为空");return}t.length>1e3&&(console.warn("[GIO] identify deviceId 长度超过 1000,将被截断"),t=t.slice(0,1e3)),this.dispatch("identify",t,n)}getDeviceId(t){this.dispatch("getDeviceId",t)}setUserId(t,n,r){const a=String(t);if(a.length===0||a.length>1e3){console.warn("[GIO] setUserId userId 长度必须在 0-1000 之间");return}if(typeof n=="function"){this.dispatch("setUserId",a,n);return}if(typeof n!="undefined"){this.dispatch("setUserId",a,n,r);return}if(r){this.dispatch("setUserId",a,r);return}this.dispatch("setUserId",a)}clearUserId(t){this.dispatch("clearUserId",t)}track(t,n,r){if(!t||t.length===0){console.warn("[GIO] track eventName 不能为空");return}this.shouldValidateAttributes&&this._validateAttributes(n,"track"),this.dispatch("track",t,n,r)}setUserAttributes(t,n){this.shouldValidateAttributes&&this._validateAttributes(t,"setUserAttributes"),this.dispatch("setUserAttributes",t,n)}setGeneralProps(t,n){this.shouldValidateAttributes&&this._validateAttributes(t,"setGeneralProps"),this.dispatch("setGeneralProps",t,n)}clearGeneralProps(t=[],n){this.dispatch("clearGeneralProps",t,n)}setPageListener(t){this.dispatch("setPageListener",t)}setPageAttributes(t,n){this.shouldValidateAttributes&&this._validateAttributes(t,"setPageAttributes"),this.dispatch("setPageAttributes",t,n)}clearPageAttributes(t=[],n){this.dispatch("clearPageAttributes",t,n)}sendPage(t,n){t&&t.title?this.dispatch("sendPage",{title:t.title},n):this.dispatch("sendPage",n)}setBeforeSendListener(t){this.dispatch("setBeforeSendListener",t)}trackTimerStart(t,n){this.dispatch("trackTimerStart",t,n)}trackTimerPause(t,n){this.dispatch("trackTimerPause",t,n)}trackTimerResume(t,n){this.dispatch("trackTimerResume",t,n)}trackTimerEnd(t,n,r){this.dispatch("trackTimerEnd",t,n,r)}removeTimer(t,n){this.dispatch("removeTimer",t,n)}clearTrackTimer(t){this.dispatch("clearTrackTimer"),t==null||t()}registerPlugins(t,n){this.dispatch("registerPlugins",t,n)}_validateAttributes(t,n){if(t){for(const[r,a]of Object.entries(t))if(r.length>100&&console.warn(`[GIO] ${n}: key "${r.slice(0,20)}..." length ${r.length} > 100, SDK may ignore or truncate it`),typeof a=="string")a.length>1e3&&console.warn(`[GIO] ${n}: key "${r}" value length ${a.length} > 1000, SDK may ignore or truncate it`);else if(typeof a!="number"){if(typeof a!="boolean"){if(typeof a!="function")if(Array.isArray(a)){a.length>100&&console.warn(`[GIO] ${n}: key "${r}" array length ${a.length} > 100, SDK may ignore or truncate it`);for(const f of a)typeof f!="string"&&typeof f!="number"&&console.warn(`[GIO] ${n}: key "${r}" array contains non-string/number value: ${typeof f}`)}else typeof a=="object"&&a!==null&&console.error(`[GIO] ${n}: key "${r}" value is an object, nested object is not recommended and may be rejected`)}}}}}const ea=new Jo;function ra(e){return!e||!e.isBrowser()?null:e}function ta(e){return e?e.isBrowser()&&e.isInitialized():!1}const kt=["companyID_var","contactPerson_var","inquiryID_var","modulePosition_var","moduleType_var","pageCode_var","pageClickName_var","moduleName_var"],St=e=>!e||typeof e!="object"?{}:Object.entries(e).reduce((t,[n,r])=>(t[n]=ft(r)?"-":r,t),{}),na=(e,t)=>{const n=St(t);return e!=="clickPage"?n:T(T({},kt.reduce((r,a)=>{var f;return r[a]=(f=n[a])!=null?f:"-",r},{})),n)},ia={Open:"GLOBAL_MODAL_OPEN",Close:"GLOBAL_MODAL_CLOSE",Submit:"GLOBAL_MODAL_SUBMIT"},oa=en();exports.Decrypt=Mi;exports.Encrypt=E0;exports.ExpiresInKey=Ge;exports.ExpiresInTimeKey=be;exports.GIO_CLICK_PAGE_REQUIRED_FIELDS=kt;exports.HasLoginKey=Ue;exports.MODAL_ACTION=ia;exports.PrjId=Ee;exports.RefreshExpiresInKey=je;exports.RefreshExpiresInTimeKey=Ke;exports.RefreshTokenKey=Ie;exports.RememberMeAccountKey=Fe;exports.RememberMePasswordKey=De;exports.TOKEN_ENDPOINTS=Me;exports.TokenKey=me;exports.autoLoginByTGC=So;exports.bindThirdPartyByCodeApi=Uo;exports.bindThirdPartyByPwdApi=$o;exports.checkAccountExistsFPApi=Lo;exports.checkEmailCodeApi=po;exports.checkMobileCodeApi=vo;exports.clearAllAuth=on;exports.clearClientId=cn;exports.completeCompRedirectApi=Po;exports.completeJoinCompanyRedirectApi=Ho;exports.createFetchWithClientId=Et;exports.createRequest=hn;exports.currentConfig=it;exports.emitter=oa;exports.findDictAPi=so;exports.findListByMobileEmailApi=jo;exports.findPAreaCodeAPi=xo;exports.generateClientId=ut;exports.getAirport=Sn;exports.getAppId=Ze;exports.getAuthSessionItems=Vo;exports.getById=An;exports.getByIds=Bt;exports.getChildrenByCity=gn;exports.getCitiesByCountry=yn;exports.getCity=In;exports.getCompanyOptionApi=io;exports.getContinent=mn;exports.getCountry=bn;exports.getCurrentClientId=fn;exports.getExpiresTimeIn=ct;exports.getFirstDomain=at;exports.getGioSessionItems=Zo;exports.getIsEn=We;exports.getJoinCompanyApi=yo;exports.getLanguage=Qe;exports.getLocalIpDataApi=co;exports.getLoginQrCode=ko;exports.getMEVCodeApi=qo;exports.getMobileEmailApi=zo;exports.getOrCreateClientId=nr;exports.getPathFromConfig=xt;exports.getProjectId=Ve;exports.getProvince=wn;exports.getRedirectPathApi=go;exports.getRefreshToken=st;exports.getRememberAccount=an;exports.getSeaport=kn;exports.getSessionHeaderValue=Je;exports.getSharedConfig=a0;exports.getToken=Ye;exports.getTracker=ra;exports.getUserInfoApi=To;exports.initSharedConfig=rn;exports.installClientIdPlugin=vt;exports.installFetchClientId=Xi;exports.inviteJoinGetCompApi=Ko;exports.isEmpty=ft;exports.isGioAvailable=ta;exports.isIpAddress=ot;exports.locationSearchV2=ro;exports.loginApi=bo;exports.loginByEmailOrMobileCodeApi=Io;exports.loginByFacebookApi=Oo;exports.loginByLinkedinApi=Wo;exports.loginByQrCode=wo;exports.loginCodeBindWechatApi=mo;exports.loginPwdBindWechatApi=_o;exports.normalizeAttrs=St;exports.normalizeClickPageAttrs=na;exports.registerApi=Eo;exports.registerByThirdPartyApi=Go;exports.registerJoinCompByThirdPartyApi=Ao;exports.registerJoinCompanyApi=Bo;exports.registerJoinCompanyBindWechatApi=Do;exports.registerUserCompBindWechatApi=Fo;exports.reportNewTypeDataApi=no;exports.resetAuthSessionItems=Xo;exports.resetGioSessionItems=Yo;exports.resetPasswordApi=No;exports.saveClientIdToLocalStorage=sn;exports.saveClientIdToSessionStorage=pt;exports.search=P0;exports.searchAirportByName=_n;exports.searchByName=ir;exports.searchCityByName=Fn;exports.searchCountryByName=En;exports.searchSeaportByName=Dn;exports.sendEmailCodeApi=ho;exports.sendMobileCodeApi=lo;exports.setAuthSessionItems=Mo;exports.setGioSessionItems=Qo;exports.setRememberMe=nn;exports.setTokenAll=_e;exports.slideCheckApi=ao;exports.slideGetApi=oo;exports.toSafeHeaderValue=er;exports.tracker=ea;exports.userCompPermsApi=Ro;exports.validateAccountExistApi=uo;exports.validateCompanyApi=Co;
|