/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/front-end-functions@1.0.6/dist/index.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
var __defProp=Object.defineProperty,__defNormalProp=(e,t,n)=>t in e?__defProp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,__publicField=(e,t,n)=>(__defNormalProp(e,"symbol"!=typeof t?t+"":t,n),n);import{m as main,l as lib,j as js,d as docxtemplater,F as FileSaver_min}from"./main.js";import{a as assign,i as isFunction,o as omitBy,b as isNil}from"./lodash.js";import{d as dayjs}from"./dayjs.min.js";import{s as sha1}from"./sha1.js";import{utils,writeFile as writeFileSync}from"./xlsx.js";import"./_commonjsHelpers.js";const asyncScript=e=>new Promise((t=>{var n;const i=document,a=i.createElement("script"),r=i.getElementsByTagName("script")[0];a.type="text/javascript",a.async=!0,a.defer=!0,a.src=e,a.onload=()=>{t(!0)},null==(n=null==r?void 0:r.parentNode)||n.insertBefore(a,r)})),ExportBriefDataDocx=(e,t,n)=>{function i(e){e=e.replace(/^\.$/,"this").replace(/(’|‘)/g,"'").replace(/(“|”)/g,'"');const t=main.compile(e);return{get:function(e,n){let i={};const a=n.scopeList;for(let e=0,t=n.num+1;e<t;e++)i=assign(i,a[e]);return t(e,i)}}}main.filters.lower=function(e){return e?e.toLowerCase():e},lib.getBinaryContent(e,((e,a)=>{e&&console.log(e);const r=new js(a),o=new docxtemplater(r,{parser:i});o.setData(t);try{o.render()}catch(e){const t={message:e.message,name:e.name,stack:e.stack,properties:e.properties};throw console.log({error:t}),e}const s=o.getZip().generate({type:"blob",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"});FileSaver_min.exports.saveAs(s,n)}))},asyncAmapMap=()=>new Promise((e=>{var t;if(window.onAmapLoad=()=>{e(!0)},null==(t=null==window?void 0:window.AMap)?void 0:t.Map)return e(!0)})),_AMapInteractor=class{constructor(){__publicField(this,"_amap"),__publicField(this,"_amapMarker"),__publicField(this,"_curruntLocation"),this._amap=new window.AMap.Map("amap-container",{resizeEnable:!0,zoom:10})}static async getInstance(){return this._instance||(await asyncScript(this._amapSrc),await asyncAmapMap(),this._instance=new _AMapInteractor),Promise.resolve(this._instance)}destroyed(){this._amap.destroy(),delete this._amap,_AMapInteractor._instance=null}search(e,t,n,i=!0){const a={map:this._amap,city:e||"全国",extensions:"all"};i||delete a.map;new window.AMap.PlaceSearch(a).search(t,n)}getGeocoderAddress(e,t){window.AMap.plugin("AMap.Geocoder",(()=>{new window.AMap.Geocoder({map:this._amap,city:"全国"}).getAddress(e,t)}))}updateMarker(e){const t=this._getMarker();t.setPosition(e),t.setAnimation("AMAP_ANIMATION_DROP")}getMarkPosition(){const e=this._getMarker().getPosition();return(null==e?void 0:e.lng)?[null==e?void 0:e.lng,null==e?void 0:e.lat]:[]}autolocation(){return new Promise(((e,t)=>{var n;this._curruntLocation?e(this._curruntLocation):null==(n=this._amap)||n.plugin("AMap.Geolocation",(()=>{const n=new window.AMap.Geolocation({enableHighAccuracy:!0,timeout:1e5,buttonOffset:new window.AMap.Pixel(10,20),zoomToAccuracy:!0,buttonPosition:"RB",showCircle:!1});n.options.markerOptions.bubble=!0,this._amap.addControl(n),n.getCurrentPosition(),window.AMap.event.addListener(n,"complete",(t=>{this._curruntLocation=t,e(t)})),window.AMap.event.addListener(n,"error",(e=>{console.warn("获取定位失败",e),t(e)}))}))}))}getCurrentProvince(){return new Promise(((e,t)=>{this.autolocation().then((n=>{const i=n.formattedAddress.slice(0,2);import("./carMessageData.js").then((t=>{const a=t.provinceData;for(const t in a)if(a[t].province.slice(0,2)===i&&-1!==n.formattedAddress.indexOf(a[t].city)){const n=a[t].letter.slice(0,1),i=a[t].letter.slice(1,2);e({province:n,letter:i});break}})).catch((e=>{t(e)}))})).catch((e=>{t(e)}))}))}_getMarker(){return this._amapMarker||(this._amapMarker=new window.AMap.Marker({map:this._amap})),this._amapMarker}get amap(){return this._amap}};let AMapInteractor=_AMapInteractor;__publicField(AMapInteractor,"_instance",null),__publicField(AMapInteractor,"_amapSrc","https://webapi.amap.com/maps?v=1.3&key=2c7be58cca107ce087d7ef41a875a65f&plugin=AMap.Geocoder,AMap.Autocomplete,AMap.PlaceSearch,AMap.Geolocation&callback=onAmapLoad");const checkFileType=e=>new Promise(((t,n)=>{if(e)return/\.(xls|xlsx|csv)$/.test(e.name.toLowerCase())?e.size>=3145728?(n("文件上传失败，大小不能超过3M"),!1):void t(!0):(n("文件上传失败，请检查你的文件格式"),!1);n("请上传文件")})),readFile=(e,t)=>new Promise(((n,i)=>{try{const i=new FileReader;i.onload=e=>{var i;const a=null==(i=e.target)?void 0:i.result;a||n([]),import("./xlsx.js").then((e=>{const i=e.read(a,t),r=i.SheetNames.map((t=>{var n;return e.utils.sheet_to_json(null==(n=i.Sheets)?void 0:n[t])}));n(r)}))},i.readAsBinaryString(e)}catch(e){i(e)}})),getXlsxFileData=(e,t)=>new Promise(((n,i)=>{checkFileType(e).then((()=>{readFile(e,t).then((e=>{n(e)}))})).catch((e=>i(e)))})),SUPPORT_IMAGE_TYPE_LIST=["image/png","image/jpeg","image/gif"];var ImageUploadErrorCodeEnum=(e=>(e[e.none=0]="none",e[e.unSupportType=1]="unSupportType",e[e.onlyOne=2]="onlyOne",e))(ImageUploadErrorCodeEnum||{});const TARGET_IPHONE_VERSION=13.4,checkType=e=>e.every((e=>SUPPORT_IMAGE_TYPE_LIST.includes(e.type))),checkUploadRules=(e,t)=>new Promise(((n,i)=>{const a=e.length;!t&&a>1?i({code:2,message:"每次只能上传一张图片，请重新选择"}):!e||a<=0?i({code:0,message:"未获取到图片，请重新选择"}):checkType(e)?n(!0):i({code:1,message:"文件类型不支持, 请重新选择"})})),base64toBlob=e=>{var t;const n=e.split(","),i=null==(t=n[0].match(/:(.*?);/))?void 0:t[1],a=atob(n[1]);let r=a.length;const o=new Uint8Array(r);for(;r--;)o[r]=a.charCodeAt(r);return new Blob([o],{type:i})},urlToBase64=e=>new Promise(((t,n)=>{import("./index2.js").then((function(e){return e.i})).then((async i=>{i.urltoBlob(e).then((e=>{i.filetoDataURL(e).then((e=>{t(e)})).catch(n)})).catch(n)}))})),base64ToFile=(e,t)=>{try{const n=base64toBlob(e);return new File([n],t)}catch(e){return console.error(e),null}},getOrientation=e=>new Promise(((t,n)=>{const i=window.navigator.userAgent.toLowerCase().match(/cpu iphone os (.*?) like mac os/),a=i?i[1].replace(/^(\d+)_(\d+)\S*/,"$1.$2"):"0";if(!(i&&parseInt(a,10)<13.4))return t(void 0);try{import("./index2.js").then((function(e){return e.i})).then((async i=>{var a;const r=null!=(a=await i.filetoDataURL(e).catch(n))?a:"",o=await i.dataURLtoImage(r).catch(n);import("./exif.js").then((e=>{let n;e.default.getData(o,(()=>{n=e.default.getTag(o,"Orientation"),t(n)}))}))}))}catch(e){t(void 0)}})),compressFileToDataURL=(e,t=500)=>new Promise(((n,i)=>{import("./index2.js").then((function(e){return e.i})).then((async a=>{var r,o;console.time("compressFileToDataURL");const s=null!=(r=await getOrientation(e).catch(i))?r:0,l=await a.compressAccurately(e,{size:t,orientation:s}).catch(i);if(l){const t=null!=(o=await a.filetoDataURL(l).catch(i))?o:"";console.log(`%c压缩文件为base64 %c${e.size/1024}KB >>> ${l.size/1024}KB`,"color:blue","color:green"),console.timeEnd("compressFileToDataURL"),n({dataURL:t,compressFile:l,fileName:e.name,fileType:e.type})}}))})),compressFile=(e,t=500)=>new Promise(((n,i)=>{import("./index2.js").then((function(e){return e.i})).then((async a=>{var r;const o=null!=(r=await getOrientation(e).catch(i))?r:0,s=await a.compress(e,{size:t,orientation:o}).catch(i);s&&(console.log(`%c压缩文件 %c${e.size/1024}KB >>> ${s.size/1024}KB`,"color:blue","color:green"),n(new File([s],e.name)))}))})),compressCanvesToFile=(e,t="example.jpg",n=500)=>new Promise(((i,a)=>{import("./index2.js").then((function(e){return e.i})).then((async r=>{console.time("compressFileToDataURL"),r.canvastoFile(e,.8).then((e=>{r.compress(e,n).then((n=>{console.log(`%c压缩文件 %c${e.size/1024}KB >>> ${n.size/1024}KB`,"color:blue","color:green"),console.timeEnd("compressFileToDataURL"),i(new File([n],t))})).catch(a)})).catch(a)}))})),compressUploader=async e=>{if(!e)throw Error("上传附件为空");let t,n;if(n=Array.isArray(e)){const n=e;if(!n.every((e=>e.file)))throw Error("上传附件存在空文件");t=n.map((e=>e.file))}else{const n=e;if(!n.file)throw Error("上传附件为空文件");t=[n.file]}if(!checkUploadRules(t,n))throw Error("附件检查无效");const i=[];for(const e of t){const t=await compressFileToDataURL(e).catch(Promise.reject);i.push(t)}return i},getImageData=(e,t=!1)=>{const n=e.target,i=[],a=Array.prototype.slice.call(n.files),r=a.length;return new Promise(((e,o)=>{checkUploadRules(a,t).then((()=>{a.forEach((t=>{compressFileToDataURL(t).then((t=>{i.push(t),i.length===r&&(e(i),n.value="")}))}))})).catch((e=>{o(e)}))}))},getBrowserFeature=()=>{var e;const t=navigator||{},n=window||{},i=n.screen||{},a={pdf:"application/pdf",qt:"video/quicktime",realp:"audio/x-pn-realaudio-plugin",wma:"application/x-mplayer2",dir:"application/x-director",fla:"application/x-shockwave-flash",java:"application/x-java-vm",gears:"application/x-googlegears",ag:"application/x-silverlight"},r={pdf:"",qt:"",realp:"",wma:"",dir:"",fla:"",res:"",java:"",gears:"",cookie:"",ag:""};if(!new RegExp("MSIE").test(t.userAgent)){if(null==(e=t.mimeTypes)?void 0:e.length)for(const e in a)if(Object.prototype.hasOwnProperty.call(a,e)){const n=t.mimeTypes[a[e]];r[e]=(null==n?void 0:n.enabledPlugin)?"1":"0"}isFunction(t.javaEnabled)&&t.javaEnabled()&&(r.java="1"),isFunction(n.GearsFactory)&&(r.gears="1"),r.cookie=t.cookieEnabled?"1":"0"}const o=i.width,s=i.height;return r.res=o+"x"+s,r},uuid=()=>{const e=navigator||{};return sha1(`\n    ${dayjs().valueOf()}\n    ${e.userAgent||""}\n    ${e.platform||""}\n    ${JSON.stringify(getBrowserFeature())}\n    ${Math.random()}`)},_EnvUtils=class{static setProHost(e){_EnvUtils.proHost=e}static isPro(){return document.domain===_EnvUtils.proHost||window.location.host===_EnvUtils.proHost}};let EnvUtils=_EnvUtils;__publicField(EnvUtils,"ua",navigator?navigator.userAgent.toLowerCase():""),__publicField(EnvUtils,"screen",window?window.screen:{height:0,width:0}),__publicField(EnvUtils,"isWx",(()=>/micromessenger/i.test(_EnvUtils.ua))),__publicField(EnvUtils,"isAndroid",(()=>/android/i.test(_EnvUtils.ua))),__publicField(EnvUtils,"isIphone",(()=>/iphone/i.test(_EnvUtils.ua))),__publicField(EnvUtils,"isIphoneX",(()=>_EnvUtils.isIphone()&&812===_EnvUtils.screen.height&&375===_EnvUtils.screen.width)),__publicField(EnvUtils,"isIphone678",(()=>_EnvUtils.isIphone()&&667===_EnvUtils.screen.height&&375===_EnvUtils.screen.width)),__publicField(EnvUtils,"isIphone678Plus",(()=>_EnvUtils.isIphone()&&736===_EnvUtils.screen.height&&414===_EnvUtils.screen.width)),__publicField(EnvUtils,"isIphone5",(()=>_EnvUtils.isIphone()&&568===_EnvUtils.screen.height&&320===_EnvUtils.screen.width)),__publicField(EnvUtils,"iPhoneSystemVersion",(()=>{const e=_EnvUtils.ua.match(/cpu iphone os (.*?) like mac os/),t=e?e[1].replace(/^(\d+)_(\d+)\S*/,"$1.$2"):"0";return parseInt(t,10)})),__publicField(EnvUtils,"proHost","");const _WechatSdk=class{static getInstance(){return new Promise((e=>{_WechatSdk._wechatSdk?e(this._wechatSdk):import("./index4.js").then((function(e){return e.i})).then((t=>{_WechatSdk._wechatSdk=t,e(t),window.wx=t}))}))}};let WechatSdk=_WechatSdk;__publicField(WechatSdk,"_wechatSdk",null);const getUrlQuerys=e=>{let t=e||(null==window?void 0:window.location.search);if(!t)return{};"?"===t[0]&&(t=t.slice(1));const n=t.split("&"),i={};return n.forEach((e=>{const t=e.split("=");if(t[1]&&"undefined"!==t[1])try{i[t[0]]=decodeURIComponent(t[1])}catch(e){console.error(e.message)}})),i},getUrlQuery=(e,t)=>getUrlQuerys(t)[e]||"",enCodeUrlParams=(e,t=[])=>{const n=[];return Object.keys(e).forEach((i=>{if([...t,"returnShopProductUrl"].includes(i))return i;e[i]?n.push(encodeURIComponent(i)+"="+encodeURIComponent(e[i])):"number"!=typeof e[i]||isNaN(Number(e[i]))?n.push(encodeURIComponent(i)+"="):n.push(encodeURIComponent(i)+"="+encodeURIComponent(e[i]))})),n.join("&")},overrideMimeTypeXML=e=>new Promise((t=>{let n;n=window.XMLHttpRequest?new XMLHttpRequest:new window.ActiveXObject("Microsoft.XMLHTTP"),n.open("GET",window.location.origin+e.url,!0),n.overrideMimeType(`text/html;charset=${e.charset}`),n.send(null),n.onreadystatechange=()=>{4===n.readyState&&(200===n.status?t(n.response):t(""))}})),getUrlTemplateCode=()=>{if(/.*\/product\/([a-zA-Z_]+)\/index.html/gi.test(null==window?void 0:window.location.pathname)){return null==window?void 0:window.location.pathname.replace(/.*\/product\/([a-zA-Z_]+)\/index.html/gi,"$1")}return getUrlQuery("_from")||""},DEFAULT_DOCUMENT_TITLE="xxxxx",SCPRIT_ID="WX_SCRIPT",getWechatEnv=(()=>{const e={isWechat:!1,isMiniprogram:!1};return EnvUtils.isWx()&&WechatSdk.getInstance().then((t=>{t.miniProgram.getEnv((t=>{t.miniprogram?e.isMiniprogram=!0:e.isWechat=!0}))})),{envConfig:e}})(),wechatJsonHandler=e=>{const t=document.getElementById(SCPRIT_ID);if(t&&document.body.removeChild(t),e&&"string"==typeof e)try{const t=JSON.parse(e);if(!t.signature)return;if(WechatUtils.setWechatJson(t),!EnvUtils.isWx())return;WechatSdk.getInstance().then((e=>{e.miniProgram.getEnv((e=>{e.miniprogram||WechatUtils.initWechat()}))}))}catch(e){console.error(`微信初始化失败 ${e}`)}};class WechatUtils{static get config(){return EnvUtils.isPro()?this.WECHAT_SINGE_CONFIG.pro:this.WECHAT_SINGE_CONFIG.test}static get _isFinishGetSignature(){return!!this._wechatJson.signature}static get wechatEnv(){return getWechatEnv.envConfig}static init(){this._retryTime=0,this._isInWechat&&this._getSignatureByJsonp()}static initShareConfig(e,t){if(!this._isInWechat)return;if(e&&(this._shareConfig={title:(null==e?void 0:e.title)||"xxxxx",desc:(null==e?void 0:e.desc)||"xxxxx",link:(null==e?void 0:e.link)||window.location.href,imgUrl:(null==e?void 0:e.imgUrl)||`${window.location.origin}/logo.png`,callback:t},this._retryTimer=0),!this._isInitSuccess&&this._retryTime<this.MAX_RETRY_TIME)return this._retryTime+=1,clearTimeout(this._retryTimer),void(this._retryTimer=window.setTimeout((()=>{this.initShareConfig()}),this.RETRY_INTERVAL));const n={title:this._shareConfig.title,desc:this._shareConfig.desc,link:this._shareConfig.link,imgUrl:this._shareConfig.imgUrl,trigger:()=>{console.log("用户点击发送给朋友")},success:()=>{var e,t;console.log("分享成功"),null==(t=(e=this._shareConfig).callback)||t.call(e)},cancel:()=>{console.log("已取消分享")}};WechatSdk.getInstance().then((e=>{e.onMenuShareAppMessage(n),e.onMenuShareQQ(n),e.onMenuShareTimeline(n)}))}static setWechatJson(e){this._wechatJson={signature:e.signature,timestamp:e.timestamp,nonceStr:e.nonce||e.nonceStr,ticket:e.ticket,nonce:e.nonce}}static initWechat(e){return new Promise((t=>{this._isFinishGetSignature&&WechatSdk.getInstance().then((n=>{n.config({debug:!1,appId:this.config.appid,timestamp:this._wechatJson.timestamp,nonceStr:this._wechatJson.nonceStr,signature:this._wechatJson.signature,jsApiList:this.WECHAT_API_LIST}),n.ready((()=>{this.initShareConfig(),this._isInitSuccess=!0,null==e||e(),t(this._wechatJson)})),n.error((e=>{console.log("wx.error",e)}))}))}))}static getWechatAppType(){return this.wechatEnv.isMiniprogram?"WMP":this.wechatEnv.isWechat?"JSAPI":"H5"}static _getSignatureByJsonp(){WechatSdk.getInstance().then((e=>{e.miniProgram.getEnv((e=>{if(!e.miniprogram){window.wechatJsonHandler=wechatJsonHandler;const e=EnvUtils.isAndroid()?window.location.href.split("#")[0]:this.entryUrl,t={openid:this.config.openid,weappNo:this.config.weappNo,fxurl:e,callback:"window.wechatJsonHandler"},n=document.createElement("script");n.id=SCPRIT_ID,n.src=`${this.config.getSignatureUri}${enCodeUrlParams(t)}`,document.body.insertBefore(n,document.body.firstChild)}}))}))}}__publicField(WechatUtils,"entryUrl",""),__publicField(WechatUtils,"WECHAT_API_LIST",["checkJsApi","updateAppMessageShareData","updateTimelineShareData","onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","hideOptionMenu","showOptionMenu","getLocation","chooseImage","uploadImage","downloadImage","previewImage","closeWindow"]),__publicField(WechatUtils,"MAX_RETRY_TIME",5),__publicField(WechatUtils,"RETRY_INTERVAL",500),__publicField(WechatUtils,"WECHAT_SINGE_CONFIG",{test:{appid:"xxxxx",weappNo:"xxxxx",redirectUri:"xxxxx/redirect?backUrl=",getSignatureUri:"xxxxx/getSignature?",openid:"xxxxx"},pro:{appid:"xxxxx",weappNo:"xxxxx",redirectUri:"http://xxxxx/redirect?backUrl=",getSignatureUri:"https://xxxxx/getSignature?",openid:"xxxxx"}}),__publicField(WechatUtils,"_wechatJson",{signature:"",timestamp:"",nonce:"",ticket:""}),__publicField(WechatUtils,"_shareConfig",{title:"分享标题",desc:"分享内容",link:window.location.href,imgUrl:`${window.location.origin}/logo.png`,callback:()=>{console.log("share callback")}}),__publicField(WechatUtils,"_isInWechat",EnvUtils.isWx()),__publicField(WechatUtils,"_isInitSuccess",!1),__publicField(WechatUtils,"_retryTime",0),__publicField(WechatUtils,"_retryTimer");const pinyinData={a:"啊阿锕",ai:"埃挨哎唉哀皑癌蔼矮艾碍爱隘诶捱嗳嗌嫒瑷暧砹锿霭",an:"鞍氨安俺按暗岸胺案谙埯揞犴庵桉铵鹌顸黯",ang:"肮昂盎",ao:"凹敖熬翱袄傲奥懊澳坳拗嗷噢岙廒遨媪骜聱螯鏊鳌鏖",ba:"芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸茇菝萆捭岜灞杷钯粑鲅魃",bai:"白柏百摆佰败拜稗薜掰鞴",ban:"斑班搬扳般颁板版扮拌伴瓣半办绊阪坂豳钣瘢癍舨",bang:"邦帮梆榜膀绑棒磅蚌镑傍谤蒡螃",bao:"苞胞包褒雹保堡饱宝抱报暴豹鲍爆勹葆宀孢煲鸨褓趵龅",bo:"剥薄玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳亳蕃啵饽檗擘礴钹鹁簸跛",bei:"杯碑悲卑北辈背贝钡倍狈备惫焙被孛陂邶埤蓓呗怫悖碚鹎褙鐾",ben:"奔苯本笨畚坌锛",beng:"崩绷甭泵蹦迸唪嘣甏",bi:"逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛匕仳俾芘荜荸吡哔狴庳愎滗濞弼妣婢嬖璧贲畀铋秕裨筚箅篦舭襞跸髀",bian:"鞭边编贬扁便变卞辨辩辫遍匾弁苄忭汴缏煸砭碥稹窆蝙笾鳊",biao:"标彪膘表婊骠飑飙飚灬镖镳瘭裱鳔",bie:"鳖憋别瘪蹩鳘",bin:"彬斌濒滨宾摈傧浜缤玢殡膑镔髌鬓",bing:"兵冰柄丙秉饼炳病并禀邴摒绠枋槟燹",bu:"捕卜哺补埠不布步簿部怖拊卟逋瓿晡钚醭",ca:"擦嚓礤",cai:"猜裁材才财睬踩采彩菜蔡",can:"餐参蚕残惭惨灿骖璨粲黪",cang:"苍舱仓沧藏伧",cao:"操糙槽曹草艹嘈漕螬艚",ce:"厕策侧册测刂帻恻",ceng:"层蹭噌",cha:"插叉茬茶查碴搽察岔差诧猹馇汊姹杈楂槎檫钗锸镲衩",chai:"拆柴豺侪茈瘥虿龇",chan:"搀掺蝉馋谗缠铲产阐颤冁谄谶蒇廛忏潺澶孱羼婵嬗骣觇禅镡裣蟾躔",chang:"昌猖场尝常长偿肠厂敞畅唱倡伥鬯苌菖徜怅惝阊娼嫦昶氅鲳",chao:"超抄钞朝嘲潮巢吵炒怊绉晁耖",che:"车扯撤掣彻澈坼屮砗",chen:"郴臣辰尘晨忱沉陈趁衬称谌抻嗔宸琛榇肜胂碜龀",cheng:"撑城橙成呈乘程惩澄诚承逞骋秤埕嵊徵浈枨柽樘晟塍瞠铖裎蛏酲",chi:"吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽傺墀芪茌搋叱哧啻嗤彳饬沲媸敕胝眙眵鸱瘛褫蚩螭笞篪豉踅踟魑",chong:"充冲虫崇宠茺忡憧铳艟",chou:"抽酬畴踌稠愁筹仇绸瞅丑俦圳帱惆溴妯瘳雠鲋",chu:"臭初出橱厨躇锄雏滁除楚础储矗搐触处亍刍憷绌杵楮樗蜍蹰黜",chuan:"揣川穿椽传船喘串掾舛惴遄巛氚钏镩舡",chuang:"疮窗幢床闯创怆",chui:"吹炊捶锤垂陲棰槌",chun:"春椿醇唇淳纯蠢促莼沌肫朐鹑蝽",chuo:"戳绰蔟辶辍镞踔龊",ci:"疵茨磁雌辞慈瓷词此刺赐次荠呲嵯鹚螅糍趑",cong:"聪葱囱匆从丛偬苁淙骢琮璁枞",cu:"凑粗醋簇猝殂蹙",cuan:"蹿篡窜汆撺昕爨",cui:"摧崔催脆瘁粹淬翠萃悴璀榱隹",cun:"村存寸磋忖皴",cuo:"撮搓措挫错厝脞锉矬痤鹾蹉躜",da:"搭达答瘩打大耷哒嗒怛妲疸褡笪靼鞑",dai:"呆歹傣戴带殆代贷袋待逮怠埭甙呔岱迨逯骀绐玳黛",dan:"耽担丹单郸掸胆旦氮但惮淡诞弹蛋亻儋卩萏啖澹檐殚赕眈瘅聃箪",dang:"当挡党荡档谠凼菪宕砀铛裆",dao:"刀捣蹈倒岛祷导到稻悼道盗叨啁忉洮氘焘忑纛",de:"德得的锝",deng:"蹬灯登等瞪凳邓噔嶝戥磴镫簦",di:"堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔氐籴诋谛邸坻莜荻嘀娣柢棣觌砥碲睇镝羝骶",dian:"颠掂滇碘点典靛垫电佃甸店惦奠淀殿丶阽坫埝巅玷癜癫簟踮",diao:"碉叼雕凋刁掉吊钓调轺铞蜩粜貂",die:"跌爹碟蝶迭谍叠佚垤堞揲喋渫轶牒瓞褶耋蹀鲽鳎",ding:"丁盯叮钉顶鼎锭定订丢仃啶玎腚碇町铤疔耵酊",dong:"东冬董懂动栋侗恫冻洞垌咚岽峒夂氡胨胴硐鸫",dou:"兜抖斗陡豆逗痘蔸钭窦窬蚪篼酡",du:"都督毒犊独读堵睹赌杜镀肚度渡妒芏嘟渎椟橐牍蠹笃髑黩",duan:"端短锻段断缎彖椴煅簖",dui:"堆兑队对怼憝碓",dun:"墩吨蹲敦顿囤钝盾遁炖砘礅盹镦趸",duo:"掇哆多夺垛躲朵跺舵剁惰堕咄哚缍柁铎裰踱",e:"蛾峨鹅俄额讹娥恶厄扼遏鄂饿噩谔垩垭苊莪萼呃愕屙婀轭曷腭硪锇锷鹗颚鳄",en:"恩蒽摁唔嗯",er:"而儿耳尔饵洱二贰迩珥铒鸸鲕",fa:"发罚筏伐乏阀法珐垡砝",fan:"藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛蘩幡犭梵攵燔畈蹯",fang:"坊芳方肪房防妨仿访纺放匚邡彷钫舫鲂",fei:"菲非啡飞肥匪诽吠肺废沸费芾狒悱淝妃绋绯榧腓斐扉祓砩镄痱蜚篚翡霏鲱",fen:"芬酚吩氛分纷坟焚汾粉奋份忿愤粪偾瀵棼愍鲼鼢",feng:"丰封枫蜂峰锋风疯烽逢冯缝讽奉凤俸酆葑沣砜",fu:"佛否夫敷肤孵扶拂辐幅氟符伏俘服浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐匐凫郛芙苻茯莩菔呋幞滏艴孚驸绂桴赙黻黼罘稃馥虍蚨蜉蝠蝮麸趺跗鳆",ga:"噶嘎蛤尬呷尕尜旮钆",gai:"该改概钙盖溉丐陔垓戤赅胲",gan:"干甘杆柑竿肝赶感秆敢赣坩苷尴擀泔淦澉绀橄旰矸疳酐",gang:"冈刚钢缸肛纲岗港戆罡颃筻",gong:"杠工攻功恭龚供躬公宫弓巩汞拱贡共蕻廾咣珙肱蚣蛩觥",gao:"篙皋高膏羔糕搞镐稿告睾诰郜蒿藁缟槔槁杲锆",ge:"哥歌搁戈鸽胳疙割革葛格阁隔铬个各鬲仡哿塥嗝纥搿膈硌铪镉袼颌虼舸骼髂",gei:"给",gen:"根跟亘茛哏艮",geng:"耕更庚羹埂耿梗哽赓鲠",gou:"钩勾沟苟狗垢构购够佝诟岣遘媾缑觏彀鸲笱篝鞲",gu:"辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇嘏诂菰哌崮汩梏轱牯牿胍臌毂瞽罟钴锢瓠鸪鹄痼蛄酤觚鲴骰鹘",gua:"刮瓜剐寡挂褂卦诖呱栝鸹",guai:"乖拐怪哙",guan:"棺关官冠观管馆罐惯灌贯倌莞掼涫盥鹳鳏",guang:"光广逛犷桄胱疒",gui:"瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽匦刿庋宄妫桧炅晷皈簋鲑鳜",gun:"辊滚棍丨衮绲磙鲧",guo:"锅郭国果裹过馘蠃埚掴呙囗帼崞猓椁虢锞聒蜮蜾蝈",ha:"哈",hai:"骸孩海氦亥害骇咴嗨颏醢",han:"酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉邗菡撖阚瀚晗焓颔蚶鼾",hen:"夯痕很狠恨",hang:"杭航沆绗珩桁",hao:"壕嚎豪毫郝好耗号浩薅嗥嚆濠灏昊皓颢蚝",he:"呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺诃劾壑藿嗑嗬阖盍蚵翮",hei:"嘿黑",heng:"哼亨横衡恒訇蘅",hong:"轰哄烘虹鸿洪宏弘红黉讧荭薨闳泓",hou:"喉侯猴吼厚候后堠後逅瘊篌糇鲎骺",hu:"呼乎忽瑚壶葫胡蝴狐糊湖弧虎唬护互沪户冱唿囫岵猢怙惚浒滹琥槲轷觳烀煳戽扈祜鹕鹱笏醐斛",hua:"花哗华猾滑画划化话劐浍骅桦铧稞",huai:"槐徊怀淮坏还踝",huan:"欢环桓缓换患唤痪豢焕涣宦幻郇奂垸擐圜洹浣漶寰逭缳锾鲩鬟",huang:"荒慌黄磺蝗簧皇凰惶煌晃幌恍谎隍徨湟潢遑璜肓癀蟥篁鳇",hui:"灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘诙茴荟蕙哕喙隳洄彗缋珲晖恚虺蟪麾",hun:"荤昏婚魂浑混诨馄阍溷缗",huo:"豁活伙火获或惑霍货祸攉嚯夥钬锪镬耠蠖",ji:"击圾基机畸稽积箕肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪居丌乩剞佶佴脔墼芨芰萁蒺蕺掎叽咭哜唧岌嵴洎彐屐骥畿玑楫殛戟戢赍觊犄齑矶羁嵇稷瘠瘵虮笈笄暨跻跽霁鲚鲫髻麂",jia:"嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁伽郏拮岬浃迦珈戛胛恝铗镓痂蛱笳袈跏",jian:"歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件健舰剑饯渐溅涧建僭谏谫菅蒹搛囝湔蹇謇缣枧柙楗戋戬牮犍毽腱睑锏鹣裥笕箴翦趼踺鲣鞯",jiang:"僵姜将浆江疆蒋桨奖讲匠酱降茳洚绛缰犟礓耩糨豇",jiao:"蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫佼僬茭挢噍峤徼姣纟敫皎鹪蛟醮跤鲛",jie:"窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届偈讦诘喈嗟獬婕孑桀獒碣锴疖袷颉蚧羯鲒骱髫",jin:"巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸尽卺荩堇噤馑廑妗缙瑾槿赆觐钅锓衿矜",jing:"劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净刭儆阱菁獍憬泾迳弪婧肼胫腈旌",jiong:"炯窘冂迥扃",jiu:"揪究纠玖韭久灸九酒厩救旧臼舅咎就疚僦啾阄柩桕鹫赳鬏",ju:"鞠拘狙疽驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧倨讵苣苴莒掬遽屦琚枸椐榘榉橘犋飓钜锔窭裾趄醵踽龃雎鞫",juan:"捐鹃娟倦眷卷绢鄄狷涓桊蠲锩镌隽",jue:"撅攫抉掘倔爵觉决诀绝厥劂谲矍蕨噘崛獗孓珏桷橛爝镢蹶觖",jun:"均菌钧军君峻俊竣浚郡骏捃狻皲筠麇",ka:"喀咖卡佧咔胩",ke:"咯坷苛柯棵磕颗科壳咳可渴克刻客课岢恪溘骒缂珂轲氪瞌钶疴窠蝌髁",kai:"开揩楷凯慨剀垲蒈忾恺铠锎",kan:"刊堪勘坎砍看侃凵莰莶戡龛瞰",kang:"康慷糠扛抗亢炕坑伉闶钪",kao:"考拷烤靠尻栲犒铐",ken:"肯啃垦恳垠裉颀",keng:"吭忐铿",kong:"空恐孔控倥崆箜",kou:"抠口扣寇芤蔻叩眍筘",ku:"枯哭窟苦酷库裤刳堀喾绔骷",kua:"夸垮挎跨胯侉",kuai:"块筷侩快蒯郐蒉狯脍",kuan:"宽款髋",kuang:"匡筐狂框矿眶旷况诓诳邝圹夼哐纩贶",kui:"亏盔岿窥葵奎魁傀馈愧溃馗匮夔隗揆喹喟悝愦阕逵暌睽聩蝰篑臾跬",kun:"坤昆捆困悃阃琨锟醌鲲髡",kuo:"括扩廓阔蛞",la:"垃拉喇蜡腊辣啦剌摺邋旯砬瘌",lai:"莱来赖崃徕涞濑赉睐铼癞籁",lan:"蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥啉岚懔漤榄斓罱镧褴",lang:"琅榔狼廊郎朗浪莨蒗啷阆锒稂螂",lao:"捞劳牢老佬姥酪烙涝唠崂栳铑铹痨醪",le:"勒乐肋仂叻嘞泐鳓",lei:"雷镭蕾磊累儡垒擂类泪羸诔荽咧漯嫘缧檑耒酹",ling:"棱冷拎玲菱零龄铃伶羚凌灵陵岭领另令酃塄苓呤囹泠绫柃棂瓴聆蛉翎鲮",leng:"楞愣",li:"厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐痢立粒沥隶力璃哩俪俚郦坜苈莅蓠藜捩呖唳喱猁溧澧逦娌嫠骊缡珞枥栎轹戾砺詈罹锂鹂疠疬蛎蜊蠡笠篥粝醴跞雳鲡鳢黧",lian:"俩联莲连镰廉怜涟帘敛脸链恋炼练挛蔹奁潋濂娈琏楝殓臁膦裢蠊鲢",liang:"粮凉梁粱良两辆量晾亮谅墚椋踉靓魉",liao:"撩聊僚疗燎寥辽潦了撂镣廖料蓼尥嘹獠寮缭钌鹩耢",lie:"列裂烈劣猎冽埒洌趔躐鬣",lin:"琳林磷霖临邻鳞淋凛赁吝蔺嶙廪遴檩辚瞵粼躏麟",liu:"溜琉榴硫馏留刘瘤流柳六抡偻蒌泖浏遛骝绺旒熘锍镏鹨鎏",long:"龙聋咙笼窿隆垄拢陇弄垅茏泷珑栊胧砻癃",lou:"楼娄搂篓漏陋喽嵝镂瘘耧蝼髅",lu:"芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮垆摅撸噜泸渌漉璐栌橹轳辂辘氇胪镥鸬鹭簏舻鲈",lv:"驴吕铝侣旅履屡缕虑氯律率滤绿捋闾榈膂稆褛",luan:"峦孪滦卵乱栾鸾銮",lue:"掠略锊",lun:"轮伦仑沦纶论囵",luo:"萝螺罗逻锣箩骡裸落洛骆络倮荦摞猡泺椤脶镙瘰雒",ma:"妈麻玛码蚂马骂嘛吗唛犸嬷杩麽",mai:"埋买麦卖迈脉劢荬咪霾",man:"瞒馒蛮满蔓曼慢漫谩墁幔缦熳镘颟螨鳗鞔",mang:"芒茫盲忙莽邙漭朦硭蟒",meng:"氓萌蒙檬盟锰猛梦孟勐甍瞢懵礞虻蜢蠓艋艨黾",miao:"猫苗描瞄藐秒渺庙妙喵邈缈缪杪淼眇鹋蜱",mao:"茅锚毛矛铆卯茂冒帽貌贸侔袤勖茆峁瑁昴牦耄旄懋瞀蛑蝥蟊髦",me:"么",mei:"玫枚梅酶霉煤没眉媒镁每美昧寐妹媚坶莓嵋猸浼湄楣镅鹛袂魅",men:"门闷们扪玟焖懑钔",mi:"眯醚靡糜迷谜弥米秘觅泌蜜密幂芈冖谧蘼嘧猕獯汨宓弭脒敉糸縻麋",mian:"棉眠绵冕免勉娩缅面沔湎腼眄",mie:"蔑灭咩蠛篾",min:"民抿皿敏悯闽苠岷闵泯珉",ming:"明螟鸣铭名命冥茗溟暝瞑酩",miu:"谬",mo:"摸摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谟茉蓦馍嫫镆秣瘼耱蟆貊貘",mou:"谋牟某厶哞婺眸鍪",mu:"拇牡亩姆母墓暮幕募慕木目睦牧穆仫苜呒沐毪钼",na:"拿哪呐钠那娜纳内捺肭镎衲箬",nai:"氖乃奶耐奈鼐艿萘柰",nan:"南男难囊喃囡楠腩蝻赧",nao:"挠脑恼闹孬垴猱瑙硇铙蛲",ne:"淖呢讷",nei:"馁",nen:"嫩能枘恁",ni:"妮霓倪泥尼拟你匿腻逆溺伲坭猊怩滠昵旎祢慝睨铌鲵",nian:"蔫拈年碾撵捻念廿辇黏鲇鲶",niang:"娘酿",niao:"鸟尿茑嬲脲袅",nie:"捏聂孽啮镊镍涅乜陧蘖嗫肀颞臬蹑",nin:"您柠",ning:"狞凝宁拧泞佞蓥咛甯聍",niu:"牛扭钮纽狃忸妞蚴",nong:"脓浓农侬",nu:"奴努怒呶帑弩胬孥驽",nv:"女恧钕衄",nuan:"暖",nuenue:"虐",nue:"疟谑",nuo:"挪懦糯诺傩搦喏锘",ou:"哦欧鸥殴藕呕偶沤怄瓯耦",pa:"啪趴爬帕怕琶葩筢",pai:"拍排牌徘湃派俳蒎",pan:"攀潘盘磐盼畔判叛爿泮袢襻蟠蹒",pang:"乓庞旁耪胖滂逄",pao:"抛咆刨炮袍跑泡匏狍庖脬疱",pei:"呸胚培裴赔陪配佩沛掊辔帔淠旆锫醅霈",pen:"喷盆湓",peng:"砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯堋嘭怦蟛",pi:"砒霹批披劈琵毗啤脾疲皮匹痞僻屁譬丕陴邳郫圮鼙擗噼庀媲纰枇甓睥罴铍痦癖疋蚍貔",pian:"篇偏片骗谝骈犏胼褊翩蹁",piao:"飘漂瓢票剽嘌嫖缥殍瞟螵",pie:"撇瞥丿苤氕",pin:"拼频贫品聘拚姘嫔榀牝颦",ping:"乒坪苹萍平凭瓶评屏俜娉枰鲆",po:"坡泼颇婆破魄迫粕叵鄱溥珀钋钷皤笸",pou:"剖裒踣",pu:"扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑匍噗濮璞氆镤镨蹼",qi:"期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫亟亓圻芑萋葺嘁屺岐汔淇骐绮琪琦杞桤槭欹祺憩碛蛴蜞綦綮趿蹊鳍麒",qia:"掐恰洽葜",qian:"牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉佥阡芊芡荨掮岍悭慊骞搴褰缱椠肷愆钤虔箝",qiang:"枪呛腔羌墙蔷强抢嫱樯戗炝锖锵镪襁蜣羟跫跄",qiao:"橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍劁诮谯荞愀憔缲樵毳硗跷鞒",qie:"切茄且怯窃郄唼惬妾挈锲箧",qin:"钦侵亲秦琴勤芹擒禽寝沁芩蓁蕲揿吣嗪噙溱檎螓衾",qing:"青轻氢倾卿清擎晴氰情顷请庆倩苘圊檠磬蜻罄箐謦鲭黥",qiong:"琼穷邛茕穹筇銎",qiu:"秋丘邱球求囚酋泅俅氽巯艽犰湫逑遒楸赇鸠虬蚯蝤裘糗鳅鼽",qu:"趋区蛆曲躯屈驱渠取娶龋趣去诎劬蕖蘧岖衢阒璩觑氍祛磲癯蛐蠼麴瞿黢",quan:"圈颧权醛泉全痊拳犬券劝诠荃獾悛绻辁畎铨蜷筌鬈",que:"缺炔瘸却鹊榷确雀阙悫",qun:"裙群逡",ran:"然燃冉染苒髯",rang:"瓤壤攘嚷让禳穰",rao:"饶扰绕荛娆桡",ruo:"惹若弱",re:"热偌",ren:"壬仁人忍韧任认刃妊纫仞荏葚饪轫稔衽",reng:"扔仍",ri:"日",rong:"戎茸蓉荣融熔溶容绒冗嵘狨缛榕蝾",rou:"揉柔肉糅蹂鞣",ru:"茹蠕儒孺如辱乳汝入褥蓐薷嚅洳溽濡铷襦颥",ruan:"软阮朊",rui:"蕊瑞锐芮蕤睿蚋",run:"闰润",sa:"撒洒萨卅仨挲飒",sai:"腮鳃塞赛噻",san:"三叁伞散彡馓氵毵糁霰",sang:"桑嗓丧搡磉颡",sao:"搔骚扫嫂埽臊瘙鳋",se:"瑟色涩啬铩铯穑",sen:"森",seng:"僧",sha:"莎砂杀刹沙纱傻啥煞脎歃痧裟霎鲨",shai:"筛晒酾",shan:"珊苫杉山删煽衫闪陕擅赡膳善汕扇缮剡讪鄯埏芟潸姗骟膻钐疝蟮舢跚鳝",shang:"墒伤商赏晌上尚裳垧绱殇熵觞",shao:"梢捎稍烧芍勺韶少哨邵绍劭苕潲蛸笤筲艄",she:"奢赊蛇舌舍赦摄射慑涉社设厍佘猞畲麝",shen:"砷申呻伸身深娠绅神沈审婶甚肾慎渗诜谂吲哂渖椹矧蜃",sheng:"声生甥牲升绳省盛剩胜圣丞渑媵眚笙",shi:"师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试谥埘莳蓍弑唑饣轼耆贳炻礻铈铊螫舐筮豕鲥鲺",shou:"收手首守寿授售受瘦兽扌狩绶艏",shu:"蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱恕倏塾菽忄沭涑澍姝纾毹腧殳镯秫鹬",shua:"刷耍唰涮",shuai:"摔衰甩帅蟀",shuan:"栓拴闩",shuang:"霜双爽孀",shui:"谁水睡税",shun:"吮瞬顺舜恂",shuo:"说硕朔烁蒴搠嗍濯妁槊铄",si:"斯撕嘶思私司丝死肆寺嗣四伺似饲巳厮俟兕菥咝汜泗澌姒驷缌祀祠锶鸶耜蛳笥",song:"松耸怂颂送宋讼诵凇菘崧嵩忪悚淞竦",sou:"搜艘擞嗽叟嗖嗾馊溲飕瞍锼螋",su:"苏酥俗素速粟僳塑溯宿诉肃夙谡蔌嗉愫簌觫稣",suan:"酸蒜算",sui:"虽隋随绥髓碎岁穗遂隧祟蓑冫谇濉邃燧眭睢",sun:"孙损笋荪狲飧榫跣隼",suo:"梭唆缩琐索锁所唢嗦娑桫睃羧",ta:"塌他它她塔獭挞蹋踏闼溻遢榻沓",tai:"胎苔抬台泰酞太态汰邰薹肽炱钛跆鲐",tan:"坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭郯蕈昙钽锬覃",tang:"汤塘搪堂棠膛唐糖傥饧溏瑭铴镗耥螗螳羰醣",thang:"倘躺淌",theng:"趟烫",tao:"掏涛滔绦萄桃逃淘陶讨套挑鼗啕韬饕",te:"特",teng:"藤腾疼誊滕",ti:"梯剔踢锑提题蹄啼体替嚏惕涕剃屉荑悌逖绨缇鹈裼醍",tian:"天添填田甜恬舔腆掭忝阗殄畋钿蚺",tiao:"条迢眺跳佻祧铫窕龆鲦",tie:"贴铁帖萜餮",ting:"厅听烃汀廷停亭庭挺艇莛葶婷梃蜓霆",tong:"通桐酮瞳同铜彤童桶捅筒统痛佟僮仝茼嗵恸潼砼",tou:"偷投头透亠",tu:"凸秃突图徒途涂屠土吐兔堍荼菟钍酴",tuan:"湍团疃",tui:"推颓腿蜕褪退忒煺",tun:"吞屯臀饨暾豚窀",tuo:"拖托脱鸵陀驮驼椭妥拓唾乇佗坨庹沱柝砣箨舄跎鼍",wa:"挖哇蛙洼娃瓦袜佤娲腽",wai:"歪外",wan:"豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕剜芄苋菀纨绾琬脘畹蜿箢",wang:"汪王亡枉网往旺望忘妄罔尢惘辋魍",wei:"威巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫倭偎诿隈葳薇帏帷崴嵬猥猬闱沩洧涠逶娓玮韪軎炜煨熨痿艉鲔",wen:"瘟温蚊文闻纹吻稳紊问刎愠阌汶璺韫殁雯",weng:"嗡翁瓮蓊蕹",wo:"挝蜗涡窝我斡卧握沃莴幄渥杌肟龌",wu:"巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误兀仵阢邬圬芴庑怃忤浯寤迕妩骛牾焐鹉鹜蜈鋈鼯",xi:"昔熙析西硒矽晰嘻吸锡牺稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细僖兮隰郗茜葸蓰奚唏徙饩阋浠淅屣嬉玺樨曦觋欷熹禊禧钸皙穸蜥蟋舾羲粞翕醯鼷",xia:"瞎虾匣霞辖暇峡侠狭下厦夏吓掀葭嗄狎遐瑕硖瘕罅黠",xian:"锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线冼藓岘猃暹娴氙祆鹇痫蚬筅籼酰跹",xiang:"相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象芗葙饷庠骧缃蟓鲞飨",xiao:"萧硝霄削哮嚣销消宵淆晓小孝校肖啸笑效哓咻崤潇逍骁绡枭枵筱箫魈",xie:"楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑偕亵勰燮薤撷廨瀣邂绁缬榭榍歙躞",xin:"薪芯锌欣辛新忻心信衅囟馨莘歆铽鑫",xing:"星腥猩惺兴刑型形邢行醒幸杏性姓陉荇荥擤悻硎",xiong:"兄凶胸匈汹雄熊芎",xiu:"休修羞朽嗅锈秀袖绣莠岫馐庥鸺貅髹",xu:"墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续讴诩圩蓿怵洫溆顼栩煦砉盱胥糈醑",xuan:"轩喧宣悬旋玄选癣眩绚儇谖萱揎馔泫洵渲漩璇楦暄炫煊碹铉镟痃",xue:"靴薛学穴雪血噱泶鳕",xun:"勋熏循旬询寻驯巡殉汛训讯逊迅巽埙荀薰峋徇浔曛窨醺鲟",ya:"压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶伢揠吖岈迓娅琊桠氩砑睚痖",yan:"焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验厣靥赝俨偃兖讠谳郾鄢芫菸崦恹闫阏洇湮滟妍嫣琰晏胭腌焱罨筵酽魇餍鼹",yang:"殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾徉怏泱炀烊恙蛘鞅",yao:"邀腰妖瑶摇尧遥窑谣姚咬舀药要耀夭爻吆崾徭瀹幺珧杳曜肴鹞窈繇鳐",ye:"椰噎耶爷野冶也页掖业叶曳腋夜液谒邺揶馀晔烨铘",yi:"一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎刈劓佾诒圪圯埸懿苡薏弈奕挹弋呓咦咿噫峄嶷猗饴怿怡悒漪迤驿缢殪贻旖熠钇镒镱痍瘗癔翊衤蜴舣羿翳酏黟",yin:"茵荫因殷音阴姻吟银淫寅饮尹引隐印胤鄞堙茚喑狺夤氤铟瘾蚓霪龈",ying:"英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映嬴郢茔莺萦撄嘤膺滢潆瀛瑛璎楹鹦瘿颍罂",yo:"哟唷",yong:"拥佣臃痈庸雍踊蛹咏泳涌永恿勇用俑壅墉慵邕镛甬鳙饔",you:"幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼卣攸侑莸呦囿宥柚猷牖铕疣蝣鱿黝鼬",yu:"迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉浴寓裕预豫驭禺毓伛俣谀谕萸蓣揄喁圄圉嵛狳饫庾阈妪妤纡瑜昱觎腴欤於煜燠聿钰鹆瘐瘀窳蝓竽舁雩龉",yuan:"鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院塬沅媛瑗橼爰眢鸢螈鼋",yue:"曰约越跃钥岳粤月悦阅龠樾刖钺",yun:"耘云郧匀陨允运蕴酝晕韵孕郓芸狁恽纭殒昀氲",za:"匝砸杂拶咂",zai:"栽哉灾宰载再在咱崽甾",zan:"攒暂赞瓒昝簪糌趱錾",zang:"赃脏葬奘戕臧",zao:"遭糟凿藻枣早澡蚤躁噪造皂灶燥唣缫",ze:"责择则泽仄赜啧迮昃笮箦舴",zei:"贼",zen:"怎谮",zeng:"增憎曾赠缯甑罾锃",zha:"扎喳渣札轧铡闸眨栅榨咋乍炸诈揸吒咤哳怍砟痄蚱齄",zhai:"摘斋宅窄债寨砦",zhan:"瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽谵搌旃",zhang:"樟章彰漳张掌涨杖丈帐账仗胀瘴障仉鄣幛嶂獐嫜璋蟑",zhao:"招昭找沼赵照罩兆肇召爪诏棹钊笊",zhe:"遮折哲蛰辙者锗蔗这浙谪陬柘辄磔鹧褚蜇赭",zhen:"珍斟真甄砧臻贞针侦枕疹诊震振镇阵缜桢榛轸赈胗朕祯畛鸩",zheng:"蒸挣睁征狰争怔整拯正政帧症郑证诤峥钲铮筝",zhi:"芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒卮陟郅埴芷摭帙忮彘咫骘栉枳栀桎轵轾攴贽膣祉祗黹雉鸷痣蛭絷酯跖踬踯豸觯",zhong:"中盅忠钟衷终种肿重仲众冢锺螽舂舯踵",zhou:"舟周州洲诌粥轴肘帚咒皱宙昼骤啄着倜诹荮鬻纣胄碡籀舳酎鲷",zhu:"珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑住注祝驻伫侏邾苎茱洙渚潴驺杼槠橥炷铢疰瘃蚰竺箸翥躅麈",zhua:"抓",zhuai:"拽",zhuan:"专砖转撰赚篆抟啭颛",zhuang:"桩庄装妆撞壮状丬",zhui:"椎锥追赘坠缀萑骓缒",zhun:"谆准",zhuo:"捉拙卓桌琢茁酌灼浊倬诼廴蕞擢啜浞涿杓焯禚斫",zi:"兹咨资姿滋淄孜紫仔籽滓子自渍字谘嵫姊孳缁梓辎赀恣眦锱秭耔笫粢觜訾鲻髭",zong:"鬃棕踪宗综总纵腙粽",zou:"邹走奏揍鄹鲰",zu:"租足卒族祖诅阻组俎菹啐徂驵蹴",zuan:"钻纂攥缵",zui:"嘴醉最罪",zun:"尊遵撙樽鳟",zuo:"昨左佐柞做作坐座阝阼胙祚酢",cou:"薮楱辏腠",nang:"攮哝囔馕曩",o:"喔",dia:"嗲",chuai:"嘬膪踹",cen:"岑涔",diu:"铥",nou:"耨",fou:"缶",bia:"髟"},_PinYinInteractor=class{static setPackage(e){this._pinyin=e}static async getPinyin(e,t){var n;if(!e||e.includes("*"))return"";this._pinyin||await this._initPackage();let i=[];const a=(null==(n=e.match(/[\u4e00-\u9fa5·]+/g))?void 0:n.join(""))||"";if(i=this._pinyin.isSupported()?this._getPinYinList(a):await this._convertPinyin(a),t&&"function"==typeof t)return t.call(this,i);if(e!==a){const t=e.substring(0,e.indexOf(a)),n=e.substring(e.indexOf(a)+a.length,e.length+1);t&&i.splice(0,0,e.substring(0,e.indexOf(a))),n&&i.push(e.substring(e.indexOf(a)+a.length,e.length+1))}let r=i.length>=2?this._formatPinyin(i):i[0]||"";return/·/gi.test(e)&&(r=r.replace(/·/gi," ")),r}static async getFormatedPinyin(e){const t=await this.getPinyin(e);let n="",i="";if(t){const e=t.toUpperCase().split(" ");n=/\s(.+)$/.test(t)?e[0]:t,i=t.substring(n.length+1)}return{familyNameSpell:n,firstNameSpell:i}}static _capitalize(e){return e.charAt(0).toUpperCase()+e.slice(1)}static _formatPinyin(e){let t="";switch(e.length){case 4:t=this._capitalize(e[0])+e[1]+" "+this._capitalize(e[2])+e[3];break;case 2:t=this._capitalize(e[0])+" "+this._capitalize(e[1]);break;case 3:t=this._capitalize(e[0])+" "+this._capitalize(e[1])+e[2];break;default:t=this._capitalize(e[0])+" "+this._capitalize(e[1])+e.slice(2).join(" ")}return t.toUpperCase()}static _initPackage(){return new Promise((e=>{import("./index3.js").then((function(e){return e.i})).then((t=>{_PinYinInteractor.setPackage(t),e(!0)}))}))}static _getPinYinList(e){const t=e.replace(/\s/g,""),n=t.split("");let i=[...n];t.includes("*")&&(i=[i[0]]);const a=[];if(i.every((e=>e.charCodeAt(0)>=19968&&e.charCodeAt(0)<=40959))?i.forEach((e=>{a.push(this._pinyin.convertToPinyin(e,"",!0))})):a.push(this._pinyin.convertToPinyin(e,"",!0)),n.includes("*"))for(let e=1;e<n.length-1;e++)a.push("*");return a}static async _convertPinyin(e){const t=e.length;let n="";const i=[],a=new RegExp("[a-zA-Z0-9- ]");for(let r=0;r<t;r++){const t=e.substr(r,1),o=await this._search(t);a.test(t)?n+=t:!1!==o&&i.push(o)}for(n=n.replace(/ /g,"-");n.indexOf("--")>-1;)n=n.replace("--","-");return i}static async _search(e){for(const t in this._PIN_YIN_DATA)if(-1!==this._PIN_YIN_DATA[t].indexOf(e))return t;return!1}};let PinYinInteractor=_PinYinInteractor;__publicField(PinYinInteractor,"_pinyin"),__publicField(PinYinInteractor,"_PIN_YIN_DATA",pinyinData);const ERROR_MSG_MAP={required:"不能为空",id18:"请输入正确的18位身份证",hkOrMacaoIdCard:"输入的港澳台居民居住证格式错误",id18Baidu:"请输入正确的身份证",passPortId:"请输入长度7位~9位的字符,允许录入大写字母和阿拉伯数字组合、或纯数字",armypass:"请输入正确的军人证",HMTCardId:"请输入正确的港澳回乡证或台胞证",unifySocialCreditCode:"统一社会信用代码由18位大写字母 、数字组成",icCard:"临时身份证最长只能输入20个字符",organizationCode:"9位大写字母和数字组合",taxationCode:"15/18/20位大写字母和数字组合",businessLicenseCode:"15/18位大写字母和数字组合",illegalNameSymbol:"不能出现连续'·'",illegalNameSymbol2:"首尾不能出现'·'",illegalNameSymbol3:"信息中部不能出现连续空格",illegalNameSymbol4:"除末尾脱敏“*”号外不能出现“*”",illegaString:"不能为'不详','不祥','未知','不知道'",illegaString1:'只能录入中文和符号"·"',illegaString2:'只能录入中文、字母、空格、符号"·"',illegaString3:"允许录入的规则组合：纯大写字母、大写字母加上空格、纯中文、中文加上符号'·'",illegaString4:"只能录入中文、大写字母",illegaString5:"不能出现“？”,“*”,“★”,“、”,“，”",illegaStringLength:"请输入20位以内字母或数字",maxLength20:"最长20位",mobilePhone:"请输入正确的11位号码",linkPhone:"座机：区号为3或4位且以0开头，号码为7或8位，请以（-）分割；如果是400/800开头则为10位数字。手机：11位数字",email:"只允许录入半角字母、半角数字、半角符号“-”、“_”、“.”、“@”，且仅包含一个@",vehicleLicense:"请输入正确的车牌号",engineNo:"深圳以外机构头尾不能输入空格，中间不能连续输入空格",numeric:"纯数字",vehicleFrameNo:"请填入正确的17位车架号",electrombileNo:'车牌号仅能由汉字、半角大写字母、半角数字或半角"*"、半角"-"号组成，例如：*-*',alpha:"只能包含字母",ruleName2:"不能出现数字，及非法字符如'#%&@!、'等,不能出现'不详'、'未知'和'不知道',信息中部不可出现连续空格",floatAmount:"正数，位数小于等于16位，最多2位小数",rangeMinMax:(e=0,t=1e4,n=2)=>`应大于等于${e}小于等于${t}，最多${n}位小数`,alphaNum:(e=20)=>`仅支持数字或字母，最大长度${e}字符`,illegaStringMaxLength:(e=20)=>`长度不能超出${e}个字符`,loadAmountTips:"金额不低于",diffCertificateNo:"证件号与填写的不一致，请上传正确的证件影像",requireSpace:"必须以空格隔开"};class BaseValidator{static getMobileError(e){return""===e||/^1[3456789]\d{9}$/.test(e)?"":ERROR_MSG_MAP.mobilePhone}static getLinkPhoneError(e){if(""===e)return"";return/^1[3456789]\d{9}$/.test(e)||/^0[0-9]{2,3}-[0-9]{7,8}$/.test(e)||/^400[0-9]{7}$/.test(e)||/^800[0-9]{7}$/.test(e)?"":ERROR_MSG_MAP.linkPhone}static getEmailError(e){return""===e||/^\w+([\.-]?\w)*@\w+([\.-]?\w)*(\.\w{2,3})+$/.test(e)?"":ERROR_MSG_MAP.email}}const CITY_MAP={11:"北京",12:"天津",13:"河北",14:"山西",15:"内蒙古",21:"辽宁",22:"吉林",23:"黑龙江 ",31:"上海",32:"江苏",33:"浙江",34:"安徽",35:"福建",36:"江西",37:"山东",41:"河南",42:"湖北 ",43:"湖南",44:"广东",45:"广西",46:"海南",50:"重庆",51:"四川",52:"贵州",53:"云南",54:"西藏 ",61:"陕西",62:"甘肃",63:"青海",64:"宁夏",65:"新疆",71:"台湾",81:"香港",82:"澳门",91:"国外"},CERTIFICATE_TYPE_MAX_LENGTH=20;class CertificateNoValidator{static validate(e,t){if(""===e)return"";if(e.toString().length>20)return ERROR_MSG_MAP.maxLength20;switch(t){case"01":case"11":case"07":return this.getIdCard18Error(e);case"02":return this.getIPassPortIdError(e);case"03":return this.getIArmypassError(e);case"06":return this.getIHMTidCardError(e);case"09":return this.getHkOrMacaoIdCardError(e);case"g01":return this.getOrganizingCodeError(e);case"g02":return this.getTaxationCodeError(e);case"g04":return this.getBusinessLicenseCodeError(e);case"g03":case"g05":return this.getUnifySocialCreditCodeError(e);default:return""}}static getIdCard18Error(e){if(""===e)return"";const t=e.substr(6,4)+"/"+Number(e.substr(10,2))+"/"+Number(e.substr(12,2)),n=dayjs(t),i=n.year()+"/"+Number(n.month()+1)+"/"+Number(n.date()),a=(new Date).getTime(),r=n.valueOf();return!/^\d{17}(\d|x)$/i.test(e)||void 0===CITY_MAP[e.substr(0,2)]||r>=a||t!==i?ERROR_MSG_MAP.id18:this.isCorrectCard(e)?"":ERROR_MSG_MAP.id18}static getHkOrMacaoIdCardError(e){if(""===e)return"";return e&&/^[8]\d{5}(19\d{2}|2\d{3})(0[1-9]|[1][0-2])(0[1-9]|[12][0-9]|3[01])\d{3}[0-9xX]$/.test(e)&&(18!==e.length||this.isCorrectCard(e))?"":ERROR_MSG_MAP.hkOrMacaoIdCard}static getIPassPortIdError(e){if(""===e)return"";return!/^[A-Z\d]{7,9}$/.test(e)||/^[A-Z]+$/.test(e)?ERROR_MSG_MAP.passPortId:""}static getIArmypassError(e){if(""===e)return"";return/^((\u519b{1}\d{7})|(\d{1}\u519b{1}\d{6})|(\d{2}\u519b{1}\d{5})|(\d{3}\u519b{1}\d{4})|(\d{4}\u519b{1}\d{3})|(\d{5}\u519b{1}\d{2})|(\d{6}\u519b{1}\d{1})|(\d{7}\u519b{1}))?$/.test(e)?"":ERROR_MSG_MAP.armypass}static getIHMTidCardError(e){return""===e||/^\d{8}$/.test(e)||/^[HM]\d{8,11}$/.test(e)?"":ERROR_MSG_MAP.HMTCardId}static getUnifySocialCreditCodeError(e){return""===e||/^[0-9A-Z]{18}$/.test(e)?"":ERROR_MSG_MAP.unifySocialCreditCode}static getOrganizingCodeError(e){const t=e.trim().replace(/\s+/g,"");if(!/^$|^[0-9|A-Z]{8}[0-9|X]$/.test(t))return ERROR_MSG_MAP.organizationCode;return this.isOrganizingCode(e)?"":ERROR_MSG_MAP.organizationCode}static getTaxationCodeError(e=""){let t,n,i;if(""===e)return"";const a=e.trim().replace(/\s+/g,""),r=/^[0-9]{2}$/,o=/^\d{6}(((19|20)\d{2}(0[1-9]|1[0-2])(0[1-9]|[1-2][0-9]|3[0-1])\d{3}([0-9]|x|X))|(\d{2}(0[1-9]|1[0-2])(0[1-9]|[1-2][0-9]|3[0-1])\d{3}))$/;if(!(/^[0-9]{14}[0-9|A-Z]{1}$/.test(a)||/^[0-9]{18}[0-9|A-Z]{2}$/.test(a)||/^[0-9]{17}[X][0-9|A-Z]{2}$/.test(a)||o.test(a)||17===a.length&&o.test(a.substring(0,15))))return ERROR_MSG_MAP.taxationCode;switch(a.length){case 17:case 20:{const e=a.substring(0,a.length-2),s=a.substring(a.length-2,a.length);if(n=r.test(s),t=o.test(e),!n||!t)return ERROR_MSG_MAP.taxationCode;if(17===a.length)return i="19"+a.substring(6,12),this.isCorrectDate(i)?"":ERROR_MSG_MAP.taxationCode;if(i=a.substring(6,14),!this.isCorrectDate(i))return ERROR_MSG_MAP.taxationCode;const l=a.substring(0,18);return this.isCorrectCard(l)?"":ERROR_MSG_MAP.taxationCode}case 15:if(!o.test(a)){const e=a.substring(6,15);return this.getOrganizingCodeError(e)?ERROR_MSG_MAP.taxationCode:""}return o.test(a)?(i="19"+a.substring(6,12),this.isCorrectDate(i)?"":ERROR_MSG_MAP.taxationCode):"";case 18:return i=a.substring(6,14),this.isCorrectDate(i)&&this.isCorrectCard(a)?"":ERROR_MSG_MAP.taxationCode;default:return ERROR_MSG_MAP.taxationCode}}static getBusinessLicenseCodeError(e){if(""===e)return"";const t=e.length;return/^[0-9]*$/.test(e)&&[13,15].includes(t)||18===t&&/^[a-zA-Z0-9]{2}[0-9]{6}[^]{9}[a-zA-Z0-9]$/.test(e)&&this.isOrganizingCode(e.substring(8,17))?"":ERROR_MSG_MAP.businessLicenseCode}static isCorrectDate(e){if(!e)return!1;const t=e.match(/(19\d{2}|2\d{3})(0[1-9]|[1][0-2])(0[1-9]|[12][0-9]|3[01])/);return!!t&&Number(t[3])<=dayjs(e).daysInMonth()}static isCorrectCard(e){if(!e)return!1;if(18!==e.length)return!1;const t=e[17],n=[7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2];let i=0;for(let t=0;t<e.length-1;t++){const a=e[t];i+=parseInt(a,10)*n[t]}return t===["1","0","X","9","8","7","6","5","4","3","2"][i%11]}static isOrganizingCode(e,t={}){const{reg:n=/^$|^[0-9|A-Z]{8}[0-9|X]$/,str:i="ABCDEFGHIJKLMNOPQRSTUVWXYZ"}=t,a=e.trim().replace(/\s+/g,""),r=[3,7,9,10,5,8,4,2];if(!n.test(a))return!1;let o=0;for(let e=0;e<a.length-1;e++){const t=a[e];/[A-Z]/.test(t)?o+=(i.indexOf(t)+10)*r[e]:o+=parseInt(t,10)*r[e]}const s=11-o%11;return!(10===s&&"X"!==a[8]||11===s&&"0"!==a.charAt(8)||10!==s&&11!==s&&String(s)!==a.charAt(8))}}class StringValidator{static illegaString(e){return/不详|不祥|未知|不知道/.test(e)?ERROR_MSG_MAP.illegaString:""}static illegaString1(e){return/^[\u4e00-\u9fa5·]+$/.test(e)?"":ERROR_MSG_MAP.illegaString1}static illegaString2(e){return/[^a-zA-Z\u4e00-\u9fa5·\s]+/.test(e)?ERROR_MSG_MAP.illegaString2:""}static illegaString3(e){return/[\u4e00-\u9fa5·]+/.test(e)&&/[\sA-Z]+/.test(e)?ERROR_MSG_MAP.illegaString3:""}static illegaString4(e){return e?/[^A-Z\u4e00-\u9fa5]+/.test(e)?ERROR_MSG_MAP.illegaString4:"":ERROR_MSG_MAP.required}static illegaString5(e){return/[*★、，？]/g.test(e)?ERROR_MSG_MAP.illegaString5:""}static illegaStringSymbol(e){return/[^\s]+[·]{2,}[^\s]+/.test(e)?ERROR_MSG_MAP.illegalNameSymbol:""}static illegaStringSymbol2(e){return/^·|·$/.test(e)?ERROR_MSG_MAP.illegalNameSymbol2:""}static illegaStringSymbol3(e){return/\s{2,}/.test(e)?ERROR_MSG_MAP.illegalNameSymbol3:""}static illegaStringSymbol4(e){return e.endsWith("*")&&/^\*?\*$/.test(e.substr(e.indexOf("*"),e.length))?ERROR_MSG_MAP.illegalNameSymbol4:""}static illegaChineseLength(e,t={}){const{maxLength:n=150,minLength:i=2,errorTips:a=""}=t;let r=0;const o=a||`录入范围为最少${i}位汉字，且不超过${n}位字符`;if(e.replace(/[\u4e00-\u9fa5]/g,(()=>(r++,""))),e.length+r>n)return o;r&&!/[^A-Z\u4e00-\u9fa5·\s]+/.test(e)&&(r*=2);let s=0;return e.length<2*i&&(0!==r&&(s=e.length-1),s+r<2*i)?o:""}static illegaStringLength(e){if(!e)return"";return/^[a-zA-Z0-9]{1,20}$/.test(e)?"":ERROR_MSG_MAP.illegaStringLength}static illegaStringMaxLength(e,t){return e&&String(e).length>t?ERROR_MSG_MAP.illegaStringMaxLength(t):""}static alpha(e){return e?/^[a-zA-Z]+$/.test(e)?"":ERROR_MSG_MAP.alpha:""}static ruleName2(e){if(null==e||""===e)return"";return"不详"===e||"未知"===e||"不知道"===e||/[\a-z\A-Z\u2500-\u257F\.~!@#￥%……&*【】、{}|；‘’：“”，。、《》？\~!@#\$%^&*`\[\]\\{}|;’:”,\/<>\?\d0-9§№☆★○●◎◇◆□℃‰€°¤〓↓↑←→※▲△■＃＆＠＼︿＿￣―♂♀≈≡≠＝≤≥＜＞≮≯∷∞∝∮∫／÷×－＋±∧∑∨∏∪∩∈∵∴√∽≌⊙⌒∠∥⊥ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩⅪⅫ⒈⒉⒊⒋⒌⒍⒎⒏⒐⒑㈠㈡㈢㈣㈤㈥㈦㈧㈨㈩⑴⑵⑶⑷⑸⑹⑺⑻⑼⑽⒒⒓⒔⒕⒖⒗⒘⒙⒚⒛①②③④⑤⑥⑦⑧⑨⑩⑾⑿⒀⒁⒂⒃⒄⒅⒆⒇āáǎàōóǒòêìǐíīèěéēūúǔùǖǘǚǜü，、；：？！…—ˉ¨〔〕()〈〉《》「」『』〖〗【】［］｛｝]/g.test(e)||/[^\s]+[\s]{1,}[^\s]+/.test(e)?ERROR_MSG_MAP.ruleName2:""}static ruleRareWords(e){return e?/(^[A-Z\u2E80-\uFE4F]{2,32}$)/.test(e)?"":ERROR_MSG_MAP.illegaString4:ERROR_MSG_MAP.required}}class VehicleValidator{static getVehicleLicenceError(e){return!e||/^[\u4E00-\u9FA5][A-Z]{1}[-]$/.test(e)||/^[^-]+[-][^-]+$/.test(e)&&!/\s/.test(e)&&/^[\u4E00-\u9FA5][A-Z]{1}[-][0-9A-Z\u4E00-\u9FA5]{5}/.test(e)?"":ERROR_MSG_MAP.vehicleLicense}static getEngineNoError(e){return e?/ /.test(e)||!/^\S(\s?\S+)*$/.test(e)?ERROR_MSG_MAP.engineNo:/^[\u4e00-\u9fa5a-zA-Z0-9\.\`\~\!\@\#\$\%\^\&\*\(\)\_\+\-\=\[\]\{\}\\\|\;\:\'\"\<\>\,\?\/\s]*$/.test(e)?"":ERROR_MSG_MAP.engineNo:""}static getVehicleFrameNoError(e){return e?17!==e.length||e.includes(" ")?ERROR_MSG_MAP.vehicleFrameNo:/^[\u4e00-\u9fa5a-zA-Z0-9\.\`\~\!\@\#\$\%\^\&\(\)\_\+\-\=\[\]\{\}\\\|\;\:\'\"\<\>\,\?\/]*$/.test(e)?"":ERROR_MSG_MAP.vehicleFrameNo:""}static getNonMotorVehicleNoError(e){return e?e.indexOf(" ")>-1?ERROR_MSG_MAP.electrombileNo:/^[^-]+[-][^-]+$/.test(e)&&/^[\u4e00-\u9fa5A-Z0-9\*\-]*$/.test(e)?e.length>50?"车牌号长度不能超过50":"":ERROR_MSG_MAP.electrombileNo:""}}class NumberValidator{static rangeMinMax(e,t=0,n=1e4,i=2){if(null==e||""===e)return"";const a=Number(e),r=(""+e).split(".")[1];return r&&r.length>i||isNaN(a)||a>n||a<t?ERROR_MSG_MAP.rangeMinMax(t,n,i):""}}const validateCertificateNo=(e,t)=>CertificateNoValidator.validate(e,t),validateEmail=e=>BaseValidator.getEmailError(e),validatePhoneNumber=(e,t=!0)=>t?BaseValidator.getMobileError(e):BaseValidator.getLinkPhoneError(e),validateVehicleFrameNo=e=>VehicleValidator.getVehicleFrameNoError(e),validateVehicleEngineNo=e=>VehicleValidator.getEngineNoError(e),validateVehicleLicence=(e,t=!1)=>t?VehicleValidator.getNonMotorVehicleNoError(e):VehicleValidator.getVehicleLicenceError(e);function removeNode(e){const t=e.parentNode;t&&t.removeChild(e)}function htmlOpen(e){let t=window.open("","","width:100%,height:100%");t&&(t.document.write(e),t.document.close(),t.focus())}const judgeEmptyObjects=e=>!Object.keys(e).length,RandomNumber=(e=10)=>{const t=Math.pow(10,e);return Math.floor(Math.random()*t)},objectToFormData=e=>{let t=new FormData;for(const[n,i]of Object.entries(e))null!=i?i instanceof Object?t.append(n,JSON.stringify(i)):t.append(n,i):t.append(n,"");return t},objectToArray=e=>{let t=[];for(const[n,i]of Object.entries(e))null!=i&&t.push(i);return t},arrayToObject=e=>{let t={};return e.forEach((e=>{t[e]=e})),t},filterEmpty=(e,t)=>!t&&!(!isNil(e)&&""!==e),filterEmptyValue=(e,t=[])=>e&&Object.keys(e).length>0?omitBy(e,((e,n)=>filterEmpty(e,t.includes(n)))):e,arrToObj=e=>{let t={};return e.forEach((e=>{t[e]=e})),t},arrToObjTwo=(e,t)=>{let n={};return e.forEach(((e,i)=>{n[t[i]]=e})),n},changeTableHead=(e,t)=>e.map((e=>{const n={};for(const i in e)t[i]&&(n[t[i]]=e[i]);return n})),transferred=e=>e.replace(/<br>/g,"rn").replace(/&gt;/g,">"),roundNum=function(e,t){const n=Math.pow(10,t||2);return Math.round(e*n)/n},scientificNotationFormat=function(e){try{-1!==(null==e?void 0:e.toString().toLowerCase().indexOf("e"))&&(e=Number(e))}catch(e){console.error(e)}return e},floatAdd=function(e,t){let n,i;try{n=(e=scientificNotationFormat(e)).toString().split(".")[1].length}catch(e){n=0}try{i=(t=scientificNotationFormat(t)).toString().split(".")[1].length}catch(e){i=0}const a=Math.pow(10,Math.max(n,i));return(Number(e)*a+Number(t)*a)/a},floatSub=function(e,t){let n,i;try{n=(e=scientificNotationFormat(e)).toString().split(".")[1].length}catch(e){n=0}try{i=(t=scientificNotationFormat(t)).toString().split(".")[1].length}catch(e){i=0}const a=Math.pow(10,Math.max(n,i)),r=n>=i?n:i;return Number(((Number(e)*a-Number(t)*a)/a).toFixed(r))},floatMul=function(e,t){let n=0;e=scientificNotationFormat(e),t=scientificNotationFormat(t);const i=e.toString(),a=t.toString();return-1!==i.indexOf(".")&&(n+=i.split(".")[1].length),-1!==a.indexOf(".")&&(n+=a.split(".")[1].length),Number(i.replace(".",""))*Number(a.replace(".",""))/Math.pow(10,n)},floatDiv=function(e,t){let n,i=0,a=0;e=scientificNotationFormat(e),t=scientificNotationFormat(t);const r=e.toString(),o=t.toString();-1!==r.indexOf(".")&&(i=r.split(".")[1].length),-1!==o.indexOf(".")&&(a=o.split(".")[1].length);return n=(Number(r.replace(".",""))/Number(o.replace(".",""))).toString(),-1!==n.indexOf(".")&&(i+=n.split(".")[1].length,n=n.replace(".","")),Number(n)/Math.pow(10,i-a)},numberUtils={add:(e,t,n=2)=>roundNum(floatAdd(e,t),n),sub:(e,t,n=2)=>roundNum(floatSub(e,t),n),mul:(e,t,n=2)=>roundNum(floatMul(e,t),n),div:(e,t,n=2)=>t?roundNum(floatDiv(e,t),n):0,toPercent:e=>100*e+"%"},LOCAL_STORAGE_NAME="localStorage",LOCAL_STORAGE_OVERTIME_KEY="_overtime_",LOCAL_STORAGE_DATA_KEY="_data_";class StorageUtils{static setItem(e,t,n="localStorage",i=this._CACHE_EFFECTIVE_LIMIT_HOUR){if(!e)return;const a=this._getStorage(n);null==a||a.setItem(e,JSON.stringify({[LOCAL_STORAGE_OVERTIME_KEY]:dayjs().add(i,"h").valueOf(),[LOCAL_STORAGE_DATA_KEY]:t}))}static getItem(e,t="localStorage",n=!1){var i;const a=this._getStorage(t),r=null==a?void 0:a.getItem(e);if(r){const a=JSON.parse(r);return(null==a?void 0:a._overtime_)?dayjs(a._overtime_).isBefore(dayjs())?(this.removeItem(e,t),null):n?a:null!=(i=null==a?void 0:a._data_)?i:a:a}return null}static setHashItem(e,t,n,i="localStorage"){if(!e)return;const a=this._getStorage(i),r=this.getItem(e,i)||{};r[t]=n,null==a||a.setItem(e,JSON.stringify(r))}static getHashItem(e,t,n="localStorage"){if(!e||!t)return;const i=this.getItem(e,n);return null==i?void 0:i[t]}static removeItem(e,t="localStorage"){const n=this._getStorage(t);null==n||n.removeItem(e)}static clear(e="localStorage"){const t=this._getStorage(e);null==t||t.clear()}static size(e="localStorage"){const t=this._getStorage(e);return(null==t?void 0:t.length)||0}static key(e,t="localStorage"){const n=this._getStorage(t);return(null==n?void 0:n.key(e))||""}static isSupport(e="localStorage"){return!!this._getStorage(e)}static _getStorage(e="localStorage"){const t=window[e];return t||(console.warn(`当前环境不支持本地存储: ${e}`),null)}}__publicField(StorageUtils,"_CACHE_EFFECTIVE_LIMIT_HOUR",6);const charLength=e=>{try{const t=e.match(/[\u4e00-\u9fa5]/gi)||[];return e.length+t.length}catch(e){console.error(new Error("stringUtils.charLength parameter error"),e)}},decodeParams64=e=>{let t=e;if(null!=e&&""!==e&&"undefined"!==e&&"null"!==e)try{t=window.decodeURIComponent(window.atob(e))}catch(e){console.warn(e)}return t},encodeParams64=e=>{let t=e;if(null!=e&&""!==e&&"undefined"!==e&&"null"!==e)try{t=window.btoa(window.encodeURIComponent(e))}catch(e){console.error(e)}return t},desensitization=e=>{if(!e)return e;const t=`${e}`,n=t.length,i=Math.min(Math.floor(n/2),4),a=new RegExp(`.{${i}}$`,"i"),r="*".repeat(i);return t.replace(a,r)};var encode=Object.freeze(Object.defineProperty({__proto__:null,charLength:charLength,decodeParams64:decodeParams64,encodeParams64:encodeParams64,desensitization:desensitization},Symbol.toStringTag,{value:"Module"}));const blobFileDown=(e,t)=>{const n=URL.createObjectURL(e),i=document.createElement("a");i.href=n,i.download=t,i.hidden=!0,document.body.appendChild(i),i.click(),document.body.removeChild(i)},downloadImage=(e,t,n="png")=>{const i=new Image;i.setAttribute("crossOrigin","anonymous"),i.onload=function(){const e=document.createElement("canvas");e.width=i.width,e.height=i.height;const a=e.getContext("2d");null==a||a.drawImage(i,0,0,i.width,i.height);let r=e.toDataURL(`image/${n}`),o=document.createElement("a"),s=new MouseEvent("click");o.download=t||"pic",o.href=r,o.dispatchEvent(s),removeNode(e)},i.src=e},downloadImageTwo=(e,t,n="png")=>{const i=document.createElement("img");i.setAttribute("crossOrigin","Anonymous"),i.onload=function(e){const a=document.createElement("canvas");a.width=i.width,a.height=i.height;let r=a.getContext("2d");null==r||r.drawImage(i,0,0,i.width,i.height),a.toBlob((e=>{let n=document.createElement("a");n.href=window.URL.createObjectURL(e),n.download=t,n.click(),removeNode(a)}),`image/${n}`)},i.src=e},downloadImgFile=(e,t)=>{const n=new Blob([e]),i=new FileReader;i.readAsDataURL(n),i.onload=e=>{var n;const i=document.createElement("a");i.download=t||"0123456.PNG",i.href=null==(n=e.target)?void 0:n.result,document.body.appendChild(i),i.click(),document.body.removeChild(i)}},downloadFileUrl=e=>{const t=new Blob([e]),n=new FileReader;n.readAsDataURL(t),n.onload=e=>{var t;const n=null==(t=e.target)?void 0:t.result;downloadImage(`data:image/png;Base64,${n}`,"testefd")}};function getFileUrl(e,t=!0){if(!e)return!1;return t?window.URL.createObjectURL(new Blob([e])):e}function downloadFile(e,t="export.xlsx",n=!0){const i=getFileUrl(e,n);if(!i)return;let a=document.getElementById("download-file");a||(a=document.createElement("a"),a.setAttribute("id","download-file"),document.body.appendChild(a),a.style.display="none"),a.setAttribute("download",t),a.href=i,a.click()}function arraybufferToJson(e){const t=new TextDecoder,n=new Uint8Array(e);try{return JSON.parse(t.decode(n))}catch(e){return console.error(e.message),!1}}const formDataDownFile=(e,t,n="post",i="app")=>{const a=document.getElementById(i),r=document.createElement("form");r.method=`${n}`,r.target="downloadBox",r.action=e;for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)){let n=t[e];"string"!=typeof n&&(n=JSON.stringify(n)),r.appendChild(createInputElement(e,n))}null==a||a.appendChild(r),r.submit(),null==a||a.removeChild(r)},createInputElement=(e,t,n="text")=>{const i=document.createElement("input");return i.name=e,i.value=t,i.type=n,i},exportExcel=(e="demo",t="Sheet1")=>{const n=getHtmlTableData(),i=arrToObj(n.ths),a=n.trs.map((e=>arrToObjTwo(e,n.ths))),r=changeTableHead(a,i),o=utils.json_to_sheet(r),s=utils.book_new();utils.book_append_sheet(s,o,t),writeFileSync(s,`${e}.xlsx`)},getHtmlTableData=()=>{const e=document.getElementsByClassName("el-table__header"),t=document.getElementsByClassName("el-table__body")[0],n=e[0].innerText.split("\n\t\n"),i=t.getElementsByTagName("tr");let a=[];for(let e=0,t=i.length;e<t;e++)a.push([]),a[e]=i[e].innerText.split("\n\t\n");return{ths:n,trs:a}},downloadTableToCSV=e=>{let t="";const n=getHtmlTableData();for(let e=0,i=n.ths.length;e<i;e++)t+=transferred('"'+n.ths[e]+'"')+",";t+="\n\t";for(let e=0,i=n.trs.length;e<i;e++){let i=n.trs[e];for(let e=0,n=i.length;e<n;e++)t+=transferred('"'+i[e]+'"')+",";t+="\n\t"}const i=new Blob([t],{type:"text/csv"});blobFileDown(i,e)};export{AMapInteractor,ExportBriefDataDocx,ImageUploadErrorCodeEnum,LOCAL_STORAGE_DATA_KEY,LOCAL_STORAGE_OVERTIME_KEY,PinYinInteractor,RandomNumber,StorageUtils,WechatSdk,WechatUtils,arrToObj,arrToObjTwo,arrayToObject,arraybufferToJson,asyncAmapMap,asyncScript,base64ToFile,base64toBlob,blobFileDown,changeTableHead,charLength,checkFileType,compressCanvesToFile,compressFile,compressFileToDataURL,compressUploader,createInputElement,decodeParams64,desensitization,downloadFile,downloadFileUrl,downloadImage,downloadImageTwo,downloadImgFile,downloadTableToCSV,enCodeUrlParams,encodeParams64,EnvUtils as envUtils,exportExcel,filterEmptyValue,formDataDownFile,getFileUrl,getHtmlTableData,getImageData,getOrientation,getUrlQuery,getUrlQuerys,getUrlTemplateCode,getXlsxFileData,htmlOpen,judgeEmptyObjects,numberUtils,objectToArray,objectToFormData,overrideMimeTypeXML,readFile,removeNode,encode as stringUtils,transferred,urlToBase64,uuid,validateCertificateNo,validateEmail,validatePhoneNumber,StringValidator as validateStringUtils,validateVehicleEngineNo,validateVehicleFrameNo,validateVehicleLicence,NumberValidator as validatorNumberUtils,wechatJsonHandler};
//# sourceMappingURL=/sm/d62170fb9f039dcd2b7274af6413105cc56a11ee5b9185aede0257c849abd442.map