var T8=Object.defineProperty;var E8=(t,e,r)=>e in t?T8(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var U=(t,e,r)=>(E8(t,typeof e!="symbol"?e+"":e,r),r);import{t as tt,r as ce,v as g,x as v,y as ge,H as T,P as ve,A as u,G as P,u as O,F as b,g as Pt,ad as oe,O as C,i as oa,f as S3,L as B,a2 as V,as as it,n as I8,c as He,R as le,S as fe,ab as se,M as ue,af as k8,J as F,T as x8,I as ne,ai as T3,w as Bo,p as L8,a7 as At,ac as E3,z as zr,aj as I3,ak as O8,b as N8,ae as Wt,a8 as k3,ao as aa,ap as la,ay as R8,az as D8,K as B8}from"./chunk-vendor.BEvyqpzI.js";import{g as $8,c as Ti,f as P8,d as Me,b as M8,h as x3,i as L3,j as O3,E as F8,k as U8,l as z8,a as Zr,m as ss,n as os,o as N3,p as R3,q as V8}from"./chunk-elementPlus.BwuzvisO.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function r(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(i){if(i.ep)return;i.ep=!0;const s=r(i);fetch(i.href,s)}})();var It=(t=>(t.LOADING="loading",t.LOADED="loaded",t.ERROR="error",t))(It||{});const j8=typeof window<"u"&&window!==null,H8=W8(),q8=Object.prototype.propertyIsEnumerable,mc=Object.getOwnPropertySymbols;function Oi(t){return typeof t=="function"||toString.call(t)==="[object Object]"}function K8(t){return typeof t=="object"?t===null:typeof t!="function"}function Q8(t){return t!=="__proto__"&&t!=="constructor"&&t!=="prototype"}function W8(){return j8&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype?("isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get(){return this.intersectionRatio>0}}),!0):!1}function G8(t,...e){if(!Oi(t))throw new TypeError("expected the first argument to be an object");if(e.length===0||typeof Symbol!="function"||typeof mc!="function")return t;for(const r of e){const n=mc(r);for(const i of n)q8.call(r,i)&&(t[i]=r[i])}return t}function D3(t,...e){let r=0;for(K8(t)&&(t=e[r++]),t||(t={});r<e.length;r++)if(Oi(e[r])){for(const n of Object.keys(e[r]))Q8(n)&&(Oi(t[n])&&Oi(e[r][n])?D3(t[n],e[r][n]):t[n]=e[r][n]);G8(t,e[r])}return t}const bc="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Z8="",Y8={rootMargin:"0px",threshold:0},sn="data-lazy-timeout-id";class J8{constructor(e){this.options={loading:bc,error:Z8,observerOptions:Y8,log:!0,lifecycle:{},logLevel:"error"},this._images=new WeakMap,this.config(e)}config(e={}){D3(this.options,e)}mount(e,r){if(!e)return;const{src:n,loading:i,error:s,lifecycle:o,delay:a}=this._valueFormatter(typeof r=="string"?r:r.value);this._lifecycle(It.LOADING,o,e),e.setAttribute("src",i||bc),H8||(this.loadImages(e,n,s,o),this._log(()=>{this._logger("Not support IntersectionObserver!")})),this._initIntersectionObserver(e,n,s,o,a)}update(e,r){var a;if(!e)return;(a=this._realObserver(e))==null||a.unobserve(e);const{src:n,error:i,lifecycle:s,delay:o}=this._valueFormatter(typeof r=="string"?r:r.value);this._initIntersectionObserver(e,n,i,s,o)}unmount(e){var r;e&&((r=this._realObserver(e))==null||r.unobserve(e),this._images.delete(e))}loadImages(e,r,n,i){this._setImageSrc(e,r,n,i)}_setImageSrc(e,r,n,i){e.tagName.toLowerCase()==="img"?(r&&e.getAttribute("src")!==r&&e.setAttribute("src",r),this._listenImageStatus(e,()=>{this._lifecycle(It.LOADED,i,e)},()=>{var s;e.onload=null,this._lifecycle(It.ERROR,i,e),(s=this._realObserver(e))==null||s.disconnect(),n&&e.getAttribute("src")!==n&&e.setAttribute("src",n),this._log(()=>{this._logger("Image failed to load!And failed src was: ".concat(r," "))})})):e.style.backgroundImage="url('".concat(r,"')")}_initIntersectionObserver(e,r,n,i,s){var a;const o=this.options.observerOptions;this._images.set(e,new IntersectionObserver(l=>{Array.prototype.forEach.call(l,c=>{s&&s>0?this._delayedIntersectionCallback(e,c,s,r,n,i):this._intersectionCallback(e,c,r,n,i)})},o)),(a=this._realObserver(e))==null||a.observe(e)}_intersectionCallback(e,r,n,i,s){var o;r.isIntersecting&&((o=this._realObserver(e))==null||o.unobserve(r.target),this._setImageSrc(e,n,i,s))}_delayedIntersectionCallback(e,r,n,i,s,o){if(r.isIntersecting){if(r.target.hasAttribute(sn))return;const a=setTimeout(()=>{this._intersectionCallback(e,r,i,s,o),r.target.removeAttribute(sn)},n);r.target.setAttribute(sn,String(a))}else r.target.hasAttribute(sn)&&(clearTimeout(Number(r.target.getAttribute(sn))),r.target.removeAttribute(sn))}_listenImageStatus(e,r,n){e.onload=r,e.onerror=n}_valueFormatter(e){let r=e,n=this.options.loading,i=this.options.error,s=this.options.lifecycle,o=this.options.delay;return Oi(e)&&(r=e.src,n=e.loading||this.options.loading,i=e.error||this.options.error,s=e.lifecycle||this.options.lifecycle,o=e.delay||this.options.delay),{src:r,loading:n,error:i,lifecycle:s,delay:o}}_log(e){this.options.log&&e()}_lifecycle(e,r,n){switch(e){case It.LOADING:n==null||n.setAttribute("lazy",It.LOADING),r!=null&&r.loading&&r.loading(n);break;case It.LOADED:n==null||n.setAttribute("lazy",It.LOADED),r!=null&&r.loaded&&r.loaded(n);break;case It.ERROR:n==null||n.setAttribute("lazy",It.ERROR),r!=null&&r.error&&r.error(n);break}}_realObserver(e){return this._images.get(e)}_logger(e,...r){let n=console.error;switch(this.options.logLevel){case"error":n=console.error;break;case"warn":n=console.warn;break;case"info":n=console.info;break;case"debug":n=console.debug;break}n(e,r)}}const uie={install(t,e){const r=new J8(e);t.config.globalProperties.$Lazyload=r,t.provide("Lazyload",r),t.directive("lazy",{mounted:r.mount.bind(r),updated:r.update.bind(r),unmounted:r.unmount.bind(r)})}};function hie(t){return{all:t=t||new Map,on:function(e,r){var n=t.get(e);n?n.push(r):t.set(e,[r])},off:function(e,r){var n=t.get(e);n&&(r?n.splice(n.indexOf(r)>>>0,1):t.set(e,[]))},emit:function(e,r){var n=t.get(e);n&&n.slice().map(function(i){i(r)}),(n=t.get("*"))&&n.slice().map(function(i){i(e,r)})}}}const X8={pcgateway:"http://pc-gateway.kongfz.com/",s_live:"https://live.kongfz.com/",im:"http://im.kongfz.com/",s_app:"https://app.kongfz.com/",s_sub2:"https://sub.kongfz.com/",s_book:"https://book.kongfz.com/",uie:"http://uie-service.kongfz.com/",video:"http://video.kfzimg.com/",s_shop:"https://shop.kongfz.com/",s_booklibimg2:"https://booklibimg.kfzimg.com/data/book_lib_img_v2/",s_mmessage:"https://mmessage.kongfz.com/",booklibimg2:"http://booklibimg.kfzimg.com/data/book_lib_img_v2/",open:"https://open.kongfz.com/",s_pm:"https://www.kongfz.cn/",seller:"http://seller.kongfz.com/",static:"http://static.kongfz.com/","cover-crop":"http://cover-crop.kongfz.com/",s_mpm:"https://m.kongfz.cn/",cart:"http://cart.kongfz.com/",s_img0:"https://img0.kfzimg.com/",s_cn_sub:"wss://sub.kongfz.cn/",sms:"http://sms.kongfz.com/",message:"http://message.kongfz.com/",search:"http://search.kongfz.com/",s_appdownload:"https://appdownload.kongfz.com/",s_shuhua:"https://shuhua.kongfz.com/",item:"http://item.kongfz.com/",xinyu:"http://xinyu.kongfz.com/",pm:"http://www.kongfz.cn/",mpm:"http://m.kongfz.cn/",s_upload:"https://upload.kongfz.com/",s_express:"https://express.kongfz.com/",s_www_kongpm:"https://www.kongpm.com/",ws_im:"ws://im.kongfz.com/",verify:"http://verify.kongfz.com/",sub:"ws://sub.kongfz.com/",s_im:"https://im.kongfz.com/",s_bigdata:"https://bigdata.kongfz.com/",s_msearch:"https://msearch.kongfz.com/",s_user_img:"https://user.kfzimg.com/",s_booklib:"https://booklib.kongfz.com/",s_wechat:"https://wechat.kongfz.com/",s_social:"https://t.kongfz.com/",mzixun:"http://mzixun.kongfz.com/",s_download:"https://download.kongfz.com/",s_imgmanage:"https://imgmanage.kongfz.com/",s_cn_message:"https://message.kongfz.cn/",s_cart:"https://cart.kongfz.com/",book:"http://book.kongfz.com/",wechat:"https://wechat.kongfz.com/",s_promotion:"https://promotion.kongfz.com/",kfzsearch:"http://kfzsearch.kongfz.com/",s_mpay:"https://mpay.kongfz.com/",s_muser:"https://muser.kongfz.com/",res:"https://res.kongfz.com/",s_kfzimg:"https://www0.kfzimg.com/",s_cn_login:"https://login.kongfz.cn/",tan:"http://tan.kongfz.com/",s_m:"https://m.kongfz.com/",res2:"https://res2.kongfz.com/",order:"http://order.kongfz.com/",s_item:"https://item.kongfz.com/","ocr-service":"http://ocr-service.kongfz.com/",s_user:"https://user.kongfz.com/",s_xinyuapi:"https://xinyuapi.kongfz.com/",www:"http://www.kongfz.com/",dav:"http://dav.kongfz.com/",s_bq:"https://bq.kongfz.com/",pay_in:"http://pay.kongfz.com/",s_cn_img:"https://img.kongfz.cn/",cn_message:"http://message.kongfz.cn/",s_mshop:"https://mshop.kongfz.com/",s_pmadmin:"https://pmadmin.kongfz.com/",imageDav:"http://imagedav.kongfz.com/",img0:"http://img0.kfzimg.com/",s_mbook:"https://mbook.kongfz.com/",social:"https://t.kongfz.com/",s_brand:"https://brand.kongfz.com/",pmgs:"http://pmgs.kongfz.com/",s_mlogin:"https://mlogin.kongfz.com/",commonWebdav:"http://dav.kongfz.com/",s_zashuguan:"https://www.zashuguan.cn/",s_vod:"https://vod.kongfz.com/",mbq:"http://mbq.kongfz.com/",wss_kongpm:"wss://sub.kongpm.com/",wss_im:"wss:/im.kongfz.com/",s_cn_cart:"https://cart.kongfz.cn/",s_res:"https://res.kongfz.com/",bigdata:"http://bigdata.kongfz.com/",www_kongpm:"http://www.kongpm.com/",s_tan:"https://tan.kongfz.com/",s_photo:"https://photo.kongfz.com/",s_static:"https://static.kongfz.com/",s_pmgsadmin:"https://pmgsadmin.kongfz.com/",s_library:"https://admin.zashuguan.cn/",s_www:"https://www.kongfz.com/",s_tj:"https://tj.kongfz.com/",s_search:"https://search.kongfz.com/",gateway:"http://gateway.kongfz.com/",s_m_kongpm:"https://m.kongpm.com/",tempImg:"http://temp.kfzimg.com/",login:"http://login.kongfz.com/",service:"http://service.kongfz.com/",user:"http://user.kongfz.com/",s_shopimg:"https://shopimg.kongfz.com.cn/",s_pay:"https://pay.kongfz.com/",s_video:"https://video.kongfz.com/",s_kpm:"https://kpm.kongfz.com/",mlogin:"https://mlogin.kongfz.com/",shequ:"http://shequ.kongfz.com/","classify-image":"http://classify-image.kongfz.com/",s_open:"https://open.kongfz.com/",s_mbq:"https://mbq.kongfz.com/",s_cn_user:"https://user.kongfz.cn/",s_res2:"https://res2.kongfz.com/",s_cn_seller:"https://seller.kongfz.cn/",s_seller:"https://seller.kongfz.com/",s_help:"https://help.kongfz.com/",s_cn_download:"https://download.kongfz.cn/",pmseller:"http://seller.kongfz.cn/",cartService:"http://cart-service.kongfz.com/",mmessage:"http://mmessage.kongfz.com/",s_xinyu:"https://xinyu.kongfz.com/",pay:"https://pay.kongfz.com/",s_t:"https://t.kongfz.com/",webdav:"http://dav.kongfz.cn/",shoushu:"http://shoushu.kongfz.com/",img:"http://shopimg.kfzimg.com/",auctionimg:"https://img.kongfz.cn/",users:"https://user.kongfz.com/",cn_cart:"http://cart.kongfz.cn/",s_newhelp:"https://newhelp.kongfz.com/",live:"http://live.kongfz.com/","s_seller-operation":"https://seller-operation.kongfz.com/",t:"http://t.kongfz.com/",screenshooter:"http://screenshooter.kongfz.com/",sub2:"http://sub.kongfz.com/",m:"https://m.kongfz.com/",shop:"http://shop.kongfz.com/",s_tousu:"https://tousu.kongfz.com/",s_auth:"https://auth.kongfz.com/",s_pmgs:"https://pmgs.kongfz.com/",s_pmgs_img:"https://pmgs.kfzimg.com/",s_sms:"https://sms.kongfz.com/",cn_sub:"ws://sub.kongfz.cn/",s_operation:"https://operation.kongfz.com/",s_pmcom:"https://pm.kongfz.com/",s_cn_tj:"https://tj.kongfz.cn/","s_app-package":"https://app-package.kongfz.com/",user_img:"http://user.kfzimg.com/",tousu:"http://tousu.kongfz.com/",s_message:"https://message.kongfz.com/",app:"http://app.kongfz.com/",ocr:"http://ocr-php-service.kongfz.com/",mshop:"http://mshop.kongfz.com/",s_service:"https://service.kongfz.com/",s_qrcode:"https://qrcode.kongfz.com/",carts:"https://cart.kongfz.com/",s_sub:"wss://sub.kongfz.com/",imageupload:"http://imgmanage.kongfz.com/",s_shoushu:"https://shoushu.kongfz.com/",mpay:"https://mpay.kongfz.com/",s_tempImg:"https://temp.kfzimg.com/",operation:"http://operation.kongfz.com/",s_order:"https://order.kongfz.com/",kfzimg:"http://www0.kfzimg.com/",shopimg:"https://www0.kfzimg.com/",s_jiaocai:"https://jiaocai.kongfz.com/",auctionimgcc:"https://img.kongfz.cn/",s_login:"https://login.kongfz.com/",mpays:"https://mpay.kongfz.com/",muser:"http://muser.kongfz.com/",davUpload:"http://image-upload.kfz.com/",s_booklibimg:"https://booklibimg.kfzimg.com/",mbook:"http://mbook.kongfz.com/",help:"http://help.kongfz.com/",msearch:"http://msearch.kongfz.com/",s_zsg_img:"https://zsg.kfzimg.com/","s_image-upload":"https://image-upload.kongfz.com/",subs:"wss://sub.kongfz.com/",cn_user:"http://user.kongfz.cn/"},eg="20251222175835-006eb2c425f2b915",tg={sites:X8,releaseKey:eg},rg=(t,e)=>e?t.replace(/^(https?|wss?):\/\//,"$&neibu"):t,B3=()=>{const t={BASE_URL:"https://static.kongfz.com/search-v3/",MODE:"production",DEV:!1,PROD:!0,SSR:!1,LEGACY:!1}.VITE_PROXY_ENV==="neibu",e=tg.sites||{};if(!e||typeof e!="object")return{};const r={};return Object.entries(e).forEach(([n,i])=>{typeof i!="string"?r[n]=String(i||""):r[n]=rg(i,t)}),r},fie=tt({name:"KLayout",__name:"layout",props:{horizontal:{type:Boolean,default:!1},floatLeft:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},breakpoint:{type:String}},setup(t){const e=t,r=ce(1240);function n(){const s=window.innerWidth;if(s<=1024){r.value=1024;return}if(e.breakpoint=="xl"&&s<=1920&&s>=1240){console.log(1240),r.value=1240;return}if(s>=1920){console.log(1920),r.value=1920;return}r.value=s}function i(){if(e.fixedWidth){r.value=1240;return}n(),window.onresize=()=>{n()}}return i(),(s,o)=>(g(),v("div",{class:T(["k-layout",[t.horizontal?"is-horizontal":"",t.floatLeft?"is-float-left":""]]),style:ve({width:r.value+"px"})},[ge(s.$slots,"default")],6))}}),ng={class:"k-main"},die=tt({name:"KMain",__name:"main",setup(t){return(e,r)=>(g(),v("div",ng,[ge(e.$slots,"default")]))}}),ig={class:"k-footer"},pie=tt({name:"KFooter",__name:"footer",setup(t){return(e,r)=>(g(),v("div",ig,[ge(e.$slots,"default")]))}});(function(t){var e=encodeURIComponent(location.href),r=encodeURIComponent(document.referrer),n=window.screen.width,i=window.screen.height,s={resolution:n+"x"+i,selfUrl:e,refUrl:r},o=function(){this.v="1.0.2"};o.prototype.send=function(a,l){var c="";l&&typeof l=="object"&&(c=encodeURIComponent(JSON.stringify(l)));var h="";window.location.href.indexOf("kongfz.com")!=-1?(h="//tj.kongfz.com/web/collect/1.gif",window.location.href.indexOf("neibu")>-1&&(h="//neibutj.kongfz.com/web/collect/1.gif")):window.location.href.indexOf("kongfz.cn")!=-1&&(h="//tj.kongfz.cn/web/collect/1.gif",window.location.href.indexOf("neibu")>-1&&(h="//neibutj.kongfz.cn/web/collect/1.gif")),h+="?event="+a+"&resolution="+s.resolution+"&selfUrl="+s.selfUrl+"&refUrl="+s.refUrl+"&eventAttr="+c+"&n_"+Math.random();var f=document.getElementById("__trackImg");if(f)f.src=h;else{var d=document.createElement("img");d.src=h,d.id="__trackImg",d.style.display="none",document.body.appendChild(d)}},t.track=new o})(window);/**
 * cross-storage - Cross domain local storage
 *
 * @version   1.0.0
 * @link      https://github.com/zendesk/cross-storage
 * @author    Daniel St. Jules <danielst.jules@gmail.com>
 * @copyright Zendesk
 * @license   Apache-2.0
 * @updatedate 2022.02.07 修改为 es 版
 */function xe(t,e){e=e||{},this._id=xe._generateUUID(),this._promise=e.promise||Promise,this._frameId=e.frameId||"CrossStorageClient-"+this._id,this._origin=xe._getOrigin(t),this._requests={},this._connected=!1,this._closed=!1,this._count=0,this._timeout=e.timeout||5e3,this._listener=null,this._installListener();var r;e.frameId&&(r=document.getElementById(e.frameId)),r&&this._poll(),r=r||this._createFrame(t),this._hub=r.contentWindow}xe.frameStyle={display:"none",position:"absolute",top:"-999px",left:"-999px"};xe._getOrigin=function(t){var e,r,n;return e=document.createElement("a"),e.href=t,e.host||(e=window.location),!e.protocol||e.protocol===":"?r=window.location.protocol:r=e.protocol,n=r+"//"+e.host,n=n.replace(/:80$|:443$/,""),n};xe._generateUUID=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=Math.random()*16|0,r=t=="x"?e:e&3|8;return r.toString(16)})};xe.prototype.onConnect=function(){var t=this;return this._connected?this._promise.resolve():this._closed?this._promise.reject(new Error("CrossStorageClient has closed")):(this._requests.connect||(this._requests.connect=[]),new this._promise(function(e,r){var n=setTimeout(function(){r(new Error("CrossStorageClient could not connect"))},t._timeout);t._requests.connect.push(function(i){if(clearTimeout(n),i)return r(i);e()})}))};xe.prototype.set=function(t,e){return this._request("set",{key:t,value:e})};xe.prototype.get=function(t){var e=Array.prototype.slice.call(arguments);return this._request("get",{keys:e})};xe.prototype.del=function(){var t=Array.prototype.slice.call(arguments);return this._request("del",{keys:t})};xe.prototype.clear=function(){return this._request("clear")};xe.prototype.getKeys=function(){return this._request("getKeys")};xe.prototype.close=function(){var t=document.getElementById(this._frameId);t&&t.parentNode.removeChild(t),window.removeEventListener?window.removeEventListener("message",this._listener,!1):window.detachEvent("onmessage",this._listener),this._connected=!1,this._closed=!0};xe.prototype._installListener=function(){var t=this;this._listener=function(e){var r,n,i,s;if(!(t._closed||!e.data||typeof e.data!="string")&&(n=e.origin==="null"?"file://":e.origin,n===t._origin)){if(e.data==="cross-storage:unavailable"){if(t._closed||t.close(),!t._requests.connect)return;for(i=new Error("Closing client. Could not access localStorage in hub."),r=0;r<t._requests.connect.length;r++)t._requests.connect[r](i);return}if(e.data.indexOf("cross-storage:")!==-1&&!t._connected){if(t._connected=!0,!t._requests.connect)return;for(r=0;r<t._requests.connect.length;r++)t._requests.connect[r](i);delete t._requests.connect}if(e.data!=="cross-storage:ready"){try{s=JSON.parse(e.data)}catch(o){return}s.id&&t._requests[s.id]&&t._requests[s.id](s.error,s.result)}}},window.addEventListener?window.addEventListener("message",this._listener,!1):window.attachEvent("onmessage",this._listener)};xe.prototype._poll=function(){var t,e,r;t=this,r=t._origin==="file://"?"*":t._origin,e=setInterval(function(){if(t._connected)return clearInterval(e);t._hub&&t._hub.postMessage("cross-storage:poll",r)},1e3)};xe.prototype._createFrame=function(t){var e,r;e=window.document.createElement("iframe"),e.id=this._frameId;for(r in xe.frameStyle)xe.frameStyle.hasOwnProperty(r)&&(e.style[r]=xe.frameStyle[r]);return window.document.body.appendChild(e),e.src=t,e};xe.prototype._request=function(t,e){var r,n;return this._closed?this._promise.reject(new Error("CrossStorageClient has closed")):(n=this,n._count++,r={id:this._id+":"+n._count,method:"cross-storage:"+t,params:e},new this._promise(function(i,s){var o,a,l;o=setTimeout(function(){n._requests[r.id]&&(delete n._requests[r.id],s(new Error("Timeout: could not perform "+r.method)))},n._timeout),n._requests[r.id]=function(c,h){if(clearTimeout(o),delete n._requests[r.id],c)return s(new Error(c));i(h)},Array.prototype.toJSON&&(a=Array.prototype.toJSON,Array.prototype.toJSON=null),l=n._origin==="file://"?"*":n._origin,n._hub.postMessage(JSON.stringify(r),l),a&&(Array.prototype.toJSON=a)}))};function $3(t,e){return function(){return t.apply(e,arguments)}}const{toString:sg}=Object.prototype,{getPrototypeOf:F2}=Object,ca=(t=>e=>{const r=sg.call(e);return t[r]||(t[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Mt=t=>(t=t.toLowerCase(),e=>ca(e)===t),ua=t=>e=>typeof e===t,{isArray:qn}=Array,Zi=ua("undefined");function og(t){return t!==null&&!Zi(t)&&t.constructor!==null&&!Zi(t.constructor)&&ct(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const P3=Mt("ArrayBuffer");function ag(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&P3(t.buffer),e}const lg=ua("string"),ct=ua("function"),M3=ua("number"),ha=t=>t!==null&&typeof t=="object",cg=t=>t===!0||t===!1,_o=t=>{if(ca(t)!=="object")return!1;const e=F2(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},ug=Mt("Date"),hg=Mt("File"),fg=Mt("Blob"),dg=Mt("FileList"),pg=t=>ha(t)&&ct(t.pipe),gg=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||ct(t.append)&&((e=ca(t))==="formdata"||e==="object"&&ct(t.toString)&&t.toString()==="[object FormData]"))},vg=Mt("URLSearchParams"),yg=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function as(t,e,{allOwnKeys:r=!1}={}){if(t===null||typeof t>"u")return;let n,i;if(typeof t!="object"&&(t=[t]),qn(t))for(n=0,i=t.length;n<i;n++)e.call(null,t[n],n,t);else{const s=r?Object.getOwnPropertyNames(t):Object.keys(t),o=s.length;let a;for(n=0;n<o;n++)a=s[n],e.call(null,t[a],a,t)}}function F3(t,e){e=e.toLowerCase();const r=Object.keys(t);let n=r.length,i;for(;n-- >0;)if(i=r[n],e===i.toLowerCase())return i;return null}const U3=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,z3=t=>!Zi(t)&&t!==U3;function N0(){const{caseless:t}=z3(this)&&this||{},e={},r=(n,i)=>{const s=t&&F3(e,i)||i;_o(e[s])&&_o(n)?e[s]=N0(e[s],n):_o(n)?e[s]=N0({},n):qn(n)?e[s]=n.slice():e[s]=n};for(let n=0,i=arguments.length;n<i;n++)arguments[n]&&as(arguments[n],r);return e}const mg=(t,e,r,{allOwnKeys:n}={})=>(as(e,(i,s)=>{r&&ct(i)?t[s]=$3(i,r):t[s]=i},{allOwnKeys:n}),t),bg=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),_g=(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},wg=(t,e,r,n)=>{let i,s,o;const a={};if(e=e||{},t==null)return e;do{for(i=Object.getOwnPropertyNames(t),s=i.length;s-- >0;)o=i[s],(!n||n(o,t,e))&&!a[o]&&(e[o]=t[o],a[o]=!0);t=r!==!1&&F2(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},Cg=(t,e,r)=>{t=String(t),(r===void 0||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return n!==-1&&n===r},Ag=t=>{if(!t)return null;if(qn(t))return t;let e=t.length;if(!M3(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},Sg=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&F2(Uint8Array)),Tg=(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let i;for(;(i=n.next())&&!i.done;){const s=i.value;e.call(t,s[0],s[1])}},Eg=(t,e)=>{let r;const n=[];for(;(r=t.exec(e))!==null;)n.push(r);return n},Ig=Mt("HTMLFormElement"),kg=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,i){return n.toUpperCase()+i}),_c=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),xg=Mt("RegExp"),V3=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};as(r,(i,s)=>{let o;(o=e(i,s,t))!==!1&&(n[s]=o||i)}),Object.defineProperties(t,n)},Lg=t=>{V3(t,(e,r)=>{if(ct(t)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=t[r];if(ct(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Og=(t,e)=>{const r={},n=i=>{i.forEach(s=>{r[s]=!0})};return qn(t)?n(t):n(String(t).split(e)),r},Ng=()=>{},Rg=(t,e)=>(t=+t,Number.isFinite(t)?t:e),Ja="abcdefghijklmnopqrstuvwxyz",wc="0123456789",j3={DIGIT:wc,ALPHA:Ja,ALPHA_DIGIT:Ja+Ja.toUpperCase()+wc},Dg=(t=16,e=j3.ALPHA_DIGIT)=>{let r="";const{length:n}=e;for(;t--;)r+=e[Math.random()*n|0];return r};function Bg(t){return!!(t&&ct(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const $g=t=>{const e=new Array(10),r=(n,i)=>{if(ha(n)){if(e.indexOf(n)>=0)return;if(!("toJSON"in n)){e[i]=n;const s=qn(n)?[]:{};return as(n,(o,a)=>{const l=r(o,i+1);!Zi(l)&&(s[a]=l)}),e[i]=void 0,s}}return n};return r(t,0)},Pg=Mt("AsyncFunction"),Mg=t=>t&&(ha(t)||ct(t))&&ct(t.then)&&ct(t.catch),E={isArray:qn,isArrayBuffer:P3,isBuffer:og,isFormData:gg,isArrayBufferView:ag,isString:lg,isNumber:M3,isBoolean:cg,isObject:ha,isPlainObject:_o,isUndefined:Zi,isDate:ug,isFile:hg,isBlob:fg,isRegExp:xg,isFunction:ct,isStream:pg,isURLSearchParams:vg,isTypedArray:Sg,isFileList:dg,forEach:as,merge:N0,extend:mg,trim:yg,stripBOM:bg,inherits:_g,toFlatObject:wg,kindOf:ca,kindOfTest:Mt,endsWith:Cg,toArray:Ag,forEachEntry:Tg,matchAll:Eg,isHTMLForm:Ig,hasOwnProperty:_c,hasOwnProp:_c,reduceDescriptors:V3,freezeMethods:Lg,toObjectSet:Og,toCamelCase:kg,noop:Ng,toFiniteNumber:Rg,findKey:F3,global:U3,isContextDefined:z3,ALPHABET:j3,generateString:Dg,isSpecCompliantForm:Bg,toJSONObject:$g,isAsyncFn:Pg,isThenable:Mg};function ie(t,e,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}E.inherits(ie,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:E.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const H3=ie.prototype,q3={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{q3[t]={value:t}});Object.defineProperties(ie,q3);Object.defineProperty(H3,"isAxiosError",{value:!0});ie.from=(t,e,r,n,i,s)=>{const o=Object.create(H3);return E.toFlatObject(t,o,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),ie.call(o,t.message,e,r,n,i),o.cause=t,o.name=t.name,s&&Object.assign(o,s),o};const Fg=null;function R0(t){return E.isPlainObject(t)||E.isArray(t)}function K3(t){return E.endsWith(t,"[]")?t.slice(0,-2):t}function Cc(t,e,r){return t?t.concat(e).map(function(i,s){return i=K3(i),!r&&s?"["+i+"]":i}).join(r?".":""):e}function Ug(t){return E.isArray(t)&&!t.some(R0)}const zg=E.toFlatObject(E,{},null,function(e){return/^is[A-Z]/.test(e)});function fa(t,e,r){if(!E.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,r=E.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,_){return!E.isUndefined(_[m])});const n=r.metaTokens,i=r.visitor||h,s=r.dots,o=r.indexes,l=(r.Blob||typeof Blob<"u"&&Blob)&&E.isSpecCompliantForm(e);if(!E.isFunction(i))throw new TypeError("visitor must be a function");function c(y){if(y===null)return"";if(E.isDate(y))return y.toISOString();if(!l&&E.isBlob(y))throw new ie("Blob is not supported. Use a Buffer instead.");return E.isArrayBuffer(y)||E.isTypedArray(y)?l&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function h(y,m,_){let A=y;if(y&&!_&&typeof y=="object"){if(E.endsWith(m,"{}"))m=n?m:m.slice(0,-2),y=JSON.stringify(y);else if(E.isArray(y)&&Ug(y)||(E.isFileList(y)||E.endsWith(m,"[]"))&&(A=E.toArray(y)))return m=K3(m),A.forEach(function(L,S){!(E.isUndefined(L)||L===null)&&e.append(o===!0?Cc([m],S,s):o===null?m:m+"[]",c(L))}),!1}return R0(y)?!0:(e.append(Cc(_,m,s),c(y)),!1)}const f=[],d=Object.assign(zg,{defaultVisitor:h,convertValue:c,isVisitable:R0});function p(y,m){if(!E.isUndefined(y)){if(f.indexOf(y)!==-1)throw Error("Circular reference detected in "+m.join("."));f.push(y),E.forEach(y,function(A,x){(!(E.isUndefined(A)||A===null)&&i.call(e,A,E.isString(x)?x.trim():x,m,d))===!0&&p(A,m?m.concat(x):[x])}),f.pop()}}if(!E.isObject(t))throw new TypeError("data must be an object");return p(t),e}function Ac(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(n){return e[n]})}function U2(t,e){this._pairs=[],t&&fa(t,this,e)}const Q3=U2.prototype;Q3.append=function(e,r){this._pairs.push([e,r])};Q3.toString=function(e){const r=e?function(n){return e.call(this,n,Ac)}:Ac;return this._pairs.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};function Vg(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function W3(t,e,r){if(!e)return t;const n=r&&r.encode||Vg,i=r&&r.serialize;let s;if(i?s=i(e,r):s=E.isURLSearchParams(e)?e.toString():new U2(e,r).toString(n),s){const o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t}class Sc{constructor(){this.handlers=[]}use(e,r,n){return this.handlers.push({fulfilled:e,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){E.forEach(this.handlers,function(n){n!==null&&e(n)})}}const G3={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},jg=typeof URLSearchParams<"u"?URLSearchParams:U2,Hg=typeof FormData<"u"?FormData:null,qg=typeof Blob<"u"?Blob:null,Kg={isBrowser:!0,classes:{URLSearchParams:jg,FormData:Hg,Blob:qg},protocols:["http","https","file","blob","url","data"]},Z3=typeof window<"u"&&typeof document<"u",Qg=(t=>Z3&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),Wg=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Gg=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Z3,hasStandardBrowserEnv:Qg,hasStandardBrowserWebWorkerEnv:Wg},Symbol.toStringTag,{value:"Module"})),Nt={...Gg,...Kg};function Zg(t,e){return fa(t,new Nt.classes.URLSearchParams,Object.assign({visitor:function(r,n,i,s){return Nt.isNode&&E.isBuffer(r)?(this.append(n,r.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},e))}function Yg(t){return E.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Jg(t){const e={},r=Object.keys(t);let n;const i=r.length;let s;for(n=0;n<i;n++)s=r[n],e[s]=t[s];return e}function Y3(t){function e(r,n,i,s){let o=r[s++];if(o==="__proto__")return!0;const a=Number.isFinite(+o),l=s>=r.length;return o=!o&&E.isArray(i)?i.length:o,l?(E.hasOwnProp(i,o)?i[o]=[i[o],n]:i[o]=n,!a):((!i[o]||!E.isObject(i[o]))&&(i[o]=[]),e(r,n,i[o],s)&&E.isArray(i[o])&&(i[o]=Jg(i[o])),!a)}if(E.isFormData(t)&&E.isFunction(t.entries)){const r={};return E.forEachEntry(t,(n,i)=>{e(Yg(n),i,r,0)}),r}return null}function Xg(t,e,r){if(E.isString(t))try{return(e||JSON.parse)(t),E.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(t)}const z2={transitional:G3,adapter:["xhr","http"],transformRequest:[function(e,r){const n=r.getContentType()||"",i=n.indexOf("application/json")>-1,s=E.isObject(e);if(s&&E.isHTMLForm(e)&&(e=new FormData(e)),E.isFormData(e))return i?JSON.stringify(Y3(e)):e;if(E.isArrayBuffer(e)||E.isBuffer(e)||E.isStream(e)||E.isFile(e)||E.isBlob(e))return e;if(E.isArrayBufferView(e))return e.buffer;if(E.isURLSearchParams(e))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Zg(e,this.formSerializer).toString();if((a=E.isFileList(e))||n.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return fa(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return s||i?(r.setContentType("application/json",!1),Xg(e)):e}],transformResponse:[function(e){const r=this.transitional||z2.transitional,n=r&&r.forcedJSONParsing,i=this.responseType==="json";if(e&&E.isString(e)&&(n&&!this.responseType||i)){const o=!(r&&r.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(a){if(o)throw a.name==="SyntaxError"?ie.from(a,ie.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Nt.classes.FormData,Blob:Nt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};E.forEach(["delete","get","head","post","put","patch"],t=>{z2.headers[t]={}});const V2=z2,ev=E.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),tv=t=>{const e={};let r,n,i;return t&&t.split("\n").forEach(function(o){i=o.indexOf(":"),r=o.substring(0,i).trim().toLowerCase(),n=o.substring(i+1).trim(),!(!r||e[r]&&ev[r])&&(r==="set-cookie"?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)}),e},Tc=Symbol("internals");function ci(t){return t&&String(t).trim().toLowerCase()}function wo(t){return t===!1||t==null?t:E.isArray(t)?t.map(wo):String(t)}function rv(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}const nv=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Xa(t,e,r,n,i){if(E.isFunction(n))return n.call(this,e,r);if(i&&(e=r),!!E.isString(e)){if(E.isString(n))return e.indexOf(n)!==-1;if(E.isRegExp(n))return n.test(e)}}function iv(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,r,n)=>r.toUpperCase()+n)}function sv(t,e){const r=E.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(t,n+r,{value:function(i,s,o){return this[n].call(this,e,i,s,o)},configurable:!0})})}class da{constructor(e){e&&this.set(e)}set(e,r,n){const i=this;function s(a,l,c){const h=ci(l);if(!h)throw new Error("header name must be a non-empty string");const f=E.findKey(i,h);(!f||i[f]===void 0||c===!0||c===void 0&&i[f]!==!1)&&(i[f||l]=wo(a))}const o=(a,l)=>E.forEach(a,(c,h)=>s(c,h,l));return E.isPlainObject(e)||e instanceof this.constructor?o(e,r):E.isString(e)&&(e=e.trim())&&!nv(e)?o(tv(e),r):e!=null&&s(r,e,n),this}get(e,r){if(e=ci(e),e){const n=E.findKey(this,e);if(n){const i=this[n];if(!r)return i;if(r===!0)return rv(i);if(E.isFunction(r))return r.call(this,i,n);if(E.isRegExp(r))return r.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,r){if(e=ci(e),e){const n=E.findKey(this,e);return!!(n&&this[n]!==void 0&&(!r||Xa(this,this[n],n,r)))}return!1}delete(e,r){const n=this;let i=!1;function s(o){if(o=ci(o),o){const a=E.findKey(n,o);a&&(!r||Xa(n,n[a],a,r))&&(delete n[a],i=!0)}}return E.isArray(e)?e.forEach(s):s(e),i}clear(e){const r=Object.keys(this);let n=r.length,i=!1;for(;n--;){const s=r[n];(!e||Xa(this,this[s],s,e,!0))&&(delete this[s],i=!0)}return i}normalize(e){const r=this,n={};return E.forEach(this,(i,s)=>{const o=E.findKey(n,s);if(o){r[o]=wo(i),delete r[s];return}const a=e?iv(s):String(s).trim();a!==s&&delete r[s],r[a]=wo(i),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const r=Object.create(null);return E.forEach(this,(n,i)=>{n!=null&&n!==!1&&(r[i]=e&&E.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,r])=>e+": "+r).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...r){const n=new this(e);return r.forEach(i=>n.set(i)),n}static accessor(e){const n=(this[Tc]=this[Tc]={accessors:{}}).accessors,i=this.prototype;function s(o){const a=ci(o);n[a]||(sv(i,o),n[a]=!0)}return E.isArray(e)?e.forEach(s):s(e),this}}da.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);E.reduceDescriptors(da.prototype,({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(n){this[r]=n}}});E.freezeMethods(da);const Gt=da;function el(t,e){const r=this||V2,n=e||r,i=Gt.from(n.headers);let s=n.data;return E.forEach(t,function(a){s=a.call(r,s,i.normalize(),e?e.status:void 0)}),i.normalize(),s}function J3(t){return!!(t&&t.__CANCEL__)}function ls(t,e,r){ie.call(this,t==null?"canceled":t,ie.ERR_CANCELED,e,r),this.name="CanceledError"}E.inherits(ls,ie,{__CANCEL__:!0});function ov(t,e,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?t(r):e(new ie("Request failed with status code "+r.status,[ie.ERR_BAD_REQUEST,ie.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const av=Nt.hasStandardBrowserEnv?{write(t,e,r,n,i,s){const o=[t+"="+encodeURIComponent(e)];E.isNumber(r)&&o.push("expires="+new Date(r).toGMTString()),E.isString(n)&&o.push("path="+n),E.isString(i)&&o.push("domain="+i),s===!0&&o.push("secure"),document.cookie=o.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function lv(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function cv(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function X3(t,e){return t&&!lv(e)?cv(t,e):e}const uv=Nt.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function i(s){let o=s;return e&&(r.setAttribute("href",o),o=r.href),r.setAttribute("href",o),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=i(window.location.href),function(o){const a=E.isString(o)?i(o):o;return a.protocol===n.protocol&&a.host===n.host}}():function(){return function(){return!0}}();function hv(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function fv(t,e){t=t||10;const r=new Array(t),n=new Array(t);let i=0,s=0,o;return e=e!==void 0?e:1e3,function(l){const c=Date.now(),h=n[s];o||(o=c),r[i]=l,n[i]=c;let f=s,d=0;for(;f!==i;)d+=r[f++],f=f%t;if(i=(i+1)%t,i===s&&(s=(s+1)%t),c-o<e)return;const p=h&&c-h;return p?Math.round(d*1e3/p):void 0}}function Ec(t,e){let r=0;const n=fv(50,250);return i=>{const s=i.loaded,o=i.lengthComputable?i.total:void 0,a=s-r,l=n(a),c=s<=o;r=s;const h={loaded:s,total:o,progress:o?s/o:void 0,bytes:a,rate:l||void 0,estimated:l&&o&&c?(o-s)/l:void 0,event:i};h[e?"download":"upload"]=!0,t(h)}}const dv=typeof XMLHttpRequest<"u",pv=dv&&function(t){return new Promise(function(r,n){let i=t.data;const s=Gt.from(t.headers).normalize();let{responseType:o,withXSRFToken:a}=t,l;function c(){t.cancelToken&&t.cancelToken.unsubscribe(l),t.signal&&t.signal.removeEventListener("abort",l)}let h;if(E.isFormData(i)){if(Nt.hasStandardBrowserEnv||Nt.hasStandardBrowserWebWorkerEnv)s.setContentType(!1);else if((h=s.getContentType())!==!1){const[m,..._]=h?h.split(";").map(A=>A.trim()).filter(Boolean):[];s.setContentType([m||"multipart/form-data",..._].join("; "))}}let f=new XMLHttpRequest;if(t.auth){const m=t.auth.username||"",_=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";s.set("Authorization","Basic "+btoa(m+":"+_))}const d=X3(t.baseURL,t.url);f.open(t.method.toUpperCase(),W3(d,t.params,t.paramsSerializer),!0),f.timeout=t.timeout;function p(){if(!f)return;const m=Gt.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),A={data:!o||o==="text"||o==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:m,config:t,request:f};ov(function(L){r(L),c()},function(L){n(L),c()},A),f=null}if("onloadend"in f?f.onloadend=p:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(p)},f.onabort=function(){f&&(n(new ie("Request aborted",ie.ECONNABORTED,t,f)),f=null)},f.onerror=function(){n(new ie("Network Error",ie.ERR_NETWORK,t,f)),f=null},f.ontimeout=function(){let _=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const A=t.transitional||G3;t.timeoutErrorMessage&&(_=t.timeoutErrorMessage),n(new ie(_,A.clarifyTimeoutError?ie.ETIMEDOUT:ie.ECONNABORTED,t,f)),f=null},Nt.hasStandardBrowserEnv&&(a&&E.isFunction(a)&&(a=a(t)),a||a!==!1&&uv(d))){const m=t.xsrfHeaderName&&t.xsrfCookieName&&av.read(t.xsrfCookieName);m&&s.set(t.xsrfHeaderName,m)}i===void 0&&s.setContentType(null),"setRequestHeader"in f&&E.forEach(s.toJSON(),function(_,A){f.setRequestHeader(A,_)}),E.isUndefined(t.withCredentials)||(f.withCredentials=!!t.withCredentials),o&&o!=="json"&&(f.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&f.addEventListener("progress",Ec(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",Ec(t.onUploadProgress)),(t.cancelToken||t.signal)&&(l=m=>{f&&(n(!m||m.type?new ls(null,t,f):m),f.abort(),f=null)},t.cancelToken&&t.cancelToken.subscribe(l),t.signal&&(t.signal.aborted?l():t.signal.addEventListener("abort",l)));const y=hv(d);if(y&&Nt.protocols.indexOf(y)===-1){n(new ie("Unsupported protocol "+y+":",ie.ERR_BAD_REQUEST,t));return}f.send(i||null)})},D0={http:Fg,xhr:pv};E.forEach(D0,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(r){}Object.defineProperty(t,"adapterName",{value:e})}});const Ic=t=>"- ".concat(t),gv=t=>E.isFunction(t)||t===null||t===!1,e5={getAdapter:t=>{t=E.isArray(t)?t:[t];const{length:e}=t;let r,n;const i={};for(let s=0;s<e;s++){r=t[s];let o;if(n=r,!gv(r)&&(n=D0[(o=String(r)).toLowerCase()],n===void 0))throw new ie("Unknown adapter '".concat(o,"'"));if(n)break;i[o||"#"+s]=n}if(!n){const s=Object.entries(i).map(([a,l])=>"adapter ".concat(a," ")+(l===!1?"is not supported by the environment":"is not available in the build"));let o=e?s.length>1?"since :\n"+s.map(Ic).join("\n"):" "+Ic(s[0]):"as no adapter specified";throw new ie("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return n},adapters:D0};function tl(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new ls(null,t)}function kc(t){return tl(t),t.headers=Gt.from(t.headers),t.data=el.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),e5.getAdapter(t.adapter||V2.adapter)(t).then(function(n){return tl(t),n.data=el.call(t,t.transformResponse,n),n.headers=Gt.from(n.headers),n},function(n){return J3(n)||(tl(t),n&&n.response&&(n.response.data=el.call(t,t.transformResponse,n.response),n.response.headers=Gt.from(n.response.headers))),Promise.reject(n)})}const xc=t=>t instanceof Gt?{...t}:t;function $n(t,e){e=e||{};const r={};function n(c,h,f){return E.isPlainObject(c)&&E.isPlainObject(h)?E.merge.call({caseless:f},c,h):E.isPlainObject(h)?E.merge({},h):E.isArray(h)?h.slice():h}function i(c,h,f){if(E.isUndefined(h)){if(!E.isUndefined(c))return n(void 0,c,f)}else return n(c,h,f)}function s(c,h){if(!E.isUndefined(h))return n(void 0,h)}function o(c,h){if(E.isUndefined(h)){if(!E.isUndefined(c))return n(void 0,c)}else return n(void 0,h)}function a(c,h,f){if(f in e)return n(c,h);if(f in t)return n(void 0,c)}const l={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(c,h)=>i(xc(c),xc(h),!0)};return E.forEach(Object.keys(Object.assign({},t,e)),function(h){const f=l[h]||i,d=f(t[h],e[h],h);E.isUndefined(d)&&f!==a||(r[h]=d)}),r}const t5="1.6.8",j2={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{j2[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});const Lc={};j2.transitional=function(e,r,n){function i(s,o){return"[Axios v"+t5+"] Transitional option '"+s+"'"+o+(n?". "+n:"")}return(s,o,a)=>{if(e===!1)throw new ie(i(o," has been removed"+(r?" in "+r:"")),ie.ERR_DEPRECATED);return r&&!Lc[o]&&(Lc[o]=!0,console.warn(i(o," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(s,o,a):!0}};function vv(t,e,r){if(typeof t!="object")throw new ie("options must be an object",ie.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let i=n.length;for(;i-- >0;){const s=n[i],o=e[s];if(o){const a=t[s],l=a===void 0||o(a,s,t);if(l!==!0)throw new ie("option "+s+" must be "+l,ie.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new ie("Unknown option "+s,ie.ERR_BAD_OPTION)}}const B0={assertOptions:vv,validators:j2},ar=B0.validators;class $o{constructor(e){this.defaults=e,this.interceptors={request:new Sc,response:new Sc}}async request(e,r){try{return await this._request(e,r)}catch(n){if(n instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const s=i.stack?i.stack.replace(/^.+\n/,""):"";n.stack?s&&!String(n.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+s):n.stack=s}throw n}}_request(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=$n(this.defaults,r);const{transitional:n,paramsSerializer:i,headers:s}=r;n!==void 0&&B0.assertOptions(n,{silentJSONParsing:ar.transitional(ar.boolean),forcedJSONParsing:ar.transitional(ar.boolean),clarifyTimeoutError:ar.transitional(ar.boolean)},!1),i!=null&&(E.isFunction(i)?r.paramsSerializer={serialize:i}:B0.assertOptions(i,{encode:ar.function,serialize:ar.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let o=s&&E.merge(s.common,s[r.method]);s&&E.forEach(["delete","get","head","post","put","patch","common"],y=>{delete s[y]}),r.headers=Gt.concat(o,s);const a=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(r)===!1||(l=l&&m.synchronous,a.unshift(m.fulfilled,m.rejected))});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let h,f=0,d;if(!l){const y=[kc.bind(this),void 0];for(y.unshift.apply(y,a),y.push.apply(y,c),d=y.length,h=Promise.resolve(r);f<d;)h=h.then(y[f++],y[f++]);return h}d=a.length;let p=r;for(f=0;f<d;){const y=a[f++],m=a[f++];try{p=y(p)}catch(_){m.call(this,_);break}}try{h=kc.call(this,p)}catch(y){return Promise.reject(y)}for(f=0,d=c.length;f<d;)h=h.then(c[f++],c[f++]);return h}getUri(e){e=$n(this.defaults,e);const r=X3(e.baseURL,e.url);return W3(r,e.params,e.paramsSerializer)}}E.forEach(["delete","get","head","options"],function(e){$o.prototype[e]=function(r,n){return this.request($n(n||{},{method:e,url:r,data:(n||{}).data}))}});E.forEach(["post","put","patch"],function(e){function r(n){return function(s,o,a){return this.request($n(a||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:s,data:o}))}}$o.prototype[e]=r(),$o.prototype[e+"Form"]=r(!0)});const Co=$o;class H2{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(s){r=s});const n=this;this.promise.then(i=>{if(!n._listeners)return;let s=n._listeners.length;for(;s-- >0;)n._listeners[s](i);n._listeners=null}),this.promise.then=i=>{let s;const o=new Promise(a=>{n.subscribe(a),s=a}).then(i);return o.cancel=function(){n.unsubscribe(s)},o},e(function(s,o,a){n.reason||(n.reason=new ls(s,o,a),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const r=this._listeners.indexOf(e);r!==-1&&this._listeners.splice(r,1)}static source(){let e;return{token:new H2(function(i){e=i}),cancel:e}}}const yv=H2;function mv(t){return function(r){return t.apply(null,r)}}function bv(t){return E.isObject(t)&&t.isAxiosError===!0}const $0={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries($0).forEach(([t,e])=>{$0[e]=t});const _v=$0;function r5(t){const e=new Co(t),r=$3(Co.prototype.request,e);return E.extend(r,Co.prototype,e,{allOwnKeys:!0}),E.extend(r,e,null,{allOwnKeys:!0}),r.create=function(i){return r5($n(t,i))},r}const Z=r5(V2);Z.Axios=Co;Z.CanceledError=ls;Z.CancelToken=yv;Z.isCancel=J3;Z.VERSION=t5;Z.toFormData=fa;Z.AxiosError=ie;Z.Cancel=Z.CanceledError;Z.all=function(e){return Promise.all(e)};Z.spread=mv;Z.isAxiosError=bv;Z.mergeConfig=$n;Z.AxiosHeaders=Gt;Z.formToJSON=t=>Y3(E.isHTMLForm(t)?new FormData(t):t);Z.getAdapter=e5.getAdapter;Z.HttpStatusCode=_v;Z.default=Z;function wv(t,e){var r;return function(){var n=this,i=arguments;clearTimeout(r),r=setTimeout(function(){t.apply(n,i)},e)}}const ye=(t,e)=>{const r=t.__vccOpts||t;for(const[n,i]of e)r[n]=i;return r};new xe("https://www.kongfz.com/search-suggest-history-iframe.html");const Cv="https://static.kongfz.com/search-v3/assets/images/code-app-QCzWBt1d.png",Av="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAADLElEQVR42rXXzYscRRgG8F/XTFx2IwbFgzEQIuIH5pAQXUQFD+IHIYr/gCdRRNGDoAePXiLsQTyIJwVRwS80EhSNh4goIhESNReNSGIkejDRsIlkk5nuylAUDJvdmiE9k/dlmC6663meet6q7iqtoyO4ZFHpgDWDvCTwFbZYcNQnph4BM160KIoO6E5bPXN2ifrOivaqpg0fvCXqqfVFrzBNig4eT/BRTAQPoTNN/escETUZ/nszqKap/4kM3wyydj/CdA3anbTXg4yemwy+0hlkJf8nqKsdzObUnscaVbrTFVQXqXZFh8uw2fFU3p9sX+F9WH003cJSqs2Zt80mfb87MMglnPC5yoc+0zdj6yBv0nXSL/YPfoREPyZCMuVRP+iJOZfss+B2nax7gxd864yoyb9/vW8+9x5byBvsSd1qPf1B9hJEVDvkI2/a6//UbuT7+ql9zkvmGEURcIvDYuqYYDNUXy0OM5E3y9vpiT2uKlNUWO9QXqkrMxElqqZw95zoKwFV6SX8doZvkYn2H48IZfe3i+p28KnfX24bvfjeTe63VX/KXeiW/d/otDiB/mcyfNGgxyQlLbIv2md2teIGwxHciqb1i/xTZ3TFAkGKDYitv9PfZXmrElT6uGKCj0ffiTK3TBK0j2DtaIIqlaptRMEmVCWCqINTrWsQcWOJYBh/ompNcDfq8jSN2I/Qehbd6Q5RGPXIFr2JVvKuhFON2hIea7uWc79n0RmkYQwblZ7rzWsEbeM+Z32jEF3syIOdxKgv7XB5qQpX+lnUn4Qi9X516M3QjkbXfz6ecK8ZktWvI65e6Gscb1/oPPo3yiIDdk74VT5pKzplgmv9lrxsq38hwY89YtQt59CveV80Jna3mEvpxGD8iUfAdY4WRtGkLNmzcwg/juJhPc0yilp9AWD/guv3CuYUKvGkvANNRL2sf8mi07kV5c1von7HHMLFnccWDTfof3vNvdabtc5mD3rZH2I27LCnVaurr0ZQ1LZ5ygPW+tEXPnBEJUqRrja6x82ig752rHz4GF0LZsyqMmVQ5QzLDllVsbSjizJUlQDqVWyMCJryhu08cGYEKhyl7XgAAAAASUVORK5CYII=",Sv="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAuCAYAAABap1twAAAGgUlEQVR42u2YXYyVRx3Gn2fed4EipTalQWNjtLB7vsCWtI2JqVWqFM4eMCaoiTHGpBf2xphQTYy9kfZCLwyaaKpJrzTqhaEXDbBnWVutJJoQxSplz9dCo7ZK+GhFEFh2eWce/287cc8Wz+6Ch7VN+CVP/nP+M5nz7JyZ2ZkhroKxVvkWL/8YXPrEcLFxYbRdZrXY1Giz4ILVU6BgEKKF4XIn1NslDhdbqnfKy5FlO5m6b1UL7TNYICkWyJ7mWm4uNc+ONocGFLKvWOoJ+Szdc3goVMsdj/+C1SUKIbHitLx/FOSSYTO3d7zEbeta6qvBASbIcY7fyAKerrcKHxkudQ4cPFFy+9ulVV5axaCVguF4zjm+lq5wr216T2N6tFn8sBAesIpPwUhcwEIhroJ6s5gMl9t+tFX6oIJ/XOReS2+CVAR4K6CVb/TJs4DOgGgT/IXltpF8vFpqHxxtFJJqpeP7bnDEOq5Zx/Xxwgo5PEJop4QVVqWe/cQ646LFnQHhh1vLR8+PNIeSWnnC981gvVmwket4i/dKeArQhi5jmcm9qT/FGExpl9HDFL5oI/i7esP6XMBIcn5zQ2ZuwtviuE/CHgHvsvRFEj+1eJuE7XONnukAyD9C+pyVbzedJPlJ+4MPjowPJrV1R+c06eYZOZebM5MVAU9Hczm7Lf9ImuCzJI7MGJptjuC5NL1pe63c2UHy27FutaTdNhfX5+YsumsyONYqMN/HpAcJYZeE91p6GgbJ99tCWR2UFgCu6vnLUMuDLm0YO3bXckjlWDdluiMQu9pnas5+7rC/XeZVbzOZl7Pg663j2yxujnNtCQxJD0j+gBVXmt7dY6FIQiqv3cFPvgJgfcwvNWWQNv35xLFPWPkZ7y87i/6qRvBChgCDCtu7frYQ5U2FaM7Prouaya2M5vzsOisEfRpGrdJ7HroeWwo/c/eEbN9bLqDWNdouKkEklt2curJdCoNg7dnW3e+Asb9ZYc+f2Ja8CxK2rpsI+5qDBEFLy6UDzmdTT1p5wCT0FwrKwMkEhsdl2nfD9kntHV/jnEtge2WYPXIv30MsPnN6IIyx5tA7PfGoxI0Emg785pZy+6+jL5VuDZd8vt8tMwX0F5qyxPFLW0qdY/ubxfcF6OsCyiSeN323WuycSWF4cZekhwFlAu4PxIaxv2z6kPev5PUPRoMyEf3Fi1rxWx3k2dYXdku6Nzct4X6Ad1j5YY40SkOA/yWAPJFFEw7OfTRZ7l7w57PT0aDvs0GavEtRCcHdjhB+07UjpAD/ZiY+lpL+Fgk3w+hedQxYbc1C/Bzr+j6CiUn5dyl+nplKulnmzc0xtwIWjd4e4qj832GvvMNbnBsGbxjszQ2DbxODmn2fIGKZFrRIWyQhYcYHYzkoN5gm7mWLf4/JLDbwcGxhOsRz4HVDEFI618oNdV1jc47n3tzmQvsUnfteNJ7CIPkDewVowmPp9TZoWral1Oo48MmYSwjC0X0/95bCGC61n7Lj/QuCNlLuxZvSgeewOAiRJWm6YyrzI2L4AIlf2wD9/j8jtr85SDugHrLioXhZd4gslslLfjq/PI1ZMRf2jRe4dV1HKYwt5aPKL+mCSDkxgWZ1sAg4UvVG0YmBDpQ96YVZ9+LhPBGpTxTZw9x8D0UzzN+O3VE0D5V2WNA+SE/kpFpyjsSpBb7lsFsLPFpNgsnxN5JOC96oq6WW9tk83DR4eIrgDtPx+Owxacp6jMqlbvU4hGaxj2kSr5Luq9VC62T9xbWsFtu65ue35yfuWToZpm5jkp4P0xcfs9TXTN7kTCRxMiHvgzAZHzBTL40KuqvrhSEh8KMlzu3w0lIuGzj30J3jk3ZzZHVNS9f8r27fkbXcOPSHqZBNnagO/ukcybNvnnMSQhZ0enO586rpdKaBUwIud7eLXPh4qf3PSa9Tubl6Y3DG3LUa3Lr+mMZaFYJkTCXzzS1CnOOShJTkaKfI4cpR9eWwsLnUkELQPNuOZgqcs00WpGqhrcU8zeja2/XfIP/XnK6HQc584akYM8SFQPIfAwMDGSK1yhGfbyNd7UwGeRJGqsC+G3TOCQalX1k4Hp9DXHT/44eGGpmtSpc/uuN1+LOuhbHU9C+SIzBc6vpvcLgyEUYaQ65amThGcJvp5wAPkPwy0/Q7yHGJ8kf319uX2z8h+HkQz1l8hg41O6EcqreGXK1ibRaT+vidvGL/bKy5IvfsS5WrPqL/G0YU7YI6d77kAAAAAElFTkSuQmCC",Tv="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAQAAAC0NkA6AAABzElEQVR42u3YvYrUUACG4fdLsiiLgoqFjYWdYiMIFnsVFgqKiI2TzFrabqOFlYUgrM64CIq4vQheguAlyFZiJfizIA6iOfkECQObGPLDgk2e052c5E1yUkXscUtBiAGMirlplyoVg02iqfinyvQbvTrDUUxfYjfaefyrJZLqidMjPOQiBxH9LXi9km4uppqZioSShbXu6+QkGNOHEIe4lu9w1zF5Y2SrANYAMP033wQiX4DC0BgB8AEgQnzgCxHdiJxjnELACgSXL6wpQsFfunP8xbfDKujAyaOv06vFNoEEg2h4kpof90L2fR7oIEvAC8CUukYiQFPRgQUIoG/EgGemg8xAy8qIfTFGxsgYGSNjZIyMkTEyRsbIfkqAuhgcp+p4hZx4SOQnKJ8XdJABhCGR8+lnr6bViIkJqDIZp7ucA9Qz4g026MEAcceNl5ZnFZWRA091Ws+AUDtqltwW4fdylfYMiEAv5++1RSBGlUEpBzRzY2QSgd8CriVUrlrP1nybGJez9dt4ByuieU8iQ7RZnOUKOaIu+BKXG78kE7HNfXBo+bdyQ8+dnfQJDNQFyjumTvq0+vGBaTfRRAx2s/EfU206FWIAeW7+pz/q1Z9aXAhkwgAAAABJRU5ErkJggg==",Ev="https://static.kongfz.com/search-v3/assets/images/code-mp-B0TQTJJd.png",n5=function(t){t.url=t.url||"",t.client=t.client||"m",t.clientVersion=t.clientVersion||"1.0.1",t.talkId=t.talkId||"",t.init=t.init||!1,this.config=t,this.debug=!1,this.data={},this.data.t="",this.data.t1="",this.data.reTime=5e3,this.data.self=!1,this.data.heartTime=0,this.data.ie={t:"",ts:""},this.ims={},this.ims.ws="",this.on={},this.on.message=t.on.message||"",this.on.close=t.on.close||"",this.on.error=t.on.error||"",this.on.open=t.on.open||"",this.config.init&&this.connect()};n5.prototype={connect:function(){this.webSocket(),this.isOnline()},webSocket:function(){var t=this,e="";this.initStatus();try{this.config.talkId?e=this.config.url+"?client="+this.config.client+"&clientVersion="+this.config.clientVersion+"&talkerId="+this.config.talkId:e=this.config.url+"?client="+this.config.client+"&clientVersion="+this.config.clientVersion,"WebSocket"in window?(this.ims.ws=new WebSocket(e),this.onopen(),this.onmessage(),this.onclose(),this.onerror()):this.config.talkId?this.imServiceIe():this.SubService()}catch(n){t.initStatus();var r=setTimeout(function(){t.reconnect(),clearTimeout(r)},3e4)}},initStatus:function(){var t=this;t.ims.ws&&(t.ims.ws.close&&t.ims.ws.close(),t.ims.ws=""),t.data.t1&&(clearTimeout(t.data.t1),t.data.t1=""),t.data.t&&(clearTimeout(t.data.t),t.data.t="")},onopen:function(){var t=this;this.ims.ws.onopen=function(){t.startHeartcheck(),t.on.open&&t.on.open({result:"open"})}},onmessage:function(){var t=this;this.ims.ws.onmessage=function(e){try{var r=e.data;t.data.heartTime=t.data.heartTime-1,t.data.heartTime<0&&(t.data.heartTime=0),t.receivedMsgRender(r),t.data.reTime=5e3}catch(n){}}},onclose:function(){var t=this;this.ims.ws.onclose=function(){t.on.close&&t.on.close({result:"close"}),!t.data.self&&(t.data.t1||(t.data.t1&&(clearTimeout(t.data.t1),t.data.t1=""),t.reconnect()),t.data.t&&(clearInterval(t.data.t),t.data.t=""))}},onerror:function(){var t=this;this.ims.ws.onerror=function(e){t.on.error&&t.on.error(e)}},startHeartcheck:function(){var t=this;t.ims.ws.readyState===1&&(t.ims.ws.send("i"),t.data.heartTime=+t.data.heartTime+1,t.data.t=setInterval(function(){t.ims.ws.send("i"),t.data.heartTime=+t.data.heartTime+1;var e=setTimeout(function(){t.data.heartTime>3&&(t.reconnect(),t.data.heartTime=0),clearTimeout(e)},200)},18e3))},reconnect:function(){var t=this;if(t.data.t1)return!1;t.data.t1=setTimeout(function(){t.webSocket(),t.data.reTime<=8e4?t.data.reTime=t.data.reTime+t.data.reTime:t.data.reTime=16e4+ +t.randomNum(-50,50),clearTimeout(t.data.t1),t.data.t1=""},t.data.reTime)},close:function(t){t=="self"&&(this.data.self=!0),clearInterval(this.data.t),this.data.t="",this.ims.ws&&this.ims.ws.close(),clearInterval(this.data.ie.t),clearInterval(this.data.ie.ts)},receivedMsgRender:function(t){var e=this,r="";t=="o"||t=="i"||(r=e.messageFilter(t),r&&e.on.message&&e.on.message(r))},messageFilter:function(t){var e=this,r=t.slice(0,1),n=t.slice(1,7),i=JSON.parse(t.slice(7,t.length));return e.ims.ws.send("a"+n),r=="m"?i:!1},randomNum:function(t,e){switch(arguments.length){case 1:return parseInt(Math.random()*t+1,10);case 2:return parseInt(Math.random()*(e-t+1)+t,10);default:return 0}},isOnline:function(){var t=this;try{t.addHandler(window,"online",function(){t.online()}),t.addHandler(window,"offline",function(){t.offline()})}catch(e){}},online:function(){this.reconnect()},offline:function(){this.close("self"),this.on.error&&this.on.error({result:"offline"})},addHandler:function(t,e,r){t.addEventListener?t.addEventListener(e,r,!1):t.attachEvent?t.attachEvent("on"+e,r):t["on"+e]=r},imServiceIe:function(){var t=this;t.socketMessages()},socketMessages:function(){var t=this,e="https://"+this.config.url.split("/")[2];t.data.ie.t=setInterval(function(){t.config.talkId&&$.ajax({url:e+"ajax/pull/socketMessages/"+t.config.talkId,type:"GET",dataType:"JSONP",timeout:3e3,success:function(r){if($.isArray(r))for(var n=0;n<r.length;n++)t.receivedMsgRender(r[n],"ie");else clearInterval(t.data.ie.t),t.data.ie.t=""},error:function(){clearInterval(t.data.ie.t),t.data.ie.t=""}})},5e3)},SubService:function(){var t=this;t.ieSocketMessages()},ieSocketMessages:function(){var t=this,e="https://"+this.config.url.split("/")[2];t.data.ie.ts=setInterval(function(){$.ajax({url:e+"ajax/pull/socketMessages",type:"GET",dataType:"JSONP",timeout:3e3,success:function(r){if($.isArray(r))for(var n=0;n<r.length;n++)t.receivedMsgRender(r[n],"ie");else clearInterval(t.data.ie.ts),t.data.ie.ts=""},error:function(){clearInterval(t.data.ie.ts),t.data.ie.ts=""}})},5e3)}};var Iv=Error,kv=EvalError,xv=RangeError,Lv=ReferenceError,i5=SyntaxError,cs=TypeError,Ov=URIError,Nv=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;e[r]=i;for(r in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var s=Object.getOwnPropertySymbols(e);if(s.length!==1||s[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(e,r);if(o.value!==i||o.enumerable!==!0)return!1}return!0},Oc=typeof Symbol<"u"&&Symbol,Rv=Nv,Dv=function(){return typeof Oc!="function"||typeof Symbol!="function"||typeof Oc("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Rv()},rl={__proto__:null,foo:{}},Bv=Object,$v=function(){return{__proto__:rl}.foo===rl.foo&&!(rl instanceof Bv)},Pv="Function.prototype.bind called on incompatible ",Mv=Object.prototype.toString,Fv=Math.max,Uv="[object Function]",Nc=function(e,r){for(var n=[],i=0;i<e.length;i+=1)n[i]=e[i];for(var s=0;s<r.length;s+=1)n[s+e.length]=r[s];return n},zv=function(e,r){for(var n=[],i=r||0,s=0;i<e.length;i+=1,s+=1)n[s]=e[i];return n},Vv=function(t,e){for(var r="",n=0;n<t.length;n+=1)r+=t[n],n+1<t.length&&(r+=e);return r},jv=function(e){var r=this;if(typeof r!="function"||Mv.apply(r)!==Uv)throw new TypeError(Pv+r);for(var n=zv(arguments,1),i,s=function(){if(this instanceof i){var h=r.apply(this,Nc(n,arguments));return Object(h)===h?h:this}return r.apply(e,Nc(n,arguments))},o=Fv(0,r.length-n.length),a=[],l=0;l<o;l++)a[l]="$"+l;if(i=Function("binder","return function ("+Vv(a,",")+"){ return binder.apply(this,arguments); }")(s),r.prototype){var c=function(){};c.prototype=r.prototype,i.prototype=new c,c.prototype=null}return i},Hv=jv,q2=Function.prototype.bind||Hv,qv=Function.prototype.call,Kv=Object.prototype.hasOwnProperty,Qv=q2,Wv=Qv.call(qv,Kv),ee,Gv=Iv,Zv=kv,Yv=xv,Jv=Lv,Pn=i5,En=cs,Xv=Ov,s5=Function,nl=function(t){try{return s5('"use strict"; return ('+t+").constructor;")()}catch(e){}},Vr=Object.getOwnPropertyDescriptor;if(Vr)try{Vr({},"")}catch(t){Vr=null}var il=function(){throw new En},e7=Vr?function(){try{return arguments.callee,il}catch(t){try{return Vr(arguments,"callee").get}catch(e){return il}}}():il,on=Dv(),t7=$v(),Pe=Object.getPrototypeOf||(t7?function(t){return t.__proto__}:null),yn={},r7=typeof Uint8Array>"u"||!Pe?ee:Pe(Uint8Array),jr={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?ee:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?ee:ArrayBuffer,"%ArrayIteratorPrototype%":on&&Pe?Pe([][Symbol.iterator]()):ee,"%AsyncFromSyncIteratorPrototype%":ee,"%AsyncFunction%":yn,"%AsyncGenerator%":yn,"%AsyncGeneratorFunction%":yn,"%AsyncIteratorPrototype%":yn,"%Atomics%":typeof Atomics>"u"?ee:Atomics,"%BigInt%":typeof BigInt>"u"?ee:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?ee:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?ee:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?ee:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Gv,"%eval%":eval,"%EvalError%":Zv,"%Float32Array%":typeof Float32Array>"u"?ee:Float32Array,"%Float64Array%":typeof Float64Array>"u"?ee:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?ee:FinalizationRegistry,"%Function%":s5,"%GeneratorFunction%":yn,"%Int8Array%":typeof Int8Array>"u"?ee:Int8Array,"%Int16Array%":typeof Int16Array>"u"?ee:Int16Array,"%Int32Array%":typeof Int32Array>"u"?ee:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":on&&Pe?Pe(Pe([][Symbol.iterator]())):ee,"%JSON%":typeof JSON=="object"?JSON:ee,"%Map%":typeof Map>"u"?ee:Map,"%MapIteratorPrototype%":typeof Map>"u"||!on||!Pe?ee:Pe(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?ee:Promise,"%Proxy%":typeof Proxy>"u"?ee:Proxy,"%RangeError%":Yv,"%ReferenceError%":Jv,"%Reflect%":typeof Reflect>"u"?ee:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?ee:Set,"%SetIteratorPrototype%":typeof Set>"u"||!on||!Pe?ee:Pe(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?ee:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":on&&Pe?Pe(""[Symbol.iterator]()):ee,"%Symbol%":on?Symbol:ee,"%SyntaxError%":Pn,"%ThrowTypeError%":e7,"%TypedArray%":r7,"%TypeError%":En,"%Uint8Array%":typeof Uint8Array>"u"?ee:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?ee:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?ee:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?ee:Uint32Array,"%URIError%":Xv,"%WeakMap%":typeof WeakMap>"u"?ee:WeakMap,"%WeakRef%":typeof WeakRef>"u"?ee:WeakRef,"%WeakSet%":typeof WeakSet>"u"?ee:WeakSet};if(Pe)try{null.error}catch(t){var n7=Pe(Pe(t));jr["%Error.prototype%"]=n7}var i7=function t(e){var r;if(e==="%AsyncFunction%")r=nl("async function () {}");else if(e==="%GeneratorFunction%")r=nl("function* () {}");else if(e==="%AsyncGeneratorFunction%")r=nl("async function* () {}");else if(e==="%AsyncGenerator%"){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=t("%AsyncGenerator%");i&&Pe&&(r=Pe(i.prototype))}return jr[e]=r,r},Rc={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},us=q2,Po=Wv,s7=us.call(Function.call,Array.prototype.concat),o7=us.call(Function.apply,Array.prototype.splice),Dc=us.call(Function.call,String.prototype.replace),Mo=us.call(Function.call,String.prototype.slice),a7=us.call(Function.call,RegExp.prototype.exec),l7=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,c7=/\\(\\)?/g,u7=function(e){var r=Mo(e,0,1),n=Mo(e,-1);if(r==="%"&&n!=="%")throw new Pn("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Pn("invalid intrinsic syntax, expected opening `%`");var i=[];return Dc(e,l7,function(s,o,a,l){i[i.length]=a?Dc(l,c7,"$1"):o||s}),i},h7=function(e,r){var n=e,i;if(Po(Rc,n)&&(i=Rc[n],n="%"+i[0]+"%"),Po(jr,n)){var s=jr[n];if(s===yn&&(s=i7(n)),typeof s>"u"&&!r)throw new En("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:s}}throw new Pn("intrinsic "+e+" does not exist!")},Kn=function(e,r){if(typeof e!="string"||e.length===0)throw new En("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new En('"allowMissing" argument must be a boolean');if(a7(/^%?[^%]*%?$/,e)===null)throw new Pn("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=u7(e),i=n.length>0?n[0]:"",s=h7("%"+i+"%",r),o=s.name,a=s.value,l=!1,c=s.alias;c&&(i=c[0],o7(n,s7([0,1],c)));for(var h=1,f=!0;h<n.length;h+=1){var d=n[h],p=Mo(d,0,1),y=Mo(d,-1);if((p==='"'||p==="'"||p==="`"||y==='"'||y==="'"||y==="`")&&p!==y)throw new Pn("property names with quotes must have matching quotes");if((d==="constructor"||!f)&&(l=!0),i+="."+d,o="%"+i+"%",Po(jr,o))a=jr[o];else if(a!=null){if(!(d in a)){if(!r)throw new En("base intrinsic for "+e+" exists, but the property is not available.");return}if(Vr&&h+1>=n.length){var m=Vr(a,d);f=!!m,f&&"get"in m&&!("originalValue"in m.get)?a=m.get:a=a[d]}else f=Po(a,d),a=a[d];f&&!l&&(jr[o]=a)}}return a},o5={exports:{}},sl,Bc;function K2(){if(Bc)return sl;Bc=1;var t=Kn,e=t("%Object.defineProperty%",!0)||!1;if(e)try{e({},"a",{value:1})}catch(r){e=!1}return sl=e,sl}var f7=Kn,Ao=f7("%Object.getOwnPropertyDescriptor%",!0);if(Ao)try{Ao([],"length")}catch(t){Ao=null}var a5=Ao,$c=K2(),d7=i5,an=cs,Pc=a5,p7=function(e,r,n){if(!e||typeof e!="object"&&typeof e!="function")throw new an("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new an("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new an("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new an("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new an("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new an("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,s=arguments.length>4?arguments[4]:null,o=arguments.length>5?arguments[5]:null,a=arguments.length>6?arguments[6]:!1,l=!!Pc&&Pc(e,r);if($c)$c(e,r,{configurable:o===null&&l?l.configurable:!o,enumerable:i===null&&l?l.enumerable:!i,value:n,writable:s===null&&l?l.writable:!s});else if(a||!i&&!s&&!o)e[r]=n;else throw new d7("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},P0=K2(),l5=function(){return!!P0};l5.hasArrayLengthDefineBug=function(){if(!P0)return null;try{return P0([],"length",{value:1}).length!==1}catch(e){return!0}};var g7=l5,v7=Kn,Mc=p7,y7=g7(),Fc=a5,Uc=cs,m7=v7("%Math.floor%"),b7=function(e,r){if(typeof e!="function")throw new Uc("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||m7(r)!==r)throw new Uc("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,s=!0;if("length"in e&&Fc){var o=Fc(e,"length");o&&!o.configurable&&(i=!1),o&&!o.writable&&(s=!1)}return(i||s||!n)&&(y7?Mc(e,"length",r,!0,!0):Mc(e,"length",r)),e};(function(t){var e=q2,r=Kn,n=b7,i=cs,s=r("%Function.prototype.apply%"),o=r("%Function.prototype.call%"),a=r("%Reflect.apply%",!0)||e.call(o,s),l=K2(),c=r("%Math.max%");t.exports=function(d){if(typeof d!="function")throw new i("a function is required");var p=a(e,o,arguments);return n(p,1+c(0,d.length-(arguments.length-1)),!0)};var h=function(){return a(e,s,arguments)};l?l(t.exports,"apply",{value:h}):t.exports.apply=h})(o5);var _7=o5.exports,c5=Kn,u5=_7,w7=u5(c5("String.prototype.indexOf")),C7=function(e,r){var n=c5(e,!!r);return typeof n=="function"&&w7(e,".prototype.")>-1?u5(n):n};const A7={},S7=Object.freeze(Object.defineProperty({__proto__:null,default:A7},Symbol.toStringTag,{value:"Module"})),T7=$8(S7);var Q2=typeof Map=="function"&&Map.prototype,ol=Object.getOwnPropertyDescriptor&&Q2?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Fo=Q2&&ol&&typeof ol.get=="function"?ol.get:null,zc=Q2&&Map.prototype.forEach,W2=typeof Set=="function"&&Set.prototype,al=Object.getOwnPropertyDescriptor&&W2?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Uo=W2&&al&&typeof al.get=="function"?al.get:null,Vc=W2&&Set.prototype.forEach,E7=typeof WeakMap=="function"&&WeakMap.prototype,Ni=E7?WeakMap.prototype.has:null,I7=typeof WeakSet=="function"&&WeakSet.prototype,Ri=I7?WeakSet.prototype.has:null,k7=typeof WeakRef=="function"&&WeakRef.prototype,jc=k7?WeakRef.prototype.deref:null,x7=Boolean.prototype.valueOf,L7=Object.prototype.toString,O7=Function.prototype.toString,N7=String.prototype.match,G2=String.prototype.slice,yr=String.prototype.replace,R7=String.prototype.toUpperCase,Hc=String.prototype.toLowerCase,h5=RegExp.prototype.test,qc=Array.prototype.concat,Lt=Array.prototype.join,D7=Array.prototype.slice,Kc=Math.floor,M0=typeof BigInt=="function"?BigInt.prototype.valueOf:null,ll=Object.getOwnPropertySymbols,F0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Mn=typeof Symbol=="function"&&typeof Symbol.iterator=="object",qe=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Mn||!0)?Symbol.toStringTag:null,f5=Object.prototype.propertyIsEnumerable,Qc=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function Wc(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||h5.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var n=t<0?-Kc(-t):Kc(t);if(n!==t){var i=String(n),s=G2.call(e,i.length+1);return yr.call(i,r,"$&_")+"."+yr.call(yr.call(s,/([0-9]{3})/g,"$&_"),/_$/,"")}}return yr.call(e,r,"$&_")}var U0=T7,Gc=U0.custom,Zc=p5(Gc)?Gc:null,B7=function t(e,r,n,i){var s=r||{};if(fr(s,"quoteStyle")&&s.quoteStyle!=="single"&&s.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(fr(s,"maxStringLength")&&(typeof s.maxStringLength=="number"?s.maxStringLength<0&&s.maxStringLength!==1/0:s.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var o=fr(s,"customInspect")?s.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(fr(s,"indent")&&s.indent!==null&&s.indent!=="	"&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(fr(s,"numericSeparator")&&typeof s.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var a=s.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return v5(e,s);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var l=String(e);return a?Wc(e,l):l}if(typeof e=="bigint"){var c=String(e)+"n";return a?Wc(e,c):c}var h=typeof s.depth>"u"?5:s.depth;if(typeof n>"u"&&(n=0),n>=h&&h>0&&typeof e=="object")return z0(e)?"[Array]":"[Object]";var f=X7(s,n);if(typeof i>"u")i=[];else if(g5(i,e)>=0)return"[Circular]";function d(Ce,sr,or){if(sr&&(i=D7.call(i),i.push(sr)),or){var li={depth:s.depth};return fr(s,"quoteStyle")&&(li.quoteStyle=s.quoteStyle),t(Ce,li,n+1,i)}return t(Ce,s,n+1,i)}if(typeof e=="function"&&!Yc(e)){var p=H7(e),y=Os(e,d);return"[Function"+(p?": "+p:" (anonymous)")+"]"+(y.length>0?" { "+Lt.call(y,", ")+" }":"")}if(p5(e)){var m=Mn?yr.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):F0.call(e);return typeof e=="object"&&!Mn?ui(m):m}if(Z7(e)){for(var _="<"+Hc.call(String(e.nodeName)),A=e.attributes||[],x=0;x<A.length;x++)_+=" "+A[x].name+"="+d5($7(A[x].value),"double",s);return _+=">",e.childNodes&&e.childNodes.length&&(_+="..."),_+="</"+Hc.call(String(e.nodeName))+">",_}if(z0(e)){if(e.length===0)return"[]";var L=Os(e,d);return f&&!J7(L)?"["+V0(L,f)+"]":"[ "+Lt.call(L,", ")+" ]"}if(M7(e)){var S=Os(e,d);return!("cause"in Error.prototype)&&"cause"in e&&!f5.call(e,"cause")?"{ ["+String(e)+"] "+Lt.call(qc.call("[cause]: "+d(e.cause),S),", ")+" }":S.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+Lt.call(S,", ")+" }"}if(typeof e=="object"&&o){if(Zc&&typeof e[Zc]=="function"&&U0)return U0(e,{depth:h-n});if(o!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(q7(e)){var N=[];return zc&&zc.call(e,function(Ce,sr){N.push(d(sr,e,!0)+" => "+d(Ce,e))}),Jc("Map",Fo.call(e),N,f)}if(W7(e)){var w=[];return Vc&&Vc.call(e,function(Ce){w.push(d(Ce,e))}),Jc("Set",Uo.call(e),w,f)}if(K7(e))return cl("WeakMap");if(G7(e))return cl("WeakSet");if(Q7(e))return cl("WeakRef");if(U7(e))return ui(d(Number(e)));if(V7(e))return ui(d(M0.call(e)));if(z7(e))return ui(x7.call(e));if(F7(e))return ui(d(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(e===Ti)return"{ [object globalThis] }";if(!P7(e)&&!Yc(e)){var Q=Os(e,d),G=Qc?Qc(e)===Object.prototype:e instanceof Object||e.constructor===Object,re=e instanceof Object?"":"null prototype",j=!G&&qe&&Object(e)===e&&qe in e?G2.call(Ir(e),8,-1):re?"Object":"",R=G||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",W=R+(j||re?"["+Lt.call(qc.call([],j||[],re||[]),": ")+"] ":"");return Q.length===0?W+"{}":f?W+"{"+V0(Q,f)+"}":W+"{ "+Lt.call(Q,", ")+" }"}return String(e)};function d5(t,e,r){var n=(r.quoteStyle||e)==="double"?'"':"'";return n+t+n}function $7(t){return yr.call(String(t),/"/g,"&quot;")}function z0(t){return Ir(t)==="[object Array]"&&(!qe||!(typeof t=="object"&&qe in t))}function P7(t){return Ir(t)==="[object Date]"&&(!qe||!(typeof t=="object"&&qe in t))}function Yc(t){return Ir(t)==="[object RegExp]"&&(!qe||!(typeof t=="object"&&qe in t))}function M7(t){return Ir(t)==="[object Error]"&&(!qe||!(typeof t=="object"&&qe in t))}function F7(t){return Ir(t)==="[object String]"&&(!qe||!(typeof t=="object"&&qe in t))}function U7(t){return Ir(t)==="[object Number]"&&(!qe||!(typeof t=="object"&&qe in t))}function z7(t){return Ir(t)==="[object Boolean]"&&(!qe||!(typeof t=="object"&&qe in t))}function p5(t){if(Mn)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!F0)return!1;try{return F0.call(t),!0}catch(e){}return!1}function V7(t){if(!t||typeof t!="object"||!M0)return!1;try{return M0.call(t),!0}catch(e){}return!1}var j7=Object.prototype.hasOwnProperty||function(t){return t in this};function fr(t,e){return j7.call(t,e)}function Ir(t){return L7.call(t)}function H7(t){if(t.name)return t.name;var e=N7.call(O7.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function g5(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function q7(t){if(!Fo||!t||typeof t!="object")return!1;try{Fo.call(t);try{Uo.call(t)}catch(e){return!0}return t instanceof Map}catch(e){}return!1}function K7(t){if(!Ni||!t||typeof t!="object")return!1;try{Ni.call(t,Ni);try{Ri.call(t,Ri)}catch(e){return!0}return t instanceof WeakMap}catch(e){}return!1}function Q7(t){if(!jc||!t||typeof t!="object")return!1;try{return jc.call(t),!0}catch(e){}return!1}function W7(t){if(!Uo||!t||typeof t!="object")return!1;try{Uo.call(t);try{Fo.call(t)}catch(e){return!0}return t instanceof Set}catch(e){}return!1}function G7(t){if(!Ri||!t||typeof t!="object")return!1;try{Ri.call(t,Ri);try{Ni.call(t,Ni)}catch(e){return!0}return t instanceof WeakSet}catch(e){}return!1}function Z7(t){return!t||typeof t!="object"?!1:typeof HTMLElement<"u"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}function v5(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return v5(G2.call(t,0,e.maxStringLength),e)+n}var i=yr.call(yr.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Y7);return d5(i,"single",e)}function Y7(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+R7.call(e.toString(16))}function ui(t){return"Object("+t+")"}function cl(t){return t+" { ? }"}function Jc(t,e,r,n){var i=n?V0(r,n):Lt.call(r,", ");return t+" ("+e+") {"+i+"}"}function J7(t){for(var e=0;e<t.length;e++)if(g5(t[e],"\n")>=0)return!1;return!0}function X7(t,e){var r;if(t.indent==="	")r="	";else if(typeof t.indent=="number"&&t.indent>0)r=Lt.call(Array(t.indent+1)," ");else return null;return{base:r,prev:Lt.call(Array(e+1),r)}}function V0(t,e){if(t.length===0)return"";var r="\n"+e.prev+e.base;return r+Lt.call(t,","+r)+"\n"+e.prev}function Os(t,e){var r=z0(t),n=[];if(r){n.length=t.length;for(var i=0;i<t.length;i++)n[i]=fr(t,i)?e(t[i],t):""}var s=typeof ll=="function"?ll(t):[],o;if(Mn){o={};for(var a=0;a<s.length;a++)o["$"+s[a]]=s[a]}for(var l in t)fr(t,l)&&(r&&String(Number(l))===l&&l<t.length||Mn&&o["$"+l]instanceof Symbol||(h5.call(/[^\w$]/,l)?n.push(e(l,t)+": "+e(t[l],t)):n.push(l+": "+e(t[l],t))));if(typeof ll=="function")for(var c=0;c<s.length;c++)f5.call(t,s[c])&&n.push("["+e(s[c])+"]: "+e(t[s[c]],t));return n}var y5=Kn,Qn=C7,ey=B7,ty=cs,Ns=y5("%WeakMap%",!0),Rs=y5("%Map%",!0),ry=Qn("WeakMap.prototype.get",!0),ny=Qn("WeakMap.prototype.set",!0),iy=Qn("WeakMap.prototype.has",!0),sy=Qn("Map.prototype.get",!0),oy=Qn("Map.prototype.set",!0),ay=Qn("Map.prototype.has",!0),Z2=function(t,e){for(var r=t,n;(n=r.next)!==null;r=n)if(n.key===e)return r.next=n.next,n.next=t.next,t.next=n,n},ly=function(t,e){var r=Z2(t,e);return r&&r.value},cy=function(t,e,r){var n=Z2(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}},uy=function(t,e){return!!Z2(t,e)},hy=function(){var e,r,n,i={assert:function(s){if(!i.has(s))throw new ty("Side channel does not contain "+ey(s))},get:function(s){if(Ns&&s&&(typeof s=="object"||typeof s=="function")){if(e)return ry(e,s)}else if(Rs){if(r)return sy(r,s)}else if(n)return ly(n,s)},has:function(s){if(Ns&&s&&(typeof s=="object"||typeof s=="function")){if(e)return iy(e,s)}else if(Rs){if(r)return ay(r,s)}else if(n)return uy(n,s);return!1},set:function(s,o){Ns&&s&&(typeof s=="object"||typeof s=="function")?(e||(e=new Ns),ny(e,s,o)):Rs?(r||(r=new Rs),oy(r,s,o)):(n||(n={key:{},next:null}),cy(n,s,o))}};return i},fy=String.prototype.replace,dy=/%20/g,ul={RFC1738:"RFC1738",RFC3986:"RFC3986"},Y2={default:ul.RFC3986,formatters:{RFC1738:function(t){return fy.call(t,dy,"+")},RFC3986:function(t){return String(t)}},RFC1738:ul.RFC1738,RFC3986:ul.RFC3986},py=Y2,hl=Object.prototype.hasOwnProperty,Ur=Array.isArray,St=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),gy=function(e){for(;e.length>1;){var r=e.pop(),n=r.obj[r.prop];if(Ur(n)){for(var i=[],s=0;s<n.length;++s)typeof n[s]<"u"&&i.push(n[s]);r.obj[r.prop]=i}}},m5=function(e,r){for(var n=r&&r.plainObjects?Object.create(null):{},i=0;i<e.length;++i)typeof e[i]<"u"&&(n[i]=e[i]);return n},vy=function t(e,r,n){if(!r)return e;if(typeof r!="object"){if(Ur(e))e.push(r);else if(e&&typeof e=="object")(n&&(n.plainObjects||n.allowPrototypes)||!hl.call(Object.prototype,r))&&(e[r]=!0);else return[e,r];return e}if(!e||typeof e!="object")return[e].concat(r);var i=e;return Ur(e)&&!Ur(r)&&(i=m5(e,n)),Ur(e)&&Ur(r)?(r.forEach(function(s,o){if(hl.call(e,o)){var a=e[o];a&&typeof a=="object"&&s&&typeof s=="object"?e[o]=t(a,s,n):e.push(s)}else e[o]=s}),e):Object.keys(r).reduce(function(s,o){var a=r[o];return hl.call(s,o)?s[o]=t(s[o],a,n):s[o]=a,s},i)},yy=function(e,r){return Object.keys(r).reduce(function(n,i){return n[i]=r[i],n},e)},my=function(t,e,r){var n=t.replace(/\+/g," ");if(r==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(i){return n}},by=function(e,r,n,i,s){if(e.length===0)return e;var o=e;if(typeof e=="symbol"?o=Symbol.prototype.toString.call(e):typeof e!="string"&&(o=String(e)),n==="iso-8859-1")return escape(o).replace(/%u[0-9a-f]{4}/gi,function(h){return"%26%23"+parseInt(h.slice(2),16)+"%3B"});for(var a="",l=0;l<o.length;++l){var c=o.charCodeAt(l);if(c===45||c===46||c===95||c===126||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||s===py.RFC1738&&(c===40||c===41)){a+=o.charAt(l);continue}if(c<128){a=a+St[c];continue}if(c<2048){a=a+(St[192|c>>6]+St[128|c&63]);continue}if(c<55296||c>=57344){a=a+(St[224|c>>12]+St[128|c>>6&63]+St[128|c&63]);continue}l+=1,c=65536+((c&1023)<<10|o.charCodeAt(l)&1023),a+=St[240|c>>18]+St[128|c>>12&63]+St[128|c>>6&63]+St[128|c&63]}return a},_y=function(e){for(var r=[{obj:{o:e},prop:"o"}],n=[],i=0;i<r.length;++i)for(var s=r[i],o=s.obj[s.prop],a=Object.keys(o),l=0;l<a.length;++l){var c=a[l],h=o[c];typeof h=="object"&&h!==null&&n.indexOf(h)===-1&&(r.push({obj:o,prop:c}),n.push(h))}return gy(r),e},wy=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},Cy=function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},Ay=function(e,r){return[].concat(e,r)},Sy=function(e,r){if(Ur(e)){for(var n=[],i=0;i<e.length;i+=1)n.push(r(e[i]));return n}return r(e)},b5={arrayToObject:m5,assign:yy,combine:Ay,compact:_y,decode:my,encode:by,isBuffer:Cy,isRegExp:wy,maybeMap:Sy,merge:vy},_5=hy,So=b5,Di=Y2,Ty=Object.prototype.hasOwnProperty,w5={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,r){return e+"["+r+"]"},repeat:function(e){return e}},kt=Array.isArray,Ey=Array.prototype.push,C5=function(t,e){Ey.apply(t,kt(e)?e:[e])},Iy=Date.prototype.toISOString,Xc=Di.default,De={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:So.encode,encodeValuesOnly:!1,format:Xc,formatter:Di.formatters[Xc],indices:!1,serializeDate:function(e){return Iy.call(e)},skipNulls:!1,strictNullHandling:!1},ky=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},fl={},xy=function t(e,r,n,i,s,o,a,l,c,h,f,d,p,y,m,_,A,x){for(var L=e,S=x,N=0,w=!1;(S=S.get(fl))!==void 0&&!w;){var Q=S.get(e);if(N+=1,typeof Q<"u"){if(Q===N)throw new RangeError("Cyclic object value");w=!0}typeof S.get(fl)>"u"&&(N=0)}if(typeof h=="function"?L=h(r,L):L instanceof Date?L=p(L):n==="comma"&&kt(L)&&(L=So.maybeMap(L,function(Ya){return Ya instanceof Date?p(Ya):Ya})),L===null){if(o)return c&&!_?c(r,De.encoder,A,"key",y):r;L=""}if(ky(L)||So.isBuffer(L)){if(c){var G=_?r:c(r,De.encoder,A,"key",y);return[m(G)+"="+m(c(L,De.encoder,A,"value",y))]}return[m(r)+"="+m(String(L))]}var re=[];if(typeof L>"u")return re;var j;if(n==="comma"&&kt(L))_&&c&&(L=So.maybeMap(L,c)),j=[{value:L.length>0?L.join(",")||null:void 0}];else if(kt(h))j=h;else{var R=Object.keys(L);j=f?R.sort(f):R}var W=l?r.replace(/\./g,"%2E"):r,Ce=i&&kt(L)&&L.length===1?W+"[]":W;if(s&&kt(L)&&L.length===0)return Ce+"[]";for(var sr=0;sr<j.length;++sr){var or=j[sr],li=typeof or=="object"&&typeof or.value<"u"?or.value:L[or];if(!(a&&li===null)){var Za=d&&l?or.replace(/\./g,"%2E"):or,S8=kt(L)?typeof n=="function"?n(Ce,Za):Ce:Ce+(d?"."+Za:"["+Za+"]");x.set(e,N);var yc=_5();yc.set(fl,x),C5(re,t(li,S8,n,i,s,o,a,l,n==="comma"&&_&&kt(L)?null:c,h,f,d,p,y,m,_,A,yc))}}return re},Ly=function(e){if(!e)return De;if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.encodeDotInKeys<"u"&&typeof e.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=e.charset||De.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=Di.default;if(typeof e.format<"u"){if(!Ty.call(Di.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var i=Di.formatters[n],s=De.filter;(typeof e.filter=="function"||kt(e.filter))&&(s=e.filter);var o;if(e.arrayFormat in w5?o=e.arrayFormat:"indices"in e?o=e.indices?"indices":"repeat":o=De.arrayFormat,"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var a=typeof e.allowDots>"u"?e.encodeDotInKeys===!0?!0:De.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:De.addQueryPrefix,allowDots:a,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:De.allowEmptyArrays,arrayFormat:o,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:De.charsetSentinel,commaRoundTrip:e.commaRoundTrip,delimiter:typeof e.delimiter>"u"?De.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:De.encode,encodeDotInKeys:typeof e.encodeDotInKeys=="boolean"?e.encodeDotInKeys:De.encodeDotInKeys,encoder:typeof e.encoder=="function"?e.encoder:De.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:De.encodeValuesOnly,filter:s,format:n,formatter:i,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:De.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:De.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:De.strictNullHandling}},Oy=function(t,e){var r=t,n=Ly(e),i,s;typeof n.filter=="function"?(s=n.filter,r=s("",r)):kt(n.filter)&&(s=n.filter,i=s);var o=[];if(typeof r!="object"||r===null)return"";var a=w5[n.arrayFormat],l=a==="comma"&&n.commaRoundTrip;i||(i=Object.keys(r)),n.sort&&i.sort(n.sort);for(var c=_5(),h=0;h<i.length;++h){var f=i[h];n.skipNulls&&r[f]===null||C5(o,xy(r[f],f,a,l,n.allowEmptyArrays,n.strictNullHandling,n.skipNulls,n.encodeDotInKeys,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,c))}var d=o.join(n.delimiter),p=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?p+="utf8=%26%2310003%3B&":p+="utf8=%E2%9C%93&"),d.length>0?p+d:""},Fn=b5,j0=Object.prototype.hasOwnProperty,Ny=Array.isArray,Se={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!0,decoder:Fn.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},Ry=function(t){return t.replace(/&#(\d+);/g,function(e,r){return String.fromCharCode(parseInt(r,10))})},A5=function(t,e){return t&&typeof t=="string"&&e.comma&&t.indexOf(",")>-1?t.split(","):t},Dy="utf8=%26%2310003%3B",By="utf8=%E2%9C%93",$y=function(e,r){var n={__proto__:null},i=r.ignoreQueryPrefix?e.replace(/^\?/,""):e,s=r.parameterLimit===1/0?void 0:r.parameterLimit,o=i.split(r.delimiter,s),a=-1,l,c=r.charset;if(r.charsetSentinel)for(l=0;l<o.length;++l)o[l].indexOf("utf8=")===0&&(o[l]===By?c="utf-8":o[l]===Dy&&(c="iso-8859-1"),a=l,l=o.length);for(l=0;l<o.length;++l)if(l!==a){var h=o[l],f=h.indexOf("]="),d=f===-1?h.indexOf("="):f+1,p,y;d===-1?(p=r.decoder(h,Se.decoder,c,"key"),y=r.strictNullHandling?null:""):(p=r.decoder(h.slice(0,d),Se.decoder,c,"key"),y=Fn.maybeMap(A5(h.slice(d+1),r),function(_){return r.decoder(_,Se.decoder,c,"value")})),y&&r.interpretNumericEntities&&c==="iso-8859-1"&&(y=Ry(y)),h.indexOf("[]=")>-1&&(y=Ny(y)?[y]:y);var m=j0.call(n,p);m&&r.duplicates==="combine"?n[p]=Fn.combine(n[p],y):(!m||r.duplicates==="last")&&(n[p]=y)}return n},Py=function(t,e,r,n){for(var i=n?e:A5(e,r),s=t.length-1;s>=0;--s){var o,a=t[s];if(a==="[]"&&r.parseArrays)o=r.allowEmptyArrays&&i===""?[]:[].concat(i);else{o=r.plainObjects?Object.create(null):{};var l=a.charAt(0)==="["&&a.charAt(a.length-1)==="]"?a.slice(1,-1):a,c=r.decodeDotInKeys?l.replace(/%2E/g,"."):l,h=parseInt(c,10);!r.parseArrays&&c===""?o={0:i}:!isNaN(h)&&a!==c&&String(h)===c&&h>=0&&r.parseArrays&&h<=r.arrayLimit?(o=[],o[h]=i):c!=="__proto__"&&(o[c]=i)}i=o}return i},My=function(e,r,n,i){if(e){var s=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,o=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,l=n.depth>0&&o.exec(s),c=l?s.slice(0,l.index):s,h=[];if(c){if(!n.plainObjects&&j0.call(Object.prototype,c)&&!n.allowPrototypes)return;h.push(c)}for(var f=0;n.depth>0&&(l=a.exec(s))!==null&&f<n.depth;){if(f+=1,!n.plainObjects&&j0.call(Object.prototype,l[1].slice(1,-1))&&!n.allowPrototypes)return;h.push(l[1])}return l&&h.push("["+s.slice(l.index)+"]"),Py(h,r,n,i)}},Fy=function(e){if(!e)return Se;if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.decodeDotInKeys<"u"&&typeof e.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(e.decoder!==null&&typeof e.decoder<"u"&&typeof e.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=typeof e.charset>"u"?Se.charset:e.charset,n=typeof e.duplicates>"u"?Se.duplicates:e.duplicates;if(n!=="combine"&&n!=="first"&&n!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var i=typeof e.allowDots>"u"?e.decodeDotInKeys===!0?!0:Se.allowDots:!!e.allowDots;return{allowDots:i,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:Se.allowEmptyArrays,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:Se.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:Se.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:Se.arrayLimit,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:Se.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:Se.comma,decodeDotInKeys:typeof e.decodeDotInKeys=="boolean"?e.decodeDotInKeys:Se.decodeDotInKeys,decoder:typeof e.decoder=="function"?e.decoder:Se.decoder,delimiter:typeof e.delimiter=="string"||Fn.isRegExp(e.delimiter)?e.delimiter:Se.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:Se.depth,duplicates:n,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:Se.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:Se.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:Se.plainObjects,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:Se.strictNullHandling}},Uy=function(t,e){var r=Fy(e);if(t===""||t===null||typeof t>"u")return r.plainObjects?Object.create(null):{};for(var n=typeof t=="string"?$y(t,r):t,i=r.plainObjects?Object.create(null):{},s=Object.keys(n),o=0;o<s.length;++o){var a=s[o],l=My(a,n[a],r,typeof t=="string");i=Fn.merge(i,l,r)}return r.allowSparse===!0?i:Fn.compact(i)},zy=Oy,Vy=Uy,jy=Y2,Hy={formats:jy,parse:Vy,stringify:zy};const S5=P8(Hy),zo=t=>new Promise((e,r)=>{let n=t.url,i=t.callback||("jsonp_"+Math.random()).replace(".",""),s=t.data?"&"+S5.stringify(t.data):"",o=qy(n)+(~n.indexOf("?")?"&":"?")+"callback="+i+s,a=t.timeout||2e4,l=null,c,h,f;window[i]=d=>{clearTimeout(f),l=d},c=({type:d})=>{let p=0,y;d==="load"&&l!==null?(p=200,y="OK"):d==="error"?(p=500,y="error load"):d==="abort"&&(p=400,y="timeout",r(new Error("JSONP request to ".concat(o," timed out")))),p&&window[i]&&(delete window[i],document.head.removeChild(h)),e(e({body:l,status:p,statusText:y}))},f=setTimeout(function(){window[i]=null,document.head.removeChild(h),c({type:"abort"})},a),h=document.createElement("script"),h.src=o,h.type="text/javascript",h.async=!0,h.onload=c,h.onerror=c,document.head.appendChild(h)}),qy=t=>!~t.indexOf("http")&&~t.indexOf(".com")?window.location.protocol+t:t;var Vo={remindIframe:null,remindIframeUrl:"",service:"",userId:""};const eu=(t=0)=>{Vo.userId=t||0,Vo.service=pa()},Ky=async(t=[])=>{try{const e=await zo({url:Vo.service+"v1/pc/user/batch/online",data:{userIds:t.join(",")}}),{status:r}=e;if(!r)throw"getOnlineState error";const{result:n}=e.body;return n}catch(e){return Promise.reject(e)}},Qy=(t,e=!1)=>{if(Vo.userId<=0){alert("请登录");return}let r="".concat(pa(),"?talkId=").concat(t);e&&(r="".concat(r,"$sendReferer=1$url=").concat(window.location.href)),T5(r)},Wy=()=>{const t="".concat(pa(),"#customerService");T5(t)},T5=t=>{const e=t||pa();window.open(e,"_blank")},pa=()=>{var t=window.location.href.match(/^http[s]?:\/\/(\w+)\.([\w\.]+)/);if(t&&t.length>1){if(/neibu|dev/.test(t[1]))return document.location.protocol+"//neibumessage.kongfz.com/";if(/kfz\.(com|cn)/.test(t[2]))return document.location.protocol+"//message.kfz.com/"}return document.location.protocol+"//message.kongfz.com/"},Gy={appName:"WEB_KFZ_WEB_NOTICE",site:{message:"",subs:""},$interface:{},$eventBus:null,init:function(t,e){return this.site.message=t.siteMessage,this.site.subs=t.siteSubs,this.$eventBus=t.$eventBus,this.$interface={getOnlineState:Ky,talk:Qy,openCustomService:Wy},Z({method:"get",url:"/message-web/v2/pc/message/init"}).then(r=>{if(r.data.status){let n={settings:r.data.data.settings};e&&e(n),this.msgNotice({unreadNum:r.data.data.unreadTotal,isInit:!0}),this.initSubsockets();const i=r.data.data.userId;eu(i)}else eu(0)}).catch(()=>{}),this.$interface},initSubsockets:function(){new n5({init:!0,url:this.site.subs+"ws",client:"pc",clientVersion:"1.1",on:{message:t=>{this.updateMessage(t)},open:t=>{},close:t=>{},error:t=>{}}})},updateMessage:function(t){t.channel=="UNREAD_NUM"?t.data&&(t.data.isInit=!1,this.msgNotice(t.data)):t.channel=="AUCTION_BID"?this.auctionBidNotice(t.data):t.channel=="LIVE_ROOM"&&this.liveRoomNotice(t.data)},msgNotice:function(t){this.$eventBus.emit("msgNotice",t)},auctionBidNotice:function(t){this.$eventBus.emit("bidNotice",t)},liveRoomNotice:function(t){this.$eventBus.emit("liveRoomNotice",t)}},Zy={class:"info-domain"},Yy=u("div",{class:"title"},[u("span",{class:"global-iconfont global-icon-dianpu"}),u("span",{class:"text"},"店铺")],-1),Jy=["href"],Xy=["href"],e9=["href"],t9=["href"],r9=["href"],n9={class:"info-domain"},i9=u("div",{class:"title"},[u("span",{class:"global-iconfont global-icon-bid"}),u("span",{class:"text"},"拍卖")],-1),s9=["href"],o9=["href"],a9=["href"],l9=["href"],c9={key:0,class:"info-domain"},u9=u("div",{class:"title"},null,-1),h9=["href"],f9=tt({name:"SellerLayer",__name:"SellerLayer",props:{userType:{type:String,default:""}},setup(t){const e=Pt(),r=(e==null?void 0:e.appContext.config.globalProperties.$sites)||{};return(n,i)=>(g(),v("div",{class:T((t.userType.indexOf("shopkeeper")!=-1||t.userType.indexOf("bookstaller")!=-1)&&t.userType.indexOf("auctioneer")!=-1?"seller-center":"no-seller-center")},[u("div",Zy,[Yy,t.userType.indexOf("shopkeeper")!=-1||t.userType.indexOf("bookstaller")!=-1?(g(),v(P,{key:0},[u("a",{href:O(r).s_seller+"pc/upbook/index#/",class:"item",target:"_blank"},"添加商品",8,Jy),u("a",{href:O(r).s_seller+"shop/item.html#unsold_9743",class:"item",target:"_blank"},"商品管理",8,Xy),u("a",{href:O(r).s_order+"order-views/management/seller/list",class:"item",target:"_blank"},"订单管理",8,e9)],64)):(g(),v(P,{key:1},[u("a",{href:O(r).s_shop+"seller/apply/tan.html",class:"item",target:"_blank"},"免费摆书摊",8,t9),u("a",{href:O(r).s_shop+"seller/apply/shop.html",class:"item",target:"_blank"},"申请开店",8,r9)],64))]),u("div",n9,[i9,t.userType.indexOf("auctioneer")!=-1?(g(),v(P,{key:0},[u("a",{href:O(r).s_pm+"seller/product.html#add",class:"item",target:"_blank"},"添加拍品",8,s9),u("a",{href:O(r).s_pm+"seller/product_list.html",class:"item",target:"_blank"},"拍品管理",8,o9),u("a",{href:O(r).s_pm+"trade-views/management/seller/list",class:"item",target:"_blank"},"交易管理",8,a9)],64)):(g(),v("a",{key:1,href:O(r).s_pm+"index/apply/",class:"item",target:"_blank",rel:"nofollow"},"申请拍卖会员",8,l9))]),t.userType.indexOf("shopkeeper")!=-1||t.userType.indexOf("bookstaller")!=-1||t.userType.indexOf("auctioneer")!=-1?(g(),v("div",c9,[u9,u("a",{href:O(r).pay+"m-pc-finance/merchant/account",class:"item",target:"_blank"},"卖家收入",8,h9)])):b("",!0)],2))}}),d9="https://static.kongfz.com/search-v3/assets/images/bg-kong-D_NbBnsy.png",p9={key:0,class:"no-login-cart-none-box"},g9=u("div",{class:"tip"},[u("span",{class:"text"},"您的购物车是空的，"),u("span",{class:"text"},"登录后可以同步购物车中的商品哦")],-1),v9={key:1,class:"cart-none-box"},y9=u("div",{class:"iconfont icon-gouwuche-empty"},null,-1),m9=u("div",{class:"tip"},"您的购物车是空的，快去挑点好书放进来吧。",-1),b9=[y9,m9],_9={key:2,class:"cart-list-box"},w9=u("div",{class:"title"},"最近加入的商品:",-1),C9={class:"item-list"},A9=["href"],S9=["src","onError"],T9=["href"],E9={class:"info"},I9={class:"price"},k9={class:"del-box"},x9=["onClick"],L9={class:"btn-box clearfix"},O9={key:0,class:"tip"},N9=u("span",null,"购物车里还有",-1),R9={class:"num"},D9=u("span",null,"件商品",-1),B9=["href"],$9=tt({name:"CartLayer",__name:"CartLayer",props:{isLogin:{type:Boolean,default:!1},list:{type:Array,default:()=>[]},cartNum:{type:Number},upCartItem:{type:Function}},emits:["loginClick"],setup(t,{emit:e}){const r=t,n=e,i=Pt(),s=(i==null?void 0:i.appContext.config.globalProperties.$sites)||{},o={},a=ce(!1),l=f=>{f.imgUrl=d9},c=(f,d,p)=>{o.shopId=f,o.itemId=p,o.num=1,zo({url:"".concat(s.s_cart,"jsonp/delCartItem"),data:{carts:[{cartId:d,itemId:p}]}}).then(y=>{y.body.status&&(r.upCartItem&&r.upCartItem(),a.value=!0)})},h=()=>{zo({url:"".concat(s.s_cart,"jsonp/add/"),data:{shopId:o.shopId,itemId:o.itemId,number:1,note:""}}).then(f=>{f.body.status&&(r.upCartItem&&r.upCartItem(),a.value=!1)})};return(f,d)=>(g(),v("div",null,[!t.isLogin&&!t.list.length?(g(),v("div",p9,[g9,u("div",{class:"login-btn",onClick:d[0]||(d[0]=p=>n("loginClick"))},"登录")])):b("",!0),t.isLogin&&!t.list.length?(g(),v("div",v9,b9)):b("",!0),t.list.length?(g(),v("div",_9,[w9,u("div",C9,[(g(!0),v(P,null,oe(t.list,p=>(g(),v("div",{key:p.itemId,class:"item clearfix"},[u("a",{class:T(["img-box",p.imgUrl.indexOf("bg-kong")>-1?"err-img":""]),href:O(s).book+p.shopId+"/"+p.itemId+"/",target:"_blank"},[u("img",{src:p.imgUrl,onError:y=>l(p),alt:""},null,40,S9)],10,A9),u("a",{href:O(s).book+p.shopId+"/"+p.itemId+"/",class:"name",target:"_blank"},C(p.itemName),9,T9),u("div",E9,[u("div",I9,"￥"+C(p.price),1),u("div",k9,[u("span",{class:"del-btn",onClick:y=>c(p.shopId,p.cartId,p.itemId)},"删除",8,x9)])])]))),128))]),a.value?(g(),v("div",{key:0,class:"revoke-btn",onClick:h},"误删了？点击这里找回商品")):b("",!0),u("div",L9,[t.cartNum&&t.cartNum>5?(g(),v("div",O9,[N9,u("span",R9,C(t.cartNum-5),1),D9])):b("",!0),u("a",{href:O(s).s_cart+"list",class:"btn",target:"_blank"},"查看我的购物车",8,B9)])])):b("",!0)]))}});window.loginWin=function(t,e,r){var n,i=document.createElement("div"),s=document.createElement("div"),o=document.getElementsByTagName("BODY")[0];i.id="loginWinMask",s.id="loginWin",i.style.cssText="position: fixed;top: 0px;left: 0px;z-index: 100000000;width: 100%;height: 100%;background-color: #000;filter: alpha(opacity=50); opacity: .5;",s.style.cssText="position: fixed;top: 50%;left: 50%;z-index: 100000001;width: 450px;height: 472px;margin-top: -236px;margin-left: -200px;font-family: 'microsoft yahei';";var a=location.href;r?a.charAt(a.length-1)=="#"?e=="login"?n=t+"Pc/Login/iframe?returnUrl="+a+"hashAction-"+r:e=="register"&&(n=t+"Pc/Login/iframe#tab-2?returnUrl="+a+"hashAction-"+r):e=="login"?n=t+"Pc/Login/iframe?returnUrl="+a+"#hashAction-"+r:e=="register"&&(n=t+"Pc/Login/iframe#tab-2?returnUrl="+a+"#hashAction-"+r):(a.charAt(a.length-1)=="#",e=="login"?n=t+"Pc/Login/iframe?returnUrl="+a:e=="register"&&(n=t+"Pc/Login/iframe#tab-2?returnUrl="+a));var l="<div class='closeBtn' style='position: absolute;z-index: 1;top: 0;right: -52px;width: 32px;height: 32px;'><a id='loginWinCloseBtn' href='javascript:;' style='display: none;cursor: pointer;width: 32px;height: 32px;background: url("+t+"/pc/images/login/close.png) no-repeat center;background-size: 100%;' title='关闭'></a></div><iframe src='"+n+"' width='450px' height='472px' frameborder='0' scrolling='no' id='iframe_login'  allowtransparency='true'></iframe>";s.innerHTML=l,o.appendChild(i),o.appendChild(s);var c=document.getElementById("loginWinCloseBtn");c.onclick=function(){f(i),f(s)};var h=document.getElementById("iframe_login");h.attachEvent?h.attachEvent("onload",function(){c.style.display="block"}):h.onload=function(){c.style.display="block"};function f(d){var p=d.parentNode;p&&p.removeChild(d)}};window.onload=function(){var t,e=window.location.search.substr(1).split("&"),r={},n;for(t=0;t<e.length;t++)n=e[t].split("="),n[0].length&&(r[n[0]]=decodeURI(n[1]));r.jsAction&&typeof window[r.jsAction]=="function"&&window[r.jsAction]()};window.lodingTip=function(t){t=t||"";var e=document.createElement("div"),r=document.createElement("div"),n=document.createElement("i"),i=document.createElement("img"),s=document.createElement("br"),o=document.getElementsByTagName("BODY")[0];return t=="close"&&(removeElement(e),removeElement(r),removeElement(n)),e.style.cssText="position: fixed;top:50%;left: 50%;width: 235px;height: 118px;line-height:54px;margin-top: -59px;margin-left: -117px;z-index: 100000;border-radius: 6px;text-align: center;font-size: 16px;color: #fff;background:url("+loginSite+"/pc/images/login/successbg.png) no-repeat 0 0;",r.style.cssText="position:fixed;left:0;top:0;z-index:10000;width:100%;height:100%;",n.style.cssText=" position:relative;top:-3px;margin-left: 4px;font-style:normal;",i.style.cssText="position:relative;top:26px;width:26px;height:26px;",i.src=loginSite+"/pc/images/login/loading1.gif",n.innerHTML=t,e.appendChild(i),e.appendChild(s),e.appendChild(n),e.appendChild(r),o.appendChild(e),e};const P9={key:0,class:"login-box"},M9={class:"other-login"},F9=u("div",{class:"title"},"其他方式",-1),U9={class:"login-list clearfix"},z9=u("div",{class:"icon-box"},[u("span",{class:"iconfont icon-weixin"})],-1),V9=u("div",{class:"text"},"微信",-1),j9=[z9,V9],H9=u("div",{class:"icon-box"},[u("span",{class:"iconfont icon-qq"})],-1),q9=u("div",{class:"text"},"QQ",-1),K9=[H9,q9],Q9=u("div",{class:"icon-box"},[u("span",{class:"iconfont icon-weibo"})],-1),W9=u("div",{class:"text"},"微博",-1),G9=[Q9,W9],Z9={key:1,class:"account-box clearfix"},Y9=["href"],J9=["src"],X9=u("span",{class:"iconfont icon-yonghutouxiang pic-ico hide"},null,-1),em={class:"btn-group"},tm=["href"],rm=u("span",{class:"btn-split"},"|",-1),nm=tt({name:"LoginLayer",__name:"LoginLayer",props:{userInfo:{type:Object,default:()=>{}}},emits:["loginClick"],setup(t,{emit:e}){const r=e,n=Pt(),i=(n==null?void 0:n.appContext.config.globalProperties.$sites)||{},s=()=>{typeof window.loginWin=="function"&&window.loginWin(i.s_login,"register")},o=()=>{location.href=i.s_login+"logout/"+a()},a=()=>{let c=window.location.hash.substr(1).replace(/\?.*/g,""),h=window.location.href.replace(/#[\w-/]*/gi,"").replace(/\?returnUrl=.*$/,"");return h="?returnUrl="+encodeURIComponent(h+(c?(/\?/.test(h)?"&":"?")+"hash="+c:"")),h},l=c=>{let h="";switch(c){case"weixin":h="Pc/Openweixin/loginOAuth2";break;case"qq":h="/Pc/Openqq/loginOAuth2";break;case"weibo":h="Pc/Openweibo/loginOAuth2";break}location.href=i.s_login+h+a()};return(c,h)=>(g(),v("div",null,[t.userInfo.isLogin?(g(),v("div",Z9,[u("a",{href:O(i).s_user+"person/person_info.html",class:"pic-box",target:"_blank"},[u("img",{class:"pic-img",src:t.userInfo.photo,alt:""},null,8,J9),X9],8,Y9),u("div",em,[u("a",{href:O(i).s_user+"person/person_info.html",class:"btn",target:"_blank"},"账号管理",8,tm),rm,u("span",{class:"btn logout-btn",onClick:o},"退出")])])):(g(),v("div",P9,[u("div",{class:"login-btn",onClick:h[0]||(h[0]=f=>r("loginClick"))},"登    录"),u("div",{class:"register-btn",onClick:s},"免费注册"),u("div",M9,[F9,u("div",U9,[u("div",{class:"login-weixin icon-btn",type:"weixin",onClick:h[1]||(h[1]=f=>l("weixin"))},j9),u("div",{class:"login-qq icon-btn",type:"qq",onClick:h[2]||(h[2]=f=>l("qq"))},K9),u("div",{class:"login-weibo icon-btn",type:"weibo",onClick:h[3]||(h[3]=f=>l("weibo"))},G9)])])]))]))}});var hi=function(t){return t&&t.Math===Math&&t},ae=hi(typeof globalThis=="object"&&globalThis)||hi(typeof window=="object"&&window)||hi(typeof self=="object"&&self)||hi(typeof Ti=="object"&&Ti)||hi(typeof Ti=="object"&&Ti)||function(){return this}()||Function("return this")(),Wn={},K=function(t){try{return!!t()}catch(e){return!0}},im=K,Oe=!im(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),sm=K,ga=!sm(function(){var t=(function(){}).bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),om=ga,Ds=Function.prototype.call,Ee=om?Ds.bind(Ds):function(){return Ds.apply(Ds,arguments)},J2={},E5={}.propertyIsEnumerable,I5=Object.getOwnPropertyDescriptor,am=I5&&!E5.call({1:2},1);J2.f=am?function(e){var r=I5(this,e);return!!r&&r.enumerable}:E5;var Gn=function(t,e){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:e}},k5=ga,x5=Function.prototype,H0=x5.call,lm=k5&&x5.bind.bind(H0,H0),Y=k5?lm:function(t){return function(){return H0.apply(t,arguments)}},L5=Y,cm=L5({}.toString),um=L5("".slice),er=function(t){return um(cm(t),8,-1)},hm=Y,fm=K,dm=er,dl=Object,pm=hm("".split),X2=fm(function(){return!dl("z").propertyIsEnumerable(0)})?function(t){return dm(t)==="String"?pm(t,""):dl(t)}:dl,Zn=function(t){return t==null},gm=Zn,vm=TypeError,Ft=function(t){if(gm(t))throw new vm("Can't call method on "+t);return t},ym=X2,mm=Ft,tr=function(t){return ym(mm(t))},pl=typeof document=="object"&&document.all,me=typeof pl>"u"&&pl!==void 0?function(t){return typeof t=="function"||t===pl}:function(t){return typeof t=="function"},bm=me,be=function(t){return typeof t=="object"?t!==null:bm(t)},gl=ae,_m=me,wm=function(t){return _m(t)?t:void 0},kr=function(t,e){return arguments.length<2?wm(gl[t]):gl[t]&&gl[t][e]},Cm=Y,Ut=Cm({}.isPrototypeOf),Am=ae,tu=Am.navigator,ru=tu&&tu.userAgent,hs=ru?String(ru):"",O5=ae,vl=hs,nu=O5.process,iu=O5.Deno,su=nu&&nu.versions||iu&&iu.version,ou=su&&su.v8,mt,jo;ou&&(mt=ou.split("."),jo=mt[0]>0&&mt[0]<4?1:+(mt[0]+mt[1]));!jo&&vl&&(mt=vl.match(/Edge\/(\d+)/),(!mt||mt[1]>=74)&&(mt=vl.match(/Chrome\/(\d+)/),mt&&(jo=+mt[1])));var va=jo,au=va,Sm=K,Tm=ae,Em=Tm.String,Yn=!!Object.getOwnPropertySymbols&&!Sm(function(){var t=Symbol("symbol detection");return!Em(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&au&&au<41}),Im=Yn,N5=Im&&!Symbol.sham&&typeof Symbol.iterator=="symbol",km=kr,xm=me,Lm=Ut,Om=N5,Nm=Object,Jn=Om?function(t){return typeof t=="symbol"}:function(t){var e=km("Symbol");return xm(e)&&Lm(e.prototype,Nm(t))},Rm=String,Yr=function(t){try{return Rm(t)}catch(e){return"Object"}},Dm=me,Bm=Yr,$m=TypeError,Xn=function(t){if(Dm(t))return t;throw new $m(Bm(t)+" is not a function")},Pm=Xn,Mm=Zn,fs=function(t,e){var r=t[e];return Mm(r)?void 0:Pm(r)},yl=Ee,ml=me,bl=be,Fm=TypeError,Um=function(t,e){var r,n;if(e==="string"&&ml(r=t.toString)&&!bl(n=yl(r,t))||ml(r=t.valueOf)&&!bl(n=yl(r,t))||e!=="string"&&ml(r=t.toString)&&!bl(n=yl(r,t)))return n;throw new Fm("Can't convert object to primitive value")},R5={exports:{}},zm=!1,lu=ae,Vm=Object.defineProperty,e1=function(t,e){try{Vm(lu,t,{value:e,configurable:!0,writable:!0})}catch(r){lu[t]=e}return e},jm=ae,Hm=e1,cu="__core-js_shared__",uu=R5.exports=jm[cu]||Hm(cu,{});(uu.versions||(uu.versions=[])).push({version:"3.42.0",mode:"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.42.0/LICENSE",source:"https://github.com/zloirock/core-js"});var t1=R5.exports,hu=t1,ei=function(t,e){return hu[t]||(hu[t]=e||{})},qm=Ft,Km=Object,ut=function(t){return Km(qm(t))},Qm=Y,Wm=ut,Gm=Qm({}.hasOwnProperty),Ie=Object.hasOwn||function(e,r){return Gm(Wm(e),r)},Zm=Y,Ym=0,Jm=Math.random(),Xm=Zm(1 .toString),ds=function(t){return"Symbol("+(t===void 0?"":t)+")_"+Xm(++Ym+Jm,36)},eb=ae,tb=ei,fu=Ie,rb=ds,nb=Yn,ib=N5,An=eb.Symbol,_l=tb("wks"),sb=ib?An.for||An:An&&An.withoutSetter||rb,de=function(t){return fu(_l,t)||(_l[t]=nb&&fu(An,t)?An[t]:sb("Symbol."+t)),_l[t]},ob=Ee,du=be,pu=Jn,ab=fs,lb=Um,cb=de,ub=TypeError,hb=cb("toPrimitive"),r1=function(t,e){if(!du(t)||pu(t))return t;var r=ab(t,hb),n;if(r){if(e===void 0&&(e="default"),n=ob(r,t,e),!du(n)||pu(n))return n;throw new ub("Can't convert object to primitive value")}return e===void 0&&(e="number"),lb(t,e)},fb=r1,db=Jn,ya=function(t){var e=fb(t,"string");return db(e)?e:e+""},pb=ae,gu=be,q0=pb.document,gb=gu(q0)&&gu(q0.createElement),n1=function(t){return gb?q0.createElement(t):{}},vb=Oe,yb=K,mb=n1,D5=!vb&&!yb(function(){return Object.defineProperty(mb("div"),"a",{get:function(){return 7}}).a!==7}),bb=Oe,_b=Ee,wb=J2,Cb=Gn,Ab=tr,Sb=ya,Tb=Ie,Eb=D5,vu=Object.getOwnPropertyDescriptor;Wn.f=bb?vu:function(e,r){if(e=Ab(e),r=Sb(r),Eb)try{return vu(e,r)}catch(n){}if(Tb(e,r))return Cb(!_b(wb.f,e,r),e[r])};var Ke={},Ib=Oe,kb=K,B5=Ib&&kb(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),xb=be,Lb=String,Ob=TypeError,Qe=function(t){if(xb(t))return t;throw new Ob(Lb(t)+" is not an object")},Nb=Oe,Rb=D5,Db=B5,Bs=Qe,yu=ya,Bb=TypeError,wl=Object.defineProperty,$b=Object.getOwnPropertyDescriptor,Cl="enumerable",Al="configurable",Sl="writable";Ke.f=Nb?Db?function(e,r,n){if(Bs(e),r=yu(r),Bs(n),typeof e=="function"&&r==="prototype"&&"value"in n&&Sl in n&&!n[Sl]){var i=$b(e,r);i&&i[Sl]&&(e[r]=n.value,n={configurable:Al in n?n[Al]:i[Al],enumerable:Cl in n?n[Cl]:i[Cl],writable:!1})}return wl(e,r,n)}:wl:function(e,r,n){if(Bs(e),r=yu(r),Bs(n),Rb)try{return wl(e,r,n)}catch(i){}if("get"in n||"set"in n)throw new Bb("Accessors not supported");return"value"in n&&(e[r]=n.value),e};var Pb=Oe,Mb=Ke,Fb=Gn,zt=Pb?function(t,e,r){return Mb.f(t,e,Fb(1,r))}:function(t,e,r){return t[e]=r,t},$5={exports:{}},K0=Oe,Ub=Ie,P5=Function.prototype,zb=K0&&Object.getOwnPropertyDescriptor,i1=Ub(P5,"name"),Vb=i1&&(function(){}).name==="something",jb=i1&&(!K0||K0&&zb(P5,"name").configurable),ps={EXISTS:i1,PROPER:Vb,CONFIGURABLE:jb},Hb=Y,qb=me,Q0=t1,Kb=Hb(Function.toString);qb(Q0.inspectSource)||(Q0.inspectSource=function(t){return Kb(t)});var M5=Q0.inspectSource,Qb=ae,Wb=me,mu=Qb.WeakMap,F5=Wb(mu)&&/native code/.test(String(mu)),Gb=ei,Zb=ds,bu=Gb("keys"),ma=function(t){return bu[t]||(bu[t]=Zb(t))},gs={},Yb=F5,U5=ae,Jb=be,Xb=zt,Tl=Ie,El=t1,e_=ma,t_=gs,_u="Object already initialized",W0=U5.TypeError,r_=U5.WeakMap,Ho,Yi,qo,n_=function(t){return qo(t)?Yi(t):Ho(t,{})},i_=function(t){return function(e){var r;if(!Jb(e)||(r=Yi(e)).type!==t)throw new W0("Incompatible receiver, "+t+" required");return r}};if(Yb||El.state){var Tt=El.state||(El.state=new r_);Tt.get=Tt.get,Tt.has=Tt.has,Tt.set=Tt.set,Ho=function(t,e){if(Tt.has(t))throw new W0(_u);return e.facade=t,Tt.set(t,e),e},Yi=function(t){return Tt.get(t)||{}},qo=function(t){return Tt.has(t)}}else{var ln=e_("state");t_[ln]=!0,Ho=function(t,e){if(Tl(t,ln))throw new W0(_u);return e.facade=t,Xb(t,ln,e),e},Yi=function(t){return Tl(t,ln)?t[ln]:{}},qo=function(t){return Tl(t,ln)}}var ht={set:Ho,get:Yi,has:qo,enforce:n_,getterFor:i_},s1=Y,s_=K,o_=me,$s=Ie,G0=Oe,a_=ps.CONFIGURABLE,l_=M5,z5=ht,c_=z5.enforce,u_=z5.get,wu=String,To=Object.defineProperty,h_=s1("".slice),f_=s1("".replace),d_=s1([].join),p_=G0&&!s_(function(){return To(function(){},"length",{value:8}).length!==8}),g_=String(String).split("String"),v_=$5.exports=function(t,e,r){h_(wu(e),0,7)==="Symbol("&&(e="["+f_(wu(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!$s(t,"name")||a_&&t.name!==e)&&(G0?To(t,"name",{value:e,configurable:!0}):t.name=e),p_&&r&&$s(r,"arity")&&t.length!==r.arity&&To(t,"length",{value:r.arity});try{r&&$s(r,"constructor")&&r.constructor?G0&&To(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(i){}var n=c_(t);return $s(n,"source")||(n.source=d_(g_,typeof e=="string"?e:"")),t};Function.prototype.toString=v_(function(){return o_(this)&&u_(this).source||l_(this)},"toString");var V5=$5.exports,y_=me,m_=Ke,b_=V5,__=e1,ft=function(t,e,r,n){n||(n={});var i=n.enumerable,s=n.name!==void 0?n.name:e;if(y_(r)&&b_(r,s,n),n.global)i?t[e]=r:__(e,r);else{try{n.unsafe?t[e]&&(i=!0):delete t[e]}catch(o){}i?t[e]=r:m_.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},xr={},w_=Math.ceil,C_=Math.floor,A_=Math.trunc||function(e){var r=+e;return(r>0?C_:w_)(r)},S_=A_,Vt=function(t){var e=+t;return e!==e||e===0?0:S_(e)},T_=Vt,E_=Math.max,I_=Math.min,ti=function(t,e){var r=T_(t);return r<0?E_(r+e,0):I_(r,e)},k_=Vt,x_=Math.min,rr=function(t){var e=k_(t);return e>0?x_(e,9007199254740991):0},L_=rr,st=function(t){return L_(t.length)},O_=tr,N_=ti,R_=st,Cu=function(t){return function(e,r,n){var i=O_(e),s=R_(i);if(s===0)return!t&&-1;var o=N_(n,s),a;if(t&&r!==r){for(;s>o;)if(a=i[o++],a!==a)return!0}else for(;s>o;o++)if((t||o in i)&&i[o]===r)return t||o||0;return!t&&-1}},ba={includes:Cu(!0),indexOf:Cu(!1)},D_=Y,Il=Ie,B_=tr,$_=ba.indexOf,P_=gs,Au=D_([].push),j5=function(t,e){var r=B_(t),n=0,i=[],s;for(s in r)!Il(P_,s)&&Il(r,s)&&Au(i,s);for(;e.length>n;)Il(r,s=e[n++])&&(~$_(i,s)||Au(i,s));return i},o1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],M_=j5,F_=o1,U_=F_.concat("length","prototype");xr.f=Object.getOwnPropertyNames||function(e){return M_(e,U_)};var _a={};_a.f=Object.getOwnPropertySymbols;var z_=kr,V_=Y,j_=xr,H_=_a,q_=Qe,K_=V_([].concat),Q_=z_("Reflect","ownKeys")||function(e){var r=j_.f(q_(e)),n=H_.f;return n?K_(r,n(e)):r},Su=Ie,W_=Q_,G_=Wn,Z_=Ke,a1=function(t,e,r){for(var n=W_(e),i=Z_.f,s=G_.f,o=0;o<n.length;o++){var a=n[o];!Su(t,a)&&!(r&&Su(r,a))&&i(t,a,s(e,a))}},Y_=K,J_=me,X_=/#|\.prototype\./,vs=function(t,e){var r=tw[ew(t)];return r===nw?!0:r===rw?!1:J_(e)?Y_(e):!!e},ew=vs.normalize=function(t){return String(t).replace(X_,".").toLowerCase()},tw=vs.data={},rw=vs.NATIVE="N",nw=vs.POLYFILL="P",wa=vs,Ps=ae,iw=Wn.f,sw=zt,ow=ft,aw=e1,lw=a1,cw=wa,ke=function(t,e){var r=t.target,n=t.global,i=t.stat,s,o,a,l,c,h;if(n?o=Ps:i?o=Ps[r]||aw(r,{}):o=Ps[r]&&Ps[r].prototype,o)for(a in e){if(c=e[a],t.dontCallGetSet?(h=iw(o,a),l=h&&h.value):l=o[a],s=cw(n?a:r+(i?".":"#")+a,t.forced),!s&&l!==void 0){if(typeof c==typeof l)continue;lw(c,l)}(t.sham||l&&l.sham)&&sw(c,"sham",!0),ow(o,a,c,t)}},uw=de,hw=uw("toStringTag"),H5={};H5[hw]="z";var l1=String(H5)==="[object z]",fw=l1,dw=me,Eo=er,pw=de,gw=pw("toStringTag"),vw=Object,yw=Eo(function(){return arguments}())==="Arguments",mw=function(t,e){try{return t[e]}catch(r){}},Lr=fw?Eo:function(t){var e,r,n;return t===void 0?"Undefined":t===null?"Null":typeof(r=mw(e=vw(t),gw))=="string"?r:yw?Eo(e):(n=Eo(e))==="Object"&&dw(e.callee)?"Arguments":n},bw=Lr,_w=String,Je=function(t){if(bw(t)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return _w(t)},ww=Vt,Cw=Je,Aw=Ft,Sw=RangeError,c1=function(e){var r=Cw(Aw(this)),n="",i=ww(e);if(i<0||i===1/0)throw new Sw("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(r+=r))i&1&&(n+=r);return n},q5=Y,Tw=rr,Tu=Je,Ew=c1,Iw=Ft,kw=q5(Ew),xw=q5("".slice),Lw=Math.ceil,Eu=function(t){return function(e,r,n){var i=Tu(Iw(e)),s=Tw(r),o=i.length,a=n===void 0?" ":Tu(n),l,c;return s<=o||a===""?i:(l=s-o,c=kw(a,Lw(l/a.length)),c.length>l&&(c=xw(c,0,l)),t?i+c:c+i)}},Ow={start:Eu(!1),end:Eu(!0)},Nw=hs,Rw=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(Nw),Dw=ke,Bw=Ow.start,$w=Rw;Dw({target:"String",proto:!0,forced:$w},{padStart:function(e){return Bw(this,e,arguments.length>1?arguments[1]:void 0)}});var Pw=l1,Mw=Lr,Fw=Pw?{}.toString:function(){return"[object "+Mw(this)+"]"},Uw=l1,zw=ft,Vw=Fw;Uw||zw(Object.prototype,"toString",Vw,{unsafe:!0});var jw=Qe,K5=function(){var t=jw(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},Hw=Ee,qw=Ie,Kw=Ut,Qw=K5,Iu=RegExp.prototype,Q5=function(t){var e=t.flags;return e===void 0&&!("flags"in Iu)&&!qw(t,"flags")&&Kw(Iu,t)?Hw(Qw,t):e},Ww=ps.PROPER,Gw=ft,Zw=Qe,ku=Je,Yw=K,Jw=Q5,u1="toString",W5=RegExp.prototype,G5=W5[u1],Xw=Yw(function(){return G5.call({source:"a",flags:"b"})!=="/a/b"}),eC=Ww&&G5.name!==u1;(Xw||eC)&&Gw(W5,u1,function(){var e=Zw(this),r=ku(e.source),n=ku(Jw(e));return"/"+r+"/"+n},{unsafe:!0});var h1=K,tC=ae,f1=tC.RegExp,d1=h1(function(){var t=f1("a","y");return t.lastIndex=2,t.exec("abcd")!==null}),rC=d1||h1(function(){return!f1("a","y").sticky}),nC=d1||h1(function(){var t=f1("^r","gy");return t.lastIndex=2,t.exec("str")!==null}),Z5={BROKEN_CARET:nC,MISSED_STICKY:rC,UNSUPPORTED_Y:d1},p1={},iC=j5,sC=o1,Y5=Object.keys||function(e){return iC(e,sC)},oC=Oe,aC=B5,lC=Ke,cC=Qe,uC=tr,hC=Y5;p1.f=oC&&!aC?Object.defineProperties:function(e,r){cC(e);for(var n=uC(r),i=hC(r),s=i.length,o=0,a;s>o;)lC.f(e,a=i[o++],n[a]);return e};var fC=kr,dC=fC("document","documentElement"),pC=Qe,gC=p1,xu=o1,vC=gs,yC=dC,mC=n1,bC=ma,Lu=">",Ou="<",Z0="prototype",Y0="script",J5=bC("IE_PROTO"),kl=function(){},X5=function(t){return Ou+Y0+Lu+t+Ou+"/"+Y0+Lu},Nu=function(t){t.write(X5("")),t.close();var e=t.parentWindow.Object;return t=null,e},_C=function(){var t=mC("iframe"),e="java"+Y0+":",r;return t.style.display="none",yC.appendChild(t),t.src=String(e),r=t.contentWindow.document,r.open(),r.write(X5("document.F=Object")),r.close(),r.F},Ms,Io=function(){try{Ms=new ActiveXObject("htmlfile")}catch(e){}Io=typeof document<"u"?document.domain&&Ms?Nu(Ms):_C():Nu(Ms);for(var t=xu.length;t--;)delete Io[Z0][xu[t]];return Io()};vC[J5]=!0;var Jr=Object.create||function(e,r){var n;return e!==null?(kl[Z0]=pC(e),n=new kl,kl[Z0]=null,n[J5]=e):n=Io(),r===void 0?n:gC.f(n,r)},wC=K,CC=ae,AC=CC.RegExp,ep=wC(function(){var t=AC(".","s");return!(t.dotAll&&t.test("\n")&&t.flags==="s")}),SC=K,TC=ae,EC=TC.RegExp,tp=SC(function(){var t=EC("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),Sn=Ee,Ca=Y,IC=Je,kC=K5,xC=Z5,LC=ei,OC=Jr,NC=ht.get,RC=ep,DC=tp,BC=LC("native-string-replace",String.prototype.replace),Ko=RegExp.prototype.exec,J0=Ko,$C=Ca("".charAt),PC=Ca("".indexOf),MC=Ca("".replace),xl=Ca("".slice),X0=function(){var t=/a/,e=/b*/g;return Sn(Ko,t,"a"),Sn(Ko,e,"a"),t.lastIndex!==0||e.lastIndex!==0}(),rp=xC.BROKEN_CARET,e2=/()??/.exec("")[1]!==void 0,FC=X0||e2||rp||RC||DC;FC&&(J0=function(e){var r=this,n=NC(r),i=IC(e),s=n.raw,o,a,l,c,h,f,d;if(s)return s.lastIndex=r.lastIndex,o=Sn(J0,s,i),r.lastIndex=s.lastIndex,o;var p=n.groups,y=rp&&r.sticky,m=Sn(kC,r),_=r.source,A=0,x=i;if(y&&(m=MC(m,"y",""),PC(m,"g")===-1&&(m+="g"),x=xl(i,r.lastIndex),r.lastIndex>0&&(!r.multiline||r.multiline&&$C(i,r.lastIndex-1)!=="\n")&&(_="(?: "+_+")",x=" "+x,A++),a=new RegExp("^(?:"+_+")",m)),e2&&(a=new RegExp("^"+_+"$(?!\\s)",m)),X0&&(l=r.lastIndex),c=Sn(Ko,y?a:r,x),y?c?(c.input=xl(c.input,A),c[0]=xl(c[0],A),c.index=r.lastIndex,r.lastIndex+=c[0].length):r.lastIndex=0:X0&&c&&(r.lastIndex=r.global?c.index+c[0].length:l),e2&&c&&c.length>1&&Sn(BC,c[0],a,function(){for(h=1;h<arguments.length-2;h++)arguments[h]===void 0&&(c[h]=void 0)}),c&&p)for(c.groups=f=OC(null),h=0;h<p.length;h++)d=p[h],f[d[0]]=c[d[1]];return c});var g1=J0,UC=ke,Ru=g1;UC({target:"RegExp",proto:!0,forced:/./.exec!==Ru},{exec:Ru});var zC=ga,np=Function.prototype,Du=np.apply,Bu=np.call,ys=typeof Reflect=="object"&&Reflect.apply||(zC?Bu.bind(Du):function(){return Bu.apply(Du,arguments)}),$u=Ee,Pu=ft,VC=g1,Mu=K,ip=de,jC=zt,HC=ip("species"),Ll=RegExp.prototype,sp=function(t,e,r,n){var i=ip(t),s=!Mu(function(){var c={};return c[i]=function(){return 7},""[t](c)!==7}),o=s&&!Mu(function(){var c=!1,h=/a/;return t==="split"&&(h={},h.constructor={},h.constructor[HC]=function(){return h},h.flags="",h[i]=/./[i]),h.exec=function(){return c=!0,null},h[i](""),!c});if(!s||!o||r){var a=/./[i],l=e(i,""[t],function(c,h,f,d,p){var y=h.exec;return y===VC||y===Ll.exec?s&&!p?{done:!0,value:$u(a,h,f,d)}:{done:!0,value:$u(c,f,h,d)}:{done:!1}});Pu(String.prototype,t,l[0]),Pu(Ll,i,l[1])}n&&jC(Ll[i],"sham",!0)},v1=Y,qC=Vt,KC=Je,QC=Ft,WC=v1("".charAt),Fu=v1("".charCodeAt),GC=v1("".slice),Uu=function(t){return function(e,r){var n=KC(QC(e)),i=qC(r),s=n.length,o,a;return i<0||i>=s?t?"":void 0:(o=Fu(n,i),o<55296||o>56319||i+1===s||(a=Fu(n,i+1))<56320||a>57343?t?WC(n,i):o:t?GC(n,i,i+2):(o-55296<<10)+(a-56320)+65536)}},op={codeAt:Uu(!1),charAt:Uu(!0)},ZC=op.charAt,ap=function(t,e,r){return e+(r?ZC(t,e).length:1)},y1=Y,YC=ut,JC=Math.floor,Ol=y1("".charAt),XC=y1("".replace),Nl=y1("".slice),eA=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,tA=/\$([$&'`]|\d{1,2})/g,rA=function(t,e,r,n,i,s){var o=r+t.length,a=n.length,l=tA;return i!==void 0&&(i=YC(i),l=eA),XC(s,l,function(c,h){var f;switch(Ol(h,0)){case"$":return"$";case"&":return t;case"`":return Nl(e,0,r);case"'":return Nl(e,o);case"<":f=i[Nl(h,1,-1)];break;default:var d=+h;if(d===0)return c;if(d>a){var p=JC(d/10);return p===0?c:p<=a?n[p-1]===void 0?Ol(h,1):n[p-1]+Ol(h,1):c}f=n[d-1]}return f===void 0?"":f})},zu=Ee,nA=Qe,iA=me,sA=er,oA=g1,aA=TypeError,lp=function(t,e){var r=t.exec;if(iA(r)){var n=zu(r,t,e);return n!==null&&nA(n),n}if(sA(t)==="RegExp")return zu(oA,t,e);throw new aA("RegExp#exec called on incompatible receiver")},lA=ys,Vu=Ee,Aa=Y,cA=sp,uA=K,hA=Qe,fA=me,dA=be,pA=Vt,gA=rr,cn=Je,vA=Ft,yA=ap,mA=fs,bA=rA,_A=lp,wA=de,t2=wA("replace"),CA=Math.max,AA=Math.min,SA=Aa([].concat),Rl=Aa([].push),ju=Aa("".indexOf),Hu=Aa("".slice),TA=function(t){return t===void 0?t:String(t)},EA=function(){return"a".replace(/./,"$0")==="$0"}(),qu=function(){return/./[t2]?/./[t2]("a","$0")==="":!1}(),IA=!uA(function(){var t=/./;return t.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(t,"$<a>")!=="7"});cA("replace",function(t,e,r){var n=qu?"$":"$0";return[function(s,o){var a=vA(this),l=dA(s)?mA(s,t2):void 0;return l?Vu(l,s,a,o):Vu(e,cn(a),s,o)},function(i,s){var o=hA(this),a=cn(i);if(typeof s=="string"&&ju(s,n)===-1&&ju(s,"$<")===-1){var l=r(e,o,a,s);if(l.done)return l.value}var c=fA(s);c||(s=cn(s));var h=o.global,f;h&&(f=o.unicode,o.lastIndex=0);for(var d=[],p;p=_A(o,a),!(p===null||(Rl(d,p),!h));){var y=cn(p[0]);y===""&&(o.lastIndex=yA(a,gA(o.lastIndex),f))}for(var m="",_=0,A=0;A<d.length;A++){p=d[A];for(var x=cn(p[0]),L=CA(AA(pA(p.index),a.length),0),S=[],N,w=1;w<p.length;w++)Rl(S,TA(p[w]));var Q=p.groups;if(c){var G=SA([x],S,L,a);Q!==void 0&&Rl(G,Q),N=cn(lA(s,void 0,G))}else N=bA(x,a,L,S,Q,s);L>=_&&(m+=Hu(a,_,L)+N,_=L+x.length)}return m+Hu(a,_)}]},!IA||!EA||qu);var kA=Ee,xA=sp,LA=Qe,OA=be,NA=rr,Dl=Je,RA=Ft,DA=fs,BA=ap,Ku=lp;xA("match",function(t,e,r){return[function(i){var s=RA(this),o=OA(i)?DA(i,t):void 0;return o?kA(o,i,s):new RegExp(i)[t](Dl(s))},function(n){var i=LA(this),s=Dl(n),o=r(e,i,s);if(o.done)return o.value;if(!i.global)return Ku(i,s);var a=i.unicode;i.lastIndex=0;for(var l=[],c=0,h;(h=Ku(i,s))!==null;){var f=Dl(h[0]);l[c]=f,f===""&&(i.lastIndex=BA(s,NA(i.lastIndex),a)),c++}return c===0?null:l}]});var m1={},$A=Y,Xr=$A([].slice),PA=er,MA=tr,cp=xr.f,FA=Xr,up=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],UA=function(t){try{return cp(t)}catch(e){return FA(up)}};m1.f=function(e){return up&&PA(e)==="Window"?UA(e):cp(MA(e))};var Qu=V5,zA=Ke,Or=function(t,e,r){return r.get&&Qu(r.get,e,{getter:!0}),r.set&&Qu(r.set,e,{setter:!0}),zA.f(t,e,r)},b1={},VA=de;b1.f=VA;var jA=ae,hp=jA,Wu=hp,HA=Ie,qA=b1,KA=Ke.f,fp=function(t){var e=Wu.Symbol||(Wu.Symbol={});HA(e,t)||KA(e,t,{value:qA.f(t)})},QA=Ee,WA=kr,GA=de,ZA=ft,YA=function(){var t=WA("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,n=GA("toPrimitive");e&&!e[n]&&ZA(e,n,function(i){return QA(r,this)},{arity:1})},JA=Ke.f,XA=Ie,eS=de,Gu=eS("toStringTag"),ri=function(t,e,r){t&&!r&&(t=t.prototype),t&&!XA(t,Gu)&&JA(t,Gu,{configurable:!0,value:e})},tS=er,rS=Y,_1=function(t){if(tS(t)==="Function")return rS(t)},Zu=_1,nS=Xn,iS=ga,sS=Zu(Zu.bind),ms=function(t,e){return nS(t),e===void 0?t:iS?sS(t,e):function(){return t.apply(e,arguments)}},oS=er,Sa=Array.isArray||function(e){return oS(e)==="Array"},aS=Y,lS=K,dp=me,cS=Lr,uS=kr,hS=M5,pp=function(){},gp=uS("Reflect","construct"),w1=/^\s*(?:class|function)\b/,fS=aS(w1.exec),dS=!w1.test(pp),fi=function(e){if(!dp(e))return!1;try{return gp(pp,[],e),!0}catch(r){return!1}},vp=function(e){if(!dp(e))return!1;switch(cS(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return dS||!!fS(w1,hS(e))}catch(r){return!0}};vp.sham=!0;var Ta=!gp||lS(function(){var t;return fi(fi.call)||!fi(Object)||!fi(function(){t=!0})||t})?vp:fi,Yu=Sa,pS=Ta,gS=be,vS=de,yS=vS("species"),Ju=Array,mS=function(t){var e;return Yu(t)&&(e=t.constructor,pS(e)&&(e===Ju||Yu(e.prototype))?e=void 0:gS(e)&&(e=e[yS],e===null&&(e=void 0))),e===void 0?Ju:e},bS=mS,yp=function(t,e){return new(bS(t))(e===0?0:e)},_S=ms,wS=Y,CS=X2,AS=ut,SS=st,TS=yp,Xu=wS([].push),lr=function(t){var e=t===1,r=t===2,n=t===3,i=t===4,s=t===6,o=t===7,a=t===5||s;return function(l,c,h,f){for(var d=AS(l),p=CS(d),y=SS(p),m=_S(c,h),_=0,A=f||TS,x=e?A(l,y):r||o?A(l,0):void 0,L,S;y>_;_++)if((a||_ in p)&&(L=p[_],S=m(L,_,d),t))if(e)x[_]=S;else if(S)switch(t){case 3:return!0;case 5:return L;case 6:return _;case 2:Xu(x,L)}else switch(t){case 4:return!1;case 7:Xu(x,L)}return s?-1:n||i?i:x}},wt={forEach:lr(0),map:lr(1),filter:lr(2),some:lr(3),every:lr(4),find:lr(5),findIndex:lr(6),filterReject:lr(7)},Ea=ke,bs=ae,C1=Ee,ES=Y,Un=Oe,zn=Yn,IS=K,Fe=Ie,kS=Ut,r2=Qe,Ia=tr,A1=ya,xS=Je,n2=Gn,Vn=Jr,mp=Y5,LS=xr,bp=m1,OS=_a,_p=Wn,wp=Ke,NS=p1,Cp=J2,Bl=ft,RS=Or,S1=ei,DS=ma,Ap=gs,eh=ds,BS=de,$S=b1,PS=fp,MS=YA,FS=ri,Sp=ht,ka=wt.forEach,Xe=DS("hidden"),xa="Symbol",Ji="prototype",US=Sp.set,th=Sp.getterFor(xa),ot=Object[Ji],Hr=bs.Symbol,Ei=Hr&&Hr[Ji],zS=bs.RangeError,VS=bs.TypeError,$l=bs.QObject,Tp=_p.f,qr=wp.f,Ep=bp.f,jS=Cp.f,Ip=ES([].push),Zt=S1("symbols"),_s=S1("op-symbols"),HS=S1("wks"),i2=!$l||!$l[Ji]||!$l[Ji].findChild,kp=function(t,e,r){var n=Tp(ot,e);n&&delete ot[e],qr(t,e,r),n&&t!==ot&&qr(ot,e,n)},s2=Un&&IS(function(){return Vn(qr({},"a",{get:function(){return qr(this,"a",{value:7}).a}})).a!==7})?kp:qr,Pl=function(t,e){var r=Zt[t]=Vn(Ei);return US(r,{type:xa,tag:t,description:e}),Un||(r.description=e),r},La=function(e,r,n){e===ot&&La(_s,r,n),r2(e);var i=A1(r);return r2(n),Fe(Zt,i)?(n.enumerable?(Fe(e,Xe)&&e[Xe][i]&&(e[Xe][i]=!1),n=Vn(n,{enumerable:n2(0,!1)})):(Fe(e,Xe)||qr(e,Xe,n2(1,Vn(null))),e[Xe][i]=!0),s2(e,i,n)):qr(e,i,n)},T1=function(e,r){r2(e);var n=Ia(r),i=mp(n).concat(Op(n));return ka(i,function(s){(!Un||C1(o2,n,s))&&La(e,s,n[s])}),e},qS=function(e,r){return r===void 0?Vn(e):T1(Vn(e),r)},o2=function(e){var r=A1(e),n=C1(jS,this,r);return this===ot&&Fe(Zt,r)&&!Fe(_s,r)?!1:n||!Fe(this,r)||!Fe(Zt,r)||Fe(this,Xe)&&this[Xe][r]?n:!0},xp=function(e,r){var n=Ia(e),i=A1(r);if(!(n===ot&&Fe(Zt,i)&&!Fe(_s,i))){var s=Tp(n,i);return s&&Fe(Zt,i)&&!(Fe(n,Xe)&&n[Xe][i])&&(s.enumerable=!0),s}},Lp=function(e){var r=Ep(Ia(e)),n=[];return ka(r,function(i){!Fe(Zt,i)&&!Fe(Ap,i)&&Ip(n,i)}),n},Op=function(t){var e=t===ot,r=Ep(e?_s:Ia(t)),n=[];return ka(r,function(i){Fe(Zt,i)&&(!e||Fe(ot,i))&&Ip(n,Zt[i])}),n};zn||(Hr=function(){if(kS(Ei,this))throw new VS("Symbol is not a constructor");var e=!arguments.length||arguments[0]===void 0?void 0:xS(arguments[0]),r=eh(e),n=function(i){var s=this===void 0?bs:this;s===ot&&C1(n,_s,i),Fe(s,Xe)&&Fe(s[Xe],r)&&(s[Xe][r]=!1);var o=n2(1,i);try{s2(s,r,o)}catch(a){if(!(a instanceof zS))throw a;kp(s,r,o)}};return Un&&i2&&s2(ot,r,{configurable:!0,set:n}),Pl(r,e)},Ei=Hr[Ji],Bl(Ei,"toString",function(){return th(this).tag}),Bl(Hr,"withoutSetter",function(t){return Pl(eh(t),t)}),Cp.f=o2,wp.f=La,NS.f=T1,_p.f=xp,LS.f=bp.f=Lp,OS.f=Op,$S.f=function(t){return Pl(BS(t),t)},Un&&(RS(Ei,"description",{configurable:!0,get:function(){return th(this).description}}),Bl(ot,"propertyIsEnumerable",o2,{unsafe:!0})));Ea({global:!0,constructor:!0,wrap:!0,forced:!zn,sham:!zn},{Symbol:Hr});ka(mp(HS),function(t){PS(t)});Ea({target:xa,stat:!0,forced:!zn},{useSetter:function(){i2=!0},useSimple:function(){i2=!1}});Ea({target:"Object",stat:!0,forced:!zn,sham:!Un},{create:qS,defineProperty:La,defineProperties:T1,getOwnPropertyDescriptor:xp});Ea({target:"Object",stat:!0,forced:!zn},{getOwnPropertyNames:Lp});MS();FS(Hr,xa);Ap[Xe]=!0;var KS=Yn,Np=KS&&!!Symbol.for&&!!Symbol.keyFor,QS=ke,WS=kr,GS=Ie,ZS=Je,Rp=ei,YS=Np,Ml=Rp("string-to-symbol-registry"),JS=Rp("symbol-to-string-registry");QS({target:"Symbol",stat:!0,forced:!YS},{for:function(t){var e=ZS(t);if(GS(Ml,e))return Ml[e];var r=WS("Symbol")(e);return Ml[e]=r,JS[r]=e,r}});var XS=ke,eT=Ie,tT=Jn,rT=Yr,nT=ei,iT=Np,rh=nT("symbol-to-string-registry");XS({target:"Symbol",stat:!0,forced:!iT},{keyFor:function(e){if(!tT(e))throw new TypeError(rT(e)+" is not a symbol");if(eT(rh,e))return rh[e]}});var sT=Y,nh=Sa,oT=me,ih=er,aT=Je,sh=sT([].push),lT=function(t){if(oT(t))return t;if(nh(t)){for(var e=t.length,r=[],n=0;n<e;n++){var i=t[n];typeof i=="string"?sh(r,i):(typeof i=="number"||ih(i)==="Number"||ih(i)==="String")&&sh(r,aT(i))}var s=r.length,o=!0;return function(a,l){if(o)return o=!1,l;if(nh(this))return l;for(var c=0;c<s;c++)if(r[c]===a)return l}}},cT=ke,Dp=kr,Bp=ys,uT=Ee,ws=Y,$p=K,oh=me,ah=Jn,Pp=Xr,hT=lT,fT=Yn,dT=String,wr=Dp("JSON","stringify"),Fs=ws(/./.exec),lh=ws("".charAt),pT=ws("".charCodeAt),gT=ws("".replace),vT=ws(1 .toString),yT=/[\uD800-\uDFFF]/g,ch=/^[\uD800-\uDBFF]$/,uh=/^[\uDC00-\uDFFF]$/,hh=!fT||$p(function(){var t=Dp("Symbol")("stringify detection");return wr([t])!=="[null]"||wr({a:t})!=="{}"||wr(Object(t))!=="{}"}),fh=$p(function(){return wr("\uDF06\uD834")!=='"\\udf06\\ud834"'||wr("\uDEAD")!=='"\\udead"'}),mT=function(t,e){var r=Pp(arguments),n=hT(e);if(!(!oh(n)&&(t===void 0||ah(t))))return r[1]=function(i,s){if(oh(n)&&(s=uT(n,this,dT(i),s)),!ah(s))return s},Bp(wr,null,r)},bT=function(t,e,r){var n=lh(r,e-1),i=lh(r,e+1);return Fs(ch,t)&&!Fs(uh,i)||Fs(uh,t)&&!Fs(ch,n)?"\\u"+vT(pT(t,0),16):t};wr&&cT({target:"JSON",stat:!0,arity:3,forced:hh||fh},{stringify:function(e,r,n){var i=Pp(arguments),s=Bp(hh?mT:wr,null,i);return fh&&typeof s=="string"?gT(s,yT,bT):s}});var _T=ke,wT=Yn,CT=K,Mp=_a,AT=ut,ST=!wT||CT(function(){Mp.f(1)});_T({target:"Object",stat:!0,forced:ST},{getOwnPropertySymbols:function(e){var r=Mp.f;return r?r(AT(e)):[]}});var TT=ke,ET=Oe,IT=ae,Us=Y,kT=Ie,xT=me,LT=Ut,OT=Je,NT=Or,RT=a1,Ht=IT.Symbol,Nr=Ht&&Ht.prototype;if(ET&&xT(Ht)&&(!("description"in Nr)||Ht().description!==void 0)){var dh={},zs=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:OT(arguments[0]),r=LT(Nr,this)?new Ht(e):e===void 0?Ht():Ht(e);return e===""&&(dh[r]=!0),r};RT(zs,Ht),zs.prototype=Nr,Nr.constructor=zs;var DT=String(Ht("description detection"))==="Symbol(description detection)",BT=Us(Nr.valueOf),$T=Us(Nr.toString),PT=/^Symbol\((.*)\)[^)]+$/,MT=Us("".replace),FT=Us("".slice);NT(Nr,"description",{configurable:!0,get:function(){var e=BT(this);if(kT(dh,e))return"";var r=$T(e),n=DT?FT(r,7,-1):MT(r,PT,"$1");return n===""?void 0:n}}),TT({global:!0,constructor:!0,forced:!0},{Symbol:zs})}var UT=fp;UT("iterator");var zT=de,VT=Jr,jT=Ke.f,a2=zT("unscopables"),l2=Array.prototype;l2[a2]===void 0&&jT(l2,a2,{configurable:!0,value:VT(null)});var Fp=function(t){l2[a2][t]=!0},Cs={},HT=K,qT=!HT(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),KT=Ie,QT=me,WT=ut,GT=ma,ZT=qT,ph=GT("IE_PROTO"),c2=Object,YT=c2.prototype,Oa=ZT?c2.getPrototypeOf:function(t){var e=WT(t);if(KT(e,ph))return e[ph];var r=e.constructor;return QT(r)&&e instanceof r?r.prototype:e instanceof c2?YT:null},JT=K,XT=me,eE=be,gh=Oa,tE=ft,rE=de,u2=rE("iterator"),Up=!1,Wr,Fl,Ul;[].keys&&(Ul=[].keys(),"next"in Ul?(Fl=gh(gh(Ul)),Fl!==Object.prototype&&(Wr=Fl)):Up=!0);var nE=!eE(Wr)||JT(function(){var t={};return Wr[u2].call(t)!==t});nE&&(Wr={});XT(Wr[u2])||tE(Wr,u2,function(){return this});var zp={IteratorPrototype:Wr,BUGGY_SAFARI_ITERATORS:Up},iE=zp.IteratorPrototype,sE=Jr,oE=Gn,aE=ri,lE=Cs,cE=function(){return this},uE=function(t,e,r,n){var i=e+" Iterator";return t.prototype=sE(iE,{next:oE(+!n,r)}),aE(t,i,!1),lE[i]=cE,t},hE=Y,fE=Xn,dE=function(t,e,r){try{return hE(fE(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(n){}},pE=be,gE=function(t){return pE(t)||t===null},vE=gE,yE=String,mE=TypeError,bE=function(t){if(vE(t))return t;throw new mE("Can't set "+yE(t)+" as a prototype")},_E=dE,wE=be,CE=Ft,AE=bE,As=Object.setPrototypeOf||("__proto__"in{}?function(){var t=!1,e={},r;try{r=_E(Object.prototype,"__proto__","set"),r(e,[]),t=e instanceof Array}catch(n){}return function(i,s){return CE(i),AE(s),wE(i)&&(t?r(i,s):i.__proto__=s),i}}():void 0),SE=ke,TE=Ee,Vp=ps,EE=me,IE=uE,vh=Oa,yh=As,kE=ri,xE=zt,zl=ft,LE=de,OE=Cs,jp=zp,NE=Vp.PROPER,RE=Vp.CONFIGURABLE,mh=jp.IteratorPrototype,Vs=jp.BUGGY_SAFARI_ITERATORS,di=LE("iterator"),bh="keys",pi="values",_h="entries",DE=function(){return this},E1=function(t,e,r,n,i,s,o){IE(r,e,n);var a=function(A){if(A===i&&d)return d;if(!Vs&&A&&A in h)return h[A];switch(A){case bh:return function(){return new r(this,A)};case pi:return function(){return new r(this,A)};case _h:return function(){return new r(this,A)}}return function(){return new r(this)}},l=e+" Iterator",c=!1,h=t.prototype,f=h[di]||h["@@iterator"]||i&&h[i],d=!Vs&&f||a(i),p=e==="Array"&&h.entries||f,y,m,_;if(p&&(y=vh(p.call(new t)),y!==Object.prototype&&y.next&&(vh(y)!==mh&&(yh?yh(y,mh):EE(y[di])||zl(y,di,DE)),kE(y,l,!0))),NE&&i===pi&&f&&f.name!==pi&&(RE?xE(h,"name",pi):(c=!0,d=function(){return TE(f,this)})),i)if(m={values:a(pi),keys:s?d:a(bh),entries:a(_h)},o)for(_ in m)(Vs||c||!(_ in h))&&zl(h,_,m[_]);else SE({target:e,proto:!0,forced:Vs||c},m);return h[di]!==d&&zl(h,di,d,{name:i}),OE[e]=d,m},I1=function(t,e){return{value:t,done:e}},BE=tr,k1=Fp,wh=Cs,Hp=ht,$E=Ke.f,PE=E1,js=I1,ME=Oe,qp="Array Iterator",FE=Hp.set,UE=Hp.getterFor(qp),Kp=PE(Array,"Array",function(t,e){FE(this,{type:qp,target:BE(t),index:0,kind:e})},function(){var t=UE(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,js(void 0,!0);switch(t.kind){case"keys":return js(r,!1);case"values":return js(e[r],!1)}return js([r,e[r]],!1)},"values"),Ch=wh.Arguments=wh.Array;k1("keys");k1("values");k1("entries");if(ME&&Ch.name!=="values")try{$E(Ch,"name",{value:"values"})}catch(t){}var zE=op.charAt,VE=Je,Qp=ht,jE=E1,Ah=I1,Wp="String Iterator",HE=Qp.set,qE=Qp.getterFor(Wp);jE(String,"String",function(t){HE(this,{type:Wp,string:VE(t),index:0})},function(){var e=qE(this),r=e.string,n=e.index,i;return n>=r.length?Ah(void 0,!0):(i=zE(r,n),e.index+=i.length,Ah(i,!1))});var Gp={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},KE=n1,Vl=KE("span").classList,Sh=Vl&&Vl.constructor&&Vl.constructor.prototype,Zp=Sh===Object.prototype?void 0:Sh,Th=ae,Yp=Gp,QE=Zp,Ii=Kp,Eh=zt,WE=ri,GE=de,jl=GE("iterator"),Hl=Ii.values,Jp=function(t,e){if(t){if(t[jl]!==Hl)try{Eh(t,jl,Hl)}catch(n){t[jl]=Hl}if(WE(t,e,!0),Yp[e]){for(var r in Ii)if(t[r]!==Ii[r])try{Eh(t,r,Ii[r])}catch(n){t[r]=Ii[r]}}}};for(var ql in Yp)Jp(Th[ql]&&Th[ql].prototype,ql);Jp(QE,"DOMTokenList");var ZE=Oe,YE=Ke,JE=Gn,x1=function(t,e,r){ZE?YE.f(t,e,JE(0,r)):t[e]=r},XE=K,eI=de,tI=va,rI=eI("species"),Xp=function(t){return tI>=51||!XE(function(){var e=[],r=e.constructor={};return r[rI]=function(){return{foo:1}},e[t](Boolean).foo!==1})},nI=ke,Ih=Sa,iI=Ta,sI=be,kh=ti,oI=st,aI=tr,lI=x1,cI=de,uI=Xp,hI=Xr,fI=uI("slice"),dI=cI("species"),Kl=Array,pI=Math.max;nI({target:"Array",proto:!0,forced:!fI},{slice:function(e,r){var n=aI(this),i=oI(n),s=kh(e,i),o=kh(r===void 0?i:r,i),a,l,c;if(Ih(n)&&(a=n.constructor,iI(a)&&(a===Kl||Ih(a.prototype))?a=void 0:sI(a)&&(a=a[dI],a===null&&(a=void 0)),a===Kl||a===void 0))return hI(n,s,o);for(l=new(a===void 0?Kl:a)(pI(o-s,0)),c=0;s<o;s++,c++)s in n&&lI(l,c,n[s]);return l.length=c,l}});var gI=Oe,vI=ps.EXISTS,e6=Y,yI=Or,t6=Function.prototype,mI=e6(t6.toString),r6=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,bI=e6(r6.exec),_I="name";gI&&!vI&&yI(t6,_I,{configurable:!0,get:function(){try{return bI(r6,mI(this))[1]}catch(t){return""}}});var wI=Ee,xh=Qe,CI=fs,n6=function(t,e,r){var n,i;xh(t);try{if(n=CI(t,"return"),!n){if(e==="throw")throw r;return r}n=wI(n,t)}catch(s){i=!0,n=s}if(e==="throw")throw r;if(i)throw n;return xh(n),r},AI=Qe,SI=n6,TI=function(t,e,r,n){try{return n?e(AI(r)[0],r[1]):e(r)}catch(i){SI(t,"throw",i)}},EI=de,II=Cs,kI=EI("iterator"),xI=Array.prototype,L1=function(t){return t!==void 0&&(II.Array===t||xI[kI]===t)},LI=Lr,Lh=fs,OI=Zn,NI=Cs,RI=de,DI=RI("iterator"),Na=function(t){if(!OI(t))return Lh(t,DI)||Lh(t,"@@iterator")||NI[LI(t)]},BI=Ee,$I=Xn,PI=Qe,MI=Yr,FI=Na,UI=TypeError,O1=function(t,e){var r=arguments.length<2?FI(t):e;if($I(r))return PI(BI(r,t));throw new UI(MI(t)+" is not iterable")},zI=ms,VI=Ee,jI=ut,HI=TI,qI=L1,KI=Ta,QI=st,Oh=x1,WI=O1,GI=Na,Nh=Array,ZI=function(e){var r=jI(e),n=KI(this),i=arguments.length,s=i>1?arguments[1]:void 0,o=s!==void 0;o&&(s=zI(s,i>2?arguments[2]:void 0));var a=GI(r),l=0,c,h,f,d,p,y;if(a&&!(this===Nh&&qI(a)))for(h=n?new this:[],d=WI(r,a),p=d.next;!(f=VI(p,d)).done;l++)y=o?HI(d,s,[f.value,l],!0):f.value,Oh(h,l,y);else for(c=QI(r),h=n?new this(c):Nh(c);c>l;l++)y=o?s(r[l],l):r[l],Oh(h,l,y);return h.length=l,h},YI=de,i6=YI("iterator"),s6=!1;try{var JI=0,Rh={next:function(){return{done:!!JI++}},return:function(){s6=!0}};Rh[i6]=function(){return this},Array.from(Rh,function(){throw 2})}catch(t){}var N1=function(t,e){try{if(!e&&!s6)return!1}catch(i){return!1}var r=!1;try{var n={};n[i6]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(i){}return r},XI=ke,ek=ZI,tk=N1,rk=!tk(function(t){Array.from(t)});XI({target:"Array",stat:!0,forced:rk},{from:ek});var nk=me,ik=be,Dh=As,Ss=function(t,e,r){var n,i;return Dh&&nk(n=e.constructor)&&n!==r&&ik(i=n.prototype)&&i!==r.prototype&&Dh(t,i),t},sk=Y,o6=sk(1 .valueOf),ok="	\n\v\f\r                　\u2028\u2029\uFEFF",ak=Y,lk=Ft,ck=Je,h2=ok,Bh=ak("".replace),uk=RegExp("^["+h2+"]+"),hk=RegExp("(^|[^"+h2+"])["+h2+"]+$"),Ql=function(t){return function(e){var r=ck(lk(e));return t&1&&(r=Bh(r,uk,"")),t&2&&(r=Bh(r,hk,"$1")),r}},fk={start:Ql(1),end:Ql(2),trim:Ql(3)},dk=ke,a6=zm,pk=Oe,l6=ae,c6=hp,u6=Y,gk=wa,$h=Ie,vk=Ss,yk=Ut,mk=Jn,h6=r1,bk=K,_k=xr.f,wk=Wn.f,Ck=Ke.f,Ak=o6,Sk=fk.trim,Ra="Number",In=l6[Ra];c6[Ra];var R1=In.prototype,Tk=l6.TypeError,Ek=u6("".slice),Hs=u6("".charCodeAt),Ik=function(t){var e=h6(t,"number");return typeof e=="bigint"?e:kk(e)},kk=function(t){var e=h6(t,"number"),r,n,i,s,o,a,l,c;if(mk(e))throw new Tk("Cannot convert a Symbol value to a number");if(typeof e=="string"&&e.length>2){if(e=Sk(e),r=Hs(e,0),r===43||r===45){if(n=Hs(e,2),n===88||n===120)return NaN}else if(r===48){switch(Hs(e,1)){case 66:case 98:i=2,s=49;break;case 79:case 111:i=8,s=55;break;default:return+e}for(o=Ek(e,2),a=o.length,l=0;l<a;l++)if(c=Hs(o,l),c<48||c>s)return NaN;return parseInt(o,i)}}return+e},D1=gk(Ra,!In(" 0o1")||!In("0b1")||In("+0x1")),xk=function(t){return yk(R1,t)&&bk(function(){Ak(t)})},Da=function(e){var r=arguments.length<1?0:In(Ik(e));return xk(this)?vk(Object(r),this,Da):r};Da.prototype=R1;D1&&!a6&&(R1.constructor=Da);dk({global:!0,constructor:!0,wrap:!0,forced:D1},{Number:Da});var Lk=function(t,e){for(var r=pk?_k(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),n=0,i;r.length>n;n++)$h(e,i=r[n])&&!$h(t,i)&&Ck(t,i,wk(e,i))};(D1||a6)&&Lk(c6[Ra],In);var Ok=ke,B1=Y,Nk=Vt,Rk=o6,Dk=c1,Ph=K,Bk=RangeError,f6=String,d6=Math.floor,f2=B1(Dk),Mh=B1("".slice),gi=B1(1 .toFixed),Tn=function(t,e,r){return e===0?r:e%2===1?Tn(t,e-1,r*t):Tn(t*t,e/2,r)},$k=function(t){for(var e=0,r=t;r>=4096;)e+=12,r/=4096;for(;r>=2;)e+=1,r/=2;return e},un=function(t,e,r){for(var n=-1,i=r;++n<6;)i+=e*t[n],t[n]=i%1e7,i=d6(i/1e7)},Wl=function(t,e){for(var r=6,n=0;--r>=0;)n+=t[r],t[r]=d6(n/e),n=n%e*1e7},Fh=function(t){for(var e=6,r="";--e>=0;)if(r!==""||e===0||t[e]!==0){var n=f6(t[e]);r=r===""?n:r+f2("0",7-n.length)+n}return r},Pk=Ph(function(){return gi(8e-5,3)!=="0.000"||gi(.9,0)!=="1"||gi(1.255,2)!=="1.25"||gi(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!Ph(function(){gi({})});Ok({target:"Number",proto:!0,forced:Pk},{toFixed:function(e){var r=Rk(this),n=Nk(e),i=[0,0,0,0,0,0],s="",o="0",a,l,c,h;if(n<0||n>20)throw new Bk("Incorrect fraction digits");if(r!==r)return"NaN";if(r<=-1e21||r>=1e21)return f6(r);if(r<0&&(s="-",r=-r),r>1e-21)if(a=$k(r*Tn(2,69,1))-69,l=a<0?r*Tn(2,-a,1):r/Tn(2,a,1),l*=4503599627370496,a=52-a,a>0){for(un(i,0,l),c=n;c>=7;)un(i,1e7,0),c-=7;for(un(i,Tn(10,c,1),0),c=a-1;c>=23;)Wl(i,1<<23),c-=23;Wl(i,1<<c),un(i,1,1),Wl(i,2),o=Fh(i)}else un(i,0,l),un(i,1<<-a,0),o=Fh(i)+f2("0",n);return n>0?(h=o.length,o=s+(h<=n?"0."+f2("0",n-h)+o:Mh(o,0,h-n)+"."+Mh(o,h-n))):o=s+o,o}});var p6={exports:{}},Mk=K,Fk=Mk(function(){if(typeof ArrayBuffer=="function"){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),Uk=K,zk=be,Vk=er,Uh=Fk,ko=Object.isExtensible,jk=Uk(function(){ko(1)}),Hk=jk||Uh?function(e){return!zk(e)||Uh&&Vk(e)==="ArrayBuffer"?!1:ko?ko(e):!0}:ko,qk=K,g6=!qk(function(){return Object.isExtensible(Object.preventExtensions({}))}),Kk=ke,Qk=Y,Wk=gs,Gk=be,$1=Ie,Zk=Ke.f,zh=xr,Yk=m1,P1=Hk,Jk=ds,Xk=g6,v6=!1,Yt=Jk("meta"),ex=0,M1=function(t){Zk(t,Yt,{value:{objectID:"O"+ex++,weakData:{}}})},tx=function(t,e){if(!Gk(t))return typeof t=="symbol"?t:(typeof t=="string"?"S":"P")+t;if(!$1(t,Yt)){if(!P1(t))return"F";if(!e)return"E";M1(t)}return t[Yt].objectID},rx=function(t,e){if(!$1(t,Yt)){if(!P1(t))return!0;if(!e)return!1;M1(t)}return t[Yt].weakData},nx=function(t){return Xk&&v6&&P1(t)&&!$1(t,Yt)&&M1(t),t},ix=function(){sx.enable=function(){},v6=!0;var t=zh.f,e=Qk([].splice),r={};r[Yt]=1,t(r).length&&(zh.f=function(n){for(var i=t(n),s=0,o=i.length;s<o;s++)if(i[s]===Yt){e(i,s,1);break}return i},Kk({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Yk.f}))},sx=p6.exports={enable:ix,fastKey:tx,getWeakData:rx,onFreeze:nx};Wk[Yt]=!0;var Ba=p6.exports,ox=ms,ax=Ee,lx=Qe,cx=Yr,ux=L1,hx=st,Vh=Ut,fx=O1,dx=Na,jh=n6,px=TypeError,xo=function(t,e){this.stopped=t,this.result=e},Hh=xo.prototype,F1=function(t,e,r){var n=r&&r.that,i=!!(r&&r.AS_ENTRIES),s=!!(r&&r.IS_RECORD),o=!!(r&&r.IS_ITERATOR),a=!!(r&&r.INTERRUPTED),l=ox(e,n),c,h,f,d,p,y,m,_=function(x){return c&&jh(c,"normal",x),new xo(!0,x)},A=function(x){return i?(lx(x),a?l(x[0],x[1],_):l(x[0],x[1])):a?l(x,_):l(x)};if(s)c=t.iterator;else if(o)c=t;else{if(h=dx(t),!h)throw new px(cx(t)+" is not iterable");if(ux(h)){for(f=0,d=hx(t);d>f;f++)if(p=A(t[f]),p&&Vh(Hh,p))return p;return new xo(!1)}c=fx(t,h)}for(y=s?t.next:c.next;!(m=ax(y,c)).done;){try{p=A(m.value)}catch(x){jh(c,"throw",x)}if(typeof p=="object"&&p&&Vh(Hh,p))return p}return new xo(!1)},gx=Ut,vx=TypeError,Ts=function(t,e){if(gx(e,t))return t;throw new vx("Incorrect invocation")},yx=ke,mx=ae,bx=Y,qh=wa,_x=ft,wx=Ba,Cx=F1,Ax=Ts,Sx=me,Tx=Zn,Gl=be,Zl=K,Ex=N1,Ix=ri,kx=Ss,$a=function(t,e,r){var n=t.indexOf("Map")!==-1,i=t.indexOf("Weak")!==-1,s=n?"set":"add",o=mx[t],a=o&&o.prototype,l=o,c={},h=function(A){var x=bx(a[A]);_x(a,A,A==="add"?function(S){return x(this,S===0?0:S),this}:A==="delete"?function(L){return i&&!Gl(L)?!1:x(this,L===0?0:L)}:A==="get"?function(S){return i&&!Gl(S)?void 0:x(this,S===0?0:S)}:A==="has"?function(S){return i&&!Gl(S)?!1:x(this,S===0?0:S)}:function(S,N){return x(this,S===0?0:S,N),this})},f=qh(t,!Sx(o)||!(i||a.forEach&&!Zl(function(){new o().entries().next()})));if(f)l=r.getConstructor(e,t,n,s),wx.enable();else if(qh(t,!0)){var d=new l,p=d[s](i?{}:-0,1)!==d,y=Zl(function(){d.has(1)}),m=Ex(function(A){new o(A)}),_=!i&&Zl(function(){for(var A=new o,x=5;x--;)A[s](x,x);return!A.has(-0)});m||(l=e(function(A,x){Ax(A,a);var L=kx(new o,A,l);return Tx(x)||Cx(x,L[s],{that:L,AS_ENTRIES:n}),L}),l.prototype=a,a.constructor=l),(y||_)&&(h("delete"),h("has"),n&&h("get")),(_||p)&&h(s),i&&a.clear&&delete a.clear}return c[t]=l,yx({global:!0,constructor:!0,forced:l!==o},c),Ix(l,t),i||r.setStrong(l,t,n),l},xx=ft,Pa=function(t,e,r){for(var n in e)xx(t,n,e[n],r);return t},Lx=Y,Kh=Pa,qs=Ba.getWeakData,Ox=Ts,Nx=Qe,Rx=Zn,Yl=be,Dx=F1,y6=wt,Qh=Ie,m6=ht,Bx=m6.set,$x=m6.getterFor,Px=y6.find,Mx=y6.findIndex,Fx=Lx([].splice),Ux=0,Ks=function(t){return t.frozen||(t.frozen=new b6)},b6=function(){this.entries=[]},Jl=function(t,e){return Px(t.entries,function(r){return r[0]===e})};b6.prototype={get:function(t){var e=Jl(this,t);if(e)return e[1]},has:function(t){return!!Jl(this,t)},set:function(t,e){var r=Jl(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=Mx(this.entries,function(r){return r[0]===t});return~e&&Fx(this.entries,e,1),!!~e}};var _6={getConstructor:function(t,e,r,n){var i=t(function(l,c){Ox(l,s),Bx(l,{type:e,id:Ux++,frozen:null}),Rx(c)||Dx(c,l[n],{that:l,AS_ENTRIES:r})}),s=i.prototype,o=$x(e),a=function(l,c,h){var f=o(l),d=qs(Nx(c),!0);return d===!0?Ks(f).set(c,h):d[f.id]=h,l};return Kh(s,{delete:function(l){var c=o(this);if(!Yl(l))return!1;var h=qs(l);return h===!0?Ks(c).delete(l):h&&Qh(h,c.id)&&delete h[c.id]},has:function(c){var h=o(this);if(!Yl(c))return!1;var f=qs(c);return f===!0?Ks(h).has(c):f&&Qh(f,h.id)}}),Kh(s,r?{get:function(c){var h=o(this);if(Yl(c)){var f=qs(c);if(f===!0)return Ks(h).get(c);if(f)return f[h.id]}},set:function(c,h){return a(this,c,h)}}:{add:function(c){return a(this,c,!0)}}),i}},zx=$a,Vx=_6;zx("WeakSet",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Vx);var jx=g6,Wh=ae,Lo=Y,Gh=Pa,Hx=Ba,qx=$a,w6=_6,Qs=be,Ws=ht.enforce,Kx=K,Qx=F5,Es=Object,Wx=Array.isArray,Gs=Es.isExtensible,C6=Es.isFrozen,Gx=Es.isSealed,A6=Es.freeze,Zx=Es.seal,Yx=!Wh.ActiveXObject&&"ActiveXObject"in Wh,vi,S6=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},T6=qx("WeakMap",S6,w6),mn=T6.prototype,Oo=Lo(mn.set),Jx=function(){return jx&&Kx(function(){var t=A6([]);return Oo(new T6,t,1),!C6(t)})};if(Qx)if(Yx){vi=w6.getConstructor(S6,"WeakMap",!0),Hx.enable();var Zh=Lo(mn.delete),Zs=Lo(mn.has),Yh=Lo(mn.get);Gh(mn,{delete:function(t){if(Qs(t)&&!Gs(t)){var e=Ws(this);return e.frozen||(e.frozen=new vi),Zh(this,t)||e.frozen.delete(t)}return Zh(this,t)},has:function(e){if(Qs(e)&&!Gs(e)){var r=Ws(this);return r.frozen||(r.frozen=new vi),Zs(this,e)||r.frozen.has(e)}return Zs(this,e)},get:function(e){if(Qs(e)&&!Gs(e)){var r=Ws(this);return r.frozen||(r.frozen=new vi),Zs(this,e)?Yh(this,e):r.frozen.get(e)}return Yh(this,e)},set:function(e,r){if(Qs(e)&&!Gs(e)){var n=Ws(this);n.frozen||(n.frozen=new vi),Zs(this,e)?Oo(this,e,r):n.frozen.set(e,r)}else Oo(this,e,r);return this}})}else Jx()&&Gh(mn,{set:function(e,r){var n;return Wx(e)&&(C6(e)?n=A6:Gx(e)&&(n=Zx)),Oo(this,e,r),n&&n(e),this}});var Xx=kr,eL=Or,tL=de,rL=Oe,Jh=tL("species"),U1=function(t){var e=Xx(t);rL&&e&&!e[Jh]&&eL(e,Jh,{configurable:!0,get:function(){return this}})},Xh=Jr,nL=Or,ef=Pa,iL=ms,sL=Ts,oL=Zn,aL=F1,lL=E1,Ys=I1,cL=U1,yi=Oe,tf=Ba.fastKey,E6=ht,rf=E6.set,Xl=E6.getterFor,I6={getConstructor:function(t,e,r,n){var i=t(function(c,h){sL(c,s),rf(c,{type:e,index:Xh(null),first:null,last:null,size:0}),yi||(c.size=0),oL(h)||aL(h,c[n],{that:c,AS_ENTRIES:r})}),s=i.prototype,o=Xl(e),a=function(c,h,f){var d=o(c),p=l(c,h),y,m;return p?p.value=f:(d.last=p={index:m=tf(h,!0),key:h,value:f,previous:y=d.last,next:null,removed:!1},d.first||(d.first=p),y&&(y.next=p),yi?d.size++:c.size++,m!=="F"&&(d.index[m]=p)),c},l=function(c,h){var f=o(c),d=tf(h),p;if(d!=="F")return f.index[d];for(p=f.first;p;p=p.next)if(p.key===h)return p};return ef(s,{clear:function(){for(var h=this,f=o(h),d=f.first;d;)d.removed=!0,d.previous&&(d.previous=d.previous.next=null),d=d.next;f.first=f.last=null,f.index=Xh(null),yi?f.size=0:h.size=0},delete:function(c){var h=this,f=o(h),d=l(h,c);if(d){var p=d.next,y=d.previous;delete f.index[d.index],d.removed=!0,y&&(y.next=p),p&&(p.previous=y),f.first===d&&(f.first=p),f.last===d&&(f.last=y),yi?f.size--:h.size--}return!!d},forEach:function(h){for(var f=o(this),d=iL(h,arguments.length>1?arguments[1]:void 0),p;p=p?p.next:f.first;)for(d(p.value,p.key,this);p&&p.removed;)p=p.previous},has:function(h){return!!l(this,h)}}),ef(s,r?{get:function(h){var f=l(this,h);return f&&f.value},set:function(h,f){return a(this,h===0?0:h,f)}}:{add:function(h){return a(this,h=h===0?0:h,h)}}),yi&&nL(s,"size",{configurable:!0,get:function(){return o(this).size}}),i},setStrong:function(t,e,r){var n=e+" Iterator",i=Xl(e),s=Xl(n);lL(t,e,function(o,a){rf(this,{type:n,target:o,state:i(o),kind:a,last:null})},function(){for(var o=s(this),a=o.kind,l=o.last;l&&l.removed;)l=l.previous;return!o.target||!(o.last=l=l?l.next:o.state.first)?(o.target=null,Ys(void 0,!0)):Ys(a==="keys"?l.key:a==="values"?l.value:[l.key,l.value],!1)},r?"entries":"values",!r,!0),cL(e)}},uL=$a,hL=I6;uL("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},hL);var fL=K,k6=function(t,e){var r=[][t];return!!r&&fL(function(){r.call(null,e||function(){return 1},1)})},dL=wt.forEach,pL=k6,gL=pL("forEach"),vL=gL?[].forEach:function(e){return dL(this,e,arguments.length>1?arguments[1]:void 0)},nf=ae,sf=Gp,yL=Zp,e0=vL,mL=zt,x6=function(t){if(t&&t.forEach!==e0)try{mL(t,"forEach",e0)}catch(e){t.forEach=e0}};for(var t0 in sf)sf[t0]&&x6(nf[t0]&&nf[t0].prototype);x6(yL);var bL=$a,_L=I6;bL("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},_L);var wL=be,CL=er,AL=de,SL=AL("match"),L6=function(t){var e;return wL(t)&&((e=t[SL])!==void 0?!!e:CL(t)==="RegExp")},TL=Ke.f,EL=function(t,e,r){r in t||TL(t,r,{configurable:!0,get:function(){return e[r]},set:function(n){e[r]=n}})},IL=Oe,z1=ae,Is=Y,kL=wa,xL=Ss,LL=zt,OL=Jr,NL=xr.f,of=Ut,RL=L6,af=Je,DL=Q5,O6=Z5,BL=EL,$L=ft,PL=K,ML=Ie,FL=ht.enforce,UL=U1,zL=de,N6=ep,R6=tp,VL=zL("match"),Cr=z1.RegExp,bn=Cr.prototype,jL=z1.SyntaxError,HL=Is(bn.exec),Qo=Is("".charAt),lf=Is("".replace),cf=Is("".indexOf),uf=Is("".slice),qL=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Kr=/a/g,r0=/a/g,KL=new Cr(Kr)!==Kr,D6=O6.MISSED_STICKY,QL=O6.UNSUPPORTED_Y,WL=IL&&(!KL||D6||N6||R6||PL(function(){return r0[VL]=!1,Cr(Kr)!==Kr||Cr(r0)===r0||String(Cr(Kr,"i"))!=="/a/i"})),GL=function(t){for(var e=t.length,r=0,n="",i=!1,s;r<=e;r++){if(s=Qo(t,r),s==="\\"){n+=s+Qo(t,++r);continue}!i&&s==="."?n+="[\\s\\S]":(s==="["?i=!0:s==="]"&&(i=!1),n+=s)}return n},ZL=function(t){for(var e=t.length,r=0,n="",i=[],s=OL(null),o=!1,a=!1,l=0,c="",h;r<=e;r++){if(h=Qo(t,r),h==="\\")h+=Qo(t,++r);else if(h==="]")o=!1;else if(!o)switch(!0){case h==="[":o=!0;break;case h==="(":if(n+=h,uf(t,r+1,r+3)==="?:")continue;HL(qL,uf(t,r+1))&&(r+=2,a=!0),l++;continue;case(h===">"&&a):if(c===""||ML(s,c))throw new jL("Invalid capture group name");s[c]=!0,i[i.length]=[c,l],a=!1,c="";continue}a?c+=h:n+=h}return[n,i]};if(kL("RegExp",WL)){for(var Rr=function(e,r){var n=of(bn,this),i=RL(e),s=r===void 0,o=[],a=e,l,c,h,f,d,p;if(!n&&i&&s&&e.constructor===Rr)return e;if((i||of(bn,e))&&(e=e.source,s&&(r=DL(a))),e=e===void 0?"":af(e),r=r===void 0?"":af(r),a=e,N6&&"dotAll"in Kr&&(c=!!r&&cf(r,"s")>-1,c&&(r=lf(r,/s/g,""))),l=r,D6&&"sticky"in Kr&&(h=!!r&&cf(r,"y")>-1,h&&QL&&(r=lf(r,/y/g,""))),R6&&(f=ZL(e),e=f[0],o=f[1]),d=xL(Cr(e,r),n?this:bn,Rr),(c||h||o.length)&&(p=FL(d),c&&(p.dotAll=!0,p.raw=Rr(GL(e),l)),h&&(p.sticky=!0),o.length&&(p.groups=o)),e!==a)try{LL(d,"source",a===""?"(?:)":a)}catch(y){}return d},hf=NL(Cr),ff=0;hf.length>ff;)BL(Rr,Cr,hf[ff++]);bn.constructor=Rr,Rr.prototype=bn,$L(z1,"RegExp",Rr,{constructor:!0})}UL("RegExp");var YL=function(e,r,n){var i,s,o,a,l,c=function f(){var d=Date.now()-a;d<r&&d>=0?i=setTimeout(f,r-d):(i=null,n||(l=e.apply(o,s),i||(o=s=null)))},h=function(){o=this,s=arguments,a=Date.now();var d=n&&!i;return i||(i=setTimeout(c,r)),d&&(l=e.apply(o,s),o=s=null),l};return h.cancel=function(){i&&(clearTimeout(i),i=null)},h};const d2={debounce:YL};var z=window.navigator.userAgent.toLowerCase(),B6=z&&/msie|trident/.test(z),$6=z&&z.indexOf("msie 6.0")!=-1,P6=z&&z.indexOf("msie 7.0")!=-1,M6=z&&z.indexOf("msie 8.0")!=-1,F6=z&&z.indexOf("msie 9.0")>0,JL=z&&z.indexOf("msie 10.0")>0,XL=z&&z.indexOf("trident/")>0&&z.indexOf("rv:11.")>0,eO=B6&&($6||P6||M6||F6),U6=z&&(z.indexOf("edge/")>0||z.indexOf("edg/")>0),V1=z&&z.indexOf("android")>-1,j1=z&&/iphone|ipad|ipod|ios/.test(z),tO=z&&/chrome\/\d+/.test(z)&&!U6,H1=z&&z.indexOf("kfz_com")>-1,z6=z&&z.indexOf("alipayclient")>-1&&z.indexOf("miniprogram")>-1,V6=z&&z.indexOf("swan")>-1,j6=z&&z.indexOf("toutiaomicroapp")>-1,q1=z&&z.indexOf("micromessenger")>-1&&(z.indexOf("miniprogram")>-1||window.__wxjs_environment==="miniprogram"),K1=z&&z.indexOf("micromessenger")>-1&&!q1,rO=z&&z.indexOf("baiduboxapp")>-1,nO=z&&z.indexOf("newsarticle")>-1||z&&z.indexOf("newslite")>-1,Q1=V6||z6||q1||j6,iO=!Q1&&!K1&&!H1&&(j1||V1),sO=!Q1&&!K1&&!H1&&!j1&&!V1,oO=z&&z.indexOf("weibo")>-1,aO=/macintosh|mac os x/i.test(z)&&window.screen.height>window.screen.width&&!z.match(/(iPhone\sOS)\s([\d_]+)/)||z.match(/(iPad).*OS\s([\d_]+)/);const Qr={UA:z,isIE:B6,isIE6:$6,isIE7:P6,isIE8:M6,isIE9:F6,isIE10:JL,isIE11:XL,isIELower:eO,isEdge:U6,isAndroid:V1,isIOS:j1,isChrome:tO,isKFZApp:H1,isAliMiniP:z6,isBaiDuMiniP:V6,isTouTiaoMiniP:j6,isWXMiniP:q1,isWXWeb:K1,isBDApp:rO,isTTApp:nO,isMiniP:Q1,isMobileBrowser:iO,isPCBrowser:sO,isWeiBo:oO,isIpad:aO};var lO=TypeError,cO=9007199254740991,uO=function(t){if(t>cO)throw lO("Maximum allowed index exceeded");return t},hO=ke,fO=K,dO=Sa,pO=be,gO=ut,vO=st,df=uO,pf=x1,yO=yp,mO=Xp,bO=de,_O=va,H6=bO("isConcatSpreadable"),wO=_O>=51||!fO(function(){var t=[];return t[H6]=!1,t.concat()[0]!==t}),CO=function(t){if(!pO(t))return!1;var e=t[H6];return e!==void 0?!!e:dO(t)},AO=!wO||!mO("concat");hO({target:"Array",proto:!0,arity:1,forced:AO},{concat:function(e){var r=gO(this),n=yO(r,0),i=0,s,o,a,l,c;for(s=-1,a=arguments.length;s<a;s++)if(c=s===-1?r:arguments[s],CO(c))for(l=vO(c),df(i+l),o=0;o<l;o++,i++)o in c&&pf(n,i,c[o]);else df(i+1),pf(n,i++,c);return n.length=i,n}});var q6=typeof ArrayBuffer<"u"&&typeof DataView<"u",SO=Vt,TO=rr,EO=RangeError,K6=function(t){if(t===void 0)return 0;var e=SO(t),r=TO(e);if(e!==r)throw new EO("Wrong length or index");return r},IO=Math.sign||function(e){var r=+e;return r===0||r!==r?r:r<0?-1:1},kO=2220446049250313e-31,gf=1/kO,xO=function(t){return t+gf-gf},LO=IO,OO=xO,NO=Math.abs,RO=2220446049250313e-31,DO=function(t,e,r,n){var i=+t,s=NO(i),o=LO(i);if(s<n)return o*OO(s/n/e)*n*e;var a=(1+e/RO)*s,l=a-(a-s);return l>r||l!==l?o*(1/0):o*l},BO=DO,$O=11920928955078125e-23,PO=34028234663852886e22,MO=11754943508222875e-54,FO=Math.fround||function(e){return BO(e,$O,PO,MO)},UO=Array,zO=Math.abs,qt=Math.pow,VO=Math.floor,jO=Math.log,HO=Math.LN2,qO=function(t,e,r){var n=UO(r),i=r*8-e-1,s=(1<<i)-1,o=s>>1,a=e===23?qt(2,-24)-qt(2,-77):0,l=t<0||t===0&&1/t<0?1:0,c=0,h,f,d;for(t=zO(t),t!==t||t===1/0?(f=t!==t?1:0,h=s):(h=VO(jO(t)/HO),d=qt(2,-h),t*d<1&&(h--,d*=2),h+o>=1?t+=a/d:t+=a*qt(2,1-o),t*d>=2&&(h++,d/=2),h+o>=s?(f=0,h=s):h+o>=1?(f=(t*d-1)*qt(2,e),h+=o):(f=t*qt(2,o-1)*qt(2,e),h=0));e>=8;)n[c++]=f&255,f/=256,e-=8;for(h=h<<e|f,i+=e;i>0;)n[c++]=h&255,h/=256,i-=8;return n[c-1]|=l*128,n},KO=function(t,e){var r=t.length,n=r*8-e-1,i=(1<<n)-1,s=i>>1,o=n-7,a=r-1,l=t[a--],c=l&127,h;for(l>>=7;o>0;)c=c*256+t[a--],o-=8;for(h=c&(1<<-o)-1,c>>=-o,o+=e;o>0;)h=h*256+t[a--],o-=8;if(c===0)c=1-s;else{if(c===i)return h?NaN:l?-1/0:1/0;h+=qt(2,e),c-=s}return(l?-1:1)*h*qt(2,c-e)},QO={pack:qO,unpack:KO},WO=ut,vf=ti,GO=st,Q6=function(e){for(var r=WO(this),n=GO(r),i=arguments.length,s=vf(i>1?arguments[1]:void 0,n),o=i>2?arguments[2]:void 0,a=o===void 0?n:vf(o,n);a>s;)r[s++]=e;return r},Ma=ae,W1=Y,n0=Oe,ZO=q6,W6=ps,YO=zt,JO=Or,yf=Pa,i0=K,Js=Ts,XO=Vt,eN=rr,Wo=K6,tN=FO,G6=QO,rN=Oa,mf=As,nN=Q6,iN=Xr,sN=Ss,oN=a1,Z6=ri,G1=ht,aN=W6.PROPER,bf=W6.CONFIGURABLE,kn="ArrayBuffer",Fa="DataView",xn="prototype",lN="Wrong length",Y6="Wrong index",_f=G1.getterFor(kn),Bi=G1.getterFor(Fa),wf=G1.set,dt=Ma[kn],rt=dt,hn=rt&&rt[xn],Ot=Ma[Fa],Dr=Ot&&Ot[xn],Cf=Object.prototype,cN=Ma.Array,Go=Ma.RangeError,uN=W1(nN),hN=W1([].reverse),J6=G6.pack,Af=G6.unpack,Sf=function(t){return[t&255]},Tf=function(t){return[t&255,t>>8&255]},Ef=function(t){return[t&255,t>>8&255,t>>16&255,t>>24&255]},If=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},fN=function(t){return J6(tN(t),23,4)},dN=function(t){return J6(t,52,8)},Xs=function(t,e,r){JO(t[xn],e,{configurable:!0,get:function(){return r(this)[e]}})},cr=function(t,e,r,n){var i=Bi(t),s=Wo(r),o=!!n;if(s+e>i.byteLength)throw new Go(Y6);var a=i.bytes,l=s+i.byteOffset,c=iN(a,l,l+e);return o?c:hN(c)},ur=function(t,e,r,n,i,s){var o=Bi(t),a=Wo(r),l=n(+i),c=!!s;if(a+e>o.byteLength)throw new Go(Y6);for(var h=o.bytes,f=a+o.byteOffset,d=0;d<e;d++)h[f+d]=l[c?d:e-d-1]};if(!ZO)rt=function(e){Js(this,hn);var r=Wo(e);wf(this,{type:kn,bytes:uN(cN(r),0),byteLength:r}),n0||(this.byteLength=r,this.detached=!1)},hn=rt[xn],Ot=function(e,r,n){Js(this,Dr),Js(e,hn);var i=_f(e),s=i.byteLength,o=XO(r);if(o<0||o>s)throw new Go("Wrong offset");if(n=n===void 0?s-o:eN(n),o+n>s)throw new Go(lN);wf(this,{type:Fa,buffer:e,byteLength:n,byteOffset:o,bytes:i.bytes}),n0||(this.buffer=e,this.byteLength=n,this.byteOffset=o)},Dr=Ot[xn],n0&&(Xs(rt,"byteLength",_f),Xs(Ot,"buffer",Bi),Xs(Ot,"byteLength",Bi),Xs(Ot,"byteOffset",Bi)),yf(Dr,{getInt8:function(e){return cr(this,1,e)[0]<<24>>24},getUint8:function(e){return cr(this,1,e)[0]},getInt16:function(e){var r=cr(this,2,e,arguments.length>1?arguments[1]:!1);return(r[1]<<8|r[0])<<16>>16},getUint16:function(e){var r=cr(this,2,e,arguments.length>1?arguments[1]:!1);return r[1]<<8|r[0]},getInt32:function(e){return If(cr(this,4,e,arguments.length>1?arguments[1]:!1))},getUint32:function(e){return If(cr(this,4,e,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(e){return Af(cr(this,4,e,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(e){return Af(cr(this,8,e,arguments.length>1?arguments[1]:!1),52)},setInt8:function(e,r){ur(this,1,e,Sf,r)},setUint8:function(e,r){ur(this,1,e,Sf,r)},setInt16:function(e,r){ur(this,2,e,Tf,r,arguments.length>2?arguments[2]:!1)},setUint16:function(e,r){ur(this,2,e,Tf,r,arguments.length>2?arguments[2]:!1)},setInt32:function(e,r){ur(this,4,e,Ef,r,arguments.length>2?arguments[2]:!1)},setUint32:function(e,r){ur(this,4,e,Ef,r,arguments.length>2?arguments[2]:!1)},setFloat32:function(e,r){ur(this,4,e,fN,r,arguments.length>2?arguments[2]:!1)},setFloat64:function(e,r){ur(this,8,e,dN,r,arguments.length>2?arguments[2]:!1)}});else{var kf=aN&&dt.name!==kn;!i0(function(){dt(1)})||!i0(function(){new dt(-1)})||i0(function(){return new dt,new dt(1.5),new dt(NaN),dt.length!==1||kf&&!bf})?(rt=function(e){return Js(this,hn),sN(new dt(Wo(e)),this,rt)},rt[xn]=hn,hn.constructor=rt,oN(rt,dt)):kf&&bf&&YO(dt,"name",kn),mf&&rN(Dr)!==Cf&&mf(Dr,Cf);var eo=new Ot(new rt(2)),xf=W1(Dr.setInt8);eo.setInt8(0,2147483648),eo.setInt8(1,2147483649),(eo.getInt8(0)||!eo.getInt8(1))&&yf(Dr,{setInt8:function(e,r){xf(this,e,r<<24>>24)},setUint8:function(e,r){xf(this,e,r<<24>>24)}},{unsafe:!0})}Z6(rt,kn);Z6(Ot,Fa);var X6={ArrayBuffer:rt,DataView:Ot},pN=ke,Z1=_1,gN=K,e4=X6,Lf=Qe,Of=ti,vN=rr,Y1=e4.ArrayBuffer,p2=e4.DataView,t4=p2.prototype,Nf=Z1(Y1.prototype.slice),yN=Z1(t4.getUint8),mN=Z1(t4.setUint8),bN=gN(function(){return!new Y1(2).slice(1,void 0).byteLength});pN({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:bN},{slice:function(e,r){if(Nf&&r===void 0)return Nf(Lf(this),e);for(var n=Lf(this).byteLength,i=Of(e,n),s=Of(r===void 0?n:r,n),o=new Y1(vN(s-i)),a=new p2(this),l=new p2(o),c=0;i<s;)mN(l,c++,yN(a,i++));return o}});var g2={exports:{}},_N=q6,J1=Oe,Ye=ae,r4=me,Ua=be,Er=Ie,X1=Lr,wN=Yr,CN=zt,v2=ft,AN=Or,SN=Ut,za=Oa,ni=As,TN=de,EN=ds,n4=ht,i4=n4.enforce,IN=n4.get,Zo=Ye.Int8Array,y2=Zo&&Zo.prototype,Rf=Ye.Uint8ClampedArray,Df=Rf&&Rf.prototype,Rt=Zo&&za(Zo),_t=y2&&za(y2),kN=Object.prototype,ec=Ye.TypeError,Bf=TN("toStringTag"),m2=EN("TYPED_ARRAY_TAG"),Yo="TypedArrayConstructor",Jt=_N&&!!ni&&X1(Ye.opera)!=="Opera",s4=!1,et,mr,Ln,Xt={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},tc={BigInt64Array:8,BigUint64Array:8},xN=function(e){if(!Ua(e))return!1;var r=X1(e);return r==="DataView"||Er(Xt,r)||Er(tc,r)},o4=function(t){var e=za(t);if(Ua(e)){var r=IN(e);return r&&Er(r,Yo)?r[Yo]:o4(e)}},a4=function(t){if(!Ua(t))return!1;var e=X1(t);return Er(Xt,e)||Er(tc,e)},LN=function(t){if(a4(t))return t;throw new ec("Target is not a typed array")},ON=function(t){if(r4(t)&&(!ni||SN(Rt,t)))return t;throw new ec(wN(t)+" is not a typed array constructor")},NN=function(t,e,r,n){if(J1){if(r)for(var i in Xt){var s=Ye[i];if(s&&Er(s.prototype,t))try{delete s.prototype[t]}catch(o){try{s.prototype[t]=e}catch(a){}}}(!_t[t]||r)&&v2(_t,t,r?e:Jt&&y2[t]||e,n)}},RN=function(t,e,r){var n,i;if(J1){if(ni){if(r){for(n in Xt)if(i=Ye[n],i&&Er(i,t))try{delete i[t]}catch(s){}}if(!Rt[t]||r)try{return v2(Rt,t,r?e:Jt&&Rt[t]||e)}catch(s){}else return}for(n in Xt)i=Ye[n],i&&(!i[t]||r)&&v2(i,t,e)}};for(et in Xt)mr=Ye[et],Ln=mr&&mr.prototype,Ln?i4(Ln)[Yo]=mr:Jt=!1;for(et in tc)mr=Ye[et],Ln=mr&&mr.prototype,Ln&&(i4(Ln)[Yo]=mr);if((!Jt||!r4(Rt)||Rt===Function.prototype)&&(Rt=function(){throw new ec("Incorrect invocation")},Jt))for(et in Xt)Ye[et]&&ni(Ye[et],Rt);if((!Jt||!_t||_t===kN)&&(_t=Rt.prototype,Jt))for(et in Xt)Ye[et]&&ni(Ye[et].prototype,_t);Jt&&za(Df)!==_t&&ni(Df,_t);if(J1&&!Er(_t,Bf)){s4=!0,AN(_t,Bf,{configurable:!0,get:function(){return Ua(this)?this[m2]:void 0}});for(et in Xt)Ye[et]&&CN(Ye[et],m2,et)}var he={NATIVE_ARRAY_BUFFER_VIEWS:Jt,TYPED_ARRAY_TAG:s4&&m2,aTypedArray:LN,aTypedArrayConstructor:ON,exportTypedArrayMethod:NN,exportTypedArrayStaticMethod:RN,getTypedArrayConstructor:o4,isView:xN,isTypedArray:a4,TypedArray:Rt,TypedArrayPrototype:_t},l4=ae,s0=K,DN=N1,BN=he.NATIVE_ARRAY_BUFFER_VIEWS,$N=l4.ArrayBuffer,Br=l4.Int8Array,PN=!BN||!s0(function(){Br(1)})||!s0(function(){new Br(-1)})||!DN(function(t){new Br,new Br(null),new Br(1.5),new Br(t)},!0)||s0(function(){return new Br(new $N(2),1,void 0).length!==1}),MN=be,FN=Math.floor,UN=Number.isInteger||function(e){return!MN(e)&&isFinite(e)&&FN(e)===e},zN=Vt,VN=RangeError,jN=function(t){var e=zN(t);if(e<0)throw new VN("The argument can't be less than 0");return e},HN=jN,qN=RangeError,c4=function(t,e){var r=HN(t);if(r%e)throw new qN("Wrong offset");return r},KN=Math.round,QN=function(t){var e=KN(t);return e<0?0:e>255?255:e&255},WN=Ta,GN=Yr,ZN=TypeError,YN=function(t){if(WN(t))return t;throw new ZN(GN(t)+" is not a constructor")},JN=Lr,XN=function(t){var e=JN(t);return e==="BigInt64Array"||e==="BigUint64Array"},eR=r1,tR=TypeError,u4=function(t){var e=eR(t,"number");if(typeof e=="number")throw new tR("Can't convert number to bigint");return BigInt(e)},rR=ms,nR=Ee,iR=YN,sR=ut,oR=st,aR=O1,lR=Na,cR=L1,uR=XN,hR=he.aTypedArrayConstructor,fR=u4,dR=function(e){var r=iR(this),n=sR(e),i=arguments.length,s=i>1?arguments[1]:void 0,o=s!==void 0,a=lR(n),l,c,h,f,d,p,y,m;if(a&&!cR(a))for(y=aR(n,a),m=y.next,n=[];!(p=nR(m,y)).done;)n.push(p.value);for(o&&i>2&&(s=rR(s,arguments[2])),c=oR(n),h=new(hR(r))(c),f=uR(h),l=0;c>l;l++)d=o?s(n[l],l):n[l],h[l]=f?fR(d):+d;return h},pR=st,h4=function(t,e,r){for(var n=0,i=arguments.length>2?r:pR(e),s=new t(i);i>n;)s[n]=e[n++];return s},$f=ke,f4=ae,Pf=Ee,gR=Oe,vR=PN,ks=he,d4=X6,Mf=Ts,yR=Gn,mi=zt,mR=UN,bR=rr,Ff=K6,o0=c4,_R=QN,p4=ya,bi=Ie,wR=Lr,b2=be,CR=Jn,AR=Jr,SR=Ut,to=As,TR=xr.f,Uf=dR,ER=wt.forEach,IR=U1,kR=Or,g4=Ke,v4=Wn,zf=h4,rc=ht,xR=Ss,_2=rc.get,LR=rc.set,OR=rc.enforce,y4=g4.f,NR=v4.f,a0=f4.RangeError,m4=d4.ArrayBuffer,RR=m4.prototype,DR=d4.DataView,ro=ks.NATIVE_ARRAY_BUFFER_VIEWS,Vf=ks.TYPED_ARRAY_TAG,jf=ks.TypedArray,_i=ks.TypedArrayPrototype,w2=ks.isTypedArray,no="BYTES_PER_ELEMENT",l0="Wrong length",io=function(t,e){kR(t,e,{configurable:!0,get:function(){return _2(this)[e]}})},Hf=function(t){var e;return SR(RR,t)||(e=wR(t))==="ArrayBuffer"||e==="SharedArrayBuffer"},b4=function(t,e){return w2(t)&&!CR(e)&&e in t&&mR(+e)&&e>=0},qf=function(e,r){return r=p4(r),b4(e,r)?yR(2,e[r]):NR(e,r)},Kf=function(e,r,n){return r=p4(r),b4(e,r)&&b2(n)&&bi(n,"value")&&!bi(n,"get")&&!bi(n,"set")&&!n.configurable&&(!bi(n,"writable")||n.writable)&&(!bi(n,"enumerable")||n.enumerable)?(e[r]=n.value,e):y4(e,r,n)};gR?(ro||(v4.f=qf,g4.f=Kf,io(_i,"buffer"),io(_i,"byteOffset"),io(_i,"byteLength"),io(_i,"length")),$f({target:"Object",stat:!0,forced:!ro},{getOwnPropertyDescriptor:qf,defineProperty:Kf}),g2.exports=function(t,e,r){var n=t.match(/\d+/)[0]/8,i=t+(r?"Clamped":"")+"Array",s="get"+t,o="set"+t,a=f4[i],l=a,c=l&&l.prototype,h={},f=function(m,_){var A=_2(m);return A.view[s](_*n+A.byteOffset,!0)},d=function(m,_,A){var x=_2(m);x.view[o](_*n+x.byteOffset,r?_R(A):A,!0)},p=function(m,_){y4(m,_,{get:function(){return f(this,_)},set:function(A){return d(this,_,A)},enumerable:!0})};ro?vR&&(l=e(function(m,_,A,x){return Mf(m,c),xR(function(){return b2(_)?Hf(_)?x!==void 0?new a(_,o0(A,n),x):A!==void 0?new a(_,o0(A,n)):new a(_):w2(_)?zf(l,_):Pf(Uf,l,_):new a(Ff(_))}(),m,l)}),to&&to(l,jf),ER(TR(a),function(m){m in l||mi(l,m,a[m])}),l.prototype=c):(l=e(function(m,_,A,x){Mf(m,c);var L=0,S=0,N,w,Q;if(!b2(_))Q=Ff(_),w=Q*n,N=new m4(w);else if(Hf(_)){N=_,S=o0(A,n);var G=_.byteLength;if(x===void 0){if(G%n)throw new a0(l0);if(w=G-S,w<0)throw new a0(l0)}else if(w=bR(x)*n,w+S>G)throw new a0(l0);Q=w/n}else return w2(_)?zf(l,_):Pf(Uf,l,_);for(LR(m,{buffer:N,byteOffset:S,byteLength:w,length:Q,view:new DR(N)});L<Q;)p(m,L++)}),to&&to(l,jf),c=l.prototype=AR(_i)),c.constructor!==l&&mi(c,"constructor",l),OR(c).TypedArrayConstructor=l,Vf&&mi(c,Vf,i);var y=l!==a;h[i]=l,$f({global:!0,constructor:!0,forced:y,sham:!ro},h),no in l||mi(l,no,n),no in c||mi(c,no,n),IR(i)}):g2.exports=function(){};var BR=g2.exports,$R=BR;$R("Uint8",function(t){return function(r,n,i){return t(this,r,n,i)}});var Qf=Yr,PR=TypeError,MR=function(t,e){if(!delete t[e])throw new PR("Cannot delete property "+Qf(e)+" of "+Qf(t))},FR=ut,c0=ti,UR=st,zR=MR,VR=Math.min,jR=[].copyWithin||function(e,r){var n=FR(this),i=UR(n),s=c0(e,i),o=c0(r,i),a=arguments.length>2?arguments[2]:void 0,l=VR((a===void 0?i:c0(a,i))-o,i-s),c=1;for(o<s&&s<o+l&&(c=-1,o+=l-1,s+=l-1);l-- >0;)o in n?n[s]=n[o]:zR(n,s),s+=c,o+=c;return n},HR=Y,_4=he,qR=jR,KR=HR(qR),QR=_4.aTypedArray,WR=_4.exportTypedArrayMethod;WR("copyWithin",function(e,r){return KR(QR(this),e,r,arguments.length>2?arguments[2]:void 0)});var w4=he,GR=wt.every,ZR=w4.aTypedArray,YR=w4.exportTypedArrayMethod;YR("every",function(e){return GR(ZR(this),e,arguments.length>1?arguments[1]:void 0)});var C4=he,JR=Q6,XR=u4,eD=Lr,tD=Ee,rD=Y,nD=K,iD=C4.aTypedArray,sD=C4.exportTypedArrayMethod,oD=rD("".slice),aD=nD(function(){var t=0;return new Int8Array(2).fill({valueOf:function(){return t++}}),t!==1});sD("fill",function(e){var r=arguments.length;iD(this);var n=oD(eD(this),0,3)==="Big"?XR(e):+e;return tD(JR,this,n,r>1?arguments[1]:void 0,r>2?arguments[2]:void 0)},aD);var lD=h4,cD=he.getTypedArrayConstructor,uD=function(t,e){return lD(cD(t),e)},A4=he,hD=wt.filter,fD=uD,dD=A4.aTypedArray,pD=A4.exportTypedArrayMethod;pD("filter",function(e){var r=hD(dD(this),e,arguments.length>1?arguments[1]:void 0);return fD(this,r)});var S4=he,gD=wt.find,vD=S4.aTypedArray,yD=S4.exportTypedArrayMethod;yD("find",function(e){return gD(vD(this),e,arguments.length>1?arguments[1]:void 0)});var T4=he,mD=wt.findIndex,bD=T4.aTypedArray,_D=T4.exportTypedArrayMethod;_D("findIndex",function(e){return mD(bD(this),e,arguments.length>1?arguments[1]:void 0)});var E4=he,wD=wt.forEach,CD=E4.aTypedArray,AD=E4.exportTypedArrayMethod;AD("forEach",function(e){wD(CD(this),e,arguments.length>1?arguments[1]:void 0)});var I4=he,SD=ba.includes,TD=I4.aTypedArray,ED=I4.exportTypedArrayMethod;ED("includes",function(e){return SD(TD(this),e,arguments.length>1?arguments[1]:void 0)});var k4=he,ID=ba.indexOf,kD=k4.aTypedArray,xD=k4.exportTypedArrayMethod;xD("indexOf",function(e){return ID(kD(this),e,arguments.length>1?arguments[1]:void 0)});var LD=ae,OD=K,nc=Y,x4=he,ic=Kp,ND=de,sc=ND("iterator"),Wf=LD.Uint8Array,RD=nc(ic.values),DD=nc(ic.keys),BD=nc(ic.entries),oc=x4.aTypedArray,Va=x4.exportTypedArrayMethod,_n=Wf&&Wf.prototype,ja=!OD(function(){_n[sc].call([1])}),L4=!!_n&&_n.values&&_n[sc]===_n.values&&_n.values.name==="values",O4=function(){return RD(oc(this))};Va("entries",function(){return BD(oc(this))},ja);Va("keys",function(){return DD(oc(this))},ja);Va("values",O4,ja||!L4,{name:"values"});Va(sc,O4,ja||!L4,{name:"values"});var N4=he,$D=Y,PD=N4.aTypedArray,MD=N4.exportTypedArrayMethod,FD=$D([].join);MD("join",function(e){return FD(PD(this),e)});var UD=ys,zD=tr,VD=Vt,jD=st,HD=k6,qD=Math.min,C2=[].lastIndexOf,R4=!!C2&&1/[1].lastIndexOf(1,-0)<0,KD=HD("lastIndexOf"),QD=R4||!KD,WD=QD?function(e){if(R4)return UD(C2,this,arguments)||0;var r=zD(this),n=jD(r);if(n===0)return-1;var i=n-1;for(arguments.length>1&&(i=qD(i,VD(arguments[1]))),i<0&&(i=n+i);i>=0;i--)if(i in r&&r[i]===e)return i||0;return-1}:C2,D4=he,GD=ys,ZD=WD,YD=D4.aTypedArray,JD=D4.exportTypedArrayMethod;JD("lastIndexOf",function(e){var r=arguments.length;return GD(ZD,YD(this),r>1?[e,arguments[1]]:[e])});var ac=he,XD=wt.map,eB=ac.aTypedArray,tB=ac.getTypedArrayConstructor,rB=ac.exportTypedArrayMethod;rB("map",function(e){return XD(eB(this),e,arguments.length>1?arguments[1]:void 0,function(r,n){return new(tB(r))(n)})});var nB=Xn,iB=ut,sB=X2,oB=st,Gf=TypeError,Zf="Reduce of empty array with no initial value",Yf=function(t){return function(e,r,n,i){var s=iB(e),o=sB(s),a=oB(s);if(nB(r),a===0&&n<2)throw new Gf(Zf);var l=t?a-1:0,c=t?-1:1;if(n<2)for(;;){if(l in o){i=o[l],l+=c;break}if(l+=c,t?l<0:a<=l)throw new Gf(Zf)}for(;t?l>=0:a>l;l+=c)l in o&&(i=r(i,o[l],l,s));return i}},B4={left:Yf(!1),right:Yf(!0)},$4=he,aB=B4.left,lB=$4.aTypedArray,cB=$4.exportTypedArrayMethod;cB("reduce",function(e){var r=arguments.length;return aB(lB(this),e,r,r>1?arguments[1]:void 0)});var P4=he,uB=B4.right,hB=P4.aTypedArray,fB=P4.exportTypedArrayMethod;fB("reduceRight",function(e){var r=arguments.length;return uB(hB(this),e,r,r>1?arguments[1]:void 0)});var M4=he,dB=M4.aTypedArray,pB=M4.exportTypedArrayMethod,gB=Math.floor;pB("reverse",function(){for(var e=this,r=dB(e).length,n=gB(r/2),i=0,s;i<n;)s=e[i],e[i++]=e[--r],e[r]=s;return e});var F4=ae,U4=Ee,lc=he,vB=st,yB=c4,mB=ut,z4=K,bB=F4.RangeError,A2=F4.Int8Array,Jf=A2&&A2.prototype,V4=Jf&&Jf.set,_B=lc.aTypedArray,wB=lc.exportTypedArrayMethod,S2=!z4(function(){var t=new Uint8ClampedArray(2);return U4(V4,t,{length:1,0:3},1),t[1]!==3}),CB=S2&&lc.NATIVE_ARRAY_BUFFER_VIEWS&&z4(function(){var t=new A2(2);return t.set(1),t.set("2",1),t[0]!==0||t[1]!==2});wB("set",function(e){_B(this);var r=yB(arguments.length>1?arguments[1]:void 0,1),n=mB(e);if(S2)return U4(V4,this,n,r);var i=this.length,s=vB(n),o=0;if(s+r>i)throw new bB("Wrong length");for(;o<s;)this[r+o]=n[o++]},!S2||CB);var cc=he,AB=K,SB=Xr,TB=cc.aTypedArray,EB=cc.getTypedArrayConstructor,IB=cc.exportTypedArrayMethod,kB=AB(function(){new Int8Array(1).slice()});IB("slice",function(e,r){for(var n=SB(TB(this),e,r),i=EB(this),s=0,o=n.length,a=new i(o);o>s;)a[s]=n[s++];return a},kB);var j4=he,xB=wt.some,LB=j4.aTypedArray,OB=j4.exportTypedArrayMethod;OB("some",function(e){return xB(LB(this),e,arguments.length>1?arguments[1]:void 0)});var Xf=Xr,NB=Math.floor,T2=function(t,e){var r=t.length;if(r<8)for(var n=1,i,s;n<r;){for(s=n,i=t[n];s&&e(t[s-1],i)>0;)t[s]=t[--s];s!==n++&&(t[s]=i)}else for(var o=NB(r/2),a=T2(Xf(t,0,o),e),l=T2(Xf(t,o),e),c=a.length,h=l.length,f=0,d=0;f<c||d<h;)t[f+d]=f<c&&d<h?e(a[f],l[d])<=0?a[f++]:l[d++]:f<c?a[f++]:l[d++];return t},RB=T2,DB=hs,ed=DB.match(/firefox\/(\d+)/i),BB=!!ed&&+ed[1],$B=hs,PB=/MSIE|Trident/.test($B),MB=hs,td=MB.match(/AppleWebKit\/(\d+)\./),FB=!!td&&+td[1],UB=ae,zB=_1,E2=K,VB=Xn,jB=RB,H4=he,rd=BB,HB=PB,nd=va,id=FB,qB=H4.aTypedArray,KB=H4.exportTypedArrayMethod,Xi=UB.Uint16Array,On=Xi&&zB(Xi.prototype.sort),QB=!!On&&!(E2(function(){On(new Xi(2),null)})&&E2(function(){On(new Xi(2),{})})),sd=!!On&&!E2(function(){if(nd)return nd<74;if(rd)return rd<67;if(HB)return!0;if(id)return id<602;var t=new Xi(516),e=Array(516),r,n;for(r=0;r<516;r++)n=r%4,t[r]=515-r,e[r]=r-2*n+3;for(On(t,function(i,s){return(i/4|0)-(s/4|0)}),r=0;r<516;r++)if(t[r]!==e[r])return!0}),WB=function(t){return function(e,r){return t!==void 0?+t(e,r)||0:r!==r?-1:e!==e?1:e===0&&r===0?1/e>0&&1/r<0?1:-1:e>r}};KB("sort",function(e){return e!==void 0&&VB(e),sd?On(this,e):jB(qB(this),WB(e))},!sd||QB);var uc=he,GB=rr,od=ti,ZB=uc.aTypedArray,YB=uc.getTypedArrayConstructor,JB=uc.exportTypedArrayMethod;JB("subarray",function(e,r){var n=ZB(this),i=n.length,s=od(e,i),o=YB(n);return new o(n.buffer,n.byteOffset+s*n.BYTES_PER_ELEMENT,GB((r===void 0?i:od(r,i))-s))});var XB=ae,e$=ys,q4=he,I2=K,ad=Xr,Jo=XB.Int8Array,ld=q4.aTypedArray,t$=q4.exportTypedArrayMethod,K4=[].toLocaleString,r$=!!Jo&&I2(function(){K4.call(new Jo(1))}),n$=I2(function(){return[1,2].toLocaleString()!==new Jo([1,2]).toLocaleString()})||!I2(function(){Jo.prototype.toLocaleString.call([1,2])});t$("toLocaleString",function(){return e$(K4,r$?ad(ld(this)):ld(this),ad(arguments))},n$);var i$=he.exportTypedArrayMethod,s$=K,o$=ae,a$=Y,cd=o$.Uint8Array,l$=cd&&cd.prototype||{},Xo=[].toString,c$=a$([].join);s$(function(){Xo.call({})})&&(Xo=function(){return c$(this)});var u$=l$.toString!==Xo;i$("toString",Xo,u$);var h$=ke,f$=c1;h$({target:"String",proto:!0},{repeat:f$});var d$=ke,p$=ba.includes,g$=K,v$=Fp,y$=g$(function(){return!Array(1).includes()});d$({target:"Array",proto:!0,forced:y$},{includes:function(e){return p$(this,e,arguments.length>1?arguments[1]:void 0)}});v$("includes");var m$=L6,b$=TypeError,_$=function(t){if(m$(t))throw new b$("The method doesn't accept regular expressions");return t},w$=de,C$=w$("match"),A$=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[C$]=!1,"/./"[t](e)}catch(n){}}return!1},S$=ke,T$=Y,E$=_$,I$=Ft,ud=Je,k$=A$,x$=T$("".indexOf);S$({target:"String",proto:!0,forced:!k$("includes")},{includes:function(e){return!!~x$(ud(I$(this)),ud(E$(e)),arguments.length>1?arguments[1]:void 0)}});const L$={class:"header-wrap"},O$=u("div",{class:"slogan-box"},[u("span",{class:"text"},"网罗天下图书"),u("span",null,"传承中华文明")],-1),N$={class:"index-link-box clearfix"},R$={class:"item-info"},D$=["href"],B$=u("span",{class:"info-text"},"首页",-1),$$=[B$],P$={class:"item-info"},M$=["href"],F$=u("span",{class:"info-text"},"书店区",-1),U$=[F$],z$={class:"item-info"},V$=["href"],j$=u("span",{class:"info-text"},"书摊区",-1),H$=[j$],q$={class:"item-info"},K$=["href"],Q$=u("span",{class:"info-text"},"新书",-1),W$=[Q$],G$={class:"item-info"},Z$=["href"],Y$=u("span",{class:"info-text"},"在线拍卖",-1),J$=[Y$],X$={class:"item-info"},eP=["href"],tP=u("span",{class:"info-text"},"艺术品专场",-1),rP=[tP],nP={class:"user-info-box clearfix"},iP={id:"nickName",class:"info-normal"},sP={key:0,class:"info-text user-name-text"},oP=u("span",{class:"info-text"},"登录",-1),aP=u("span",{class:"info-text"},"/",-1),lP=u("span",{class:"info-text"},"注册",-1),cP={id:"loginWin",class:"info-win"},uP={class:"item-info message-win"},hP=["href"],fP={class:"info-text un-read-style"},dP={id:"unReadNum",class:"num"},pP=u("span",{class:"info-text normal-style"},"消息",-1),gP={key:0,class:"notice-play"},vP=["src"],yP=["href"],mP=u("span",{class:"global-iconfont global-icon-cart"},null,-1),bP={class:"info-text"},_P={key:0,id:"cartNum",class:"num"},wP={id:"cartListWin",class:"info-win"},CP={class:"item-info"},AP=["href"],SP=u("span",{class:"info-text"},"我的订单",-1),TP=[SP],EP=["href"],IP=u("span",{class:"info-text"},"个人中心",-1),kP=[IP],xP={class:"info-win"},LP={class:"personal-center"},OP={class:"info-domain"},NP=u("div",{class:"title"},[u("span",{class:"global-iconfont global-icon-dianpu"}),u("span",{class:"text"},"店铺")],-1),RP=["href"],DP=["href"],BP={class:"info-domain"},$P=u("div",{class:"title"},[u("span",{class:"global-iconfont global-icon-bid"}),u("span",{class:"text"},"拍卖")],-1),PP=["href"],MP=["href"],FP=["href"],UP={class:"info-domain"},zP=u("div",{class:"title"},null,-1),VP=["href"],jP=["href"],HP=["href"],qP=u("span",{class:"info-text"},"卖家中心",-1),KP=[qP],QP={id:"sellerWin",class:"info-win"},WP=u("span",{class:"info-normal"},[u("span",{class:"info-text"},"客服")],-1),GP=u("span",{class:"line-right-test"},"|",-1),ZP={class:"info-win"},YP={class:"help-center"},JP={class:"other_info_inner"},XP=["href"],eM=u("span",{class:"global-iconfont global-icon-question"},null,-1),tM=u("span",{class:"tip"},"9:00-20:30",-1),rM=["href"],nM=u("span",{class:"global-iconfont global-icon-service"},null,-1),iM=it('<div class="text"><div class="item"><div class="item-top">客服电话</div><div class="phone" style="font-size:16px;">010-89648155</div></div><div class="item"><div class="item-top">服务时间</div><div class="phone">客服咨询 08:00-21:00</div><div class="phone jiufen"><div class="jiufen-left">纠纷处理</div><div class="jiufen-right"><div class="jiufen-right-item first"> 09:00-12:30</div><div class="jiufen-right-item"> 13:30-18:00</div></div><div style="clear:both;"></div></div><div class="phone">图书审核 09:00-18:00</div></div></div>',1),sM=["href"],oM=u("span",{class:"global-iconfont global-icon-message"},null,-1),aM={key:0,class:"item-info",id:"wzaBtnBox"},lM=u("span",{class:"info-text"},"网站无障碍",-1),cM=[lM],uM=["href"],hM=u("span",{class:"info-text"},"手机孔网",-1),fM=[hM],dM={id:"codeWin",class:"info-win"},pM={class:"info-win__item app-code clearfix"},gM={class:"code f_left"},vM=["href"],yM=u("img",{src:Cv,alt:"",class:"code-img"},null,-1),mM=[yM],bM=it('<div class="content f_left ml-16"><h3 class="title">下载手机孔网</h3><p class="desc">功能更全、体验更好</p><div class="extra mt-12 clearfix"><div class="app-platform f_left"><img src="'+Av+'" alt="" class="app-platform__icon"><p class="app-platform__text">iPhone</p></div><div class="app-platform f_left"><img src="'+Sv+'" alt="" class="app-platform__icon"><p class="app-platform__text">Android</p></div><div class="app-platform f_left"><img src="'+Tv+'" alt="" class="app-platform__icon"><p class="app-platform__text">iPad</p></div></div></div>',1),_M=it('<div class="info-win__item mp-code mt-50 clearfix"><div class="code f_left"><img src="'+Ev+'" alt="" class="code-img"></div><div class="content f_left ml-16"><h3 class="title">微信扫码逛孔网</h3><p class="desc">无需下载，扫码即刻访问</p><div class="extra mt-12"><span class="tag">抢5折好券</span></div></div></div>',1),fn="info-focus-active",gie=tt({name:"TopBar",__name:"index",props:{layout:{type:Number,default:1},type:{type:Number,default:1}},setup(t){const e=t,r=oa("$eventBus"),n=Pt(),i=(n==null?void 0:n.appContext.config.globalProperties.$sites)||{},s=ce(""),o=ce(0),a=ce(!1),l=()=>{const j=document.createElement("script");j.src="//res2.kongfz.com/libs/wza/aria.js",j.id="ariascripts",j.setAttribute("appid","75552398750e32b9610c27d545d89951"),j.setAttribute("aria-autofixedbtn","false"),j.setAttribute("wapForceOldFixed","false"),j.setAttribute("loadData","false"),j.setAttribute("charset","utf-8"),document.body.appendChild(j)},c=()=>{window.aria.start()};!Qr.isIpad&&!Qr.isAndroid&&!Qr.isIOS&&(a.value=!0,l());const h=j=>{if(s.value=j,j==="cart"){let R=new Date().getTime();R-o.value>1e3&&(o.value=R,m(!0))}},f=()=>{s.value=""},d=ce({}),p=ce([]),y=ce(0),m=j=>{zo({url:"".concat(i==null?void 0:i.s_cart,"jsonp/listcart"),data:{limit:5}}).then(R=>{let W=R.body;W.status&&(p.value=W.result.data,y.value=W.result.page.recordCount,r.emit("cartNumNotice",{cartNum:y.value}),j&&!d.value.isLogin&&A(!1))})};let _=!1;const A=j=>{_||(_=!0,Z({method:"get",url:"/common-web/v1/api/userInfo"}).then(R=>{R.data.status?(d.value=R.data.data,d.value.isLogin=!0,r.emit("userInfoUpdate",{...d.value}),window.KFZ||(window.KFZ={}),window.KFZ.isLogin=!0):(d.value.isLogin=!1,j&&typeof window.loginWin=="function"&&window.loginWin(i==null?void 0:i.s_login,"login")),_=!1}).catch(()=>{d.value.isLogin=!1,j&&typeof window.loginWin=="function"&&window.loginWin(i==null?void 0:i.s_login,"login"),_=!1}))};r.on("getUserInfoRequest",()=>{d.value&&d.value.isLogin?r.emit("userInfoUpdate",{...d.value}):A(!1)});const x=ce({}),L=ce(0),S=ce(""),N=ce(null),w=()=>{I8(()=>{N.value.play()})},Q=()=>"visibilityState"in document?document.visibilityState:null,G=()=>{A(!0)},re=()=>{m(!1)};return A(!1),setTimeout(()=>{m(!1)},200),e.type==1?S.value="":e.type==2?S.value="page-nav-red-style":S.value="page-nav-style",S3(()=>{setTimeout(()=>{const j=Gy.init({siteMessage:i==null?void 0:i.s_mmessage,siteSubs:i==null?void 0:i.subs,$eventBus:r},R=>{x.value=R.settings,r.on("msgNotice",W=>{L.value=W.unreadNum,x.value.openVoice==1&&Q()!="hidden"&&!W.isInit&&w()})});r.emit("onIMInit",j),r.on("addToCart",()=>{m(!1)})},200)}),(j,R)=>(g(),v("div",{id:"navHeader",class:T(["nav-header-box",[S.value,t.layout===2?"wide":""]])},[u("div",L$,[O$,u("div",N$,[u("div",R$,[u("a",{href:O(i).s_www,class:"info-link"},$$,8,D$)]),u("div",P$,[u("a",{href:O(i).s_shop,class:"info-link"},U$,8,M$)]),u("div",z$,[u("a",{href:O(i).s_tan,class:"info-link"},H$,8,V$)]),u("div",q$,[u("a",{href:O(i).s_item,class:"info-link"},W$,8,K$)]),u("div",G$,[u("a",{href:O(i).s_pm,class:"info-link"},J$,8,Z$)]),u("div",X$,[u("a",{href:O(i).s_pm+"/special",class:"info-link"},rP,8,eP)])]),u("div",nP,[u("div",{class:T(["item-info login-win",s.value=="login"?fn:""]),onMouseenter:R[0]||(R[0]=W=>h("login")),onMouseleave:f,onClick:R[1]||(R[1]=W=>h("login"))},[u("span",iP,[d.value.isLogin?(g(),v("span",sP,C(d.value.nickname),1)):(g(),v(P,{key:1},[oP,aP,lP],64))]),u("div",cP,[B(nm,{userInfo:d.value,onLoginClick:G},null,8,["userInfo"])])],34),u("div",uP,[u("a",{id:"msgNum",href:O(i).s_message+"message/myMessage/myMessage.html#/?category=inbox&page=1",class:T(["info-link no-win",L.value?"msg-un-read":"msg-normal"]),target:"_blank",rel:"nofollow"},[u("span",{class:T(["global-iconfont global-icon-contactnotice un-read-style",[t.type===3?"icon-xiaoxi-red":"icon-xiaoxi"]])},null,2),u("span",fP,[V("未读消息 "),u("span",dP,C(L.value),1)]),pP],10,hP),x.value.voice?(g(),v("div",gP,[u("audio",{ref_key:"noticePlay",ref:N,preload:"metadata",src:O(i).s_message+"images/voice/"+x.value.voice+".mp3"},null,8,vP)])):b("",!0)]),u("div",{class:T(["item-info",s.value=="cart"?fn:""]),onMouseenter:R[2]||(R[2]=W=>h("cart")),onMouseleave:f},[u("a",{id:"cartLink",href:O(i).s_cart,class:"info-link",target:"_blank",rel:"nofollow"},[mP,u("span",bP,[V("购物车 "),y.value?(g(),v("span",_P,C(y.value),1)):b("",!0)])],8,yP),u("div",wP,[B($9,{isLogin:d.value.isLogin,list:p.value,cartNum:y.value,onLoginClick:G,upCartItem:re},null,8,["isLogin","list","cartNum"])])],34),u("div",CP,[u("a",{href:O(i).s_order+"order-views/management/buyer/list",class:"info-link no-win",target:"_blank",rel:"nofollow"},TP,8,AP)]),u("div",{class:T(["item-info",s.value=="ucenter"?fn:""]),onMouseenter:R[3]||(R[3]=W=>h("ucenter")),onMouseleave:f,onClick:R[4]||(R[4]=W=>h("ucenter"))},[u("a",{href:O(i).s_user,class:"info-link",target:"_blank",rel:"nofollow"},kP,8,EP),u("div",xP,[u("div",LP,[u("div",OP,[NP,u("a",{href:O(i).s_order+"order-views/management/buyer/list",class:"item",target:"_blank",rel:"nofollow"},"我的订单",8,RP),u("a",{href:O(i).s_user+"buyer/favorite_manage.html#product",class:"item",target:"_blank",rel:"nofollow"},"收藏商品",8,DP)]),u("div",BP,[$P,u("a",{href:O(i).s_pm+"trade-views/management/buyer/list",class:"item",target:"_blank",rel:"nofollow"},"拍卖交易",8,PP),u("a",{href:O(i).s_pm+"pm-buyer/bid-manage-pc/",class:"item",target:"_blank",rel:"nofollow"},"我的竞拍",8,MP),u("a",{href:O(i).s_pm+"pm-buyer/bid-manage-pc/favorite",class:"item",target:"_blank",rel:"nofollow"},"收藏拍品",8,FP)]),u("div",UP,[zP,u("a",{href:O(i).s_message+"message/safety/safety.html#/friends",class:"item",target:"_blank",rel:"nofollow"},"我的好友",8,VP),u("a",{href:O(i).pay,class:"item",target:"_blank",rel:"nofollow"},"资金账户",8,jP)])])])],34),u("div",{class:T(["item-info",s.value=="seller"?fn:""]),onMouseenter:R[5]||(R[5]=W=>h("seller")),onMouseleave:f,onClick:R[6]||(R[6]=W=>h("seller"))},[u("a",{href:O(i).s_shop+"seller/",class:"info-link",target:"_blank"},KP,8,HP),u("div",QP,[B(f9,{userType:d.value.userType},null,8,["userType"])])],34),u("div",{class:T(["item-info",s.value=="help"?fn:""]),onMouseenter:R[7]||(R[7]=W=>h("help")),onMouseleave:f,onClick:R[8]||(R[8]=W=>h("help"))},[WP,GP,u("div",ZP,[u("div",YP,[u("div",JP,[u("a",{href:O(i).s_help,class:"help_btn",target:"_blank",rel:"nofollow"},[eM,V(" 帮助中心 ")],8,XP),tM,u("a",{href:O(i).s_message+"#customerService",class:"help_btn",target:"_blank",rel:"nofollow"},[nM,V(" 在线留言 ")],8,rM),iM,u("div",null,[u("a",{href:O(i).s_message+"?talkId=1654692",class:"help_qq",target:"_blank",rel:"nofollow"},[oM,V(" 监督与建议 ")],8,sM)])])])])],34),a.value?(g(),v("div",aM,[u("a",{class:"info-link",href:"javascript:void(0)",onClick:c},cM)])):b("",!0),u("div",{class:T(["item-info mobile-win",s.value=="mobile"?fn:""]),onMouseenter:R[9]||(R[9]=W=>h("mobile")),onMouseleave:f},[u("a",{href:O(i).m,class:"info-link",target:"_blank"},fM,8,uM),u("div",dM,[u("div",pM,[u("div",gM,[u("a",{href:O(i).s_app+"kfz.html",class:"code-link",target:"_blank"},mM,8,vM)]),bM]),_M])],34)])])],2))}}),wM={class:"quick-menu-wrap"},CM={key:0},AM=["href"],SM=u("div",{class:"quick-name"},[u("i",{class:"global-iconfont global-icon-quick-cart"})],-1),TM=u("div",{class:"fixedtool_line"},null,-1),EM=u("div",{class:"quick-hover"},[u("div",{class:"quick-name"},"购物车"),u("div",{class:"quick-mark"})],-1),IM={key:1},kM=["href"],xM=it('<div class="quick-name">新手指南</div><div class="fixedtool_line"></div><div class="quick-hover"><div class="quick-name">新手指南</div><div class="quick-mark"></div></div>',3),LM=[xM],OM={key:2,class:"first quick-bid"},NM=["href"],RM=u("div",{class:"quick-name"},[u("i",{class:"global-iconfont global-icon-bid"})],-1),DM={key:0,class:"quick-num"},BM=u("div",{class:"fixedtool_line"},null,-1),$M=u("div",{class:"quick-hover"},[u("div",{class:"quick-name"},"我的竞拍"),u("div",{class:"quick-mark"})],-1),PM=["href"],MM=u("div",{class:"quick-name"},[u("i",{class:"global-iconfont global-icon-message"})],-1),FM={key:0,class:"quick-num"},UM=u("div",{class:"fixedtool_line"},null,-1),zM=u("div",{class:"quick-hover"},[u("div",{class:"quick-name"},"我的消息"),u("div",{class:"quick-mark"})],-1),VM={key:3},jM=["href"],HM=it('<div class="quick-name"><i class="global-iconfont global-icon-quick-collect"></i></div><div class="fixedtool_line"></div><div class="quick-hover"><div class="quick-name">我的收藏</div><div class="quick-mark"></div></div>',3),qM=[HM],KM={class:"feed-back"},QM=u("div",{class:"quick-name"},[u("i",{class:"global-iconfont global-icon-feedback"})],-1),WM={class:"fixedtool_line"},GM=u("div",{class:"quick-hover"},[u("div",{class:"quick-name"},"意见反馈"),u("div",{class:"quick-mark"})],-1),ZM=it('<div class="quick-name"><i class="global-iconfont global-icon-top"></i></div><div class="quick-hover"><div class="quick-name">返回顶部</div><div class="quick-mark"></div></div>',2),YM=[ZM],vie=tt({name:"QuickMenu",__name:"index",props:{quickType:{type:Number,default:3}},setup(t){const e=t,r=oa("$eventBus"),n=Pt(),i=(n==null?void 0:n.appContext.config.globalProperties.$sites)||{},s=ce(0),o=ce(0),a=ce(0),l=ce(!1),c=i.s_help+"feedback/?returnUrl="+encodeURIComponent(location.href),h=He(()=>e.quickType===1?"".concat(i.s_user,"buyer/favorite_manage.html#product"):"".concat(i.s_pm,"buyer/favorite_manage.html"));r.on("msgNotice",y=>{s.value=y.unreadNum}),r.on("cartNumNotice",y=>{o.value=y.cartNum}),S3(()=>{e.quickType===2&&f(),document.addEventListener("scroll",()=>{d()})});const f=async()=>{const y=await Z.get("/common-web/v1/api/bidding/itemNum");y.status&&+y.data&&(y.data>99?a.value="99+":a.value=y.data)},d=wv(function(){(document.documentElement.scrollTop||window.pageYOffset||document.body.scrollTop)>window.innerHeight?l.value=!0:l.value=!1},10),p=()=>{window.scrollTo(0,0)};return(y,m)=>(g(),v("div",wM,[u("ul",null,[t.quickType===1?(g(),v("li",CM,[u("a",{target:"_blank",href:O(i).s_cart+"store-cart/cart/"},[SM,le(u("div",{class:"quick-num",id:"cart-count"},C(o.value>99?"99+":o.value),513),[[fe,o.value>0]]),TM,EM],8,AM)])):b("",!0),t.quickType===2?(g(),v("li",IM,[u("a",{target:"_blank",href:O(i).s_help+"?act=list&catId=2020000"},LM,8,kM)])):b("",!0),t.quickType===2?(g(),v("li",OM,[u("a",{href:O(i).s_pm+"pm-buyer/bid-manage-pc/",target:"_blank"},[RM,+a.value>0?(g(),v("div",DM,C(+a.value>99?"99+":a.value),1)):b("",!0),BM,$M],8,NM)])):b("",!0),u("li",null,[u("a",{target:"_blank",href:O(i).s_message+"message/index/index.html",class:"msg"},[MM,s.value>0?(g(),v("div",FM,C(s.value>99?"99+":s.value),1)):b("",!0),UM,zM],8,PM)]),t.quickType===1||t.quickType===2?(g(),v("li",VM,[u("a",{target:"_blank",href:h.value},qM,8,jM)])):b("",!0),u("li",KM,[u("a",{href:c,target:"_blank"},[QM,le(u("div",WM,null,512),[[fe,l.value]]),GM])]),le(u("li",{class:"last backTop",onClick:p},YM,512),[[fe,l.value]])])]))}}),JM={class:"f_left mar-top20"},XM={class:"f_right link_box mar-top20"},eF=["href"],tF=["href"],rF=["href"],nF=["href"],iF=["href"],sF=["href"],oF=["href"],aF=["href"],lF=["href"],cF=["href"],uF=["href"],hF={class:"mar-top20"},fF={class:"mar-top12"},dF=u("span",{class:"mar-r15"},"Copyright © 孔夫子拍卖网",-1),pF={class:"mar-r15"},gF=u("a",{class:"mar-r15",target:"_blank",href:"https://beian.miit.gov.cn/#/Integrated/index"},"京ICP证110332号",-1),vF=u("span",{class:"mar-r15"},"京ICP备11010397号-1",-1),yF={key:2,class:"mar-top20 text-center"},mF=u("span",{class:"mar-r15"},"Copyright © 孔夫子拍卖网",-1),bF={class:"mar-r15"},_F=u("a",{class:"mar-r15",target:"_blank",href:"https://beian.miit.gov.cn/#/Integrated/index"},"京ICP证110332号",-1),wF=u("span",{class:"mar-r15"},"京ICP备11010397号-1",-1),yie=tt({name:"FooterComp",__name:"index",props:{top:{type:String,default:"150px"},layout:{type:Number,default:1},type:{type:Number,default:1}},setup(t){const e=Pt(),r=(e==null?void 0:e.appContext.config.globalProperties.$sites)||{},n=new Date().getFullYear();return(i,s)=>(g(),v("div",{class:T(["footer",t.layout===2?"w_1200":""])},[u("div",{class:"foot_box clearfix",style:ve({marginTop:t.top})},[t.type===1||t.type===2?(g(),v(P,{key:0},[u("div",JM,"© 2002-"+C(O(n))+" Kongfz.com 孔夫子旧书网 版权所有",1),u("div",XM,[u("a",{target:"_blank",href:O(r).s_www+"help/aboutus.php"},"关于孔网",8,eF),u("a",{target:"_blank",href:O(r).s_www+"help/lianxi.html"},"联系我们",8,tF),u("a",{target:"_blank",href:O(r).s_help},"帮助中心",8,rF),u("a",{target:"_blank",href:O(r).s_www+"help/copyright.php"},"版权隐私",8,nF),u("a",{target:"_blank",href:O(r).s_www+"help/guanggao.php"},"广告业务",8,iF),u("a",{target:"_blank",href:O(r).s_www+"help/zhaopin.php"},"工作机会",8,sF),u("a",{target:"_blank",href:O(r).m},"移动版",8,oF),t.type===2?(g(),v(P,{key:0},[u("a",{target:"_blank",href:O(r).s_book},"图书目录",8,aF),u("a",{target:"_blank",href:O(r).s_bq},"图书标签",8,lF),u("a",{target:"_blank",href:O(r).s_www+"topic/"},"热搜书籍",8,cF),u("a",{target:"_blank",href:O(r).s_www+"writer/"},"作家大全",8,uF)],64)):b("",!0)])],64)):b("",!0),t.type===3?(g(),v(P,{key:1},[u("div",hF,"© 2002-"+C(O(n))+" Kongfz.com 孔夫子旧书网 版权所有",1),u("div",fF,[dF,u("span",pF,"2002-"+C(O(n))+" , All Rights Reserved",1),gF,vF,V("海淀分局备案编号110108007036")])],64)):b("",!0),t.type===4?(g(),v("div",yF,[mF,u("span",bF,"2002-"+C(O(n))+" , All Rights Reserved",1),_F,wF,V("海淀分局备案编号110108007036")])):b("",!0)],4)],2))}}),ze=(t,e)=>{if(t.install=r=>{for(const n of[t,...Object.values(e!=null?e:{})])r.component(n.name,n)},e)for(const[r,n]of Object.entries(e))t[r]=n;return t},Q4=function(t){t.url=t.url||"",t.client=t.client||"m",t.clientVersion=t.clientVersion||"1.0.1",t.talkId=t.talkId||"",t.init=t.init||!1,this.config=t,this.debug=!1,this.data={},this.data.t="",this.data.t1="",this.data.reTime=5e3,this.data.self=!1,this.data.heartTime=0,this.data.ie={t:"",ts:""},this.ims={},this.ims.ws="",this.on={},this.on.message=t.on.message||"",this.on.close=t.on.close||"",this.on.error=t.on.error||"",this.on.open=t.on.open||"",this.config.init&&this.connect()};Q4.prototype={connect:function(){this.webSocket(),this.isOnline()},webSocket:function(){var t=this,e="";this.initStatus();try{this.config.talkId?e=this.config.url+"?client="+this.config.client+"&clientVersion="+this.config.clientVersion+"&talkerId="+this.config.talkId:e=this.config.url+"?client="+this.config.client+"&clientVersion="+this.config.clientVersion,"WebSocket"in window?(this.ims.ws=new WebSocket(e),this.onopen(),this.onmessage(),this.onclose(),this.onerror()):this.config.talkId?this.imServiceIe():this.SubService()}catch(n){t.initStatus();var r=setTimeout(function(){t.reconnect(),clearTimeout(r)},3e4)}},initStatus:function(){var t=this;t.ims.ws&&(t.ims.ws.close&&t.ims.ws.close(),t.ims.ws=""),t.data.t1&&(clearTimeout(t.data.t1),t.data.t1=""),t.data.t&&(clearTimeout(t.data.t),t.data.t="")},onopen:function(){var t=this;this.ims.ws.onopen=function(){t.startHeartcheck(),t.on.open&&t.on.open({result:"open"})}},onmessage:function(){var t=this;this.ims.ws.onmessage=function(e){try{var r=e.data;t.data.heartTime=t.data.heartTime-1,t.data.heartTime<0&&(t.data.heartTime=0),t.receivedMsgRender(r),t.data.reTime=5e3}catch(n){console.log("subscribe.onmessage error",n)}}},onclose:function(){var t=this;this.ims.ws.onclose=function(){t.on.close&&t.on.close({result:"close"}),!t.data.self&&(t.data.t1||(t.data.t1&&(clearTimeout(t.data.t1),t.data.t1=""),t.reconnect()),t.data.t&&(clearInterval(t.data.t),t.data.t=""))}},onerror:function(){var t=this;this.ims.ws.onerror=function(e){t.on.error&&t.on.error(e)}},startHeartcheck:function(){var t=this;t.ims.ws.readyState===1&&(t.ims.ws.send("i"),t.data.heartTime=+t.data.heartTime+1,t.data.t=setInterval(function(){t.ims.ws.send("i"),t.data.heartTime=+t.data.heartTime+1;var e=setTimeout(function(){t.data.heartTime>3&&(t.reconnect(),t.data.heartTime=0),clearTimeout(e)},200)},18e3))},reconnect:function(){var t=this;if(t.data.t1)return!1;t.data.t1=setTimeout(function(){t.webSocket(),t.data.reTime<=8e4?t.data.reTime=t.data.reTime+t.data.reTime:t.data.reTime=16e4+ +t.randomNum(-50,50),clearTimeout(t.data.t1),t.data.t1=""},t.data.reTime)},close:function(t){t=="self"&&(this.data.self=!0),clearInterval(this.data.t),this.data.t="",this.ims.ws&&this.ims.ws.close(),clearInterval(this.data.ie.t),clearInterval(this.data.ie.ts)},receivedMsgRender:function(t){var e=this,r="";t=="o"||t=="i"||(r=e.messageFilter(t),r&&e.on.message&&e.on.message(r))},messageFilter:function(t){var e=this,r=t.slice(0,1),n=t.slice(1,7),i=JSON.parse(t.slice(7,t.length));return e.ims.ws.send("a"+n),r=="m"?i:!1},randomNum:function(t,e){switch(arguments.length){case 1:return parseInt(Math.random()*t+1,10);case 2:return parseInt(Math.random()*(e-t+1)+t,10);default:return 0}},isOnline:function(){var t=this;try{t.addHandler(window,"online",function(){t.online()}),t.addHandler(window,"offline",function(){t.offline()})}catch(e){console.log("subscribe.isOnline error",e)}},online:function(){this.reconnect()},offline:function(){this.close("self"),this.on.error&&this.on.error({result:"offline"})},addHandler:function(t,e,r){t.addEventListener?t.addEventListener(e,r,!1):t.attachEvent?t.attachEvent("on"+e,r):t["on"+e]=r},imServiceIe:function(){var t=this;t.socketMessages()},socketMessages:function(){var t=this,e="https://"+this.config.url.split("/")[2];t.data.ie.t=setInterval(function(){t.config.talkId&&window.$.ajax({url:e+"ajax/pull/socketMessages/"+t.config.talkId,type:"GET",dataType:"JSONP",timeout:3e3,success:function(r){if(window.$.isArray(r))for(var n=0;n<r.length;n++)t.receivedMsgRender(r[n],"ie");else clearInterval(t.data.ie.t),t.data.ie.t=""},error:function(){clearInterval(t.data.ie.t),t.data.ie.t=""}})},5e3)},SubService:function(){var t=this;t.ieSocketMessages()},ieSocketMessages:function(){var t=this,e="https://"+this.config.url.split("/")[2];t.data.ie.ts=setInterval(function(){window.$.ajax({url:e+"ajax/pull/socketMessages",type:"GET",dataType:"JSONP",timeout:3e3,success:function(r){if(window.$.isArray(r))for(var n=0;n<r.length;n++)t.receivedMsgRender(r[n],"ie");else clearInterval(t.data.ie.ts),t.data.ie.ts=""},error:function(){clearInterval(t.data.ie.ts),t.data.ie.ts=""}})},5e3)}};const es=t=>new Promise((e,r)=>{let n=t.url,i=t.callback||("jsonp_"+Math.random()).replace(".",""),s=t.data?"&"+S5.stringify(t.data):"",o=CF(n)+(~n.indexOf("?")?"&":"?")+"callback="+i+s,a=t.timeout||2e4,l=null,c,h,f;window[i]=d=>{clearTimeout(f),l=d},c=({type:d})=>{let p=0,y;d==="load"&&l!==null?(p=200,y="OK"):d==="error"?(p=500,y="error load"):d==="abort"&&(p=400,y="timeout",r(new Error("JSONP request to ".concat(o," timed out")))),p&&window[i]&&(delete window[i],document.head.removeChild(h)),e(e({body:l,status:p,statusText:y}))},f=setTimeout(function(){window[i]=null,document.head.removeChild(h),c({type:"abort"})},a),h=document.createElement("script"),h.src=o,h.type="text/javascript",h.async=!0,h.onload=c,h.onerror=c,document.head.appendChild(h)}),CF=t=>!~t.indexOf("http")&&~t.indexOf(".com")?window.location.protocol+t:t;var ea={remindIframe:null,remindIframeUrl:"",service:"",userId:""};const hd=(t=0)=>{ea.userId=t||0,ea.service=Ha()},AF=async(t=[])=>{try{const e=await es({url:ea.service+"v1/pc/user/batch/online",data:{userIds:t.join(",")}}),{status:r}=e;if(!r)throw"getOnlineState error";const{result:n}=e.body;return n}catch(e){return Promise.reject(e)}},SF=(t,e=!1)=>{if(ea.userId<=0){alert("请登录");return}let r="".concat(Ha(),"?talkId=").concat(t);e&&(r="".concat(r,"$sendReferer=1$url=").concat(window.location.href)),W4(r)},TF=()=>{const t="".concat(Ha(),"#customerService");W4(t)},W4=t=>{const e=t||Ha();window.open(e,"_blank")},Ha=()=>{var t=window.location.href.match(/^http[s]?:\/\/(\w+)\.([\w.]+)/);if(t&&t.length>1){if(/neibu|dev/.test(t[1]))return document.location.protocol+"//neibumessage.kongfz.com/";if(/kfz\.(com|cn)/.test(t[2]))return document.location.protocol+"//message.kfz.com/"}return document.location.protocol+"//message.kongfz.com/"},EF={appName:"WEB_KFZ_WEB_NOTICE",site:{message:"",subs:""},$interface:{},$eventBus:null,init:function(t,e){return this.site.message=t.siteMessage,this.site.subs=t.siteSubs,this.$eventBus=t.$eventBus,this.$interface={getOnlineState:AF,talk:SF,openCustomService:TF},Z({method:"get",url:"/message-web/v2/pc/message/init"}).then(r=>{if(r.data.status){let n={settings:r.data.data.settings};e&&e(n),this.msgNotice({unreadNum:r.data.data.unreadTotal,isInit:!0}),this.initSubsockets();const i=r.data.data.userId;hd(i)}else hd(0)}).catch(r=>{console.log("imNotice.init error >>>",r)}),this.$interface},initSubsockets:function(){new Q4({init:!0,url:this.site.subs+"ws",client:"pc",clientVersion:"1.1",on:{message:t=>{this.updateMessage(t)},open:t=>{console.log("imNotice.initSubsockets.open >>>",t)},close:t=>{console.log("imNotice.initSubsockets.close >>>",t)},error:t=>{console.log("imNotice.initSubsockets.open >>>",t)}}})},updateMessage:function(t){t.channel=="UNREAD_NUM"?t.data&&(t.data.isInit=!1,this.msgNotice(t.data)):t.channel=="AUCTION_BID"?this.auctionBidNotice(t.data):t.channel=="LIVE_ROOM"&&this.liveRoomNotice(t.data)},msgNotice:function(t){this.$eventBus.emit("msgNotice",t)},auctionBidNotice:function(t){this.$eventBus.emit("bidNotice",t)},liveRoomNotice:function(t){this.$eventBus.emit("liveRoomNotice",t)}},IF={name:"SellerLayer",props:{userType:{type:String,default:""},site:{type:Object,default:()=>({})}}},kF={class:"info-domain"},xF=u("div",{class:"title"},[u("span",{class:"global-iconfont global-icon-dianpu"}),u("span",{class:"text"},"店铺")],-1),LF=["href"],OF=["href"],NF=["href"],RF=["href"],DF=["href"],BF={class:"info-domain"},$F=u("div",{class:"title"},[u("span",{class:"global-iconfont global-icon-bid"}),u("span",{class:"text"},"拍卖")],-1),PF=["href"],MF=["href"],FF=["href"],UF=["href"],zF={key:0,class:"info-domain"},VF=u("div",{class:"title"},null,-1),jF=["href"];function HF(t,e,r,n,i,s){return g(),v("div",{class:T((r.userType.indexOf("shopkeeper")!=-1||r.userType.indexOf("bookstaller")!=-1)&&r.userType.indexOf("auctioneer")!=-1?"seller-center":"no-seller-center")},[u("div",kF,[xF,r.userType.indexOf("shopkeeper")!=-1||r.userType.indexOf("bookstaller")!=-1?(g(),v(P,{key:0},[u("a",{href:r.site.s_seller+"pc/upbook/index#/",class:"item",target:"_blank"},"添加商品",8,LF),u("a",{href:r.site.s_seller+"shop/item.html#unsold_9743",class:"item",target:"_blank"},"商品管理",8,OF),u("a",{href:r.site.s_order+"order-views/management/seller/list",class:"item",target:"_blank"},"订单管理",8,NF)],64)):(g(),v(P,{key:1},[u("a",{href:r.site.s_shop+"seller/apply/tan.html",class:"item",target:"_blank"},"免费摆书摊",8,RF),u("a",{href:r.site.s_shop+"seller/apply/shop.html",class:"item",target:"_blank"},"申请开店",8,DF)],64))]),u("div",BF,[$F,r.userType.indexOf("auctioneer")!=-1?(g(),v(P,{key:0},[u("a",{href:r.site.s_pm+"seller/product.html#add",class:"item",target:"_blank"},"添加拍品",8,PF),u("a",{href:r.site.s_seller+"management/auction/lot/manage",class:"item",target:"_blank"},"拍品管理",8,MF),u("a",{href:r.site.s_pm+"trade-views/management/seller/list",class:"item",target:"_blank"},"交易管理",8,FF)],64)):(g(),v("a",{key:1,href:r.site.s_pm+"index/apply/",class:"item",target:"_blank",rel:"nofollow"},"申请拍卖会员",8,UF))]),r.userType.indexOf("shopkeeper")!=-1||r.userType.indexOf("bookstaller")!=-1||r.userType.indexOf("auctioneer")!=-1?(g(),v("div",zF,[VF,u("a",{href:r.site.pay+"m-pc-finance/merchant/account",class:"item",target:"_blank"},"卖家收入",8,jF)])):b("",!0)],2)}const qF=ye(IF,[["render",HF]]),KF="https://static.kongfz.com/search-v3/assets/images/bg-kong-D_NbBnsy.png",QF={name:"CartLayer",props:{isLogin:{type:Boolean,default:!1},site:{type:Object,default:()=>({})},list:{type:Array,default:()=>[]},cartNum:{type:Number},loginClick:{type:Function},upCartItem:{type:Function}},data(){return{addParams:{},addCartShow:!1}},methods:{toLogin(){typeof window.loginWin=="function"&&window.loginWin(this.site.s_login,"login","list")},showDefaultImg(t){t.imgUrl=KF},delCartItem(t,e,r){this.addParams.shopId=t,this.addParams.itemId=r,this.addParams.num=1,es({url:"".concat(this.site.s_cart,"jsonp/delCartItem"),data:{carts:[{cartId:e,itemId:r}]}}).then(n=>{n.body.status?(this.upCartItem(),this.addCartShow=!0):console.log("接口异常！")}).catch(n=>{console.log("TopBar.CartLayer.delCartItem() >>>",n)})},addCartItem(){es({url:"".concat(this.site.s_cart,"jsonp/add/"),data:{shopId:this.addParams.shopId,itemId:this.addParams.itemId,number:1,note:""}}).then(t=>{t.body.status?(this.upCartItem(),this.addCartShow=!1):console.log("接口异常！")}).catch(t=>{console.log("TopBar.CartLayer.addCartItem() >>>",t)})}}},WF={key:0,class:"no-login-cart-none-box"},GF=u("div",{class:"tip"},[u("span",{class:"text"},"您的购物车是空的，"),u("span",{class:"text"},"登录后可以同步购物车中的商品哦")],-1),ZF={key:1,class:"cart-none-box"},YF=u("div",{class:"iconfont icon-gouwuche-empty"},null,-1),JF=u("div",{class:"tip"},"您的购物车是空的，快去挑点好书放进来吧。",-1),XF=[YF,JF],eU={key:2,class:"cart-list-box"},tU=u("div",{class:"title"},"最近加入的商品:",-1),rU={class:"item-list"},nU=["href"],iU=["src","onError"],sU=["href"],oU={class:"info"},aU={class:"price"},lU={class:"del-box"},cU=["onClick"],uU={class:"btn-box clearfix"},hU={key:0,class:"tip"},fU=u("span",null,"购物车里还有",-1),dU={class:"num"},pU=u("span",null,"件商品",-1),gU=["href"];function vU(t,e,r,n,i,s){return g(),v("div",null,[!r.isLogin&&!r.list.length?(g(),v("div",WF,[GF,u("div",{class:"login-btn",onClick:e[0]||(e[0]=(...o)=>r.loginClick&&r.loginClick(...o))},"登录")])):b("",!0),r.isLogin&&!r.list.length?(g(),v("div",ZF,XF)):b("",!0),r.list.length?(g(),v("div",eU,[tU,u("div",rU,[(g(!0),v(P,null,oe(r.list,o=>(g(),v("div",{key:o.itemId,class:"item clearfix"},[u("a",{class:T(["img-box",o.imgUrl.indexOf("bg-kong")>-1?"err-img":""]),href:r.site.book+o.shopId+"/"+o.itemId+"/",target:"_blank"},[u("img",{src:o.imgUrl,onError:a=>s.showDefaultImg(o),alt:""},null,40,iU)],10,nU),u("a",{href:r.site.book+o.shopId+"/"+o.itemId+"/",class:"name",target:"_blank"},C(o.itemName),9,sU),u("div",oU,[u("div",aU,"￥"+C(o.price),1),u("div",lU,[u("span",{class:"del-btn",onClick:a=>s.delCartItem(o.shopId,o.cartId,o.itemId)},"删除",8,cU)])])]))),128))]),i.addCartShow?(g(),v("div",{key:0,class:"revoke-btn",onClick:e[1]||(e[1]=(...o)=>s.addCartItem&&s.addCartItem(...o))},"误删了？点击这里找回商品")):b("",!0),u("div",uU,[r.cartNum>5?(g(),v("div",hU,[fU,u("span",dU,C(r.cartNum-5),1),pU])):b("",!0),u("a",{href:r.site.s_cart+"list",class:"btn",target:"_blank"},"查看我的购物车",8,gU)])])):b("",!0)])}const yU=ye(QF,[["render",vU]]);window.loginWin=function(t,e,r){var n,i=document.createElement("div"),s=document.createElement("div"),o=document.getElementsByTagName("BODY")[0];i.id="loginWinMask",s.id="loginWin",i.style.cssText="position: fixed;top: 0px;left: 0px;z-index: 100000000;width: 100%;height: 100%;background-color: #000;filter: alpha(opacity=50); opacity: .5;",s.style.cssText="position: fixed;top: 50%;left: 50%;z-index: 100000001;width: 450px;height: 472px;margin-top: -236px;margin-left: -200px;font-family: 'microsoft yahei';";var a=location.href;r?a.charAt(a.length-1)=="#"?e=="login"?n=t+"Pc/Login/iframe?returnUrl="+a+"hashAction-"+r:e=="register"&&(n=t+"Pc/Login/iframe#tab-2?returnUrl="+a+"hashAction-"+r):e=="login"?n=t+"Pc/Login/iframe?returnUrl="+a+"#hashAction-"+r:e=="register"&&(n=t+"Pc/Login/iframe#tab-2?returnUrl="+a+"#hashAction-"+r):(a.charAt(a.length-1)=="#",e=="login"?n=t+"Pc/Login/iframe?returnUrl="+a:e=="register"&&(n=t+"Pc/Login/iframe#tab-2?returnUrl="+a));var l="<div class='closeBtn' style='position: absolute;z-index: 1;top: 0;right: -52px;width: 32px;height: 32px;'><a id='loginWinCloseBtn' href='javascript:;' style='display: none;cursor: pointer;width: 32px;height: 32px;background: url("+t+"/pc/images/login/close.png) no-repeat center;background-size: 100%;' title='关闭'></a></div><iframe src='"+n+"' width='450px' height='472px' frameborder='0' scrolling='no' id='iframe_login'  allowtransparency='true'></iframe>";s.innerHTML=l,o.appendChild(i),o.appendChild(s);var c=document.getElementById("loginWinCloseBtn");c.onclick=function(){f(i),f(s)};var h=document.getElementById("iframe_login");h.attachEvent?h.attachEvent("onload",function(){c.style.display="block"}):h.onload=function(){c.style.display="block"};function f(d){var p=d.parentNode;p&&p.removeChild(d)}};window.onload=function(){var t,e=window.location.search.substr(1).split("&"),r={},n;for(t=0;t<e.length;t++)n=e[t].split("="),n[0].length&&(r[n[0]]=decodeURI(n[1]));r.jsAction&&typeof window[r.jsAction]=="function"&&window[r.jsAction]()};const mU={name:"LoginLayer",props:{userInfo:{type:Object,default:()=>({})},site:{type:Object,default:()=>({})},loginClick:{type:Function}},methods:{register(){typeof window.loginWin=="function"&&window.loginWin(this.site.s_login,"register")},logout(){location.href=this.site.s_login+"logout/"+this.currentUrl()},currentUrl(){let t=window.location.hash.substr(1).replace(/\?.*/g,""),e=window.location.href.replace(/#[\w-/]*/gi,"").replace(/\?returnUrl=.*$/,"");return e="?returnUrl="+encodeURIComponent(e+(t?(/\?/.test(e)?"&":"?")+"hash="+t:"")),e},otherLogin(t){let e="";switch(t){case"weixin":e="Pc/Openweixin/loginOAuth2";break;case"qq":e="/Pc/Openqq/loginOAuth2";break;case"weibo":e="Pc/Openweibo/loginOAuth2";break}location.href=this.site.s_login+e+this.currentUrl()}}},bU={key:0,class:"login-box"},_U={class:"other-login"},wU=u("div",{class:"title"},"其他方式",-1),CU={class:"login-list clearfix"},AU=u("div",{class:"icon-box"},[u("span",{class:"iconfont icon-weixin"})],-1),SU=u("div",{class:"text"},"微信",-1),TU=[AU,SU],EU=u("div",{class:"icon-box"},[u("span",{class:"iconfont icon-qq"})],-1),IU=u("div",{class:"text"},"QQ",-1),kU=[EU,IU],xU=u("div",{class:"icon-box"},[u("span",{class:"iconfont icon-weibo"})],-1),LU=u("div",{class:"text"},"微博",-1),OU=[xU,LU],NU={key:1,class:"account-box clearfix"},RU=["href"],DU=["src"],BU=u("span",{class:"iconfont icon-yonghutouxiang pic-ico hide"},null,-1),$U={class:"btn-group"},PU=["href"],MU=u("span",{class:"btn-split"},"|",-1);function FU(t,e,r,n,i,s){return g(),v("div",null,[r.userInfo.isLogin?(g(),v("div",NU,[u("a",{href:r.site.s_user+"person/person_info.html",class:"pic-box",target:"_blank"},[u("img",{class:"pic-img",src:r.userInfo.photo,alt:""},null,8,DU),BU],8,RU),u("div",$U,[u("a",{href:r.site.s_user+"person/person_info.html",class:"btn",target:"_blank"},"账号管理",8,PU),MU,u("span",{class:"btn logout-btn",onClick:e[5]||(e[5]=(...o)=>s.logout&&s.logout(...o))},"退出")])])):(g(),v("div",bU,[u("div",{class:"login-btn",onClick:e[0]||(e[0]=(...o)=>r.loginClick&&r.loginClick(...o))},"登    录"),u("div",{class:"register-btn",onClick:e[1]||(e[1]=(...o)=>s.register&&s.register(...o))},"免费注册"),u("div",_U,[wU,u("div",CU,[u("div",{class:"login-weixin icon-btn",type:"weixin",onClick:e[2]||(e[2]=o=>s.otherLogin("weixin"))},TU),u("div",{class:"login-qq icon-btn",type:"qq",onClick:e[3]||(e[3]=o=>s.otherLogin("qq"))},kU),u("div",{class:"login-weibo icon-btn",type:"weibo",onClick:e[4]||(e[4]=o=>s.otherLogin("weibo"))},OU)])])]))])}const UU=ye(mU,[["render",FU]]),zU="https://static.kongfz.com/search-v3/assets/images/code-app-QCzWBt1d.png",VU="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAADLElEQVR42rXXzYscRRgG8F/XTFx2IwbFgzEQIuIH5pAQXUQFD+IHIYr/gCdRRNGDoAePXiLsQTyIJwVRwS80EhSNh4goIhESNReNSGIkejDRsIlkk5nuylAUDJvdmiE9k/dlmC6663meet6q7iqtoyO4ZFHpgDWDvCTwFbZYcNQnph4BM160KIoO6E5bPXN2ifrOivaqpg0fvCXqqfVFrzBNig4eT/BRTAQPoTNN/escETUZ/nszqKap/4kM3wyydj/CdA3anbTXg4yemwy+0hlkJf8nqKsdzObUnscaVbrTFVQXqXZFh8uw2fFU3p9sX+F9WH003cJSqs2Zt80mfb87MMglnPC5yoc+0zdj6yBv0nXSL/YPfoREPyZCMuVRP+iJOZfss+B2nax7gxd864yoyb9/vW8+9x5byBvsSd1qPf1B9hJEVDvkI2/a6//UbuT7+ql9zkvmGEURcIvDYuqYYDNUXy0OM5E3y9vpiT2uKlNUWO9QXqkrMxElqqZw95zoKwFV6SX8doZvkYn2H48IZfe3i+p28KnfX24bvfjeTe63VX/KXeiW/d/otDiB/mcyfNGgxyQlLbIv2md2teIGwxHciqb1i/xTZ3TFAkGKDYitv9PfZXmrElT6uGKCj0ffiTK3TBK0j2DtaIIqlaptRMEmVCWCqINTrWsQcWOJYBh/ompNcDfq8jSN2I/Qehbd6Q5RGPXIFr2JVvKuhFON2hIea7uWc79n0RmkYQwblZ7rzWsEbeM+Z32jEF3syIOdxKgv7XB5qQpX+lnUn4Qi9X516M3QjkbXfz6ecK8ZktWvI65e6Gscb1/oPPo3yiIDdk74VT5pKzplgmv9lrxsq38hwY89YtQt59CveV80Jna3mEvpxGD8iUfAdY4WRtGkLNmzcwg/juJhPc0yilp9AWD/guv3CuYUKvGkvANNRL2sf8mi07kV5c1von7HHMLFnccWDTfof3vNvdabtc5mD3rZH2I27LCnVaurr0ZQ1LZ5ygPW+tEXPnBEJUqRrja6x82ig752rHz4GF0LZsyqMmVQ5QzLDllVsbSjizJUlQDqVWyMCJryhu08cGYEKhyl7XgAAAAASUVORK5CYII=",jU="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAuCAYAAABap1twAAAGgUlEQVR42u2YXYyVRx3Gn2fed4EipTalQWNjtLB7vsCWtI2JqVWqFM4eMCaoiTHGpBf2xphQTYy9kfZCLwyaaKpJrzTqhaEXDbBnWVutJJoQxSplz9dCo7ZK+GhFEFh2eWce/287cc8Wz+6Ch7VN+CVP/nP+M5nz7JyZ2ZkhroKxVvkWL/8YXPrEcLFxYbRdZrXY1Giz4ILVU6BgEKKF4XIn1NslDhdbqnfKy5FlO5m6b1UL7TNYICkWyJ7mWm4uNc+ONocGFLKvWOoJ+Szdc3goVMsdj/+C1SUKIbHitLx/FOSSYTO3d7zEbeta6qvBASbIcY7fyAKerrcKHxkudQ4cPFFy+9ulVV5axaCVguF4zjm+lq5wr216T2N6tFn8sBAesIpPwUhcwEIhroJ6s5gMl9t+tFX6oIJ/XOReS2+CVAR4K6CVb/TJs4DOgGgT/IXltpF8vFpqHxxtFJJqpeP7bnDEOq5Zx/Xxwgo5PEJop4QVVqWe/cQ646LFnQHhh1vLR8+PNIeSWnnC981gvVmwket4i/dKeArQhi5jmcm9qT/FGExpl9HDFL5oI/i7esP6XMBIcn5zQ2ZuwtviuE/CHgHvsvRFEj+1eJuE7XONnukAyD9C+pyVbzedJPlJ+4MPjowPJrV1R+c06eYZOZebM5MVAU9Hczm7Lf9ImuCzJI7MGJptjuC5NL1pe63c2UHy27FutaTdNhfX5+YsumsyONYqMN/HpAcJYZeE91p6GgbJ99tCWR2UFgCu6vnLUMuDLm0YO3bXckjlWDdluiMQu9pnas5+7rC/XeZVbzOZl7Pg663j2yxujnNtCQxJD0j+gBVXmt7dY6FIQiqv3cFPvgJgfcwvNWWQNv35xLFPWPkZ7y87i/6qRvBChgCDCtu7frYQ5U2FaM7Prouaya2M5vzsOisEfRpGrdJ7HroeWwo/c/eEbN9bLqDWNdouKkEklt2curJdCoNg7dnW3e+Asb9ZYc+f2Ja8CxK2rpsI+5qDBEFLy6UDzmdTT1p5wCT0FwrKwMkEhsdl2nfD9kntHV/jnEtge2WYPXIv30MsPnN6IIyx5tA7PfGoxI0Emg785pZy+6+jL5VuDZd8vt8tMwX0F5qyxPFLW0qdY/ubxfcF6OsCyiSeN323WuycSWF4cZekhwFlAu4PxIaxv2z6kPev5PUPRoMyEf3Fi1rxWx3k2dYXdku6Nzct4X6Ad1j5YY40SkOA/yWAPJFFEw7OfTRZ7l7w57PT0aDvs0GavEtRCcHdjhB+07UjpAD/ZiY+lpL+Fgk3w+hedQxYbc1C/Bzr+j6CiUn5dyl+nplKulnmzc0xtwIWjd4e4qj832GvvMNbnBsGbxjszQ2DbxODmn2fIGKZFrRIWyQhYcYHYzkoN5gm7mWLf4/JLDbwcGxhOsRz4HVDEFI618oNdV1jc47n3tzmQvsUnfteNJ7CIPkDewVowmPp9TZoWral1Oo48MmYSwjC0X0/95bCGC61n7Lj/QuCNlLuxZvSgeewOAiRJWm6YyrzI2L4AIlf2wD9/j8jtr85SDugHrLioXhZd4gslslLfjq/PI1ZMRf2jRe4dV1HKYwt5aPKL+mCSDkxgWZ1sAg4UvVG0YmBDpQ96YVZ9+LhPBGpTxTZw9x8D0UzzN+O3VE0D5V2WNA+SE/kpFpyjsSpBb7lsFsLPFpNgsnxN5JOC96oq6WW9tk83DR4eIrgDtPx+Owxacp6jMqlbvU4hGaxj2kSr5Luq9VC62T9xbWsFtu65ue35yfuWToZpm5jkp4P0xcfs9TXTN7kTCRxMiHvgzAZHzBTL40KuqvrhSEh8KMlzu3w0lIuGzj30J3jk3ZzZHVNS9f8r27fkbXcOPSHqZBNnagO/ukcybNvnnMSQhZ0enO586rpdKaBUwIud7eLXPh4qf3PSa9Tubl6Y3DG3LUa3Lr+mMZaFYJkTCXzzS1CnOOShJTkaKfI4cpR9eWwsLnUkELQPNuOZgqcs00WpGqhrcU8zeja2/XfIP/XnK6HQc584akYM8SFQPIfAwMDGSK1yhGfbyNd7UwGeRJGqsC+G3TOCQalX1k4Hp9DXHT/44eGGpmtSpc/uuN1+LOuhbHU9C+SIzBc6vpvcLgyEUYaQ65amThGcJvp5wAPkPwy0/Q7yHGJ8kf319uX2z8h+HkQz1l8hg41O6EcqreGXK1ibRaT+vidvGL/bKy5IvfsS5WrPqL/G0YU7YI6d77kAAAAAElFTkSuQmCC",HU="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAQAAAC0NkA6AAABzElEQVR42u3YvYrUUACG4fdLsiiLgoqFjYWdYiMIFnsVFgqKiI2TzFrabqOFlYUgrM64CIq4vQheguAlyFZiJfizIA6iOfkECQObGPLDgk2e052c5E1yUkXscUtBiAGMirlplyoVg02iqfinyvQbvTrDUUxfYjfaefyrJZLqidMjPOQiBxH9LXi9km4uppqZioSShbXu6+QkGNOHEIe4lu9w1zF5Y2SrANYAMP033wQiX4DC0BgB8AEgQnzgCxHdiJxjnELACgSXL6wpQsFfunP8xbfDKujAyaOv06vFNoEEg2h4kpof90L2fR7oIEvAC8CUukYiQFPRgQUIoG/EgGemg8xAy8qIfTFGxsgYGSNjZIyMkTEyRsbIfkqAuhgcp+p4hZx4SOQnKJ8XdJABhCGR8+lnr6bViIkJqDIZp7ucA9Qz4g026MEAcceNl5ZnFZWRA091Ws+AUDtqltwW4fdylfYMiEAv5++1RSBGlUEpBzRzY2QSgd8CriVUrlrP1nybGJez9dt4ByuieU8iQ7RZnOUKOaIu+BKXG78kE7HNfXBo+bdyQ8+dnfQJDNQFyjumTvq0+vGBaTfRRAx2s/EfU206FWIAeW7+pz/q1Z9aXAhkwgAAAABJRU5ErkJggg==",qU="https://static.kongfz.com/search-v3/assets/images/code-mp-B0TQTJJd.png",KU={name:"KTopBar",components:{SellerLayer:qF,CartLayer:yU,LoginLayer:UU},props:{layout:{type:Number,default:1},type:{type:Number,default:1},site:{type:Object,default:()=>({})},noBorder:{type:Boolean,default:!1}},data(){return{tagName:"",activeClass:"info-focus-active",userInfo:{},cartList:[],cartNum:0,cartTime:0,reqUserInfoStatus:!1,msgSettings:{},unreadNum:0,className:"",layoutClassName:"",isCNDomain:!1}},watch:{layout:function(t){t==1&&(this.layoutClassName=""),t==2&&(this.layoutClassName="wide"),t==3&&(this.layoutClassName="w-auto-xl"),t==4&&(this.layoutClassName="w-auto-xxl")}},created(){location.hostname.indexOf(".cn")>-1&&(this.isCNDomain=!0),this.getUserInfo(),this.getCartList(),this.type==1?this.className="":this.type==2?this.className="page-nav-red-style":this.type==3?this.className="page-nav-style":this.type==4?this.className="page-nav-white-style":this.className="page-nav-style",this.layout==1&&(this.layoutClassName=""),this.layout==2&&(this.layoutClassName="wide"),this.layout==3&&(this.layoutClassName="w-auto-xl"),this.layout==4&&(this.layoutClassName="w-auto-xxl"),this.noBorder&&(this.className+=" no-border")},mounted(){this.$eventBus.on("getUserInfoRequest",()=>{this.userInfo&&this.userInfo.hasOwnProperty("isLogin")?this.$eventBus.emit("userInfoUpdate",this.userInfo):this.getUserInfo()});const t=EF.init({siteMessage:this.site.s_mmessage,siteSubs:this.isCNDomain?this.site.s_cn_sub:this.site.subs,$eventBus:this.$eventBus},e=>{this.msgSettings=e.settings,this.$eventBus.on("msgNotice",r=>{this.unreadNum=r.unreadNum,this.msgSettings.openVoice==1&&this.getVisibilityState()!="hidden"&&!r.isInit&&this.playVoice()})});this.$eventBus.emit("onIMInit",t)},methods:{playVoice(){this.$nextTick(()=>{this.$refs.notice_play.play()})},getVisibilityState(){return"visibilityState"in document?document.visibilityState:null},mouseenterFun(t){if(this.tagName=t,t==="cart"){let e=new Date().getTime();e-this.cartTime>1e3&&(this.cartTime=e,this.getCartList(!0))}},mouseleaveFun(){this.tagName=""},loginClick(){this.getUserInfo(!0)},getUserInfo(t){this.reqUserInfoStatus||(this.reqUserInfoStatus=!0,Z({method:"get",url:"/common-web/v1/api/userInfo"}).then(e=>{e.data.status?(this.userInfo=e.data.data,this.userInfo.isLogin=!0,this.$eventBus.emit("userInfoUpdate",{...this.userInfo})):(this.userInfo.isLogin=!1,t&&typeof window.loginWin=="function"&&window.loginWin(this.site.s_login,"login")),this.reqUserInfoStatus=!1}).catch(e=>{console.log("TopBar.index.getUserInfo() >>>",e),this.userInfo.isLogin=!1,t&&typeof window.loginWin=="function"&&window.loginWin(this.site.s_login,"login"),this.reqUserInfoStatus=!1}))},getCartList(t){es({url:this.isCNDomain?this.site.s_cn_cart+"jsonp/listcart":this.site.s_cart+"jsonp/listcart",data:{limit:5}}).then(e=>{let r=e.body;r.status&&(this.cartList=r.result.data,this.cartNum=r.result.page.recordCount,this.$eventBus.emit("cartNumNotice",{cartNum:this.cartNum}),t&&!this.userInfo.isLogin&&this.getUserInfo())}).catch(e=>{console.log("TopBar.getCartList err:",e)})},upCartItem(){this.getCartList()}}},QU={class:"header-wrap"},WU=u("div",{class:"slogan-box"},[u("span",{class:"text"},"网罗天下图书"),u("span",null,"传承中华文明")],-1),GU={class:"index-link-box clearfix"},ZU={class:"item-info"},YU=["href"],JU=u("span",{class:"info-text"},"首页",-1),XU=[JU],ez={class:"item-info"},tz=["href"],rz=u("span",{class:"info-text"},"书店区",-1),nz=[rz],iz={class:"item-info"},sz=["href"],oz=u("span",{class:"info-text"},"书摊区",-1),az=[oz],lz={class:"item-info"},cz=["href"],uz=u("span",{class:"info-text"},"新书",-1),hz=[uz],fz={class:"item-info"},dz=["href"],pz=u("span",{class:"info-text"},"在线拍卖",-1),gz=[pz],vz={class:"item-info"},yz=["href"],mz=u("span",{class:"info-text"},"艺术品专场",-1),bz=[mz],_z={class:"user-info-box clearfix"},wz={id:"nickName",class:"info-normal"},Cz={key:0,class:"info-text user-name-text"},Az=u("span",{class:"info-text"},"登录",-1),Sz=u("span",{class:"info-text"},"/",-1),Tz=u("span",{class:"info-text"},"注册",-1),Ez={id:"loginWin",class:"info-win"},Iz={class:"item-info message-win"},kz=["href"],xz={class:"info-text un-read-style"},Lz={id:"unReadNum",class:"num"},Oz=u("span",{class:"info-text normal-style"},"消息",-1),Nz={key:0,class:"notice-play"},Rz=["src"],Dz=["href"],Bz=u("span",{class:"global-iconfont global-icon-cart"},null,-1),$z={class:"info-text"},Pz={key:0,id:"cartNum",class:"num"},Mz={id:"cartListWin",class:"info-win"},Fz={class:"item-info"},Uz=["href"],zz=u("span",{class:"info-text"},"我的订单",-1),Vz=[zz],jz=["href"],Hz=u("span",{class:"info-text"},"个人中心",-1),qz=[Hz],Kz={class:"info-win"},Qz={class:"personal-center"},Wz={class:"info-domain"},Gz=u("div",{class:"title"},[u("span",{class:"global-iconfont global-icon-dianpu"}),u("span",{class:"text"},"店铺")],-1),Zz=["href"],Yz=["href"],Jz={class:"info-domain"},Xz=u("div",{class:"title"},[u("span",{class:"global-iconfont global-icon-bid"}),u("span",{class:"text"},"拍卖")],-1),eV=["href"],tV=["href"],rV=["href"],nV={class:"info-domain"},iV=u("div",{class:"title"},null,-1),sV=["href"],oV=["href"],aV=["href"],lV=u("span",{class:"info-text"},"卖家中心",-1),cV=[lV],uV={id:"sellerWin",class:"info-win"},hV=u("span",{class:"info-normal"},[u("span",{class:"info-text"},"客服")],-1),fV=u("span",{class:"line-right-test"},"|",-1),dV={class:"info-win"},pV={class:"help-center"},gV={class:"other_info_inner"},vV=["href"],yV=u("span",{class:"global-iconfont global-icon-question"},null,-1),mV=u("span",{class:"tip"},"9:00-20:30",-1),bV=["href"],_V=u("span",{class:"global-iconfont global-icon-service"},null,-1),wV=it('<div class="text"><div class="item"><div class="item-top">客服电话</div><div class="phone" style="font-size:16px;">010-89648155</div></div><div class="item"><div class="item-top">服务时间</div><div class="phone">客服咨询 09:00-21:00</div><div class="phone jiufen"><div class="jiufen-left">纠纷处理</div><div class="jiufen-right"><div class="jiufen-right-item first"> 09:00-12:30</div><div class="jiufen-right-item"> 13:30-18:00</div></div><div style="clear:both;"></div></div><div class="phone">图书审核 09:00-18:00</div></div></div>',1),CV=["href"],AV=u("span",{class:"global-iconfont global-icon-message"},null,-1),SV=["href"],TV=u("span",{class:"info-text"},"手机孔网",-1),EV=[TV],IV={id:"codeWin",class:"info-win"},kV={class:"info-win__item app-code clearfix"},xV={class:"code f_left"},LV=["href"],OV=u("img",{src:zU,alt:"",class:"code-img"},null,-1),NV=[OV],RV=it('<div class="content f_left ml-16"><h3 class="title">下载手机孔网</h3><p class="desc">功能更全、体验更好</p><div class="extra mt-12 clearfix"><div class="app-platform f_left"><img src="'+VU+'" alt="" class="app-platform__icon"><p class="app-platform__text">iPhone</p></div><div class="app-platform f_left"><img src="'+jU+'" alt="" class="app-platform__icon"><p class="app-platform__text">Android</p></div><div class="app-platform f_left"><img src="'+HU+'" alt="" class="app-platform__icon"><p class="app-platform__text">iPad</p></div></div></div>',1),DV=it('<div class="info-win__item mp-code mt-50 clearfix"><div class="code f_left"><img src="'+qU+'" alt="" class="code-img"></div><div class="content f_left ml-16"><h3 class="title">微信扫码逛孔网</h3><p class="desc">无需下载，扫码即刻访问</p><div class="extra mt-12"><span class="tag">抢5折好券</span></div></div></div>',1);function BV(t,e,r,n,i,s){const o=se("LoginLayer"),a=se("CartLayer"),l=se("SellerLayer");return g(),v("div",{id:"navHeader",class:T(["nav-header-box",[i.className,i.layoutClassName]])},[u("div",QU,[WU,u("div",GU,[u("div",ZU,[u("a",{href:r.site.s_www,class:"info-link"},XU,8,YU)]),u("div",ez,[u("a",{href:r.site.s_shop,class:"info-link"},nz,8,tz)]),u("div",iz,[u("a",{href:r.site.s_tan,class:"info-link"},az,8,sz)]),u("div",lz,[u("a",{href:r.site.s_item,class:"info-link"},hz,8,cz)]),u("div",fz,[u("a",{href:r.site.s_pm,class:"info-link"},gz,8,dz)]),u("div",vz,[u("a",{href:r.site.s_pm+"special",class:"info-link"},bz,8,yz)])]),u("div",_z,[u("div",{class:T(["item-info login-win",i.tagName=="login"?i.activeClass:""]),onMouseenter:e[0]||(e[0]=c=>s.mouseenterFun("login")),onMouseleave:e[1]||(e[1]=c=>s.mouseleaveFun("login")),onClick:e[2]||(e[2]=c=>s.mouseenterFun("login"))},[u("span",wz,[i.userInfo.isLogin?(g(),v("span",Cz,C(i.userInfo.nickname),1)):(g(),v(P,{key:1},[Az,Sz,Tz],64))]),u("div",Ez,[B(o,{site:r.site,userInfo:i.userInfo,loginClick:s.loginClick},null,8,["site","userInfo","loginClick"])])],34),u("div",Iz,[u("a",{id:"msgNum",href:r.site.s_message+"message/myMessage/myMessage.html#/?category=inbox&page=1",class:T(["info-link no-win",i.unreadNum?"msg-un-read":"msg-normal"]),target:"_blank",rel:"nofollow"},[u("span",{class:T(["global-iconfont global-icon-message un-read-style",[r.type===3?"icon-xiaoxi-red":"icon-xiaoxi"]])},null,2),u("span",xz,[V("未读消息 "),u("span",Lz,C(i.unreadNum),1)]),Oz],10,kz),i.msgSettings.voice?(g(),v("div",Nz,[u("audio",{ref:"notice_play",preload:"metadata",src:r.site.s_message+"images/voice/"+i.msgSettings.voice+".mp3"},null,8,Rz)])):b("",!0)]),u("div",{class:T(["item-info",i.tagName=="cart"?i.activeClass:""]),onMouseenter:e[3]||(e[3]=c=>s.mouseenterFun("cart")),onMouseleave:e[4]||(e[4]=c=>s.mouseleaveFun("cart"))},[u("a",{id:"cartLink",href:r.site.s_cart,class:"info-link",target:"_blank",rel:"nofollow"},[Bz,u("span",$z,[V("购物车 "),i.cartNum?(g(),v("span",Pz,C(i.cartNum),1)):b("",!0)])],8,Dz),u("div",Mz,[B(a,{site:r.site,isLogin:i.userInfo.isLogin,list:i.cartList,cartNum:i.cartNum,loginClick:s.loginClick,upCartItem:s.upCartItem},null,8,["site","isLogin","list","cartNum","loginClick","upCartItem"])])],34),u("div",Fz,[u("a",{href:r.site.s_order+"order-views/management/buyer/list",class:"info-link no-win",target:"_blank",rel:"nofollow"},Vz,8,Uz)]),u("div",{class:T(["item-info",i.tagName=="ucenter"?i.activeClass:""]),onMouseenter:e[5]||(e[5]=c=>s.mouseenterFun("ucenter")),onMouseleave:e[6]||(e[6]=c=>s.mouseleaveFun("ucenter")),onClick:e[7]||(e[7]=c=>s.mouseenterFun("ucenter"))},[u("a",{href:r.site.s_user,class:"info-link",target:"_blank",rel:"nofollow"},qz,8,jz),u("div",Kz,[u("div",Qz,[u("div",Wz,[Gz,u("a",{href:r.site.s_order+"order-views/management/buyer/list",class:"item",target:"_blank",rel:"nofollow"},"我的订单",8,Zz),u("a",{href:r.site.s_user+"user-views/pc-favorite/products",class:"item",target:"_blank",rel:"nofollow"},"收藏商品",8,Yz)]),u("div",Jz,[Xz,u("a",{href:r.site.s_pm+"trade-views/management/buyer/list",class:"item",target:"_blank",rel:"nofollow"},"拍卖交易",8,eV),u("a",{href:r.site.s_pm+"pm-buyer/bid-manage-pc/",class:"item",target:"_blank",rel:"nofollow"},"我的竞拍",8,tV),u("a",{href:r.site.s_pm+"pm-buyer/bid-manage-pc/favorite",class:"item",target:"_blank",rel:"nofollow"},"收藏拍品",8,rV)]),u("div",nV,[iV,u("a",{href:r.site.s_message+"message/safety/safety.html#/friends",class:"item",target:"_blank",rel:"nofollow"},"我的好友",8,sV),u("a",{href:r.site.pay,class:"item",target:"_blank",rel:"nofollow"},"资金账户",8,oV)])])])],34),u("div",{class:T(["item-info",i.tagName=="seller"?i.activeClass:""]),onMouseenter:e[8]||(e[8]=c=>s.mouseenterFun("seller")),onMouseleave:e[9]||(e[9]=c=>s.mouseleaveFun("seller")),onClick:e[10]||(e[10]=c=>s.mouseenterFun("seller"))},[u("a",{href:r.site.s_shop+"seller/",class:"info-link",target:"_blank"},cV,8,aV),u("div",uV,[B(l,{site:r.site,userType:i.userInfo.userType},null,8,["site","userType"])])],34),u("div",{class:T(["item-info",i.tagName=="help"?i.activeClass:""]),onMouseenter:e[11]||(e[11]=c=>s.mouseenterFun("help")),onMouseleave:e[12]||(e[12]=c=>s.mouseleaveFun("help")),onClick:e[13]||(e[13]=c=>s.mouseenterFun("help"))},[hV,fV,u("div",dV,[u("div",pV,[u("div",gV,[u("a",{href:r.site.s_help,class:"help_btn",target:"_blank",rel:"nofollow"},[yV,V(" 帮助中心 ")],8,vV),mV,u("a",{href:r.site.s_message+"#customerService",class:"help_btn",target:"_blank",rel:"nofollow"},[_V,V(" 在线留言 ")],8,bV),wV,u("div",null,[u("a",{href:r.site.s_message+"?talkId=1654692",class:"help_qq",target:"_blank",rel:"nofollow"},[AV,V(" 监督与建议 ")],8,CV)])])])])],34),u("div",{class:T(["item-info mobile-win",i.tagName=="mobile"?i.activeClass:""]),onMouseenter:e[14]||(e[14]=c=>s.mouseenterFun("mobile")),onMouseleave:e[15]||(e[15]=c=>s.mouseleaveFun("mobile"))},[u("a",{href:r.site.m,class:"info-link",target:"_blank"},EV,8,SV),u("div",IV,[u("div",kV,[u("div",xV,[u("a",{href:r.site.s_app+"kfz.html",class:"code-link",target:"_blank"},NV,8,LV)]),RV]),DV])],34)])])],2)}const $V=ye(KU,[["render",BV]]),PV=ze($V);(function(t){var e=encodeURIComponent(location.href),r=encodeURIComponent(document.referrer),n=window.screen.width,i=window.screen.height,s={resolution:n+"x"+i,selfUrl:e,refUrl:r},o=function(){this.v="1.0.2"};o.prototype.send=function(a,l){var c="";l&&typeof l=="object"&&(c=encodeURIComponent(JSON.stringify(l)));var h="";window.location.href.indexOf("kongfz.com")!=-1?(h="//tj.kongfz.com/web/collect/1.gif",window.location.href.indexOf("neibu")>-1&&(h="//neibutj.kongfz.com/web/collect/1.gif")):window.location.href.indexOf("kongfz.cn")!=-1&&(h="//tj.kongfz.cn/web/collect/1.gif",window.location.href.indexOf("neibu")>-1&&(h="//neibutj.kongfz.cn/web/collect/1.gif")),h+="?event="+a+"&resolution="+s.resolution+"&selfUrl="+s.selfUrl+"&refUrl="+s.refUrl+"&eventAttr="+c+"&n_"+Math.random();var f=document.getElementById("__trackImg");if(f)f.src=h;else{var d=document.createElement("img");d.src=h,d.id="__trackImg",d.style.display="none",document.body.appendChild(d)}},t.track=new o})(window);/**
 * cross-storage - Cross domain local storage
 *
 * @version   1.0.0
 * @link      https://github.com/zendesk/cross-storage
 * @author    Daniel St. Jules <danielst.jules@gmail.com>
 * @copyright Zendesk
 * @license   Apache-2.0
 * @updatedate 2022.02.07 修改为 es 版
 */function Le(t,e){e=e||{},this._id=Le._generateUUID(),this._promise=e.promise||Promise,this._frameId=e.frameId||"CrossStorageClient-"+this._id,this._origin=Le._getOrigin(t),this._requests={},this._connected=!1,this._closed=!1,this._count=0,this._timeout=e.timeout||5e3,this._listener=null,this._installListener();var r;e.frameId&&(r=document.getElementById(e.frameId)),r&&this._poll(),r=r||this._createFrame(t),this._hub=r.contentWindow}Le.frameStyle={display:"none",position:"absolute",top:"-999px",left:"-999px"};Le._getOrigin=function(t){var e,r,n;return e=document.createElement("a"),e.href=t,e.host||(e=window.location),!e.protocol||e.protocol===":"?r=window.location.protocol:r=e.protocol,n=r+"//"+e.host,n=n.replace(/:80$|:443$/,""),n};Le._generateUUID=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=Math.random()*16|0,r=t=="x"?e:e&3|8;return r.toString(16)})};Le.prototype.onConnect=function(){var t=this;return this._connected?this._promise.resolve():this._closed?this._promise.reject(new Error("CrossStorageClient has closed")):(this._requests.connect||(this._requests.connect=[]),new this._promise(function(e,r){var n=setTimeout(function(){r(new Error("CrossStorageClient could not connect"))},t._timeout);t._requests.connect.push(function(i){if(clearTimeout(n),i)return r(i);e()})}))};Le.prototype.set=function(t,e){return this._request("set",{key:t,value:e})};Le.prototype.get=function(){var t=Array.prototype.slice.call(arguments);return this._request("get",{keys:t})};Le.prototype.del=function(){var t=Array.prototype.slice.call(arguments);return this._request("del",{keys:t})};Le.prototype.clear=function(){return this._request("clear")};Le.prototype.getKeys=function(){return this._request("getKeys")};Le.prototype.close=function(){var t=document.getElementById(this._frameId);t&&t.parentNode.removeChild(t),window.removeEventListener?window.removeEventListener("message",this._listener,!1):window.detachEvent("onmessage",this._listener),this._connected=!1,this._closed=!0};Le.prototype._installListener=function(){var t=this;this._listener=function(e){var r,n,i,s;if(!(t._closed||!e.data||typeof e.data!="string")&&(n=e.origin==="null"?"file://":e.origin,n===t._origin)){if(e.data==="cross-storage:unavailable"){if(t._closed||t.close(),!t._requests.connect)return;for(i=new Error("Closing client. Could not access localStorage in hub."),r=0;r<t._requests.connect.length;r++)t._requests.connect[r](i);return}if(e.data.indexOf("cross-storage:")!==-1&&!t._connected){if(t._connected=!0,!t._requests.connect)return;for(r=0;r<t._requests.connect.length;r++)t._requests.connect[r](i);delete t._requests.connect}if(e.data!=="cross-storage:ready"){try{s=JSON.parse(e.data)}catch(o){return}s.id&&t._requests[s.id]&&t._requests[s.id](s.error,s.result)}}},window.addEventListener?window.addEventListener("message",this._listener,!1):window.attachEvent("onmessage",this._listener)};Le.prototype._poll=function(){var t,e,r;t=this,r=t._origin==="file://"?"*":t._origin,e=setInterval(function(){if(t._connected)return clearInterval(e);t._hub&&t._hub.postMessage("cross-storage:poll",r)},1e3)};Le.prototype._createFrame=function(t){var e,r;e=window.document.createElement("iframe"),e.id=this._frameId;for(r in Le.frameStyle)Object.prototype.hasOwnProperty.call(Le.frameStyle,r)&&(e.style[r]=Le.frameStyle[r]);return window.document.body.appendChild(e),e.src=t,e};Le.prototype._request=function(t,e){var r,n;return this._closed?this._promise.reject(new Error("CrossStorageClient has closed")):(n=this,n._count++,r={id:this._id+":"+n._count,method:"cross-storage:"+t,params:e},new this._promise(function(i,s){var o,a,l;o=setTimeout(function(){n._requests[r.id]&&(delete n._requests[r.id],s(new Error("Timeout: could not perform "+r.method)))},n._timeout),n._requests[r.id]=function(c,h){if(clearTimeout(o),delete n._requests[r.id],c)return s(new Error(c));i(h)},Array.prototype.toJSON&&(a=Array.prototype.toJSON,Array.prototype.toJSON=null),l=n._origin==="file://"?"*":n._origin,n._hub.postMessage(JSON.stringify(r),l),a&&(Array.prototype.toJSON=a)}))};function $i(t,e,r,n){let i=new Date;i.setTime(i.getTime()+r*24*60*60*1e3);let s="expires="+i.toUTCString();document.cookie=t+"="+e+"; "+s+";path=/;domain="+n+";"}function ki(t){const e=t+"=";let r=document.cookie.split(";");for(let n=0;n<r.length;n++){let i=r[n];for(;i.charAt(0)==" ";)i=i.substring(1);if(i.indexOf(e)!=-1)return i.substring(e.length,i.length)}return""}function jt(){const t=navigator.userAgent,e=t.indexOf("Opera")>-1,r=t.indexOf("compatible")>-1&&t.indexOf("MSIE")>-1&&!e,n=t.indexOf("Windows NT 6.1; Trident/7.0;")>-1&&!r,i=t.indexOf("Firefox")>-1,s=t.indexOf("Safari")>-1&&t.indexOf("Chrome")==-1,o=t.indexOf("Chrome")>-1&&t.indexOf("Safari")>-1;if(r){new RegExp("MSIE (\\d+\\.\\d+);").test(t);const l=parseFloat(RegExp.$1);return l==7?"IE7":l==8?"IE8":l==9?"IE9":l==10?"IE10":l==11?"IE11":"0"}if(i)return"FF";if(e)return"Opera";if(s)return"Safari";if(o)return"Chrome";if(n)return"Edge"}function MV(t,e){let r=null;return function(){let n=this,i=arguments;r||(r=setTimeout(function(){t.apply(n,i),r=null},e))}}function FV(t,e){var r;return function(){var n=this,i=arguments;clearTimeout(r),r=setTimeout(function(){t.apply(n,i)},e)}}function fd(t){if(!t)return t;for(var e="",r=0;r<t.length;r++)t.charCodeAt(r)>65248&&t.charCodeAt(r)<65375?e+=String.fromCharCode(t.charCodeAt(r)-65248):e+=String.fromCharCode(t.charCodeAt(r));return e}const UV=()=>{const t=navigator.userAgent.toLowerCase(),e=t&&t.indexOf("msie 7.0")!==-1,r=t&&t.indexOf("msie 8.0")!==-1,n=t&&t.indexOf("msie 9.0")!==-1,i=t&&t.indexOf("msie 10.0")!==-1,s=t&&t.indexOf("trident/")!==-1&&t.indexOf("rv:11.")!==-1,o=t&&t.indexOf("ubrowser")!==-1,a=t&&t.indexOf("theworld")!==-1,l=t&&t.match(/chrome\/(\d+)\./);let c=!1;l&&l.length>1&&Number(l[1])<69&&(c=!0);const h=t&&t.match(/version\/(\d+)\./);let f=!1;return h&&h.length>1&&Number(h[1])<11&&(f=!0),e||r?"jquery":n||i||s||c||f||o||a?"vue2":"vue3"},zV={default:0,isbn:1,shop:2,pm:3,store:4,storeItem:5},VV={shop:"商品名称、作者、出版社、ISBN",pm:"拍品名称",pmended:"拍品名称"};class jV{constructor(e,r,n,i){U(this,"searchType");U(this,"status");U(this,"searchWord");U(this,"_stpmt");this.searchType=e,this.status=r,this.searchWord=n,this._stpmt=i}}const HV={shopName:{icon:"global-iconfont global-icon-dianpu",prefix:"",suffix:"进店",useLinkIcon:!0},auctioneerName:{icon:"global-iconfont global-icon-dianpu",prefix:"",suffix:"看拍主",useLinkIcon:!0},unionName:{icon:"global-iconfont global-icon-dianpu",prefix:"",suffix:"看拍主",useLinkIcon:!0},normal:{icon:"global-iconfont global-icon-search",prefix:"",suffix:"",useLinkIcon:!1},auctionComShortName:{icon:"global-iconfont global-icon-dianpu",prefix:"",suffix:"看拍主",useLinkIcon:!0},suit:{icon:"global-iconfont global-icon-wodeshufang-cunfangweizhi",prefix:"",suffix:"套装书",useLinkIcon:!1},cat:{icon:"global-iconfont global-icon-tabfenlei",prefix:"浏览",suffix:"分类下的商品",useLinkIcon:!1},press:{icon:"global-iconfont global-icon-womaidaodeshu",prefix:"",suffix:"出版的书",useLinkIcon:!1},author:{icon:"global-iconfont global-icon-zhaoshuyou",prefix:"查看作者是",suffix:"的商品",useLinkIcon:!1},ab:{icon:"global-iconfont global-icon-dulijijian-jijianliebiao",prefix:"",suffix:"",useLinkIcon:!1},bp:{icon:"global-iconfont global-icon-dulijijian-jijianliebiao",prefix:"",suffix:"",useLinkIcon:!1},ps:{icon:"global-iconfont global-icon-wodeshufang-cunfangweizhi",prefix:"",suffix:"套装书",useLinkIcon:!1},ap:{icon:"global-iconfont global-icon-zhaoshuyou",prefix:"查看作者是",suffix:"的商品",useLinkIcon:!1},abp:{icon:"global-iconfont global-icon-dulijijian-jijianliebiao",prefix:"",suffix:"",useLinkIcon:!1},bip:{icon:"global-iconfont global-icon-womaidaodeshu",prefix:"",suffix:"出版的书",useLinkIcon:!1},bbi:{icon:"global-iconfont global-icon-dulijijian-jijianliebiao",prefix:"",suffix:"",useLinkIcon:!1},bc:{icon:"global-iconfont global-icon-dulijijian-jijianliebiao",prefix:"",suffix:"",useLinkIcon:!1},bcp:{icon:"global-iconfont global-icon-dulijijian-jijianliebiao",prefix:"",suffix:"",useLinkIcon:!1},aps:{icon:"global-iconfont global-icon-zhaoshuyou",prefix:"查看作者是",suffix:"的商品",useLinkIcon:!1},cp:{icon:"global-iconfont global-icon-womaidaodeshu",prefix:"",suffix:"",useLinkIcon:!1},bbip:{icon:"global-iconfont global-icon-dulijijian-jijianliebiao",prefix:"",suffix:"",useLinkIcon:!1}},qV={area:{icon:""},author:{icon:""},author_lead:{icon:""},binding:{icon:""},book_name:{icon:""},cat:{icon:""},date:{icon:""},discard_word:{icon:""},double_word:{icon:""},goods:{icon:""},isbn:{icon:""},other:{icon:""},person_name:{icon:""},press:{icon:""},record:{icon:""},sensitive_word:{icon:""},shop_name:{icon:""},single_word:{icon:""},stop_word:{icon:""},suit:{icon:""},three_word:{icon:""}},u0=["suit","cat","press","author","ab","bp","ps","ap","abp","bip","bbi","bc","bcp","aps","cp","bbip"],KV="https://static.kongfz.com/search-v3/assets/images/code-app-DHToanuS.png",QV="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAYCAYAAAD+vg1LAAABQElEQVRIS+2VsU7DQAyGfycSIwjGCFaeAYmyMTHCKzTn5gmABZ1YgCdo75JXgJGJjSLxDKygjFR0REqMLqJVGzVNWtGJZjn5bH+y/7NiQsWntd4IguBaRBSA7VLYgIhsmqZXWuvvWQiqAltrb0XkvMrv7onoTil1sRDYGPPpKvV9v9Vut18mk5MkOcyyrA9gwMw7i4LFJTDzzK6MMXP9ZIx5BtCa1/ISvv7qwKNq6lqrq7qcP9ZvDa6VotfrualBp9M5cmfZrnqjWnC32y3mNYqiIrZsr8Fjaf6RFCsbt7p/xNIa/wX4C8Cm53l7YRh+NAW6uDiOd/M8fwcwZOatYm1NtHIP4JSIHomIm8IdVESMiJwAeGDmsymwtXZfRF5nbOSmxbvNfaCUepsCO+MXfgPg2MnSkDgE8ERElyOoy/sB1bkSRGrU0/IAAAAASUVORK5CYII=",WV="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAYCAYAAAD+vg1LAAABTklEQVRIS+2VsUvDUBDGv3sBR8WuNRlF+sBZsG5Ojvo/6KLJqC5SXNQx0UX/Bx2d3KzgLKSIY2LXBjsKeSdPTDEhaZJSB6HZXu59P+6+O+4RCr4OWnMNi06ZsQtgMXMtIsLNIOCTDnqfeQgqAnuWPGfGYVFc/yfChR34R7XArikHOlNBaB8E/tNv8aUl1xWjCyByQr9RF8xa4IR+blWuKcfGyTXlI4D2uJIniHX/DpxkU1ZaWdZZ/ci/GbjUip+p0WO3oX3Onot6VAWcmteiXtRuXlYwA492xr+wQi+p6Y9b2Y6YeI6nAG59ADRPyjDt/st7VaC+5zVXl1jEIcBDJ+wtfD9bCcAz5S0D24LonmOxVxWuoWSoa8W8RcCdHfo7KfBVc2U5FsZzzotcNfnIUPHafv/1LQXWBw1Xwjhj8Ka2pRqRhwR6ECo+TqBa9wVWkxFg+ZenQAAAAABJRU5ErkJggg==",GV="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAACyRJREFUeF7tnWti0zoQhetujHYXhM0Am2m6C8LGYlDbQEqTMDp6zMj6+HV/aDyj88ixb/1Y7ir9+/Lly7d1XT/d3d09VDokhwEBBYHDsiw/n56evinF/9YspQf5/Pnzw7IsP0qPQz0I1EZgWZbvpUYpMshbanytvTGOBwK1EFjX9fH5+fmgHq/IILvdblUbUwcCnRA47Pf7R7WXbBDSQ4Wcut4IlKQIBunNFv08EJBTRDbIbrdLF+b8HysPuumZiwAGyUWM9VMhgEGmopvN5iKAQXIRY/1UCGCQqehms7kIYJBcxFg/FQLDGOTlPpmpqGGzVREQ7/cbwyA17o2pijYHGw4B8Q/UGGQ4phlYQgCDSLBRNAsCGGQWptmnhAAGkWCjaBYEMMgsTLNPCQEMIsFG0SwIYJBZmGafEgIYRIKNolkQwCCzMM0+JQQwiAQbRbMggEFmYZp9SghgEAk2imZBAIPMwjT7lBDAIBJsFM2CAAaZhWn2KSGAQSTYKJoFAQwyC9PsU0IAg0iwUTQLAhhkFqbZp4QABpFgo2gWBDDILEyzTwkBDCLBRtEsCGCQWZhmnxICGESCbfyi9K3HtIv7+/uH4/F4KPls2PhoXN8BBtkyuxf2dotwXrT3ETAMMpFBLGRjkveCsGB2QUK8WXE0X+UQjUn+spuD25kmMMhoBsn9QnDJhyhHw+bWvBhkS2xe2YtCMgZ5BVPB7ve3NEmQkXylkMxpFgYZSeNFs2IQHT4FOxJEx9ulUiGZBCFBXMTq0RSD6Kgr2JEgOt4ulQrJJAgJ4iJWj6YYREddwY4E0fF2qVRIJkFIEBexejTFIDrqCnYkiI63S6VCMglCgriI1aMpBtFRV7AjQXS8XSoVkkkQEsRFrB5NMYiOuoIdCaLj7VKpkEyCkCAuYvVoikF01BXsSBAdb5dKhWQShARxEatHUwyio65gR4LoeLtUKiSTICSIi1g9mmIQHXUFOxJEx9ulUiGZBCFBXMTq0RSD6Kgr2JEgOt4ulQrJJAgJ4iJWj6YYREddwY4E0fF2qVRIJkFIEBexejTFIDrqCnYkiI63S6VCMglCgriI9dT09PmBHkOkTxys6/o1s9dhXdfvmTXy8qifX1B+XEgQUQbJFMuyJKG+fJuDf+8RSKkV7VslGKSTSkWgO00Xq02k0zuRN97NmyMpEeScFptbG+Xl2SJ3GCRHkbmfHsg59obXyiKriQkGqYnmhWO9XXf8aNxmk4ePkCIYpLG0RIAbTzXG4TFIBk+73S79Cmf9358IF3skSAbJ/yyNwJ/4AyefHi4qXBhERW7cOhIkg7tRDZK2qMyeAc1ml+73e/kHtRYoJEgtJG8ch9OsfJAjnF6lqTFIPndShQi01Gv0oijmwCCdlZSSRLwvqvOkbu1e7v+KdF+W+MPGRXqphHrerKjc/3W6L6p0n9b6SKY4nxmDWBkceJ1CcqTTHE/oFey4m9eTMaG3QjIGeQVawQ6DCCL1LFFIxiAYxFOzXXtjEB1uBTsSRMfbpVIhmQQhQVzE6tEUg+ioK9iRIDreLpUKySQICeIiVo+mGERHXcGOBNHxdqlUSCZBSBAXsXo0xSA66gp2JIiOt0ulQjIJQoK4iNWjKQbRUVewI0F0vF0qFZJJEBLERaweTTGIjrqCHQmi4+1SqZBMgpAgLmL1aIpBdNQV7EgQHW+XSoVkEoQEcRGrR1MMoqOuYEeC6Hi7VCokkyAkiItYPZpiEB11BTsSRMfbpVIhmQQhQVzE6tEUg+ioK9iRIDreLpUKySQICeIiVo+mGERHXcGOBNHxdqlUSCZBSBAXsXo0VV6ejUEwiIdW3XrmficxwqcH3MA6a6ykL6dYEZjLnCGHaNLjL7g5uJ1RwsurM/UZYrmFbMzxnioLZhfIxSAhFC8McYtwzPERUAwiiGwLJadvlRyPx0PaT9TPD3hjjUG8GaB/aAQwSGh6GM4bAQzizQD9QyOAQULTw3DeCGAQbwboHxoBDBKaHobzRgCDeDNA/9AIYJDQ9DCcNwIYxJsB+odGAIOEpofhvBHAIN4M0D80AhgkND0M540ABvFmgP6hEcAgoelhOG8EMIg3A/QPjQAGCU0Pw3kjgEG8GaB/aAQwSGh6GM4bAQzizQD9QyOAQULTw3DeCGAQbwboHxoBDBKaHobzRgCDeDNA/9AIYJDQ9DCcNwIYxJsB+odGAIOEpqfdcOnNiudH582Kl7HGIO00GO7Ib98J+fr79fzvzHE+KO/nfU8bBgkn4/oDKSRjlFceFOz4Pkh9DTc5oiUx/tP4sCzLz6enp29NBhzgoBhkAJKUEUViL7aaOU1EHPk+iCLaHjXK9witc81oFAxiVUfwdRVOp0w7nM0kGMQki9iLRBKLNjWLUURsOcUqUlel4l6pcWPcw7qu37f8NxQMUkmsvQ8jEtdkzC2niYgzCdJEaYaDBkiNq1Nu0SgYxCDKKEt2u92PW38FjzDn1kyCQSKo6j8ziCS57mwrRhGx5xSrh/o6nE69/KV8Xdd0f1b1f8kk6TPTI1/EY5DqsqhzQJEYc/N1XR9Pwm3da+Q0EbEhQcxKzFzYIzX2+/3jpbFEMZh3OKJRREwwiFkVGQsbX4Sb/mYhCsK8y9FMIuKBQcyKMCxsef9Uaq+IUhSGYbevS5SZzAevuFDEAYPU4KDH6VTJX7rTfPf39w8tL+Kj30qPQWooXTiGCLy5U81f6JFmNQNkXCjunQQx4vthWY/UuHYRrs58qhPFYm0b8uEscc8YxMr6+ToRbGsr00W49WDX1jXeQ7hrE3G/GCRHaBEvwnPmn/l/CWOQUqXcqO9xOlVyEV669db7q3kdpe4Vg6jI/adOBNY8TQTxdLo2cT3tEnnkFOuaklv/qqZXynimxi0Hi2Ky/ii47FvcEwbxOC8/v3/Kqqre60RBmcfsnZzifjDIOaOtU6O3KMxqvbFQFJa5dS9MxH1gkBOTEe6fMquq88I3cX1q9ZBXD5NgEFE0InDmbj3INw9TuHBkrMTZ502Q1qdTkS/CC32ivufW1LbVw1kYxAT/6yIRLHOHES7CzZu5srA1hrWTV5x3rgTpkRqt7p8qFXSrelF45nFqGUWccx6DcBFu1mT2QlF85j41TCLOuH2DbPH+KbOyOi8URWiessQo4mzbNUiP06mofwk3K67BwqgPZ2GQM7JFMMxyKfklMzcZfGE0DsR5tpUgPVJjtovwUp+KwrS2NT+cJc6xHYOIAJiJ4HTKCtXHdY25Md0lLM4wvkG4CNeF27tSFKl5zFunvmLvcQ3S43SK1DBr07ywNW/XTDKVQcTNmknkItwMlbywN4div7ESpPWvz5bvn5KV3LhQFK51qj8PZ4l9xjFIQqTVi8/ejv3nJdBW9FlXBwFRvObm6YxA1M8YBjEjISzkdEoArVFJa6MIY09tEJdnowWSpip5M0mzh7MywZzTIKRGpkwclgdJk+kMQmo4iL2kpbNR5jHIDA8xlQgxcq2jSaYwiLzJyKKZcTYHo8jaWVSCGj+4dD4Wp1MqSYHrOptkmwbhIjywwiuN1skomzMIqVFJgCMcpvXDWenOCvXxhnCnWKTGCJJuM2PDNNmEQeRNtKGLo3oh0MAosrYiJAinU15KDNy3sknGNAinU4EVGmS0GkYp0ZmcIIVPAJIaQQQ4whilj0e4GCQBu9vt1lyAS4bN7cX6bSGgpsl+v5eDQC5M0GcOTGpsS69uu8nRXekPcpFBrCbh/ik3LW22scUkpeZI4BUb5MRAGjj997qu6RmAl3+8LGGz+gyzsQvPnby8Y+t4PB6en58PpYP+Ag9XrJsVREZpAAAAAElFTkSuQmCC",ZV="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAC1JJREFUeF7tne11FDkQRbtNGutNwOQATggOEdiOYA8kZJODSQBIA/eeHhiOv2ZGeiWppOrLz12VpLpVb57a09M9T4X+ff737fW8LO+WaXpfaEqmgUA2gXma7pZ5/vrx+/11dvArAbN1kv/+efv+bF5urfMQD4HiBOb5xioUk0BW15iW5ap4YkwIgUIEHpb58tPP+zt1OptAzi8WdWHiINCCwHrk+vDj26W6liwQ3ENFTlxrAhYXQSCtq8V6zQlYXEQWyJfzi1v+YtW81iwoEEAgAjRCtkMAgWyn1mQqEEAgAjRCtkMAgWyn1mQqEEAgAjRCtkNgGIHs75PZTmnItDQB5X6/YQQyFbg3pjRw5huLgPIFNQIZq8bs1kAAgRjgERqfAAKJX2MyNBBAIAZ4hMYngEDi15gMDQQQiAEeofEJIJD4NSZDAwEEYoBHaHwCCCR+jcnQQACBGOARGp8AAolfYzI0EEAgBniExieAQOLXmAwNBBCIAR6h8QkgkPg1JkMDAQRigEdofAIIJH6NydBAAIEY4BEanwACiV9jMjQQQCAGeITGJ4BA4teYDA0EEIgBHqHxCSCQ+DUmQwMBBGKAN3Lo+q7Hdf9nZ9P7h4fpzvLasJE5nNo7AjlFKNj/P1pwHrT3otoIJJgAjqWTVGxE8gRhErNn0Hmy4oCiyio0Ivlb4Sxuf6IQyIgCyXxDsOVFlAPiObhlBBKpmgdyUYqMQH7DVNjhIIOJSikyT8ZHIIO1ub5dBNKWHQ6i83aJRCA6doUdAtF5u0QqReaIxRHLpVk9FkUgOnWFHQ6i83aJVIqMg+AgLs3qsSgC0akr7HAQnbdLpFJkHAQHcWlWj0URiE5dYYeD6LxdIpUi4yA4iEuzeiyKQHTqCjscROftEqkUGQfBQVya1WNRBKJTV9jhIDpvl0ilyDgIDuLSrB6LIhCdusIOB9F5u0QqRcZBcBCXZvVYFIHo1BV2OIjO2yVSKTIOgoO4NKvHoghEp66ww0F03i6RSpFxEBzEpVk9FkUgOnWFHQ6i83aJVIqMg+AgLs3qsSgC0akr7HAQnbdLpFJkHAQHcWlWj0URiE5dYYeD6Lz/Ru5fP1BgqpNTrK84mJbl6uTARwPWIv9a5pucGMvYXl+/gEAsVc2MXUXxZl6ulmnavZuDf88IzPNNb+8qQSCNulQB3Whr/S3T0dPllbpxxMpsKQVy5hLhhvfy8Gyldggksx0/Z756IHP6kMMtTVYSCAIpSfOVudbrjrN5ua28TMjpe3ARBFK5tRTAlbc0zPQIJKNUX84vbrP/+tPBxR4OklHk50M7qJ/yAWc5Hs4qLgSikhs3DgfJqN2oAllTlPaewSbq0I8/vskfqKWY4CClSB6Zh2OWALmD49W6awQi1E4JUUAr64SI6UQcCKRxN+2cRLgvqvE23Zbb3//V031ZygcbF+kFWqjlzYrS/V9/7osqkGrSFD2J4vGGEUhS+cYepBSZ34P8rrnCDgcZTC9KkREIAhmszfXtIpC27HAQnbdLJALRsSvsEIjO2yVSKTJHLI5YLs3qsSgC0akr7HAQnbdLpFJkHAQHcWlWj0URiE5dYYeD6LxdIpUi4yA4iEuzeiyKQHTqCjscROftEqkUGQfBQVya1WNRBKJTV9jhIDpvl0ilyDgIDuLSrB6LIhCdusIOB9F5u0QqRcZBcBCXZvVYFIHo1BV2OIjO2yVSKTIOgoO4NKvHoghEp66ww0F03i6RSpFxEBzEpVk9FkUgOnWFHQ6i83aJVIqMg+AgLs3qsSgC0akr7HAQnbdLpFJkHAQHcWlWj0URiE5dYYeD6LxdIpUi4yA4iEuzeiwqPTy7o+fjejDbr6l8uOAgnhUT1859T2IPrx4QUy0ahkCK4ux3sqxC4x5/C5nF7U8UDtKvDo7uLKnYiOMJwyRmz6gjkEEFsm77aMERx4vKIpCBm92y9f27Sh4eprt1nl5fP2DJsUQsAilBkTnCEkAgYUtLYiUIIJASFJkjLAEEEra0JFaCAAIpQZE5whJAIGFLS2IlCCCQEhSZIywBBBK2tCRWggACKUGROcISQCBhS0tiJQggkBIUmSMsAQQStrQkVoIAAilBkTnCEkAgYUtLYiUIIJASFJkjLAEEEra0JFaCAAIpQZE5whJAIGFLS2IlCCCQEhSZIywBBBK2tCRWggACKUGROcISQCBhS0tiJQggkBIUmSMsAQQStrQkVoIAAilBkTnCEkAgYUt7PLH1yYqPR/Bkxdd5IZANCWQVxZt5uVqm6Yk4niDg+bxPcCCQDQhEKTJvmPrdGAo7nu4+iKiSHONILmuhl3n++vH7/fUgKRffJgIpjrSPCZXCHtz5ho9dCkccpA8NvLoL6X2EqflsUCgIJLU5Oh9nPU4lp7cxkSCQ5M7od6BSRHM2GxGKwpYjlrm7ykzQzDUObHdthF/LfBP5OxQEUqZXm8+iFK7aJgO7icIZB6nWaacn9naNozsMKBQEcronuxnx5fzi9ui34D3sNJhIEEgPTXViD0qR3NMKIhSFPUesRt1X+zi1/6Z8WparKinN8836mumRL+IRSJXOsE+qFCZn1Ydlvtw3bu21Rr6vS2GDg+R0YubYFq7x4ce3y9e2pTRDVnoDHrsUJggkqyvSB9e8CE/9zkJpiPQMp2k0N1F4IJCsjjg9uOr9U+vywie30hinM300QthT1vyFBiscEEgh+C2OU5ZvunfCPZve17yI7/1WegRSqNlzp1HAZ61R8BN6pL1mMUoYrOSOgySAPTSkhWscugg3bHsXqjRL6pq9/jhLyRmBpFb92TgFdupSqRfhqfMdGlczh92aBZ3Pmqv6oYBAMsn3eBGemcKL4VsRipInAknsrhbHKctFeGIaB4fVzq8HN0Eg1i45EK+AzdpKR0eRyLkqueEgRzq59qdqq2uNLLH+Gaw0U+o6XnkrOSEQJ9d4fP9UamO1Hqc0VNYeGzunkg8CeVbR2q7Rw1k8q4kr/0m45V+7EEhu5Z+N7+H+KWMK1cLX5pqX5V21H3k1cBMEIraHAi5rqQbFz9qPYfDIrJS9b/qIVfs45XUxauj/5FCl2ZInr/TjLGXPmxWIAiu5wNM0jXARnpPPa2NrMyx9vabsd3MCaeEate6fsjZ0rXil8bL2UuiIquxzUwLhIjyrLbMGK82XtUABkSh73IRAIt4/ldVcDQcrTZi1PYNQlL2FFkiL45Tn/VNZjdVwcK8/zkIgj5pAgZHVQ4ZPsqx1Bh7cWw2U/YRzkBausbWLcKtGlcZMXTPnx1nKPkIJRAGQUwiOU6m0Xo6rWZvdagmOruwhhEC4CNcbt3Wk0qRZezwiFGXtoQXS4jiFa2S1Z9Lg2nU75CabEoiSbFL19oMSLDtrPga/INC6hsp6wzlI7U+fyPdP9apRpXFTc3lcT2WdoQSyg1Lr6eUbuX8qtbFaj1OaN2uP83yj9M84AsmikTmY41QmsHrDqwslc+ubFgjHqcxuaTR8FUnVH2dl5LFdgeAaGW3iM7QHN9mcQHANn2a3rOoplE0JZAs/YrI0Ys+xXiLZhEAsSfbcNFvcW2uhWHpnVgtU84dLj/fEcUqtUN9xLUUSVyBchPfd5QV210Io4QSCaxTovIGmqP3jrFgCwTUGau2yW63lJiEEYkmibJmYzZtAaaFYesv9Ip3jlHc79rl+SZGMKxCOU312Z0e7KiIUQ5/JDmL5BSCu0VEHDrAV888jPASycv18frFk8zVsNnstAkIRUN3k449vshHIgTuB/Pv2OvW3HbhGqF51TSan71IeBHEsGZNAUkXC/VOu/RRy8SSRFDitmAWyp7/b8PrklmV5t/9vPCwhZG92ldTz353sn7H18DDdffp5f2fd7P+UF1ib0FTOtAAAAABJRU5ErkJggg==",YV="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAABDUlEQVQoU22SvUrEQBSFzyWTgF2CPywILpaChYVgL/oES7BNCJk8U26TvIGonaggYiFipeBDiETLMMWVCdlldsy0832He88MAaCqqs76vn9t2/YHE6coinkQBDNmfrHwuYjcAvgwxpw2TfPlOmVZHhHRHYAYwIyyLIujKHoCcOhLDrxJRJd1XS/IpuV5vh2G4YMrKaV2x2QLX4lIysxmEHxJRD6JaAfAGmy5lbCUlFKPRHQwXBLdiMjCJi+D1wR35hH4V8RK8Ba0yftTRQyCBw8LGmNivwhbOY2P8ja1oNfee9d1x6S1PgHwTETXInLhLui0dw9gD8B8GElrvcXM3wBk6mukaRolSbLBzL9/mxKWmrW9ojsAAAAASUVORK5CYII=",JV="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAABLklEQVQoU22SzUrDQBSFz52an4KLQFVSK20VERq6cCG4F32CIj5CNyKKL+ADCC3ie4h2JyqIuCjSlX8gUgoREUSx4CIS45VJbZymme2c73DvN0MAqJ4vL7P4vNrqdD6QcPazpcJ3iuzNp7umDK8Q8zFAN+R7Sxsvj68qU8s580LQCRiW/+PbVCsWLRGMXgBcjkNRGMgI4GDdva2QbNuzZ8dZM89UKEjpubAZyAB8aLrp1SpafggMQ7gHMBEPy1wE/EPGOYDS32XDcM2KbO4XDwDqzL3AsIgIUMMENBg0nSQiBAabewt+2V0rLkIqJ/kowYhoJS2o2iPw9buLBapPOYsEuhSEI90119QF+yKg6acA8obmFcKRdifnxrafH94I4KSvsQNHz8546Wq73f0FqWePiYKSLsIAAAAASUVORK5CYII=",XV="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAACLtJREFUeF7tmuFNHEkYRGdwGocTgCAgISMiYDeC0zohNoglASANM6dFwrJ8spmt6v1qNP38e6pr+vU8fdvC48A/CEDgjwRG2EAAAn8mgCB8HRD4CwEE4fOAAILwDUBAI8AE0biR6oQAgnRy0GxTI4AgGjdSnRBAkE4Omm1qBBBE40aqEwII0slBs02NAIJo3Eh1QgBBOjlotqkRQBCNG6lOCCBIJwfNNjUCCKJxI9UJAQTp5KDZpkYAQTRupDohgCALOuh//7m+Ob7O/ethv6DX6vpVECR8/EcpvozTwzQM73L8/DeO27vnwyb8et3XI0jwEzjKcTFOj397hbdpvGWi5A4JQXLsh93l1TSnHknmUDrPMwhyHq6frrr7er0Zpunh0weHYRiHYf/t5el2zrM805YAgrTlOXu1udPjY8G7lyfOajbddg8CvR3L2SvNuXv8vhg/s2bjbfoggjTFOW8xBJnHaQlPIUjgFBAkAF2sRBARnBNDEIdebRZBanm/tyFIALpYiSAiOCeGIA692iyC1PJmggR4O5UI4tATs0wQEVwghiAB6AgSgC5WIogIzokhiEOvNosgtby5gwR4O5UI4tATs0wQEVwghiAB6AgSgC5WIogIzokhiEOvNosgtby5gwR4O5UI4tATs0wQEVwghiAB6AgSgC5WIogIzokhiEOvNosgtby5gwR4O5UI4tATs0wQEVwghiAB6AgSgC5WIogIzokhiEOvNosgtby5gwR4O5UI4tATs0wQEVwghiAB6AgSgC5WIogIzokhiEOvNosgtby5gwR4O5UI4tATs0wQEVwghiAB6AgSgC5WIogIzokhiEOvNosgtby5gwR4O5UI4tATs0wQEVwghiAB6AgSgC5WIogIzokhiEOvNosgtby5gwR4O5UI4tATs0wQEVwghiAB6AgSgC5WIogIzokhiEOvNosgtby5gwR4O5UI4tATs0wQEVwghiAB6AgSgC5WIogIzokhiEOvNosgtby5gwR4O5UI4tATs0wQEVwghiAB6AgSgC5WIogIzokhiEOvNosgtby5gwR4O5UI4tATs0wQEVwghiAB6AgSgC5WIogIzokhiEOvNosgtby5gwR4O5UI4tATs0wQEVwghiAB6AgSgC5WIogIzokhiEOvNosgtby5gwR4O5UI4tATs0wQEVwghiAB6AgSgC5WIogIzokhiEOvNosgtby5gwR4O5UI4tATs0wQEVwghiAB6AgSgC5WIogIzokhiEOvNosgtby5gwR4O5UI4tATs0wQEVwghiAB6AgSgC5WIogIzokhiEOvNosgtby5gwR4O5UI4tATs0wQEVwghiAB6AgSgC5Wnl2Q48cgvttqYxcXw80wTQ8nbXAct29vw/6kTAcP378ezsrkLIIcpfgyTg/TMCBHBx9pfIvjuL17PmzO8R7NBVF+PpxjY6zZH4G3abxtPVGaC7K7vJr6Oxp2vBQCdy9PTb/ppovtvl5vTv5tvRSyvMcqCIzDsP/28nTbajNtBWF6tDoX1jEItJwiCGIcBNFlEmh5F2kmCJfzZX4sPb7VIgU5HgQX9B4/x+XtebE/sb5fXj3yt4/lfTBdvVHjv4k0+4n1cQhMka4+x8VttuX0OG6uuSDcRRb3zXTzQi3vHh/Qmgvyc5LwN5FuPsz0Ro9/+/gxjdvWf0U/ywT5HRb/WfH/nw//WbGdUueQ4te3O9sEaYdgfSspP0PP8fNhfWTb7whB2jP9dEUE+RTRYh5AkMBRIEgAuliJICI4J4YgDr3aLILU8n5vQ5AAdLESQURwTgxBHHq1WQSp5c0ECfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcE0MQh15tFkFqeXMHCfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcE0MQh15tFkFqeXMHCfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcE0MQh15tFkFqeXMHCfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcE0MQh15tFkFqeXMHCfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcE0MQh15tFkFqeXMHCfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcE0MQh15tFkFqeXMHCfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcE0MQh15tFkFqeXMHCfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcE0MQh15tFkFqeXMHCfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcE0MQh15tFkFqeXMHCfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcE0MQh15tFkFqeXMHCfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcE0MQh15tFkFqeXMHCfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcE0MQh15tFkFqeXMHCfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcE0MQh15tFkFqeXMHCfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcE0MQh15tFkFqeXMHCfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcE0MQh15tFkFqeXMHCfB2KhHEoSdmmSAiuEAMQQLQESQAXaxEEBGcG9tdXk2nrHH38sRZnQKs0bNAbwTy1GW+X149TsNwMys3jtu758Nm1rM81JQAgjTFOX+xU35mMT3mc239JIK0JnrCenMkeZvG2/vXw/6EZXm0IQEEaQhTXWr39XozTNPDr/lxGPY/pnGLHCrVNjkEacOx2SrHqYIUzXDaCyGIjZAF1kwAQdZ8uuzNJoAgNkIWWDMBBFnz6bI3mwCC2AhZYM0EEGTNp8vebAIIYiNkgTUTQJA1ny57swkgiI2QBdZMAEHWfLrszSaAIDZCFlgzAQRZ8+myN5sAgtgIWWDNBBBkzafL3mwCCGIjZIE1E0CQNZ8ue7MJIIiNkAXWTABB1ny67M0m8B9qxvwFf8kx1QAAAABJRU5ErkJggg==",ej="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAACDBJREFUeF7t3Wty20gMhVFmZ+HKbK+M2tkkTOSJokhWN/qiH8DnP6mpYYONC5yS85jMt40vEiCBpwl8IxsSIIHnCQCE7SCBLxIACOtBAgBhB0jAlgCfILbcOJUkAYAkGTRt2hIAiC03TiVJACBJBk2btgQAYsuNU0kSAEiSQdOmLQGA2HLjVJIEAJJk0LRpSwAgttw4lSQBgCQZNG3aEgCILTdOJUkAIEkGTZu2BABiy41TSRIASJJB06YtAYDYcuNUkgQAkmTQtGlLACC23DiVJAGAJBk0bdoSAIgtN04lSQAgSQZNm7YEAGLLjVNJEgBIkkHTpi0BgNhy41SSBACSZNC0aUsAILbcOJUkAYAkGTRt2hIAiC03TiVJACBJBk2btgQAYsuNU0kSAEiSQdOmLQGA2HLjVJIEAJJk0LRpSwAgttw4lSQBgCQZNG3aEgCILTdOJUkAIEkGTZu2BABiy41TSRIASJJBR2jzOI7v27a9bdt2/nj79XH+w77v7+o+AaJOlHouCRzHcTyAcf+uDzUSgLiMk6LKBApxfL7ysv9Uono/QFRJUsclgUocciQAcRkrRRUJGHF8vvr8ILm03gMgrQly3iWBRhznnSTfagHEZbwUbUlAgOPX6/d9b97v5gItQXCWBO4TUOEACLsVLgElDoCEW4/cDalxACT3PoXq3gPHtm2S3zTk5yChVm29ZpxwnEEAZL114Ma3CcyO47wrnyDsbPcEvvhDh4q7SH7/4/MiAFGMhBrFCVxxnH/w0ONLioNPEI8RUfNpAqvhAAjL3C2BFXEApNt65H7RqjgAkntvu3S/Mg6AdFmRvC9ZHQdA8u6ue+cRcADEfU1yviAKDoDk3F/XriPhAIjrquQrHg0HQPLtsFvHEXEAxG1dchWOigMgufbYpdvIOADisjJ5ikbHAZA8uyzvNAMOgMjXJkfBLDgAkmOfpV1mwgEQ6erEL5YNB0Di77Ssw4w4ACJbn9iFsuIASOy9lnSXGQdAJCsUt0h2HACJu9vNnYHjd4T8tT/NqxSvADj+zBQg8fa7qSNw/B0fQJrWKdZhcPw7T4DE2nFzN+B4HB1AzCsV5yA4ns8SIHH23NQJOL6ODSCmtYpxCByv5wiQ1xmFfAIcZWMFSFlOoZ4CR/k4AVKeVYgnwVE3RoDU5bX00+CoHx9A6jNb8gQ4bGMDiC23pU6Bwz4ugNizW+IkONrGBJC2/KY+DY728bgBuQ7nvOH3m2ue/xfSS/u1qfAqAXC8Sqjs38uBXAfzdgfj/jYf+76/l12Rp2oTAEdtYs+flwI5juNc+hNHyRdISlKqfAYclYG9eFwGpBLH57VAIpwnOIRhXkspgfxnvB5IjMHdHgOHIMQHJSRAjJ8et9cBScN8wdEQXo9vsQRAzmuCxDBncBhCqzii+gSxfnvFr25VDOv+UXA0hFd4dDYgfJIUDg4chUE1PjYjEJC8GCo4Gre+4rgKyPHiNwYrrvT/o/yc5EFq4LCskv2MCsj5x0lOJOovkNwkCg71er2uJwFyvub4+UtZDp8ifLt1nSE4Xi+zxxNKIF6fIumRgMNj9ctqyoBcP0Vq/ixW2Q3/PJXy2y1w1K6J9nkpEJBohwMObZ6WanIgILGM4d8z4NDk2FrFBQhI2sYCjrb8lKfdgIDENiZw2HLzOuUKBCR1YwNHXV49nnYHApKyMYKjLKfeT3UBApKvxwqO3mtf/r5uQEDyeCjgKF/WEU92BQKSv0cMjhErX/fO7kBA8ntA4Khb1FFPDwGSHQk4Rq17/XuHAcmKBBz1SzryxFAg2ZCAY+Sq2949HEgWJOCwLejoU1MAiY4EHKPX3P7+aYBERQIO+3LOcHIqINGQgGOGFW+7w3RAoiABR9tiznJ6SiCrIwHHLOvdfo9pgayKBBztSzlThamBrIYEHDOttuYu0wNZBQk4NAs5W5UlgMyOBByzrbXuPssAmRUJOHTLOGOlpYDMhgQcM6609k7LAZkFCTi0izhrtSWBjEYCjlnXWX+vZYGMQgIO/RLOXHFpIL2RgGPmVfa52/JAeiEBh88Czl41BJAeSLZte3Ma5mXf992pNmUbEwgDpAOSxqgfHgeHR6rCmqGALIYEHMJF9ioVDsgiSMDhtdHiuiGBTI4EHOIl9iwXFsikSMDhuc0OtUMDmQwJOBwW2LtkeCCTIAGH9yY71U8BZDAScDgtb4+yaYAMQgKOHlvs+I5UQDojAYfj4vYqnQ5IJyTg6LXBzu9JCcQZCTicl7Zn+bRAnJCAo+f2dnhXaiBiJODosLC9X5EeiAgJOHpvbqf3AeQa9HEc78b/5gMcnZZ1xGsAcpO6AQk4Rmxtx3cC5C7sCiTg6Lioo14FkCfJfwHlsm3bx77v5498BU8AIAUDvv6FDRsoCsIK9ghAgg2UdrQJAESbJ9WCJQCQYAOlHW0CANHmSbVgCQAk2EBpR5sAQLR5Ui1YAgAJNlDa0SYAEG2eVAuWAECCDZR2tAkARJsn1YIlAJBgA6UdbQIA0eZJtWAJACTYQGlHmwBAtHlSLVgCAAk2UNrRJgAQbZ5UC5YAQIINlHa0CQBEmyfVgiUAkGADpR1tAgDR5km1YAkAJNhAaUebAEC0eVItWAIACTZQ2tEmABBtnlQLlgBAgg2UdrQJAESbJ9WCJQCQYAOlHW0CANHmSbVgCQAk2EBpR5sAQLR5Ui1YAgAJNlDa0SYAEG2eVAuWAECCDZR2tAkARJsn1YIlAJBgA6UdbQIA0eZJtWAJACTYQGlHmwBAtHlSLVgCAAk2UNrRJgAQbZ5UC5bAD+GSLPaM/dMkAAAAAElFTkSuQmCC",Et=new Le("https://www.kongfz.com/search-suggest-history-iframe.html"),tj={name:"SearchBar",props:{layout:{type:Number,default:1},logoType:{type:Number,default:1},searchType:{type:String,default:"shop"},site:{type:Object,default:()=>({})},pageType:{type:String,default:""},showQrCode:{type:Boolean,default:!1},bgType:{type:Number,default:1},logoColor:{type:String,default:"#9B0D16"},logoText:{type:String,default:"个人中心"},fixedTop:{type:Boolean,default:!1},useCustomSearch:{type:Boolean,default:!1},useStatusSelect:{type:Boolean,default:!0},isSearching:{type:Boolean,default:!1},searchWordQueryName:{type:String,default:"key"},modelValue:{type:String,default:""},status:{type:String,default:"0"},hideSearch:{type:Boolean,default:!1}},data(){return{abTestTag:"-",search_type:"active",search_pos:"",search_key:"",searchHistoryType:zV,searchInfo:{searchType:this.searchType,status:"0",shop:["在售","已售"],pm:["在拍","已结束"]},searchPlaceholder:VV,statusHoverClassName:"",searchWord:this.modelValue,placeholderShow:!0,isLogin:!0,currentSugIndex:0,keyUpTimeIndex:0,maxSearchHistory:100,searchHistoryList:[],historyList:[],suggestList:[],historyBoxShow:!1,sugKey:"",layoutClassName:"",supportiveLib:UV(),fixedTopStatus:!1,searchOffsetTop:136,wordType:"normal",jumpUrl:"",entityId:"",SearchWordUIConfigMap:HV,SearchWordTagUIConfigMap:qV,mode:"none",hasSubscription:!1,subscriptionCountHasNewArrivals:0,subscriptionList:[],subscriptionLink:"".concat(this.site.s_user,"user-center/subscription/")}},watch:{modelValue:{handler(t){this.searchWord=t,this.syncPlaceholderVisibleByWord()},immediate:!0},searchWord:{handler(t){this.$emit("update:modelValue",t)}},status:{handler(t){this.searchInfo.status=t},immediate:!0}},emits:["search","update:modelValue"],mounted(){setTimeout(()=>{this.init()},0)},methods:{syncPlaceholderVisibleByWord(t=!1){if(t){this.placeholderShow=!1;return}this.placeholderShow=!(this.searchWord&&String(this.searchWord).trim().length>0)},init(){let t=this.pageType;(t=="index"||t=="search"||t=="shop")&&this.$refs.searchInput.focus(),(t=="search"||t=="isbnsearch")&&this.initSearchKey(),this.searchHistoryInit(),this.layout==1&&(this.layoutClassName=""),this.layout==2&&(this.layoutClassName="search"),this.layout==3&&(this.layoutClassName="w-auto-xl"),this.layout==4&&(this.layoutClassName="w-auto-xxl"),this.fixedTop&&this.fixedTopInit()},fixedTopInit(){const t=document.querySelector(".header-search-box");this.searchOffsetTop=t.offsetTop+t.offsetHeight;const e=()=>{(document.documentElement.scrollTop||document.body.scrollTop)>=this.searchOffsetTop?this.fixedTopStatus=!0:this.fixedTopStatus=!1};window.addEventListener("scroll",MV(e,100))},searchTypeChange(t){this.searchInfo.searchType=t,this.searchInfo.status="0"},searchStatusChange(){this.searchInfo.status=this.searchInfo.status==="1"?"0":"1",this.statusHoverClassName=""},mouseenterFun(){this.statusHoverClassName="search-status-box-hover"},mouseleaveFun(){this.statusHoverClassName=""},searchStatusChangeClick(){this.statusHoverClassName=this.statusHoverClassName?"":"search-status-box-hover"},initSearchKey(){const t=this.getUrlParam();let e="";if(t.oldKey)e=this.unicodeToChar(t.oldKey),e!=""&&(this.searchWord=e);else{const r=decodeURIComponent((t[this.searchWordQueryName]||"").replace(/\+/g,"%20"));r!=""&&(this.searchWord=r)}},searchSubmit(t=!1){if(this.historyBoxShow=!1,this.searchWord==""||this.isSearching)return;let e="";const n=this.getUrlParam().xinshu;this.search_key=this.searchWord,t&&this._resetWordType(),this.search_type=="suggest"?e=this.baseEncode({search_type:this.search_type,search_pos:this.search_pos,search_key:this.search_key}):e=this.baseEncode({search_type:this.search_type});const i={keyword:this.searchWord,search_time:Math.floor(new Date().getTime()/1e3),type:this.searchHistoryType[this.searchInfo.searchType]||0,wordType:this.wordType||"normal",jumpUrl:this.jumpUrl||"",entityId:this.entityId||"0"};this.addLocalSearchHistory(i);try{window.track&&track.send("c_schword_click",{type:this.searchInfo.searchType=="shop"?"book":"auction",querytype:this.search_type,key:this.searchWord,pos:this.search_pos||0,orikey:this.searchWord,abTestTag:this.search_type==="suggest"&&this.abTestTag||"-"})}catch(s){console.error(s)}if(this.wordType!=="normal"){this.isLogin&&this.uploadKeyWord(i),window.open(this.jumpUrl,u0.includes(this.wordType)?"_self":"_blank"),this.wordType="normal",this.jumpUrl="",this.entityId="0";return}if(this.useCustomSearch){this.$emit("search",new jV(this.searchInfo.searchType,this.searchInfo.status,this.searchWord,e));return}this.searchInfo.searchType=="shop"&&(this.pageType=="isbnsearch"?window.location.href="".concat(this.site.s_search,"item_result/?key=").concat(encodeURIComponent(this.searchWord),"&status=").concat(this.searchInfo.status,"&_stpmt=").concat(e):window.location.href="".concat(this.site.s_search,"product/").concat(this.supportiveLib==="vue3"?"":"ie/","?keyword=").concat(encodeURIComponent(this.searchWord)).concat(n?"&isNewBook=true":"","&dataType=").concat(this.searchInfo.status)),this.searchInfo.searchType=="pm"&&(this.searchInfo.status=="1"?window.location.href="".concat(this.site.s_search,"pm-search-web/pc/endauction/search?key=").concat(encodeURIComponent(this.searchWord)):window.location.href="".concat(this.site.s_search,"pm-search-web/pc/auction/search?key=").concat(encodeURIComponent(this.searchWord)))},advSearch(){let t="";this.searchInfo.searchType=="shop"?t=this.site.s_search+"adv.html?key="+this.searchWord+"&status="+this.searchInfo.status:t=this.site.s_search+"adv.html?type=pm&key="+this.searchWord+"&status="+this.searchInfo.status,window.open(t)},getUrlParam(){let t={};return location.search.replace(/([^&=?]+)=([^&]+)/g,function(e,r,n){t[r]=n}),t},baseEncode(t){let e=this,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n="",i,s,o,a,l,c,h,f=0;for(t=e._utf8_encode(t);f<t.length;)i=t.charCodeAt(f++),s=t.charCodeAt(f++),o=t.charCodeAt(f++),a=i>>2,l=(i&3)<<4|s>>4,c=(s&15)<<2|o>>6,h=o&63,isNaN(s)?c=h=64:isNaN(o)&&(h=64),n=n+r.charAt(a)+r.charAt(l)+r.charAt(c)+r.charAt(h);return n},_utf8_encode(t){t=JSON.stringify(t).replace(/\r\n/g,"\n");let e="";for(var r=0;r<t.length;r++){var n=t.charCodeAt(r);n<128?e+=String.fromCharCode(n):n>127&&n<2048?(e+=String.fromCharCode(n>>6|192),e+=String.fromCharCode(n&63|128)):(e+=String.fromCharCode(n>>12|224),e+=String.fromCharCode(n>>6&63|128),e+=String.fromCharCode(n&63|128))}return e},unicodeToChar(t){if(typeof t>"u")return"";let e="",r=t.split("k"),n=0,i=r.length;for(;n<i;n++){let s=r[n],o;if(!s)continue;let a=parseInt(s,16).toString(10);isNaN(a)||(o=String.fromCharCode(a),e+=o)}return e},inputClick(){this.syncPlaceholderVisibleByWord(!0),this.updateSearchSugDropdown();try{track.send("c_search",{block_name:this.searchInfo.searchType=="shop"?"商品":"拍卖区",status:this.searchInfo.status=="1"?"0":"1"})}catch(t){console.error(t)}},inputBlur(){this.syncPlaceholderVisibleByWord()},inputKeydown(t){let e=t.keyCode||t.charCode;if(e==38||e==40){if(!this.searchWord||!this.suggestList.length)return;e==38?this.currentSugIndex--:e==40&&this.currentSugIndex++,this.currentSugIndex>this.suggestList.length&&(this.currentSugIndex=1),this.currentSugIndex<1&&(this.currentSugIndex=this.suggestList.length);const n=this.currentSugIndex-1,i=this.suggestList[n];if(!i)return;this.syncPlaceholderVisibleByWord(!0),this.searchWord=i.word,this.wordType=i.wordType,this.jumpUrl=i.jumpUrl,this.entityId=i.entityId,this.search_type=this._getSearchType(this.wordType),this.search_pos=n}this.keyUpTimeIndex&&this.searchWord!=""&&(clearTimeout(this.keyUpTimeIndex),this.keyUpTimeIndex=0)},inputKeyup(t){if(jt()!="IE9")return;let e=t.keyCode||t.charCode;if(e==13){this.historyBoxShow=!1;return}e==38||e==40||(this.keyUpTimeIndex=setTimeout(()=>{this.updateSearchSugDropdown()},200))},inputFun(){jt()!="IE9"&&(this.syncPlaceholderVisibleByWord(!0),this.updateSearchSugDropdown())},stopPropagationHide(t){t.stopPropagation()},searchHistoryInit(){jt()=="Safari"&&(this.maxSearchHistory=20),this.getSearchHistory(),document.body.onclick=()=>{this.historyBoxShow=!1}},getScene(){return this.searchInfo.searchType==="shop"?"product":"auction"},filterHistoryList(t,e){(this.getScene()=="product"&&e.wordType=="shopName"||this.getScene()=="product"&&this.searchInfo.status=="0"&&u0.includes(e.wordType))&&t.push({word:e.keyword,wordType:e.wordType||"normal",jumpUrl:e.jumpUrl||"",entityId:e.entityId||"0"}),this.getScene()=="auction"&&(e.wordType=="unionName"||e.wordType=="auctioneerName")&&t.push({word:e.keyword,wordType:e.wordType||"normal",jumpUrl:e.jumpUrl||"",entityId:e.entityId||"0"}),(e.wordType=="normal"||!e.wordType)&&t.push({word:e.keyword,wordType:e.wordType||"normal",jumpUrl:e.jumpUrl||"",entityId:e.entityId||"0"})},getSearchHistory(t){this.isLogin?Z({method:"get",url:"/pc-gw/search-web/client/pc/v2/api/word/history",params:{scene:this.getScene()}}).then(e=>{e.data.status?(t&&t(e.data.data),this.historyOfSearchSync()):e.data.errType==100&&(this.isLogin=!1)}):this.getLocalSearchHistory(e=>{let r=[];if(e.length>0){this.searchHistoryList=e;for(let n=0;n<e.length;n++)this.filterHistoryList(r,e[n])}t&&t({historyList:r})})},renderSearchHistory(t){this.suggestList=[],this.handleChangeMode("none"),this.getSearchHistory(e=>{this.requestIdSearchSug===t&&(this.historyList=e.historyList,this.historyBoxShow=this.historyList.length>0,this.subscriptionList=e.subscriptionList||[],this.subscriptionCountHasNewArrivals=e.subscriptionHasNewItemNum||0,this.hasSubscription=e.isSetSubscription||!1)})},renderSearchSug(t){let e=this.searchWord;this.getSearchSug(r=>{if(this.requestIdSearchSug===t){if(r.historyList.length==0&&r.suggestList.length==0&&!r.queryLead?this.historyBoxShow=!1:this.historyBoxShow=!0,r.suggestList.length>0&&r.suggestList[0].word.indexOf(e)!=-1&&(this.sugKey=e),r.queryLead&&r.queryLead.segmentTypes&&r.queryLead.segmentTypes.length){const n={word:r.queryLead.word||"",wordType:r.queryLead.wordType||"normal",jumpUrl:r.queryLead.jumpUrl?r.queryLead.jumpUrl.pc:"",entityId:"0",liveUrl:r.queryLead.liveUrl||"",segmentTypes:r.queryLead.segmentTypes||[]};r.suggestList.unshift(n);const i=r.queryLead.segmentTypes[0].intentType==="press"?r.queryLead.segmentTypes[0].word:null,s=r.suggestList.findIndex(o=>i===o.word&&o.wordType==="shopName");if(s!==-1){const o=r.suggestList.splice(s,1)[0];r.suggestList.unshift(o)}}this.suggestList=r.suggestList,this.historyList=r.historyList,this.abTestTag=r.abTestTag||"-"}})},getSearchSug(t){const e=this.searchWord;Z({method:"get",url:"/pc-gw/search-web/client/pc/v2/api/word/suggest",params:{query:e,scene:this.getScene(),status:this.searchInfo.status}}).then(r=>{r.data.status&&(this.isLogin?t&&t(r.data.data):this.getLocalSearchHistory(n=>{let i=[];if(n.length){this.searchHistoryList=n;for(var s=0;s<n.length;s++)n[s].keyword!=e&&n[s].keyword.slice(0,e.length)==e&&i.length<3&&(this.getIndexOfForSuggest(r.data.data.suggestList,n[s])!=-1&&r.data.data.suggestList.splice(this.getIndexOfForSuggest(r.data.data.suggestList,n[s]),1),this.filterHistoryList(i,n[s]));r.data.data.historyList=i}t&&t(r.data.data)}))})},getLocalSearchHistory(t){if(jt()=="Safari"){const e=ki("searchHistoryList")?JSON.parse(decodeURIComponent(ki("searchHistoryList"))):[];t&&t(e)}else Et.onConnect().then(()=>{Et.get("searchHistoryList").then(e=>{let r=e?JSON.parse(e):[];t&&t(r)})})},setLocalSearchHistory(t){this.searchHistoryList=t,this.searchHistoryList.length>this.maxSearchHistory&&this.searchHistoryList.splice(this.maxSearchHistory),jt()=="Safari"?$i("searchHistoryList",encodeURIComponent(JSON.stringify(this.searchHistoryList)),30,".kongfz.com"):Et.onConnect().then(()=>{Et.set("searchHistoryList",JSON.stringify(this.searchHistoryList))})},getHistoryOfSearchSynchronized(t){if(jt()=="Safari"){if(ki("historyOfSearchSynchronized")){let e=ki("historyOfSearchSynchronized");t&&t(e)}}else Et.onConnect().then(()=>{Et.get("historyOfSearchSynchronized").then(e=>{t&&t(e)})})},setHistoryOfSearchSynchronized(t){jt()=="Safari"?$i("historyOfSearchSynchronized",t,30,".kongfz.com"):Et.onConnect().then(()=>{Et.set("historyOfSearchSynchronized",t)})},uploadKeyWord(t){Z({method:"post",url:"/common-web/v1/api/word/upload",data:{history:[t]}}).then(()=>{}).catch(e=>{console.log(e)})},historyOfSearchSync(){this.getHistoryOfSearchSynchronized(t=>{+t||this.getLocalSearchHistory(e=>{e.length>0&&Z({method:"post",url:"/common-web/v1/api/word/upload",data:{history:e}}).then(r=>{r.data.data&&this.setHistoryOfSearchSynchronized(1)}).catch(r=>{console.error(r)})})})},searchHistoryClick(t,e){switch(this.mode){case"edit":this.deleteSearchHistory(t,e);break;case"subscribe":t.isSubscribed||this.subscribeSearchHistory(t,e);break;default:this.jumpUrl=t.jumpUrl,this.wordType=t.wordType,this.entityId=t.entityId,this.search_type=this.suggestList.length>0?"suggest_his":"history",this.search_pos=e,this.syncPlaceholderVisibleByWord(!0),this.searchWord=t.word,this.searchSubmit();break}},searchSubClick(t,e){this.jumpUrl=t.jumpUrl,this.wordType=t.wordType,this.entityId=t.entityId,this.search_type=this._getSearchType(t.wordType),this.search_pos=e,this.syncPlaceholderVisibleByWord(!0),this.searchWord=t.word||"",this.searchSubmit()},clearSearchHistory(){this.isLogin?Z({method:"get",url:"/common-web/v1/api/word/delete/all"}).then(t=>{t.data.data&&(this.historyBoxShow=!1)}):(this.historyBoxShow=!1,this.setLocalSearchHistory([]))},deleteSearchHistory(t,e){this.isLogin?Z({method:"get",url:"/pc-gw/search-web/client/pc/v2/api/word/delete/single",params:{query:t.word,wordType:t.wordType}}).then(r=>{r.data.data&&(this.historyList.splice(e,1),this.searchHistoryList.splice(e,1),this.historyList.length||(this.historyBoxShow=!1))}):(this.historyList.splice(e,1),this.searchHistoryList.splice(e,1),this.setLocalSearchHistory(this.searchHistoryList),this.historyList.length||(this.historyBoxShow=!1))},addLocalSearchHistory(t){this.isLogin||(this.getIndexOf(this.searchHistoryList,t)!=-1&&this.searchHistoryList.splice(this.getIndexOf(this.searchHistoryList,t),1),jt()=="Safari"&&(t.keyword=t.keyword.slice(0,20)),this.searchHistoryList.unshift(t),this.searchHistoryList.length>this.maxSearchHistory&&this.searchHistoryList.splice(this.maxSearchHistory),jt()=="Safari"?$i("searchHistoryList",encodeURIComponent(JSON.stringify(this.searchHistoryList)),30,".kongfz.com"):Et.onConnect().then(()=>{Et.set("searchHistoryList",JSON.stringify(this.searchHistoryList))}),this.setHistoryOfSearchSynchronized(0))},getIndexOf(t,e){for(let r=0;r<t.length;r++)if(t[r].keyword==e.keyword&&t[r].wordType==e.wordType)return r;return-1},getIndexOfForSuggest(t,e){for(let r=0;r<t.length;r++)if(t[r].word==e.keyword)return r;return-1},updateSearchSugDropdown(){this.currentSugIndex=0,this._resetWordType(),this._resetSearchType(),this._resetSubscription();const t=this.requestIdSearchSug=Math.random();this.searchWord==""?this.renderSearchHistory(t):this.renderSearchSug(t)},subscribeSearchHistory(t){Z({method:"get",url:"/pc-gw/user-service/client/pc/subscription/check"}).then(e=>{const{data:r,status:n}=e;if(n!==200||!r){Me.error("获取订阅信息失败，请稍后重试");return}r.status===1&&r.data?setTimeout(()=>{window.open("".concat(this.subscriptionLink,"?action=create&keyword=").concat(encodeURIComponent(t.word),"&refpage=historypanel"),"_blank")},0):r.errType==="100"?(this.isLogin=!1,this.handleLogin()):r.errType==="1001"?M8({customClass:"search-bar-subscription-message-box",message:r.message,confirmButtonType:"primary",confirmButtonText:"管理我的订阅",center:!0,showClose:!1,showCancelButton:!0,cancelButtonText:"我知道了",cancelButtonType:"default",beforeClose:(i,s,o)=>{i==="confirm"&&window.open(this.subscriptionLink+"?refpage=historypanel","_blank"),o()}}):Me.error(r.message||"获取订阅信息失败，请稍后重试")}).catch(e=>{console.log(e),Me.error(e.message||"获取订阅信息失败，请稍后重试")})},onSubscriptionClick(t){window.open("".concat(this.subscriptionLink,"new-arrivals/").concat(t.settingId,"?snapshotId=").concat(t.snapshotId,"&refpage=search"),"_blank")},handleChangeMode(t){switch(t){case"subscribe":this.isLogin?(this.mode="subscribe",window.track&&window.track.send&&window.track.send("v_historypanel",{userid:this._getUserId(),client:"pc",selfpage:"historypanel",selfpagename:"历史词面板"})):this.handleLogin();break;case"edit":this.mode="edit";break;case"none":this.mode="none";break}},handleLogin(){typeof window.loginWin=="function"?window.loginWin(this.site.s_login,"login"):window.location.href=this.site.s_login+"?mustLogin=1&returnUrl="+encodeURIComponent(window.location.href)},_getUserId(){return window.KFZ&&window.KFZ.userInfo?Number(window.KFZ.userInfo.userId||"0"):window.KFZ&&window.KFZ.user?Number(window.KFZ.user.userId||"0"):window.KFZ&&window.KFZ.session?Number(window.KFZ.session.userId||"0"):0},_resetWordType(){this.wordType="normal",this.jumpUrl="",this.entityId="0"},_resetSearchType(){this.abTestTag="-",this.search_type="active",this.search_pos=""},_resetSubscription(){this.subscriptionCountHasNewArrivals=0,this.hasSubscription=!1,this.subscriptionList=[]},_getSearchType(t){return t==="shopName"?"shop":u0.includes(t)?"Recognize":"suggest"}}},rj=["href"],nj=u("span",{class:"global-iconfont global-icon-logo red-logo"},null,-1),ij=[nj],sj=["href"],oj=u("span",{class:"global-iconfont global-icon-logo black-logo"},null,-1),aj=[oj],lj=["href"],cj=u("span",{class:"global-iconfont global-icon-logo-pm black-logo"},null,-1),uj=[cj],hj=["href"],fj=u("span",{class:"global-iconfont global-icon-logo-art black-logo"},null,-1),dj=[fj],pj=["href"],gj=u("span",{class:"global-iconfont global-icon-small-logo"},null,-1),vj={class:"small-logo-text"},yj=u("img",{src:KV,alt:"",class:"code-img"},null,-1),mj={class:"clearfix"},bj=["type"],_j=["type"],wj=u("div",{class:"indicator"},null,-1),Cj={class:"cur-status"},Aj={class:"text"},Sj=u("span",{class:"icon-tab-down"},null,-1),Tj=u("span",{class:"icon-tab-up"},null,-1),Ej={class:"text"},Ij={id:"searchHistoryBox",class:"search-history-box search-history-box-flag"},kj={class:"search-history-title"},xj=u("span",{class:"title-name"},"搜索历史",-1),Lj={class:"toggle_btns f_right"},Oj=u("img",{class:"icon_delete_img",src:QV,alt:""},null,-1),Nj=u("img",{class:"icon_delete_img_hover",src:WV,alt:""},null,-1),Rj=u("span",{class:"delete_btn_text"},"删除",-1),Dj=[Oj,Nj,Rj],Bj=u("span",{class:"text-divider"},null,-1),$j=u("img",{class:"icon_subscribe_img",src:GV,alt:""},null,-1),Pj=u("img",{class:"icon_subscribe_img_hover",src:ZV,alt:""},null,-1),Mj=u("span",{class:"subscribe_btn_text"},"订阅",-1),Fj=[$j,Pj,Mj],Uj={class:"edit_btns f_right"},zj={class:"subscribe_btns f_right"},Vj={key:0,class:"history-title"},jj=["onClick"],Hj={class:"text"},qj={class:"icon icon_delete_item"},Kj=u("img",{class:"icon_delete_item_img",src:YV,alt:""},null,-1),Qj=u("img",{class:"icon_delete_item_img_hover",src:JV,alt:""},null,-1),Wj=[Kj,Qj],Gj={class:"icon icon_subscribe_item"},Zj=u("img",{class:"icon_subscribe_item_img",src:XV,alt:""},null,-1),Yj=u("img",{class:"icon_subscribe_item_img_done",src:ej,alt:""},null,-1),Jj=[Zj,Yj],Xj={key:0,class:"search-sug-list"},eH=["onClick"],tH=["textContent"],rH={key:1,class:"is-highlight k_text_ellipsis"},nH={key:2,class:"k_text_ellipsis"},iH={class:"current-text"},sH={key:3,class:"k_text_ellipsis"},oH=["textContent"],aH={key:5,class:"global-iconfont global-icon-more"},lH=["href"],cH={class:"search-word-tag__content"},uH=["href"],hH=u("i",{class:"search-word-tag__icon global-iconfont global-icon-live"},null,-1),fH=u("span",{class:"search-word-tag__content"},"直播中",-1),dH=[hH,fH],pH=u("span",{class:"global-iconfont global-icon-search"},null,-1),gH={class:"current-text"},vH={key:1,class:"subscription-part mb-20"},yH={class:"subscription-title"},mH=u("span",null,"我的订阅",-1),bH=["href"],_H={key:0},wH={key:1},CH=u("i",{class:"global-iconfont global-icon-more f_right"},null,-1),AH={key:0,class:"subscription-list clearfix"},SH=["onClick"],TH=u("i",{class:"global-iconfont global-icon-search"},null,-1),EH={class:"subscription-item__text"},IH={class:"subscription-item__count"},kH={class:"search-link"},xH=u("ul",{id:"hotwordsList",class:"hotwords-list",style:{display:"none"}},null,-1),LH={key:0,class:"kong"};function OH(t,e,r,n,i,s){return g(),v("div",{class:T(["header-search-box",[i.layoutClassName,r.bgType===2?"index":""]])},[u("div",{class:T([i.fixedTopStatus?"fixed-top":""])},[u("div",{class:T(["header-search",{"hide-search":r.hideSearch}])},[r.logoType==1?(g(),v("a",{key:0,href:r.site.s_www,class:"logo-text clearfix"},ij,8,rj)):b("",!0),r.logoType==2?(g(),v("a",{key:1,href:r.site.s_www,class:"logo-text clearfix"},aj,8,sj)):b("",!0),r.logoType==3?(g(),v("a",{key:2,href:r.site.s_pm,class:"logo-text clearfix"},uj,8,lj)):b("",!0),r.logoType==4?(g(),v("a",{key:3,href:r.site.s_pm+"special",class:"logo-text clearfix"},dj,8,hj)):b("",!0),r.logoType==5?(g(),v("a",{key:4,href:r.site.s_user,class:"logo-text clearfix"},[u("span",{class:"small-logo",style:ve({color:r.logoColor})},[gj,u("span",vj,[u("span",{class:"dot",style:ve({backgroundColor:r.logoColor})},null,4),V(" "+C(r.logoText),1)])],4)],8,pj)):b("",!0),r.showQrCode?(g(),v("div",{key:5,id:"search-bar__code-box",class:T({dwarf:r.layout===1})},[yj,b("",!0)],2)):b("",!0),u("div",{class:T(["search-box",{short:r.layout===1&&r.logoType===4&&r.showQrCode}])},[u("div",mj,[u("form",{id:"searchForm",class:"search-con",onSubmit:e[20]||(e[20]=ue(o=>s.searchSubmit(),["prevent"]))},[u("div",{class:T(["search-type",i.searchInfo.searchType])},[u("div",{class:"item-type",type:i.searchInfo.searchType==="shop"?"shop":"",onClick:e[0]||(e[0]=o=>s.searchTypeChange("shop"))},"商品",8,bj),u("div",{class:"item-type",type:i.searchInfo.searchType==="pm"?"pm":"",onClick:e[1]||(e[1]=o=>s.searchTypeChange("pm"))},"拍卖区",8,_j),wj],2),u("div",{class:"search-input-box",onClick:e[18]||(e[18]=(...o)=>s.stopPropagationHide&&s.stopPropagationHide(...o))},[r.useStatusSelect?(g(),v("div",{key:0,class:T(["search-status-box",i.statusHoverClassName]),onMouseenter:e[3]||(e[3]=(...o)=>s.mouseenterFun&&s.mouseenterFun(...o)),onMouseleave:e[4]||(e[4]=(...o)=>s.mouseleaveFun&&s.mouseleaveFun(...o)),onClick:e[5]||(e[5]=(...o)=>s.searchStatusChangeClick&&s.searchStatusChangeClick(...o))},[u("div",Cj,[u("span",Aj,C(i.searchInfo[i.searchInfo.searchType][i.searchInfo.status]),1),Sj,Tj]),u("div",{class:"status-other",onClick:e[2]||(e[2]=ue((...o)=>s.searchStatusChange&&s.searchStatusChange(...o),["stop"]))},[u("div",Ej,C(i.searchInfo[i.searchInfo.searchType][i.searchInfo.status==1?0:1]),1)])],34)):b("",!0),le(u("input",{ref:"searchInput",type:"text",name:"searchWord","onUpdate:modelValue":e[6]||(e[6]=o=>i.searchWord=o),autocomplete:"off",maxlength:"200",style:ve({paddingRight:r.useStatusSelect?"84px":"10px"}),onClick:e[7]||(e[7]=(...o)=>s.inputClick&&s.inputClick(...o)),onBlur:e[8]||(e[8]=(...o)=>s.inputBlur&&s.inputBlur(...o)),onKeydown:e[9]||(e[9]=(...o)=>s.inputKeydown&&s.inputKeydown(...o)),onInput:e[10]||(e[10]=(...o)=>s.inputFun&&s.inputFun(...o)),onKeyup:e[11]||(e[11]=(...o)=>s.inputKeyup&&s.inputKeyup(...o))},null,36),[[k8,i.searchWord,void 0,{trim:!0}]]),le(u("label",{class:"search-label"},C(i.searchPlaceholder[i.searchInfo.searchType]),513),[[fe,i.placeholderShow]]),le(u("div",Ij,[le(u("div",kj,[xj,le(u("div",Lj,[u("span",{class:"delete_btn",onClick:e[12]||(e[12]=o=>s.handleChangeMode("edit"))},Dj),Bj,u("span",{class:"subscribe_btn",onClick:e[13]||(e[13]=o=>s.handleChangeMode("subscribe"))},Fj)],512),[[fe,i.mode==="none"]]),le(u("div",Uj,[u("span",{class:"delete_all_btn",onClick:e[14]||(e[14]=(...o)=>s.clearSearchHistory&&s.clearSearchHistory(...o))},"全部删除"),u("span",{class:"finish_btn",onClick:e[15]||(e[15]=o=>s.handleChangeMode("none"))},"完成")],512),[[fe,i.mode==="edit"]]),le(u("div",zj,[u("span",{class:"subscribe_finish_btn",onClick:e[16]||(e[16]=o=>s.handleChangeMode("none"))},"完成")],512),[[fe,i.mode==="subscribe"]])],512),[[fe,!i.suggestList.length]]),u("ul",{class:T(["search-history-list",{editor:i.mode==="edit",subscribe:i.mode==="subscribe","mb-6":i.suggestList.length>0,"mb-20":i.suggestList.length===0}])},[i.suggestList.length&&i.historyList.length>0?(g(),v("li",Vj,"搜索历史")):b("",!0),(g(!0),v(P,null,oe(i.historyList,(o,a)=>(g(),v("li",{class:T(["search-history-item",{"is-subscribed":o.isSubscribed}]),key:o.word+a,onClick:l=>s.searchHistoryClick(o,a)},[i.SearchWordUIConfigMap[o.wordType]&&i.SearchWordUIConfigMap[o.wordType].icon?(g(),v("i",{key:0,class:T(i.SearchWordUIConfigMap[o.wordType].icon)},null,2)):b("",!0),u("span",Hj,C(o.word),1),le(u("i",qj,Wj,512),[[fe,i.mode==="edit"]]),le(u("i",Gj,Jj,512),[[fe,i.mode==="subscribe"]])],10,jj))),128))],2),i.suggestList.length>0?(g(),v("ul",Xj,[(g(!0),v(P,null,oe(i.suggestList,(o,a)=>(g(),v("li",{class:T(["search-sug-item k_flex k_justify_start k_align_items_center",i.currentSugIndex-1==a?"sug_hover":""]),key:o.word+a,onClick:l=>s.searchSubClick(o,a)},[i.SearchWordUIConfigMap[o.wordType]?(g(),v(P,{key:0},[u("i",{class:T(["search-sug-item__icon",i.SearchWordUIConfigMap[o.wordType].icon])},null,2),i.SearchWordUIConfigMap[o.wordType].prefix?(g(),v("span",{key:0,class:"search-sug-item__prefix",textContent:C(i.SearchWordUIConfigMap[o.wordType].prefix)},null,8,tH)):b("",!0),o.segmentTypes&&o.segmentTypes.length>0?(g(),v("span",rH,C(o.segmentTypes[0].word),1)):i.sugKey&&o.word.indexOf(i.sugKey)===0&&o.wordType==="normal"?(g(),v("span",nH,[u("span",iH,C(i.sugKey),1),u("span",null,C(o.word.replace(i.sugKey,"")),1)])):(g(),v("span",sH,C(o.word),1)),i.SearchWordUIConfigMap[o.wordType].suffix?(g(),v("span",{key:4,class:"search-sug-item__suffix",textContent:C(i.SearchWordUIConfigMap[o.wordType].suffix)},null,8,oH)):b("",!0),i.SearchWordUIConfigMap[o.wordType].useLinkIcon?(g(),v("i",aH)):b("",!0),o.segmentTypes&&o.segmentTypes.length?(g(!0),v(P,{key:6},oe(o.segmentTypes.slice(1),l=>(g(),v("a",{key:l.intentType+"_"+l.word,href:l.jumpLink||"javascript:;",class:"search-word-tag"},[i.SearchWordTagUIConfigMap[l.intentType]&&i.SearchWordTagUIConfigMap[l.intentType].icon?(g(),v("i",{key:0,class:T(["search-word-tag__icon",i.SearchWordTagUIConfigMap[l.intentType].icon])},null,2)):b("",!0),u("span",cH,C(l.word),1)],8,lH))),128)):b("",!0),o.liveUrl?(g(),v("a",{key:7,href:o.liveUrl,class:"search-word-tag is-live-tag",target:"_blank",onClick:e[17]||(e[17]=ue(()=>{},["stop"]))},dH,8,uH)):b("",!0)],64)):(g(),v(P,{key:1},[pH,u("span",gH,C(i.sugKey),1),u("span",null,C(o.word.replace(i.sugKey,"")),1)],64))],10,eH))),128))])):b("",!0),i.isLogin&&i.hasSubscription?le((g(),v("div",vH,[u("h3",yH,[mH,u("a",{href:i.subscriptionLink+"?refpage=search",target:"_blank",class:"subscription-link f_right"},[i.subscriptionCountHasNewArrivals>0?(g(),v("span",_H,C(i.subscriptionCountHasNewArrivals)+"个订阅有上新",1)):(g(),v("span",wH,"暂无订阅上新")),CH],8,bH)]),i.subscriptionList.length>0?(g(),v("ul",AH,[(g(!0),v(P,null,oe(i.subscriptionList,o=>(g(),v("li",{key:o.settingId,class:"subscription-item f_left",onClick:a=>s.onSubscriptionClick(o)},[TH,u("span",EH,C(o.keyword),1),u("span",IH,C(o.newItemNumText),1)],8,SH))),128))])):b("",!0)],512)),[[fe,i.mode==="none"]]):b("",!0)],512),[[fe,i.historyBoxShow]])]),u("div",{id:"searchBtn",class:T(["btn",{"is-loading":r.isSearching}]),onClick:e[19]||(e[19]=o=>s.searchSubmit(!0))},"搜索",2)],32),u("div",kH,[u("a",{class:"adv-search-btn",href:"javascript:;",rel:"nofollow",onClick:e[21]||(e[21]=(...o)=>s.advSearch&&s.advSearch(...o))},"高级搜索")])]),xH],2)],2)],2),i.fixedTopStatus?(g(),v("div",LH)):b("",!0)],2)}const NH=ye(tj,[["render",OH]]),mie=ze(NH),RH={name:"KQuickMenu",props:{quickType:{type:Number,default:3},site:{type:Object}},data(){return{unreadNum:0,cartNum:0,bidNum:0,showTopStatus:!1,feedbackUrl:this.site.s_help+"feedback/?returnUrl="+encodeURIComponent(location.href)}},computed:{collectUrl(){return this.quickType===1?"".concat(this.site.s_user,"user-views/pc-favorite/products"):"".concat(this.site.s_pm,"pm-buyer/bid-manage-pc/favorite")}},created(){this.$eventBus.on("msgNotice",t=>{this.unreadNum=t.unreadNum}),this.$eventBus.on("cartNumNotice",t=>{this.cartNum=t.cartNum})},mounted(){this.getBidNum(),document.addEventListener("scroll",()=>{this.showTop()})},methods:{async getBidNum(){const t=await Z.get("/common-web/v1/api/bidding/itemNum");t.status&&+t.data&&(t.data>99?this.bidNum="99+":this.bidNum=t.data)},showTop:FV(function(){(document.documentElement.scrollTop||window.pageYOffset||document.body.scrollTop)>window.innerHeight?this.showTopStatus=!0:this.showTopStatus=!1},10),goTop(){window.scrollTo(0,0)}}},DH={class:"quick-menu-wrap"},BH={key:0},$H=["href"],PH=u("div",{class:"quick-name"},[u("i",{class:"global-iconfont global-icon-quick-cart"})],-1),MH=u("div",{class:"fixedtool_line"},null,-1),FH=u("div",{class:"quick-hover"},[u("div",{class:"quick-name"},"购物车"),u("div",{class:"quick-mark"})],-1),UH={key:1},zH=["href"],VH=it('<div class="quick-name">新手指南</div><div class="fixedtool_line"></div><div class="quick-hover"><div class="quick-name">新手指南</div><div class="quick-mark"></div></div>',3),jH=[VH],HH={key:2,class:"first quick-bid"},qH=["href"],KH=u("div",{class:"quick-name"},[u("i",{class:"global-iconfont global-icon-bid"})],-1),QH={key:0,class:"quick-num"},WH=u("div",{class:"fixedtool_line"},null,-1),GH=u("div",{class:"quick-hover"},[u("div",{class:"quick-name"},"我的竞拍"),u("div",{class:"quick-mark"})],-1),ZH=["href"],YH=u("div",{class:"quick-name"},[u("i",{class:"global-iconfont global-icon-message"})],-1),JH={key:0,class:"quick-num"},XH=u("div",{class:"fixedtool_line"},null,-1),eq=u("div",{class:"quick-hover"},[u("div",{class:"quick-name"},"我的消息"),u("div",{class:"quick-mark"})],-1),tq={key:3},rq=["href"],nq=it('<div class="quick-name"><i class="global-iconfont global-icon-quick-collect"></i></div><div class="fixedtool_line"></div><div class="quick-hover"><div class="quick-name">我的收藏</div><div class="quick-mark"></div></div>',3),iq=[nq],sq={class:"feed-back"},oq=["href"],aq=it('<div class="quick-name"><i class="global-iconfont global-icon-feedback"></i></div><div class="fixedtool_line"></div><div class="quick-hover"><div class="quick-name">意见反馈</div><div class="quick-mark"></div></div>',3),lq=[aq],cq=it('<div class="quick-name"><i class="global-iconfont global-icon-top"></i></div><div class="quick-hover"><div class="quick-name">返回顶部</div><div class="quick-mark"></div></div>',2),uq=[cq];function hq(t,e,r,n,i,s){return g(),v("div",DH,[u("ul",null,[r.quickType===1?(g(),v("li",BH,[u("a",{target:"_blank",href:r.site.s_cart+"store-cart/cart/"},[PH,le(u("div",{class:"quick-num",id:"cart-count"},C(i.cartNum>99?"99+":i.cartNum),513),[[fe,i.cartNum>0]]),MH,FH],8,$H)])):b("",!0),r.quickType===2?(g(),v("li",UH,[u("a",{target:"_blank",href:r.site.s_help+"?act=list&catId=2020000"},jH,8,zH)])):b("",!0),r.quickType===2?(g(),v("li",HH,[u("a",{href:r.site.s_pm+"pm-buyer/bid-manage-pc/",target:"_blank"},[KH,i.bidNum>0?(g(),v("div",QH,C(i.bidNum>99?"99+":i.bidNum),1)):b("",!0),WH,GH],8,qH)])):b("",!0),u("li",null,[u("a",{target:"_blank",href:r.site.s_message+"message/index/index.html",class:"msg"},[YH,i.unreadNum>0?(g(),v("div",JH,C(i.unreadNum>99?"99+":i.unreadNum),1)):b("",!0),XH,eq],8,ZH)]),r.quickType===1||r.quickType===2?(g(),v("li",tq,[u("a",{target:"_blank",href:s.collectUrl},iq,8,rq)])):b("",!0),u("li",sq,[u("a",{href:i.feedbackUrl,target:"_blank"},lq,8,oq)]),i.showTopStatus?(g(),v("li",{key:4,class:"last backTop",onClick:e[0]||(e[0]=(...o)=>s.goTop&&s.goTop(...o))},uq)):b("",!0)])])}const fq=ye(RH,[["render",hq]]),dq=ze(fq),pq={name:"KBizFooter",props:{top:{type:String,default:"150px"},layout:{type:Number,default:1},type:{type:Number,default:1},site:{type:Object}},data(){return{year:new Date().getFullYear(),layoutClassName:""}},mounted(){this.layout==1&&(this.layoutClassName=""),this.layout==2&&(this.layoutClassName="w_1200"),this.layout==3&&(this.layoutClassName="w-auto")}},gq={class:"f_left mar-top20"},vq={class:"f_right link_box mar-top20"},yq=["href"],mq=["href"],bq=["href"],_q=["href"],wq=["href"],Cq=["href"],Aq=["href"],Sq=["href"],Tq=["href"],Eq=["href"],Iq=["href"],kq={class:"mar-top20"},xq={class:"mar-top12 link_box"},Lq=u("span",{class:"mar-r15"},"Copyright © 孔夫子拍卖网",-1),Oq={class:"mar-r15"},Nq=u("a",{target:"_blank",href:"https://beian.miit.gov.cn/#/Integrated/index"},"京ICP备2023030489号-1",-1),Rq=u("span",null," | ",-1),Dq=u("a",{href:"https://static.kongfz.com/pm-web/static/assets/images/icp-2024.jpg",target:"_blank"},"ICP",-1),Bq=u("a",{href:"https://beian.mps.gov.cn/#/query/webSearch?code=11010502055726",rel:"noreferrer",target:"_blank"},"京公网安备11010502055726",-1),$q={key:2,class:"mar-top20 link_box text-center"},Pq=u("span",{class:"mar-r15"},"Copyright © 孔夫子拍卖网",-1),Mq={class:"mar-r15"},Fq=u("a",{target:"_blank",href:"https://beian.miit.gov.cn/#/Integrated/index"},"京ICP备2023030489号-1",-1),Uq=u("span",null," | ",-1),zq=u("a",{href:"https://static.kongfz.com/pm-web/static/assets/images/icp-2024.jpg",target:"_blank"},"ICP",-1),Vq=u("a",{href:"https://beian.mps.gov.cn/#/query/webSearch?code=11010502055726",rel:"noreferrer",target:"_blank"},"京公网安备11010502055726",-1);function jq(t,e,r,n,i,s){return g(),v("div",{class:T(["footer",i.layoutClassName])},[u("div",{class:"foot_box clearfix",style:ve({marginTop:r.top})},[r.type===1||r.type===2?(g(),v(P,{key:0},[u("div",gq," © 2002-"+C(i.year)+" Kongfz.com 孔夫子旧书网 版权所有 ",1),u("div",vq,[u("a",{target:"_blank",href:r.site.s_www+"help/aboutus.php"},"关于孔网",8,yq),u("a",{target:"_blank",href:r.site.s_www+"help/lianxi.html"},"联系我们",8,mq),u("a",{target:"_blank",href:r.site.s_help},"帮助中心",8,bq),u("a",{target:"_blank",href:r.site.s_www+"help/copyright.php"},"版权隐私",8,_q),u("a",{target:"_blank",href:r.site.s_www+"help/guanggao.php"},"广告业务",8,wq),u("a",{target:"_blank",href:r.site.s_www+"help/zhaopin.php"},"工作机会",8,Cq),u("a",{target:"_blank",href:r.site.m},"移动版",8,Aq),r.type===2?(g(),v(P,{key:0},[u("a",{target:"_blank",href:r.site.s_book},"图书目录",8,Sq),u("a",{target:"_blank",href:r.site.s_bq},"图书标签",8,Tq),u("a",{target:"_blank",href:r.site.s_www+"topic/"},"热搜书籍",8,Eq),u("a",{target:"_blank",href:r.site.s_www+"writer/"},"作家大全",8,Iq)],64)):b("",!0)])],64)):b("",!0),r.type===3?(g(),v(P,{key:1},[u("div",kq,"© 2002-"+C(i.year)+" Kongfz.com 孔夫子旧书网 版权所有",1),u("div",xq,[Lq,u("span",Oq,"2002-"+C(i.year)+" , All Rights Reserved",1),Nq,Rq,Dq,Bq])],64)):b("",!0),r.type===4?(g(),v("div",$q,[Pq,u("span",Mq,"2002-"+C(i.year)+" , All Rights Reserved",1),Fq,Uq,zq,Vq])):b("",!0)],4)],2)}const Hq=ye(pq,[["render",jq]]),qq=ze(Hq);class Kq{constructor(e=!0){this.storage=e?localStorage:sessionStorage}setItem(e,r){typeof r=="object"&&(r=JSON.stringify(r)),this.storage.setItem(e,r)}getItem(e){try{return JSON.parse(this.storage.getItem(e))}catch(r){return this.storage.getItem(e)}}removeItem(e){this.storage.removeItem(e)}clear(){this.storage.clear()}key(e){return this.storage.key(e)}length(){return this.storage.length}}const jn=new Kq,Qq="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-100%3c/title%3e%3cg%20id='icon-100'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M9,1.5%20C4.85786263,1.5%201.5,4.85786263%201.5,9%20C1.5,13.1421374%204.85786263,16.5%209,16.5%20C13.1421374,16.5%2016.5,13.1421374%2016.5,9%20C16.5,4.85786263%2013.1421374,1.5%209,1.5%20Z%20M9,2.5%20C12.5898526,2.5%2015.5,5.41014737%2015.5,9%20C15.5,12.5898526%2012.5898526,15.5%209,15.5%20C5.41014737,15.5%202.5,12.5898526%202.5,9%20C2.5,5.41014737%205.41014737,2.5%209,2.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9,4.65%20C7.75736763,4.65%206.75,5.65736763%206.75,6.9%20C6.75,8.14263237%207.75736763,9.15%209,9.15%20C10.2426324,9.15%2011.25,8.14263237%2011.25,6.9%20C11.25,5.65736763%2010.2426324,4.65%209,4.65%20Z%20M9,5.65%20C9.69034763,5.65%2010.25,6.20965237%2010.25,6.9%20C10.25,7.59034763%209.69034763,8.15%209,8.15%20C8.30965237,8.15%207.75,7.59034763%207.75,6.9%20C7.75,6.20965237%208.30965237,5.65%209,5.65%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M10.4,10.25%20C12.5066671,10.25%2014.2484513,11.8837824%2014.3906924,13.9750246%20C14.4094316,14.2505304%2014.2012812,14.4890632%2013.9257754,14.5078024%20C13.6502696,14.5265416%2013.4117368,14.3183912%2013.3929976,14.0428854%20C13.2863892,12.4755185%2011.9798573,11.25%2010.4,11.25%20L7.6,11.25%20C6.01784073,11.25%204.71016781,12.4789873%204.60661613,14.0491043%20C4.58844359,14.3246481%204.35033947,14.5332887%204.0747957,14.5151161%20C3.79925193,14.4969436%203.59061132,14.2588395%203.60878387,13.9832957%20C3.74694435,11.8884178%205.49026147,10.25%207.6,10.25%20L10.4,10.25%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",Wq="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-100-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='0%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%23FFFFFF'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%23EB2F3C'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-100-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M1.90325188,11.4152041%20C2.12348215,8.07593139%205.07947732,5.25126904%208.47449645,5.25126904%20L9.27437729,5.25126904%20C12.6649111,5.25126904%2016.3256126,8.06894707%2016.5523146,11.4019403%20C13.4380402,14.633286%2010.8893552,16.249729%208.90625944,16.251269%20C6.90883523,16.2526765%204.57449938,14.6406548%201.90325188,11.4152041%20Z'%20id='path'%20fill='url(%23linearGradient-1)'%3e%3c/path%3e%3cpath%20d='M9,1.5%20C4.85786263,1.5%201.5,4.85786263%201.5,9%20C1.5,13.1421374%204.85786263,16.5%209,16.5%20C13.1421374,16.5%2016.5,13.1421374%2016.5,9%20C16.5,4.85786263%2013.1421374,1.5%209,1.5%20Z%20M9,2.5%20C12.5898526,2.5%2015.5,5.41014737%2015.5,9%20C15.5,12.5898526%2012.5898526,15.5%209,15.5%20C5.41014737,15.5%202.5,12.5898526%202.5,9%20C2.5,5.41014737%205.41014737,2.5%209,2.5%20Z'%20id='path'%20fill='%23B8333C'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9,4.65%20C7.75736763,4.65%206.75,5.65736763%206.75,6.9%20C6.75,8.14263237%207.75736763,9.15%209,9.15%20C10.2426324,9.15%2011.25,8.14263237%2011.25,6.9%20C11.25,5.65736763%2010.2426324,4.65%209,4.65%20Z%20M9,5.65%20C9.69034763,5.65%2010.25,6.20965237%2010.25,6.9%20C10.25,7.59034763%209.69034763,8.15%209,8.15%20C8.30965237,8.15%207.75,7.59034763%207.75,6.9%20C7.75,6.20965237%208.30965237,5.65%209,5.65%20Z'%20id='path'%20fill='%23B8333C'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M10.4,10.25%20C12.5066671,10.25%2014.2484513,11.8837824%2014.3906924,13.9750246%20C14.4094316,14.2505304%2014.2012812,14.4890632%2013.9257754,14.5078024%20C13.6502696,14.5265416%2013.4117368,14.3183912%2013.3929976,14.0428854%20C13.2863892,12.4755185%2011.9798573,11.25%2010.4,11.25%20L7.6,11.25%20C6.01784073,11.25%204.71016781,12.4789873%204.60661613,14.0491043%20C4.58844359,14.3246481%204.35033947,14.5332887%204.0747957,14.5151161%20C3.79925193,14.4969436%203.59061132,14.2588395%203.60878387,13.9832957%20C3.74694435,11.8884178%205.49026147,10.25%207.6,10.25%20L10.4,10.25%20Z'%20id='path'%20fill='%23B8333C'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",Gq="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-101%3c/title%3e%3cg%20id='icon-101'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M9.44324408,1.52005847%20L9.3502452,1.50222066%20L9.2559703,1.50222066%20C9.22461572,1.50518559%209.19347304,1.5111195%209.16296684,1.52002244%20L2.85992308,3.3595063%20C2.64662821,3.42175439%202.5,3.61729131%202.5,3.83948385%20L2.5,7.61007505%20C2.5,11.7226936%205.10473778,15.1295%209.14292916,16.4746247%20C9.24551627,16.5087966%209.35641664,16.5087916%209.4590007,16.4746106%20C13.4961565,15.1294304%2016.1000675,11.7234466%2016.1000675,7.61182506%20L16.1000675,3.83948385%20C16.1000675,3.61733892%2015.953501,3.4218319%2015.7402678,3.35954232%20L9.44324408,1.52005847%20Z%20M9.302,2.52%20L15.1000675,4.214%20L15.1000675,7.61182506%20L15.0955121,7.89280718%20C14.9833523,11.3422611%2012.8077436,14.1909041%209.42019215,15.4290484%20L9.3,15.47%20L9.18157726,15.4290351%20C5.70151624,14.1574166%203.5,11.1862965%203.5,7.61007505%20L3.5,4.214%20L9.302,2.52%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M12.2188527,6.31311883%20C12.4141148,6.11785669%2012.7306973,6.11785669%2012.9259594,6.31311883%20C13.1212216,6.50838098%2013.1212216,6.82496347%2012.9259594,7.02022561%20L9.23812684,10.7080582%20C9.0428647,10.9033203%208.72628221,10.9033203%208.53102006,10.7080582%20L6.37978439,8.55682252%20C6.18452224,8.36156038%206.18452224,8.04497789%206.37978439,7.84971574%20C6.57504653,7.6544536%206.89162902,7.6544536%207.08689117,7.84971574%20L8.88433778,9.64767222%20L12.2188527,6.31311883%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",Zq="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-101-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='0%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%23FFFFFF'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%23EB2F3C'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-101-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M3.3267563,5.80501534%20L9.39632872,4.33345278%20L15.4601041,5.80501534%20L15.4601041,8.82283801%20C15.4601041,11.9947821%2013.0166501,14.5307695%209.39430649,15.5334661%20C5.77098551,14.5307975%203.3267563,11.9941661%203.3267563,8.82143802%20L3.3267563,5.80501534%20Z'%20id='path'%20fill='url(%23linearGradient-1)'%3e%3c/path%3e%3cpath%20d='M9.44324408,1.52005847%20L9.3502452,1.50222066%20L9.2559703,1.50222066%20C9.22461572,1.50518559%209.19347304,1.5111195%209.16296684,1.52002244%20L2.85992308,3.3595063%20C2.64662821,3.42175439%202.5,3.61729131%202.5,3.83948385%20L2.5,7.61007505%20C2.5,11.7226936%205.10473778,15.1295%209.14292916,16.4746247%20C9.24551627,16.5087966%209.35641664,16.5087916%209.4590007,16.4746106%20C13.4961565,15.1294304%2016.1000675,11.7234466%2016.1000675,7.61182506%20L16.1000675,3.83948385%20C16.1000675,3.61733892%2015.953501,3.4218319%2015.7402678,3.35954232%20L9.44324408,1.52005847%20Z%20M9.302,2.52%20L15.1000675,4.214%20L15.1000675,7.61182506%20L15.0955121,7.89280718%20C14.9833523,11.3422611%2012.8077436,14.1909041%209.42019215,15.4290484%20L9.3,15.47%20L9.18157726,15.4290351%20C5.70151624,14.1574166%203.5,11.1862965%203.5,7.61007505%20L3.5,4.214%20L9.302,2.52%20Z'%20id='path'%20fill='%23B8333C'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M12.2188527,6.31311883%20C12.4141148,6.11785669%2012.7306973,6.11785669%2012.9259594,6.31311883%20C13.1212216,6.50838098%2013.1212216,6.82496347%2012.9259594,7.02022561%20L9.23812684,10.7080582%20C9.0428647,10.9033203%208.72628221,10.9033203%208.53102006,10.7080582%20L6.37978439,8.55682252%20C6.18452224,8.36156038%206.18452224,8.04497789%206.37978439,7.84971574%20C6.57504653,7.6544536%206.89162902,7.6544536%207.08689117,7.84971574%20L8.88433778,9.64767222%20L12.2188527,6.31311883%20Z'%20id='path'%20fill='%23B8333C'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",Yq="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-102%3c/title%3e%3cg%20id='icon-102'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M15.1176471,4.32352941%20L3,4.32352941%20C2.17157288,4.32352941%201.5,4.99510229%201.5,5.82352941%20L1.5,14%20C1.5,14.8284271%202.17157288,15.5%203,15.5%20L15.1176471,15.5%20C15.9460742,15.5%2016.6176471,14.8284271%2016.6176471,14%20L16.6176471,5.82352941%20C16.6176471,4.99510229%2015.9460742,4.32352941%2015.1176471,4.32352941%20Z%20M15.1176471,5.32352941%20C15.3937894,5.32352941%2015.6176471,5.54738704%2015.6176471,5.82352941%20L15.6176471,14%20C15.6176471,14.2761424%2015.3937894,14.5%2015.1176471,14.5%20L3,14.5%20C2.72385763,14.5%202.5,14.2761424%202.5,14%20L2.5,5.82352941%20C2.5,5.54738704%202.72385763,5.32352941%203,5.32352941%20L15.1176471,5.32352941%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M8.70527014,1.64644661%20L5.88174073,4.46997602%20C5.5667583,4.78495845%205.78984169,5.32352941%206.23529412,5.32352941%20L11.8823529,5.32352941%20C12.3278054,5.32352941%2012.5508888,4.78495845%2012.2359063,4.46997602%20L9.41237692,1.64644661%20C9.21711477,1.45118446%208.90053228,1.45118446%208.70527014,1.64644661%20Z%20M9.05829412,2.707%20L10.6742941,4.323%20L7.44229412,4.323%20L9.05829412,2.707%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M11.1764706,7.5%20C11.452613,7.5%2011.6764706,7.72385763%2011.6764706,8%20C11.6764706,8.27614237%2011.452613,8.5%2011.1764706,8.5%20L4.82352941,8.5%20C4.54738704,8.5%204.32352941,8.27614237%204.32352941,8%20C4.32352941,7.72385763%204.54738704,7.5%204.82352941,7.5%20L11.1764706,7.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M7.64705882,10.3235294%20C7.9232012,10.3235294%208.14705882,10.547387%208.14705882,10.8235294%20C8.14705882,11.0996718%207.9232012,11.3235294%207.64705882,11.3235294%20L4.82352941,11.3235294%20C4.54738704,11.3235294%204.32352941,11.0996718%204.32352941,10.8235294%20C4.32352941,10.547387%204.54738704,10.3235294%204.82352941,10.3235294%20L7.64705882,10.3235294%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",Jq="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-102-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='0%25'%20x2='50%25'%20y2='99.2182378%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%23FFFFFF'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%23EB2F3C'%20stop-opacity='0.6'%20offset='100%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-102-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3crect%20id='path'%20fill='url(%23linearGradient-1)'%20x='2'%20y='6'%20width='14.1176471'%20height='9'%20rx='1'%3e%3c/rect%3e%3cpath%20d='M15.1176471,4.32352941%20L3,4.32352941%20C2.17157288,4.32352941%201.5,4.99510229%201.5,5.82352941%20L1.5,14%20C1.5,14.8284271%202.17157288,15.5%203,15.5%20L15.1176471,15.5%20C15.9460742,15.5%2016.6176471,14.8284271%2016.6176471,14%20L16.6176471,5.82352941%20C16.6176471,4.99510229%2015.9460742,4.32352941%2015.1176471,4.32352941%20Z%20M15.1176471,5.32352941%20C15.3937894,5.32352941%2015.6176471,5.54738704%2015.6176471,5.82352941%20L15.6176471,14%20C15.6176471,14.2761424%2015.3937894,14.5%2015.1176471,14.5%20L3,14.5%20C2.72385763,14.5%202.5,14.2761424%202.5,14%20L2.5,5.82352941%20C2.5,5.54738704%202.72385763,5.32352941%203,5.32352941%20L15.1176471,5.32352941%20Z'%20id='path'%20fill='%23B8333C'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M8.70527014,1.64644661%20L5.88174073,4.46997602%20C5.5667583,4.78495845%205.78984169,5.32352941%206.23529412,5.32352941%20L11.8823529,5.32352941%20C12.3278054,5.32352941%2012.5508888,4.78495845%2012.2359063,4.46997602%20L9.41237692,1.64644661%20C9.21711477,1.45118446%208.90053228,1.45118446%208.70527014,1.64644661%20Z%20M9.05829412,2.707%20L10.6742941,4.323%20L7.44229412,4.323%20L9.05829412,2.707%20Z'%20id='path'%20fill='%23B8333C'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M11.1764706,7.5%20C11.452613,7.5%2011.6764706,7.72385763%2011.6764706,8%20C11.6764706,8.27614237%2011.452613,8.5%2011.1764706,8.5%20L4.82352941,8.5%20C4.54738704,8.5%204.32352941,8.27614237%204.32352941,8%20C4.32352941,7.72385763%204.54738704,7.5%204.82352941,7.5%20L11.1764706,7.5%20Z'%20id='path'%20fill='%23B8333C'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M7.64705882,10.3235294%20C7.9232012,10.3235294%208.14705882,10.547387%208.14705882,10.8235294%20C8.14705882,11.0996718%207.9232012,11.3235294%207.64705882,11.3235294%20L4.82352941,11.3235294%20C4.54738704,11.3235294%204.32352941,11.0996718%204.32352941,10.8235294%20C4.32352941,10.547387%204.54738704,10.3235294%204.82352941,10.3235294%20L7.64705882,10.3235294%20Z'%20id='path'%20fill='%23B8333C'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",Xq="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-103%3c/title%3e%3cg%20id='icon-103'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M14.8333333,1.5%20L3.16666667,1.5%20C2.24619007,1.5%201.5,2.24619351%201.5,3.16667056%20L1.5,14.8333333%20C1.5,15.7538191%202.24620662,16.5%203.16668611,16.5%20L14.8333333,16.5%20C15.7538257,16.5%2016.5,15.7538257%2016.5,14.8333333%20L16.5,3.16667833%20C16.5,2.24619649%2015.7538207,1.5%2014.8333333,1.5%20Z%20M14.8333333,2.5%20C15.2015308,2.5%2015.5,2.79847609%2015.5,3.16667833%20L15.5,14.8333333%20C15.5,15.201541%2015.201541,15.5%2014.8333333,15.5%20L3.16668611,15.5%20C2.79848364,15.5%202.5,15.2015267%202.5,14.8333333%20L2.5,3.16667056%20C2.5,2.79847723%202.79847585,2.5%203.16666667,2.5%20L14.8333333,2.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M8.55075516,6.56954243%20L7.53982222,8.63051667%20L5.24407426,8.96410232%20L5.16008744,8.98339279%20C4.81312457,9.09435454%204.69130333,9.54761691%204.96628711,9.81645428%20L6.62982222,11.4425167%20L6.23337156,13.7029267%20L6.22549308,13.783596%20C6.21853077,14.1528761%206.61781607,14.4137038%206.96103088,14.2307357%20L8.99982222,13.1435167%20L11.0390067,14.2307558%20L11.1131913,14.2632666%20C11.461822,14.3844678%2011.8335615,14.086407%2011.766737,13.7035464%20L11.3718222,11.4435167%20L13.0340632,9.81614951%20L13.090453,9.75108716%20C13.3050079,9.45707725%2013.1365441,9.01959279%2012.7563567,8.96415933%20L10.4708222,8.63051667%20L9.44764058,6.56723541%20C9.26333549,6.19587956%208.73314738,6.19724334%208.55075516,6.56954243%20Z%20M9.00182222,7.91851667%20L9.69265942,9.3103257%20L9.74415971,9.39283165%20C9.82265126,9.49491201%209.93849842,9.56387349%2010.0683933,9.58281289%20L11.6128222,9.80751667%20L10.484659,10.9132283%20L10.4219229,10.9879911%20C10.3489301,11.0946075%2010.3193012,11.2266467%2010.3419519,11.3564203%20L10.6048222,12.8655167%20L9.2349433,12.1360331%20L9.14368319,12.0984236%20C9.01855732,12.0608156%208.88215494,12.0733592%208.76455245,12.1360531%20L7.39582222,12.8645167%20L7.66120622,11.3570399%20L7.66864891,11.2595081%20C7.66581683,11.1300458%207.61270953,11.0052265%207.51829623,10.9129235%20L6.38882222,9.80851667%20L7.94544796,9.5828699%20C8.10887422,9.55917366%208.2500605,9.45631394%208.32271151,9.30801868%20L9.00182222,7.91851667%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M11.2105611,4.07895556%20C11.4867035,4.07895556%2011.7105611,4.30281318%2011.7105611,4.57895556%20C11.7105611,4.85509793%2011.4867035,5.07895556%2011.2105611,5.07895556%20L6.78951667,5.07895556%20C6.51337429,5.07895556%206.28951667,4.85509793%206.28951667,4.57895556%20C6.28951667,4.30281318%206.51337429,4.07895556%206.78951667,4.07895556%20L11.2105611,4.07895556%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",eK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-103-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='0%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%23FFFFFF'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%23EB2F3C'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-103-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M16,15.1666667%20L16,6.83334167%20C16,6.37310278%2015.4776833,6%2014.8333333,6%20L3.16666667,6%20C2.52233222,6%202,6.37309722%202,6.83333611%20L2,15.1666667%20C2,15.6269167%202.52235556,16%203.16668611,16%20L14.8333333,16%20C15.4776833,16%2016,15.6269167%2016,15.1666667%20Z'%20id='path'%20fill='url(%23linearGradient-1)'%3e%3c/path%3e%3cpath%20d='M14.8333333,1.5%20L3.16666667,1.5%20C2.24619007,1.5%201.5,2.24619351%201.5,3.16667056%20L1.5,14.8333333%20C1.5,15.7538191%202.24620662,16.5%203.16668611,16.5%20L14.8333333,16.5%20C15.7538257,16.5%2016.5,15.7538257%2016.5,14.8333333%20L16.5,3.16667833%20C16.5,2.24619649%2015.7538207,1.5%2014.8333333,1.5%20Z%20M14.8333333,2.5%20C15.2015308,2.5%2015.5,2.79847609%2015.5,3.16667833%20L15.5,14.8333333%20C15.5,15.201541%2015.201541,15.5%2014.8333333,15.5%20L3.16668611,15.5%20C2.79848364,15.5%202.5,15.2015267%202.5,14.8333333%20L2.5,3.16667056%20C2.5,2.79847723%202.79847585,2.5%203.16666667,2.5%20L14.8333333,2.5%20Z'%20id='path'%20fill='%23B8333C'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M8.55075516,6.56954243%20L7.53982222,8.63051667%20L5.24407426,8.96410232%20L5.16008744,8.98339279%20C4.81312457,9.09435454%204.69130333,9.54761691%204.96628711,9.81645428%20L6.62982222,11.4425167%20L6.23337156,13.7029267%20L6.22549308,13.783596%20C6.21853077,14.1528761%206.61781607,14.4137038%206.96103088,14.2307357%20L8.99982222,13.1435167%20L11.0390067,14.2307558%20L11.1131913,14.2632666%20C11.461822,14.3844678%2011.8335615,14.086407%2011.766737,13.7035464%20L11.3718222,11.4435167%20L13.0340632,9.81614951%20L13.090453,9.75108716%20C13.3050079,9.45707725%2013.1365441,9.01959279%2012.7563567,8.96415933%20L10.4708222,8.63051667%20L9.44764058,6.56723541%20C9.26333549,6.19587956%208.73314738,6.19724334%208.55075516,6.56954243%20Z%20M9.00182222,7.91851667%20L9.69265942,9.3103257%20L9.74415971,9.39283165%20C9.82265126,9.49491201%209.93849842,9.56387349%2010.0683933,9.58281289%20L11.6128222,9.80751667%20L10.484659,10.9132283%20L10.4219229,10.9879911%20C10.3489301,11.0946075%2010.3193012,11.2266467%2010.3419519,11.3564203%20L10.6048222,12.8655167%20L9.2349433,12.1360331%20L9.14368319,12.0984236%20C9.01855732,12.0608156%208.88215494,12.0733592%208.76455245,12.1360531%20L7.39582222,12.8645167%20L7.66120622,11.3570399%20L7.66864891,11.2595081%20C7.66581683,11.1300458%207.61270953,11.0052265%207.51829623,10.9129235%20L6.38882222,9.80851667%20L7.94544796,9.5828699%20C8.10887422,9.55917366%208.2500605,9.45631394%208.32271151,9.30801868%20L9.00182222,7.91851667%20Z'%20id='path'%20fill='%23B8333C'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M11.2105611,4.07895556%20C11.4867035,4.07895556%2011.7105611,4.30281318%2011.7105611,4.57895556%20C11.7105611,4.85509793%2011.4867035,5.07895556%2011.2105611,5.07895556%20L6.78951667,5.07895556%20C6.51337429,5.07895556%206.28951667,4.85509793%206.28951667,4.57895556%20C6.28951667,4.30281318%206.51337429,4.07895556%206.78951667,4.07895556%20L11.2105611,4.07895556%20Z'%20id='path'%20fill='%23B8333C'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",tK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-200%3c/title%3e%3cg%20id='icon-200'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M3.10526316,5.52631579%20L3.10526316,13.6513158%20C3.10526316,14.6868783%203.60894441,15.5263158%204.23026316,15.5263158%20L13.9802632,15.5263158%20C14.6016007,15.5263158%2015.1052632,14.6868783%2015.1052632,13.6513158%20L15.1052632,5.52631579%20L3.10526316,5.52631579%20Z'%20id='path'%3e%3c/path%3e%3cpath%20d='M14.8947368,9.13157895%20C15.1708792,9.13157895%2015.3947368,9.35543657%2015.3947368,9.63157895%20L15.3947368,14.4210526%20C15.3947368,15.3076318%2014.6760529,16.0263158%2013.7894737,16.0263158%20L4.21052632,16.0263158%20C3.32396045,16.0263158%202.60526316,15.3076268%202.60526316,14.4210526%20L2.60526316,9.63157895%20C2.60526316,9.35543657%202.82912078,9.13157895%203.10526316,9.13157895%20C3.38140553,9.13157895%203.60526316,9.35543657%203.60526316,9.63157895%20L3.60526316,14.4210526%20C3.60526316,14.7553394%203.87624262,15.0263158%204.21052632,15.0263158%20L13.7894737,15.0263158%20C14.1237682,15.0263158%2014.3947368,14.7553471%2014.3947368,14.4210526%20L14.3947368,9.63157895%20C14.3947368,9.35543657%2014.6185945,9.13157895%2014.8947368,9.13157895%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M15.2631579,4.71052632%20L2.73684211,4.71052632%20C2.05375023,4.71052632%201.5,5.26427081%201.5,5.94736842%20L1.5,8.89473684%20C1.5,9.57783445%202.05375023,10.1315789%202.73684211,10.1315789%20L15.2631579,10.1315789%20C15.9462582,10.1315789%2016.5,9.57783711%2016.5,8.89473684%20L16.5,5.94736842%20C16.5,5.26426815%2015.9462582,4.71052632%2015.2631579,4.71052632%20Z%20M15.2631579,5.71052632%20C15.3939734,5.71052632%2015.5,5.8165529%2015.5,5.94736842%20L15.5,8.89473684%20C15.5,9.02555236%2015.3939734,9.13157895%2015.2631579,9.13157895%20L2.73684211,9.13157895%20C2.60603266,9.13157895%202.5,9.02554738%202.5,8.89473684%20L2.5,5.94736842%20C2.5,5.81655788%202.60603266,5.71052632%202.73684211,5.71052632%20L15.2631579,5.71052632%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M10.8421053,2.5%20C11.5252029,2.5%2012.0789474,3.05375023%2012.0789474,3.73684211%20L12.0789474,5.21052632%20C12.0789474,5.48666869%2011.8550897,5.71052632%2011.5789474,5.71052632%20C11.302805,5.71052632%2011.0789474,5.48666869%2011.0789474,5.21052632%20L11.0789474,3.73684211%20C11.0789474,3.60603266%2010.9729158,3.5%2010.8421053,3.5%20L7.15789474,3.5%20C7.02708419,3.5%206.92105263,3.60603266%206.92105263,3.73684211%20L6.92105263,5.21052632%20C6.92105263,5.48666869%206.69719501,5.71052632%206.42105263,5.71052632%20C6.14491026,5.71052632%205.92105263,5.48666869%205.92105263,5.21052632%20L5.92105263,3.73684211%20C5.92105263,3.05375023%206.47479712,2.5%207.15789474,2.5%20L10.8421053,2.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M5.68421053,8.39473684%20C5.9603529,8.39473684%206.18421053,8.61859447%206.18421053,8.89473684%20L6.18421053,11.1052632%20C6.18421053,11.3814055%205.9603529,11.6052632%205.68421053,11.6052632%20C5.40806815,11.6052632%205.18421053,11.3814055%205.18421053,11.1052632%20L5.18421053,8.89473684%20C5.18421053,8.61859447%205.40806815,8.39473684%205.68421053,8.39473684%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M12.3157895,8.39473684%20C12.5919318,8.39473684%2012.8157895,8.61859447%2012.8157895,8.89473684%20L12.8157895,11.1052632%20C12.8157895,11.3814055%2012.5919318,11.6052632%2012.3157895,11.6052632%20C12.0396471,11.6052632%2011.8157895,11.3814055%2011.8157895,11.1052632%20L11.8157895,8.89473684%20C11.8157895,8.61859447%2012.0396471,8.39473684%2012.3157895,8.39473684%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",rK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-200-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='25.9992173%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%234182D9'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-200-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M3.10526316,5.52631579%20L3.10526316,13.6513158%20C3.10526316,14.6868783%203.60894441,15.5263158%204.23026316,15.5263158%20L13.9802632,15.5263158%20C14.6016007,15.5263158%2015.1052632,14.6868783%2015.1052632,13.6513158%20L15.1052632,5.52631579%20L3.10526316,5.52631579%20Z'%20id='path'%20fill='url(%23linearGradient-1)'%3e%3c/path%3e%3cpath%20d='M14.8947368,9.13157895%20C15.1708792,9.13157895%2015.3947368,9.35543657%2015.3947368,9.63157895%20L15.3947368,14.4210526%20C15.3947368,15.3076318%2014.6760529,16.0263158%2013.7894737,16.0263158%20L4.21052632,16.0263158%20C3.32396045,16.0263158%202.60526316,15.3076268%202.60526316,14.4210526%20L2.60526316,9.63157895%20C2.60526316,9.35543657%202.82912078,9.13157895%203.10526316,9.13157895%20C3.38140553,9.13157895%203.60526316,9.35543657%203.60526316,9.63157895%20L3.60526316,14.4210526%20C3.60526316,14.7553394%203.87624262,15.0263158%204.21052632,15.0263158%20L13.7894737,15.0263158%20C14.1237682,15.0263158%2014.3947368,14.7553471%2014.3947368,14.4210526%20L14.3947368,9.63157895%20C14.3947368,9.35543657%2014.6185945,9.13157895%2014.8947368,9.13157895%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M15.2631579,4.71052632%20L2.73684211,4.71052632%20C2.05375023,4.71052632%201.5,5.26427081%201.5,5.94736842%20L1.5,8.89473684%20C1.5,9.57783445%202.05375023,10.1315789%202.73684211,10.1315789%20L15.2631579,10.1315789%20C15.9462582,10.1315789%2016.5,9.57783711%2016.5,8.89473684%20L16.5,5.94736842%20C16.5,5.26426815%2015.9462582,4.71052632%2015.2631579,4.71052632%20Z%20M15.2631579,5.71052632%20C15.3939734,5.71052632%2015.5,5.8165529%2015.5,5.94736842%20L15.5,8.89473684%20C15.5,9.02555236%2015.3939734,9.13157895%2015.2631579,9.13157895%20L2.73684211,9.13157895%20C2.60603266,9.13157895%202.5,9.02554738%202.5,8.89473684%20L2.5,5.94736842%20C2.5,5.81655788%202.60603266,5.71052632%202.73684211,5.71052632%20L15.2631579,5.71052632%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M10.8421053,2.5%20C11.5252029,2.5%2012.0789474,3.05375023%2012.0789474,3.73684211%20L12.0789474,5.21052632%20C12.0789474,5.48666869%2011.8550897,5.71052632%2011.5789474,5.71052632%20C11.302805,5.71052632%2011.0789474,5.48666869%2011.0789474,5.21052632%20L11.0789474,3.73684211%20C11.0789474,3.60603266%2010.9729158,3.5%2010.8421053,3.5%20L7.15789474,3.5%20C7.02708419,3.5%206.92105263,3.60603266%206.92105263,3.73684211%20L6.92105263,5.21052632%20C6.92105263,5.48666869%206.69719501,5.71052632%206.42105263,5.71052632%20C6.14491026,5.71052632%205.92105263,5.48666869%205.92105263,5.21052632%20L5.92105263,3.73684211%20C5.92105263,3.05375023%206.47479712,2.5%207.15789474,2.5%20L10.8421053,2.5%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M5.68421053,8.39473684%20C5.9603529,8.39473684%206.18421053,8.61859447%206.18421053,8.89473684%20L6.18421053,11.1052632%20C6.18421053,11.3814055%205.9603529,11.6052632%205.68421053,11.6052632%20C5.40806815,11.6052632%205.18421053,11.3814055%205.18421053,11.1052632%20L5.18421053,8.89473684%20C5.18421053,8.61859447%205.40806815,8.39473684%205.68421053,8.39473684%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M12.3157895,8.39473684%20C12.5919318,8.39473684%2012.8157895,8.61859447%2012.8157895,8.89473684%20L12.8157895,11.1052632%20C12.8157895,11.3814055%2012.5919318,11.6052632%2012.3157895,11.6052632%20C12.0396471,11.6052632%2011.8157895,11.3814055%2011.8157895,11.1052632%20L11.8157895,8.89473684%20C11.8157895,8.61859447%2012.0396471,8.39473684%2012.3157895,8.39473684%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",nK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-201%3c/title%3e%3cg%20id='icon-201'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20fill='%234EFFBE'%20opacity='0'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M6.59375,2.53125%20L4.1875,2.53125%20C3.53166169,2.53125%203,3.06291169%203,3.71875%20L3,15.0625%20C3,15.7183462%203.53165929,16.25%204.1875,16.25%20L13.8125,16.25%20C14.4683486,16.25%2015,15.7183486%2015,15.0625%20L15,3.71875%20C15,3.06290929%2014.4683462,2.53125%2013.8125,2.53125%20L11.40625,2.53125%20L11.3163744,2.53930567%20C11.0831252,2.58164163%2010.90625,2.78579011%2010.90625,3.03125%20L10.906,3.56225%20L7.093,3.56225%20L7.09375,3.03125%20C7.09375,2.75510763%206.86989237,2.53125%206.59375,2.53125%20Z%20M11.90625,4.0625%20L11.906,3.53125%20L13.8125,3.53125%20C13.9160592,3.53125%2014,3.61519172%2014,3.71875%20L14,15.0625%20C14,15.1660639%2013.9160639,15.25%2013.8125,15.25%20L4.1875,15.25%20C4.08394172,15.25%204,15.1660592%204,15.0625%20L4,3.71875%20L4.00955886,3.65948543%20C4.03436286,3.58497572%204.10465715,3.53125%204.1875,3.53125%20L6.093,3.53125%20L6.09375,4.0625%20C6.09375,4.33864237%206.31760763,4.5625%206.59375,4.5625%20L11.40625,4.5625%20C11.6823924,4.5625%2011.90625,4.33864237%2011.90625,4.0625%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M11.40625,1.5%20L6.59375,1.5%20C6.31760763,1.5%206.09375,1.72385763%206.09375,2%20L6.09375,4.0625%20C6.09375,4.33864237%206.31760763,4.5625%206.59375,4.5625%20L11.40625,4.5625%20C11.6823924,4.5625%2011.90625,4.33864237%2011.90625,4.0625%20L11.90625,2%20C11.90625,1.72385763%2011.6823924,1.5%2011.40625,1.5%20Z%20M10.90575,2.5%20L10.90575,3.562%20L7.09375,3.562%20L7.09375,2.5%20L10.90575,2.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M11.7020022,7.64644661%20C11.8972643,7.45118446%2012.2138468,7.45118446%2012.4091089,7.64644661%20C12.6043711,7.84170876%2012.6043711,8.15829124%2012.4091089,8.35355339%20L10.1868867,10.5757756%20C9.95376302,10.8088993%209.56278218,10.7565399%209.39921176,10.4702917%20L8.613,9.093%20L6.85355339,10.8535534%20C6.67998704,11.0271197%206.41056264,11.0464049%206.2156945,10.9114088%20L6.14644661,10.8535534%20C5.95118446,10.6582912%205.95118446,10.3417088%206.14644661,10.1464466%20L8.36866883,7.92422439%20C8.60179254,7.69110068%208.99277338,7.74346008%209.15634379,8.02970831%20L9.942,9.405%20L11.7020022,7.64644661%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",iK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-201-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='18.8427523%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%234182D9'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-201-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20fill='%234EFFBE'%20opacity='0'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M12.1109031,4%20L13.8125,4%20C14.1922062,4%2014.5,4.29040973%2014.5,4.64864865%20L14.5,15.3513514%20C14.5,15.7096%2014.1922062,16%2013.8125,16%20L4.1875,16%20C3.80780406,16%203.5,15.7096%203.5,15.3513514%20L3.5,4.64864865%20C3.5,4.29040973%203.80780406,4%204.1875,4%20L6.25,4%20L6.59375,4%20L6.59375,4.97297297%20L11.40625,4.97297297%20L11.40625,4%20L12.1109031,4%20Z'%20id='path'%20fill='url(%23linearGradient-1)'%3e%3c/path%3e%3cpath%20d='M6.59375,2.53125%20L4.1875,2.53125%20C3.53166169,2.53125%203,3.06291169%203,3.71875%20L3,15.0625%20C3,15.7183462%203.53165929,16.25%204.1875,16.25%20L13.8125,16.25%20C14.4683486,16.25%2015,15.7183486%2015,15.0625%20L15,3.71875%20C15,3.06290929%2014.4683462,2.53125%2013.8125,2.53125%20L11.40625,2.53125%20L11.3163744,2.53930567%20C11.0831252,2.58164163%2010.90625,2.78579011%2010.90625,3.03125%20L10.906,3.56225%20L7.093,3.56225%20L7.09375,3.03125%20C7.09375,2.75510763%206.86989237,2.53125%206.59375,2.53125%20Z%20M11.90625,4.0625%20L11.906,3.53125%20L13.8125,3.53125%20C13.9160592,3.53125%2014,3.61519172%2014,3.71875%20L14,15.0625%20C14,15.1660639%2013.9160639,15.25%2013.8125,15.25%20L4.1875,15.25%20C4.08394172,15.25%204,15.1660592%204,15.0625%20L4,3.71875%20L4.00955886,3.65948543%20C4.03436286,3.58497572%204.10465715,3.53125%204.1875,3.53125%20L6.093,3.53125%20L6.09375,4.0625%20C6.09375,4.33864237%206.31760763,4.5625%206.59375,4.5625%20L11.40625,4.5625%20C11.6823924,4.5625%2011.90625,4.33864237%2011.90625,4.0625%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M11.40625,1.5%20L6.59375,1.5%20C6.31760763,1.5%206.09375,1.72385763%206.09375,2%20L6.09375,4.0625%20C6.09375,4.33864237%206.31760763,4.5625%206.59375,4.5625%20L11.40625,4.5625%20C11.6823924,4.5625%2011.90625,4.33864237%2011.90625,4.0625%20L11.90625,2%20C11.90625,1.72385763%2011.6823924,1.5%2011.40625,1.5%20Z%20M10.90575,2.5%20L10.90575,3.562%20L7.09375,3.562%20L7.09375,2.5%20L10.90575,2.5%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M11.7020022,7.64644661%20C11.8972643,7.45118446%2012.2138468,7.45118446%2012.4091089,7.64644661%20C12.6043711,7.84170876%2012.6043711,8.15829124%2012.4091089,8.35355339%20L10.1868867,10.5757756%20C9.95376302,10.8088993%209.56278218,10.7565399%209.39921176,10.4702917%20L8.613,9.093%20L6.85355339,10.8535534%20C6.67998704,11.0271197%206.41056264,11.0464049%206.2156945,10.9114088%20L6.14644661,10.8535534%20C5.95118446,10.6582912%205.95118446,10.3417088%206.14644661,10.1464466%20L8.36866883,7.92422439%20C8.60179254,7.69110068%208.99277338,7.74346008%209.15634379,8.02970831%20L9.942,9.405%20L11.7020022,7.64644661%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",sK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-202%3c/title%3e%3cg%20id='icon-202'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M3,4.1%20L3,14.6%20C3,15.2666667%204,15.2666667%204,14.6%20L4.00438974,14.4156843%20C4.03914569,13.7898206%204.30737412,13.7%205.74,13.7%20L14.7,13.7%20C14.9761424,13.7%2015.2,13.4761424%2015.2,13.2%20L15.2,3%20C15.2,2.17157288%2014.5284271,1.5%2013.7,1.5%20L5.74,1.5%20C4.23370016,1.5%203,2.6565909%203,4.1%20Z%20M13.7,2.5%20L13.7898756,2.50805567%20C14.0231248,2.55039163%2014.2,2.75454011%2014.2,3%20L14.2,12.699%20L5.74,12.7%20L5.52617638,12.7016374%20C4.89999117,12.7115491%204.4105765,12.7672427%204.03632815,12.8899421%20L4,12.902%20L4,4.1%20C4,3.22381754%204.77207404,2.5%205.74,2.5%20L13.7,2.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M14.7,12.7%20L4.9,12.7%20C3.85066269,12.7%203,13.5506686%203,14.6%20C3,15.6493314%203.85066269,16.5%204.9,16.5%20L13.7,16.5%20C14.5284271,16.5%2015.2,15.8284271%2015.2,15%20L15.2,13.2%20C15.2,12.9238576%2014.9761424,12.7%2014.7,12.7%20Z%20M14.2,13.7%20L14.2,15%20C14.2,15.2761424%2013.9761424,15.5%2013.7,15.5%20L4.9,15.5%20C4.40294898,15.5%204,15.0970482%204,14.6%20C4,14.1029518%204.40294898,13.7%204.9,13.7%20L14.2,13.7%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M8.74644661,5.14644661%20C8.94155557,4.95133764%209.25783555,4.95116218%209.45316088,5.14605454%20L11.5531609,7.24139954%20C11.7486396,7.43644491%2011.7489908,7.7530272%2011.5539455,7.94850588%20C11.3589001,8.14398456%2011.0423178,8.14433583%2010.8468391,7.94929046%20L9.1,6.206%20L7.35355339,7.95355339%20C7.17998704,8.12711974%206.91056264,8.14640489%206.7156945,8.01140884%20L6.64644661,7.95355339%20C6.45118446,7.75829124%206.45118446,7.44170876%206.64644661,7.24644661%20L8.74644661,5.14644661%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9.1,5%20C9.37614237,5%209.6,5.22385763%209.6,5.5%20L9.6,10.4%20C9.6,10.6761424%209.37614237,10.9%209.1,10.9%20C8.82385763,10.9%208.6,10.6761424%208.6,10.4%20L8.6,5.5%20C8.6,5.22385763%208.82385763,5%209.1,5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",oK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-202-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='11.8906642%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%234182D9'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-202-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M3.5,15.6%20C3.5,14.3777778%203.5,6.43333333%203.5,6.43333333%20C3.5,5.42081083%204.50289,4.6%205.74,4.6%20C6.97913929,4.6%207.90849375,4.6%208.52806339,4.6%20C10.2520423,4.6%2011.9760211,4.6%2013.7,4.6%20C14.2522847,4.6%2014.7,5.04771525%2014.7,5.6%20C14.7,7.16235931%2014.7,8.72471862%2014.7,10.2870779%20C14.7,11.1961223%2014.7,12.9670964%2014.7,15.6%20C14.7,15.6%204.30701079,15.6%203.5,15.6%20Z'%20id='path'%20fill='url(%23linearGradient-1)'%3e%3c/path%3e%3cpath%20d='M3,4.1%20L3,14.6%20C3,15.2666667%204,15.2666667%204,14.6%20L4.00438974,14.4156843%20C4.03914569,13.7898206%204.30737412,13.7%205.74,13.7%20L14.7,13.7%20C14.9761424,13.7%2015.2,13.4761424%2015.2,13.2%20L15.2,3%20C15.2,2.17157288%2014.5284271,1.5%2013.7,1.5%20L5.74,1.5%20C4.23370016,1.5%203,2.6565909%203,4.1%20Z%20M13.7,2.5%20L13.7898756,2.50805567%20C14.0231248,2.55039163%2014.2,2.75454011%2014.2,3%20L14.2,12.699%20L5.74,12.7%20L5.52617638,12.7016374%20C4.89999117,12.7115491%204.4105765,12.7672427%204.03632815,12.8899421%20L4,12.902%20L4,4.1%20C4,3.22381754%204.77207404,2.5%205.74,2.5%20L13.7,2.5%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M14.7,12.7%20L4.9,12.7%20C3.85066269,12.7%203,13.5506686%203,14.6%20C3,15.6493314%203.85066269,16.5%204.9,16.5%20L13.7,16.5%20C14.5284271,16.5%2015.2,15.8284271%2015.2,15%20L15.2,13.2%20C15.2,12.9238576%2014.9761424,12.7%2014.7,12.7%20Z%20M14.2,13.7%20L14.2,15%20C14.2,15.2761424%2013.9761424,15.5%2013.7,15.5%20L4.9,15.5%20C4.40294898,15.5%204,15.0970482%204,14.6%20C4,14.1029518%204.40294898,13.7%204.9,13.7%20L14.2,13.7%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M8.74644661,5.14644661%20C8.94155557,4.95133764%209.25783555,4.95116218%209.45316088,5.14605454%20L11.5531609,7.24139954%20C11.7486396,7.43644491%2011.7489908,7.7530272%2011.5539455,7.94850588%20C11.3589001,8.14398456%2011.0423178,8.14433583%2010.8468391,7.94929046%20L9.1,6.206%20L7.35355339,7.95355339%20C7.17998704,8.12711974%206.91056264,8.14640489%206.7156945,8.01140884%20L6.64644661,7.95355339%20C6.45118446,7.75829124%206.45118446,7.44170876%206.64644661,7.24644661%20L8.74644661,5.14644661%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9.1,5%20C9.37614237,5%209.6,5.22385763%209.6,5.5%20L9.6,10.4%20C9.6,10.6761424%209.37614237,10.9%209.1,10.9%20C8.82385763,10.9%208.6,10.6761424%208.6,10.4%20L8.6,5.5%20C8.6,5.22385763%208.82385763,5%209.1,5%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",aK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-203%3c/title%3e%3cg%20id='icon-203'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M13.1391309,3.5%20L4.86086656,3.5%20C4.26744716,3.5%203.76690792,3.94186463%203.69330291,4.53069293%20L2.50918564,14.0036209%20C2.42140232,14.7058992%202.96899209,15.3262137%203.6767359,15.3262137%20L14.323248,15.3262137%20C15.0309921,15.3262137%2015.5785931,14.7059035%2015.4908158,14.0036261%20L14.3066981,4.53069409%20C14.2330991,3.94186703%2013.7325518,3.5%2013.1391309,3.5%20Z%20M13.1391309,4.5%20C13.2282308,4.5%2013.3033712,4.56633152%2013.3144197,4.65472523%20L14.4985373,14.1276558%20C14.5117142,14.2330796%2014.4294967,14.3262137%2014.323248,14.3262137%20L3.6767359,14.3262137%20C3.57049518,14.3262137%203.48828503,14.2330853%203.50146364,14.1276547%20L4.68558063,4.65472895%20C4.69663069,4.56633022%204.77176881,4.5%204.86086656,4.5%20L13.1391309,4.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M11.5976577,7.15958499%20C11.7211524,6.91259574%2012.0214889,6.81248357%2012.2684781,6.93597819%20C12.5154674,7.05947282%2012.6155795,7.35980934%2012.4920849,7.60679859%20C12.3738244,7.84331964%2012.123442,8.15959219%2011.7046087,8.46419819%20C11.0369883,8.94974029%2010.1409627,9.2364685%208.99999872,9.2364685%20C7.85903477,9.2364685%206.96300911,8.94974029%206.29538872,8.46419819%20C5.87655548,8.15959219%205.62617304,7.84331964%205.50791251,7.60679859%20C5.38441789,7.35980934%205.48453006,7.05947282%205.73151931,6.93597819%20C5.95106531,6.82620519%206.21276224,6.89310917%206.35494089,7.08280039%20L6.4023397,7.15958499%20C6.45323876,7.26138311%206.60461035,7.45258933%206.88356042,7.6554621%20C7.3789122,8.01571795%208.06875769,8.2364685%208.99999872,8.2364685%20C9.93123974,8.2364685%2010.6210852,8.01571795%2011.116437,7.6554621%20C11.3555371,7.48157116%2011.500906,7.31625155%2011.5696134,7.20846007%20L11.5976577,7.15958499%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",lK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-203-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='11.8906642%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%234182D9'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-203-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M4.1894417,8.20944841%20C4.23176881,7.99051029%204.519604,7.82621372%204.86086656,7.82621372%20L13.1391309,7.82621372%20C13.4803934,7.82621372%2013.7682354,7.99051029%2013.8105591,8.20944841%20L14.9946762,14.3344418%20C15.0451535,14.5955637%2014.730246,14.8262137%2014.323248,14.8262137%20L3.6767359,14.8262137%20C3.26974131,14.8262137%202.95484396,14.5955637%203.00532457,14.3344418%20L4.1894417,8.20944841%20Z'%20id='path'%20fill='url(%23linearGradient-1)'%3e%3c/path%3e%3cpath%20d='M13.1391309,3.5%20L4.86086656,3.5%20C4.26744716,3.5%203.76690792,3.94186463%203.69330291,4.53069293%20L2.50918564,14.0036209%20C2.42140232,14.7058992%202.96899209,15.3262137%203.6767359,15.3262137%20L14.323248,15.3262137%20C15.0309921,15.3262137%2015.5785931,14.7059035%2015.4908158,14.0036261%20L14.3066981,4.53069409%20C14.2330991,3.94186703%2013.7325518,3.5%2013.1391309,3.5%20Z%20M13.1391309,4.5%20C13.2282308,4.5%2013.3033712,4.56633152%2013.3144197,4.65472523%20L14.4985373,14.1276558%20C14.5117142,14.2330796%2014.4294967,14.3262137%2014.323248,14.3262137%20L3.6767359,14.3262137%20C3.57049518,14.3262137%203.48828503,14.2330853%203.50146364,14.1276547%20L4.68558063,4.65472895%20C4.69663069,4.56633022%204.77176881,4.5%204.86086656,4.5%20L13.1391309,4.5%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M11.5976577,7.15958499%20C11.7211524,6.91259574%2012.0214889,6.81248357%2012.2684781,6.93597819%20C12.5154674,7.05947282%2012.6155795,7.35980934%2012.4920849,7.60679859%20C12.3738244,7.84331964%2012.123442,8.15959219%2011.7046087,8.46419819%20C11.0369883,8.94974029%2010.1409627,9.2364685%208.99999872,9.2364685%20C7.85903477,9.2364685%206.96300911,8.94974029%206.29538872,8.46419819%20C5.87655548,8.15959219%205.62617304,7.84331964%205.50791251,7.60679859%20C5.38441789,7.35980934%205.48453006,7.05947282%205.73151931,6.93597819%20C5.95106531,6.82620519%206.21276224,6.89310917%206.35494089,7.08280039%20L6.4023397,7.15958499%20C6.45323876,7.26138311%206.60461035,7.45258933%206.88356042,7.6554621%20C7.3789122,8.01571795%208.06875769,8.2364685%208.99999872,8.2364685%20C9.93123974,8.2364685%2010.6210852,8.01571795%2011.116437,7.6554621%20C11.3555371,7.48157116%2011.500906,7.31625155%2011.5696134,7.20846007%20L11.5976577,7.15958499%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",cK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-204%3c/title%3e%3cg%20id='icon-204'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M15,3.5%20L3,3.5%20C2.72385763,3.5%202.5,3.72385763%202.5,4%20L2.5,7.41661156%20C2.5,7.62932963%202.6345879,7.81875951%202.83545767,7.88876177%20C3.2854218,8.04557235%203.590908,8.46428114%203.590908,8.93828912%20C3.590908,9.41229711%203.2854218,9.83100589%202.83545767,9.98781648%20C2.6345879,10.0578187%202.5,10.2472486%202.5,10.4599667%20L2.5,14%20C2.5,14.2761424%202.72385763,14.5%203,14.5%20L15,14.5%20C15.2761424,14.5%2015.5,14.2761424%2015.5,14%20L15.5,10.4599667%20C15.5,10.2472494%2015.3654131,10.0578201%2015.1645444,9.9878172%20C14.714578,9.83100359%2014.40908,9.41228762%2014.40908,8.93828912%20C14.40908,8.46429063%2014.714578,8.04557465%2015.1645444,7.88876104%20C15.3654131,7.81875817%2015.5,7.62932883%2015.5,7.41661156%20L15.5,4%20C15.5,3.72385763%2015.2761424,3.5%2015,3.5%20Z%20M14.5,4.5%20L14.5,7.095%20L14.3892908,7.16056093%20C13.7915437,7.54130862%2013.40908,8.20332054%2013.40908,8.93828912%20L13.4157932,9.10650735%20C13.4691944,9.77344141%2013.8375242,10.3645579%2014.3892908,10.7160173%20L14.5,10.781%20L14.5,13.5%20L3.5,13.5%20L3.5,10.78%20L3.6107078,10.7160195%20C4.20845372,10.3352737%204.590908,9.67326256%204.590908,8.93828912%20L4.58419496,8.77006987%20C4.53079496,8.10313211%204.16247326,7.51201641%203.6107078,7.16055876%20L3.5,7.095%20L3.5,4.5%20L14.5,4.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M7.14644661,6.14644661%20C7.34170876,5.95118446%207.65829124,5.95118446%207.85355339,6.14644661%20L9,7.293%20L10.1464466,6.14644661%20C10.320013,5.97288026%2010.5894374,5.95359511%2010.7843055,6.08859116%20L10.8535534,6.14644661%20C11.0488155,6.34170876%2011.0488155,6.65829124%2010.8535534,6.85355339%20L9.35355339,8.35355339%20C9.15829124,8.54881554%208.84170876,8.54881554%208.64644661,8.35355339%20L7.14644661,6.85355339%20C6.95118446,6.65829124%206.95118446,6.34170876%207.14644661,6.14644661%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M10.8,7.8%20C11.0761424,7.8%2011.3,8.02385763%2011.3,8.3%20C11.3,8.57614237%2011.0761424,8.8%2010.8,8.8%20L7.2,8.8%20C6.92385763,8.8%206.7,8.57614237%206.7,8.3%20C6.7,8.02385763%206.92385763,7.8%207.2,7.8%20L10.8,7.8%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M10.8,9.65001%20C11.0761424,9.65001%2011.3,9.87386763%2011.3,10.15001%20C11.3,10.4261524%2011.0761424,10.65001%2010.8,10.65001%20L7.2,10.65001%20C6.92385763,10.65001%206.7,10.4261524%206.7,10.15001%20C6.7,9.87386763%206.92385763,9.65001%207.2,9.65001%20L10.8,9.65001%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9,7.8%20C9.27614237,7.8%209.5,8.02385763%209.5,8.3%20L9.5,11.9%20C9.5,12.1761424%209.27614237,12.4%209,12.4%20C8.72385763,12.4%208.5,12.1761424%208.5,11.9%20L8.5,8.3%20C8.5,8.02385763%208.72385763,7.8%209,7.8%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",uK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-204-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='11.8906642%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%234182D9'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-204-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M3,8.36141935%20L3,5.7%20L15,5.7%20L15,8.36141935%20C14.36445,8.55625806%2013.90908,9.0820129%2013.90908,9.7%20C13.90908,10.3179871%2014.36445,10.8437419%2015,11.0385806%20L15,13.7%20L3,13.7%20L3,11.0385806%20C3.635559,10.8437419%204.090908,10.3179871%204.090908,9.7%20C4.090908,9.0820129%203.635559,8.55625806%203,8.36141935%20Z'%20id='path'%20fill='url(%23linearGradient-1)'%3e%3c/path%3e%3cpath%20d='M15,3.5%20L3,3.5%20C2.72385763,3.5%202.5,3.72385763%202.5,4%20L2.5,7.41661156%20C2.5,7.62932963%202.6345879,7.81875951%202.83545767,7.88876177%20C3.2854218,8.04557235%203.590908,8.46428114%203.590908,8.93828912%20C3.590908,9.41229711%203.2854218,9.83100589%202.83545767,9.98781648%20C2.6345879,10.0578187%202.5,10.2472486%202.5,10.4599667%20L2.5,14%20C2.5,14.2761424%202.72385763,14.5%203,14.5%20L15,14.5%20C15.2761424,14.5%2015.5,14.2761424%2015.5,14%20L15.5,10.4599667%20C15.5,10.2472494%2015.3654131,10.0578201%2015.1645444,9.9878172%20C14.714578,9.83100359%2014.40908,9.41228762%2014.40908,8.93828912%20C14.40908,8.46429063%2014.714578,8.04557465%2015.1645444,7.88876104%20C15.3654131,7.81875817%2015.5,7.62932883%2015.5,7.41661156%20L15.5,4%20C15.5,3.72385763%2015.2761424,3.5%2015,3.5%20Z%20M14.5,4.5%20L14.5,7.095%20L14.3892908,7.16056093%20C13.7915437,7.54130862%2013.40908,8.20332054%2013.40908,8.93828912%20L13.4157932,9.10650735%20C13.4691944,9.77344141%2013.8375242,10.3645579%2014.3892908,10.7160173%20L14.5,10.781%20L14.5,13.5%20L3.5,13.5%20L3.5,10.78%20L3.6107078,10.7160195%20C4.20845372,10.3352737%204.590908,9.67326256%204.590908,8.93828912%20L4.58419496,8.77006987%20C4.53079496,8.10313211%204.16247326,7.51201641%203.6107078,7.16055876%20L3.5,7.095%20L3.5,4.5%20L14.5,4.5%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M7.14644661,6.14644661%20C7.34170876,5.95118446%207.65829124,5.95118446%207.85355339,6.14644661%20L9,7.293%20L10.1464466,6.14644661%20C10.320013,5.97288026%2010.5894374,5.95359511%2010.7843055,6.08859116%20L10.8535534,6.14644661%20C11.0488155,6.34170876%2011.0488155,6.65829124%2010.8535534,6.85355339%20L9.35355339,8.35355339%20C9.15829124,8.54881554%208.84170876,8.54881554%208.64644661,8.35355339%20L7.14644661,6.85355339%20C6.95118446,6.65829124%206.95118446,6.34170876%207.14644661,6.14644661%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M10.8,7.8%20C11.0761424,7.8%2011.3,8.02385763%2011.3,8.3%20C11.3,8.57614237%2011.0761424,8.8%2010.8,8.8%20L7.2,8.8%20C6.92385763,8.8%206.7,8.57614237%206.7,8.3%20C6.7,8.02385763%206.92385763,7.8%207.2,7.8%20L10.8,7.8%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M10.8,9.65001%20C11.0761424,9.65001%2011.3,9.87386763%2011.3,10.15001%20C11.3,10.4261524%2011.0761424,10.65001%2010.8,10.65001%20L7.2,10.65001%20C6.92385763,10.65001%206.7,10.4261524%206.7,10.15001%20C6.7,9.87386763%206.92385763,9.65001%207.2,9.65001%20L10.8,9.65001%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9,7.8%20C9.27614237,7.8%209.5,8.02385763%209.5,8.3%20L9.5,11.9%20C9.5,12.1761424%209.27614237,12.4%209,12.4%20C8.72385763,12.4%208.5,12.1761424%208.5,11.9%20L8.5,8.3%20C8.5,8.02385763%208.72385763,7.8%209,7.8%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",hK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-205%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='25.9992173%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%235EA0F7'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-205'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpolygon%20id='path'%20fill='url(%23linearGradient-1)'%20opacity='0'%20points='14.1228395%2015.0246914%2014.1228395%207.80987654%203.90185185%207.80987654%203.90185185%2015.0246914'%3e%3c/polygon%3e%3cpath%20d='M14.1228395,7.30987654%20L3.90185185,7.30987654%20C3.62570948,7.30987654%203.40185185,7.53373417%203.40185185,7.80987654%20L3.40185185,15.0246914%20C3.40185185,15.3008337%203.62570948,15.5246914%203.90185185,15.5246914%20L14.1228395,15.5246914%20C14.3989819,15.5246914%2014.6228395,15.3008337%2014.6228395,15.0246914%20L14.6228395,7.80987654%20C14.6228395,7.53373417%2014.3989819,7.30987654%2014.1228395,7.30987654%20Z%20M13.6218519,8.30987654%20L13.6218519,14.5238765%20L4.40185185,14.5238765%20L4.40185185,8.30987654%20L13.6218519,8.30987654%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9.01234568,7.30987654%20C9.28848805,7.30987654%209.51234568,7.53373417%209.51234568,7.80987654%20L9.51234568,15.0246914%20C9.51234568,15.3008337%209.28848805,15.5246914%209.01234568,15.5246914%20C8.7362033,15.5246914%208.51234568,15.3008337%208.51234568,15.0246914%20L8.51234568,7.80987654%20C8.51234568,7.53373417%208.7362033,7.30987654%209.01234568,7.30987654%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cline%20x1='14.1228395'%20y1='15.0246914'%20x2='3.90185185'%20y2='15.0246914'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/line%3e%3cpath%20d='M15.0246914,4.90493827%20L3,4.90493827%20C2.72385763,4.90493827%202.5,5.1287959%202.5,5.40493827%20L2.5,7.80987654%20C2.5,8.08601892%202.72385763,8.30987654%203,8.30987654%20L15.0246914,8.30987654%20C15.3008337,8.30987654%2015.5246914,8.08601892%2015.5246914,7.80987654%20L15.5246914,5.40493827%20C15.5246914,5.1287959%2015.3008337,4.90493827%2015.0246914,4.90493827%20Z%20M14.524,5.90493827%20L14.524,7.30893827%20L3.5,7.30893827%20L3.5,5.90493827%20L14.524,5.90493827%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M6.25385402,2.64644661%20C6.44911616,2.45118446%206.76569865,2.45118446%206.9609608,2.64644661%20L9.01240741,4.698%20L11.0637306,2.64644661%20C11.2372969,2.47288026%2011.5067213,2.45359511%2011.7015895,2.58859116%20L11.7708373,2.64644661%20C11.9660995,2.84170876%2011.9660995,3.15829124%2011.7708373,3.35355339%20L9.36589907,5.75849166%20C9.17063692,5.95375381%208.85405443,5.95375381%208.65879229,5.75849166%20L6.25385402,3.35355339%20C6.05859187,3.15829124%206.05859187,2.84170876%206.25385402,2.64644661%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",fK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-205-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='11.8906642%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%234182D9'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-205-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpolygon%20id='path'%20fill='url(%23linearGradient-1)'%20points='14.1228395%2015.0246914%2014.1228395%207.80987654%203.90185185%207.80987654%203.90185185%2015.0246914'%3e%3c/polygon%3e%3cpath%20d='M14.1228395,7.30987654%20L3.90185185,7.30987654%20C3.62570948,7.30987654%203.40185185,7.53373417%203.40185185,7.80987654%20L3.40185185,15.0246914%20C3.40185185,15.3008337%203.62570948,15.5246914%203.90185185,15.5246914%20L14.1228395,15.5246914%20C14.3989819,15.5246914%2014.6228395,15.3008337%2014.6228395,15.0246914%20L14.6228395,7.80987654%20C14.6228395,7.53373417%2014.3989819,7.30987654%2014.1228395,7.30987654%20Z%20M13.6218519,8.30987654%20L13.6218519,14.5238765%20L4.40185185,14.5238765%20L4.40185185,8.30987654%20L13.6218519,8.30987654%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9.01234568,7.30987654%20C9.28848805,7.30987654%209.51234568,7.53373417%209.51234568,7.80987654%20L9.51234568,15.0246914%20C9.51234568,15.3008337%209.28848805,15.5246914%209.01234568,15.5246914%20C8.7362033,15.5246914%208.51234568,15.3008337%208.51234568,15.0246914%20L8.51234568,7.80987654%20C8.51234568,7.53373417%208.7362033,7.30987654%209.01234568,7.30987654%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cline%20x1='14.1228395'%20y1='15.0246914'%20x2='3.90185185'%20y2='15.0246914'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/line%3e%3cpath%20d='M15.0246914,4.90493827%20L3,4.90493827%20C2.72385763,4.90493827%202.5,5.1287959%202.5,5.40493827%20L2.5,7.80987654%20C2.5,8.08601892%202.72385763,8.30987654%203,8.30987654%20L15.0246914,8.30987654%20C15.3008337,8.30987654%2015.5246914,8.08601892%2015.5246914,7.80987654%20L15.5246914,5.40493827%20C15.5246914,5.1287959%2015.3008337,4.90493827%2015.0246914,4.90493827%20Z%20M14.524,5.90493827%20L14.524,7.30893827%20L3.5,7.30893827%20L3.5,5.90493827%20L14.524,5.90493827%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M6.25385402,2.64644661%20C6.44911616,2.45118446%206.76569865,2.45118446%206.9609608,2.64644661%20L9.01240741,4.698%20L11.0637306,2.64644661%20C11.2372969,2.47288026%2011.5067213,2.45359511%2011.7015895,2.58859116%20L11.7708373,2.64644661%20C11.9660995,2.84170876%2011.9660995,3.15829124%2011.7708373,3.35355339%20L9.36589907,5.75849166%20C9.17063692,5.95375381%208.85405443,5.95375381%208.65879229,5.75849166%20L6.25385402,3.35355339%20C6.05859187,3.15829124%206.05859187,2.84170876%206.25385402,2.64644661%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",dK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-206%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='25.9992173%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%235EA0F7'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-206'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpolygon%20id='path'%20fill='url(%23linearGradient-1)'%20opacity='0'%20points='14.1228395%2015.0246914%2014.1228395%207.80987654%203.90185185%207.80987654%203.90185185%2015.0246914'%3e%3c/polygon%3e%3cpath%20d='M4.36863683,8%20L4.36863683,14.5%20L14.0346368,14.5%20L14.0353168,8%20L15.0353168,8%20L15.0353168,15%20C15.0353168,15.2761424%2014.8114592,15.5%2014.5353168,15.5%20L3.86863683,15.5%20C3.59249446,15.5%203.36863683,15.2761424%203.36863683,15%20L3.36863683,8%20L4.36863683,8%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M14.2668502,2.5%20L4.13736016,2.5%20C3.93071812,2.5%203.74536483,2.62711853%203.67092732,2.8198878%20L2.66995399,5.4120878%20C2.03384299,7.0594346%203.25812678,8.83333333%205.02535016,8.83333333%20L5.18983137,8.82801246%20C5.89676281,8.7821367%206.5248991,8.44271907%206.952186,7.9306747%20L7.03,7.831%20L7.10849064,7.9309606%20C7.56707008,8.48232369%208.25828643,8.83333333%209.0314835,8.83333333%20L9.37095016,8.83333333%20L9.53532554,8.82801564%20C10.2417055,8.78216689%2010.8681193,8.44294061%2011.293943,7.9309606%20L11.372,7.83%20L11.4503845,7.93065774%20C11.9106338,8.48209425%2012.6038389,8.83333333%2013.3774502,8.83333333%20C15.1454827,8.83333333%2016.3706621,7.05852949%2015.7340952,5.41059984%20L14.733258,2.81982303%20C14.6588029,2.62708776%2014.4734668,2.5%2014.2668502,2.5%20Z%20M13.924,3.5%20L14.8012757,5.77094364%20C15.1841582,6.76214104%2014.4446946,7.83333333%2013.3774502,7.83333333%20C12.5472859,7.83333333%2011.8709502,7.16002068%2011.8709502,6.33333333%20C11.8709502,5.66666667%2010.8709502,5.66666667%2010.8709502,6.33333333%20C10.8709502,7.16175763%2010.1993745,7.83333333%209.37095016,7.83333333%20L9.0314835,7.83333333%20C8.20305921,7.83333333%207.5314835,7.16175763%207.5314835,6.33333333%20C7.5314835,5.66666667%206.5314835,5.66666667%206.5314835,6.33333333%20C6.5314835,7.16011838%205.85541643,7.83333333%205.02535016,7.83333333%20L4.89381412,7.82784202%20C3.89933715,7.74427955%203.23620119,6.72174993%203.60282053,5.77230998%20L4.479,3.5%20L13.924,3.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",pK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-206-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='11.8906642%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%234182D9'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-206-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpolygon%20id='path'%20fill='url(%23linearGradient-1)'%20points='14.1228395%2015.0246914%2014.1228395%207.80987654%203.90185185%207.80987654%203.90185185%2015.0246914'%3e%3c/polygon%3e%3cpath%20d='M4.36863683,8%20L4.36863683,14.5%20L14.0346368,14.5%20L14.0353168,8%20L15.0353168,8%20L15.0353168,15%20C15.0353168,15.2761424%2014.8114592,15.5%2014.5353168,15.5%20L3.86863683,15.5%20C3.59249446,15.5%203.36863683,15.2761424%203.36863683,15%20L3.36863683,8%20L4.36863683,8%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M14.2668502,2.5%20L4.13736016,2.5%20C3.93071812,2.5%203.74536483,2.62711853%203.67092732,2.8198878%20L2.66995399,5.4120878%20C2.03384299,7.0594346%203.25812678,8.83333333%205.02535016,8.83333333%20L5.18983137,8.82801246%20C5.89676281,8.7821367%206.5248991,8.44271907%206.952186,7.9306747%20L7.03,7.831%20L7.10849064,7.9309606%20C7.56707008,8.48232369%208.25828643,8.83333333%209.0314835,8.83333333%20L9.37095016,8.83333333%20L9.53532554,8.82801564%20C10.2417055,8.78216689%2010.8681193,8.44294061%2011.293943,7.9309606%20L11.372,7.83%20L11.4503845,7.93065774%20C11.9106338,8.48209425%2012.6038389,8.83333333%2013.3774502,8.83333333%20C15.1454827,8.83333333%2016.3706621,7.05852949%2015.7340952,5.41059984%20L14.733258,2.81982303%20C14.6588029,2.62708776%2014.4734668,2.5%2014.2668502,2.5%20Z%20M13.924,3.5%20L14.8012757,5.77094364%20C15.1841582,6.76214104%2014.4446946,7.83333333%2013.3774502,7.83333333%20C12.5472859,7.83333333%2011.8709502,7.16002068%2011.8709502,6.33333333%20C11.8709502,5.66666667%2010.8709502,5.66666667%2010.8709502,6.33333333%20C10.8709502,7.16175763%2010.1993745,7.83333333%209.37095016,7.83333333%20L9.0314835,7.83333333%20C8.20305921,7.83333333%207.5314835,7.16175763%207.5314835,6.33333333%20C7.5314835,5.66666667%206.5314835,5.66666667%206.5314835,6.33333333%20C6.5314835,7.16011838%205.85541643,7.83333333%205.02535016,7.83333333%20L4.89381412,7.82784202%20C3.89933715,7.74427955%203.23620119,6.72174993%203.60282053,5.77230998%20L4.479,3.5%20L13.924,3.5%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",gK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-207%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='25.9992173%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%235EA0F7'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-207'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M4.2347161,7.41940305%20C6.27695036,7.35032805%207.86536298,7.31580305%209,7.31580305%20C10.134766,7.31580305%2011.7237681,7.35035305%2013.7669971,7.41942805%20L13.7669971,7.41942805%20C14.8730354,7.45682805%2015.7675997,8.04377805%2015.8598524,8.79260305%20C15.9532841,9.55110305%2016,10.219153%2016,10.796753%20C16,11.381453%2015.952142,12.058803%2015.8563893,12.828853%20L15.8563893,12.828853%20C15.7644313,13.568378%2014.8893196,14.151103%2013.7979445,14.199528%20C12.0511106,14.277053%2010.4517927,14.315803%209,14.315803%20C7.54840993,14.315803%205.94968151,14.277053%204.20380553,14.199578%20L4.20380553,14.199578%20C3.1128062,14.151153%202.23787137,13.568778%202.14546388,12.829553%20C2.04848796,12.053753%202,11.376153%202,10.796753%20C2,10.224328%202.04732743,9.55605305%202.14198966,8.79190305%20L2.14199334,8.79190305%20C2.23471768,8.04337805%203.1290978,7.45680305%204.2347161,7.41940305%20Z'%20id='path'%20fill='url(%23linearGradient-1)'%20opacity='0'%3e%3c/path%3e%3cpath%20d='M9,3.5%20L8.20210685,3.50705105%20C7.15008415,3.52427939%205.81989444,3.57304016%204.20982457,3.65329386%20C2.85412673,3.72087636%201.75744828,4.78082591%201.6437505,6.13342651%20L1.60589031,6.60966035%20C1.53528627,7.55437271%201.5,8.39344108%201.5,9.1298278%20C1.5,9.99895528%201.54915734,11.0113104%201.64725293,12.1677963%20C1.76056362,13.5036084%202.83340966,14.5559535%204.17116982,14.6434576%20L4.82068928,14.6837068%20C6.32735316,14.7717831%207.71979264,14.815803%209,14.815803%20C10.4633592,14.815803%2012.0734902,14.7583023%2013.8305761,14.6433842%20C15.1688014,14.5558798%2016.2418603,13.5028873%2016.3546188,12.1665453%20L16.3929127,11.6862548%20C16.4643187,10.7329255%2016.5,9.88175609%2016.5,9.1298278%20C16.5,8.26365678%2016.4526376,7.26553551%2016.3581149,6.13469193%20C16.2449947,4.78154096%2015.1480852,3.7209124%2013.7918821,3.65333038%20L12.5364848,3.59469571%20C11.077736,3.53158475%209.89934409,3.5%209,3.5%20Z%20M8.21483488,4.50696509%20L9.00155703,4.49999758%20L9.78656291,4.50697659%20C10.634616,4.52093385%2011.6716739,4.55582867%2012.8965052,4.61168605%20L13.7426176,4.65211601%20C14.5979812,4.69474057%2015.2902044,5.36406804%2015.3615905,6.21799323%20C15.4539307,7.32272579%2015.5,8.29359659%2015.5,9.1298278%20C15.5,9.85516506%2015.4653474,10.6817947%2015.3958904,11.6091779%20L15.3579706,12.0847717%20C15.2870016,12.9257865%2014.6098304,13.5902945%2013.76532,13.6455157%20C12.029044,13.7590727%2010.4404864,13.815803%209,13.815803%20C7.74012146,13.815803%206.3670077,13.772394%204.88078958,13.685516%20L4.23472775,13.645481%20C3.39222695,13.5903693%202.71518116,12.9262611%202.64367469,12.0832761%20C2.54781857,10.9531921%202.5,9.96840783%202.5,9.1298278%20C2.5,8.42006452%202.53425817,7.60544326%202.60292784,6.68654067%20L2.64042119,6.21492731%20C2.71198717,5.36360735%203.40407002,4.69470307%204.25961054,4.65205377%20L5.50520314,4.59384482%20C6.55681799,4.54831868%207.46017022,4.51936423%208.21483488,4.50696509%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M7.5342947,7.08496624%20C7.44376336,7.21971488%207.39546302,7.3781282%207.39546302,7.54023624%20L7.39546302,10.7811668%20C7.39546302,11.2317162%207.76071713,11.5969409%208.21123712,11.5969409%20C8.37114236,11.5969409%208.52753447,11.549957%208.66095203,11.4618367%20L11.0917813,9.85521097%20C11.4676491,9.60678989%2011.5709323,9.10067566%2011.3225202,8.7248215%20C11.2631468,8.63500024%2011.1866088,8.55785917%2011.0973334,8.49777181%20L8.66644686,6.8632533%20C8.29263792,6.61182681%207.78573615,6.71113505%207.5342947,7.08496624%20Z%20M8.39546302,7.88640567%20L10.308463,9.17340567%20L8.39546302,10.4384057%20L8.39546302,7.88640567%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",vK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-207-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='11.8906642%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%234182D9'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-207-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M4.2347161,7.41940305%20C6.27695036,7.35032805%207.86536298,7.31580305%209,7.31580305%20C10.134766,7.31580305%2011.7237681,7.35035305%2013.7669971,7.41942805%20L13.7669971,7.41942805%20C14.8730354,7.45682805%2015.7675997,8.04377805%2015.8598524,8.79260305%20C15.9532841,9.55110305%2016,10.219153%2016,10.796753%20C16,11.381453%2015.952142,12.058803%2015.8563893,12.828853%20L15.8563893,12.828853%20C15.7644313,13.568378%2014.8893196,14.151103%2013.7979445,14.199528%20C12.0511106,14.277053%2010.4517927,14.315803%209,14.315803%20C7.54840993,14.315803%205.94968151,14.277053%204.20380553,14.199578%20L4.20380553,14.199578%20C3.1128062,14.151153%202.23787137,13.568778%202.14546388,12.829553%20C2.04848796,12.053753%202,11.376153%202,10.796753%20C2,10.224328%202.04732743,9.55605305%202.14198966,8.79190305%20L2.14199334,8.79190305%20C2.23471768,8.04337805%203.1290978,7.45680305%204.2347161,7.41940305%20Z'%20id='path'%20fill='url(%23linearGradient-1)'%3e%3c/path%3e%3cpath%20d='M9,3.5%20L8.20210685,3.50705105%20C7.15008415,3.52427939%205.81989444,3.57304016%204.20982457,3.65329386%20C2.85412673,3.72087636%201.75744828,4.78082591%201.6437505,6.13342651%20L1.60589031,6.60966035%20C1.53528627,7.55437271%201.5,8.39344108%201.5,9.1298278%20C1.5,9.99895528%201.54915734,11.0113104%201.64725293,12.1677963%20C1.76056362,13.5036084%202.83340966,14.5559535%204.17116982,14.6434576%20L4.82068928,14.6837068%20C6.32735316,14.7717831%207.71979264,14.815803%209,14.815803%20C10.4633592,14.815803%2012.0734902,14.7583023%2013.8305761,14.6433842%20C15.1688014,14.5558798%2016.2418603,13.5028873%2016.3546188,12.1665453%20L16.3929127,11.6862548%20C16.4643187,10.7329255%2016.5,9.88175609%2016.5,9.1298278%20C16.5,8.26365678%2016.4526376,7.26553551%2016.3581149,6.13469193%20C16.2449947,4.78154096%2015.1480852,3.7209124%2013.7918821,3.65333038%20L12.5364848,3.59469571%20C11.077736,3.53158475%209.89934409,3.5%209,3.5%20Z%20M8.21483488,4.50696509%20L9.00155703,4.49999758%20L9.78656291,4.50697659%20C10.634616,4.52093385%2011.6716739,4.55582867%2012.8965052,4.61168605%20L13.7426176,4.65211601%20C14.5979812,4.69474057%2015.2902044,5.36406804%2015.3615905,6.21799323%20C15.4539307,7.32272579%2015.5,8.29359659%2015.5,9.1298278%20C15.5,9.85516506%2015.4653474,10.6817947%2015.3958904,11.6091779%20L15.3579706,12.0847717%20C15.2870016,12.9257865%2014.6098304,13.5902945%2013.76532,13.6455157%20C12.029044,13.7590727%2010.4404864,13.815803%209,13.815803%20C7.74012146,13.815803%206.3670077,13.772394%204.88078958,13.685516%20L4.23472775,13.645481%20C3.39222695,13.5903693%202.71518116,12.9262611%202.64367469,12.0832761%20C2.54781857,10.9531921%202.5,9.96840783%202.5,9.1298278%20C2.5,8.42006452%202.53425817,7.60544326%202.60292784,6.68654067%20L2.64042119,6.21492731%20C2.71198717,5.36360735%203.40407002,4.69470307%204.25961054,4.65205377%20L5.50520314,4.59384482%20C6.55681799,4.54831868%207.46017022,4.51936423%208.21483488,4.50696509%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M7.5342947,7.08496624%20C7.44376336,7.21971488%207.39546302,7.3781282%207.39546302,7.54023624%20L7.39546302,10.7811668%20C7.39546302,11.2317162%207.76071713,11.5969409%208.21123712,11.5969409%20C8.37114236,11.5969409%208.52753447,11.549957%208.66095203,11.4618367%20L11.0917813,9.85521097%20C11.4676491,9.60678989%2011.5709323,9.10067566%2011.3225202,8.7248215%20C11.2631468,8.63500024%2011.1866088,8.55785917%2011.0973334,8.49777181%20L8.66644686,6.8632533%20C8.29263792,6.61182681%207.78573615,6.71113505%207.5342947,7.08496624%20Z%20M8.39546302,7.88640567%20L10.308463,9.17340567%20L8.39546302,10.4384057%20L8.39546302,7.88640567%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",yK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-208%3c/title%3e%3cg%20id='icon-208'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='矩形'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cg%20id='编组'%20transform='translate(3.500000,%201.500000)'%20fill-rule='nonzero'%3e%3cpath%20d='M3.59375,1.03125%20L1.1875,1.03125%20C0.531661688,1.03125%200,1.56291169%200,2.21875%20L0,13.5625%20C0,14.2183462%200.531659286,14.75%201.1875,14.75%20L10.8125,14.75%20C11.4683486,14.75%2012,14.2183486%2012,13.5625%20L12,2.21875%20C12,1.56290929%2011.4683462,1.03125%2010.8125,1.03125%20L8.40625,1.03125%20L8.31637437,1.03930567%20C8.08312516,1.08164163%207.90625,1.28579011%207.90625,1.53125%20L7.906,2.06225%20L4.093,2.06225%20L4.09375,1.53125%20C4.09375,1.25510763%203.86989237,1.03125%203.59375,1.03125%20Z%20M8.90625,2.5625%20L8.906,2.03125%20L10.8125,2.03125%20C10.9160592,2.03125%2011,2.11519172%2011,2.21875%20L11,13.5625%20C11,13.6660639%2010.9160639,13.75%2010.8125,13.75%20L1.1875,13.75%20C1.08394172,13.75%201,13.6660592%201,13.5625%20L1,2.21875%20L1.00955886,2.15948543%20C1.03436286,2.08497572%201.10465715,2.03125%201.1875,2.03125%20L3.093,2.03125%20L3.09375,2.5625%20C3.09375,2.83864237%203.31760763,3.0625%203.59375,3.0625%20L8.40625,3.0625%20C8.68239237,3.0625%208.90625,2.83864237%208.90625,2.5625%20Z'%20id='路径'%20fill='%23595959'%3e%3c/path%3e%3cpath%20d='M8.40625,0%20L3.59375,0%20C3.31760763,0%203.09375,0.223857625%203.09375,0.5%20L3.09375,2.5625%20C3.09375,2.83864237%203.31760763,3.0625%203.59375,3.0625%20L8.40625,3.0625%20C8.68239237,3.0625%208.90625,2.83864237%208.90625,2.5625%20L8.90625,0.5%20C8.90625,0.223857625%208.68239237,0%208.40625,0%20Z%20M7.90575,1%20L7.90575,2.062%20L4.09375,2.062%20L4.09375,1%20L7.90575,1%20Z'%20id='矩形'%20fill='%23595959'%3e%3c/path%3e%3cg%20id='锤子'%20transform='translate(2.500000,%203.500000)'%3e%3crect%20id='矩形'%20fill='%23000000'%20opacity='0'%20x='0'%20y='0'%20width='7'%20height='7'%3e%3c/rect%3e%3cpath%20d='M4.78423907,7.5%20C5.06038144,7.5%205.28423907,7.72385763%205.28423907,8%20C5.28423907,8.27614237%205.06038144,8.5%204.78423907,8.5%20L1.60776381,8.5%20C1.33162143,8.5%201.10776381,8.27614237%201.10776381,8%20C1.10776381,7.72385763%201.33162143,7.5%201.60776381,7.5%20L4.78423907,7.5%20Z'%20id='路径-4'%20fill='%23595959'%3e%3c/path%3e%3cpath%20d='M2.85758852,1.43024223%20L0.555100526,3.7331677%20L0.496932546,3.79742215%20C0.169139085,4.21085435%200.201584553,4.7723518%200.554308034,5.12585189%20L1.70969661,6.28124089%20L1.77044308,6.33639216%20C2.18179702,6.66709406%202.74752923,6.63608979%203.10280948,6.2807973%20L5.40580339,3.97780339%20L5.46400495,3.91351535%20C5.79096016,3.5024771%205.76048887,2.93982745%205.40668091,2.58513717%20L4.208593,1.39142491%20L4.09516768,1.30315522%20L4.07230474,1.28817016%20C3.68342082,1.04821915%203.18060517,1.10702799%202.85758852,1.43024223%20Z%20M3.5555153,2.14533616%20L3.57026982,2.15615728%20L4.6885153,3.28033616%20L2.4055153,5.56333616%20L1.2715153,4.42933616%20L3.5555153,2.14533616%20Z'%20id='形状'%20fill='%23595959'%3e%3c/path%3e%3cpath%20d='M3.85360147,4.34394415%20C4.05978358,4.16024998%204.37584075,4.17848006%204.55953492,4.38466217%20L6.04188794,6.04848567%20C6.22558211,6.25466778%206.20735203,6.57072496%206.00116992,6.75441913%20C5.79498781,6.9381133%205.47893063,6.91988322%205.29523646,6.7137011%20L3.81288344,5.0498776%20C3.62918928,4.84369549%203.64741936,4.52763832%203.85360147,4.34394415%20Z'%20id='路径-3'%20fill='%23595959'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",mK="https://static.kongfz.com/search-v3/assets/images/icon-208-active-9zKz5pxG.svg",bK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-209%3c/title%3e%3cg%20id='icon-209'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cg%20id='编组-2'%20transform='translate(1.500000,%202.500000)'%3e%3cpolygon%20id='path'%20points='0.5%202.68181818%2014.5%202.68181818%2014.5%2012.0432579%2012.4423783%2012.0432579%2012.4423783%2010.3181818%203.10929363%2010.3181818%203.10929363%2012.0432579%200.5%2012.0432579'%3e%3c/polygon%3e%3cpath%20d='M1.68181818,0%20L1.5,0%20C0.671572875,0%200,0.671572875%200,1.5%20L0,11.5%20C0,12.3284271%200.671572875,13%201.5,13%20L1.68181818,13%20C2.51024531,13%203.18181818,12.3284271%203.18181818,11.5%20L3.18181818,1.5%20C3.18181818,0.671572875%202.51024531,0%201.68181818,0%20Z%20M1.68181818,1%20C1.95796056,1%202.18181818,1.22385763%202.18181818,1.5%20L2.18181818,11.5%20C2.18181818,11.7761424%201.95796056,12%201.68181818,12%20L1.5,12%20C1.22385763,12%201,11.7761424%201,11.5%20L1,1.5%20C1,1.22385763%201.22385763,1%201.5,1%20L1.68181818,1%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M13.6818182,0%20L13.5,0%20C12.6715729,0%2012,0.671572875%2012,1.5%20L12,11.5%20C12,12.3284271%2012.6715729,13%2013.5,13%20L13.6818182,13%20C14.5102453,13%2015.1818182,12.3284271%2015.1818182,11.5%20L15.1818182,1.5%20C15.1818182,0.671572875%2014.5102453,0%2013.6818182,0%20Z%20M13.6818182,1%20C13.9579606,1%2014.1818182,1.22385763%2014.1818182,1.5%20L14.1818182,11.5%20C14.1818182,11.7761424%2013.9579606,12%2013.6818182,12%20L13.5,12%20C13.2238576,12%2013,11.7761424%2013,11.5%20L13,1.5%20C13,1.22385763%2013.2238576,1%2013.5,1%20L13.6818182,1%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M12.5,2.18181818%20L2.68181818,2.18181818%20C2.40567581,2.18181818%202.18181818,2.40567581%202.18181818,2.68181818%20L2.18181818,10.3181818%20C2.18181818,10.5943242%202.40567581,10.8181818%202.68181818,10.8181818%20L12.5,10.8181818%20C12.7761424,10.8181818%2013,10.5943242%2013,10.3181818%20L13,2.68181818%20C13,2.40567581%2012.7761424,2.18181818%2012.5,2.18181818%20Z%20M11.9998182,3.18181818%20L11.9998182,9.81781818%20L3.18181818,9.81781818%20L3.18181818,3.18181818%20L11.9998182,3.18181818%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M10.1685622,4%20C10.4447046,4%2010.6685622,4.22385763%2010.6685622,4.5%20L10.6685622,8.5%20C10.6685622,8.77614237%2010.4447046,9%2010.1685622,9%20C9.89241983,9%209.6685622,8.77614237%209.6685622,8.5%20L9.6685622,4.5%20C9.6685622,4.22385763%209.89241983,4%2010.1685622,4%20Z'%20id='路径-5'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M7.92661705,4%20C8.20275942,4%208.42661705,4.22385763%208.42661705,4.5%20L8.42661705,6.7495%20C8.42661705,7.02564237%208.20275942,7.2495%207.92661705,7.2495%20C7.65047467,7.2495%207.42661705,7.02564237%207.42661705,6.7495%20L7.42661705,4.5%20C7.42661705,4.22385763%207.65047467,4%207.92661705,4%20Z'%20id='路径-6'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",_K="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-209-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='11.8906642%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%234182D9'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-209-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cg%20id='编组-2'%20transform='translate(1.500000,%202.500000)'%3e%3cpolygon%20id='path'%20fill='url(%23linearGradient-1)'%20points='0.5%202.68181818%2014.5%202.68181818%2014.5%2012.0432579%2012.4423783%2012.0432579%2012.4423783%2010.3181818%203.10929363%2010.3181818%203.10929363%2012.0432579%200.5%2012.0432579'%3e%3c/polygon%3e%3cpath%20d='M1.68181818,0%20L1.5,0%20C0.671572875,0%200,0.671572875%200,1.5%20L0,11.5%20C0,12.3284271%200.671572875,13%201.5,13%20L1.68181818,13%20C2.51024531,13%203.18181818,12.3284271%203.18181818,11.5%20L3.18181818,1.5%20C3.18181818,0.671572875%202.51024531,0%201.68181818,0%20Z%20M1.68181818,1%20C1.95796056,1%202.18181818,1.22385763%202.18181818,1.5%20L2.18181818,11.5%20C2.18181818,11.7761424%201.95796056,12%201.68181818,12%20L1.5,12%20C1.22385763,12%201,11.7761424%201,11.5%20L1,1.5%20C1,1.22385763%201.22385763,1%201.5,1%20L1.68181818,1%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M13.6818182,0%20L13.5,0%20C12.6715729,0%2012,0.671572875%2012,1.5%20L12,11.5%20C12,12.3284271%2012.6715729,13%2013.5,13%20L13.6818182,13%20C14.5102453,13%2015.1818182,12.3284271%2015.1818182,11.5%20L15.1818182,1.5%20C15.1818182,0.671572875%2014.5102453,0%2013.6818182,0%20Z%20M13.6818182,1%20C13.9579606,1%2014.1818182,1.22385763%2014.1818182,1.5%20L14.1818182,11.5%20C14.1818182,11.7761424%2013.9579606,12%2013.6818182,12%20L13.5,12%20C13.2238576,12%2013,11.7761424%2013,11.5%20L13,1.5%20C13,1.22385763%2013.2238576,1%2013.5,1%20L13.6818182,1%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M12.5,2.18181818%20L2.68181818,2.18181818%20C2.40567581,2.18181818%202.18181818,2.40567581%202.18181818,2.68181818%20L2.18181818,10.3181818%20C2.18181818,10.5943242%202.40567581,10.8181818%202.68181818,10.8181818%20L12.5,10.8181818%20C12.7761424,10.8181818%2013,10.5943242%2013,10.3181818%20L13,2.68181818%20C13,2.40567581%2012.7761424,2.18181818%2012.5,2.18181818%20Z%20M11.9998182,3.18181818%20L11.9998182,9.81781818%20L3.18181818,9.81781818%20L3.18181818,3.18181818%20L11.9998182,3.18181818%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M10.1685622,4%20C10.4447046,4%2010.6685622,4.22385763%2010.6685622,4.5%20L10.6685622,8.5%20C10.6685622,8.77614237%2010.4447046,9%2010.1685622,9%20C9.89241983,9%209.6685622,8.77614237%209.6685622,8.5%20L9.6685622,4.5%20C9.6685622,4.22385763%209.89241983,4%2010.1685622,4%20Z'%20id='路径-5'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M7.92661705,4%20C8.20275942,4%208.42661705,4.22385763%208.42661705,4.5%20L8.42661705,6.7495%20C8.42661705,7.02564237%208.20275942,7.2495%207.92661705,7.2495%20C7.65047467,7.2495%207.42661705,7.02564237%207.42661705,6.7495%20L7.42661705,4.5%20C7.42661705,4.22385763%207.65047467,4%207.92661705,4%20Z'%20id='路径-6'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",wK="https://static.kongfz.com/search-v3/assets/images/icon-210-CID4Zr5D.svg",CK="https://static.kongfz.com/search-v3/assets/images/icon-210-active-DpXLVNiE.svg",AK="https://static.kongfz.com/search-v3/assets/images/icon-211-T4WV4kWk.svg",SK="https://static.kongfz.com/search-v3/assets/images/icon-211-active-OY89SXzP.svg",TK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-212%3c/title%3e%3cg%20id='icon-212'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='rect'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M13.5,4.9%20L3.7,4.9%20C2.98202742,4.9%202.4,5.48202138%202.4,6.2%20L2.4,15.3%20C2.4,16.0179786%202.98202742,16.6%203.7,16.6%20L13.5,16.6%20C14.2179808,16.6%2014.8,16.0179808%2014.8,15.3%20L14.8,6.2%20C14.8,5.48201915%2014.2179808,4.9%2013.5,4.9%20Z%20M13.5,6.1%20C13.5552392,6.1%2013.6,6.14476085%2013.6,6.2%20L13.6,15.3%20C13.6,15.3552392%2013.5552392,15.4%2013.5,15.4%20L3.7,15.4%20C3.64476633,15.4%203.6,15.3552341%203.6,15.3%20L3.6,6.2%20C3.6,6.14476587%203.64476633,6.1%203.7,6.1%20L13.5,6.1%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M8.6,1.4%20C10.2844698,1.4%2011.65,2.76553157%2011.65,4.45%20L11.65,6.9%20C11.65,7.23137085%2011.3813708,7.5%2011.05,7.5%20C10.7186292,7.5%2010.45,7.23137085%2010.45,6.9%20L10.45,4.45%20C10.45,3.42827301%209.62172781,2.6%208.6,2.6%20C7.57827219,2.6%206.75,3.42827301%206.75,4.45%20L6.75,6.9%20C6.75,7.23137085%206.48137085,7.5%206.15,7.5%20C5.81862915,7.5%205.55,7.23137085%205.55,6.9%20L5.55,4.45%20C5.55,2.76553157%206.91553023,1.4%208.6,1.4%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",EK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-212-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='11.8906642%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%234182D9'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-212-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='矩形'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cg%20id='编组'%20transform='translate(2.500000,%201.500000)'%3e%3cpath%20d='M11,5.5%20L1.2,5.5%20C0.8134005,5.5%200.5,5.76862%200.5,6.1%20L0.5,13.9%20C0.5,14.23138%200.8134005,14.5%201.2,14.5%20L11,14.5%20C11.38661,14.5%2011.7,14.23138%2011.7,13.9%20L11.7,6.1%20C11.7,5.76862%2011.38661,5.5%2011,5.5%20Z'%20id='路径'%20fill='url(%23linearGradient-1)'%3e%3c/path%3e%3cpath%20d='M11,3.5%20L1.2,3.5%20C0.537255658,3.5%200,4.03725009%200,4.7%20L0,13.8%20C0,14.4627499%200.537255658,15%201.2,15%20L11,15%20C11.6627524,15%2012.2,14.4627524%2012.2,13.8%20L12.2,4.7%20C12.2,4.03724763%2011.6627524,3.5%2011,3.5%20Z%20M11,4.5%20C11.1104676,4.5%2011.2,4.58953237%2011.2,4.7%20L11.2,13.8%20C11.2,13.9104676%2011.1104676,14%2011,14%20L1.2,14%20C1.08953809,14%201,13.9104628%201,13.8%20L1,4.7%20C1,4.58953716%201.08953809,4.5%201.2,4.5%20L11,4.5%20Z'%20id='路径'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M6.1,0%20C7.72924128,0%209.05,1.32076003%209.05,2.95%20L9.05,5.4%20C9.05,5.67614237%208.82614237,5.9%208.55,5.9%20C8.27385763,5.9%208.05,5.67614237%208.05,5.4%20L8.05,2.95%20C8.05,1.87304456%207.17695631,1%206.1,1%20C5.02304369,1%204.15,1.87304456%204.15,2.95%20L4.15,5.4%20C4.15,5.67614237%203.92614237,5.9%203.65,5.9%20C3.37385763,5.9%203.15,5.67614237%203.15,5.4%20L3.15,2.95%20C3.15,1.32076003%204.47075872,0%206.1,0%20Z'%20id='路径'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",IK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-213%3c/title%3e%3cg%20id='icon-213'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M16,2.5%20L2,2.5%20C1.72385763,2.5%201.5,2.72385763%201.5,3%20L1.5,12.1%20C1.5,12.3761424%201.72385763,12.6%202,12.6%20L16,12.6%20C16.2761424,12.6%2016.5,12.3761424%2016.5,12.1%20L16.5,3%20C16.5,2.72385763%2016.2761424,2.5%2016,2.5%20Z%20M15.5,3.5%20L15.5,11.6%20L2.5,11.6%20L2.5,3.5%20L15.5,3.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9,11.6%20C9.27614237,11.6%209.5,11.8238576%209.5,12.1%20L9.5,14.2%20C9.5,14.4761424%209.27614237,14.7%209,14.7%20C8.72385763,14.7%208.5,14.4761424%208.5,14.2%20L8.5,12.1%20C8.5,11.8238576%208.72385763,11.6%209,11.6%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9,4.5%20C8.18691355,4.5%207.52777778,5.15913642%207.52777778,5.97222222%20C7.52777778,6.78530904%208.18691318,7.44444444%209,7.44444444%20C9.81308682,7.44444444%2010.4722222,6.78530904%2010.4722222,5.97222222%20C10.4722222,5.15913642%209.81308645,4.5%209,4.5%20Z%20M9,5.5%20C9.26080148,5.5%209.47222222,5.71142095%209.47222222,5.97222222%20C9.47222222,6.23302429%209.26080207,6.44444444%209,6.44444444%20C8.73919793,6.44444444%208.52777778,6.23302429%208.52777778,5.97222222%20C8.52777778,5.71142095%208.73919852,5.5%209,5.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M7.91715842,7.55721848%20C7.33282073,7.56414686%207.14301509,7.59698412%206.87969583,7.73114416%20C6.57653335,7.88561338%206.33006253,8.13208942%206.17559987,8.4352429%20C6.04380732,8.6939006%206.00857503,8.92622384%206.00155631,9.44995491%20L5.99999995,9.99977111%20C5.9998736,10.2760028%206.22376824,10.5%206.49999995,10.5%20L11.4999999,10.5%20C11.7761424,10.5%2011.9999999,10.2761424%2011.9999999,10%20L11.9983371,9.4726833%20C11.9914087,8.88837629%2011.9585714,8.69857065%2011.8244114,8.43525138%20C11.6699406,8.13208981%2011.4234657,7.88561497%2011.1203174,7.73115087%20C10.8616493,7.59936061%2010.6293275,7.56413008%2010.1055995,7.55711177%20L7.91715842,7.55721848%20Z%20M8.11891605,8.55584692%20L9.91710625,8.55571986%20L10.199209,8.55915385%20C10.4782769,8.56631574%2010.5936788,8.58514351%2010.6663347,8.6221614%20C10.781312,8.68074614%2010.8748094,8.77424352%2010.9334009,8.88923403%20L10.9459207,8.91687604%20C10.972698,8.98399828%2010.9871058,9.08229517%2010.9941601,9.29722079%20L10.998,9.49955556%20L7.001,9.49955556%20L7.00740172,9.24608691%20C7.01651133,9.04518489%207.03487729,8.95150534%207.06660752,8.88923117%20C7.12519927,8.77423709%207.21869013,8.68074426%207.33367608,8.6221559%20C7.42968287,8.57324085%207.5738417,8.5580406%208.11891605,8.55584692%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M13.2,14.4%20C13.4761424,14.4%2013.7,14.6238576%2013.7,14.9%20C13.7,15.1761424%2013.4761424,15.4%2013.2,15.4%20L4.8,15.4%20C4.52385763,15.4%204.3,15.1761424%204.3,14.9%20C4.3,14.6238576%204.52385763,14.4%204.8,14.4%20L13.2,14.4%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",kK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-213-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='11.8906642%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%234182D9'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-213-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpolygon%20id='path'%20fill='url(%23linearGradient-1)'%20points='4.8%2012.1%202%2012.1%202%205.1%2016%205.1%2016%2012.1%2013.2%2012.1'%3e%3c/polygon%3e%3cpath%20d='M16,2.5%20L2,2.5%20C1.72385763,2.5%201.5,2.72385763%201.5,3%20L1.5,12.1%20C1.5,12.3761424%201.72385763,12.6%202,12.6%20L16,12.6%20C16.2761424,12.6%2016.5,12.3761424%2016.5,12.1%20L16.5,3%20C16.5,2.72385763%2016.2761424,2.5%2016,2.5%20Z%20M15.5,3.5%20L15.5,11.6%20L2.5,11.6%20L2.5,3.5%20L15.5,3.5%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9,11.6%20C9.27614237,11.6%209.5,11.8238576%209.5,12.1%20L9.5,14.2%20C9.5,14.4761424%209.27614237,14.7%209,14.7%20C8.72385763,14.7%208.5,14.4761424%208.5,14.2%20L8.5,12.1%20C8.5,11.8238576%208.72385763,11.6%209,11.6%20Z'%20id='path'%20fill='%23105FB3'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9,4.5%20C8.18691355,4.5%207.52777778,5.15913642%207.52777778,5.97222222%20C7.52777778,6.78530904%208.18691318,7.44444444%209,7.44444444%20C9.81308682,7.44444444%2010.4722222,6.78530904%2010.4722222,5.97222222%20C10.4722222,5.15913642%209.81308645,4.5%209,4.5%20Z%20M9,5.5%20C9.26080148,5.5%209.47222222,5.71142095%209.47222222,5.97222222%20C9.47222222,6.23302429%209.26080207,6.44444444%209,6.44444444%20C8.73919793,6.44444444%208.52777778,6.23302429%208.52777778,5.97222222%20C8.52777778,5.71142095%208.73919852,5.5%209,5.5%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M7.91715842,7.55721848%20C7.33282073,7.56414686%207.14301509,7.59698412%206.87969583,7.73114416%20C6.57653335,7.88561338%206.33006253,8.13208942%206.17559987,8.4352429%20C6.04380732,8.6939006%206.00857503,8.92622384%206.00155631,9.44995491%20L5.99999995,9.99977111%20C5.9998736,10.2760028%206.22376824,10.5%206.49999995,10.5%20L11.4999999,10.5%20C11.7761424,10.5%2011.9999999,10.2761424%2011.9999999,10%20L11.9983371,9.4726833%20C11.9914087,8.88837629%2011.9585714,8.69857065%2011.8244114,8.43525138%20C11.6699406,8.13208981%2011.4234657,7.88561497%2011.1203174,7.73115087%20C10.8616493,7.59936061%2010.6293275,7.56413008%2010.1055995,7.55711177%20L7.91715842,7.55721848%20Z%20M8.11891605,8.55584692%20L9.91710625,8.55571986%20L10.199209,8.55915385%20C10.4782769,8.56631574%2010.5936788,8.58514351%2010.6663347,8.6221614%20C10.781312,8.68074614%2010.8748094,8.77424352%2010.9334009,8.88923403%20L10.9459207,8.91687604%20C10.972698,8.98399828%2010.9871058,9.08229517%2010.9941601,9.29722079%20L10.998,9.49955556%20L7.001,9.49955556%20L7.00740172,9.24608691%20C7.01651133,9.04518489%207.03487729,8.95150534%207.06660752,8.88923117%20C7.12519927,8.77423709%207.21869013,8.68074426%207.33367608,8.6221559%20C7.42968287,8.57324085%207.5738417,8.5580406%208.11891605,8.55584692%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M13.2,14.4%20C13.4761424,14.4%2013.7,14.6238576%2013.7,14.9%20C13.7,15.1761424%2013.4761424,15.4%2013.2,15.4%20L4.8,15.4%20C4.52385763,15.4%204.3,15.1761424%204.3,14.9%20C4.3,14.6238576%204.52385763,14.4%204.8,14.4%20L13.2,14.4%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",xK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-214%3c/title%3e%3cg%20id='icon-214'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M14.875,3.5%20L8,3.5%20C7.3786722,3.5%206.875,4.00367742%206.875,4.625%20L6.875,11.5%20C6.875,12.1213299%207.37867013,12.625%208,12.625%20L14.875,12.625%20C15.4963299,12.625%2016,12.1213299%2016,11.5%20L16,4.625%20C16,4.00367742%2015.4963278,3.5%2014.875,3.5%20Z%20M14.875,4.5%20C14.9440407,4.5%2015,4.55595985%2015,4.625%20L15,11.5%20C15,11.5690451%2014.9440451,11.625%2014.875,11.625%20L8,11.625%20C7.93095487,11.625%207.875,11.5690451%207.875,11.5%20L7.875,4.625%20C7.875,4.55595985%207.93095927,4.5%208,4.5%20L14.875,4.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M7.375,7.25%20L5.1875,7.25%20C5.0618055,7.25%204.94072204,7.29734147%204.84836104,7.38259727%20L2.66086104,9.40181602%20C2.55831928,9.49646939%202.5,9.62966921%202.5,9.76921875%20L2.5,12.125%20C2.5,12.4011424%202.72385763,12.625%203,12.625%20L7.375,12.625%20C7.65114237,12.625%207.875,12.4011424%207.875,12.125%20L7.875,7.75%20C7.875,7.47385763%207.65114237,7.25%207.375,7.25%20Z%20M6.875,8.25%20L6.875,11.625%20L3.5,11.625%20L3.5,9.987%20L5.382,8.25%20L6.875,8.25%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M7.375,12.25%20C7.65114237,12.25%207.875,12.4738576%207.875,12.75%20C7.875,13.7164861%207.09148612,14.5%206.125,14.5%20C5.15851388,14.5%204.375,13.7164861%204.375,12.75%20C4.375,12.4738576%204.59885763,12.25%204.875,12.25%20C5.15114237,12.25%205.375,12.4738576%205.375,12.75%20C5.375,13.1642014%205.71079862,13.5%206.125,13.5%20C6.50468459,13.5%206.8184891,13.2178359%206.86815315,12.851768%20L6.875,12.75%20C6.875,12.4738576%207.09885763,12.25%207.375,12.25%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M14.25,12.15%20C14.5813708,12.15%2014.85,12.4186292%2014.85,12.75%20C14.85,13.7717146%2014.0217146,14.6%2013,14.6%20C11.9782854,14.6%2011.15,13.7717146%2011.15,12.75%20C11.15,12.4186292%2011.4186292,12.15%2011.75,12.15%20C12.0482338,12.15%2012.2956468,12.3675896%2012.342147,12.6526769%20L12.35,12.75%20C12.35,13.1089729%2012.6410271,13.4%2013,13.4%20C13.326339,13.4%2013.5965244,13.1594817%2013.6429521,12.8460495%20L13.65,12.75%20C13.65,12.4186292%2013.9186292,12.15%2014.25,12.15%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",LK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-214-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='11.8906642%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%234182D9'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-214-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M14.875,6.125%20L8,6.125%20C7.6548125,6.125%207.375,6.33163769%207.375,6.58653846%20L7.375,7.89526218%20L5.35847231,8.0625%20C3.99769523,8.97712635%203.31730669,9.488523%203.31730669,9.59668997%20C3.31730669,10.1877749%203.31730669,10.8766988%203.31730669,11.6634615%20C3.31730669,11.9183692%207.6548125,12.125%208,12.125%20L14.875,12.125%20C15.2201875,12.125%2015.5,11.9183692%2015.5,11.6634615%20L15.5,6.58653846%20C15.5,6.33163769%2015.2201875,6.125%2014.875,6.125%20Z'%20id='path'%20fill='url(%23linearGradient-1)'%3e%3c/path%3e%3cpath%20d='M14.875,3.5%20L8,3.5%20C7.3786722,3.5%206.875,4.00367742%206.875,4.625%20L6.875,11.5%20C6.875,12.1213299%207.37867013,12.625%208,12.625%20L14.875,12.625%20C15.4963299,12.625%2016,12.1213299%2016,11.5%20L16,4.625%20C16,4.00367742%2015.4963278,3.5%2014.875,3.5%20Z%20M14.875,4.5%20C14.9440407,4.5%2015,4.55595985%2015,4.625%20L15,11.5%20C15,11.5690451%2014.9440451,11.625%2014.875,11.625%20L8,11.625%20C7.93095487,11.625%207.875,11.5690451%207.875,11.5%20L7.875,4.625%20C7.875,4.55595985%207.93095927,4.5%208,4.5%20L14.875,4.5%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M7.375,7.25%20L5.1875,7.25%20C5.0618055,7.25%204.94072204,7.29734147%204.84836104,7.38259727%20L2.66086104,9.40181602%20C2.55831928,9.49646939%202.5,9.62966921%202.5,9.76921875%20L2.5,12.125%20C2.5,12.4011424%202.72385763,12.625%203,12.625%20L7.375,12.625%20C7.65114237,12.625%207.875,12.4011424%207.875,12.125%20L7.875,7.75%20C7.875,7.47385763%207.65114237,7.25%207.375,7.25%20Z%20M6.875,8.25%20L6.875,11.625%20L3.5,11.625%20L3.5,9.987%20L5.382,8.25%20L6.875,8.25%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M7.375,12.25%20C7.65114237,12.25%207.875,12.4738576%207.875,12.75%20C7.875,13.7164861%207.09148612,14.5%206.125,14.5%20C5.15851388,14.5%204.375,13.7164861%204.375,12.75%20C4.375,12.4738576%204.59885763,12.25%204.875,12.25%20C5.15114237,12.25%205.375,12.4738576%205.375,12.75%20C5.375,13.1642014%205.71079862,13.5%206.125,13.5%20C6.50468459,13.5%206.8184891,13.2178359%206.86815315,12.851768%20L6.875,12.75%20C6.875,12.4738576%207.09885763,12.25%207.375,12.25%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M14.25,12.15%20C14.5813708,12.15%2014.85,12.4186292%2014.85,12.75%20C14.85,13.7717146%2014.0217146,14.6%2013,14.6%20C11.9782854,14.6%2011.15,13.7717146%2011.15,12.75%20C11.15,12.4186292%2011.4186292,12.15%2011.75,12.15%20C12.0482338,12.15%2012.2956468,12.3675896%2012.342147,12.6526769%20L12.35,12.75%20C12.35,13.1089729%2012.6410271,13.4%2013,13.4%20C13.326339,13.4%2013.5965244,13.1594817%2013.6429521,12.8460495%20L13.65,12.75%20C13.65,12.4186292%2013.9186292,12.15%2014.25,12.15%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",OK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-215%3c/title%3e%3cg%20id='icon-215'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M14.6666667,3.5%20C15.3110067,3.5%2015.8333333,4.022332%2015.8333333,4.66666667%20L15.8333333,13.3333333%20C15.8333333,13.9776757%2015.311009,14.5%2014.6666667,14.5%20L12,14.5%20C11.7238576,14.5%2011.5,14.2761424%2011.5,14%20C11.5,13.7238576%2011.7238576,13.5%2012,13.5%20L14.6666667,13.5%20C14.7587243,13.5%2014.8333333,13.425391%2014.8333333,13.3333333%20L14.8333333,4.66666667%20C14.8333333,4.57461443%2014.7587197,4.5%2014.6666667,4.5%20L2.66666667,4.5%20C2.57461904,4.5%202.5,4.57461904%202.5,4.66666667%20L2.5,13.3333333%20C2.5,13.4253863%202.57461443,13.5%202.66666667,13.5%20L9.33333333,13.5%20C9.60947571,13.5%209.83333333,13.7238576%209.83333333,14%20C9.83333333,14.2761424%209.60947571,14.5%209.33333333,14.5%20L2.66666667,14.5%20C2.022332,14.5%201.5,13.9776734%201.5,13.3333333%20L1.5,4.66666667%20C1.5,4.02233429%202.02233429,3.5%202.66666667,3.5%20L14.6666667,3.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M12.6666667,6.16666667%20C12.942809,6.16666667%2013.1666667,6.39052429%2013.1666667,6.66666667%20C13.1666667,6.94280904%2012.942809,7.16666667%2012.6666667,7.16666667%20L4.66666667,7.16666667%20C4.39052429,7.16666667%204.16666667,6.94280904%204.16666667,6.66666667%20C4.16666667,6.39052429%204.39052429,6.16666667%204.66666667,6.16666667%20L12.6666667,6.16666667%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M6.66666667,8.5%20C6.94280904,8.5%207.16666667,8.72385763%207.16666667,9%20C7.16666667,9.27614237%206.94280904,9.5%206.66666667,9.5%20L4.66666667,9.5%20C4.39052429,9.5%204.16666667,9.27614237%204.16666667,9%20C4.16666667,8.72385763%204.39052429,8.5%204.66666667,8.5%20L6.66666667,8.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M6,10.8333333%20C6.27614237,10.8333333%206.5,11.057191%206.5,11.3333333%20C6.5,11.6094757%206.27614237,11.8333333%206,11.8333333%20L4.66666667,11.8333333%20C4.39052429,11.8333333%204.16666667,11.6094757%204.16666667,11.3333333%20C4.16666667,11.057191%204.39052429,10.8333333%204.66666667,10.8333333%20L6,10.8333333%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M10.6666667,8.5%20C9.28595763,8.5%208.16666667,9.61929096%208.16666667,11%20C8.16666667,12.380709%209.28595763,13.5%2010.6666667,13.5%20C12.0473757,13.5%2013.1666667,12.380709%2013.1666667,11%20C13.1666667,9.61929096%2012.0473757,8.5%2010.6666667,8.5%20Z%20M10.6666667,9.5%20C11.495091,9.5%2012.1666667,10.1715757%2012.1666667,11%20C12.1666667,11.8284243%2011.495091,12.5%2010.6666667,12.5%20C9.83824237,12.5%209.16666667,11.8284243%209.16666667,11%20C9.16666667,10.1715757%209.83824237,9.5%2010.6666667,9.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M11.6568813,12.1261631%20L11.5993401,12.1916152%20C11.5890343,12.2054196%2011.5355095,12.2559865%2011.4352807,12.315563%20C11.2439482,12.4292921%2010.9926569,12.5%2010.6666667,12.5%20C10.2248749,12.5%209.94138056,12.3831943%209.77949462,12.2422018%20L9.71366627,12.1754282%20C9.41198333,11.8219164%208.83333333,12.0352601%208.83333333,12.5%20L8.83333333,16%20L8.84007217,16.0833416%20C8.89316385,16.4064689%209.2500627,16.6006523%209.55694013,16.4472136%20L10.6663333,15.8917333%20L11.7763932,16.4472136%20C12.1088437,16.6134389%2012.5,16.371691%2012.5,16%20L12.5,12.4907333%20C12.5,12.0397356%2011.9613449,11.8326555%2011.6568813,12.1261631%20Z%20M11.4993333,13.3737333%20L11.4993333,15.1907333%20L10.8902735,14.8861197%20L10.8032233,14.8523364%20C10.6842322,14.8185531%2010.5556709,14.8298142%2010.4430599,14.8861197%20L9.83333333,15.1907333%20L9.83333333,13.3797333%20L9.89115314,13.3985632%20C10.1186258,13.4632665%2010.3768021,13.5%2010.6666667,13.5%20C10.9569532,13.5%2011.2209278,13.4607291%2011.4580878,13.3888993%20L11.4993333,13.3737333%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",NK="https://static.kongfz.com/search-v3/assets/images/icon-215-active-DjCUd_Ox.svg",RK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-216%3c/title%3e%3cg%20id='icon-216'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M14.4,3.5%20L3.60000002,3.5%20C2.99248679,3.5%202.5,3.99248679%202.5,4.60000002%20L2.5,12.4%20L2.50645465,12.5198571%20C2.56617613,13.0709893%203.03298767,13.5%203.60000002,13.5%20L7.293,13.5%20L8.64644661,14.8535534%20L8.7156945,14.9114088%20C8.91056264,15.0464049%209.17998704,15.0271197%209.35355339,14.8535534%20L10.706,13.5%20L14.4,13.5%20C15.0075132,13.5%2015.5,13.0075132%2015.5,12.4%20L15.5,4.60000002%20C15.5,3.99248679%2015.0075132,3.5%2014.4,3.5%20Z%20M14.4,4.5%20C14.4552285,4.5%2014.5,4.54477154%2014.5,4.60000002%20L14.5,12.4%20C14.5,12.4552285%2014.4552285,12.5%2014.4,12.5%20L10.5,12.5%20L10.4213106,12.5062287%20C10.3178573,12.522715%2010.2214612,12.5714321%2010.1464466,12.6464466%20L9,13.793%20L7.85355339,12.6464466%20C7.7597852,12.5526784%207.63260824,12.5%207.5,12.5%20L3.60000002,12.5%20C3.54477154,12.5%203.5,12.4552285%203.5,12.4%20L3.5,4.60000002%20C3.5,4.54477154%203.54477154,4.5%203.60000002,4.5%20L14.4,4.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9,8%20C9.27614237,8%209.5,8.22385763%209.5,8.5%20L9.5,11.2%20C9.5,11.4761424%209.27614237,11.7%209,11.7%20C8.72385763,11.7%208.5,11.4761424%208.5,11.2%20L8.5,8.5%20C8.5,8.22385763%208.72385763,8%209,8%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9,6.3%20C9.33137085,6.3%209.6,6.56862915%209.6,6.9%20C9.6,7.23137085%209.33137085,7.5%209,7.5%20C8.66862915,7.5%208.4,7.23137085%208.4,6.9%20C8.4,6.56862915%208.66862915,6.3%209,6.3%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",DK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-216-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='11.8906642%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%234182D9'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-216-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpolygon%20id='path'%20fill='url(%23linearGradient-1)'%20points='15%205.5%203%205.5%203%2013.2142857%207.5%2013.2142857%209%2014.5%2010.5%2013.2142857%2015%2013.2142857'%3e%3c/polygon%3e%3cpath%20d='M14.4,3.5%20L3.60000002,3.5%20C2.99248679,3.5%202.5,3.99248679%202.5,4.60000002%20L2.5,12.4%20L2.50645465,12.5198571%20C2.56617613,13.0709893%203.03298767,13.5%203.60000002,13.5%20L7.293,13.5%20L8.64644661,14.8535534%20L8.7156945,14.9114088%20C8.91056264,15.0464049%209.17998704,15.0271197%209.35355339,14.8535534%20L10.706,13.5%20L14.4,13.5%20C15.0075132,13.5%2015.5,13.0075132%2015.5,12.4%20L15.5,4.60000002%20C15.5,3.99248679%2015.0075132,3.5%2014.4,3.5%20Z%20M14.4,4.5%20C14.4552285,4.5%2014.5,4.54477154%2014.5,4.60000002%20L14.5,12.4%20C14.5,12.4552285%2014.4552285,12.5%2014.4,12.5%20L10.5,12.5%20L10.4213106,12.5062287%20C10.3178573,12.522715%2010.2214612,12.5714321%2010.1464466,12.6464466%20L9,13.793%20L7.85355339,12.6464466%20C7.7597852,12.5526784%207.63260824,12.5%207.5,12.5%20L3.60000002,12.5%20C3.54477154,12.5%203.5,12.4552285%203.5,12.4%20L3.5,4.60000002%20C3.5,4.54477154%203.54477154,4.5%203.60000002,4.5%20L14.4,4.5%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9,8%20C9.27614237,8%209.5,8.22385763%209.5,8.5%20L9.5,11.2%20C9.5,11.4761424%209.27614237,11.7%209,11.7%20C8.72385763,11.7%208.5,11.4761424%208.5,11.2%20L8.5,8.5%20C8.5,8.22385763%208.72385763,8%209,8%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9,6.3%20C9.33137085,6.3%209.6,6.56862915%209.6,6.9%20C9.6,7.23137085%209.33137085,7.5%209,7.5%20C8.66862915,7.5%208.4,7.23137085%208.4,6.9%20C8.4,6.56862915%208.66862915,6.3%209,6.3%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",BK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-217%3c/title%3e%3cg%20id='icon-217'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M4.76917664,3.2754031%20C5.35496308,2.68961666%206.30471055,2.68961666%206.89049699,3.2754031%20L9.45223682,5.83714293%20C9.64749896,6.03240507%209.64749896,6.34898756%209.45223682,6.54424971%20C9.25697467,6.73951186%208.94039218,6.73951186%208.74513004,6.54424971%20L6.18339021,3.98250988%20C5.98812806,3.78724773%205.67154557,3.78724773%205.47628343,3.98250988%20L1.97053883,7.48825447%20C1.77856593,7.68022738%201.77486308,7.99031557%201.9621971,8.18681788%20L8.65576185,15.2072176%20C8.85522459,15.3981867%209.17173219,15.3913014%209.36270138,15.1918386%20L13.6455852,10.7184692%20C13.8365543,10.5190064%2014.1530619,10.512121%2014.3525247,10.7030902%20C14.5519874,10.8940594%2014.5588728,11.210567%2014.3679036,11.4100297%20L10.0850198,15.8833992%20C9.54791901,16.4443881%208.67980867,16.4976048%208.08033624,16.0300042%20L7.94605024,15.9118376%20L1.23840684,8.87683793%20C0.67640479,8.28733098%200.687513337,7.35706641%201.26343205,6.78114769%20L4.76917664,3.2754031%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M11.3068699,3.2754031%20L6.85398306,7.72828991%20C6.74090795,7.84136501%206.64680188,7.97193022%206.5752869,8.11496017%20C6.20781517,8.84990363%206.50570987,9.74358771%207.24065332,10.1110594%20L7.40568383,10.185976%20C8.29522608,10.5501097%209.32480617,10.3491328%2010.0127248,9.66121417%20L11.1169988,8.55621356%20L13.625665,11.4232185%20C13.8161256,11.6408878%2014.1509888,11.6520376%2014.3555067,11.4475196%20L16.9172466,8.8857798%20C17.503033,8.29999336%2017.503033,7.35024589%2016.9172466,6.76445945%20L13.4281902,3.2754031%20C12.8424038,2.68961666%2011.8926563,2.68961666%2011.3068699,3.2754031%20Z%20M12.7210834,3.98250988%20L16.2101398,7.47156623%20L16.2679952,7.54081412%20C16.4029913,7.73568226%2016.3837061,8.00510666%2016.2101398,8.17867302%20L14.0259988,10.3622136%20L11.5180009,7.49586732%20C11.3275403,7.27819802%2010.9926771,7.26704829%2010.7881592,7.47156623%20L9.30561802,8.95410739%20C8.87906474,9.38066067%208.22741889,9.48640823%207.68786692,9.21663225%20C7.44690196,9.09614977%207.34923161,8.80313873%207.46971409,8.56217377%20C7.49316162,8.51527872%207.52401605,8.47247048%207.56108984,8.43539669%20L12.0139766,3.98250988%20C12.2092388,3.78724773%2012.5258213,3.78724773%2012.7210834,3.98250988%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9.15373586,12.783442%20C9.34899801,12.5881798%209.6655805,12.5881798%209.86084264,12.783442%20L11.0866601,14.0092595%20C11.2819223,14.2045216%2011.2819223,14.5211041%2011.0866601,14.7163662%20C10.891398,14.9116284%2010.5748155,14.9116284%2010.3795533,14.7163662%20L9.15373586,13.4905488%20C8.95847372,13.2952866%208.95847372,12.9787041%209.15373586,12.783442%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M10.7881592,11.1490187%20C10.9834213,10.9537565%2011.3000038,10.9537565%2011.495266,11.1490187%20L12.7210834,12.3748362%20C12.9163456,12.5700983%2012.9163456,12.8866808%2012.7210834,13.0819429%20C12.5258213,13.2772051%2012.2092388,13.2772051%2012.0139766,13.0819429%20L10.7881592,11.8561255%20C10.592897,11.6608633%2010.592897,11.3442808%2010.7881592,11.1490187%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",$K="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-217-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='23.7269479%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%234182D9'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-217-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpolygon%20id='path'%20fill='url(%23linearGradient-1)'%20points='1.3240918%207.8%203.95485015%204.92260301%206.91799881%208.5%208.12149793%2010%2014.4235969%204.92260301%2016.7784361%207.8%209.13936659%2015.8117413'%3e%3c/polygon%3e%3cpath%20d='M4.76917664,3.2754031%20C5.35496308,2.68961666%206.30471055,2.68961666%206.89049699,3.2754031%20L9.45223682,5.83714293%20C9.64749896,6.03240507%209.64749896,6.34898756%209.45223682,6.54424971%20C9.25697467,6.73951186%208.94039218,6.73951186%208.74513004,6.54424971%20L6.18339021,3.98250988%20C5.98812806,3.78724773%205.67154557,3.78724773%205.47628343,3.98250988%20L1.97053883,7.48825447%20C1.77856593,7.68022738%201.77486308,7.99031557%201.9621971,8.18681788%20L8.65576185,15.2072176%20C8.85522459,15.3981867%209.17173219,15.3913014%209.36270138,15.1918386%20L13.6455852,10.7184692%20C13.8365543,10.5190064%2014.1530619,10.512121%2014.3525247,10.7030902%20C14.5519874,10.8940594%2014.5588728,11.210567%2014.3679036,11.4100297%20L10.0850198,15.8833992%20C9.54791901,16.4443881%208.67980867,16.4976048%208.08033624,16.0300042%20L7.94605024,15.9118376%20L1.23840684,8.87683793%20C0.67640479,8.28733098%200.687513337,7.35706641%201.26343205,6.78114769%20L4.76917664,3.2754031%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M11.3068699,3.2754031%20L6.85398306,7.72828991%20C6.74090795,7.84136501%206.64680188,7.97193022%206.5752869,8.11496017%20C6.20781517,8.84990363%206.50570987,9.74358771%207.24065332,10.1110594%20L7.40568383,10.185976%20C8.29522608,10.5501097%209.32480617,10.3491328%2010.0127248,9.66121417%20L11.1169988,8.55621356%20L13.625665,11.4232185%20C13.8161256,11.6408878%2014.1509888,11.6520376%2014.3555067,11.4475196%20L16.9172466,8.8857798%20C17.503033,8.29999336%2017.503033,7.35024589%2016.9172466,6.76445945%20L13.4281902,3.2754031%20C12.8424038,2.68961666%2011.8926563,2.68961666%2011.3068699,3.2754031%20Z%20M12.7210834,3.98250988%20L16.2101398,7.47156623%20L16.2679952,7.54081412%20C16.4029913,7.73568226%2016.3837061,8.00510666%2016.2101398,8.17867302%20L14.0259988,10.3622136%20L11.5180009,7.49586732%20C11.3275403,7.27819802%2010.9926771,7.26704829%2010.7881592,7.47156623%20L9.30561802,8.95410739%20C8.87906474,9.38066067%208.22741889,9.48640823%207.68786692,9.21663225%20C7.44690196,9.09614977%207.34923161,8.80313873%207.46971409,8.56217377%20C7.49316162,8.51527872%207.52401605,8.47247048%207.56108984,8.43539669%20L12.0139766,3.98250988%20C12.2092388,3.78724773%2012.5258213,3.78724773%2012.7210834,3.98250988%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9.15373586,12.783442%20C9.34899801,12.5881798%209.6655805,12.5881798%209.86084264,12.783442%20L11.0866601,14.0092595%20C11.2819223,14.2045216%2011.2819223,14.5211041%2011.0866601,14.7163662%20C10.891398,14.9116284%2010.5748155,14.9116284%2010.3795533,14.7163662%20L9.15373586,13.4905488%20C8.95847372,13.2952866%208.95847372,12.9787041%209.15373586,12.783442%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M10.7881592,11.1490187%20C10.9834213,10.9537565%2011.3000038,10.9537565%2011.495266,11.1490187%20L12.7210834,12.3748362%20C12.9163456,12.5700983%2012.9163456,12.8866808%2012.7210834,13.0819429%20C12.5258213,13.2772051%2012.2092388,13.2772051%2012.0139766,13.0819429%20L10.7881592,11.8561255%20C10.592897,11.6608633%2010.592897,11.3442808%2010.7881592,11.1490187%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",PK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-218%3c/title%3e%3cg%20id='icon-218'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpath%20d='M12.6,2.5%20L5,2.5%20C4.17157288,2.5%203.5,3.17157288%203.5,4%20L3.5,14%20C3.5,14.8284271%204.17157288,15.5%205,15.5%20L12.6,15.5%20C13.4284271,15.5%2014.1,14.8284271%2014.1,14%20L14.1,4%20C14.1,3.17157288%2013.4284271,2.5%2012.6,2.5%20Z%20M12.6,3.5%20C12.8761424,3.5%2013.1,3.72385763%2013.1,4%20L13.1,14%20C13.1,14.2761424%2012.8761424,14.5%2012.6,14.5%20L5,14.5%20C4.72385763,14.5%204.5,14.2761424%204.5,14%20L4.5,4%20C4.5,3.72385763%204.72385763,3.5%205,3.5%20L12.6,3.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9.1,2.5%20L6.4,2.5%20C6.12385763,2.5%205.9,2.72385763%205.9,3%20L5.9,7.8%20L5.9065899,7.88349186%20C5.96713181,8.25965359%206.431228,8.44121925%206.73218192,8.17370466%20L7.75,7.269%20L8.76781808,8.17370466%20C9.09026871,8.46032744%209.6,8.23142441%209.6,7.8%20L9.6,3%20C9.6,2.72385763%209.37614237,2.5%209.1,2.5%20Z%20M8.6,3.5%20L8.6,6.686%20L8.08218192,6.22629534%20L8.00701429,6.17104113%20C7.82287,6.06053271%207.58358072,6.07895078%207.41781808,6.22629534%20L6.9,6.686%20L6.9,3.5%20L8.6,3.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9.4,9.7%20C9.67614237,9.7%209.9,9.92385763%209.9,10.2%20C9.9,10.4761424%209.67614237,10.7%209.4,10.7%20L6.4,10.7%20C6.12385763,10.7%205.9,10.4761424%205.9,10.2%20C5.9,9.92385763%206.12385763,9.7%206.4,9.7%20L9.4,9.7%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M11.2,11.5%20C11.4761424,11.5%2011.7,11.7238576%2011.7,12%20C11.7,12.2761424%2011.4761424,12.5%2011.2,12.5%20L6.4,12.5%20C6.12385763,12.5%205.9,12.2761424%205.9,12%20C5.9,11.7238576%206.12385763,11.5%206.4,11.5%20L11.2,11.5%20Z'%20id='path'%20fill='%23595959'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",MK="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eicon-218-active%3c/title%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='23.7269479%25'%20x2='50%25'%20y2='100%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%230068F2'%20stop-opacity='0'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%234182D9'%20stop-opacity='0.6'%20offset='99.9231725%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='icon-218-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='path'%20x='0'%20y='0'%20width='18'%20height='18'%3e%3c/rect%3e%3cpolygon%20id='path'%20fill='url(%23linearGradient-1)'%20points='14%207.5%204%207.5%204%2015.2142857%2014%2015.2142857'%3e%3c/polygon%3e%3cpath%20d='M12.6,2.5%20L5,2.5%20C4.17157288,2.5%203.5,3.17157288%203.5,4%20L3.5,14%20C3.5,14.8284271%204.17157288,15.5%205,15.5%20L12.6,15.5%20C13.4284271,15.5%2014.1,14.8284271%2014.1,14%20L14.1,4%20C14.1,3.17157288%2013.4284271,2.5%2012.6,2.5%20Z%20M12.6,3.5%20C12.8761424,3.5%2013.1,3.72385763%2013.1,4%20L13.1,14%20C13.1,14.2761424%2012.8761424,14.5%2012.6,14.5%20L5,14.5%20C4.72385763,14.5%204.5,14.2761424%204.5,14%20L4.5,4%20C4.5,3.72385763%204.72385763,3.5%205,3.5%20L12.6,3.5%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9.1,2.5%20L6.4,2.5%20C6.12385763,2.5%205.9,2.72385763%205.9,3%20L5.9,7.8%20L5.9065899,7.88349186%20C5.96713181,8.25965359%206.431228,8.44121925%206.73218192,8.17370466%20L7.75,7.269%20L8.76781808,8.17370466%20C9.09026871,8.46032744%209.6,8.23142441%209.6,7.8%20L9.6,3%20C9.6,2.72385763%209.37614237,2.5%209.1,2.5%20Z%20M8.6,3.5%20L8.6,6.686%20L8.08218192,6.22629534%20L8.00701429,6.17104113%20C7.82287,6.06053271%207.58358072,6.07895078%207.41781808,6.22629534%20L6.9,6.686%20L6.9,3.5%20L8.6,3.5%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M9.4,9.7%20C9.67614237,9.7%209.9,9.92385763%209.9,10.2%20C9.9,10.4761424%209.67614237,10.7%209.4,10.7%20L6.4,10.7%20C6.12385763,10.7%205.9,10.4761424%205.9,10.2%20C5.9,9.92385763%206.12385763,9.7%206.4,9.7%20L9.4,9.7%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M11.2,11.5%20C11.4761424,11.5%2011.7,11.7238576%2011.7,12%20C11.7,12.2761424%2011.4761424,12.5%2011.2,12.5%20L6.4,12.5%20C6.12385763,12.5%205.9,12.2761424%205.9,12%20C5.9,11.7238576%206.12385763,11.5%206.4,11.5%20L11.2,11.5%20Z'%20id='path'%20fill='%23365899'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e";class M{}U(M,"ICON_100",Qq),U(M,"ICON_100_ACTIVE",Wq),U(M,"ICON_101",Gq),U(M,"ICON_101_ACTIVE",Zq),U(M,"ICON_102",Yq),U(M,"ICON_102_ACTIVE",Jq),U(M,"ICON_103",Xq),U(M,"ICON_103_ACTIVE",eK),U(M,"ICON_200",tK),U(M,"ICON_200_ACTIVE",rK),U(M,"ICON_201",nK),U(M,"ICON_201_ACTIVE",iK),U(M,"ICON_202",sK),U(M,"ICON_202_ACTIVE",oK),U(M,"ICON_203",aK),U(M,"ICON_203_ACTIVE",lK),U(M,"ICON_204",cK),U(M,"ICON_204_ACTIVE",uK),U(M,"ICON_205",hK),U(M,"ICON_205_ACTIVE",fK),U(M,"ICON_206",dK),U(M,"ICON_206_ACTIVE",pK),U(M,"ICON_207",gK),U(M,"ICON_207_ACTIVE",vK),U(M,"ICON_208",yK),U(M,"ICON_208_ACTIVE",mK),U(M,"ICON_209",bK),U(M,"ICON_209_ACTIVE",_K),U(M,"ICON_210",wK),U(M,"ICON_210_ACTIVE",CK),U(M,"ICON_211",AK),U(M,"ICON_211_ACTIVE",SK),U(M,"ICON_212",TK),U(M,"ICON_212_ACTIVE",EK),U(M,"ICON_213",IK),U(M,"ICON_213_ACTIVE",kK),U(M,"ICON_214",xK),U(M,"ICON_214_ACTIVE",LK),U(M,"ICON_215",OK),U(M,"ICON_215_ACTIVE",NK),U(M,"ICON_216",RK),U(M,"ICON_216_ACTIVE",DK),U(M,"ICON_217",BK),U(M,"ICON_217_ACTIVE",$K),U(M,"ICON_218",PK),U(M,"ICON_218_ACTIVE",MK);const FK=new Date("2025-07-29 09:00:00").getTime()+90*24*60*60*1e3,UK={name:"KSideBarBuyer",props:{site:{type:Object,required:!0},pageFlag:{type:String,required:!1,default:""},current:{type:Number,default:0},collapsible:{type:Boolean,default:!0},defaultCollapsed:{type:Boolean,default:!1}},data(){return{menus:null,collapsed:!1,popupPos:{left:0,top:0},submenuPopup:!1,submenuData:[],sideBarHeight:{height:"calc(100vh - 200px)"}}},created(){this.menus=[{id:100,opened:!0,current:!1,title:"我是买家",icon:M.ICON_100,icon_hover:M.ICON_100_ACTIVE,children:[{icon:"ico1",title:"我的购物车",link:"".concat(this.site.cart,"list/"),divider:!1,target:"_blank",tagNew:!1,pageFlag:null},{icon:"ico2",title:"我的订单",link:"".concat(this.site.s_order,"order-views/management/buyer/list"),divider:!1,target:"",tagNew:!1,pageFlag:"order_list"},{icon:"ico3",title:"我收藏的商品",link:"".concat(this.site.s_user,"buyer/favorite_manage.html#product"),divider:!1,target:"",tagNew:!1,pageFlag:"favorite_book"},{icon:"ico11",title:"我买到的书",link:"".concat(this.site.s_user,"ucenter/purchased/purchased.html"),divider:!0,target:"",tagNew:!1,pageFlag:"purchased"},{icon:"ico4",title:"我的竞拍",link:"".concat(this.site.s_pm,"pm-buyer/bid-manage-pc/"),divider:!1,target:"",tagNew:!1,pageFlag:"bidding_manage"},{icon:"ico5",title:"我的拍卖交易",link:"".concat(this.site.s_pm,"trade-views/management/buyer/list"),divider:!1,target:"",tagNew:!1,pageFlag:"trade_list"},{icon:"ico6",title:"我收藏的拍品",link:"".concat(this.site.s_pm,"buyer/favorite_manage.html"),divider:!0,target:"",tagNew:!1,pageFlag:"favorite_auction"},{icon:"ico7",title:"我的订阅",link:"".concat(this.site.s_user,"user-center/subscription/"),divider:!1,target:"",tagNew:!0,pageFlag:"buyer_dingyue"},{icon:"ico8",title:"我收藏的店铺",link:"".concat(this.site.s_user,"buyer/favorite_manage.html#shop"),divider:!1,target:"",tagNew:!1,pageFlag:"favorite_shop"},{icon:"ico9",title:"我的收货地址",link:"".concat(this.site.s_user,"buyer/receive_address.html"),divider:!1,target:"",tagNew:!1,pageFlag:"receive_address"},{icon:"ico12",title:"我的寄件服务",link:"".concat(this.site.s_express,"express-views/pc-express"),divider:!1,target:"_blank",tagNew:!1,pageFlag:"pc_express",isShow:!0,key:"express"}]},{id:101,opened:!0,current:!1,title:"账户管理",icon:M.ICON_101,icon_hover:M.ICON_101_ACTIVE,children:[{icon:"",title:"个人资料",link:"".concat(this.site.s_user,"person/person_info.html"),divider:!1,target:"",tagNew:!1,pageFlag:"person_info"},{icon:"",title:"我的优惠券",link:"".concat(this.site.s_user,"buyer/my_coupon.html"),divider:!1,target:"",tagNew:!1,pageFlag:"my_coupon"},{icon:"",title:"修改登录密码",link:"".concat(this.site.s_user,"person/edit_password.html"),divider:!1,target:"",tagNew:!1,pageFlag:"edit_password"},{icon:"",title:"修改密保问题",link:"".concat(this.site.s_user,"person/edit_question.html"),divider:!1,target:"",tagNew:!1,pageFlag:"edit_question"},{icon:"",title:"绑定手机",link:"".concat(this.site.s_user,"person/bind_phone.html"),divider:!1,target:"",tagNew:!1,pageFlag:"bind_phone"},{icon:"",title:"绑定邮箱",link:"".concat(this.site.s_user,"person/bind_email.html"),divider:!1,target:"",tagNew:!1,pageFlag:"bind_email"},{icon:"",title:"交易提醒设置",link:"".concat(this.site.s_user,"person/trade_reminder.html"),divider:!1,target:"",tagNew:!1,pageFlag:"trade_reminder"},{icon:"",title:"我的好友",link:"".concat(this.site.message,"message/safety/safety.html#/friends"),divider:!1,target:"",tagNew:!1,pageFlag:"my_friend"},{icon:"",title:"消息黑名单",link:"".concat(this.site.message,"message/safety/safety.html#/blacklist"),divider:!1,target:"",tagNew:!1,pageFlag:"my_myblacklist"}]},{id:102,opened:!0,current:!1,title:"信誉档案",icon:M.ICON_102,icon_hover:M.ICON_102_ACTIVE,children:[{icon:"",title:"我的信誉",link:"".concat(this.site.s_xinyu,"buyer/"),divider:!1,target:"",tagNew:!1,pageFlag:"my_xinyu"},{icon:"",title:"店铺投诉",link:"".concat(this.site.s_tousu,"web/view/complaint/complaint.html#bookStore"),divider:!1,target:"_blank",tagNew:!1,pageFlag:null},{icon:"",title:"拍卖投诉",link:"".concat(this.site.s_tousu,"web/view/complaint/complaint.html#bid"),divider:!1,target:"_blank",tagNew:!1,pageFlag:null},{icon:"",title:"违规信息",link:"".concat(this.site.s_user,"info/illegal_info.html"),divider:!1,target:"",tagNew:!1,pageFlag:"illegal_info"}]},{id:103,opened:!0,current:!1,title:"客户服务",icon:M.ICON_103,icon_hover:M.ICON_103_ACTIVE,children:[{icon:"",title:"客服消息",link:"".concat(this.site.message,"#customerService"),divider:!1,target:"_blank",tagNew:!1,pageFlag:null}]}],this.collapsed=this.defaultCollapsed;const t=jn.getItem("__buyer_collapsed");this.collapsed=t||!1,this.checkTagNewVisible()},mounted(){this.checkBuyerMenu(),this.menus.forEach(e=>{e.id===this.current&&(e.current=!0)});const t=setTimeout(()=>{this.$refs.sidebarScrollbar.update(),clearTimeout(t)},0);Qr.isIpad||document.addEventListener("scroll",d2.debounce(this.sideBuyerBarPos,10)),this.sideBarHeight.height=window.innerHeight-200+"px"},methods:{sideBuyerBarPos(){const t=window.scrollY||document.documentElement.scrollTop;t>=149?this.sideBarHeight.height=window.innerHeight-62+"px":this.sideBarHeight.height=window.innerHeight+t-200+"px"},getElePos(t){let e=0,r=0,n=t;for(;n;)e+=n.offsetTop,r+=n.offsetLeft,n=n.offsetParent;return{x:r,y:e}},mouseenterFun(t,e){if(!this.collapsed)return;this.submenuPopup=!0;const r=t.target.getBoundingClientRect();this.popupPos.left=r.left+r.width+5+"px",this.popupPos.top=r.top+"px",this.submenuData=e.children},mouseleaveFun(){this.submenuPopup=!1},collapseBtnClick(){this.collapsed=!this.collapsed,this.submenuPopup&&(this.submenuPopup=!1),jn.setItem("__buyer_collapsed",this.collapsed)},toggleSubmenu(t,e){if(this.collapsed)return;t.opened=!t.opened,this.$refs.sidebarScrollbar.update();const r=setTimeout(()=>{this.updateSideBarPos(e),clearTimeout(r)},10)},updateSideBarPos(t){const r=document.querySelector("#sideBarBuyerBox"+t).getBoundingClientRect(),n=this.$refs.sidebarScrollbar.$el.querySelector(".el-scrollbar__wrap");console.log("curr_submenu_pos",r.bottom),console.log("clientHeight",n.clientHeight),r.bottom>n.clientHeight&&(console.log("有菜单隐藏"),console.log("befor",n.scrollTop),console.log("计算出来的",n.scrollTop+(r.bottom-n.clientHeight)),n.scrollTop=n.scrollTop+(r.bottom-n.clientHeight),console.log("after",n.scrollTop)),this.$refs.sidebarScrollbar.update()},async checkBuyerMenu(){try{const{data:{data:t,status:e}}=await Z.get("/common-web/v1/api/buyerMenu/entries");if(!e)return;this.updateMenuVisible([{key:"express",value:t.express}])}catch(t){console.log("side-bar-buyer error ->",t)}},updateMenuVisible(t){const e=this.menus.reduce((r,n)=>n.children.reduce((i,s)=>(s.key&&(i[s.key]=s),i),r),{});t.forEach(r=>{const n=e[r.key];n&&(n.isShow=r.value)})},checkTagNewVisible(){this.isTagNewVisible=new Date().getTime()<FK}}},zK=["id"],VK=["onClick","onMouseenter"],jK={class:"icon-svg"},HK=["src"],qK=["src"],KK={key:0,class:"global-iconfont global-icon-xiajiantou"},QK={key:1,class:"global-iconfont global-icon-shangjiantou"},WK={class:"side-bar_con"},GK=["target","href"],ZK={key:0,class:"tag-new"},YK={key:0,class:"global-iconfont global-icon-shouqi"},JK={key:1,class:"global-iconfont global-icon-zhankai"},XK={class:"text"},eQ={class:"submenu-wrap"},tQ={class:"submenu-list"},rQ=["target","href"],nQ={key:0,class:"tag-new"};function iQ(t,e,r,n,i,s){const o=x3;return g(),v("div",{class:T(["side-bar-buyer-wrap",i.collapsed?"side-bar-wrap-collapsed":""]),onMouseleave:e[2]||(e[2]=(...a)=>s.mouseleaveFun&&s.mouseleaveFun(...a))},[B(o,{ref:"sidebarScrollbar"},{default:F(()=>[u("div",{class:"side-bar",style:ve(i.sideBarHeight),ref:"sideBuyerBar"},[(g(!0),v(P,null,oe(i.menus,(a,l)=>(g(),v("div",{class:"side-bar_box",id:"sideBarBuyerBox"+l,key:a.title+l},[u("div",{class:T(["side-bar_tit",a.current?"current":""]),onClick:c=>s.toggleSubmenu(a,l),onMouseenter:c=>s.mouseenterFun(c,a)},[u("i",jK,[u("img",{src:a.icon,class:"icon-d"},null,8,HK),u("img",{src:a.icon_hover,class:"icon-h"},null,8,qK)]),u("h3",null,C(a.title),1),a.opened?(g(),v("span",QK)):(g(),v("span",KK))],42,VK),le(u("ul",WK,[(g(!0),v(P,null,oe(a.children,(c,h)=>(g(),v(P,null,[c.isShow===void 0||c.isShow?(g(),v("li",{class:T(c.icon),key:c.title+h},[u("a",{target:c.target,href:c.link,class:T({now:c.pageFlag===r.pageFlag})},[V(C(c.title),1),c.tagNew?(g(),v("span",ZK,"新")):b("",!0)],10,GK)],2)):b("",!0),c.divider?(g(),v("div",{class:"divider",key:"divider"+h})):b("",!0)],64))),256))],512),[[fe,a.opened]])],8,zK))),128))],4)]),_:1},512),r.collapsible?(g(),v("div",{key:0,class:T(["btn-collapse-wrap",i.collapsed?"btn-collapse-center":""])},[u("div",{class:"btn-collapse",onClick:e[0]||(e[0]=(...a)=>s.collapseBtnClick&&s.collapseBtnClick(...a))},[i.collapsed?(g(),v("span",JK)):(g(),v("span",YK)),u("span",XK,C(i.collapsed?"展开":"收起"),1)])],2)):b("",!0),i.submenuPopup?(g(),v("div",{key:1,class:"sidebar-submenu-popup",style:ve(i.popupPos),onMouseleave:e[1]||(e[1]=(...a)=>s.mouseleaveFun&&s.mouseleaveFun(...a))},[u("div",eQ,[u("ul",tQ,[(g(!0),v(P,null,oe(i.submenuData,(a,l)=>(g(),v(P,null,[a.isShow===void 0||a.isShow?(g(),v("li",{key:a.title+l},[u("a",{target:a.target,href:a.link,class:T({now:a.pageFlag===r.pageFlag})},[V(C(a.title),1),a.tagNew?(g(),v("span",nQ,"新")):b("",!0)],10,rQ)])):b("",!0)],64))),256))])])],36)):b("",!0)],34)}const sQ=ye(UK,[["render",iQ],["__scopeId","data-v-9222f2eb"]]);ze(sQ);const oQ="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACSUlEQVRYR+2UwUsUcRTHv29mNldYsAw6eKiLHSoKanO1glQKNguyoHFdgyBodxYUg/4C/4IOpuS4h6BDu+tEpJAlEWkHdce2IKQOeamDBw+LwpLK7syL2TxUbDsz28HLvNOP+b33vp/f9/1+Q9jloF3WhwfgOeA54DlQ0YFQRJ1jIr9kCF0L2p38//ysQtdH9pN/zzSbvKVnlPa/e1UG6FWXARwDI2eYuJDTlI1aIIKy2iAKeANCEMCynlaOOwI42TdySDJ874hwEKD5glEMf9b6C24gjsqjgYDomwH4LDO+l4rF8x+fDXxzBGAlnZJHm0VRmiOgicGzkvHj8oJ2b9MJxBn5fr0pBqYZ3MHAqmGU2j9o/SuVaqu+grZI8ohJ5iyAAyCaya9vda+8HNyuBtHcNVzXuNc/CeYwgDWBhY7FTOzLv2psn2FrNHmC2XwLoJGAqdJX3MjllGKlhsGg6pMO4ykDVwHkiYTObCr2qRqwLYBV3BIZbyHi1wAaQND00r4otB7jj8byhBiS1p+AuQfABsAX9XTivd3IHAFYTU7ffHhOMIRXAAIgeqynVm8DQ+YvgSEhFG16BOZbAAoMCi+l4/N24ta+YwArubVP7WSTXwBUT8B4Nq0kyt971TEG4gBvkklXshOKNTJH4QqgPI7o2CUwPSegjoBhEDEz32VgG8TXllIJyyXH4RqgfOJIspvJ1AD4dpSKxIKczcQmHSvvJNYE8BvEA2stgAYW0/Ept+Ku70AtAnY1NTtg19jpvgfgOeA54DnwE1ecwiH8BFc6AAAAAElFTkSuQmCC",aQ="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACOElEQVRYR+2UwUsUcRTHv29+s6iwoOwhqENd7FBIUJu76iGVArVAOzTuKHSIXMYQPfQX+BcEhsLO2iGC3F2nQwZlC0UalO3mFhTVIS918NBhS1hQ2Zl5sdQejHV3Zjt4mbnOe+/z4QMzhAN+6ID58AS8Al4Br0DdBTrU+KANngUYxGIyk4ou1fNTq0sgHIkNMZEBwPcXWiSWlHokXAu0j8T6wfSQgAYimgEzMTDFwC6IL79NjD91U8KVQHhY72WJHwPUREA8k9TGS7CwGtMZFAV4myS6lFnQXjiVcCzQrsa7CJwG4AfRvWxi8xowbf8BTUsh9fBdAFcBFGxh96/fv/HKiYQjgZAaOwvQMwDNIFrMmi2jMIatPQBlUYTknwkwFABbgHwhm7y+XkuipkB4ZP4Us11KGiDgkfkVV3I5rVjpcDCo++TjeMDAIIA8kdSbSUQ/VJOoKtARmT9hk70C4BCI0vlfO0Mby1O71Q62DtxuCLQ0LoG5D8APiaWeN6nol/129hU4o8y1CiGvEnCEQCuSVbi4ZtzcrpW09L5TudVkC/8TBvcwsGlZZvc7Y2Kj0m5FgdOjs8dky/eSCEcBel2win2fjYmCE3h55qQy5/cLXxrgLmZ8N4U4935h7Nu/NyoKhFT9I4A2MHKWjfM5Q9tyAy/PBhW9WUh4DkIQwKdsUmtzJhDRV5moUbakgTVjLF8PvLzTqdwJmMJeJuadbErrdiTwP0C3uzU/Q7cH3c57Al4Br4BX4De0H7khs2uemgAAAABJRU5ErkJggg==",dd="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAEzElEQVRYR91XXUwcZRQ9d2cXWagSU6RVH4hPbUysqcCSojHEVH3QlxoXZsF/7A7VSv17aLQKq9X4oEYUyw610WqAgTXti0YjfcCktmEWUqsvGk1MTVTQ2koqsLA7e83d3aGzsD+gNY1+Tzsz39zvzL33nHuWcJEXXeTz8d8CUOvft8HlVu5mcEl0sL3Tmb26QDgERpwtT2Q80vbtSjO7ogz4AuEtzK4QgW91BA6ZhtYl1z5VFzCp37KYcQREnVEjeKwYkKIANrf0VHuSnh8AEAMzBP4YoLsAUsDJASZiArUCbAF0iMF3EFAuOOKu+DUnBnaeKgSiKICGe3urEnHXFIBpy0L1RESb9qnhNoD2Cyj7o8EImkPaOzV+vUJRIIdWxC1P1YnIQ7/9IwBb/K97LaV8FsCcaWhldrDa5j7V5cJVcp1M4ufxoaBhP/Opuuz3lpWWeEffezC2agCSdsTLZivK6dxsLL4L4FckSNnkL57R0a5EoYB+/7BySjmb2UO7FevPN2cS3ksVr+XNVY5lJahT+xoIfNSRXoDBRHhszNDedh7u23ZwrVybh+//3Xm/XtUfZcZboCyaM8h9oznYdty5dzmAZn2ECFul5gBKJJUE7LQPl56wEsozzKwCWJcJNkVExlzMevmrwzt+lXspEECPlA7AgvQEg0aiRvC2vABq7zmwwZVIfCPdnrRwtTScpDQSabJSQVv213DS+gig9Zkg8uUMoDJDwElyKXeODWyfkOvGxi63lEwa06XgJ2FH0rI2jkceWdSJrAzUqeE9BHoR4GHTaG92Ik2zgU7K4cz0BYAnokPBqOypadWvU5LoAeNmgCdj83y9nYnzjRkeAqgJhD3moPaSfT8bQCAcIqbnASTA2CG0sjfWB/reYOZdAI5a3+GWiQkt7gR4rX+4ZI377IiAIKLuscHg447DhbZhAG4mfsGpost6IK1q1CmZTTK12PTyqfqk1JxdtDk6EPwyFxNqmvUbFIKkf8o0tFSZUnQlHkhLBot6hgo2oTz0qXo/gBYmPB0d1F7z3XdwLRZipwGcNg3tikI09Km6CE8l5ksrhR11Af0pYrwKYMA0tNal7+ZUwosKwKfqXYD0AYOYWsYyCmeXAOA602gfz5WF+sC+TczKyb9dAhmpK2jCz89Mz9/+/Scd804QQtcf3X98ysxblzVhs/4wCL3ShAAWp6i8n1UCX0B/Foy9AA2bRjAvDQk0mlC4Y6Jf+1pi+NRwDUDdABry07BvCOAmBj8XNdr35qRhynAoSpYQ2WKSR4hmUpQFKnIJkS1i2ULk3ug0LLlmwWcZ43HhpZhxJDqkOU3Nck8o7gdppTsPLt8wEnrKMHp/ZcOIQTctdUk5aSjj2KsocxybO2cpazrscVxtXe6250I+LZCSza6/MqOStLus1NN9Zjp22YrH8dLAjQ+8WzobW5CJtmpDolgzZccjT8q7eVdRS7ZpW29V6SVLLFmaVn1Zlgy83TTaDzgtmduTXHfsg/R4zreKAihkShncTyye1NWSNqV8iEEX1pQKcnFJYA5ljIr9MV32YEmrJxb/J4jxIEp2moPtWe4nVxaKZsD5khgWSsT9BHLb/wns5ykVBS0kE9aHTsNRKP3LlLDY5n/j+aoy8L8E8BfuYZM/UMphPgAAAABJRU5ErkJggg==",lQ="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAADpUlEQVRYR+1XTWgUZxh+3p3MZndFK4lGD4IItliVklB3paml/rQHLxYraSYGtSo4UcSDnkTzpxZPvYhoNmBqlWQnBgVPHqw/pWpwVomHVkUCttBDrRqQYLLZyewr325mM7s7k9lEMAh+p2Xen+95f773eZcwzYem+X68XwA+r4sukRi1TOyLxxqa7dkL17W1gmnUJ/HFu50ND4vNbFEZCCvt1QQcBbAGYMumVdfUFnFRRIkKMOnfADHA1wGzVdf2/OEFxBNA1eaTC+WU/FR4znWWvig2dmmdDZilxobPWNTXtfefiUB4Aqjecrpi1PA984rESW6YckVfz47nbwVg9Y+/BIYSyeGpAAgF/MGbZ7cnJg1ApB1GaOijGTQ4NJw8AMKxqQAA43Ao6P954FVilhQ0g07lKChBRDn1FSD9XljzPAgMBuFl+iujHOT5pJlBq+Larjt2Tw4Aor8BWOceMf8HH/1kGHK3Vd+qmo65smzUIsWHAJrvaku4ocfUta4AVta3LWXT96dDR1s2vYY58l1fzz7HxqqqOTFXlkovA/jCGQSxRLy0N6Y+tuQ5GQgr0UYCjrhE8C/8gUr93LZM2l1OZOuv5UgmHgBY4KLSomtqqyOAiBIVwyRnwo0r0s672q6OYppxpdK+g8FnnHSZ+Ih9ijr1QDNAzXllSMqhkjm3O3YOFgPgyw1nZiZDoy8I8I/rpweXmJ7Z6IXMcRBFlLYugOqyxox+vVv9uJjLLZ2IEn0CwG7TpWtqfb4PFwDRTgCbLWUGHsc19dPJAAgr0UcELBm34ZiuNWR9OvaA+JjpA2rKK8HQwKuRsv4r+0aKAbF4/YnSslmlAyCEJlUCQanE4vLCw8yb4t0Nl4oBEK5t+56ILrroZlm0oAdyabXA/K9QwL/Ca7aPccc9AMscAwGa4poqqD19cnogs3DQQ7dBRMClZwF//d8uBCNSXz470Cmy5Rw9MUmp5faFxeEZtl8DOGdc5jgjesBIHYyPll1Fzw9mWlZzQQqXDHxLKToOQuUEZbqma+o3dnkBgMz2w7c8yQhpIhJPTZxPAJR79AcD5tf5W5LjMxR0HJSkYU4MD5q+GfvfKR3nR/E2C4lkvg719uyfcJnxXMk+23i6IlA6tZWsRE7Nu3N+9/8TlcYTwLQvpZnpmN6SBEmttT3RLK3msqggHdxgoDF/+3HKhGcG7EZiYUmZtIkAyfpPYMnHpmjKJHTfty0cXpNzUgC8nE1F/gHAG1SCZjD6Ty+RAAAAAElFTkSuQmCC",h0={"00":200,"001000000":201,"002000000":202,"003000000":203,"004000000":204,"018000000":205,"005000000":206,"020000000":207,"006000000":208,"015000000":209,"016000000":210,"007000000":211,"010000000":212,"008000000":213,"009000000":214,"011000000":215,"012000000":216,"013000000":217,"017000000":218},cQ={name:"KSideBarSeller",props:{pageFlag:{type:String,required:!1,default:null},openId:{type:Number,required:!1,default:null},collapsible:{type:Boolean,default:!0},defaultCollapsed:{type:Boolean,default:!1},collapseCallBack:{type:Function,default:()=>{}}},data(){return{imgDown:oQ,imgUp:aQ,imgSetCurrent:dd,setShowed:!1,menus:[],statistics:[],newTags:[113],setShow:!1,offenMenus:[],alwaysOpendCodes:{com:["001000000","002000000","003000000"],cn:["006000000"]},env:"",openedMenuCodes:[],error:null,collapsed:!1,popupPos:{left:0,top:0},submenuPopup:!1,submenuData:[],sideBarHeight:{height:"calc(100vh - 184px)"},marginTop:"40px"}},created(){this.collapsed=this.defaultCollapsed,window.location.href.indexOf("kongfz.com")!=-1?this.env="com":window.location.href.indexOf("kongfz.cn")!=-1?this.env="cn":this.env="com",this.getMenus(),this.getStatistic();const t=jn.getItem("__seller_collapsed");this.collapsed=t||!1},mounted(){Qr.isIpad||document.addEventListener("scroll",d2.debounce(this.sideSellerBarPos,10)),this.sideBarHeight.height=window.innerHeight-184+"px",window.addEventListener("resize",d2.debounce(this.initSetDialogPos,100))},methods:{initSetDialogPos(){if(!this.setShowed)return;const t=window.innerHeight;let e=165;this.$nextTick(()=>{let r=this.$refs.setBarMainWrap,n=r.clientHeight+e,i=(t-n)/2;i<=40?r.style.height=t-e-80+"px":(r.style.height="auto",this.marginTop=i+"px")})},sideSellerBarPos(){const t=window.scrollY||document.documentElement.scrollTop;t>=134?this.sideBarHeight.height=window.innerHeight-62+"px":this.sideBarHeight.height=window.innerHeight+t-184+"px"},getSvgIcon(t,e){if(h0[t])return e?M["ICON_".concat(h0[t],"_ACTIVE")]:M["ICON_".concat(h0[t])]},mouseenterFun(t,e,r){if(!this.collapsed)return;this.submenuPopup=!0;const n=t.target.getBoundingClientRect(),i=window.innerHeight;this.popupPos.left=n.left+n.width+5+"px",this.popupPos.top=n.top+"px",this.submenuData=JSON.parse(JSON.stringify(e.children)),r===0&&e.code=="00"&&this.submenuData[0].code!=="set"&&this.submenuData.unshift({code:"set",name:"设置常用菜单"}),this.$nextTick(()=>{const s=this.$refs.sidebarSubmenuPopup.getBoundingClientRect();if(s.bottom>i){const o=n.top-(s.bottom-i);this.popupPos.top=o+"px"}})},mouseleaveFun(){this.submenuPopup=!1},collapseBtnClick(){this.collapsed=!this.collapsed,this.setShowed&&(this.setShowed=!1),this.submenuPopup&&(this.submenuPopup=!1),jn.setItem("__seller_collapsed",this.collapsed),this.collapseCallBack()},toogleSet(){this.setShowed=!this.setShowed,this.setShowed&&this.getOftenMenu()},toSet(){this.imgSetCurrent=dd},toSetHover(){this.imgSetCurrent=lQ},toogleMenu(t,e){t.opened=!t.opened,t.opened?$i("__seller_menu_open_id",t.id,1e5,"kongfz.".concat(this.env)):$i("__seller_menu_open_id","",1e5,"kongfz.".concat(this.env)),this.$refs.sidebarScrollbar.update();const r=setTimeout(()=>{this.updateSideBarPos(e),clearTimeout(r)},10)},updateSideBarPos(t){const r=document.querySelector("#sideBarSellerBox"+t).getBoundingClientRect(),n=this.$refs.sidebarScrollbar.$el.querySelector(".el-scrollbar__wrap");console.log("curr_submenu_pos",r.bottom),console.log("clientHeight",n.clientHeight),r.bottom>n.clientHeight&&(console.log("有菜单隐藏"),console.log("befor",n.scrollTop),console.log("计算出来的",n.scrollTop+(r.bottom-n.clientHeight)),n.scrollTop=n.scrollTop+(r.bottom-n.clientHeight),console.log("after",n.scrollTop)),this.$refs.sidebarScrollbar.update()},getMenus(){Z({method:"get",url:"/common-web/v1/common/sellerMenu/new?referUrl=".concat(encodeURIComponent(window.location.href),"&v=").concat(Math.random())}).then(t=>{var e,r;if(((e=t.data)==null?void 0:e.status)===1){let n=(r=t==null?void 0:t.data)==null?void 0:r.data;this.menus.splice(0,this.menus.length),n.userOftenMenuList&&n.userOftenMenuList.length&&this.menus.push({opened:!0,id:0,code:"00",name:"常用菜单",isUp:n.userOftenMenuList[0].isUp,children:n.userOftenMenuList}),this.menus.push(...n.sellerMenuList),this.menus.forEach(i=>{i.opened=!1}),this.initOpened()}else console.error(t.statusText)}).catch(t=>{console.log("SideBarSeller.index.getMenus() >>>",t)})},getStatistic(){Z({method:"get",url:"/common-web/v1/api/statistic"}).then(t=>{var e;if(((e=t.data)==null?void 0:e.status)===1){let r=t==null?void 0:t.data.data;this.statistics=r}else console.error(t.statusText)}).catch(t=>{console.log("SideBarSeller.index.getStatistic() >>>",t)})},colHave(t){let e=!1;return t.forEach(r=>{r&&(e=!0)}),e},getOftenMenu(){Z({method:"get",url:"/common-web/v1/common/oftenMenu/new"}).then(t=>{var e;if(((e=t.data)==null?void 0:e.status)===1){console.log(t);let r=t.data.data,n=[["001000000","002000000","003000000"],["004000000","018000000","005000000","020000000"],["006000000","015000000","013000000","016000000","017000000"],["009000000","007000000","008000000","010000000","011000000"]];n.forEach(i=>{i.forEach((s,o)=>{i[o]=r[s]})}),this.offenMenus=n,this.initSetDialogPos()}else console.error(t.statusText)}).catch(t=>{console.log("SideBarSeller.index.getOftenMenu() >>>",t)})},handleSubmit(){let t=[];this.offenMenus.forEach(r=>{r.forEach(n=>{n&&n.children&&n.children.forEach(i=>{i&&i.isChecked&&t.push(i.id)})})});let e=new FormData;e.append("menuList",t),Z({method:"post",url:"/common-web/v1/api/setOftenMenu",data:e}).then(r=>{var n;((n=r.data)==null?void 0:n.status)===1?(this.setShowed=!1,this.getMenus()):console.error(r.statusText)}).catch(r=>{console.log("SideBarSeller.index.handleSubmit() >>>",r)})},handleClean(){this.offenMenus.forEach(t=>{t.forEach(e=>{e&&e.children&&e.children.forEach(r=>{r&&r.isChecked&&(r.isChecked=!1)})})})},initOpened(){let t=[0],e=ki("__seller_menu_open_id");e&&t.push(Number(e)),this.openId!==void 0&&this.openId!==null&&this.openId!==""&&t.push(Number(this.openId)),this.menus.forEach(n=>{t.includes(n.id)&&(n.opened=!0),n.id===this.openId&&(n.isChoose=!0)});const r=setTimeout(()=>{this.$refs.sidebarScrollbar.update(),clearTimeout(r)},0)},getNewTagShow(t){return this.newTags.some(e=>e===t)},getBatchNumShow(t){return this.statistics.some(e=>e.id===t)&&this.statistics.find(e=>e.id===t).num>0},getBatchNumText(t){return this.statistics.find(e=>e.id===t).num}}},uQ=["id"],hQ=["onClick","onMouseenter"],fQ={class:"icon-svg"},dQ=["src"],pQ=["src"],gQ={key:0,class:"global-iconfont global-icon-xiajiantou"},vQ={key:1,class:"global-iconfont global-icon-shangjiantou"},yQ={class:"side-bar_con"},mQ=["target","href"],bQ={key:0,class:"tag-new"},_Q=["textContent"],wQ=["target","href"],CQ={key:0,class:"tag-new"},AQ=["textContent"],SQ={key:0,class:"global-iconfont global-icon-shouqi"},TQ={key:1,class:"global-iconfont global-icon-zhankai"},EQ={class:"text"},IQ={class:"side-bar-seller-set"},kQ=u("div",{class:"side-bar-set_header"},[u("div",{class:"side-bar-set_header_title"},[u("span",null,"请勾选您经常使用的菜单，最多可选10个。")])],-1),xQ={class:"side-bar-set_main_wrap",ref:"setBarMainWrap"},LQ={class:"side-bar-set_main"},OQ=["textContent"],NQ={class:"side-bar-set_footer"},RQ={class:"btn-w"},DQ={class:"submenu-wrap"},BQ={class:"submenu-list"},$Q=u("span",{class:"global-iconfont global-icon-shezhi1"},null,-1),PQ=["target","href"],MQ={key:0,class:"tag-new"},FQ=["textContent"],UQ=["target","href"],zQ={key:0,class:"tag-new"},VQ=["textContent"];function jQ(t,e,r,n,i,s){const o=x3,a=O3,l=F8,c=L3;return g(),v("div",{class:T(["side-bar-seller-wrap",i.collapsed?"side-bar-wrap-collapsed":""]),onMouseleave:e[7]||(e[7]=(...h)=>s.mouseleaveFun&&s.mouseleaveFun(...h))},[B(o,{ref:"sidebarScrollbar"},{default:F(()=>[u("div",{class:"side-bar",style:ve(i.sideBarHeight),ref:"sideSellerBar"},[(g(!0),v(P,null,oe(i.menus,(h,f)=>(g(),v("div",{class:"side-bar_box",id:"sideBarSellerBox"+f,key:h.name+f},[u("div",{class:T(["side-bar_tit",h.isChoose?"current":""]),onClick:d=>s.toogleMenu(h,f),onMouseenter:d=>s.mouseenterFun(d,h,f)},[u("i",fQ,[u("img",{src:s.getSvgIcon(h.code),class:"icon-d"},null,8,dQ),u("img",{src:s.getSvgIcon(h.code,1),class:"icon-h"},null,8,pQ)]),u("h3",null,C(h.name),1),f==0&&h.code=="00"?(g(),v("span",{key:0,class:"set-menu",onClick:e[0]||(e[0]=ue((...d)=>s.toogleSet&&s.toogleSet(...d),["stop"]))},"设置")):(g(),v(P,{key:1},[h.opened?(g(),v("span",vQ)):(g(),v("span",gQ))],64))],42,hQ),le(u("ul",yQ,[(g(!0),v(P,null,oe(h.children,(d,p)=>(g(),v(P,{key:d.name+p},[u("li",{class:T({now:d.id==r.pageFlag})},[u("a",{target:d.target?"_blank":"",href:d.url?d.url:"javascript:void(0)",class:T({now:d.id==r.pageFlag,nolink:!d.url})},[V(C(d.name),1),s.getNewTagShow(d.id)?(g(),v("span",bQ,"新")):b("",!0),s.getBatchNumShow(d.id)?(g(),v("span",{key:1,class:"batch_num",textContent:C(s.getBatchNumText(d.id))},null,8,_Q)):b("",!0)],10,mQ)],2),d.children&&d.children.length?(g(!0),v(P,{key:0},oe(d.children,(y,m)=>(g(),v("li",{key:y.name+m,class:T(["second",{now:y.id==r.pageFlag}])},[u("a",{target:y.target?"_blank":"",href:y.url?y.url:"javascript:void(0)",class:T({nolink:!y.url})},[V(C(y.name),1),s.getNewTagShow(y.id)?(g(),v("span",CQ,"新")):b("",!0),s.getBatchNumShow(y.id)?(g(),v("span",{key:1,class:"batch_num",textContent:C(s.getBatchNumText(y.id))},null,8,AQ)):b("",!0)],10,wQ)],2))),128)):b("",!0)],64))),128))],512),[[fe,h.opened]])],8,uQ))),128))],4)]),_:1},512),r.collapsible?(g(),v("div",{key:0,class:T(["btn-collapse-wrap",i.collapsed?"btn-collapse-center":""])},[u("div",{class:"btn-collapse",onClick:e[1]||(e[1]=(...h)=>s.collapseBtnClick&&s.collapseBtnClick(...h))},[i.collapsed?(g(),v("span",TQ)):(g(),v("span",SQ)),u("span",EQ,C(i.collapsed?"展开":"收起"),1)])],2)):b("",!0),B(c,{title:"设置常用菜单",modelValue:i.setShowed,"onUpdate:modelValue":e[4]||(e[4]=h=>i.setShowed=h),"append-to-body":!0,top:i.marginTop,"lock-scroll":!0,class:"side-bar-dialog","close-on-click-modal":!1,width:"750px"},{default:F(()=>[u("div",IQ,[kQ,u("div",xQ,[u("div",LQ,[(g(!0),v(P,null,oe(i.offenMenus,(h,f)=>(g(),v(P,null,[s.colHave(h)?(g(),v("div",{key:"col"+f,class:"col"},[(g(!0),v(P,null,oe(h,(d,p)=>(g(),v(P,null,[d?(g(),v("div",{key:"row"+p,class:"row"},[u("p",{class:"title",textContent:C(d.name)},null,8,OQ),(g(!0),v(P,null,oe(d.children,(y,m)=>(g(),v("p",{key:"item"+m},[B(a,{label:y.name,modelValue:y.isChecked,"onUpdate:modelValue":_=>y.isChecked=_},null,8,["label","modelValue","onUpdate:modelValue"])]))),128))])):b("",!0)],64))),256))])):b("",!0)],64))),256))])],512),u("div",NQ,[u("a",{href:"javascript:;",class:"clear",onClick:e[2]||(e[2]=(...h)=>s.handleClean&&s.handleClean(...h))},"清空已选项"),u("div",RQ,[B(l,{type:"primary",onClick:s.handleSubmit},{default:F(()=>[V("确定")]),_:1},8,["onClick"]),B(l,{onClick:e[3]||(e[3]=h=>i.setShowed=!1)},{default:F(()=>[V("返回")]),_:1})])])])]),_:1},8,["modelValue","top"]),i.submenuPopup?(g(),v("div",{key:1,class:"sidebar-submenu-popup",ref:"sidebarSubmenuPopup",style:ve(i.popupPos),onMouseleave:e[6]||(e[6]=(...h)=>s.mouseleaveFun&&s.mouseleaveFun(...h))},[u("div",DQ,[u("ul",BQ,[(g(!0),v(P,null,oe(i.submenuData,h=>(g(),v(P,null,[h.code=="set"?(g(),v("li",{key:"if_"+h.code},[u("a",{href:"javascript:void(0)'",class:"set",onClick:e[5]||(e[5]=ue((...f)=>s.toogleSet&&s.toogleSet(...f),["stop"]))},[$Q,V(" "+C(h.name),1)])])):(g(),v("li",{key:"else_"+h.code},[u("a",{target:h.target?"_blank":"",href:h.url?h.url:"javascript:void(0)",class:T({now:h.id==r.pageFlag})},[V(C(h.name),1),s.getNewTagShow(h.id)?(g(),v("span",MQ,"新")):b("",!0),s.getBatchNumShow(h.id)?(g(),v("span",{key:1,class:"batch_num",textContent:C(s.getBatchNumText(h.id))},null,8,FQ)):b("",!0)],10,PQ)])),h.children&&h.children.length?(g(!0),v(P,{key:2},oe(h.children,f=>(g(),v("li",{key:f.code,class:"second"},[u("a",{target:f.target?"_blank":"",href:f.url?f.url:"javascript:void(0)",class:T({now:f.id==r.pageFlag})},[V(C(f.name),1),s.getNewTagShow(f.id)?(g(),v("span",zQ,"新")):b("",!0),s.getBatchNumShow(f.id)?(g(),v("span",{key:1,class:"batch_num",textContent:C(s.getBatchNumText(f.id))},null,8,VQ)):b("",!0)],10,UQ)]))),128)):b("",!0)],64))),256))])])],36)):b("",!0)],34)}const HQ=ye(cQ,[["render",jQ]]),qQ=ze(HQ),KQ="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKqADAAQAAAABAAAAKgAAAADUGqULAAAFaElEQVRYCe2YzU9cVRjGZwYQ0r1KUky7NLErdaOZkKB1aWshMECiAqmmWzcNmjaNxSbav0ADKWAMTCGQUpdtQ0IwbrSrNt1qoBHafVM+Zqa/53LOybmXO/dOYaZ20ZOced/zfj5zvs/NZF6V+vZAth7hKpVKbn5+/o1yufwWfIdiZrPZ9Vwut9bb2/sIvnzYPAcGurCwcGxnZ+dTgJ0CRCe0NQ4MILeQr0BvtrS0/N7T0/NvnF2a7LmBFovFdwH1I/WTtOBxegDfoo729/ffjdNXk9UMdHZ2VsN6lSQFqPOj/YTgt6n34B+iW1cy+A54TYN3qCfhj0iugo5m5Tr0/MDAwNqeNPnXJUwym5uby5dKpUWCv27tSLIEP97e3n6nq6vrqZXH0eXl5baNjY2P0X1FjNOezaOmpqbuQqHwhyeLZVOBMtTDBP+Z+pqJsNrc3Hy+r6/vz9iIKUJG5kNi/YRZXqb84W3qOabCZJJrIlCBZCVfswEIOEbAS9CKlR2EAjRL7MvQC9afHWIkCWxVoGa475iefAq4IebTdRu4HpTe1XyfIlYb8bcB+1G1aRALVAsH578JEsxJgvTXG6T9owZsUW3yPIa8F7fActbBpwC86oEcaxRI5VRsAI6JV07lFh8t+3rU7JN/4SDdKoE6CXSoORlNGm0rFz27gjyvXNT3o/vsvh7FSZt58Ae0uhsNUqCVQ7nEK7cwiPdLCKiORYyCEwfnpYNuQX6CWnnlUk7ZC4Ow+L4hoDq7PeW4x8eyDNc3MzMzD6CfxxogRP8l+nXoD9VsPLnLGcGSCQHln+iCoaF4ohPHCxDLYv81irep04AZiRppHybWJHZHocNRfbStnMotucVibRxQFOI7jeJ22rFo7K4QGNdgXo2r92xg8RwWE9LJhvqt1VWjJqfuDSq6kTl8zXuyTGZxcfFNFPaqdt/Kk+jg4OBv9FoLfhPYKeg1erZMW7uETjTJyoA8yyr+Fb6Wcg+jU8IiTPD/yckhZk50SKBC4JpuNLI1x94IrC7HORJMQafFUyVLPBrRhwq5H1qBj8kBJYEPNLiqWYc0Ss8KmIY9AAvNkbAkmdHB1lbA4XL7mBxQPwxzK9hHfVktPOA05EEhCc3sgeLYGD51QInp/gn8Ud8ojTeLaBpwTfiWVPEJpoG/wNLiSI9v7Mg6oLxnHFC/y9OCm23JLRx8h1Txs9NAC2wkLY7V+7n1OLRyB7S7u3uTf6OHmMqJPZL8CwBt9BNUxQkWjnYCVZIMG5l0E7X2LECD3MKiFyy+QXFAUSjRipGf1PPB8FUJQb+j4pqtAOysv3C0HUkmnbG5UjWQUSgn9nqyqOjlKkxBcUDVQnFTlMBHzBtHzaTyCz4PsP/CbFMhW8nQD1G15UyGlDGNzc1N9wi0WKxZaFXqIrC1tfWPlBguccX7zBq+CMpUusGfDh5/ra2tx/1vAKEelQKAtwRKDjxHPngRAJUDkHr0BSCFwQcpfQioBBiNUoP9cHd3Vzf9UK/Lpt5FOah6mSq/Jv1oNMc+oMyruzjZR1yes/z7qFO92+S4TMy84iq3MERz7AMqA/6RbvZ6aMnxIsNSEN+IotjkuKDYyqnccXligbKI1vQFA6dtORFoqhFgDcgp5VAutrMzyq12tMQClRFPg1WczxmHNsAWCayPBoees4phYhWJH+zXylXtTS8MqUl1Sydw3T7paCfRIiV3MCfVkwIZtw8LoC2pQGXYqI9kAHys4U7qyecCKmOGKu2z430Sr9P7+tIMqdjPjjq73YmjWNhJX//PjgpuC1Ph5f6Qa4Fa+tJ/GrdAfcow5vQQ0xtHQy6dpoHuuOb66G5Bvt8r/v/sgWdr/PNRad4zgwAAAABJRU5ErkJggg==",QQ=[32e9,4e10,33e9,34e9];let wi=null,WQ=0;const f0="close-other-area-select",GQ={name:"KAreaSelect",props:{site:{type:Object,required:!1},modelValue:{type:[Object],default(){return{areaId:"",areaName:"",cityId:"",cityName:"",provId:"",provName:""}}},placeholder:{type:String,default:"请选择"},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},lastLevel:{type:Number,default:3,validator(t){return[1,2,3].includes(t)}},justMainland:{type:Boolean,default:!1},trigger:{type:String,default:"click",validator(t){return["click","hover"].includes(t)}},size:{type:String,default:"medium",validator(t){return["medium","small","mini"].includes(t)}},theme:{type:String,default:"seller",validator(t){return["seller","buyer"].includes(t)}}},data(){return{seed:++WQ,comein:!1,currentTab:"1",areaSelectName:"",defaultClass:!0,areaData:null,currentAreaArr:{provArr:{},cityArr:{},areaArr:{}},selectedArea:{areaId:"",areaName:"",cityId:"",cityName:"",provId:"",provName:""}}},computed:{currentAreaInfo(){return this.modelValue}},methods:{initArea(t){var r;let e=document.createElement("script");e.type="text/javascript",e.src=(((r=this.site)==null?void 0:r.s_res)||"https://res.kongfz.com/")+"js/data/area.js",e.id="__areaDataTag",document.body.appendChild(e),e.readyState?e.onreadystatechange=()=>{(e.readyState=="complete"||e.readyState=="loaded")&&typeof window.___AREADATA<"u"&&t(window.___AREADATA.result)}:e.onload=()=>{typeof window.___AREADATA<"u"&&t(window.___AREADATA.result)}},initWithOption(){if(!window.___AREADATA)this.initArea(t=>{this.justMainland&&(t=this.getMainlandAreaData(t)),this.areaData={prov:t.province,city:t.cities},this.init()});else{if(!this.areaData){let t=window.___AREADATA.result;this.justMainland&&(t=this.getMainlandAreaData(t)),this.areaData={prov:t.province,city:t.cities}}this.init()}},init(){this.currentTab="1",this.currentAreaInfo&&(this.currentAreaArr.provArr=this.areaData.prov,this.currentAreaInfo.cityId?(this.defaultClass=!1,this.currentAreaArr.cityArr=this.areaData.city[this.currentAreaInfo.provId],this.currentAreaInfo.areaId?(this.currentAreaArr.areaArr=this.areaData.city[this.currentAreaInfo.cityId],this.currentTab="3",this.areaSelectName=this.currentAreaInfo.provName+"/"+this.currentAreaInfo.cityName+"/"+this.currentAreaInfo.areaName):this.currentAreaInfo.cityId&&(this.currentTab="2",this.areaSelectName=this.currentAreaInfo.provName+"/"+this.currentAreaInfo.cityName)):this.currentAreaInfo.provId?this.areaSelectName=this.currentAreaInfo.provName:this.areaSelectName="",this.selectedArea=JSON.parse(JSON.stringify(this.currentAreaInfo)))},selectProv(t,e){if(this.currentTab="2",this.selectedArea.provId=t,this.selectedArea.provName=e,this.selectedArea.cityName="城市",this.lastLevel==1){this.comein=!1,this.selectedArea.cityName="",this.selectedArea.cityId="",this.selectedArea.areaName="",this.selectedArea.areaId="",this.$emit("update:modelValue",this.selectedArea);return}this.currentAreaArr.cityArr=this.areaData.city[t],this.currentAreaArr.areaArr={}},selectCity(t,e){if(this.selectedArea.cityId=t,this.selectedArea.cityName=e,this.selectedArea.areaName="区县",this.currentAreaArr.areaArr=this.areaData.city[t]||{},JSON.stringify(this.currentAreaArr.areaArr)=="{}"||this.lastLevel==2){this.comein=!1,this.areaSelectName=this.selectedArea.provName+"/"+e,this.selectedArea.areaName="",this.selectedArea.areaId="",this.defaultClass=!1,this.$emit("update:modelValue",this.selectedArea);return}this.currentTab="3"},selectarea(t,e){this.selectedArea.areaId=t,this.selectedArea.areaName=e,this.comein=!1,this.areaSelectName=this.selectedArea.provName+"/"+this.selectedArea.cityName+"/"+this.selectedArea.areaName,this.$emit("update:modelValue",this.selectedArea),this.defaultClass=!1},chanTab(t){this.currentTab=t},handleCome(){this.trigger=="hover"&&(this.disabled||this.readonly?this.comein=!1:this.comein=!0)},handleLeave(){this.trigger=="hover"&&(this.disabled||this.readonly?this.comein=!1:this.comein=!1)},handleClick(){this.closeOtherInstance(),!(this.trigger!="click"||this.disabled||this.readonly)&&(this.comein=!this.comein)},clearArea(){this.comein=!1,this.areaSelectName="",this.currentTab="1",this.defaultClass=!0,this.selectedArea={areaId:"",areaName:"",cityId:"",cityName:"",provId:"",provName:""},this.$emit("update:modelValue",this.selectedArea)},getMainlandAreaData(t){let e={};for(let n in t.province)e[n]=[],t.province[n].forEach((i,s)=>{QQ.includes(i.code)||e[n].push(i)});return{cities:t.cities,province:e}},closeOtherInstance(){document.body.dispatchEvent(new CustomEvent(f0,{detail:{seed:this.seed}}))}},watch:{currentAreaInfo(){this.initWithOption()}},created(){this.initWithOption(),wi=t=>{if(t.detail.seed){this.seed!=t.detail.seed&&(this.comein=!1);return}this.comein=!1},document.body.addEventListener(f0,wi),this.trigger=="click"&&document.body.addEventListener("click",wi)},unmounted(){document.body.removeEventListener(f0,wi),document.body.removeEventListener("click",wi)}},ZQ={key:0,class:"global-iconfont global-icon-xiajiantou arrow"},YQ={key:1,class:"global-iconfont global-icon-shangjiantou arrow"},JQ={class:"area-tab"},XQ={class:"area-content"},eW=["onClick"],tW=["onClick"],rW={class:"area"},nW=["onClick"];function iW(t,e,r,n,i,s){return g(),v("div",{class:T(["k-area-select-wrap",{disable:r.disabled,readonly:r.readonly,small:r.size=="small",mini:r.size=="mini","theme-red":r.theme=="buyer"}]),onMouseenter:e[6]||(e[6]=(...o)=>s.handleCome&&s.handleCome(...o)),onMouseleave:e[7]||(e[7]=(...o)=>s.handleLeave&&s.handleLeave(...o))},[u("div",{class:"area-text",onClick:e[1]||(e[1]=ue((...o)=>s.handleClick&&s.handleClick(...o),["stop"]))},[u("span",{class:T({defaule:i.areaSelectName==""})},C(i.areaSelectName==""?r.placeholder:i.areaSelectName),3),le(u("img",{class:"clear-img",src:KQ,alt:"",onClick:e[0]||(e[0]=ue((...o)=>s.clearArea&&s.clearArea(...o),["stop"]))},null,512),[[fe,i.areaSelectName&&r.clearable]]),i.comein?b("",!0):(g(),v("span",ZQ)),i.comein?(g(),v("span",YQ)):b("",!0)]),B(x8,{name:"options"},{default:F(()=>[le(u("div",{class:"area-wrap",onClick:e[5]||(e[5]=ue(()=>{},["stop"]))},[u("div",JQ,[u("a",{class:T(["tab-prov",i.currentTab=="1"?"now":""]),href:"javascript:;",onClick:e[2]||(e[2]=ue(o=>s.chanTab("1"),["stop"]))},C(i.selectedArea.provName||"省份"),3),le(u("a",{class:T(["tab-city",i.currentTab=="2"?"now":""]),href:"javascript:;",onClick:e[3]||(e[3]=ue(o=>s.chanTab("2"),["stop"]))},C(i.selectedArea.cityName),3),[[fe,JSON.stringify(i.currentAreaArr.cityArr)!="{}"&&i.selectedArea.cityName]]),le(u("a",{class:T(["tab-area",i.currentTab=="3"?"now":""]),href:"javascript:;",onClick:e[4]||(e[4]=ue(o=>s.chanTab("3"),["stop"]))},C(i.selectedArea.areaName),3),[[fe,JSON.stringify(i.currentAreaArr.areaArr)!="{}"&&i.selectedArea.areaName]])]),u("div",XQ,[i.areaData?(g(),v("div",{key:0,class:T(["prov",i.currentTab=="1"?"show":"hide"])},[(g(!0),v(P,null,oe(i.areaData.prov,(o,a)=>(g(),v("dl",{class:"k-clearfix",key:a},[u("dt",null,C(a),1),u("dd",null,[(g(!0),v(P,null,oe(o,(l,c)=>(g(),v("a",{class:T(l.code==i.selectedArea.provId?"active":""),href:"javascript:;",key:c,onClick:ue(h=>s.selectProv(l.code,l.address),["stop","prevent"])},C(l.simple),11,eW))),128))])]))),128))],2)):b("",!0),u("div",{class:T(["city",i.currentTab=="2"?"show":"hide"])},[u("dl",null,[u("dd",null,[(g(!0),v(P,null,oe(i.currentAreaArr.cityArr,(o,a)=>(g(),v("a",{class:T(a==i.selectedArea.cityId?"active":""),href:"javascript:;",key:a,onClick:ue(l=>s.selectCity(a,o),["stop"])},C(o),11,tW))),128))])])],2),le(u("div",rW,[u("dl",null,[u("dd",null,[(g(!0),v(P,null,oe(i.currentAreaArr.areaArr,(o,a)=>(g(),v("a",{class:T(a==i.selectedArea.areaId?"active":""),href:"javascript:;",key:a,onClick:ue(l=>s.selectarea(a,o),["stop"])},C(o),11,nW))),128))])])],512),[[fe,i.currentTab=="3"&&JSON.stringify(i.currentAreaArr.areaArr)!="{}"]])])],512),[[fe,i.comein]])]),_:1})],34)}const sW=ye(GQ,[["render",iW]]),bie=ze(sW),oW="https://static.kongfz.com/search-v3/assets/images/icon-auto-p_Vnol5q.svg",aW="https://static.kongfz.com/search-v3/assets/images/icon-auto-active-CrLyKjWS.svg",lW="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='160px'%20height='120px'%20viewBox='0%200%20160%20120'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e固定模式%3c/title%3e%3cg%20id='固定模式'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='react'%20fill='%230068F2'%20opacity='0'%20x='0'%20y='0'%20width='160'%20height='120'%3e%3c/rect%3e%3cpath%20d='M132,14.25%20L28,14.25%20C23.1675084,14.25%2019.25,18.1675084%2019.25,23%20L19.25,97%20C19.25,101.832492%2023.1675084,105.75%2028,105.75%20L132,105.75%20C136.832492,105.75%20140.75,101.832492%20140.75,97%20L140.75,23%20C140.75,18.1675084%20136.832492,14.25%20132,14.25%20Z%20M132,15.75%20C136.004064,15.75%20139.25,18.9959356%20139.25,23%20L139.25,97%20C139.25,101.004064%20136.004064,104.25%20132,104.25%20L28,104.25%20C23.9959356,104.25%2020.75,101.004064%2020.75,97%20L20.75,23%20C20.75,18.9959356%2023.9959356,15.75%2028,15.75%20L132,15.75%20Z'%20id='path'%20fill='%23808080'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M107,31.5%20C107.552285,31.5%20108,31.9477153%20108,32.5%20C108,33.0522847%20107.552285,33.5%20107,33.5%20L53,33.5%20C52.4477153,33.5%2052,33.0522847%2052,32.5%20C52,31.9477153%2052.4477153,31.5%2053,31.5%20L107,31.5%20Z'%20id='path'%20fill='%23D9D9D9'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M107,45.5%20C107.552285,45.5%20108,45.9477153%20108,46.5%20C108,47.0522847%20107.552285,47.5%20107,47.5%20L53,47.5%20C52.4477153,47.5%2052,47.0522847%2052,46.5%20C52,45.9477153%2052.4477153,45.5%2053,45.5%20L107,45.5%20Z'%20id='path'%20fill='%23D9D9D9'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M107,59.5%20C107.552285,59.5%20108,59.9477153%20108,60.5%20C108,61.0522847%20107.552285,61.5%20107,61.5%20L53,61.5%20C52.4477153,61.5%2052,61.0522847%2052,60.5%20C52,59.9477153%2052.4477153,59.5%2053,59.5%20L107,59.5%20Z'%20id='path'%20fill='%23D9D9D9'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M107,73.5%20C107.552285,73.5%20108,73.9477153%20108,74.5%20C108,75.0522847%20107.552285,75.5%20107,75.5%20L53,75.5%20C52.4477153,75.5%2052,75.0522847%2052,74.5%20C52,73.9477153%2052.4477153,73.5%2053,73.5%20L107,73.5%20Z'%20id='path'%20fill='%23D9D9D9'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M107,87.5%20C107.552285,87.5%20108,87.9477153%20108,88.5%20C108,89.0522847%20107.552285,89.5%20107,89.5%20L53,89.5%20C52.4477153,89.5%2052,89.0522847%2052,88.5%20C52,87.9477153%2052.4477153,87.5%2053,87.5%20L107,87.5%20Z'%20id='path'%20fill='%23D9D9D9'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M46.00003,60.25%20C46.4142436,60.25%2046.75003,60.5857864%2046.75003,61%20C46.75003,61.4142136%2046.4142436,61.75%2046.00003,61.75%20L32.00003,61.75%20C31.5858164,61.75%2031.25003,61.4142136%2031.25003,61%20C31.25003,60.5857864%2031.5858164,60.25%2032.00003,60.25%20L46.00003,60.25%20Z'%20id='path'%20fill='%23808080'%20fill-rule='nonzero'%20transform='translate(39.000030,%2061.000000)%20scale(-1,%201)%20translate(-39.000030,%20-61.000000)%20'%3e%3c/path%3e%3cpath%20d='M45.7803881,54.4696706%20C46.0732809,54.176777%2046.5481547,54.1767764%2046.8410483,54.4696693%20C47.1339419,54.7625621%2047.1339424,55.2374358%2046.8410496,55.5303294%20L41.3717338,61%20L46.8410496,66.4696706%20C47.1073158,66.7359375%2047.1315214,67.1526012%2046.9136665,67.4462124%20L46.8410483,67.5303307%20C46.5481547,67.8232236%2046.0732809,67.823223%2045.7803881,67.5303294%20L39.250075,61%20L45.7803881,54.4696706%20Z'%20id='path'%20fill='%23808080'%20fill-rule='nonzero'%20transform='translate(43.155397,%2061.000000)%20scale(-1,%201)%20translate(-43.155397,%20-61.000000)%20'%3e%3c/path%3e%3cpath%20d='M128.00006,60.25%20C128.414274,60.25%20128.75006,60.5857864%20128.75006,61%20C128.75006,61.4142136%20128.414274,61.75%20128.00006,61.75%20L114.00006,61.75%20C113.585846,61.75%20113.25006,61.4142136%20113.25006,61%20C113.25006,60.5857864%20113.585846,60.25%20114.00006,60.25%20L128.00006,60.25%20Z'%20id='path'%20fill='%23808080'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M119.469684,54.4696706%20C119.762577,54.176777%20120.237451,54.1767764%20120.530344,54.4696693%20C120.823238,54.7625621%20120.823239,55.2374358%20120.530346,55.5303294%20L115.06103,61%20L120.530346,66.4696706%20C120.796612,66.7359375%20120.820818,67.1526012%20120.602963,67.4462124%20L120.530344,67.5303307%20C120.237451,67.8232236%20119.762577,67.823223%20119.469684,67.5303294%20L112.939371,61%20L119.469684,54.4696706%20Z'%20id='path'%20fill='%23808080'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",cW="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='160px'%20height='120px'%20viewBox='0%200%20160%20120'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e固定模式-hover%3c/title%3e%3cg%20id='固定模式-hover'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3crect%20id='react'%20fill='%230068F2'%20opacity='0'%20x='0'%20y='0'%20width='160'%20height='120'%3e%3c/rect%3e%3cpath%20d='M132,14.25%20L28,14.25%20C23.1675084,14.25%2019.25,18.1675084%2019.25,23%20L19.25,97%20C19.25,101.832492%2023.1675084,105.75%2028,105.75%20L132,105.75%20C136.832492,105.75%20140.75,101.832492%20140.75,97%20L140.75,23%20C140.75,18.1675084%20136.832492,14.25%20132,14.25%20Z%20M132,15.75%20C136.004064,15.75%20139.25,18.9959356%20139.25,23%20L139.25,97%20C139.25,101.004064%20136.004064,104.25%20132,104.25%20L28,104.25%20C23.9959356,104.25%2020.75,101.004064%2020.75,97%20L20.75,23%20C20.75,18.9959356%2023.9959356,15.75%2028,15.75%20L132,15.75%20Z'%20id='path'%20fill='%23105FB3'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M107,31.5%20C107.552285,31.5%20108,31.9477153%20108,32.5%20C108,33.0522847%20107.552285,33.5%20107,33.5%20L53,33.5%20C52.4477153,33.5%2052,33.0522847%2052,32.5%20C52,31.9477153%2052.4477153,31.5%2053,31.5%20L107,31.5%20Z'%20id='path'%20fill='%23C2DBFC'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M107,45.5%20C107.552285,45.5%20108,45.9477153%20108,46.5%20C108,47.0522847%20107.552285,47.5%20107,47.5%20L53,47.5%20C52.4477153,47.5%2052,47.0522847%2052,46.5%20C52,45.9477153%2052.4477153,45.5%2053,45.5%20L107,45.5%20Z'%20id='path'%20fill='%23C2DBFC'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M107,59.5%20C107.552285,59.5%20108,59.9477153%20108,60.5%20C108,61.0522847%20107.552285,61.5%20107,61.5%20L53,61.5%20C52.4477153,61.5%2052,61.0522847%2052,60.5%20C52,59.9477153%2052.4477153,59.5%2053,59.5%20L107,59.5%20Z'%20id='path'%20fill='%23C2DBFC'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M107,73.5%20C107.552285,73.5%20108,73.9477153%20108,74.5%20C108,75.0522847%20107.552285,75.5%20107,75.5%20L53,75.5%20C52.4477153,75.5%2052,75.0522847%2052,74.5%20C52,73.9477153%2052.4477153,73.5%2053,73.5%20L107,73.5%20Z'%20id='path'%20fill='%23C2DBFC'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M107,87.5%20C107.552285,87.5%20108,87.9477153%20108,88.5%20C108,89.0522847%20107.552285,89.5%20107,89.5%20L53,89.5%20C52.4477153,89.5%2052,89.0522847%2052,88.5%20C52,87.9477153%2052.4477153,87.5%2053,87.5%20L107,87.5%20Z'%20id='path'%20fill='%23C2DBFC'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M46.00003,60.25%20C46.4142436,60.25%2046.75003,60.5857864%2046.75003,61%20C46.75003,61.4142136%2046.4142436,61.75%2046.00003,61.75%20L32.00003,61.75%20C31.5858164,61.75%2031.25003,61.4142136%2031.25003,61%20C31.25003,60.5857864%2031.5858164,60.25%2032.00003,60.25%20L46.00003,60.25%20Z'%20id='path'%20fill='%23105FB3'%20fill-rule='nonzero'%20transform='translate(39.000030,%2061.000000)%20scale(-1,%201)%20translate(-39.000030,%20-61.000000)%20'%3e%3c/path%3e%3cpath%20d='M45.7803881,54.4696706%20C46.0732809,54.176777%2046.5481547,54.1767764%2046.8410483,54.4696693%20C47.1339419,54.7625621%2047.1339424,55.2374358%2046.8410496,55.5303294%20L41.3717338,61%20L46.8410496,66.4696706%20C47.1073158,66.7359375%2047.1315214,67.1526012%2046.9136665,67.4462124%20L46.8410483,67.5303307%20C46.5481547,67.8232236%2046.0732809,67.823223%2045.7803881,67.5303294%20L39.250075,61%20L45.7803881,54.4696706%20Z'%20id='path'%20fill='%23105FB3'%20fill-rule='nonzero'%20transform='translate(43.155397,%2061.000000)%20scale(-1,%201)%20translate(-43.155397,%20-61.000000)%20'%3e%3c/path%3e%3cpath%20d='M128.00006,60.25%20C128.414274,60.25%20128.75006,60.5857864%20128.75006,61%20C128.75006,61.4142136%20128.414274,61.75%20128.00006,61.75%20L114.00006,61.75%20C113.585846,61.75%20113.25006,61.4142136%20113.25006,61%20C113.25006,60.5857864%20113.585846,60.25%20114.00006,60.25%20L128.00006,60.25%20Z'%20id='path'%20fill='%23105FB3'%20fill-rule='nonzero'%3e%3c/path%3e%3cpath%20d='M119.469684,54.4696706%20C119.762577,54.176777%20120.237451,54.1767764%20120.530344,54.4696693%20C120.823238,54.7625621%20120.823239,55.2374358%20120.530346,55.5303294%20L115.06103,61%20L120.530346,66.4696706%20C120.796612,66.7359375%20120.820818,67.1526012%20120.602963,67.4462124%20L120.530344,67.5303307%20C120.237451,67.8232236%20119.762577,67.823223%20119.469684,67.5303294%20L112.939371,61%20L119.469684,54.4696706%20Z'%20id='path'%20fill='%23105FB3'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",uW={name:"KSellerHeader",components:{TopBar:PV},props:{layout:{type:Number,default:1},site:{type:Object,default:()=>({})},type:{type:Number,default:3},showLayoutSet:{type:Boolean,default:!1},bizType:{type:String,default:"shop"}},data(){return{show:!1,isStaff:!1,staffName:"",shopName:"",auctioneerName:"",layoutClassName:"",layoutSetDialog:!1,layoutActive:1,layoutTips:!0,isCNDomain:!1}},watch:{layout:function(t){t==1&&(this.layoutClassName="size-1000"),t==2&&(this.layoutClassName=""),t==3&&(this.layoutClassName="w-auto-xl"),t==4&&(this.layoutClassName="w-auto-xxl")}},async created(){location.hostname.indexOf(".cn")>-1&&(this.isCNDomain=!0),location.pathname.includes("/preview/example/SellerHeaderPreview")||this.getStaffInfo(),this.layout==1&&(this.layoutClassName="size-1000"),this.layout==2&&(this.layoutClassName=""),this.layout==3&&(this.layoutClassName="w-auto-xl"),this.layout==4&&(this.layoutClassName="w-auto-xxl"),this.initLayout()},methods:{initLayout(){const t=jn.getItem("__layout");t&&(this.layoutActive=t,this.$eventBus.emit("layout",t))},setLayout(t){this.layoutActive=t,this.$eventBus.emit("layout",t),jn.setItem("__layout",t)},async getStaffInfo(){try{const{body:t}=await es({url:this.isCNDomain?"".concat(this.site.s_cn_seller,"jsonp/baseInfo"):"".concat(this.site.s_seller,"jsonp/baseInfo")});if(!t)return;const{status:e,data:r}=t;if(e!==1)return;const{staffName:n,shopName:i,auctioneerName:s}=r;n&&(this.isStaff=!0,this.staffName=n),this.shopName=i,this.auctioneerName=s}catch(t){console.log(t)}}}},hW={class:"common-seller-header-wrap"},fW={class:"seller-logo float-left"},dW=["href"],pW=u("span",{class:"small-logo"},[u("span",{class:"global-iconfont global-icon-small-logo"}),u("span",{class:"small-logo-text"}," 卖家中心 ")],-1),gW=[pW],vW={class:"seller-right-content"},yW={class:"shop-name"},mW={key:0,id:"seller-shop-name"},bW={key:1,id:"seller-shop-name"},_W={key:0,class:"staff-box"},wW=["href"],CW=u("span",{class:"global-iconfont global-icon-shezhikuandu"},null,-1),AW={class:"set-layout-box"},SW=u("div",{class:"icon"},[u("img",{src:oW,class:"icon-d"}),u("img",{src:aW,class:"icon-a"})],-1),TW=u("button",{class:"btn"},"全屏模式",-1),EW=[SW,TW],IW=u("div",{class:"icon"},[u("img",{src:lW,class:"icon-d"}),u("img",{src:cW,class:"icon-a"})],-1),kW=u("button",{class:"btn"},"固定模式",-1),xW=[IW,kW];function LW(t,e,r,n,i,s){const o=se("TopBar"),a=L3;return g(),v("div",null,[i.isStaff?b("",!0):(g(),ne(o,{key:0,site:r.site,layout:r.layout,type:r.type},null,8,["site","layout","type"])),u("div",hW,[u("div",{class:T(["common-seller-header clearfix",i.layoutClassName])},[u("div",fW,[u("a",{href:"".concat(r.site.s_shop,"seller"),class:"logo-text"},gW,8,dW)]),u("div",vW,[u("h2",yW,[r.bizType=="shop"?(g(),v("span",mW,C(i.shopName),1)):b("",!0),r.bizType=="auctioneer"&&i.auctioneerName?(g(),v("span",bW,"拍主："+C(i.auctioneerName),1)):b("",!0)]),i.isStaff?(g(),v("div",_W,[u("span",null,"员工账号："+C(i.staffName),1),u("a",{href:"".concat(r.site.s_seller,"Pc/Staff/logout"),class:"staff-link"},"退出",8,wW)])):b("",!0),r.showLayoutSet?(g(),v("div",{key:1,class:"set-layout",onClick:e[0]||(e[0]=l=>i.layoutSetDialog=!0)},[CW,V(" 页面设置 ")])):b("",!0)])],2),B(a,{title:"页面设置",modelValue:i.layoutSetDialog,"onUpdate:modelValue":e[3]||(e[3]=l=>i.layoutSetDialog=l),class:"set-layout-dialog",width:"400px"},{default:F(()=>[u("div",AW,[u("div",{class:T(["item",i.layoutActive==2?"active":""]),onClick:e[1]||(e[1]=l=>s.setLayout(2))},EW,2),u("div",{class:T(["item",i.layoutActive==1?"active":""]),onClick:e[2]||(e[2]=l=>s.setLayout(1))},xW,2)])]),_:1},8,["modelValue"])])])}const OW=ye(uW,[["render",LW]]),NW=ze(OW),Ct=(t,e)=>{const r=t.__vccOpts||t;for(const[n,i]of e)r[n]=i;return r},RW={name:"KButton",props:{theme:{type:String,default:"primary"},type:{type:String,default:"fill"},minWidth:{type:[String,Number]},width:{type:[String,Number]},height:{type:[String,Number],default:40},borderRadius:{type:[String,Number]},fontSize:{type:[String,Number]},customClass:{type:String},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},forceBlur:{type:Boolean,default:!1},effect:{type:String}},data(){return{styleObject:{}}},methods:{_getNumber(t){return typeof t=="string"?Number(t.replace("px","")):t},_matchFontSize(t){const e=this._getNumber(t);return this._getNumber(this.fontSize)||(e===24||e===26?12:e===28?13:e===48||e===44?16:14)},_matchFontWeight(t){const e=this._getNumber(t);return this.type!=="fill"?400:[36,40,44,48].includes(e)?700:400},handleClick(t){this.$emit("click",t)}},directives:{"force-blur":{bind(t,e){if(!e.value)return;const r=()=>{t.blur()};t.addEventListener("click",r),t.__clickHandler__=r},unbind:function(t){const e=t.__clickHandler__;e&&(t.removeEventListener("click",e),delete t.__clickHandler__)}}}},DW=["disabled"],BW={key:0,class:"k-iconfont k-icon-jiazai"},$W={key:1,class:"k-iconfont k-icon-liaotian"};function PW(t,e,r,n,i,s){const o=E3("force-blur");return le((g(),v("button",{type:"button",class:T(["k-button",["k-button--".concat(r.theme),"k-button--".concat(r.type),r.customClass?r.customClass:"",r.disabled?"k-button--disabled":"",r.effect?"k-button--plain k-button--".concat(r.effect):""]]),style:ve({height:"".concat(s._getNumber(r.height),"px"),padding:"".concat(r.type==="text"?0:"0 ".concat(s._getNumber(r.height)/2,"px")),minWidth:"".concat(s._getNumber(r.minWidth),"px"),width:"".concat(s._getNumber(r.width),"px"),borderRadius:"".concat(s._getNumber(r.borderRadius),"px"),fontSize:"".concat(s._matchFontSize(r.height),"px"),fontWeight:"".concat(s._matchFontWeight(r.height))}),disabled:r.disabled},[r.loading?(g(),v("span",BW)):b("",!0),r.effect?(g(),v("span",$W)):b("",!0),ge(t.$slots,"default",{},void 0,!0)],14,DW)),[[o,r.forceBlur]])}const Nn=Ct(RW,[["render",PW],["__scopeId","data-v-4518ad4e"]]);Nn.install=function(t){t.component(Nn.name,Nn)};const MW={name:"KTabs",model:{prop:"current",event:"update:current"},props:{current:{type:[String,Number],default:""},tabs:{type:Array,default:()=>[]},currentDisabled:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},maxTabCount:{type:Number,default:0,validate:t=>t>=0&&/^\d+$/.test(t.toString())},foldTabLabel:{type:String,default:"其他"},theme:{type:String,default:"primary"}},data(){return{sliderWidth:0,left:0,isShow:!1}},mounted(){document.addEventListener("click",this._handleClick)},beforeDestroy(){document.removeEventListener("click",this._handleClick)},directives:{active:{mounted:(t,e,r)=>{const n=e.instance;e.value&&n.computedSliderPosition(t)},updated:(t,e,r)=>{const n=e.instance;e.value&&n.computedSliderPosition(t)}}},computed:{mainTabs(){return this.maxTabCount===0?this.tabs:this.maxTabCount>=this.tabs.length?this.tabs:this.tabs.slice(0,this.maxTabCount)},foldTabs(){return this.maxTabCount===0?[]:this.maxTabCount>=this.tabs.length?[]:this.tabs.slice(this.maxTabCount,this.tabs.length)},isSubTab(){return this.foldTabs.some(t=>t.name===this.current)}},methods:{_handleClick(){this.isShow=!1},handleChangeTab(t){this.isShow=!1,!(t.disabled||this.disabled)&&(this.currentDisabled&&t.name===this.current||(this.$emit("update:current",t.name),this.$emit("change",t)))},computedSliderPosition(t){t&&(this.sliderWidth=t.getBoundingClientRect().width,this.left=t.offsetLeft)}}},FW={class:"k-tabs__wrapper"},UW=["onClick"],zW={class:"k-tabs-bar__text"},VW=["textContent"],jW={class:"k-tabs-bar__text k-tabs-bar__text--hide"},HW=["textContent"],qW={class:"k-tabs-bar__text"},KW=["textContent"],QW={key:0,class:"k-tabs-popover-wrapper"},WW={class:"k-tabs-popover"},GW=["onClick"],ZW={class:"k-tabs-bar__sub-tab__text"},YW=["textContent"];function JW(t,e,r,n,i,s){const o=E3("active");return g(),v("div",FW,[u("ul",{class:T(["k-tabs",["k-tabs--".concat(r.theme)]])},[(g(!0),v(P,null,oe(s.mainTabs,a=>(g(),v("li",{ref_for:!0,ref:"tabs",key:a.name,class:T(["k-tabs-bar",{active:a.name===r.current}]),onClick:ue(l=>s.handleChangeTab(a),["stop"])},[le((g(),v("span",zW,[u("span",{textContent:C(a.label)},null,8,VW),ge(t.$slots,"sub-text",zr({ref_for:!0},{isSub:!1,tab:a}),void 0,!0)])),[[o,a.name===r.current]]),u("span",jW,[u("span",{textContent:C(a.label)},null,8,HW),ge(t.$slots,"sub-text",zr({ref_for:!0},{isSub:!1,tab:a}),void 0,!0)])],10,UW))),128)),s.foldTabs.length>0?le((g(),v("li",{key:0,class:T(["k-tabs-bar k-tabs-extra",{active:s.isSubTab}]),onClick:e[0]||(e[0]=ue(a=>i.isShow=!i.isShow,["stop"]))},[u("div",qW,[u("span",{textContent:C(r.foldTabLabel)},null,8,KW),u("i",{class:T(["k-iconfont k-icon-xiajiantou k-tabs-popover__triangle",{rotate:i.isShow}])},null,2)]),i.isShow?(g(),v("ul",QW,[e[1]||(e[1]=u("li",{class:"k-tabs-popover-bar"},null,-1)),u("div",WW,[(g(!0),v(P,null,oe(s.foldTabs,a=>(g(),v("li",{key:a.name,class:T(["k-tabs-bar__sub-tab",{active:a.name===r.current}]),onClick:ue(l=>s.handleChangeTab(a),["stop"])},[u("span",ZW,[u("span",{textContent:C(a.label)},null,8,YW),ge(t.$slots,"sub-text",zr({ref_for:!0},{isSub:!0,tab:a}),void 0,!0)])],10,GW))),128))])])):b("",!0)],2)),[[o,s.isSubTab]]):b("",!0)],2),u("div",{class:"k-tabs-slider",style:ve({width:"".concat(i.sliderWidth,"px"),transform:"translateX(".concat(i.left,"px)")})},null,4)])}const Pi=Ct(MW,[["render",JW],["__scopeId","data-v-c84244d5"]]);Pi.install=function(t){t.component(Pi.name,Pi)};const d0={fill:{light_red:{color:"#DB121F",bgColor:"rgba(219, 18, 31, 10%)"},light_vermilion:{color:"#D03411",bgColor:"rgba(208, 52, 17, 10%)"},gradient_vermilion:{color:"#FFFFFF",bgColor:"linear-gradient(315deg, #F53D14 0%, #F57614 100%)"},gradient_red:{color:"#FFFFFF",bgColor:"linear-gradient(315deg, #DB121F 0%, #F53D14 100%)"},gradient_yellow:{color:"#FFFFFF",bgColor:"linear-gradient(315deg, #D3850F 0%, #F5AE14 100%)"},light_yellow:{color:"#B3710D",bgColor:"#FCEACC"},light_green:{color:"#0C8F60",bgColor:"rgba(12, 143, 96, 10%)"},gradient_green:{color:"#FFFFFF",bgColor:"linear-gradient(315deg, #0C8F60 0%, #0EA889 100%)"},gray:{color:"#FFFFFF",bgColor:"#999999"},gradient_blue:{color:"#FFFFFF",bgColor:"linear-gradient(315deg, #105FB3 0%, #129ACC 100%)"},dark_red:{color:"#9B0D16",bgColor:"rgba(155, 13, 22, 10%)"},light_orange:{color:"#F57614",bgColor:"rgba(245, 118, 20, 10%)"},light_gray:{color:"#999999",bgColor:"rgba(153, 153, 153, 10%)"}},icon_fill:{light_yellow:{color:"#D3850F",iconColor:"#D3850F",bgColor:"rgba(211, 133, 15, 10%)"},dark_red:{color:"#9B0D16",iconColor:"#9B0D16",bgColor:"rgba(155, 13, 22, 10%)"},gradient_yellow:{color:"#FFFFFF",iconColor:"#FFFFFF",bgColor:"linear-gradient(315deg, #D3850F 0%, #F5AE14 100%)"},gradient_vermilion:{color:"#FFFFFF",iconColor:"#FFFFFF",bgColor:"linear-gradient(315deg, #F53D14 0%, #F57614 100%)"},gradient_red:{color:"#FFFFFF",iconColor:"#FFFFFF",bgColor:"linear-gradient(315deg, #DB121F 0%, #F53D14 100%)"},gradient_green:{color:"#FFFFFF",iconColor:"#FFFFFF",bgColor:"linear-gradient(315deg, #0C8F60 0%, #0EA889 100%)"}},outline:{red:{color:"#DB121F",borderColor:"rgba(219, 18, 31, 50%)"},green:{color:"#0C8F60",borderColor:"rgba(12, 143, 96, 50%)"},vermilion:{color:"#D03411",borderColor:"rgba(208, 52, 17, 50%)"},yellow:{color:"#D3850F",borderColor:"rgba(211, 133, 15, 50%)"},gray:{color:"#595959",borderColor:"rgba(191, 191, 191)"},blue:{color:"#105FB3",borderColor:"rgba(16, 95, 179, 50%)"},orange:{color:"#F57614",borderColor:"rgba(245, 118, 20, 50%)"},dark_red:{color:"#9B0D16",borderColor:"rgba(155, 13, 22, 50%)"}},icon_outline:{gradient_red:{color:"#DB121F",iconColor:"#FFFFFF",iconBgColor:"linear-gradient(315deg, #DB121F 0%, #F53D14 100%)",borderColor:"rgba(219,18,31, 20%)"},gradient_vermilion:{color:"#D03411",iconColor:"#FFFFFF",iconBgColor:"linear-gradient(315deg, #F53D14 0%, #F57614 100%)",borderColor:"rgba(208,52,17, 20%)"},gradient_yellow:{color:"#D3850F",iconColor:"#FFFFFF",iconBgColor:"linear-gradient(315deg, #D3850F 0%, #F5AE14 100%)",borderColor:"rgba(211,133,15, 20%)"}}};/**
* @vue/shared v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const XW=Object.prototype.hasOwnProperty,pd=(t,e)=>XW.call(t,e),eG=Array.isArray;var gd;const tG=(gd=Pt())==null?void 0:gd.appContext.config.globalProperties.$isServer;function G4(t){return Object.prototype.toString.call(t)==="[object String]"}function Z4(t){return Object.prototype.toString.call(t)==="[object Object]"}let k2=t=>{var e={};return t&&e.toString.call(t)==="[object Function]"};typeof/./!="function"&&typeof Int8Array!="object"&&(tG||typeof document.childNodes!="function")&&(k2=function(t){return typeof t=="function"||!1});const rG=t=>t===void 0,vd=t=>typeof Element>"u"?!1:t instanceof Element,nG=t=>typeof t=="number";var yd;(yd=Pt())==null||yd.appContext.config.globalProperties.$isServer;const Ci=function(t){return typeof t=="string"?Number(t.replace("px","")):t},iG={name:"KTag",props:{type:{type:String,default:"fill"},effect:{type:String,default:"light_red"},text:{type:String},size:{type:[String,Number],default:"12px"},height:{type:String},color:{type:String},iconColor:{type:String},bgColor:{type:String},iconBgColor:{type:String},borderColor:{type:String},borderRadius:{type:String,default:"2px"}},data(){return{Colors:d0,padding:"0px 4px",iconEle:null}},computed:{styles(){const t=d0[this.type];if(!t)return{};const e=t[this.effect],r={color:this.color||e.color,fontSize:"".concat(Ci(this.size),"px"),borderRadius:this.borderRadius,padding:this.padding};return(this.type==="fill"||this.type==="icon_fill")&&(r.background=this.bgColor||e.bgColor),(this.type==="outline"||this.type==="icon_outline")&&(r.border="1px solid ".concat(this.borderColor||e.borderColor)),Ci(this.size)===12?r.height="18px":Ci(this.size)===14&&(r.height="20px"),this.height&&(r.height=this.height),r},iconStyles(){if(!this.type.includes("icon"))return{};const t=d0[this.type];if(!t)return{};const e=t[this.effect]||{},r={color:this.iconColor||e.iconColor};return this.type==="icon_fill"&&(r.marginLeft="2px"),this.type==="icon_outline"&&(r.background=this.iconBgColor||e.iconBgColor,r.marginLeft="-1px",r.marginRight="3px",r.borderRadius=this.parseBorderRadius(this.borderRadius)),Ci(this.size)===12?(this.$nextTick(()=>{this.setIconFontSize(14)}),r.width=this.height||"18px",r.height=this.height||"18px"):Ci(this.size)===14&&(this.$nextTick(()=>{this.setIconFontSize(16)}),r.width=this.height||"20px",r.height=this.height||"20px"),r}},watch:{borderRadius:{handler(t){t==="2px"?(this.padding="0px 4px",["icon_fill","icon_outline"].includes(this.type)&&(this.padding="0px 4px 0 0")):(this.padding="0px 6px",["icon_fill","icon_outline"].includes(this.type)&&(this.padding="0px 6px 0 0"))},immediate:!0}},methods:{setIconFontSize(t){if(this.hasIcon()){if(!this.$refs.iconWrap)return;if(this.$refs.iconWrap.children.length){const e=this.$refs.iconWrap.children[0];e.style.fontSize="".concat(t,"px")}}},hasIcon(){return!!this.$slots.icon},parseBorderRadius(t){let e=t.split(" ").filter(r=>r!=="");if(e.length===1)return"".concat(e[0]," 0 0 ").concat(e[0]);if(e.length===2||e.length===3)return"".concat(e[0]," 0 0 ").concat(e[1]);if(e.length===4)return"".concat(e[0]," 0 0 ").concat(e[3])}}};function sG(t,e,r,n,i,s){return g(),v("div",{class:"k-tag",style:ve(s.styles)},[t.$slots.default?ge(t.$slots,"default",{key:0},void 0,!0):(g(),v(P,{key:1},[t.$slots.icon?(g(),v("span",{key:0,class:"k-tag-icon--wrapper",style:ve(s.iconStyles),ref:"iconWrap"},[ge(t.$slots,"icon",{},void 0,!0)],4)):b("",!0),V(" "+C(r.text),1)],64))],4)}const Mi=Ct(iG,[["render",sG],["__scopeId","data-v-05b9ec5e"]]);Mi.install=function(t){t.component(Mi.name,Mi)};const oG=/([\:\-\_]+(.))/g,aG=/^moz([A-Z])/,md=Number(document.documentMode),lG=function(t){return t.replace(oG,function(e,r,n,i){return i?n.toUpperCase():n}).replace(aG,"Moz$1")},bd=function(t,e){if(!t||!e)return null;if(e=lG(e),e==="float"&&(e=md<9?"styleFloat":"cssFloat"),md<9)try{switch(e){case"opacity":try{return t.filters.item("alpha").opacity/100}catch(n){return 1}default:return t.style[e]||t.currentStyle?t.currentStyle[e]:null}}catch(n){return t.style[e]}else try{var r=document.defaultView.getComputedStyle(t,"");return t.style[e]||r?r[e]:null}catch(n){return t.style[e]}},hc=function(t,e){if(!t||!e)return!1;if(e.indexOf(" ")!==-1)throw new Error("className should not contain space.");return t.classList?t.classList.contains(e):(" "+t.className+" ").indexOf(" "+e+" ")>-1},Rn=function(t,e){if(t){for(var r=t.className,n=(e||"").split(" "),i=0,s=n.length;i<s;i++){var o=n[i];o&&(t.classList?t.classList.add(o):hc(t,o)||(r+=" "+o))}t.classList||t.setAttribute("class",r)}},ta=function(t,e){if(!(!t||!e)){for(var r=e.split(" "),n=" "+t.className+" ",i=0,s=r.length;i<s;i++){var o=r[i];o&&(t.classList?t.classList.remove(o):hc(t,o)&&(n=n.replace(" "+o+" "," ")))}t.classList||t.setAttribute("class",trim(n))}};let x2=1900;const so={},_d=function(){let t=Ve.modalDom;return t||(t=document.createElement("div"),Ve.modalDom=t,t.addEventListener("touchmove",function(e){e.preventDefault(),e.stopPropagation()},{passive:!0}),t.addEventListener("click",function(){Ve.doOnModalClick&&Ve.doOnModalClick()})),t},Ve={modalFade:!1,getInstance:function(t){return so[t]},register:function(t,e){t&&e&&(so[t]=e)},deregister:function(t){t&&(so[t]=null,delete so[t])},nextZIndex:function(){return Ve.zIndex++},modalStack:[],doOnModalClick:function(){const t=Ve.modalStack[Ve.modalStack.length-1];if(!t)return;const e=Ve.getInstance(t.id);e&&e.closeOnClickModal&&e.close()},openModal:function(t,e,r,n,i,s){if(!t||e===void 0)return;this.modalFade=i;const o=this.modalStack;for(let l=0,c=o.length;l<c;l++)if(o[l].id===t)return;const a=_d();Rn(a,"k-modal"),n&&n.trim().split(/\s+/).forEach(l=>Rn(a,l)),r&&r.parentNode&&r.parentNode.nodeType!==11?r.parentNode.appendChild(a):document.body.appendChild(a),e&&(a.style.zIndex=e),a.tabIndex=0,a.style.display="",s&&(a.style.backgroundColor=s),this.modalStack.push({id:t,zIndex:e,modalClass:n})},closeModal:function(t){const e=this.modalStack,r=_d();if(e.length>0){const n=e[e.length-1];if(n.id===t)n.modalClass&&n.modalClass.trim().split(/\s+/).forEach(i=>ta(r,i)),e.pop(),e.length>0&&(r.style.zIndex=e[e.length-1].zIndex);else for(let i=e.length-1;i>=0;i--)if(e[i].id===t){e.splice(i,1);break}}e.length===0&&e.length===0&&(r.parentNode&&r.parentNode.removeChild(r),r.style.display="none",Ve.modalDom=void 0),x2=1900}};Object.defineProperty(Ve,"zIndex",{configurable:!0,get(){return x2},set(t){x2=t}});function cG(t){for(let e=1,r=arguments.length;e<r;e++){let n=arguments[e]||{};for(let i in n)if(n.hasOwnProperty(i)){let s=n[i];s!==void 0&&(t[i]=s)}}return t}let p0,uG=1;const Y4={props:{modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modalAppendToBody:{type:Boolean,default:!0}},data(){return{bodyPaddingRight:null,computedBodyPaddingRight:0,withoutHiddenClass:!0}},watch:{visible(t){t?this.open():(this.restoreBodyStyle(),this.close())}},beforeMount(){this._popupId="k-popup-"+uG++,Ve.register(this._popupId,this)},methods:{open(t){const e=cG({},this.$props||this,t),r=this.$el;if(this.modal&&(Ve.openModal(this._popupId,Ve.nextZIndex(),this.modalAppendToBody?void 0:r,e.modalClass,e.modalFade,e.modalBgColor),this.lockScroll)){this.withoutHiddenClass=!hc(document.body,"k-popup-parent--hidden"),this.withoutHiddenClass&&(this.bodyPaddingRight=document.body.style.paddingRight,this.computedBodyPaddingRight=parseInt(bd(document.body,"paddingRight"),10)),p0=this.getScrollBarWidth();let n=document.documentElement.clientHeight<document.body.scrollHeight,i=bd(document.body,"overflowY");p0>0&&(n||i==="scroll")&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.computedBodyPaddingRight+p0+"px"),Rn(document.body,"k-popup-parent--hidden")}r.style.zIndex=Ve.nextZIndex()},close(){Ve.closeModal(this._popupId),this._closing=!1},getScrollBarWidth(){let t;if(t!==void 0)return t;const e=document.createElement("div");e.className="k-scrollbar__wrap",e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);const r=e.offsetWidth;e.style.overflow="scroll";const n=document.createElement("div");n.style.width="100%",e.appendChild(n);const i=n.offsetWidth;return e.parentNode.removeChild(e),t=r-i,t},restoreBodyStyle(){this.withoutHiddenClass&&(document.body.style.paddingRight=this.bodyPaddingRight,ta(document.body,"k-popup-parent--hidden")),this.withoutHiddenClass=!0}},beforeUnmount(){this.restoreBodyStyle(),Ve.deregister(this._popupId),Ve.closeModal(this._popupId)}},hG={name:"KDialog",mixins:[Y4],props:{visible:{type:Boolean,default:!1},theme:{type:String,default:"primary"},headerBorder:{type:Boolean,default:!0},title:{type:String,default:""},center:{type:Boolean,default:!1},top:{type:String,default:"30vh"},width:{type:String,default:"480px"},okText:{type:String,default:null},cancelText:{type:String,default:null},footerAlign:{type:String,default:"center"},footerBorder:{type:Boolean,default:!1},modal:{type:Boolean,default:!0},modalBgColor:{type:String,default:"rgba(0, 0, 0, 0.5)"},showClose:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},closeOnClickModal:{type:Boolean,default:!1},customClass:{type:String,default:""},lockScroll:{type:Boolean,default:!0},appendToBody:{type:Boolean,default:!1},modalAppendToBody:{type:Boolean,default:!0},destroyOnClose:{type:Boolean,default:!0}},data(){return{key:0}},watch:{visible(t){t?(this.$nextTick(()=>{this.$refs["k-dialog"].scrollTop=0}),this.appendToBody&&document.body.appendChild(this.$el)):this.destroyOnClose&&this.$nextTick(()=>{this.key++})}},mounted(){this.visible&&(this.open(),this.appendToBody&&document.body.appendChild(this.$el))},methods:{handleWrapperClick(){this.closeOnClickModal&&this.cancel("closeByModal")},confirm(){this.$emit("confirm")},cancel(t){this.$emit("cancel",t)}},destoryed(){this.appendToBody&&this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)}},fG={class:"k-dialog__title"},dG={class:"k-dialog__body"};function pG(t,e,r,n,i,s){const o=se("k-button");return le((g(),v("div",{class:"k-dialog__wrapper",onClick:e[2]||(e[2]=ue((...a)=>s.handleWrapperClick&&s.handleWrapperClick(...a),["self"]))},[(g(),v("div",{style:ve({marginTop:r.top,width:r.width}),class:T(["k-dialog",r.customClass,{"k-dialog--center":r.center}]),ref:"k-dialog",key:i.key},[r.title||t.$slots.title?(g(),v("div",{key:0,class:T(["k-dialog__header",{"k-dialog__header--border":r.headerBorder}])},[ge(t.$slots,"title",{},()=>[u("span",fG,C(r.title),1)],!0),r.showClose?(g(),v("span",{key:0,class:T(["k-iconfont k-icon-guanbi k-dialog__close",["k-dialog__close--".concat(r.theme)]]),onClick:e[0]||(e[0]=ue(a=>s.cancel("closeByIcon"),["self"]))},null,2)):b("",!0)],2)):b("",!0),ge(t.$slots,"top",{},void 0,!0),u("div",dG,[ge(t.$slots,"default",{},void 0,!0)]),ge(t.$slots,"bottom",{},void 0,!0),t.$slots.footer||r.okText||r.cancelText?(g(),v("div",{key:1,style:ve({textAlign:r.footerAlign}),class:T([{"k-dialog__footer--border":r.footerBorder},"k-dialog__footer"])},[ge(t.$slots,"footer",{},()=>[r.okText?(g(),ne(o,{key:0,class:"ok-btn",theme:r.theme,height:"32",loading:r.loading,onClick:ue(s.confirm,["stop"])},{default:F(()=>[V(C(r.okText),1)]),_:1},8,["theme","loading","onClick"])):b("",!0),r.cancelText?(g(),ne(o,{key:1,class:"cancel-btn",theme:r.theme,height:"32",type:"plain",onClick:e[1]||(e[1]=a=>s.cancel("closeByBtn"))},{default:F(()=>[V(C(r.cancelText),1)]),_:1},8,["theme"])):b("",!0)],!0)],6)):b("",!0)],6))],512)),[[fe,r.visible]])}const Fi=Ct(hG,[["render",pG],["__scopeId","data-v-47f58ff1"]]);Fi.install=function(t){t.component(Fi.name,Fi)};var je=je||{};je.Utils=je.Utils||{};je.Utils.focusFirstDescendant=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];if(je.Utils.attemptFocus(r)||je.Utils.focusFirstDescendant(r))return!0}return!1};je.Utils.focusLastDescendant=function(t){for(var e=t.childNodes.length-1;e>=0;e--){var r=t.childNodes[e];if(je.Utils.attemptFocus(r)||je.Utils.focusLastDescendant(r))return!0}return!1};je.Utils.attemptFocus=function(t){if(!je.Utils.isFocusable(t))return!1;je.Utils.IgnoreUtilFocusChanges=!0;try{t.focus()}catch(e){}return je.Utils.IgnoreUtilFocusChanges=!1,document.activeElement===t};je.Utils.isFocusable=function(t){if(t.tabIndex>0||t.tabIndex===0&&t.getAttribute("tabIndex")!==null)return!0;if(t.disabled)return!1;switch(t.nodeName){case"A":return!!t.href&&t.rel!=="ignore";case"INPUT":return t.type!=="hidden"&&t.type!=="file";case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}};je.Utils.triggerEvent=function(t,e,...r){let n;/^mouse|click/.test(e)?n="MouseEvents":/^key/.test(e)?n="KeyboardEvent":n="HTMLEvents";const i=document.createEvent(n);return i.initEvent(e,...r),t.dispatchEvent?t.dispatchEvent(i):t.fireEvent("on"+e,i),t};je.Utils.keys={tab:9,enter:13,space:32,left:37,up:38,right:39,down:40,esc:27};const No=je.Utils;var en=en||{},fc;en.Dialog=function(t,e,r){if(this.dialogNode=t,this.dialogNode===null||this.dialogNode.getAttribute("role")!=="dialog")throw new Error("Dialog() requires a DOM element with ARIA role of dialog.");typeof e=="string"?this.focusAfterClosed=document.getElementById(e):typeof e=="object"?this.focusAfterClosed=e:this.focusAfterClosed=null,typeof r=="string"?this.focusFirst=document.getElementById(r):typeof r=="object"?this.focusFirst=r:this.focusFirst=null,this.focusFirst?this.focusFirst.focus():No.focusFirstDescendant(this.dialogNode),this.lastFocus=document.activeElement,fc=n=>{this.trapFocus(n)},this.addListeners()};en.Dialog.prototype.addListeners=function(){document.addEventListener("focus",fc,!0)};en.Dialog.prototype.removeListeners=function(){document.removeEventListener("focus",fc,!0)};en.Dialog.prototype.closeDialog=function(){this.removeListeners(),this.focusAfterClosed&&setTimeout(()=>{this.focusAfterClosed.focus()})};en.Dialog.prototype.trapFocus=function(t){No.IgnoreUtilFocusChanges||(this.dialogNode.contains(t.target)?this.lastFocus=t.target:(No.focusFirstDescendant(this.dialogNode),this.lastFocus===document.activeElement&&No.focusLastDescendant(this.dialogNode),this.lastFocus=document.activeElement))};const gG=en.Dialog;let g0,wd={success:"success",info:"info",warning:"warning",error:"error"};const vG={name:"KMessageBox",inheritAttrs:!1,mixins:[Y4],components:{KButton:Nn},props:{modal:{default:!0},lockScroll:{default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{default:!0},closeOnPressEscape:{default:!0},closeOnHashChange:{default:!0},center:{default:!1,type:Boolean},modalBgColor:{default:"rgba(0, 0, 0, 0.5)",type:String}},computed:{icon(){const{type:t,iconClass:e}=this;return e||(t&&wd[t]?"el-icon-".concat(wd[t]):"")}},methods:{getSafeClose(){const t=this.uid;return()=>this.$nextTick(()=>{t===this.uid&&this.doClose()})},doClose(){this.visible&&(this.visible=!1,this._closing=!0,this.onClose&&this.onClose(),g0.closeDialog(),this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.close(),this.action&&this.$emit("action",this.action),this.$nextTick(()=>{this.$emit("vanish")}))},handleWrapperClick(){this.closeOnClickModal&&this.handleAction(this.distinguishCancelAndClose?"close":"cancel")},handleInputEnter(){if(this.inputType!=="textarea")return this.handleAction("confirm")},handleAction(t){this.$type==="prompt"&&t==="confirm"&&!this.validate()||(this.action=t,typeof this.beforeClose=="function"?(this._closeFn=this.getSafeClose(),this.beforeClose(t,this,this._closeFn)):this.doClose())},validate(){if(this.$type==="prompt"){const t=this.inputPattern;if(t&&!t.test(this.inputValue||""))return this.editorErrorMessage=this.inputErrorMessage,Rn(this.getInputElement(),"invalid"),!1;const e=this.inputValidator;if(typeof e=="function"){const r=e(this.inputValue);if(r===!1)return this.editorErrorMessage=this.inputErrorMessage,Rn(this.getInputElement(),"invalid"),!1;if(typeof r=="string")return this.editorErrorMessage=r,Rn(this.getInputElement(),"invalid"),!1}}return this.editorErrorMessage="",ta(this.getInputElement(),"invalid"),!0},getFirstFocus(){const t=this.$el.querySelector(".k-message-box__btns .el-button"),e=this.$el.querySelector(".k-message-box__btns .k-message-box__title");return t||e},getInputElement(){const t=this.$refs.input.$refs;return t.input||t.textarea},handleClose(){this.handleAction("close")}},watch:{inputValue:{immediate:!0,handler(t){this.$nextTick(e=>{this.$type==="prompt"&&t!==null&&this.validate()})}},visible(t){if(t){this.uid++;const e=document.activeElement;e&&e.tagName!=="TBODY"&&(this.focusAfterClosed=document.activeElement),g0=new gG(this.$el,this.focusAfterClosed,this.getFirstFocus())}this.$type==="prompt"&&(t?setTimeout(()=>{this.$refs.input&&this.$refs.input.$el&&this.getInputElement().focus()},500):(this.editorErrorMessage="",ta(this.getInputElement(),"invalid")))}},mounted(){this.$nextTick(()=>{this.closeOnHashChange&&window.addEventListener("hashchange",this._closeFn)})},beforeDestroy(){this.closeOnHashChange&&window.removeEventListener("hashchange",this._closeFn),setTimeout(()=>{g0.closeDialog()})},data(){return{uid:1,action:"",editorErrorMessage:null,callback:null,dangerouslyUseHTMLString:!1,focusAfterClosed:null,isOnComposition:!1,top:"30vh",width:"480px",theme:"primary",headerBorder:!0,title:null,message:"",type:"",iconClass:"",customClass:"",showInput:!1,inputPlaceholder:"",inputValue:null,inputType:"text",inputPattern:null,inputValidator:null,inputErrorMessage:"",okText:"",showOkBtn:!0,cancelText:"",showCancelBtn:!1,okBtnLoading:!1,cancelBtnLoading:!1,okBtnClass:"",cancelBtnClass:"",beforeClose:null,dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,footerBorder:!1,visible:!1}}},yG=["aria-label"],mG={class:"k-message-box__title"},bG={class:"k-message-box__content"},_G={class:"k-message-box__container"},wG={key:1,class:"k-message-box__message"},CG={key:0},AG=["innerHTML"],SG={class:"k-message-box__input"};function TG(t,e,r,n,i,s){const o=se("k-button");return le((g(),v("div",{class:"k-message-box__wrapper",tabindex:"-1",onClick:e[6]||(e[6]=ue((...a)=>s.handleWrapperClick&&s.handleWrapperClick(...a),["self"])),role:"dialog","aria-modal":"true","aria-label":i.title||"dialog"},[u("div",{class:T(["k-message-box",[i.customClass,r.center&&"k-message-box--center"]]),style:ve({marginTop:i.top,width:i.width})},[i.title?(g(),v("div",{key:0,class:T(["k-message-box__header",{"k-message-box__header--border":i.headerBorder}])},[u("div",mG,[s.icon&&r.center?(g(),v("div",{key:0,class:T(["k-message-box__status",s.icon])},null,2)):b("",!0),u("span",null,C(i.title),1)]),r.showClose?(g(),v("button",{key:0,type:"button",class:"k-message-box__headerbtn","aria-label":"Close",onClick:e[0]||(e[0]=a=>s.handleAction(i.distinguishCancelAndClose?"close":"cancel")),onKeydown:e[1]||(e[1]=Wt(a=>s.handleAction(i.distinguishCancelAndClose?"close":"cancel"),["enter"]))},[u("span",{class:T(["k-message-box__close k-iconfont k-icon-guanbi",["k-message-box__close--".concat(i.theme)]])},null,2)],32)):b("",!0)],2)):b("",!0),u("div",bG,[u("div",_G,[s.icon&&!r.center&&i.message!==""?(g(),v("div",{key:0,class:T(["k-message-box__status",s.icon])},null,2)):b("",!0),i.message!==""?(g(),v("div",wG,[ge(t.$slots,"default",{},()=>[i.dangerouslyUseHTMLString?(g(),v("p",{key:1,innerHTML:i.message},null,8,AG)):(g(),v("p",CG,C(i.message),1))],!0)])):b("",!0)]),le(u("div",SG,[e[7]||(e[7]=u("input",{type:"text"},null,-1)),u("div",{class:"k-message-box__errormsg",style:ve({visibility:i.editorErrorMessage?"visible":"hidden"})},C(i.editorErrorMessage),5)],512),[[fe,i.showInput]])]),u("div",{class:T(["k-message-box__btns",{"k-message-box__btns--border":i.footerBorder}])},[i.showOkBtn?(g(),ne(o,{key:0,loading:i.okBtnLoading,class:T([i.okBtnClass]),theme:i.theme,height:"32",onClick:e[2]||(e[2]=a=>s.handleAction("confirm")),onKeydown:e[3]||(e[3]=Wt(a=>s.handleAction("confirm"),["enter"]))},{default:F(()=>[V(C(i.okText||"确定"),1)]),_:1},8,["loading","class","theme"])):b("",!0),i.showCancelBtn?(g(),ne(o,{key:1,loading:i.cancelBtnLoading,class:T([i.cancelBtnClass]),theme:i.theme,type:"plain",height:"32",onClick:e[4]||(e[4]=a=>s.handleAction("cancel")),onKeydown:e[5]||(e[5]=Wt(a=>s.handleAction("cancel"),["enter"]))},{default:F(()=>[V(C(i.cancelText||"取消"),1)]),_:1},8,["loading","class","theme"])):b("",!0)],2)],6)],8,yG)),[[fe,i.visible]])}const EG=Ct(vG,[["render",TG],["__scopeId","data-v-1d93ecea"]]),ts=new Map,IG=t=>{let e=document.body;return t.appendTo&&(G4(t.appendTo)&&(e=document.querySelector<HTMLElement>t.appendTo),vd(t.appendTo)&&(e=t.appendTo),vd(e)||(e=document.body)),e},kG=(t,e,r=null)=>{const n=B(EG,t,k2(t.message)||T3(t.message)?{default:k2(t.message)?t.message:()=>t.message}:null);return n.appContext=r,I3(n,e),IG(t).appendChild(e.firstElementChild),n.component},xG=()=>document.createElement("div"),LG=(t,e)=>{const r=xG();t.onVanish=()=>{I3(null,r),ts.delete(i)},t.onAction=s=>{const o=ts.get(i);let a;t.showInput?a={value:i.inputValue,action:s}:a=s,t.callback?t.callback(a,n.proxy):s==="cancel"||s==="close"?t.distinguishCancelAndClose&&s!=="cancel"?o.reject("close"):o.reject("cancel"):o.resolve(a)};const n=kG(t,r,e),i=n.proxy;for(const s in t)pd(t,s)&&!pd(i.$props,s)&&(s==="closeIcon"&&Z4(t[s])?i[s]=O8(t[s]):i[s]=t[s]);return i.visible=!0,i};function Ue(t,e){let r;return G4(t)||T3(t)?t={message:t}:r=t.callback,new Promise((n,i)=>{const s=LG(t,e!=null?e:Ue._context);ts.set(s,{options:t,callback:r,resolve:n,reject:i})})}const OG=["alert","confirm","prompt"],NG={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelBtn:!0},prompt:{showCancelBtn:!0,showInput:!0}};OG.forEach(t=>{Ue[t]=RG(t)});function RG(t){return(e,r,n,i)=>{let s="";return Z4(r)?(n=r,s=""):rG(r)?s="":s=r,Ue(Object.assign({title:s,message:e,type:"",...NG[t]},n,{boxType:t}),i)}}Ue.close=()=>{ts.forEach((t,e)=>{e.doClose()}),ts.clear()};Ue._context=null;const v0="k",DG="is-",$r=(t,e,r,n,i)=>{let s="".concat(t,"-").concat(e);return r&&(s+="-".concat(r)),n&&(s+="__".concat(n)),i&&(s+="--".concat(i)),s},BG=Symbol("namespaceContextKey"),$G=t=>{const e=Pt()?oa(BG,ce(v0)):ce(v0);return He(()=>O(e)||v0)},$t=(t,e)=>{const r=$G();return{namespace:r,b:(n="")=>$r(r.value,t,n,"",""),e:n=>n?$r(r.value,t,"",n,""):"",m:n=>n?$r(r.value,t,"","",n):"",be:(n,i)=>n&&i?$r(r.value,t,n,i,""):"",em:(n,i)=>n&&i?$r(r.value,t,"",n,i):"",bm:(n,i)=>n&&i?$r(r.value,t,n,"",i):"",bem:(n,i,s)=>n&&i&&s?$r(r.value,t,n,i,s):"",is:(n,...i)=>{const s=i.length>=1?i[0]:!0;return n&&s?"".concat(DG).concat(n):""},cssVar:n=>{const i={};for(const s in n)n[s]&&(i["--".concat(r.value,"-").concat(s)]=n[s]);return i},cssVarName:n=>"--".concat(r.value,"-").concat(n),cssVarBlock:n=>{const i={};for(const s in n)n[s]&&(i["--".concat(r.value,"-").concat(t,"-").concat(s)]=n[s]);return i},cssVarBlockName:n=>"--".concat(r.value,"-").concat(t,"-").concat(n)}},J4=Symbol("kPaginationKey"),xs=()=>oa(J4,{}),PG=["disabled"],MG=Object.assign({name:"KPaginationJumper"},{__name:"jumper",setup(t){const e=$t("pagination"),{pageCount:r,disabled:n,currentPage:i,handleInputValChange:s,changeEvent:o}=xs(),a=ce(),l=He(()=>{var d;return(d=a.value)!=null?d:i==null?void 0:i.value});function c(d){a.value=d?+d:""}function h(d){d=Math.trunc(+d),s==null||s(d)}function f(){o==null||o(l.value)}return(d,p)=>(g(),v("span",{class:T(O(e).e("jump")),disabled:O(n)},[p[0]||(p[0]=V(" 前往 ")),B(O(Zr),{size:"small",class:T([O(e).e("editor"),O(e).is("in-pagination")]),min:1,max:O(r),disabled:O(n),"model-value":l.value,"validate-event":!1,type:"number","onUpdate:modelValue":c,onChange:h,onKeyup:Wt(f,["enter"])},null,8,["class","max","disabled","model-value"]),p[1]||(p[1]=V(" 页 "))],10,PG))}}),FG={disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},small:Boolean},UG=["disabled"],zG=Object.assign({name:"KPaginationNext"},{__name:"next",props:FG,emits:["click"],setup(t){const e=$t("pagination"),r=t,n=He(()=>r.disabled||r.currentPage===r.pageCount||r.pageCount===0);return(i,s)=>(g(),v("button",{type:"button",class:T(["btn-next",i.small?O(e).is("small"):""]),disabled:n.value,onClick:s[0]||(s[0]=o=>i.$emit("click",o))},[V(C(i.small?"":"下一页")+" ",1),s[1]||(s[1]=u("i",{class:"k-iconfont k-icon-fenye_youjiantou btn-next__icon"},null,-1))],10,UG))}});/*! Element Plus Icons Vue v2.3.1 */var VG=tt({name:"DArrowLeft",__name:"d-arrow-left",setup(t){return(e,r)=>(g(),v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[u("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z"})]))}}),jG=VG,HG=tt({name:"DArrowRight",__name:"d-arrow-right",setup(t){return(e,r)=>(g(),v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[u("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"})]))}}),qG=HG,KG=tt({name:"MoreFilled",__name:"more-filled",setup(t){return(e,r)=>(g(),v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[u("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),Cd=KG;const QG={currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean},WG=["tabindex"],GG=["tabindex"],ZG=["tabindex"],YG=["tabindex"],JG=["tabindex"],XG=Object.assign({name:"KPaginationPager"},{__name:"pager",props:QG,emits:["change"],setup(t,{emit:e}){const r=t,n=e,i=$t("pager"),s=$t("icon"),o=ce(!1),a=ce(!1),l=ce(!1),c=ce(!1),h=ce(!1),f=ce(!1),d=He(()=>{const S=r.pagerCount,N=(S-1)/2,w=Number(r.currentPage),Q=Number(r.pageCount);let G=!1,re=!1;Q>S&&(w>S-N&&(G=!0),w<Q-N&&(re=!0));const j=[];if(G&&!re){const R=Q-(S-2);for(let W=R;W<Q;W++)j.push(W)}else if(!G&&re)for(let R=2;R<S;R++)j.push(R);else if(G&&re){const R=Math.floor(S/2)-1;for(let W=w-R;W<=w+R;W++)j.push(W)}else for(let R=2;R<Q;R++)j.push(R);return j}),p=He(()=>["more","btn-quickprev",s.b(),i.is("disabled",r.disabled)]),y=He(()=>["more","btn-quicknext",s.b(),i.is("disabled",r.disabled)]),m=He(()=>r.disabled?-1:0);N8(()=>{const S=(r.pagerCount-1)/2;o.value=!1,a.value=!1,r.pageCount>r.pagerCount&&(r.currentPage>r.pagerCount-S&&(o.value=!0),r.currentPage<r.pageCount-S&&(a.value=!0))});function _(S=!1){r.disabled||(S?l.value=!0:c.value=!0)}function A(S=!1){S?h.value=!0:f.value=!0}function x(S){const N=S.target;if(N.tagName.toLowerCase()==="li"&&Array.from(N.classList).includes("number")){const w=Number(N.textContent);w!==r.currentPage&&n("change",w)}else N.tagName.toLowerCase()==="li"&&Array.from(N.classList).includes("more")&&L(S)}function L(S){const N=S.target;if(N.tagName.toLowerCase()==="ul"||r.disabled)return;let w=Number(N.textContent);const Q=r.pageCount,G=r.currentPage,re=r.pagerCount-2;N.className.includes("more")&&(N.className.includes("quickprev")?w=G-re:N.className.includes("quicknext")&&(w=G+re)),Number.isNaN(+w)||(w<1&&(w=1),w>Q&&(w=Q)),w!==G&&n("change",w)}return(S,N)=>(g(),v("ul",{class:T(O(i).b()),onClick:L,onKeyup:Wt(x,["enter"])},[S.pageCount>0?(g(),v("li",{key:0,class:T([[O(i).is("active",S.currentPage===1),O(i).is("disabled",S.disabled)],"number"]),tabindex:m.value}," 1 ",10,WG)):b("",!0),o.value?(g(),v("li",{key:1,class:T(p.value),tabindex:m.value,onMouseenter:N[0]||(N[0]=w=>_(!0)),onMouseleave:N[1]||(N[1]=w=>l.value=!1),onFocus:N[2]||(N[2]=w=>A(!0)),onBlur:N[3]||(N[3]=w=>h.value=!1)},[(l.value||h.value)&&!S.disabled?(g(),ne(O(jG),{key:0})):(g(),ne(O(Cd),{key:1}))],42,GG)):b("",!0),(g(!0),v(P,null,oe(d.value,w=>(g(),v("li",{key:w,class:T([[O(i).is("active",S.currentPage===w),O(i).is("disabled",S.disabled)],"number"]),tabindex:m.value},C(w),11,ZG))),128)),a.value?(g(),v("li",{key:2,class:T(y.value),tabindex:m.value,onMouseenter:N[4]||(N[4]=w=>_()),onMouseleave:N[5]||(N[5]=w=>c.value=!1),onFocus:N[6]||(N[6]=w=>A()),onBlur:N[7]||(N[7]=w=>f.value=!1)},[(c.value||f.value)&&!S.disabled?(g(),ne(O(qG),{key:0})):(g(),ne(O(Cd),{key:1}))],42,YG)):b("",!0),S.pageCount>1?(g(),v("li",{key:3,class:T([[O(i).is("active",S.currentPage===S.pageCount),O(i).is("disabled",S.disabled)],"number"]),tabindex:m.value},C(S.pageCount),11,JG)):b("",!0)],34))}}),eZ={disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},small:Boolean},tZ={click:t=>t instanceof MouseEvent},rZ=["disabled"],nZ={class:"k-iconfont k-icon-fenye_zuojiantou btn-prev__icon"},iZ=Object.assign({name:"KPaginationPrev"},{__name:"prev",props:eZ,emits:tZ,setup(t){const e=$t("pagination"),r=t,n=He(()=>r.disabled||r.currentPage<=1);return(i,s)=>(g(),v("button",{type:"button",class:T(["btn-prev",i.small?O(e).is("small"):""]),disabled:n.value,onClick:s[0]||(s[0]=o=>i.$emit("click",o))},[u("i",nZ,C(i.small?"":"上一页"),1)],10,rZ))}});var X4=typeof global=="object"&&global&&global.Object===Object&&global,sZ=typeof self=="object"&&self&&self.Object===Object&&self,nr=X4||sZ||Function("return this")(),Hn=nr.Symbol,e8=Object.prototype,oZ=e8.hasOwnProperty,aZ=e8.toString,Ai=Hn?Hn.toStringTag:void 0;function lZ(t){var e=oZ.call(t,Ai),r=t[Ai];try{t[Ai]=void 0;var n=!0}catch(s){}var i=aZ.call(t);return n&&(e?t[Ai]=r:delete t[Ai]),i}var cZ=Object.prototype,uZ=cZ.toString;function hZ(t){return uZ.call(t)}var fZ="[object Null]",dZ="[object Undefined]",Ad=Hn?Hn.toStringTag:void 0;function Ls(t){return t==null?t===void 0?dZ:fZ:Ad&&Ad in Object(t)?lZ(t):hZ(t)}function rs(t){return t!=null&&typeof t=="object"}var ra=Array.isArray;function t8(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var pZ="[object AsyncFunction]",gZ="[object Function]",vZ="[object GeneratorFunction]",yZ="[object Proxy]";function r8(t){if(!t8(t))return!1;var e=Ls(t);return e==gZ||e==vZ||e==pZ||e==yZ}var y0=nr["__core-js_shared__"],Sd=function(){var t=/[^.]+$/.exec(y0&&y0.keys&&y0.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function mZ(t){return!!Sd&&Sd in t}var bZ=Function.prototype,_Z=bZ.toString;function tn(t){if(t!=null){try{return _Z.call(t)}catch(e){}try{return t+""}catch(e){}}return""}var wZ=/[\\^$.*+?()[\]{}|]/g,CZ=/^\[object .+?Constructor\]$/,AZ=Function.prototype,SZ=Object.prototype,TZ=AZ.toString,EZ=SZ.hasOwnProperty,IZ=RegExp("^"+TZ.call(EZ).replace(wZ,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function kZ(t){if(!t8(t)||mZ(t))return!1;var e=r8(t)?IZ:CZ;return e.test(tn(t))}function xZ(t,e){return t==null?void 0:t[e]}function ii(t,e){var r=xZ(t,e);return kZ(r)?r:void 0}var L2=ii(nr,"WeakMap"),LZ=9007199254740991,OZ=/^(?:0|[1-9]\d*)$/;function NZ(t,e){var r=typeof t;return e=e!=null?e:LZ,!!e&&(r=="number"||r!="symbol"&&OZ.test(t))&&t>-1&&t%1==0&&t<e}function n8(t,e){return t===e||t!==t&&e!==e}var RZ=9007199254740991;function i8(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=RZ}function DZ(t){return t!=null&&i8(t.length)&&!r8(t)}var BZ=Object.prototype;function $Z(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||BZ;return t===r}function PZ(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}var MZ="[object Arguments]";function Td(t){return rs(t)&&Ls(t)==MZ}var s8=Object.prototype,FZ=s8.hasOwnProperty,UZ=s8.propertyIsEnumerable,zZ=Td(function(){return arguments}())?Td:function(t){return rs(t)&&FZ.call(t,"callee")&&!UZ.call(t,"callee")};function VZ(){return!1}var o8=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Ed=o8&&typeof module=="object"&&module&&!module.nodeType&&module,jZ=Ed&&Ed.exports===o8,Id=jZ?nr.Buffer:void 0,HZ=Id?Id.isBuffer:void 0,O2=HZ||VZ,qZ="[object Arguments]",KZ="[object Array]",QZ="[object Boolean]",WZ="[object Date]",GZ="[object Error]",ZZ="[object Function]",YZ="[object Map]",JZ="[object Number]",XZ="[object Object]",eY="[object RegExp]",tY="[object Set]",rY="[object String]",nY="[object WeakMap]",iY="[object ArrayBuffer]",sY="[object DataView]",oY="[object Float32Array]",aY="[object Float64Array]",lY="[object Int8Array]",cY="[object Int16Array]",uY="[object Int32Array]",hY="[object Uint8Array]",fY="[object Uint8ClampedArray]",dY="[object Uint16Array]",pY="[object Uint32Array]",pe={};pe[oY]=pe[aY]=pe[lY]=pe[cY]=pe[uY]=pe[hY]=pe[fY]=pe[dY]=pe[pY]=!0;pe[qZ]=pe[KZ]=pe[iY]=pe[QZ]=pe[sY]=pe[WZ]=pe[GZ]=pe[ZZ]=pe[YZ]=pe[JZ]=pe[XZ]=pe[eY]=pe[tY]=pe[rY]=pe[nY]=!1;function gY(t){return rs(t)&&i8(t.length)&&!!pe[Ls(t)]}function vY(t){return function(e){return t(e)}}var a8=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Ui=a8&&typeof module=="object"&&module&&!module.nodeType&&module,yY=Ui&&Ui.exports===a8,m0=yY&&X4.process,kd=function(){try{var t=Ui&&Ui.require&&Ui.require("util").types;return t||m0&&m0.binding&&m0.binding("util")}catch(e){}}(),xd=kd&&kd.isTypedArray,l8=xd?vY(xd):gY,mY=Object.prototype,bY=mY.hasOwnProperty;function _Y(t,e){var r=ra(t),n=!r&&zZ(t),i=!r&&!n&&O2(t),s=!r&&!n&&!i&&l8(t),o=r||n||i||s,a=o?PZ(t.length,String):[],l=a.length;for(var c in t)bY.call(t,c)&&!(o&&(c=="length"||i&&(c=="offset"||c=="parent")||s&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||NZ(c,l)))&&a.push(c);return a}function wY(t,e){return function(r){return t(e(r))}}var CY=wY(Object.keys,Object),AY=Object.prototype,SY=AY.hasOwnProperty;function TY(t){if(!$Z(t))return CY(t);var e=[];for(var r in Object(t))SY.call(t,r)&&r!="constructor"&&e.push(r);return e}function EY(t){return DZ(t)?_Y(t):TY(t)}var ns=ii(Object,"create");function IY(){this.__data__=ns?ns(null):{},this.size=0}function kY(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var xY="__lodash_hash_undefined__",LY=Object.prototype,OY=LY.hasOwnProperty;function NY(t){var e=this.__data__;if(ns){var r=e[t];return r===xY?void 0:r}return OY.call(e,t)?e[t]:void 0}var RY=Object.prototype,DY=RY.hasOwnProperty;function BY(t){var e=this.__data__;return ns?e[t]!==void 0:DY.call(e,t)}var $Y="__lodash_hash_undefined__";function PY(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=ns&&e===void 0?$Y:e,this}function Gr(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Gr.prototype.clear=IY;Gr.prototype.delete=kY;Gr.prototype.get=NY;Gr.prototype.has=BY;Gr.prototype.set=PY;function MY(){this.__data__=[],this.size=0}function qa(t,e){for(var r=t.length;r--;)if(n8(t[r][0],e))return r;return-1}var FY=Array.prototype,UY=FY.splice;function zY(t){var e=this.__data__,r=qa(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():UY.call(e,r,1),--this.size,!0}function VY(t){var e=this.__data__,r=qa(e,t);return r<0?void 0:e[r][1]}function jY(t){return qa(this.__data__,t)>-1}function HY(t,e){var r=this.__data__,n=qa(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}function ir(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}ir.prototype.clear=MY;ir.prototype.delete=zY;ir.prototype.get=VY;ir.prototype.has=jY;ir.prototype.set=HY;var is=ii(nr,"Map");function qY(){this.size=0,this.__data__={hash:new Gr,map:new(is||ir),string:new Gr}}function KY(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function Ka(t,e){var r=t.__data__;return KY(e)?r[typeof e=="string"?"string":"hash"]:r.map}function QY(t){var e=Ka(this,t).delete(t);return this.size-=e?1:0,e}function WY(t){return Ka(this,t).get(t)}function GY(t){return Ka(this,t).has(t)}function ZY(t,e){var r=Ka(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}function rn(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}rn.prototype.clear=qY;rn.prototype.delete=QY;rn.prototype.get=WY;rn.prototype.has=GY;rn.prototype.set=ZY;function YY(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t}function JY(){this.__data__=new ir,this.size=0}function XY(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}function eJ(t){return this.__data__.get(t)}function tJ(t){return this.__data__.has(t)}var rJ=200;function nJ(t,e){var r=this.__data__;if(r instanceof ir){var n=r.__data__;if(!is||n.length<rJ-1)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new rn(n)}return r.set(t,e),this.size=r.size,this}function Ar(t){var e=this.__data__=new ir(t);this.size=e.size}Ar.prototype.clear=JY;Ar.prototype.delete=XY;Ar.prototype.get=eJ;Ar.prototype.has=tJ;Ar.prototype.set=nJ;function iJ(t,e){for(var r=-1,n=t==null?0:t.length,i=0,s=[];++r<n;){var o=t[r];e(o,r,t)&&(s[i++]=o)}return s}function sJ(){return[]}var oJ=Object.prototype,aJ=oJ.propertyIsEnumerable,Ld=Object.getOwnPropertySymbols,lJ=Ld?function(t){return t==null?[]:(t=Object(t),iJ(Ld(t),function(e){return aJ.call(t,e)}))}:sJ;function cJ(t,e,r){var n=e(t);return ra(t)?n:YY(n,r(t))}function Od(t){return cJ(t,EY,lJ)}var N2=ii(nr,"DataView"),R2=ii(nr,"Promise"),D2=ii(nr,"Set"),Nd="[object Map]",uJ="[object Object]",Rd="[object Promise]",Dd="[object Set]",Bd="[object WeakMap]",$d="[object DataView]",hJ=tn(N2),fJ=tn(is),dJ=tn(R2),pJ=tn(D2),gJ=tn(L2),dr=Ls;(N2&&dr(new N2(new ArrayBuffer(1)))!=$d||is&&dr(new is)!=Nd||R2&&dr(R2.resolve())!=Rd||D2&&dr(new D2)!=Dd||L2&&dr(new L2)!=Bd)&&(dr=function(t){var e=Ls(t),r=e==uJ?t.constructor:void 0,n=r?tn(r):"";if(n)switch(n){case hJ:return $d;case fJ:return Nd;case dJ:return Rd;case pJ:return Dd;case gJ:return Bd}return e});var Pd=nr.Uint8Array,vJ="__lodash_hash_undefined__";function yJ(t){return this.__data__.set(t,vJ),this}function mJ(t){return this.__data__.has(t)}function na(t){var e=-1,r=t==null?0:t.length;for(this.__data__=new rn;++e<r;)this.add(t[e])}na.prototype.add=na.prototype.push=yJ;na.prototype.has=mJ;function bJ(t,e){for(var r=-1,n=t==null?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}function _J(t,e){return t.has(e)}var wJ=1,CJ=2;function c8(t,e,r,n,i,s){var o=r&wJ,a=t.length,l=e.length;if(a!=l&&!(o&&l>a))return!1;var c=s.get(t),h=s.get(e);if(c&&h)return c==e&&h==t;var f=-1,d=!0,p=r&CJ?new na:void 0;for(s.set(t,e),s.set(e,t);++f<a;){var y=t[f],m=e[f];if(n)var _=o?n(m,y,f,e,t,s):n(y,m,f,t,e,s);if(_!==void 0){if(_)continue;d=!1;break}if(p){if(!bJ(e,function(A,x){if(!_J(p,x)&&(y===A||i(y,A,r,n,s)))return p.push(x)})){d=!1;break}}else if(!(y===m||i(y,m,r,n,s))){d=!1;break}}return s.delete(t),s.delete(e),d}function AJ(t){var e=-1,r=Array(t.size);return t.forEach(function(n,i){r[++e]=[i,n]}),r}function SJ(t){var e=-1,r=Array(t.size);return t.forEach(function(n){r[++e]=n}),r}var TJ=1,EJ=2,IJ="[object Boolean]",kJ="[object Date]",xJ="[object Error]",LJ="[object Map]",OJ="[object Number]",NJ="[object RegExp]",RJ="[object Set]",DJ="[object String]",BJ="[object Symbol]",$J="[object ArrayBuffer]",PJ="[object DataView]",Md=Hn?Hn.prototype:void 0,b0=Md?Md.valueOf:void 0;function MJ(t,e,r,n,i,s,o){switch(r){case PJ:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case $J:return!(t.byteLength!=e.byteLength||!s(new Pd(t),new Pd(e)));case IJ:case kJ:case OJ:return n8(+t,+e);case xJ:return t.name==e.name&&t.message==e.message;case NJ:case DJ:return t==e+"";case LJ:var a=AJ;case RJ:var l=n&TJ;if(a||(a=SJ),t.size!=e.size&&!l)return!1;var c=o.get(t);if(c)return c==e;n|=EJ,o.set(t,e);var h=c8(a(t),a(e),n,i,s,o);return o.delete(t),h;case BJ:if(b0)return b0.call(t)==b0.call(e)}return!1}var FJ=1,UJ=Object.prototype,zJ=UJ.hasOwnProperty;function VJ(t,e,r,n,i,s){var o=r&FJ,a=Od(t),l=a.length,c=Od(e),h=c.length;if(l!=h&&!o)return!1;for(var f=l;f--;){var d=a[f];if(!(o?d in e:zJ.call(e,d)))return!1}var p=s.get(t),y=s.get(e);if(p&&y)return p==e&&y==t;var m=!0;s.set(t,e),s.set(e,t);for(var _=o;++f<l;){d=a[f];var A=t[d],x=e[d];if(n)var L=o?n(x,A,d,e,t,s):n(A,x,d,t,e,s);if(!(L===void 0?A===x||i(A,x,r,n,s):L)){m=!1;break}_||(_=d=="constructor")}if(m&&!_){var S=t.constructor,N=e.constructor;S!=N&&"constructor"in t&&"constructor"in e&&!(typeof S=="function"&&S instanceof S&&typeof N=="function"&&N instanceof N)&&(m=!1)}return s.delete(t),s.delete(e),m}var jJ=1,Fd="[object Arguments]",Ud="[object Array]",oo="[object Object]",HJ=Object.prototype,zd=HJ.hasOwnProperty;function qJ(t,e,r,n,i,s){var o=ra(t),a=ra(e),l=o?Ud:dr(t),c=a?Ud:dr(e);l=l==Fd?oo:l,c=c==Fd?oo:c;var h=l==oo,f=c==oo,d=l==c;if(d&&O2(t)){if(!O2(e))return!1;o=!0,h=!1}if(d&&!h)return s||(s=new Ar),o||l8(t)?c8(t,e,r,n,i,s):MJ(t,e,l,r,n,i,s);if(!(r&jJ)){var p=h&&zd.call(t,"__wrapped__"),y=f&&zd.call(e,"__wrapped__");if(p||y){var m=p?t.value():t,_=y?e.value():e;return s||(s=new Ar),i(m,_,r,n,s)}}return d?(s||(s=new Ar),VJ(t,e,r,n,i,s)):!1}function u8(t,e,r,n,i){return t===e?!0:t==null||e==null||!rs(t)&&!rs(e)?t!==t&&e!==e:qJ(t,e,r,n,u8,i)}function KJ(t,e){return u8(t,e)}const QJ={pageSize:{type:Number,required:!0},pageSizes:{type:Array,default:()=>[10,20,30,40,50,100]},popperClass:{type:String},disabled:Boolean,teleported:Boolean,appendSizeTo:String},h8=Object.assign({name:"KPaginationSizes"},{__name:"sizes",props:QJ,emits:["page-size-change"],setup(t,{emit:e}){const r=t,n=e,i=$t("pagination"),s=xs(),o=ce(r.pageSize);Bo(()=>r.pageSizes,(c,h)=>{if(!KJ(c,h)&&eG(c)){const f=c.includes(r.pageSize)?r.pageSize:r.pageSizes[0];n("page-size-change",f)}}),Bo(()=>r.pageSize,c=>{o.value=c});const a=He(()=>r.pageSizes);function l(c){var h;c!==o.value&&(o.value=c,(h=s.handleSizeChange)==null||h.call(s,Number(c)))}return(c,h)=>(g(),v("span",{class:T(O(i).e("sizes"))},[B(O(z8),{"model-value":o.value,disabled:c.disabled,"popper-class":c.popperClass,size:"small","validate-event":!1,"append-to":c.appendSizeTo,teleported:!1,onChange:l},{default:F(()=>[(g(!0),v(P,null,oe(a.value,f=>(g(),ne(O(U8),{key:f,value:f,label:f+"条/页"},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","append-to"])],2))}}),WJ={total:{type:Number,default:1e3}},GJ=["disabled"],ZJ=tt({name:"KPaginationTotal",__name:"total",props:WJ,setup(t){const e=$t("pagination"),{disabled:r}=xs();return(n,i)=>(g(),v("span",{class:T(O(e).e("total")),disabled:O(r)}," 共"+C(n.total)+"条",11,GJ))}}),YJ={theme:{type:String,default:"primary"}},JJ=Object.assign({name:"KPaginationConfirm"},{__name:"confirm",props:YJ,setup(t){const e=$t("pagination"),{changeEvent:r,inputCurrentPage:n}=xs();function i(){r(n.value)}return(s,o)=>{const a=se("k-button");return g(),ne(a,{theme:s.theme,type:"plain",height:"24px",class:T(O(e).e("jump__confirm")),onClick:i},{default:F(()=>o[0]||(o[0]=[V(" 确定 ")])),_:1},8,["theme","class"])}}}),XJ={pageSize:{type:Number,required:!0},pageSizes:{type:Array,default:()=>[10,20,30,40,50,100]},popperClass:{type:String},disabled:Boolean,appendSizeTo:String,showPageSizes:{type:Boolean,default:!0}},eX={class:"cur-page"},tX={class:"total-pages"},rX=Object.assign({name:"KPaginationSmall"},{__name:"small",props:XJ,setup(t){const e=$t("pagination"),{total:r,currentPage:n}=xs();return(i,s)=>(g(),v("span",null,[i.showPageSizes?(g(),ne(h8,{key:0,pageSize:i.pageSize,pageSizes:i.pageSizes,popperClass:i.popperClass,disabled:i.disabled,appendSizeTo:i.appendSizeTo},null,8,["pageSize","pageSizes","popperClass","disabled","appendSizeTo"])):b("",!0),u("span",{class:T(O(e).e("small"))},[u("i",eX,C(O(n)),1),u("i",tX," /"+C(Math.ceil(O(r)/i.pageSize)),1)],2)]))}}),We=t=>typeof t!="number",nX="k-pagination",zi=tt({name:nX,props:{theme:{type:String,default:"primary"},pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:t=>nG(t)&&Math.trunc(t)===t&&t>4&&t<22&&t%2===1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:Array,default:()=>[10,20,30,40,50,100]},popperClass:{type:String,default:""},prevText:{type:String,default:""},nextText:{type:String,default:""},small:{type:Boolean,default:!1},showPageSizes:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},hideOnSinglePage:Boolean,appendSizeTo:String},setup(t,{emit:e,slots:r}){const n=$t("pagination"),i=Pt().vnode.props||{},s="onUpdate:currentPage"in i||"onUpdate:current-page"in i||"onCurrentChange"in i,o="onUpdate:pageSize"in i||"onUpdate:page-size"in i||"onSizeChange"in i,a=He(()=>{if(We(t.total)&&We(t.pageCount)||!We(t.currentPage)&&!s)return!1;if(t.layout.includes("sizes")){if(We(t.pageCount)){if(!We(t.total)&&!We(t.pageSize)&&!o)return!1}else if(!o)return!1}return!0}),l=ce(We(t.defaultPageSize)?10:t.defaultPageSize),c=ce(We(t.defaultCurrentPage)?1:t.defaultCurrentPage),h=ce(c.value),f=He({get(){return We(t.pageSize)?l.value:t.pageSize},set(S){We(t.pageSize)&&(l.value=S),o&&(e("update:page-size",S),e("size-change",S))}}),d=He(()=>{let S=0;return We(t.pageCount)?We(t.total)||(S=Math.max(1,Math.ceil(t.total/f.value))):S=t.pageCount,S}),p=He({get(){return We(t.currentPage)?c.value:t.currentPage},set(S){let N=S;S<1?N=1:S>d.value&&(N=d.value),We(t.currentPage)&&(c.value=N),s&&(e("update:current-page",N),e("current-change",N))}});Bo(d,S=>{p.value>S&&(p.value=S)}),Bo([p,f],S=>{e("change",...S)},{flush:"post"});function y(S){p.value=S}function m(S){h.value=S}function _(S){f.value=S;const N=d.value;p.value>N&&(p.value=N)}function A(){t.disabled||(p.value-=1,e("prev-click",p.value))}function x(){t.disabled||(p.value+=1,e("next-click",p.value))}function L(S,N){S&&(S.props||(S.props={}),S.props.class=[S.props.class,N].join(" "))}return L8(J4,{pageCount:d,inputCurrentPage:h,total:He(()=>t.total),pageSize:f,disabled:He(()=>t.disabled),currentPage:p,changeEvent:y,handleSizeChange:_,handleInputValChange:m}),()=>{var R;var S;if(!a.value||!t.layout||t.hideOnSinglePage&&d.value<=1)return null;const N=[],w=[],Q=At("div",{class:n.e("rightwrapper")},w),G={prev:At(iZ,{disabled:t.disabled,currentPage:p.value,prevText:t.prevText,onClick:A,small:t.small}),jumper:At(MG),pager:At(XG,{currentPage:p.value,pageCount:d.value,pagerCount:t.pagerCount,onChange:y,disabled:t.disabled}),next:At(zG,{disabled:t.disabled,currentPage:p.value,pageCount:d.value,nextText:t.nextText,onClick:x,small:t.small}),sizes:At(h8,{pageSize:f.value,pageSizes:t.pageSizes,popperClass:t.popperClass,disabled:t.disabled,appendSizeTo:t.appendSizeTo}),slot:(R=(S=r==null?void 0:r.default)==null?void 0:S.call(r))!=null?R:null,total:At(ZJ,{total:We(t.total)?0:t.total}),confirm:At(JJ,{theme:t.theme})},re=t.layout.split(",").map(W=>W.trim());let j=!1;return t.small?N.push(At(rX,{showPageSizes:t.showPageSizes,pageSize:f.value,pageSizes:t.pageSizes,popperClass:t.popperClass,disabled:t.disabled,appendSizeTo:t.appendSizeTo}),G.prev,G.next):re.forEach(W=>{if(W==="->"){j=!0;return}j?w.push(G[W]):N.push(G[W])}),L(N[0],n.is("first")),L(N[N.length-1],n.is("last")),j&&w.length>0&&(L(w[0],n.is("first")),L(w[w.length-1],n.is("last")),N.push(Q)),At("div",{class:[n.b(),t.small?n.is("small"):n.is("background"),n.m(t.theme)]},N)}}});zi.install=function(t){t.component(zi.name,zi)};const iX={name:"KLayout",props:{horizontal:{type:Boolean,default:!1},floatLeft:{type:Boolean,default:!1},layoutWidth:{type:String,default:""}},data(){return{widthClassName:""}},watch:{layoutWidth:function(t){t==="fixed"&&(this.widthClassName="k-layout-1240"),t==="xl"&&(this.widthClassName="k-layout-xl"),t==="xxl"&&(this.widthClassName="k-layout-xxl")}},methods:{init(){this.layoutWidth==="fixed"&&(this.widthClassName="k-layout-1240"),this.layoutWidth==="xl"&&(this.widthClassName="k-layout-xl"),this.layoutWidth==="xxl"&&(this.widthClassName="k-layout-xxl")}},created(){this.init()}};function sX(t,e,r,n,i,s){return g(),v("div",{class:T(["k-layout",[r.horizontal?"is-horizontal":"",r.floatLeft?"is-float-left":"",i.widthClassName]])},[ge(t.$slots,"default")],2)}const Vi=Ct(iX,[["render",sX]]),oX={name:"KContainer",props:{vertical:{type:Boolean,default:!1}},methods:{init(){}},created(){this.init()}};function aX(t,e,r,n,i,s){return g(),v("div",{class:T(["k-container",[r.vertical?"is-vertical":""]])},[ge(t.$slots,"default")],2)}const ji=Ct(oX,[["render",aX]]),lX={name:"KMain",methods:{init(){}},created(){this.init()}},cX={class:"k-main"};function uX(t,e,r,n,i,s){return g(),v("div",cX,[ge(t.$slots,"default")])}const Hi=Ct(lX,[["render",uX]]),hX={name:"KHeader",props:{height:{type:Number,default:60}},methods:{init(){}},created(){this.init()}},fX={class:"k-header"};function dX(t,e,r,n,i,s){return g(),v("div",fX,[ge(t.$slots,"default")])}const qi=Ct(hX,[["render",dX]]),pX={name:"KFooter",props:{height:{type:Number,default:40}},methods:{init(){}},created(){this.init()}},gX={class:"k-footer"};function vX(t,e,r,n,i,s){return g(),v("div",gX,[ge(t.$slots,"default")])}const Ki=Ct(pX,[["render",vX]]),yX={name:"KAside",methods:{init(){}},created(){this.init()}},mX={class:"k-aside"};function bX(t,e,r,n,i,s){return g(),v("div",mX,[ge(t.$slots,"default")])}const Qi=Ct(yX,[["render",bX]]);Vi.install=function(t){t.component(Vi.name,Vi)};Qi.install=function(t){t.component(Qi.name,Qi)};Ki.install=function(t){t.component(Ki.name,Ki)};qi.install=function(t){t.component(qi.name,qi)};Hi.install=function(t){t.component(Hi.name,Hi)};ji.install=function(t){t.component(ji.name,ji)};const _X=[Nn,Pi,Mi,Fi,zi,Vi,ji,Hi,qi,Ki,Qi,Ue],f8=function(t){_X.forEach(e=>{t.component(e.name,e)}),t.config.globalProperties.$kmsgbox=Ue,t.config.globalProperties.$alert=Ue.alert,t.config.globalProperties.$kconfirm=Ue.confirm,t.config.globalProperties.$kprompt=Ue.prompt};typeof window<"u"&&window.Vue&&f8(window.Vue);const wX={install:f8,KButton:Nn,KTabs:Pi,KTag:Mi,KDialog:Fi,KPagination:zi,KLayout:Vi,KContainer:ji,KMain:Hi,KHeader:qi,KFooter:Ki,KAside:Qi,KMessageBox:Ue},{KLayout:CX,KContainer:AX,KMain:SX,KFooter:TX,KAside:EX}=wX,IX={name:"KSellerLayout",components:{KLayout:CX,KMain:SX,KFooter:TX,KContainer:AX,KAside:EX,SellerHeader:NW,SideBarSeller:qQ,BizFooter:qq,QuickMenu:dq},props:{showHeader:{type:Boolean,default:!0},showSideBar:{type:Boolean,default:!0},site:{type:Object,default:()=>({})},pageFlag:{type:String,required:!1,default:null},openId:{type:Number,required:!1,default:null}},data(){return{layoutWidth:"xl",layout:3,sideBarStyle:{},mainStyle:{},sideBarWidth:192}},methods:{initMainStyle(){this.$nextTick(()=>{this.mainStyle={width:"calc(100% - ".concat(this.$refs.asideBar.$el.clientWidth,"px)")}})}},created(){this.$eventBus.on("layout",t=>{t==1&&(this.layoutWidth="xl",this.layout=3,this.sideBarStyle={marginLeft:"20px",borderRadius:"2px"}),t==2&&(this.layoutWidth="xxl",this.layout=4,this.sideBarStyle={marginLeft:0,borderRadius:"0 2px 2px 0"}),this.initMainStyle()})}};function kX(t,e,r,n,i,s){const o=se("SellerHeader"),a=se("SideBarSeller"),l=se("k-aside"),c=se("k-main"),h=se("k-container"),f=se("biz-footer"),d=se("k-footer"),p=se("k-layout"),y=se("QuickMenu");return g(),v("div",null,[r.showHeader?(g(),ne(o,{key:0,layout:i.layout,type:4,site:r.site,showLayoutSet:!0},null,8,["layout","site"])):b("",!0),B(p,{layoutWidth:i.layoutWidth},{default:F(()=>[B(h,null,{default:F(()=>[r.showSideBar?(g(),ne(l,{key:0,ref:"asideBar"},{default:F(()=>[B(a,{pageFlag:r.pageFlag,openId:r.openId,collapseCallBack:s.initMainStyle,style:ve(i.sideBarStyle)},null,8,["pageFlag","openId","collapseCallBack","style"])]),_:1},512)):b("",!0),B(c,{style:ve(i.mainStyle)},{default:F(()=>[ge(t.$slots,"default")]),_:3},8,["style"])]),_:3}),B(d,null,{default:F(()=>[B(f,{site:r.site,layout:3,type:1,top:"16px"},null,8,["site"])]),_:1})]),_:3},8,["layoutWidth"]),B(y,{quickType:3,site:r.site},null,8,["site"])])}const xX=ye(IX,[["render",kX]]);ze(xX);const LX={name:"KAddAddressDialog",emits:["confirm","close"],props:{addressInfo:{type:Object,default:()=>({})},isClose:{type:Boolean,default:!1},areaSelectLabel:{type:String,default:"所在地区："},receiverLabel:{type:String,default:"联系人姓名"},visible:{type:Boolean,default:!1},dialogOptions:{type:Object,default:()=>({})},showSetDefault:{type:Boolean,default:!1},showShippingFeeTip:{type:Boolean,default:!1},theme:{type:String,default:"primary"}},data(){return{innerOptions:{title:"".concat(Object.keys(this.addressInfo).length?"修改":"添加新","地址"),footerBorder:!0,width:"640px",okText:"确定",cancelText:"返回",theme:this.theme},formData:{areaInfo:{areaId:"",areaName:"",cityId:"",cityName:"",provId:"",provName:""},address:"",phoneNum:"",receiverName:"",zipCode:"",isDefault:!1},formRules:{areaInfo:[{required:!0,validator:this.validateAreaInfo,trigger:"change"}],address:[{required:!0,validator:this.validateAddress,trigger:"blur"}],phoneNum:[{required:!0,validator:this.validatePhoneNum,trigger:"blur"}],receiverName:[{required:!0,validator:this.validateReceiverName,trigger:"blur"}],zipCode:[{validator:this.validateZipCode,trigger:"blur"}]},text:"",pasteBtnShow:!0,showTip:!1,cacheAreaInfo:{}}},mounted(){if(Object.keys(this.addressInfo).length){const{address:t,phoneNum:e,receiverName:r,zipCode:n,isDefault:i,areaInfo:{areaName:s,areaId:o,cityName:a,cityId:l,provName:c,provId:h}={}}=this.addressInfo;this.formData={address:t,phoneNum:e,receiverName:r,zipCode:n,isDefault:i===1,areaInfo:{areaId:o,areaName:s,cityId:l,cityName:a,provId:h,provName:c}},this.cacheAreaInfo=this.formData.areaInfo}},computed:{isOverSeas(){const{provId:t}=this.formData.areaInfo;return Number(t)>=32e9}},watch:{text(t){t?this.pasteBtnShow=!1:this.pasteBtnShow=!0},"formData.areaInfo":{handler(t){const e=JSON.stringify(this.cacheAreaInfo);JSON.stringify(t)!==e&&(this.showTip=!0)},deep:!0}},methods:{validatePhoneNum(t,e,r){const n=fd(this.formData.phoneNum).replace(/\s/g,"");n||r(new Error("手机号码不能为空")),this.isValidPhoneNum(n,this.isOverSeas)||r(new Error("手机号码格式不正确")),r()},isValidPhoneNum(t,e){return e?/^\+(?:[1-9]\d{1,14}|(?:[1-9]\d?)(?:[1-9]\d{1,3})?\s?\d{1,4})$/.test(t):/^1[3-9]\d{9}$/.test(t)||/^((0\d{2,3}\d{7,8})|(0\d{2,3}\d{7,8}))$/.test(t)},validateAddress(t,e,r){e?e.length>200?r(new Error("详细地址不能超过200个字")):r():r(new Error("请输入详细地址"))},validateReceiverName(t,e,r){e?e.length<2||e.length>30?r(new Error("联系人姓名为2-30个字")):r():r(new Error("请填写联系人姓名"))},validateAreaInfo(t,e,r){if(!e.provId){r(new Error("请选择所在地"));return}r()},validateZipCode(t,e,r){e&&!/\d{6}/.test(e)&&!this.isOverSeas?r(new Error("邮编应为6位数字")):r()},async confirm(){try{const t=await this.$refs.form.validate(),{areaInfo:{areaId:e,areaName:r,cityId:n,cityName:i,provName:s,provId:o}={},address:a,phoneNum:l,receiverName:c,zipCode:h,isDefault:f}=this.formData;this.$emit("confirm",{area:Number(e||n),address:a,receiverName:c,phoneNum:fd(l).replace(/\s/g,""),zipCode:h,isDefault:f?1:0,areaInfo:{provName:s,provId:o,cityName:i,cityId:n,areaName:r}})}catch(t){console.log("KAddAddressDialog confirm error ->",t)}},close(t){this.$emit("close",t)},async autoFill(){if(this.text)try{const t=await Z.post("/pc-gw/express-web/pc/v1/address/parse",null,{params:{source:this.text}});if(t.status!==200)throw new Error("识别地址信息失败");const{status:e,errMessage:r,result:{areaId:n,areaName:i,cityId:s,cityName:o,provId:a,provName:l,address:c,mobile:h,name:f,zipCode:d,isLeafArea:p}}=t.data;if(!e)throw r;if(!s&&!f&&!h&&!c)return Me.error("识别地址信息失败，请手动输入");this.formData.phoneNum=h||"",this.formData.address=c||"",this.formData.receiverName=f||"",this.formData.zipCode=d||"",p?this.formData.areaInfo={provName:l||"",provId:a||"",cityName:o||"",cityId:s||"",areaName:i||"",areaId:n||""}:this.formData.areaInfo={}}catch(t){Me.error(t)}},pasteAddress(){if(navigator.userAgent.indexOf("Firefox")>-1){Me.warning("您的浏览器不支持自动粘贴，请手动粘贴地址信息"),this.pasteBtnShow=!1;return}navigator.clipboard?navigator.clipboard.readText().then(t=>{console.log("clipText",t),t&&(this.text=t,this.autoFill(),this.pasteBtnShow=!1)}):(Me.warning("您的浏览器不支持自动粘贴，请手动粘贴地址信息"),this.pasteBtnShow=!1)}}},OX={class:"auto-fill-btn"},NX={class:"tip"};function RX(t,e,r,n,i,s){const o=Zr,a=se("k-button"),l=ss,c=se("KAreaSelect"),h=O3,f=os,d=se("k-dialog");return g(),ne(d,zr({...i.innerOptions,...r.dialogOptions},{visible:r.visible,customClass:"add-address-dialog",onConfirm:s.confirm,onCancel:s.close}),{default:F(()=>[B(f,{ref:"form",model:i.formData,class:"add-address-form","label-width":"110px",rules:i.formRules},{default:F(()=>[B(l,{label:"智能填写地址"},{default:F(()=>[B(o,{modelValue:i.text,"onUpdate:modelValue":e[0]||(e[0]=p=>i.text=p),type:"textarea",maxlength:"200",placeholder:"请粘贴包含地址的信息，系统可自动识别拆分；识别后，请核对地址信息是否正确。"},null,8,["modelValue"]),u("div",OX,[i.pasteBtnShow?(g(),ne(a,{key:0,theme:r.theme,height:"28px",type:"fill",onClick:s.pasteAddress},{default:F(()=>[V("粘贴并识别")]),_:1},8,["theme","onClick"])):(g(),ne(a,{key:1,theme:r.theme,type:"fill",height:"28px",onClick:s.autoFill},{default:F(()=>[V("识别")]),_:1},8,["theme","onClick"]))])]),_:1}),B(l,{label:r.areaSelectLabel,prop:"areaInfo"},{default:F(()=>[B(c,{modelValue:i.formData.areaInfo,"onUpdate:modelValue":e[1]||(e[1]=p=>i.formData.areaInfo=p)},null,8,["modelValue"]),le(u("div",NX," 切换地址后，实际发货的运费可能发生变化，请谨慎操作 ",512),[[fe,r.showShippingFeeTip&&i.showTip]])]),_:1},8,["label"]),B(l,{label:"详细地址：",prop:"address"},{default:F(()=>[B(o,{modelValue:i.formData.address,"onUpdate:modelValue":e[2]||(e[2]=p=>i.formData.address=p),modelModifiers:{trim:!0},placeholder:"请填写详细到 门牌号、楼层及房间号的详细地址"},null,8,["modelValue"])]),_:1}),B(l,{label:"联系方式：",prop:"phoneNum"},{default:F(()=>[B(o,{modelValue:i.formData.phoneNum,"onUpdate:modelValue":e[3]||(e[3]=p=>i.formData.phoneNum=p),modelModifiers:{trim:!0},placeholder:"手机号码",class:"short-input"},null,8,["modelValue"])]),_:1}),B(l,{label:"".concat(r.receiverLabel,"："),prop:"receiverName"},{default:F(()=>[B(o,{placeholder:"请填写".concat(r.receiverLabel),modelValue:i.formData.receiverName,"onUpdate:modelValue":e[4]||(e[4]=p=>i.formData.receiverName=p),modelModifiers:{trim:!0},class:"short-input"},null,8,["placeholder","modelValue"])]),_:1},8,["label"]),B(l,{label:"邮政编码：",prop:"zipCode"},{default:F(()=>[B(o,{modelValue:i.formData.zipCode,"onUpdate:modelValue":e[5]||(e[5]=p=>i.formData.zipCode=p),class:"short-input",maxlength:s.isOverSeas?"":6,placeholder:"邮局方式配送时需要"},null,8,["modelValue","maxlength"])]),_:1}),r.showSetDefault?(g(),ne(l,{key:0},{default:F(()=>[B(h,{modelValue:i.formData.isDefault,"onUpdate:modelValue":e[6]||(e[6]=p=>i.formData.isDefault=p)},{default:F(()=>[V(" 设为我的默认地址 ")]),_:1},8,["modelValue"])]),_:1})):b("",!0)]),_:1},8,["model","rules"])]),_:1},16,["visible","onConfirm","onCancel"])}const DX=ye(LX,[["render",RX],["__scopeId","data-v-c90f36b0"]]);ze(DX);const BX={name:"KSelectAddressDialog",emits:["close","confirm","action"],props:{addressList:{type:Array,default:()=>[]},showTips:{type:Boolean,default:!1},dialogOptions:{type:Object,default:()=>({})},visible:{type:Boolean,default:!1},addressLimit:{type:Number,default:20},theme:{type:String,default:"primary"},addressId:{type:[Number,String]}},data(){return{innerOptions:{width:"640px",title:"选择地址",footerBorder:!0,okText:"确定",theme:this.theme,cancelText:"返回"},addressIndex:-1}},methods:{close(){this.$emit("close")},confirm(){this.$emit("confirm",{index:this.addressIndex,addressInfo:this.addressList[this.addressIndex]})},handleAction(t,e={}){this.$emit("action",{type:t,addressInfo:e})},_isInViewport(t,e){const r=t.getBoundingClientRect(),n=e.getBoundingClientRect();return r.top>=n.top&&r.left>=n.left&&r.bottom<=n.bottom&&r.right<=n.right}},mounted(){if(this.addressId){const t=document.querySelector(".select-content-wrap");this.addressIndex=this.addressList.findIndex(r=>r.id===this.addressId);const e=(document.querySelectorAll(".select-content-wrap .content")||[])[this.addressIndex];t&&e&&!this._isInViewport(e,t)&&e.scrollIntoView()}}},d8=t=>(aa("data-v-556663a8"),t=t(),la(),t),$X=d8(()=>u("div",{class:"tips k_tv_14_warning"}," 修改地址会影响物流时效，只能原价修改且付款后只能修改一次，若商品已发货、运费及配送方式变更等原因，可能会导致修改地址失败，请您谅解。 ",-1)),PX={class:"address-list"},MX={class:"left-content"},FX={class:"address-text k_tv_14_text_primary"},UX=["onClick"],zX=d8(()=>u("div",{class:"k_flex k_align_items_center k-iconfont k-icon-jiahao k_tv_14_text_primary k_ta_seller_primary"}," 添加新地址 ",-1)),VX=[zX];function jX(t,e,r,n,i,s){const o=N3,a=R3,l=se("k-dialog");return g(),ne(l,zr({"custom-class":"select-addr-dialog"},{...i.innerOptions,...r.dialogOptions},{visible:r.visible,onCancel:s.close,onConfirm:s.confirm}),k3({default:F(()=>[u("div",{class:T(["address-list-wrap","address-list-wrap-".concat(r.theme)])},[u("div",PX,[B(a,{modelValue:i.addressIndex,"onUpdate:modelValue":e[0]||(e[0]=c=>i.addressIndex=c),class:"select-content-wrap"},{default:F(()=>[(g(!0),v(P,null,oe(r.addressList,(c,h)=>(g(),v("div",{key:h,class:T(["content",[h===i.addressIndex?"active":""]])},[u("div",MX,[B(o,{value:h},{default:F(()=>[u("div",FX,C(c.receiverName)+"， "+C(c.mobile||c.phoneNum)+"， "+C(c.areaInfo.provName)+C(c.areaInfo.cityName)+C(c.areaInfo.areaName)+C(c.address)+" "+C(c.zipCode?"，".concat(c.zipCode):""),1)]),_:2},1032,["value"])]),u("div",{class:"right-content k_tv_13_text_primary k_ta_seller_primary",onClick:f=>s.handleAction("edit",c)}," 修改 ",8,UX)],2))),128))]),_:1},8,["modelValue"]),r.addressList.length<r.addressLimit?(g(),v("div",{key:0,class:"add-address",onClick:e[1]||(e[1]=c=>s.handleAction("add"))},VX)):b("",!0)])],2)]),_:2},[r.showTips?{name:"top",fn:F(()=>[$X]),key:"0"}:void 0]),1040,["visible","onCancel","onConfirm"])}const HX=ye(BX,[["render",jX],["__scopeId","data-v-556663a8"]]);ze(HX);var qX="0123456789abcdefghijklmnopqrstuvwxyz";function Kt(t){return qX.charAt(t)}function KX(t,e){return t&e}function ao(t,e){return t|e}function Vd(t,e){return t^e}function jd(t,e){return t&~e}function QX(t){if(t==0)return-1;var e=0;return t&65535||(t>>=16,e+=16),t&255||(t>>=8,e+=8),t&15||(t>>=4,e+=4),t&3||(t>>=2,e+=2),t&1||++e,e}function WX(t){for(var e=0;t!=0;)t&=t-1,++e;return e}var wn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p8="=";function Wi(t){var e,r,n="";for(e=0;e+3<=t.length;e+=3)r=parseInt(t.substring(e,e+3),16),n+=wn.charAt(r>>6)+wn.charAt(r&63);for(e+1==t.length?(r=parseInt(t.substring(e,e+1),16),n+=wn.charAt(r<<2)):e+2==t.length&&(r=parseInt(t.substring(e,e+2),16),n+=wn.charAt(r>>2)+wn.charAt((r&3)<<4));(n.length&3)>0;)n+=p8;return n}function Hd(t){var e="",r,n=0,i=0;for(r=0;r<t.length&&t.charAt(r)!=p8;++r){var s=wn.indexOf(t.charAt(r));s<0||(n==0?(e+=Kt(s>>2),i=s&3,n=1):n==1?(e+=Kt(i<<2|s>>4),i=s&15,n=2):n==2?(e+=Kt(i),e+=Kt(s>>2),i=s&3,n=3):(e+=Kt(i<<2|s>>4),e+=Kt(s&15),n=0))}return n==1&&(e+=Kt(i<<2)),e}var dn,GX={decode:function(t){var e;if(dn===void 0){var r="0123456789ABCDEF",n=" \f\n\r	 \u2028\u2029";for(dn={},e=0;e<16;++e)dn[r.charAt(e)]=e;for(r=r.toLowerCase(),e=10;e<16;++e)dn[r.charAt(e)]=e;for(e=0;e<n.length;++e)dn[n.charAt(e)]=-1}var i=[],s=0,o=0;for(e=0;e<t.length;++e){var a=t.charAt(e);if(a=="=")break;if(a=dn[a],a!=-1){if(a===void 0)throw new Error("Illegal character at offset "+e);s|=a,++o>=2?(i[i.length]=s,s=0,o=0):s<<=4}}if(o)throw new Error("Hex encoding incomplete: 4 bits missing");return i}},Pr,B2={decode:function(t){var e;if(Pr===void 0){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n="= \f\n\r	 \u2028\u2029";for(Pr=Object.create(null),e=0;e<64;++e)Pr[r.charAt(e)]=e;for(Pr["-"]=62,Pr._=63,e=0;e<n.length;++e)Pr[n.charAt(e)]=-1}var i=[],s=0,o=0;for(e=0;e<t.length;++e){var a=t.charAt(e);if(a=="=")break;if(a=Pr[a],a!=-1){if(a===void 0)throw new Error("Illegal character at offset "+e);s|=a,++o>=4?(i[i.length]=s>>16,i[i.length]=s>>8&255,i[i.length]=s&255,s=0,o=0):s<<=6}}switch(o){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:i[i.length]=s>>10;break;case 3:i[i.length]=s>>16,i[i.length]=s>>8&255;break}return i},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(t){var e=B2.re.exec(t);if(e)if(e[1])t=e[1];else if(e[2])t=e[2];else throw new Error("RegExp out of sync");return B2.decode(t)}},pn=1e13,xi=function(){function t(e){this.buf=[+e||0]}return t.prototype.mulAdd=function(e,r){var n=this.buf,i=n.length,s,o;for(s=0;s<i;++s)o=n[s]*e+r,o<pn?r=0:(r=0|o/pn,o-=r*pn),n[s]=o;r>0&&(n[s]=r)},t.prototype.sub=function(e){var r=this.buf,n=r.length,i,s;for(i=0;i<n;++i)s=r[i]-e,s<0?(s+=pn,e=1):e=0,r[i]=s;for(;r[r.length-1]===0;)r.pop()},t.prototype.toString=function(e){if((e||10)!=10)throw new Error("only base 10 is supported");for(var r=this.buf,n=r[r.length-1].toString(),i=r.length-2;i>=0;--i)n+=(pn+r[i]).toString().substring(1);return n},t.prototype.valueOf=function(){for(var e=this.buf,r=0,n=e.length-1;n>=0;--n)r=r*pn+e[n];return r},t.prototype.simplify=function(){var e=this.buf;return e.length==1?e[0]:this},t}(),g8="…",ZX=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,YX=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function Dn(t,e){return t.length>e&&(t=t.substring(0,e)+g8),t}var _0=function(){function t(e,r){this.hexDigits="0123456789ABCDEF",e instanceof t?(this.enc=e.enc,this.pos=e.pos):(this.enc=e,this.pos=r)}return t.prototype.get=function(e){if(e===void 0&&(e=this.pos++),e>=this.enc.length)throw new Error("Requesting byte offset ".concat(e," on a stream of length ").concat(this.enc.length));return typeof this.enc=="string"?this.enc.charCodeAt(e):this.enc[e]},t.prototype.hexByte=function(e){return this.hexDigits.charAt(e>>4&15)+this.hexDigits.charAt(e&15)},t.prototype.hexDump=function(e,r,n){for(var i="",s=e;s<r;++s)if(i+=this.hexByte(this.get(s)),n!==!0)switch(s&15){case 7:i+="  ";break;case 15:i+="\n";break;default:i+=" "}return i},t.prototype.isASCII=function(e,r){for(var n=e;n<r;++n){var i=this.get(n);if(i<32||i>176)return!1}return!0},t.prototype.parseStringISO=function(e,r){for(var n="",i=e;i<r;++i)n+=String.fromCharCode(this.get(i));return n},t.prototype.parseStringUTF=function(e,r){for(var n="",i=e;i<r;){var s=this.get(i++);s<128?n+=String.fromCharCode(s):s>191&&s<224?n+=String.fromCharCode((s&31)<<6|this.get(i++)&63):n+=String.fromCharCode((s&15)<<12|(this.get(i++)&63)<<6|this.get(i++)&63)}return n},t.prototype.parseStringBMP=function(e,r){for(var n="",i,s,o=e;o<r;)i=this.get(o++),s=this.get(o++),n+=String.fromCharCode(i<<8|s);return n},t.prototype.parseTime=function(e,r,n){var i=this.parseStringISO(e,r),s=(n?ZX:YX).exec(i);return s?(n&&(s[1]=+s[1],s[1]+=+s[1]<70?2e3:1900),i=s[1]+"-"+s[2]+"-"+s[3]+" "+s[4],s[5]&&(i+=":"+s[5],s[6]&&(i+=":"+s[6],s[7]&&(i+="."+s[7]))),s[8]&&(i+=" UTC",s[8]!="Z"&&(i+=s[8],s[9]&&(i+=":"+s[9]))),i):"Unrecognized time: "+i},t.prototype.parseInteger=function(e,r){for(var n=this.get(e),i=n>127,s=i?255:0,o,a="";n==s&&++e<r;)n=this.get(e);if(o=r-e,o===0)return i?-1:0;if(o>4){for(a=n,o<<=3;!((+a^s)&128);)a=+a<<1,--o;a="("+o+" bit)\n"}i&&(n=n-256);for(var l=new xi(n),c=e+1;c<r;++c)l.mulAdd(256,this.get(c));return a+l.toString()},t.prototype.parseBitString=function(e,r,n){for(var i=this.get(e),s=(r-e-1<<3)-i,o="("+s+" bit)\n",a="",l=e+1;l<r;++l){for(var c=this.get(l),h=l==r-1?i:0,f=7;f>=h;--f)a+=c>>f&1?"1":"0";if(a.length>n)return o+Dn(a,n)}return o+a},t.prototype.parseOctetString=function(e,r,n){if(this.isASCII(e,r))return Dn(this.parseStringISO(e,r),n);var i=r-e,s="("+i+" byte)\n";n/=2,i>n&&(r=e+n);for(var o=e;o<r;++o)s+=this.hexByte(this.get(o));return i>n&&(s+=g8),s},t.prototype.parseOID=function(e,r,n){for(var i="",s=new xi,o=0,a=e;a<r;++a){var l=this.get(a);if(s.mulAdd(128,l&127),o+=7,!(l&128)){if(i==="")if(s=s.simplify(),s instanceof xi)s.sub(80),i="2."+s.toString();else{var c=s<80?s<40?0:1:2;i=c+"."+(s-c*40)}else i+="."+s.toString();if(i.length>n)return Dn(i,n);s=new xi,o=0}}return o>0&&(i+=".incomplete"),i},t}(),JX=function(){function t(e,r,n,i,s){if(!(i instanceof qd))throw new Error("Invalid tag value.");this.stream=e,this.header=r,this.length=n,this.tag=i,this.sub=s}return t.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}},t.prototype.content=function(e){if(this.tag===void 0)return null;e===void 0&&(e=1/0);var r=this.posContent(),n=Math.abs(this.length);if(!this.tag.isUniversal())return this.sub!==null?"("+this.sub.length+" elem)":this.stream.parseOctetString(r,r+n,e);switch(this.tag.tagNumber){case 1:return this.stream.get(r)===0?"false":"true";case 2:return this.stream.parseInteger(r,r+n);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(r,r+n,e);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(r,r+n,e);case 6:return this.stream.parseOID(r,r+n,e);case 16:case 17:return this.sub!==null?"("+this.sub.length+" elem)":"(no elem)";case 12:return Dn(this.stream.parseStringUTF(r,r+n),e);case 18:case 19:case 20:case 21:case 22:case 26:return Dn(this.stream.parseStringISO(r,r+n),e);case 30:return Dn(this.stream.parseStringBMP(r,r+n),e);case 23:case 24:return this.stream.parseTime(r,r+n,this.tag.tagNumber==23)}return null},t.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(this.sub===null?"null":this.sub.length)+"]"},t.prototype.toPrettyString=function(e){e===void 0&&(e="");var r=e+this.typeName()+" @"+this.stream.pos;if(this.length>=0&&(r+="+"),r+=this.length,this.tag.tagConstructed?r+=" (constructed)":this.tag.isUniversal()&&(this.tag.tagNumber==3||this.tag.tagNumber==4)&&this.sub!==null&&(r+=" (encapsulates)"),r+="\n",this.sub!==null){e+="  ";for(var n=0,i=this.sub.length;n<i;++n)r+=this.sub[n].toPrettyString(e)}return r},t.prototype.posStart=function(){return this.stream.pos},t.prototype.posContent=function(){return this.stream.pos+this.header},t.prototype.posEnd=function(){return this.stream.pos+this.header+Math.abs(this.length)},t.prototype.toHexString=function(){return this.stream.hexDump(this.posStart(),this.posEnd(),!0)},t.decodeLength=function(e){var r=e.get(),n=r&127;if(n==r)return n;if(n>6)throw new Error("Length over 48 bits not supported at position "+(e.pos-1));if(n===0)return null;r=0;for(var i=0;i<n;++i)r=r*256+e.get();return r},t.prototype.getHexStringValue=function(){var e=this.toHexString(),r=this.header*2,n=this.length*2;return e.substring(r,r+n)},t.decode=function(e){var r;e instanceof _0?r=e:r=new _0(e,0);var n=new _0(r),i=new qd(r),s=t.decodeLength(r),o=r.pos,a=o-n.pos,l=null,c=function(){var f=[];if(s!==null){for(var d=o+s;r.pos<d;)f[f.length]=t.decode(r);if(r.pos!=d)throw new Error("Content size is not correct for container starting at offset "+o)}else try{for(;;){var p=t.decode(r);if(p.tag.isEOC())break;f[f.length]=p}s=o-r.pos}catch(y){throw new Error("Exception while decoding undefined length content: "+y)}return f};if(i.tagConstructed)l=c();else if(i.isUniversal()&&(i.tagNumber==3||i.tagNumber==4))try{if(i.tagNumber==3&&r.get()!=0)throw new Error("BIT STRINGs with unused bits cannot encapsulate.");l=c();for(var h=0;h<l.length;++h)if(l[h].tag.isEOC())throw new Error("EOC is not supposed to be actual content.")}catch(f){l=null}if(l===null){if(s===null)throw new Error("We can't skip over an invalid tag with undefined length at offset "+o);r.pos=o+Math.abs(s)}return new t(n,a,s,i,l)},t}(),qd=function(){function t(e){var r=e.get();if(this.tagClass=r>>6,this.tagConstructed=(r&32)!==0,this.tagNumber=r&31,this.tagNumber==31){var n=new xi;do r=e.get(),n.mulAdd(128,r&127);while(r&128);this.tagNumber=n.simplify()}}return t.prototype.isUniversal=function(){return this.tagClass===0},t.prototype.isEOC=function(){return this.tagClass===0&&this.tagNumber===0},t}(),Sr,XX=0xdeadbeefcafe,Kd=(XX&16777215)==15715070,Ge=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],eee=(1<<26)/Ge[Ge.length-1],H=function(){function t(e,r,n){e!=null&&(typeof e=="number"?this.fromNumber(e,r,n):r==null&&typeof e!="string"?this.fromString(e,256):this.fromString(e,r))}return t.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var r;if(e==16)r=4;else if(e==8)r=3;else if(e==2)r=1;else if(e==32)r=5;else if(e==4)r=2;else return this.toRadix(e);var n=(1<<r)-1,i,s=!1,o="",a=this.t,l=this.DB-a*this.DB%r;if(a-- >0)for(l<this.DB&&(i=this[a]>>l)>0&&(s=!0,o=Kt(i));a>=0;)l<r?(i=(this[a]&(1<<l)-1)<<r-l,i|=this[--a]>>(l+=this.DB-r)):(i=this[a]>>(l-=r)&n,l<=0&&(l+=this.DB,--a)),i>0&&(s=!0),s&&(o+=Kt(i));return s?o:"0"},t.prototype.negate=function(){var e=J();return t.ZERO.subTo(this,e),e},t.prototype.abs=function(){return this.s<0?this.negate():this},t.prototype.compareTo=function(e){var r=this.s-e.s;if(r!=0)return r;var n=this.t;if(r=n-e.t,r!=0)return this.s<0?-r:r;for(;--n>=0;)if((r=this[n]-e[n])!=0)return r;return 0},t.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+lo(this[this.t-1]^this.s&this.DM)},t.prototype.mod=function(e){var r=J();return this.abs().divRemTo(e,null,r),this.s<0&&r.compareTo(t.ZERO)>0&&e.subTo(r,r),r},t.prototype.modPowInt=function(e,r){var n;return e<256||r.isEven()?n=new Qd(r):n=new Wd(r),this.exp(e,n)},t.prototype.clone=function(){var e=J();return this.copyTo(e),e},t.prototype.intValue=function(){if(this.s<0){if(this.t==1)return this[0]-this.DV;if(this.t==0)return-1}else{if(this.t==1)return this[0];if(this.t==0)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},t.prototype.byteValue=function(){return this.t==0?this.s:this[0]<<24>>24},t.prototype.shortValue=function(){return this.t==0?this.s:this[0]<<16>>16},t.prototype.signum=function(){return this.s<0?-1:this.t<=0||this.t==1&&this[0]<=0?0:1},t.prototype.toByteArray=function(){var e=this.t,r=[];r[0]=this.s;var n=this.DB-e*this.DB%8,i,s=0;if(e-- >0)for(n<this.DB&&(i=this[e]>>n)!=(this.s&this.DM)>>n&&(r[s++]=i|this.s<<this.DB-n);e>=0;)n<8?(i=(this[e]&(1<<n)-1)<<8-n,i|=this[--e]>>(n+=this.DB-8)):(i=this[e]>>(n-=8)&255,n<=0&&(n+=this.DB,--e)),i&128&&(i|=-256),s==0&&(this.s&128)!=(i&128)&&++s,(s>0||i!=this.s)&&(r[s++]=i);return r},t.prototype.equals=function(e){return this.compareTo(e)==0},t.prototype.min=function(e){return this.compareTo(e)<0?this:e},t.prototype.max=function(e){return this.compareTo(e)>0?this:e},t.prototype.and=function(e){var r=J();return this.bitwiseTo(e,KX,r),r},t.prototype.or=function(e){var r=J();return this.bitwiseTo(e,ao,r),r},t.prototype.xor=function(e){var r=J();return this.bitwiseTo(e,Vd,r),r},t.prototype.andNot=function(e){var r=J();return this.bitwiseTo(e,jd,r),r},t.prototype.not=function(){for(var e=J(),r=0;r<this.t;++r)e[r]=this.DM&~this[r];return e.t=this.t,e.s=~this.s,e},t.prototype.shiftLeft=function(e){var r=J();return e<0?this.rShiftTo(-e,r):this.lShiftTo(e,r),r},t.prototype.shiftRight=function(e){var r=J();return e<0?this.lShiftTo(-e,r):this.rShiftTo(e,r),r},t.prototype.getLowestSetBit=function(){for(var e=0;e<this.t;++e)if(this[e]!=0)return e*this.DB+QX(this[e]);return this.s<0?this.t*this.DB:-1},t.prototype.bitCount=function(){for(var e=0,r=this.s&this.DM,n=0;n<this.t;++n)e+=WX(this[n]^r);return e},t.prototype.testBit=function(e){var r=Math.floor(e/this.DB);return r>=this.t?this.s!=0:(this[r]&1<<e%this.DB)!=0},t.prototype.setBit=function(e){return this.changeBit(e,ao)},t.prototype.clearBit=function(e){return this.changeBit(e,jd)},t.prototype.flipBit=function(e){return this.changeBit(e,Vd)},t.prototype.add=function(e){var r=J();return this.addTo(e,r),r},t.prototype.subtract=function(e){var r=J();return this.subTo(e,r),r},t.prototype.multiply=function(e){var r=J();return this.multiplyTo(e,r),r},t.prototype.divide=function(e){var r=J();return this.divRemTo(e,r,null),r},t.prototype.remainder=function(e){var r=J();return this.divRemTo(e,null,r),r},t.prototype.divideAndRemainder=function(e){var r=J(),n=J();return this.divRemTo(e,r,n),[r,n]},t.prototype.modPow=function(e,r){var n=e.bitLength(),i,s=pr(1),o;if(n<=0)return s;n<18?i=1:n<48?i=3:n<144?i=4:n<768?i=5:i=6,n<8?o=new Qd(r):r.isEven()?o=new ree(r):o=new Wd(r);var a=[],l=3,c=i-1,h=(1<<i)-1;if(a[1]=o.convert(this),i>1){var f=J();for(o.sqrTo(a[1],f);l<=h;)a[l]=J(),o.mulTo(f,a[l-2],a[l]),l+=2}var d=e.t-1,p,y=!0,m=J(),_;for(n=lo(e[d])-1;d>=0;){for(n>=c?p=e[d]>>n-c&h:(p=(e[d]&(1<<n+1)-1)<<c-n,d>0&&(p|=e[d-1]>>this.DB+n-c)),l=i;!(p&1);)p>>=1,--l;if((n-=l)<0&&(n+=this.DB,--d),y)a[p].copyTo(s),y=!1;else{for(;l>1;)o.sqrTo(s,m),o.sqrTo(m,s),l-=2;l>0?o.sqrTo(s,m):(_=s,s=m,m=_),o.mulTo(m,a[p],s)}for(;d>=0&&!(e[d]&1<<n);)o.sqrTo(s,m),_=s,s=m,m=_,--n<0&&(n=this.DB-1,--d)}return o.revert(s)},t.prototype.modInverse=function(e){var r=e.isEven();if(this.isEven()&&r||e.signum()==0)return t.ZERO;for(var n=e.clone(),i=this.clone(),s=pr(1),o=pr(0),a=pr(0),l=pr(1);n.signum()!=0;){for(;n.isEven();)n.rShiftTo(1,n),r?((!s.isEven()||!o.isEven())&&(s.addTo(this,s),o.subTo(e,o)),s.rShiftTo(1,s)):o.isEven()||o.subTo(e,o),o.rShiftTo(1,o);for(;i.isEven();)i.rShiftTo(1,i),r?((!a.isEven()||!l.isEven())&&(a.addTo(this,a),l.subTo(e,l)),a.rShiftTo(1,a)):l.isEven()||l.subTo(e,l),l.rShiftTo(1,l);n.compareTo(i)>=0?(n.subTo(i,n),r&&s.subTo(a,s),o.subTo(l,o)):(i.subTo(n,i),r&&a.subTo(s,a),l.subTo(o,l))}if(i.compareTo(t.ONE)!=0)return t.ZERO;if(l.compareTo(e)>=0)return l.subtract(e);if(l.signum()<0)l.addTo(e,l);else return l;return l.signum()<0?l.add(e):l},t.prototype.pow=function(e){return this.exp(e,new tee)},t.prototype.gcd=function(e){var r=this.s<0?this.negate():this.clone(),n=e.s<0?e.negate():e.clone();if(r.compareTo(n)<0){var i=r;r=n,n=i}var s=r.getLowestSetBit(),o=n.getLowestSetBit();if(o<0)return r;for(s<o&&(o=s),o>0&&(r.rShiftTo(o,r),n.rShiftTo(o,n));r.signum()>0;)(s=r.getLowestSetBit())>0&&r.rShiftTo(s,r),(s=n.getLowestSetBit())>0&&n.rShiftTo(s,n),r.compareTo(n)>=0?(r.subTo(n,r),r.rShiftTo(1,r)):(n.subTo(r,n),n.rShiftTo(1,n));return o>0&&n.lShiftTo(o,n),n},t.prototype.isProbablePrime=function(e){var r,n=this.abs();if(n.t==1&&n[0]<=Ge[Ge.length-1]){for(r=0;r<Ge.length;++r)if(n[0]==Ge[r])return!0;return!1}if(n.isEven())return!1;for(r=1;r<Ge.length;){for(var i=Ge[r],s=r+1;s<Ge.length&&i<eee;)i*=Ge[s++];for(i=n.modInt(i);r<s;)if(i%Ge[r++]==0)return!1}return n.millerRabin(e)},t.prototype.copyTo=function(e){for(var r=this.t-1;r>=0;--r)e[r]=this[r];e.t=this.t,e.s=this.s},t.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},t.prototype.fromString=function(e,r){var n;if(r==16)n=4;else if(r==8)n=3;else if(r==256)n=8;else if(r==2)n=1;else if(r==32)n=5;else if(r==4)n=2;else{this.fromRadix(e,r);return}this.t=0,this.s=0;for(var i=e.length,s=!1,o=0;--i>=0;){var a=n==8?+e[i]&255:Zd(e,i);if(a<0){e.charAt(i)=="-"&&(s=!0);continue}s=!1,o==0?this[this.t++]=a:o+n>this.DB?(this[this.t-1]|=(a&(1<<this.DB-o)-1)<<o,this[this.t++]=a>>this.DB-o):this[this.t-1]|=a<<o,o+=n,o>=this.DB&&(o-=this.DB)}n==8&&+e[0]&128&&(this.s=-1,o>0&&(this[this.t-1]|=(1<<this.DB-o)-1<<o)),this.clamp(),s&&t.ZERO.subTo(this,this)},t.prototype.clamp=function(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t},t.prototype.dlShiftTo=function(e,r){var n;for(n=this.t-1;n>=0;--n)r[n+e]=this[n];for(n=e-1;n>=0;--n)r[n]=0;r.t=this.t+e,r.s=this.s},t.prototype.drShiftTo=function(e,r){for(var n=e;n<this.t;++n)r[n-e]=this[n];r.t=Math.max(this.t-e,0),r.s=this.s},t.prototype.lShiftTo=function(e,r){for(var n=e%this.DB,i=this.DB-n,s=(1<<i)-1,o=Math.floor(e/this.DB),a=this.s<<n&this.DM,l=this.t-1;l>=0;--l)r[l+o+1]=this[l]>>i|a,a=(this[l]&s)<<n;for(var l=o-1;l>=0;--l)r[l]=0;r[o]=a,r.t=this.t+o+1,r.s=this.s,r.clamp()},t.prototype.rShiftTo=function(e,r){r.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t){r.t=0;return}var i=e%this.DB,s=this.DB-i,o=(1<<i)-1;r[0]=this[n]>>i;for(var a=n+1;a<this.t;++a)r[a-n-1]|=(this[a]&o)<<s,r[a-n]=this[a]>>i;i>0&&(r[this.t-n-1]|=(this.s&o)<<s),r.t=this.t-n,r.clamp()},t.prototype.subTo=function(e,r){for(var n=0,i=0,s=Math.min(e.t,this.t);n<s;)i+=this[n]-e[n],r[n++]=i&this.DM,i>>=this.DB;if(e.t<this.t){for(i-=e.s;n<this.t;)i+=this[n],r[n++]=i&this.DM,i>>=this.DB;i+=this.s}else{for(i+=this.s;n<e.t;)i-=e[n],r[n++]=i&this.DM,i>>=this.DB;i-=e.s}r.s=i<0?-1:0,i<-1?r[n++]=this.DV+i:i>0&&(r[n++]=i),r.t=n,r.clamp()},t.prototype.multiplyTo=function(e,r){var n=this.abs(),i=e.abs(),s=n.t;for(r.t=s+i.t;--s>=0;)r[s]=0;for(s=0;s<i.t;++s)r[s+n.t]=n.am(0,i[s],r,s,0,n.t);r.s=0,r.clamp(),this.s!=e.s&&t.ZERO.subTo(r,r)},t.prototype.squareTo=function(e){for(var r=this.abs(),n=e.t=2*r.t;--n>=0;)e[n]=0;for(n=0;n<r.t-1;++n){var i=r.am(n,r[n],e,2*n,0,1);(e[n+r.t]+=r.am(n+1,2*r[n],e,2*n+1,i,r.t-n-1))>=r.DV&&(e[n+r.t]-=r.DV,e[n+r.t+1]=1)}e.t>0&&(e[e.t-1]+=r.am(n,r[n],e,2*n,0,1)),e.s=0,e.clamp()},t.prototype.divRemTo=function(e,r,n){var i=e.abs();if(!(i.t<=0)){var s=this.abs();if(s.t<i.t){r!=null&&r.fromInt(0),n!=null&&this.copyTo(n);return}n==null&&(n=J());var o=J(),a=this.s,l=e.s,c=this.DB-lo(i[i.t-1]);c>0?(i.lShiftTo(c,o),s.lShiftTo(c,n)):(i.copyTo(o),s.copyTo(n));var h=o.t,f=o[h-1];if(f!=0){var d=f*(1<<this.F1)+(h>1?o[h-2]>>this.F2:0),p=this.FV/d,y=(1<<this.F1)/d,m=1<<this.F2,_=n.t,A=_-h,x=r==null?J():r;for(o.dlShiftTo(A,x),n.compareTo(x)>=0&&(n[n.t++]=1,n.subTo(x,n)),t.ONE.dlShiftTo(h,x),x.subTo(o,o);o.t<h;)o[o.t++]=0;for(;--A>=0;){var L=n[--_]==f?this.DM:Math.floor(n[_]*p+(n[_-1]+m)*y);if((n[_]+=o.am(0,L,n,A,0,h))<L)for(o.dlShiftTo(A,x),n.subTo(x,n);n[_]<--L;)n.subTo(x,n)}r!=null&&(n.drShiftTo(h,r),a!=l&&t.ZERO.subTo(r,r)),n.t=h,n.clamp(),c>0&&n.rShiftTo(c,n),a<0&&t.ZERO.subTo(n,n)}}},t.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(!(e&1))return 0;var r=e&3;return r=r*(2-(e&15)*r)&15,r=r*(2-(e&255)*r)&255,r=r*(2-((e&65535)*r&65535))&65535,r=r*(2-e*r%this.DV)%this.DV,r>0?this.DV-r:-r},t.prototype.isEven=function(){return(this.t>0?this[0]&1:this.s)==0},t.prototype.exp=function(e,r){if(e>4294967295||e<1)return t.ONE;var n=J(),i=J(),s=r.convert(this),o=lo(e)-1;for(s.copyTo(n);--o>=0;)if(r.sqrTo(n,i),(e&1<<o)>0)r.mulTo(i,s,n);else{var a=n;n=i,i=a}return r.revert(n)},t.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},t.prototype.toRadix=function(e){if(e==null&&(e=10),this.signum()==0||e<2||e>36)return"0";var r=this.chunkSize(e),n=Math.pow(e,r),i=pr(n),s=J(),o=J(),a="";for(this.divRemTo(i,s,o);s.signum()>0;)a=(n+o.intValue()).toString(e).substring(1)+a,s.divRemTo(i,s,o);return o.intValue().toString(e)+a},t.prototype.fromRadix=function(e,r){this.fromInt(0),r==null&&(r=10);for(var n=this.chunkSize(r),i=Math.pow(r,n),s=!1,o=0,a=0,l=0;l<e.length;++l){var c=Zd(e,l);if(c<0){e.charAt(l)=="-"&&this.signum()==0&&(s=!0);continue}a=r*a+c,++o>=n&&(this.dMultiply(i),this.dAddOffset(a,0),o=0,a=0)}o>0&&(this.dMultiply(Math.pow(r,o)),this.dAddOffset(a,0)),s&&t.ZERO.subTo(this,this)},t.prototype.fromNumber=function(e,r,n){if(typeof r=="number")if(e<2)this.fromInt(1);else for(this.fromNumber(e,n),this.testBit(e-1)||this.bitwiseTo(t.ONE.shiftLeft(e-1),ao,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(r);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(t.ONE.shiftLeft(e-1),this);else{var i=[],s=e&7;i.length=(e>>3)+1,r.nextBytes(i),s>0?i[0]&=(1<<s)-1:i[0]=0,this.fromString(i,256)}},t.prototype.bitwiseTo=function(e,r,n){var i,s,o=Math.min(e.t,this.t);for(i=0;i<o;++i)n[i]=r(this[i],e[i]);if(e.t<this.t){for(s=e.s&this.DM,i=o;i<this.t;++i)n[i]=r(this[i],s);n.t=this.t}else{for(s=this.s&this.DM,i=o;i<e.t;++i)n[i]=r(s,e[i]);n.t=e.t}n.s=r(this.s,e.s),n.clamp()},t.prototype.changeBit=function(e,r){var n=t.ONE.shiftLeft(e);return this.bitwiseTo(n,r,n),n},t.prototype.addTo=function(e,r){for(var n=0,i=0,s=Math.min(e.t,this.t);n<s;)i+=this[n]+e[n],r[n++]=i&this.DM,i>>=this.DB;if(e.t<this.t){for(i+=e.s;n<this.t;)i+=this[n],r[n++]=i&this.DM,i>>=this.DB;i+=this.s}else{for(i+=this.s;n<e.t;)i+=e[n],r[n++]=i&this.DM,i>>=this.DB;i+=e.s}r.s=i<0?-1:0,i>0?r[n++]=i:i<-1&&(r[n++]=this.DV+i),r.t=n,r.clamp()},t.prototype.dMultiply=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},t.prototype.dAddOffset=function(e,r){if(e!=0){for(;this.t<=r;)this[this.t++]=0;for(this[r]+=e;this[r]>=this.DV;)this[r]-=this.DV,++r>=this.t&&(this[this.t++]=0),++this[r]}},t.prototype.multiplyLowerTo=function(e,r,n){var i=Math.min(this.t+e.t,r);for(n.s=0,n.t=i;i>0;)n[--i]=0;for(var s=n.t-this.t;i<s;++i)n[i+this.t]=this.am(0,e[i],n,i,0,this.t);for(var s=Math.min(e.t,r);i<s;++i)this.am(0,e[i],n,i,0,r-i);n.clamp()},t.prototype.multiplyUpperTo=function(e,r,n){--r;var i=n.t=this.t+e.t-r;for(n.s=0;--i>=0;)n[i]=0;for(i=Math.max(r-this.t,0);i<e.t;++i)n[this.t+i-r]=this.am(r-i,e[i],n,0,0,this.t+i-r);n.clamp(),n.drShiftTo(1,n)},t.prototype.modInt=function(e){if(e<=0)return 0;var r=this.DV%e,n=this.s<0?e-1:0;if(this.t>0)if(r==0)n=this[0]%e;else for(var i=this.t-1;i>=0;--i)n=(r*n+this[i])%e;return n},t.prototype.millerRabin=function(e){var r=this.subtract(t.ONE),n=r.getLowestSetBit();if(n<=0)return!1;var i=r.shiftRight(n);e=e+1>>1,e>Ge.length&&(e=Ge.length);for(var s=J(),o=0;o<e;++o){s.fromInt(Ge[Math.floor(Math.random()*Ge.length)]);var a=s.modPow(i,this);if(a.compareTo(t.ONE)!=0&&a.compareTo(r)!=0){for(var l=1;l++<n&&a.compareTo(r)!=0;)if(a=a.modPowInt(2,this),a.compareTo(t.ONE)==0)return!1;if(a.compareTo(r)!=0)return!1}}return!0},t.prototype.square=function(){var e=J();return this.squareTo(e),e},t.prototype.gcda=function(e,r){var n=this.s<0?this.negate():this.clone(),i=e.s<0?e.negate():e.clone();if(n.compareTo(i)<0){var s=n;n=i,i=s}var o=n.getLowestSetBit(),a=i.getLowestSetBit();if(a<0){r(n);return}o<a&&(a=o),a>0&&(n.rShiftTo(a,n),i.rShiftTo(a,i));var l=function(){(o=n.getLowestSetBit())>0&&n.rShiftTo(o,n),(o=i.getLowestSetBit())>0&&i.rShiftTo(o,i),n.compareTo(i)>=0?(n.subTo(i,n),n.rShiftTo(1,n)):(i.subTo(n,i),i.rShiftTo(1,i)),n.signum()>0?setTimeout(l,0):(a>0&&i.lShiftTo(a,i),setTimeout(function(){r(i)},0))};setTimeout(l,10)},t.prototype.fromNumberAsync=function(e,r,n,i){if(typeof r=="number")if(e<2)this.fromInt(1);else{this.fromNumber(e,n),this.testBit(e-1)||this.bitwiseTo(t.ONE.shiftLeft(e-1),ao,this),this.isEven()&&this.dAddOffset(1,0);var s=this,o=function(){s.dAddOffset(2,0),s.bitLength()>e&&s.subTo(t.ONE.shiftLeft(e-1),s),s.isProbablePrime(r)?setTimeout(function(){i()},0):setTimeout(o,0)};setTimeout(o,0)}else{var a=[],l=e&7;a.length=(e>>3)+1,r.nextBytes(a),l>0?a[0]&=(1<<l)-1:a[0]=0,this.fromString(a,256)}},t}(),tee=function(){function t(){}return t.prototype.convert=function(e){return e},t.prototype.revert=function(e){return e},t.prototype.mulTo=function(e,r,n){e.multiplyTo(r,n)},t.prototype.sqrTo=function(e,r){e.squareTo(r)},t}(),Qd=function(){function t(e){this.m=e}return t.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},t.prototype.revert=function(e){return e},t.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},t.prototype.mulTo=function(e,r,n){e.multiplyTo(r,n),this.reduce(n)},t.prototype.sqrTo=function(e,r){e.squareTo(r),this.reduce(r)},t}(),Wd=function(){function t(e){this.m=e,this.mp=e.invDigit(),this.mpl=this.mp&32767,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}return t.prototype.convert=function(e){var r=J();return e.abs().dlShiftTo(this.m.t,r),r.divRemTo(this.m,null,r),e.s<0&&r.compareTo(H.ZERO)>0&&this.m.subTo(r,r),r},t.prototype.revert=function(e){var r=J();return e.copyTo(r),this.reduce(r),r},t.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var r=0;r<this.m.t;++r){var n=e[r]&32767,i=n*this.mpl+((n*this.mph+(e[r]>>15)*this.mpl&this.um)<<15)&e.DM;for(n=r+this.m.t,e[n]+=this.m.am(0,i,e,r,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},t.prototype.mulTo=function(e,r,n){e.multiplyTo(r,n),this.reduce(n)},t.prototype.sqrTo=function(e,r){e.squareTo(r),this.reduce(r)},t}(),ree=function(){function t(e){this.m=e,this.r2=J(),this.q3=J(),H.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e)}return t.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var r=J();return e.copyTo(r),this.reduce(r),r},t.prototype.revert=function(e){return e},t.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},t.prototype.mulTo=function(e,r,n){e.multiplyTo(r,n),this.reduce(n)},t.prototype.sqrTo=function(e,r){e.squareTo(r),this.reduce(r)},t}();function J(){return new H(null)}function _e(t,e){return new H(t,e)}var Gd=typeof navigator<"u";Gd&&Kd&&navigator.appName=="Microsoft Internet Explorer"?(H.prototype.am=function(e,r,n,i,s,o){for(var a=r&32767,l=r>>15;--o>=0;){var c=this[e]&32767,h=this[e++]>>15,f=l*c+h*a;c=a*c+((f&32767)<<15)+n[i]+(s&1073741823),s=(c>>>30)+(f>>>15)+l*h+(s>>>30),n[i++]=c&1073741823}return s},Sr=30):Gd&&Kd&&navigator.appName!="Netscape"?(H.prototype.am=function(e,r,n,i,s,o){for(;--o>=0;){var a=r*this[e++]+n[i]+s;s=Math.floor(a/67108864),n[i++]=a&67108863}return s},Sr=26):(H.prototype.am=function(e,r,n,i,s,o){for(var a=r&16383,l=r>>14;--o>=0;){var c=this[e]&16383,h=this[e++]>>14,f=l*c+h*a;c=a*c+((f&16383)<<14)+n[i]+s,s=(c>>28)+(f>>14)+l*h,n[i++]=c&268435455}return s},Sr=28);H.prototype.DB=Sr;H.prototype.DM=(1<<Sr)-1;H.prototype.DV=1<<Sr;var dc=52;H.prototype.FV=Math.pow(2,dc);H.prototype.F1=dc-Sr;H.prototype.F2=2*Sr-dc;var Qa=[],si,at;si=48;for(at=0;at<=9;++at)Qa[si++]=at;si=97;for(at=10;at<36;++at)Qa[si++]=at;si=65;for(at=10;at<36;++at)Qa[si++]=at;function Zd(t,e){var r=Qa[t.charCodeAt(e)];return r==null?-1:r}function pr(t){var e=J();return e.fromInt(t),e}function lo(t){var e=1,r;return(r=t>>>16)!=0&&(t=r,e+=16),(r=t>>8)!=0&&(t=r,e+=8),(r=t>>4)!=0&&(t=r,e+=4),(r=t>>2)!=0&&(t=r,e+=2),(r=t>>1)!=0&&(t=r,e+=1),e}H.ZERO=pr(0);H.ONE=pr(1);var nee=function(){function t(){this.i=0,this.j=0,this.S=[]}return t.prototype.init=function(e){var r,n,i;for(r=0;r<256;++r)this.S[r]=r;for(n=0,r=0;r<256;++r)n=n+this.S[r]+e[r%e.length]&255,i=this.S[r],this.S[r]=this.S[n],this.S[n]=i;this.i=0,this.j=0},t.prototype.next=function(){var e;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,e=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=e,this.S[e+this.S[this.i]&255]},t}();function iee(){return new nee}var v8=256,co,br=null,vt;if(br==null){br=[],vt=0;var uo=void 0;if(typeof window<"u"&&self.crypto&&self.crypto.getRandomValues){var w0=new Uint32Array(256);for(self.crypto.getRandomValues(w0),uo=0;uo<w0.length;++uo)br[vt++]=w0[uo]&255}var ho=0,fo=function(t){if(ho=ho||0,ho>=256||vt>=v8){self.removeEventListener?self.removeEventListener("mousemove",fo,!1):self.detachEvent&&self.detachEvent("onmousemove",fo);return}try{var e=t.x+t.y;br[vt++]=e&255,ho+=1}catch(r){}};typeof window<"u"&&(self.addEventListener?self.addEventListener("mousemove",fo,!1):self.attachEvent&&self.attachEvent("onmousemove",fo))}function see(){if(co==null){for(co=iee();vt<v8;){var t=Math.floor(65536*Math.random());br[vt++]=t&255}for(co.init(br),vt=0;vt<br.length;++vt)br[vt]=0;vt=0}return co.next()}var ia=function(){function t(){}return t.prototype.nextBytes=function(e){for(var r=0;r<e.length;++r)e[r]=see()},t}();function $2(t){return aee(gee(oee(t),t.length*8))}function Yd(t){for(var e="0123456789abcdef",r="",n=0;n<t.length;n++){var i=t.charCodeAt(n);r+=e.charAt(i>>>4&15)+e.charAt(i&15)}return r}function oee(t){for(var e=Array(t.length>>2),r=0;r<e.length;r++)e[r]=0;for(var r=0;r<t.length*8;r+=8)e[r>>5]|=(t.charCodeAt(r/8)&255)<<24-r%32;return e}function aee(t){for(var e="",r=0;r<t.length*32;r+=8)e+=String.fromCharCode(t[r>>5]>>>24-r%32&255);return e}function Dt(t,e){return t>>>e|t<<32-e}function y8(t,e){return t>>>e}function lee(t,e,r){return t&e^~t&r}function cee(t,e,r){return t&e^t&r^e&r}function uee(t){return Dt(t,2)^Dt(t,13)^Dt(t,22)}function hee(t){return Dt(t,6)^Dt(t,11)^Dt(t,25)}function fee(t){return Dt(t,7)^Dt(t,18)^y8(t,3)}function dee(t){return Dt(t,17)^Dt(t,19)^y8(t,10)}var pee=new Array(1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998);function gee(t,e){var r=new Array(1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225),n=new Array(64),i,s,o,a,l,c,h,f,d,p,y,m;for(t[e>>5]|=128<<24-e%32,t[(e+64>>9<<4)+15]=e,d=0;d<t.length;d+=16){for(i=r[0],s=r[1],o=r[2],a=r[3],l=r[4],c=r[5],h=r[6],f=r[7],p=0;p<64;p++)p<16?n[p]=t[p+d]:n[p]=Be(Be(Be(dee(n[p-2]),n[p-7]),fee(n[p-15])),n[p-16]),y=Be(Be(Be(Be(f,hee(l)),lee(l,c,h)),pee[p]),n[p]),m=Be(uee(i),cee(i,s,o)),f=h,h=c,c=l,l=Be(a,y),a=o,o=s,s=i,i=Be(y,m);r[0]=Be(i,r[0]),r[1]=Be(s,r[1]),r[2]=Be(o,r[2]),r[3]=Be(a,r[3]),r[4]=Be(l,r[4]),r[5]=Be(c,r[5]),r[6]=Be(h,r[6]),r[7]=Be(f,r[7])}return r}function Be(t,e){var r=(t&65535)+(e&65535),n=(t>>16)+(e>>16)+(r>>16);return n<<16|r&65535}function vee(t,e){if(e<t.length+22)return console.error("Message too long for RSA"),null;for(var r=e-t.length-6,n="",i=0;i<r;i+=2)n+="ff";var s="0001"+n+"00"+t;return _e(s,16)}function yee(t,e){if(e<t.length+11)return console.error("Message too long for RSA"),null;for(var r=[],n=t.length-1;n>=0&&e>0;){var i=t.charCodeAt(n--);i<128?r[--e]=i:i>127&&i<2048?(r[--e]=i&63|128,r[--e]=i>>6|192):(r[--e]=i&63|128,r[--e]=i>>6&63|128,r[--e]=i>>12|224)}r[--e]=0;for(var s=new ia,o=[];e>2;){for(o[0]=0;o[0]==0;)s.nextBytes(o);r[--e]=o[0]}return r[--e]=2,r[--e]=0,new H(r)}function Jd(t,e,r){for(var n="",i=0;n.length<e;)n+=r(String.fromCharCode.apply(String,t.concat([(i&4278190080)>>24,(i&16711680)>>16,(i&65280)>>8,i&255]))),i+=1;return n}var mee=32;function bee(t,e){var r=mee,n=$2;if(t.length+2*r+2>e)throw"Message too long for RSA";var i="",s;for(s=0;s<e-t.length-2*r-2;s+=1)i+="\0";var o=n("")+i+""+t,a=new Array(r);new ia().nextBytes(a);var l=Jd(a,o.length,n),c=[];for(s=0;s<o.length;s+=1)c[s]=o.charCodeAt(s)^l.charCodeAt(s);var h=Jd(c,a.length,n),f=[0];for(s=0;s<a.length;s+=1)f[s+1]=a[s]^h.charCodeAt(s);return new H(f.concat(c))}var _ee=function(){function t(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}return t.prototype.doPublic=function(e){return e.modPowInt(this.e,this.n)},t.prototype.doPrivate=function(e){if(this.p==null||this.q==null)return e.modPow(this.d,this.n);for(var r=e.mod(this.p).modPow(this.dmp1,this.p),n=e.mod(this.q).modPow(this.dmq1,this.q);r.compareTo(n)<0;)r=r.add(this.p);return r.subtract(n).multiply(this.coeff).mod(this.p).multiply(this.q).add(n)},t.prototype.setPublic=function(e,r){e!=null&&r!=null&&e.length>0&&r.length>0?(this.n=_e(e,16),this.e=parseInt(r,16)):console.error("Invalid RSA public key")},t.prototype.encrypt=function(e,r){typeof r>"u"&&(r=yee);var n=this.n.bitLength()+7>>3,i=r(e,n);if(i==null)return null;var s=this.doPublic(i);if(s==null)return null;for(var o=s.toString(16),a=o.length,l=0;l<n*2-a;l++)o="0"+o;return o},t.prototype.setPrivate=function(e,r,n){e!=null&&r!=null&&e.length>0&&r.length>0?(this.n=_e(e,16),this.e=parseInt(r,16),this.d=_e(n,16)):console.error("Invalid RSA private key")},t.prototype.setPrivateEx=function(e,r,n,i,s,o,a,l){e!=null&&r!=null&&e.length>0&&r.length>0?(this.n=_e(e,16),this.e=parseInt(r,16),this.d=_e(n,16),this.p=_e(i,16),this.q=_e(s,16),this.dmp1=_e(o,16),this.dmq1=_e(a,16),this.coeff=_e(l,16)):console.error("Invalid RSA private key")},t.prototype.generate=function(e,r){var n=new ia,i=e>>1;this.e=parseInt(r,16);for(var s=new H(r,16);;){for(;this.p=new H(e-i,1,n),!(this.p.subtract(H.ONE).gcd(s).compareTo(H.ONE)==0&&this.p.isProbablePrime(10)););for(;this.q=new H(i,1,n),!(this.q.subtract(H.ONE).gcd(s).compareTo(H.ONE)==0&&this.q.isProbablePrime(10)););if(this.p.compareTo(this.q)<=0){var o=this.p;this.p=this.q,this.q=o}var a=this.p.subtract(H.ONE),l=this.q.subtract(H.ONE),c=a.multiply(l);if(c.gcd(s).compareTo(H.ONE)==0){this.n=this.p.multiply(this.q),this.d=s.modInverse(c),this.dmp1=this.d.mod(a),this.dmq1=this.d.mod(l),this.coeff=this.q.modInverse(this.p);break}}},t.prototype.decrypt=function(e){var r=_e(e,16),n=this.doPrivate(r);return n==null?null:wee(n,this.n.bitLength()+7>>3)},t.prototype.generateAsync=function(e,r,n){var i=new ia,s=e>>1;this.e=parseInt(r,16);var o=new H(r,16),a=this,l=function(){var c=function(){if(a.p.compareTo(a.q)<=0){var d=a.p;a.p=a.q,a.q=d}var p=a.p.subtract(H.ONE),y=a.q.subtract(H.ONE),m=p.multiply(y);m.gcd(o).compareTo(H.ONE)==0?(a.n=a.p.multiply(a.q),a.d=o.modInverse(m),a.dmp1=a.d.mod(p),a.dmq1=a.d.mod(y),a.coeff=a.q.modInverse(a.p),setTimeout(function(){n()},0)):setTimeout(l,0)},h=function(){a.q=J(),a.q.fromNumberAsync(s,1,i,function(){a.q.subtract(H.ONE).gcda(o,function(d){d.compareTo(H.ONE)==0&&a.q.isProbablePrime(10)?setTimeout(c,0):setTimeout(h,0)})})},f=function(){a.p=J(),a.p.fromNumberAsync(e-s,1,i,function(){a.p.subtract(H.ONE).gcda(o,function(d){d.compareTo(H.ONE)==0&&a.p.isProbablePrime(10)?setTimeout(h,0):setTimeout(f,0)})})};setTimeout(f,0)};setTimeout(l,0)},t.prototype.sign=function(e,r,n){var i=Cee(n),s=i+r(e).toString(),o=this.n.bitLength()/4,a=vee(s,o);if(a==null)return null;var l=this.doPrivate(a);if(l==null)return null;for(var c=l.toString(16),h=c.length,f=0;f<o-h;f++)c="0"+c;return c},t.prototype.verify=function(e,r,n){var i=_e(r,16),s=this.doPublic(i);if(s==null)return null;var o=s.toString(16).replace(/^1f+00/,""),a=Aee(o);return a==n(e).toString()},t}();function wee(t,e){for(var r=t.toByteArray(),n=0;n<r.length&&r[n]==0;)++n;if(r.length-n!=e-1||r[n]!=2)return null;for(++n;r[n]!=0;)if(++n>=r.length)return null;for(var i="";++n<r.length;){var s=r[n]&255;s<128?i+=String.fromCharCode(s):s>191&&s<224?(i+=String.fromCharCode((s&31)<<6|r[n+1]&63),++n):(i+=String.fromCharCode((s&15)<<12|(r[n+1]&63)<<6|r[n+2]&63),n+=2)}return i}var Ro={md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",ripemd160:"3021300906052b2403020105000414"};function Cee(t){return Ro[t]||""}function Aee(t){for(var e in Ro)if(Ro.hasOwnProperty(e)){var r=Ro[e],n=r.length;if(t.substring(0,n)==r)return t.substring(n)}return t}function Ne(t,e,r){if(!e||!t)throw new Error("extend failed, please check that all dependencies are included.");var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t,t.superclass=e.prototype,e.prototype.constructor==Object.prototype.constructor&&(e.prototype.constructor=e)}/**
 * @fileOverview
 * @name asn1-1.0.js
 * @author Kenji Urushima kenji.urushima@gmail.com
 * @version asn1 1.0.13 (2017-Jun-02)
 * @since jsrsasign 2.1
 * @license <a href="https://kjur.github.io/jsrsasign/license/">MIT License</a>
 */var I={};(typeof I.asn1>"u"||!I.asn1)&&(I.asn1={});I.asn1.ASN1Util=new function(){this.integerToByteHex=function(t){var e=t.toString(16);return e.length%2==1&&(e="0"+e),e},this.bigIntToMinTwosComplementsHex=function(t){var e=t.toString(16);if(e.substring(0,1)!="-")e.length%2==1?e="0"+e:e.match(/^[0-7]/)||(e="00"+e);else{var r=e.substring(1),n=r.length;n%2==1?n+=1:e.match(/^[0-7]/)||(n+=2);for(var i="",s=0;s<n;s++)i+="f";var o=new H(i,16),a=o.xor(t).add(H.ONE);e=a.toString(16).replace(/^-/,"")}return e},this.getPEMStringFromHex=function(t,e){return hextopem(t,e)},this.newObject=function(t){var e=I,r=e.asn1,n=r.DERBoolean,i=r.DERInteger,s=r.DERBitString,o=r.DEROctetString,a=r.DERNull,l=r.DERObjectIdentifier,c=r.DEREnumerated,h=r.DERUTF8String,f=r.DERNumericString,d=r.DERPrintableString,p=r.DERTeletexString,y=r.DERIA5String,m=r.DERUTCTime,_=r.DERGeneralizedTime,A=r.DERSequence,x=r.DERSet,L=r.DERTaggedObject,S=r.ASN1Util.newObject,N=Object.keys(t);if(N.length!=1)throw"key of param shall be only one.";var w=N[0];if(":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":"+w+":")==-1)throw"undefined key: "+w;if(w=="bool")return new n(t[w]);if(w=="int")return new i(t[w]);if(w=="bitstr")return new s(t[w]);if(w=="octstr")return new o(t[w]);if(w=="null")return new a(t[w]);if(w=="oid")return new l(t[w]);if(w=="enum")return new c(t[w]);if(w=="utf8str")return new h(t[w]);if(w=="numstr")return new f(t[w]);if(w=="prnstr")return new d(t[w]);if(w=="telstr")return new p(t[w]);if(w=="ia5str")return new y(t[w]);if(w=="utctime")return new m(t[w]);if(w=="gentime")return new _(t[w]);if(w=="seq"){for(var Q=t[w],G=[],re=0;re<Q.length;re++){var j=S(Q[re]);G.push(j)}return new A({array:G})}if(w=="set"){for(var Q=t[w],G=[],re=0;re<Q.length;re++){var j=S(Q[re]);G.push(j)}return new x({array:G})}if(w=="tag"){var R=t[w];if(Object.prototype.toString.call(R)==="[object Array]"&&R.length==3){var W=S(R[2]);return new L({tag:R[0],explicit:R[1],obj:W})}else{var Ce={};if(R.explicit!==void 0&&(Ce.explicit=R.explicit),R.tag!==void 0&&(Ce.tag=R.tag),R.obj===void 0)throw"obj shall be specified for 'tag'.";return Ce.obj=S(R.obj),new L(Ce)}}},this.jsonToASN1HEX=function(t){var e=this.newObject(t);return e.getEncodedHex()}};I.asn1.ASN1Util.oidHexToInt=function(t){for(var i="",e=parseInt(t.substring(0,2),16),r=Math.floor(e/40),n=e%40,i=r+"."+n,s="",o=2;o<t.length;o+=2){var a=parseInt(t.substring(o,o+2),16),l=("00000000"+a.toString(2)).slice(-8);if(s=s+l.substring(1,8),l.substring(0,1)=="0"){var c=new H(s,2);i=i+"."+c.toString(10),s=""}}return i};I.asn1.ASN1Util.oidIntToHex=function(t){var e=function(a){var l=a.toString(16);return l.length==1&&(l="0"+l),l},r=function(a){var l="",c=new H(a,10),h=c.toString(2),f=7-h.length%7;f==7&&(f=0);for(var d="",p=0;p<f;p++)d+="0";h=d+h;for(var p=0;p<h.length-1;p+=7){var y=h.substring(p,p+7);p!=h.length-7&&(y="1"+y),l+=e(parseInt(y,2))}return l};if(!t.match(/^[0-9.]+$/))throw"malformed oid string: "+t;var n="",i=t.split("."),s=parseInt(i[0])*40+parseInt(i[1]);n+=e(s),i.splice(0,2);for(var o=0;o<i.length;o++)n+=r(i[o]);return n};I.asn1.ASN1Object=function(){var t="";this.getLengthHexFromValue=function(){if(typeof this.hV>"u"||this.hV==null)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n="+t.length+",v="+this.hV;var e=this.hV.length/2,r=e.toString(16);if(r.length%2==1&&(r="0"+r),e<128)return r;var n=r.length/2;if(n>15)throw"ASN.1 length too long to represent by 8x: n = "+e.toString(16);var i=128+n;return i.toString(16)+r},this.getEncodedHex=function(){return(this.hTLV==null||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}};I.asn1.DERAbstractString=function(t){I.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(this.s)},this.setStringHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.getFreshValueHex=function(){return this.hV},typeof t<"u"&&(typeof t=="string"?this.setString(t):typeof t.str<"u"?this.setString(t.str):typeof t.hex<"u"&&this.setStringHex(t.hex))};Ne(I.asn1.DERAbstractString,I.asn1.ASN1Object);I.asn1.DERAbstractTime=function(t){I.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(e){utc=e.getTime()+e.getTimezoneOffset()*6e4;var r=new Date(utc);return r},this.formatDate=function(e,r,n){var i=this.zeroPadding,s=this.localDateToUTC(e),o=String(s.getFullYear());r=="utc"&&(o=o.substring(2,4));var a=i(String(s.getMonth()+1),2),l=i(String(s.getDate()),2),c=i(String(s.getHours()),2),h=i(String(s.getMinutes()),2),f=i(String(s.getSeconds()),2),d=o+a+l+c+h+f;if(n===!0){var p=s.getMilliseconds();if(p!=0){var y=i(String(p),3);y=y.replace(/[0]+$/,""),d=d+"."+y}}return d+"Z"},this.zeroPadding=function(e,r){return e.length>=r?e:new Array(r-e.length+1).join("0")+e},this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(e)},this.setByDateValue=function(e,r,n,i,s,o){var a=new Date(Date.UTC(e,r-1,n,i,s,o,0));this.setByDate(a)},this.getFreshValueHex=function(){return this.hV}};Ne(I.asn1.DERAbstractTime,I.asn1.ASN1Object);I.asn1.DERAbstractStructured=function(t){I.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array=e},this.appendASN1Object=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array.push(e)},this.asn1Array=new Array,typeof t<"u"&&typeof t.array<"u"&&(this.asn1Array=t.array)};Ne(I.asn1.DERAbstractStructured,I.asn1.ASN1Object);I.asn1.DERBoolean=function(){I.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"};Ne(I.asn1.DERBoolean,I.asn1.ASN1Object);I.asn1.DERInteger=function(t){I.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=I.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var r=new H(String(e),10);this.setByBigInteger(r)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},typeof t<"u"&&(typeof t.bigint<"u"?this.setByBigInteger(t.bigint):typeof t.int<"u"?this.setByInteger(t.int):typeof t=="number"?this.setByInteger(t):typeof t.hex<"u"&&this.setValueHex(t.hex))};Ne(I.asn1.DERInteger,I.asn1.ASN1Object);I.asn1.DERBitString=function(t){if(t!==void 0&&typeof t.obj<"u"){var e=I.asn1.ASN1Util.newObject(t.obj);t.hex="00"+e.getEncodedHex()}I.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(r){this.hTLV=null,this.isModified=!0,this.hV=r},this.setUnusedBitsAndHexValue=function(r,n){if(r<0||7<r)throw"unused bits shall be from 0 to 7: u = "+r;var i="0"+r;this.hTLV=null,this.isModified=!0,this.hV=i+n},this.setByBinaryString=function(r){r=r.replace(/0+$/,"");var n=8-r.length%8;n==8&&(n=0);for(var i=0;i<=n;i++)r+="0";for(var s="",i=0;i<r.length-1;i+=8){var o=r.substring(i,i+8),a=parseInt(o,2).toString(16);a.length==1&&(a="0"+a),s+=a}this.hTLV=null,this.isModified=!0,this.hV="0"+n+s},this.setByBooleanArray=function(r){for(var n="",i=0;i<r.length;i++)r[i]==!0?n+="1":n+="0";this.setByBinaryString(n)},this.newFalseArray=function(r){for(var n=new Array(r),i=0;i<r;i++)n[i]=!1;return n},this.getFreshValueHex=function(){return this.hV},typeof t<"u"&&(typeof t=="string"&&t.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(t):typeof t.hex<"u"?this.setHexValueIncludingUnusedBits(t.hex):typeof t.bin<"u"?this.setByBinaryString(t.bin):typeof t.array<"u"&&this.setByBooleanArray(t.array))};Ne(I.asn1.DERBitString,I.asn1.ASN1Object);I.asn1.DEROctetString=function(t){if(t!==void 0&&typeof t.obj<"u"){var e=I.asn1.ASN1Util.newObject(t.obj);t.hex=e.getEncodedHex()}I.asn1.DEROctetString.superclass.constructor.call(this,t),this.hT="04"};Ne(I.asn1.DEROctetString,I.asn1.DERAbstractString);I.asn1.DERNull=function(){I.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"};Ne(I.asn1.DERNull,I.asn1.ASN1Object);I.asn1.DERObjectIdentifier=function(t){var e=function(n){var i=n.toString(16);return i.length==1&&(i="0"+i),i},r=function(n){var i="",s=new H(n,10),o=s.toString(2),a=7-o.length%7;a==7&&(a=0);for(var l="",c=0;c<a;c++)l+="0";o=l+o;for(var c=0;c<o.length-1;c+=7){var h=o.substring(c,c+7);c!=o.length-7&&(h="1"+h),i+=e(parseInt(h,2))}return i};I.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(n){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=n},this.setValueOidString=function(n){if(!n.match(/^[0-9.]+$/))throw"malformed oid string: "+n;var i="",s=n.split("."),o=parseInt(s[0])*40+parseInt(s[1]);i+=e(o),s.splice(0,2);for(var a=0;a<s.length;a++)i+=r(s[a]);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=i},this.setValueName=function(n){var i=I.asn1.x509.OID.name2oid(n);if(i!=="")this.setValueOidString(i);else throw"DERObjectIdentifier oidName undefined: "+n},this.getFreshValueHex=function(){return this.hV},t!==void 0&&(typeof t=="string"?t.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(t):this.setValueName(t):t.oid!==void 0?this.setValueOidString(t.oid):t.hex!==void 0?this.setValueHex(t.hex):t.name!==void 0&&this.setValueName(t.name))};Ne(I.asn1.DERObjectIdentifier,I.asn1.ASN1Object);I.asn1.DEREnumerated=function(t){I.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=I.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var r=new H(String(e),10);this.setByBigInteger(r)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},typeof t<"u"&&(typeof t.int<"u"?this.setByInteger(t.int):typeof t=="number"?this.setByInteger(t):typeof t.hex<"u"&&this.setValueHex(t.hex))};Ne(I.asn1.DEREnumerated,I.asn1.ASN1Object);I.asn1.DERUTF8String=function(t){I.asn1.DERUTF8String.superclass.constructor.call(this,t),this.hT="0c"};Ne(I.asn1.DERUTF8String,I.asn1.DERAbstractString);I.asn1.DERNumericString=function(t){I.asn1.DERNumericString.superclass.constructor.call(this,t),this.hT="12"};Ne(I.asn1.DERNumericString,I.asn1.DERAbstractString);I.asn1.DERPrintableString=function(t){I.asn1.DERPrintableString.superclass.constructor.call(this,t),this.hT="13"};Ne(I.asn1.DERPrintableString,I.asn1.DERAbstractString);I.asn1.DERTeletexString=function(t){I.asn1.DERTeletexString.superclass.constructor.call(this,t),this.hT="14"};Ne(I.asn1.DERTeletexString,I.asn1.DERAbstractString);I.asn1.DERIA5String=function(t){I.asn1.DERIA5String.superclass.constructor.call(this,t),this.hT="16"};Ne(I.asn1.DERIA5String,I.asn1.DERAbstractString);I.asn1.DERUTCTime=function(t){I.asn1.DERUTCTime.superclass.constructor.call(this,t),this.hT="17",this.setByDate=function(e){this.hTLV=null,this.isModified=!0,this.date=e,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return typeof this.date>"u"&&typeof this.s>"u"&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)),this.hV},t!==void 0&&(t.str!==void 0?this.setString(t.str):typeof t=="string"&&t.match(/^[0-9]{12}Z$/)?this.setString(t):t.hex!==void 0?this.setStringHex(t.hex):t.date!==void 0&&this.setByDate(t.date))};Ne(I.asn1.DERUTCTime,I.asn1.DERAbstractTime);I.asn1.DERGeneralizedTime=function(t){I.asn1.DERGeneralizedTime.superclass.constructor.call(this,t),this.hT="18",this.withMillis=!1,this.setByDate=function(e){this.hTLV=null,this.isModified=!0,this.date=e,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return this.date===void 0&&this.s===void 0&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)),this.hV},t!==void 0&&(t.str!==void 0?this.setString(t.str):typeof t=="string"&&t.match(/^[0-9]{14}Z$/)?this.setString(t):t.hex!==void 0?this.setStringHex(t.hex):t.date!==void 0&&this.setByDate(t.date),t.millis===!0&&(this.withMillis=!0))};Ne(I.asn1.DERGeneralizedTime,I.asn1.DERAbstractTime);I.asn1.DERSequence=function(t){I.asn1.DERSequence.superclass.constructor.call(this,t),this.hT="30",this.getFreshValueHex=function(){for(var e="",r=0;r<this.asn1Array.length;r++){var n=this.asn1Array[r];e+=n.getEncodedHex()}return this.hV=e,this.hV}};Ne(I.asn1.DERSequence,I.asn1.DERAbstractStructured);I.asn1.DERSet=function(t){I.asn1.DERSet.superclass.constructor.call(this,t),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var e=new Array,r=0;r<this.asn1Array.length;r++){var n=this.asn1Array[r];e.push(n.getEncodedHex())}return this.sortFlag==!0&&e.sort(),this.hV=e.join(""),this.hV},typeof t<"u"&&typeof t.sortflag<"u"&&t.sortflag==!1&&(this.sortFlag=!1)};Ne(I.asn1.DERSet,I.asn1.DERAbstractStructured);I.asn1.DERTaggedObject=function(t){I.asn1.DERTaggedObject.superclass.constructor.call(this),this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(e,r,n){this.hT=r,this.isExplicit=e,this.asn1Object=n,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=n.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,r),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},typeof t<"u"&&(typeof t.tag<"u"&&(this.hT=t.tag),typeof t.explicit<"u"&&(this.isExplicit=t.explicit),typeof t.obj<"u"&&(this.asn1Object=t.obj,this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))};Ne(I.asn1.DERTaggedObject,I.asn1.ASN1Object);var See=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Xd=function(t){See(e,t);function e(r){var n=t.call(this)||this;return r&&(typeof r=="string"?n.parseKey(r):(e.hasPrivateKeyProperty(r)||e.hasPublicKeyProperty(r))&&n.parsePropertiesFrom(r)),n}return e.prototype.parseKey=function(r){try{var n=0,i=0,s=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/,o=s.test(r)?GX.decode(r):B2.unarmor(r),a=JX.decode(o);if(a.sub.length===3&&(a=a.sub[2].sub[0]),a.sub.length===9){n=a.sub[1].getHexStringValue(),this.n=_e(n,16),i=a.sub[2].getHexStringValue(),this.e=parseInt(i,16);var l=a.sub[3].getHexStringValue();this.d=_e(l,16);var c=a.sub[4].getHexStringValue();this.p=_e(c,16);var h=a.sub[5].getHexStringValue();this.q=_e(h,16);var f=a.sub[6].getHexStringValue();this.dmp1=_e(f,16);var d=a.sub[7].getHexStringValue();this.dmq1=_e(d,16);var p=a.sub[8].getHexStringValue();this.coeff=_e(p,16)}else if(a.sub.length===2)if(a.sub[0].sub){var y=a.sub[1],m=y.sub[0];n=m.sub[0].getHexStringValue(),this.n=_e(n,16),i=m.sub[1].getHexStringValue(),this.e=parseInt(i,16)}else n=a.sub[0].getHexStringValue(),this.n=_e(n,16),i=a.sub[1].getHexStringValue(),this.e=parseInt(i,16);else return!1;return!0}catch(_){return!1}},e.prototype.getPrivateBaseKey=function(){var r={array:[new I.asn1.DERInteger({int:0}),new I.asn1.DERInteger({bigint:this.n}),new I.asn1.DERInteger({int:this.e}),new I.asn1.DERInteger({bigint:this.d}),new I.asn1.DERInteger({bigint:this.p}),new I.asn1.DERInteger({bigint:this.q}),new I.asn1.DERInteger({bigint:this.dmp1}),new I.asn1.DERInteger({bigint:this.dmq1}),new I.asn1.DERInteger({bigint:this.coeff})]},n=new I.asn1.DERSequence(r);return n.getEncodedHex()},e.prototype.getPrivateBaseKeyB64=function(){return Wi(this.getPrivateBaseKey())},e.prototype.getPublicBaseKey=function(){var r=new I.asn1.DERSequence({array:[new I.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new I.asn1.DERNull]}),n=new I.asn1.DERSequence({array:[new I.asn1.DERInteger({bigint:this.n}),new I.asn1.DERInteger({int:this.e})]}),i=new I.asn1.DERBitString({hex:"00"+n.getEncodedHex()}),s=new I.asn1.DERSequence({array:[r,i]});return s.getEncodedHex()},e.prototype.getPublicBaseKeyB64=function(){return Wi(this.getPublicBaseKey())},e.wordwrap=function(r,n){if(n=n||64,!r)return r;var i="(.{1,"+n+"})( +|$\n?)|(.{1,"+n+"})";return r.match(RegExp(i,"g")).join("\n")},e.prototype.getPrivateKey=function(){var r="-----BEGIN RSA PRIVATE KEY-----\n";return r+=e.wordwrap(this.getPrivateBaseKeyB64())+"\n",r+="-----END RSA PRIVATE KEY-----",r},e.prototype.getPublicKey=function(){var r="-----BEGIN PUBLIC KEY-----\n";return r+=e.wordwrap(this.getPublicBaseKeyB64())+"\n",r+="-----END PUBLIC KEY-----",r},e.hasPublicKeyProperty=function(r){return r=r||{},r.hasOwnProperty("n")&&r.hasOwnProperty("e")},e.hasPrivateKeyProperty=function(r){return r=r||{},r.hasOwnProperty("n")&&r.hasOwnProperty("e")&&r.hasOwnProperty("d")&&r.hasOwnProperty("p")&&r.hasOwnProperty("q")&&r.hasOwnProperty("dmp1")&&r.hasOwnProperty("dmq1")&&r.hasOwnProperty("coeff")},e.prototype.parsePropertiesFrom=function(r){this.n=r.n,this.e=r.e,r.hasOwnProperty("d")&&(this.d=r.d,this.p=r.p,this.q=r.q,this.dmp1=r.dmp1,this.dmq1=r.dmq1,this.coeff=r.coeff)},e}(_ee),Tee={},C0,Eee=typeof process<"u"?(C0=Tee)===null||C0===void 0?void 0:C0.npm_package_version:void 0,Iee=function(){function t(e){e===void 0&&(e={}),this.default_key_size=e.default_key_size?parseInt(e.default_key_size,10):1024,this.default_public_exponent=e.default_public_exponent||"010001",this.log=e.log||!1,this.key=e.key||null}return t.prototype.setKey=function(e){e?(this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new Xd(e)):!this.key&&this.log&&console.error("A key was not set.")},t.prototype.setPrivateKey=function(e){this.setKey(e)},t.prototype.setPublicKey=function(e){this.setKey(e)},t.prototype.decrypt=function(e){try{return this.getKey().decrypt(Hd(e))}catch(r){return!1}},t.prototype.encrypt=function(e){try{return Wi(this.getKey().encrypt(e))}catch(r){return!1}},t.prototype.encryptOAEP=function(e){try{return Wi(this.getKey().encrypt(e,bee))}catch(r){return!1}},t.prototype.sign=function(e,r,n){r===void 0&&(r=function(i){return i}),n===void 0&&(n="");try{return Wi(this.getKey().sign(e,r,n))}catch(i){return!1}},t.prototype.signSha256=function(e){return this.sign(e,function(r){return Yd($2(r))},"sha256")},t.prototype.verify=function(e,r,n){n===void 0&&(n=function(i){return i});try{return this.getKey().verify(e,Hd(r),n)}catch(i){return!1}},t.prototype.verifySha256=function(e,r){return this.verify(e,r,function(n){return Yd($2(n))})},t.prototype.getKey=function(e){if(!this.key){if(this.key=new Xd,e&&{}.toString.call(e)==="[object Function]"){this.key.generateAsync(this.default_key_size,this.default_public_exponent,e);return}this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},t.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},t.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},t.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},t.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},t.version=Eee,t}();const A0=(t,e)=>r=>e(r)?!0:(console.error("PaymentChannel: ".concat(t," 参数错误，请检查 ").concat(t," 的值是否正确")),!1),gr=t=>t==null||t===""||Array.isArray(t)&&t.length===0||typeof t=="object"&&Object.keys(t).length===0,kee=(t,e)=>{const r=new Iee;return r.setPublicKey(t),r.encrypt(e)},e3=B3(),m8=t=>{const e=Z.create({timeout:1e4,...t});return e.interceptors.request.use(r=>(r.method==="get"&&(r.params={...r.params,_t:Date.now()}),r)),e.interceptors.response.use(r=>{if(r.status===200){const{status:n,errMessage:i,message:s,errCode:o}=r.data;if(!n){if(o&&Number(o)===100)return sessionStorage.__isJumpToLogin==="true"||(sessionStorage.__isJumpToLogin=!0,e3&&window.location.replace("".concat(e3.s_login,"?mustLogin=1&returnUrl=").concat(encodeURIComponent(window.location.href))),sessionStorage.__isJumpToLogin=!1),Promise.reject();if(r.config.isBypassInterceptor)return r.data;{const a=i||s||"Error: Request failed";return Me.error(a),Promise.reject(a)}}return r.config.isBypassInterceptor,r.data}return r},r=>{const n=r.toString();return n.includes("canceled")||Me.error("网络异常，请稍后再试"),Promise.reject(n)}),e},nn=m8({baseURL:"/pay-web/pc/pay"}),xee=t=>nn.get("/getPayChannelInfo",{params:t}),Lee=t=>nn.post("/payAuthCheckInit",null,{params:t,baseURL:"/pay-web/pc/payAuth",isBypassInterceptor:!0}),Oee=t=>nn.post("/payAuthCheck",null,{params:t,baseURL:"/pay-web/pc/payAuth",isBypassInterceptor:!0}),Nee=()=>nn.get("/getPayRandomKey"),Ree=t=>nn.post("/submitPay",null,{params:t,isBypassInterceptor:!0}),Dee=t=>nn.get("/getRealPayResult",{params:t,isBypassInterceptor:!0}),Bee=t=>nn.post("/sendAuthSmsCode",null,{params:t,baseURL:"/pay-web/pc/payAuth",isBypassInterceptor:!0}),t3=Object.freeze(Object.defineProperty({__proto__:null,getChannelInfo:xee,getPayRandomKey:Nee,getPayResult:Dee,payAuthCheck:Oee,payAuthCheckInit:Lee,sendCode:Bee,submitPay:Ree},Symbol.toStringTag,{value:"Module"})),Wa=m8({baseURL:"/pay-web/pc/fill"}),$ee=({payReqUnifiedID:t,isDefault:e})=>Wa.get("/getPcFillChannelInfo",{params:{fillReqUnifiedID:t,isDefault:e}}),Pee=()=>Wa.get("/getFillRandomKey"),Mee=({payReqUnifiedID:t,selChannelID:e,sign:r})=>Wa.post("/submitFill",null,{params:{fillReqUnifiedID:t,selChannelID:e,sign:r},isBypassInterceptor:!0}),Fee=({payReqUnifiedID:t,keyForParams:e})=>Wa.get("/getRealFillResult",{params:{fillReqUnifiedID:t,keyForParams:e},isBypassInterceptor:!0}),Uee=Object.freeze(Object.defineProperty({__proto__:null,getChannelInfo:$ee,getPayRandomKey:Pee,getPayResult:Fee,submitPay:Mee},Symbol.toStringTag,{value:"Module"})),nt={QR_CODE_REQUEST_FREQUENT:"325",QR_CODE_PAGE_TIME_OUT:"19",CHECK_TIME_OUT:"212",ACCOUNT_NOT_ACTIVE:"200",PASSWORD_LOCKED:"204",NOT_BIND_PHONE:"101",CHECK_PAY_AUTN_TOKEN_INVALID:"206",SUBMIT_PAY_AUTN_TOKEN_INVALID:"316",PAY_PASSWORD_ERROR:"205",SMS_CODE_ERROR:"208",SMS_CODE_CHECK_ERROR:"209",NOT_CURRENT_USER:"320",PAY_RESULT_NOT_ALLOWED_OPERATE:"107"},bt={OLD_PASS:"oldPass",VERIFY:"verify",NUM_PASS:"num"},D={NEXT:"next",SHOW_OLD_PASS:"showOldPass",SHOW_NUM_PASS:"showNumPass",SHOW_VERIFY_CODE:"showVerifyCode",SHOW_DIALOG:"showDialog",ERROR:"error",SHOW_INNER_ERROR:"showInnerError",SHOW_QRCODE:"showQrcode",THIRD_PAY:"thirdPay",PAY_SUBMIT_SUCCESS:"paySubmitSuccess",PAY_SUCCESS:"paySuccess",ACCOUNT_NOT_ACTIVE:"accountNotActive",NOT_BIND_PHONE:"notBindPhone",PASSWORD_LOCKED:"passwordLocked",SHOW_SMS_ERROR:"showSmsError"},Te={SELF:0,SCAN:1,THIRD:2},zee=["JDPC","ABC"],Ae={NONE:"none",ERROR:"error",VALIDATOR:"validator",QRCODE:"qrcode",BANKS:"banks",PAY_BUTTON:"payButton",COMBINED:"combined"},pt={NONE_AUTH:0,OLD_PASS:1,NUM_PASS:2,SMS_CODE:5},r3={pay:"PAY",draw:"DRAW",transfer:"TRANSFER"},Vee="TUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFpQllad3JjU1YyRk91UHRsVzRROVlHN2RLRXBDamVYVWdLRFFEWHBOQWVveVV5NExyYS9OdDlaa1ZoZXZ6Q1BOSTh0d3pjNkJ3bDRmeGhZZC9TZzUyRUlTSXpyYVR1Q0FwWXVBM2V1dUU0RSs5U3B6Y01lWmhvSGo4WHBIT1ROeld5MzlYMXNjRUlRUEY4NFZqbjBpTzhzd0UybGVDMDBPalZCNkZTY3dHNWtRNFU2M1IxcndQbExIaHlySE9mUytrUTl3NnVINEtZN2VOdnRTWUxuZVpYMFhtWHFnaFkva0hzaW9VUWtPTkNad3ZFQkIvVHNIM1NyR1d1bTNwc0hYaUUzWFJhOE5DQW91eTk2dUdiUGdsempRRG8waXdBb0dWT0tLSGJGMWVDeVJMS2JTNzFuellyT2JtMTdzVVZONHQzaUMrNDdGWHphYSs2ejU1eUtidndJREFRQUI=";var S0={exports:{}},T0={exports:{}},n3;function jee(){return n3||(n3=1,function(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e={rotl:function(r,n){return r<<n|r>>>32-n},rotr:function(r,n){return r<<32-n|r>>>n},endian:function(r){if(r.constructor==Number)return e.rotl(r,8)&16711935|e.rotl(r,24)&4278255360;for(var n=0;n<r.length;n++)r[n]=e.endian(r[n]);return r},randomBytes:function(r){for(var n=[];r>0;r--)n.push(Math.floor(Math.random()*256));return n},bytesToWords:function(r){for(var n=[],i=0,s=0;i<r.length;i++,s+=8)n[s>>>5]|=r[i]<<24-s%32;return n},wordsToBytes:function(r){for(var n=[],i=0;i<r.length*32;i+=8)n.push(r[i>>>5]>>>24-i%32&255);return n},bytesToHex:function(r){for(var n=[],i=0;i<r.length;i++)n.push((r[i]>>>4).toString(16)),n.push((r[i]&15).toString(16));return n.join("")},hexToBytes:function(r){for(var n=[],i=0;i<r.length;i+=2)n.push(parseInt(r.substr(i,2),16));return n},bytesToBase64:function(r){for(var n=[],i=0;i<r.length;i+=3)for(var s=r[i]<<16|r[i+1]<<8|r[i+2],o=0;o<4;o++)i*8+o*6<=r.length*8?n.push(t.charAt(s>>>6*(3-o)&63)):n.push("=");return n.join("")},base64ToBytes:function(r){r=r.replace(/[^A-Z0-9+\/]/ig,"");for(var n=[],i=0,s=0;i<r.length;s=++i%4)s!=0&&n.push((t.indexOf(r.charAt(i-1))&Math.pow(2,-2*s+8)-1)<<s*2|t.indexOf(r.charAt(i))>>>6-s*2);return n}};T0.exports=e}()),T0.exports}var E0,i3;function s3(){if(i3)return E0;i3=1;var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var r=[],n=0;n<e.length;n++)r.push(e.charCodeAt(n)&255);return r},bytesToString:function(e){for(var r=[],n=0;n<e.length;n++)r.push(String.fromCharCode(e[n]));return r.join("")}}};return E0=t,E0}/*!
 * Determine if an object is a Buffer
 *
 * @author   Feross Aboukhadijeh <https://feross.org>
 * @license  MIT
 */var I0,o3;function Hee(){if(o3)return I0;o3=1,I0=function(r){return r!=null&&(t(r)||e(r)||!!r._isBuffer)};function t(r){return!!r.constructor&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}function e(r){return typeof r.readFloatLE=="function"&&typeof r.slice=="function"&&t(r.slice(0,0))}return I0}var a3;function qee(){return a3||(a3=1,function(){var t=jee(),e=s3().utf8,r=Hee(),n=s3().bin,i=function(s,o){s.constructor==String?o&&o.encoding==="binary"?s=n.stringToBytes(s):s=e.stringToBytes(s):r(s)?s=Array.prototype.slice.call(s,0):!Array.isArray(s)&&s.constructor!==Uint8Array&&(s=s.toString());for(var a=t.bytesToWords(s),l=s.length*8,c=1732584193,h=-271733879,f=-1732584194,d=271733878,p=0;p<a.length;p++)a[p]=(a[p]<<8|a[p]>>>24)&16711935|(a[p]<<24|a[p]>>>8)&4278255360;a[l>>>5]|=128<<l%32,a[(l+64>>>9<<4)+14]=l;for(var y=i._ff,m=i._gg,_=i._hh,A=i._ii,p=0;p<a.length;p+=16){var x=c,L=h,S=f,N=d;c=y(c,h,f,d,a[p+0],7,-680876936),d=y(d,c,h,f,a[p+1],12,-389564586),f=y(f,d,c,h,a[p+2],17,606105819),h=y(h,f,d,c,a[p+3],22,-1044525330),c=y(c,h,f,d,a[p+4],7,-176418897),d=y(d,c,h,f,a[p+5],12,1200080426),f=y(f,d,c,h,a[p+6],17,-1473231341),h=y(h,f,d,c,a[p+7],22,-45705983),c=y(c,h,f,d,a[p+8],7,1770035416),d=y(d,c,h,f,a[p+9],12,-1958414417),f=y(f,d,c,h,a[p+10],17,-42063),h=y(h,f,d,c,a[p+11],22,-1990404162),c=y(c,h,f,d,a[p+12],7,1804603682),d=y(d,c,h,f,a[p+13],12,-40341101),f=y(f,d,c,h,a[p+14],17,-1502002290),h=y(h,f,d,c,a[p+15],22,1236535329),c=m(c,h,f,d,a[p+1],5,-165796510),d=m(d,c,h,f,a[p+6],9,-1069501632),f=m(f,d,c,h,a[p+11],14,643717713),h=m(h,f,d,c,a[p+0],20,-373897302),c=m(c,h,f,d,a[p+5],5,-701558691),d=m(d,c,h,f,a[p+10],9,38016083),f=m(f,d,c,h,a[p+15],14,-660478335),h=m(h,f,d,c,a[p+4],20,-405537848),c=m(c,h,f,d,a[p+9],5,568446438),d=m(d,c,h,f,a[p+14],9,-1019803690),f=m(f,d,c,h,a[p+3],14,-187363961),h=m(h,f,d,c,a[p+8],20,1163531501),c=m(c,h,f,d,a[p+13],5,-1444681467),d=m(d,c,h,f,a[p+2],9,-51403784),f=m(f,d,c,h,a[p+7],14,1735328473),h=m(h,f,d,c,a[p+12],20,-1926607734),c=_(c,h,f,d,a[p+5],4,-378558),d=_(d,c,h,f,a[p+8],11,-2022574463),f=_(f,d,c,h,a[p+11],16,1839030562),h=_(h,f,d,c,a[p+14],23,-35309556),c=_(c,h,f,d,a[p+1],4,-1530992060),d=_(d,c,h,f,a[p+4],11,1272893353),f=_(f,d,c,h,a[p+7],16,-155497632),h=_(h,f,d,c,a[p+10],23,-1094730640),c=_(c,h,f,d,a[p+13],4,681279174),d=_(d,c,h,f,a[p+0],11,-358537222),f=_(f,d,c,h,a[p+3],16,-722521979),h=_(h,f,d,c,a[p+6],23,76029189),c=_(c,h,f,d,a[p+9],4,-640364487),d=_(d,c,h,f,a[p+12],11,-421815835),f=_(f,d,c,h,a[p+15],16,530742520),h=_(h,f,d,c,a[p+2],23,-995338651),c=A(c,h,f,d,a[p+0],6,-198630844),d=A(d,c,h,f,a[p+7],10,1126891415),f=A(f,d,c,h,a[p+14],15,-1416354905),h=A(h,f,d,c,a[p+5],21,-57434055),c=A(c,h,f,d,a[p+12],6,1700485571),d=A(d,c,h,f,a[p+3],10,-1894986606),f=A(f,d,c,h,a[p+10],15,-1051523),h=A(h,f,d,c,a[p+1],21,-2054922799),c=A(c,h,f,d,a[p+8],6,1873313359),d=A(d,c,h,f,a[p+15],10,-30611744),f=A(f,d,c,h,a[p+6],15,-1560198380),h=A(h,f,d,c,a[p+13],21,1309151649),c=A(c,h,f,d,a[p+4],6,-145523070),d=A(d,c,h,f,a[p+11],10,-1120210379),f=A(f,d,c,h,a[p+2],15,718787259),h=A(h,f,d,c,a[p+9],21,-343485551),c=c+x>>>0,h=h+L>>>0,f=f+S>>>0,d=d+N>>>0}return t.endian([c,h,f,d])};i._ff=function(s,o,a,l,c,h,f){var d=s+(o&a|~o&l)+(c>>>0)+f;return(d<<h|d>>>32-h)+o},i._gg=function(s,o,a,l,c,h,f){var d=s+(o&l|a&~l)+(c>>>0)+f;return(d<<h|d>>>32-h)+o},i._hh=function(s,o,a,l,c,h,f){var d=s+(o^a^l)+(c>>>0)+f;return(d<<h|d>>>32-h)+o},i._ii=function(s,o,a,l,c,h,f){var d=s+(a^(o|~l))+(c>>>0)+f;return(d<<h|d>>>32-h)+o},i._blocksize=16,i._digestsize=16,S0.exports=function(s,o){if(s==null)throw new Error("Illegal argument "+s);var a=t.wordsToBytes(i(s,o));return o&&o.asBytes?a:o&&o.asString?n.bytesToString(a):t.bytesToHex(a)}}()),S0.exports}const Kee=qee(),k0={PAY:"pay",TOP_UP:"topUp"};class b8{constructor(e){U(this,"applyType","");this.applyType=e.applyType}get API(){return this.applyType===k0.PAY?t3:this.applyType===k0.TOP_UP?Uee:t3}async getChannelInfo(e){try{const{amount:r,isBatch:n,business:i,payId:s,isDefault:o}=e,a=await this.API.getChannelInfo({amount:r,isBatch:n,business:i,payReqUnifiedID:s,isDefault:o}),{channels:l,canCombinedInfo:c,showNonePayFeeIcon:h,kfzAppPayChannel:f,hiddenChannels:d}=a.result;let p=JSON.parse(JSON.stringify(l))||[];if(!gr(c)&&!gr(c.canCombinedPayAccounts)){const y=p.findIndex(m=>m.disable);y>-1?p.splice(y,0,...c.canCombinedPayAccounts):p=p.concat(c.canCombinedPayAccounts)}return{channelList:p,hiddenChannels:d,canCombinedInfo:c,showNonePayFeeIcon:h,kfzAppPayChannel:f}}catch(r){console.log("paymentChannel getChannelInfo error ->",r),Promise.reject(r)}}setActionData(e,r={status:"",errCode:"",errMessage:"",result:{}}){return{action:e,status:r.status,errCode:r.errCode,errMessage:r.errMessage,data:r.result||{}}}getValidatorType(e){return{1:bt.OLD_PASS,2:bt.NUM_PASS,5:bt.VERIFY}[e]}getFullSignature(e){const{payReqUnifiedID:r,selChannelID:n,randomKey:i}=e,s=String(i).toLowerCase().split("").reverse().join(""),o="".concat(this.applyType===k0.PAY?"payReqUnifiedID":"fillReqUnifiedID","=").concat(r,"&selChannelID=").concat(n,"d4f2e9e8d7e3f8f9a4b7c6d3e2f1a5b4").concat(s);return Kee(o)}isDisabled(e){return!!(e.isFrozen||e.locked||e.disable)}setCountdown(e=0,r,n,i=1e3){let s=null;const o=Date.now()+e*1e3,a=()=>{if(s&&clearTimeout(s),e<=0){clearTimeout(s),s=null,typeof n=="function"&&n();return}typeof r=="function"&&r(e,s),s=setTimeout(()=>{e=Math.round((o-Date.now())/1e3),a()},i)};return{start:a,stop:()=>{s&&clearTimeout(s)}}}async payAuthCheckInit(e){try{const r=await this.API.payAuthCheckInit(e);if(r.status||r.errCode===nt.CHECK_TIME_OUT){const n=r.result.availAuthTypes[0];return n===pt.NONE_AUTH?this.setActionData(D.NEXT,r):n===pt.OLD_PASS?this.setActionData(D.SHOW_OLD_PASS,r):n===pt.NUM_PASS?this.setActionData(D.SHOW_NUM_PASS,r):n===pt.SMS_CODE?this.setActionData(D.SHOW_VERIFY_CODE,r):this.setActionData(D.NEXT,r)}else return r.errCode===nt.ACCOUNT_NOT_ACTIVE?this.setActionData(D.ACCOUNT_NOT_ACTIVE,r):this.setActionData(D.ERROR,r)}catch(r){return console.log("paymentChannel payAuthCheckInit error ->",r),Promise.reject(r)}}async payAuthCheck(e){try{const r={authType:e.authType,payAuthToken:e.payAuthToken,rsaEncryptData:kee(atob(Vee),e.value)};console.log("payAuthCheck",r);const n=await this.API.payAuthCheck(r);if(n.status){const i=n.result.nextAuthType;return i===pt.NONE_AUTH?this.setActionData(D.NEXT,n):i===pt.OLD_PASS?this.setActionData(D.SHOW_OLD_PASS,n):i===pt.NUM_PASS?this.setActionData(D.SHOW_NUM_PASS,n):i===pt.SMS_CODE?n.result.smsSendResult&&n.result.smsSendResult.sendStatus===!1?n.result.smsSendResult.sendRetCode===101?this.setActionData(D.NOT_BIND_PHONE,n):this.setActionData(D.SHOW_SMS_ERROR,n):this.setActionData(D.SHOW_VERIFY_CODE,n):this.setActionData(D.NEXT,n)}else return[nt.PAY_PASSWORD_ERROR,nt.SMS_CODE_ERROR,nt.SMS_CODE_CHECK_ERROR].includes(n.errCode)?this.setActionData(D.SHOW_INNER_ERROR,n):n.errCode===nt.PASSWORD_LOCKED?this.setActionData(D.PASSWORD_LOCKED,n):n.errCode===nt.NOT_BIND_PHONE?this.setActionData(D.NOT_BIND_PHONE,n):this.setActionData(D.ERROR,n)}catch(r){console.log("paymentChannel payAuthCheck error ->",r)}}parseStr(e){let r=document.createElement("div");r.innerHTML=e;const n=r.innerHTML;return r=null,n}async submitPay(e){try{const{result:r}=await this.API.getPayRandomKey(),{payId:n,paychannelSeqID:i,payAuthToken:s,payType:o}=e,a={payReqUnifiedID:n,selChannelID:i,sign:this.getFullSignature({payReqUnifiedID:n,selChannelID:i,randomKey:r})};s&&(a.payAuthToken=s);const l=await this.API.submitPay(a);if(l.status)if(o===Te.SCAN){const c={...l.result,payChannelData:JSON.parse(l.result.payChannelData||"{}")};return this.setActionData(D.SHOW_QRCODE,{...l,result:c})}else if(o===Te.THIRD){console.log("第三方支付获取结果",l);const c=JSON.parse(l.result.payChannelData||"{}"),{gateway:h,requestParams:f}=c,d=JSON.parse(f),p={...l.result,payChannelData:{gateway:decodeURIComponent(c.gateway),requestParams:d}};return this.setActionData(D.THIRD_PAY,{...l,result:p})}else return this.setActionData(D.PAY_SUBMIT_SUCCESS,l);else return(l.result||{}).popupVo?this.setActionData(D.SHOW_DIALOG,l):o===Te.SCAN?[nt.QR_CODE_REQUEST_FREQUENT,nt.QR_CODE_PAGE_TIME_OUT].includes(l.errCode)?this.setActionData(D.SHOW_INNER_ERROR,l):this.setActionData(D.ERROR,l):this.setActionData(D.ERROR,l)}catch(r){console.log("paymentChannel paySubmit error ->",r)}}sendDataByForm(e,r){const n=document.createElement("form");n.action=e,n.method="post",n.style.display="none";for(const i in r)if(r.hasOwnProperty(i)){const s=document.createElement("input");s.type="hidden",s.name=i,s.value=this.parseStr(r[i]),n.appendChild(s)}document.body.appendChild(n),n.submit(),setTimeout(()=>{document.body.removeChild(n)},100)}async getPayResult(e){try{const r=await this.API.getPayResult(e);return r.status?r.result.payResult==="paySuccess"?this.setActionData(D.PAY_SUCCESS,r):this.setActionData(D.NEXT,r):this.setActionData(D.ERROR,r)}catch(r){console.log("paymentChannel getPayResult error ->",r)}}async resendCode(e){try{const r=await this.API.sendCode(e);return r.status?this.setActionData(D.SHOW_VERIFY_CODE,r):r.result.sendStatus===!1?this.setActionData(D.SHOW_SMS_ERROR,r):this.setActionData(D.SHOW_INNER_ERROR,r)}catch(r){console.log("paymentChannel resendCode error ->",r)}}}const Qee={name:"payment-validator",props:{data:{type:Object,default:()=>({applyType:"",confirmText:"确认",errMsg:"",verifyData:{}})},sites:{type:Object,default:()=>({})}},data(){return{APPLY_TYPE:bt,btnActive:!1}},emits:["confirm","verifyCode:resend"],computed:{title(){return this.data.applyType===bt.OLD_PASS||this.data.applyType===bt.NUM_PASS?"支付密码":""}},methods:{async confirm(){const t=await this.$refs.validator.validate();t.validate&&this.$emit("confirm",{...t.data,applyType:this.data.applyType})},handleResend(t){this.$emit("verifyCode:resend",t)},handleFinish(t){t?this.btnActive=!0:this.btnActive=!1},clear(){this.$refs.validator.clear()}}},Wee={class:"validator-wrap"},Gee={key:0,class:"title"};function Zee(t,e,r,n,i,s){const o=se("k-password"),a=se("k-verify-code"),l=se("k-num-password"),c=se("k-button");return g(),v("div",Wee,[s.title?(g(),v("div",Gee,C(s.title)+"：",1)):b("",!0),r.data.applyType===i.APPLY_TYPE.OLD_PASS?(g(),ne(o,{key:1,ref:"validator",errMsg:r.data.errMsg,sites:r.sites,width:"252px",failNum:r.data.failNum,"onPassword:finish":s.handleFinish,"onPassword:enter":s.confirm},null,8,["errMsg","sites","failNum","onPassword:finish","onPassword:enter"])):b("",!0),r.data.applyType===i.APPLY_TYPE.VERIFY?(g(),ne(a,{key:2,ref:"validator",data:r.data.verifyData,errMsg:r.data.errMsg,width:"252px",failNum:r.data.failNum,"onVerifyCode:resend":s.handleResend,"onVerifyCode:finish":s.handleFinish,"onVerifyCode:enter":s.confirm},null,8,["data","errMsg","failNum","onVerifyCode:resend","onVerifyCode:finish","onVerifyCode:enter"])):b("",!0),r.data.applyType===i.APPLY_TYPE.NUM_PASS?(g(),ne(l,{key:3,ref:"validator",errMsg:r.data.errMsg,sites:r.sites,failNum:r.data.failNum,"onNumPassword:finish":s.handleFinish,"onNumPassword:enter":s.confirm},null,8,["errMsg","sites","failNum","onNumPassword:finish","onNumPassword:enter"])):b("",!0),B(c,{class:T(["pay-btn",{"pay-btn-gray":!i.btnActive}]),type:"fill",width:"252px",onClick:s.confirm},{default:F(()=>[V(C(r.data.confirmText||"确认"),1)]),_:1},8,["class","onClick"])])}const Yee=ye(Qee,[["render",Zee],["__scopeId","data-v-133cc0c6"]]),Si=60*10,Jee={name:"QRCode",props:{applyType:{type:String,default:"pay"},payId:{type:[String,Number]},codeType:{type:String,default:""},data:{type:Object,default:()=>({business:"shop",isBatch:0,keyForParamsInRedis:"",leftPayTime:0,payAmount:0,payDesc:"",payoutUserID:"",payreqSeqID:"",qrImgUrl:"",sitepayreqRefID:"",errMessage:"",errCode:""})},top:{type:Number,default:0},isOnlyKfzAppChannel:{type:Boolean,default:!1}},emits:["qrcode:refresh","qrcode:error"],created(){this.useCase=new b8({applyType:this.applyType}),this.data.qrImgUrl&&(sessionStorage.setItem("qrCodeUrl",this.data.qrImgUrl),this.stopTimerFn=this.loopGetResult()),window.addEventListener("beforeunload",this.beforeUnload)},beforeUnmount(){this.clearTimeout(),window.removeEventListener("beforeunload",this.beforeUnload)},data(){return{loopTime:Si,time:0,maskText:"",showMask:!1,isScan:!1,stopTimerFn:null,imgLoaded:!1,init:!0}},watch:{"data.errMessage":{handler(t){t?(setTimeout(()=>{this.clearTimeout()}),this.showMask=!0):this.showMask=!1},immediate:!0},"data.qrImgUrl"(t){t&&!this.init&&(sessionStorage.setItem("qrCodeUrl",this.data.qrImgUrl),this.resetData(),this.stopTimerFn=this.loopGetResult())}},computed:{qrImgUrl(){let t=this.data.qrImgUrl||sessionStorage.getItem("qrCodeUrl");return t||""},codeText(){return{weixin:"微信",ALIPAY:"支付宝",kfzApp:"孔网APP"}[this.codeType]},isKfzApp(){return this.codeType==="kfzApp"},hasError(){return!!this.data.errMessage}},methods:{onImgLoad(){this.$nextTick(()=>this.imgLoaded=!0)},beforeUnload(){sessionStorage.removeItem("qrCodeUrl")},async getPayResult(){try{const t=await this.useCase.getPayResult({payReqUnifiedID:this.payId,keyForParams:this.data.keyForParamsInRedis});if(t.action===D.PAY_SUCCESS)this.clearTimeout(),t.data.webReturnUrl&&(location.href=t.data.webReturnUrl);else if(t.action===D.NEXT){const{timeLeftForPcQrCode:e,isScannedForPc:r}=t.data;if(r){if(this.applyType==="pay"||this.codeType!=="kfzApp"){this.time=0,this.isScan=!0,this.maskText="已扫码，请勿重复支付",this.showMask=!0;return}}else this.isScan=!1,this.showMask=!1,this.maskText="";this.time=e,e<=0&&!this.isScan&&(this.applyType==="pay"||this.codeType!=="kfzApp")&&(this.clearTimeout(),this.loopTime=Si,this.time=0,this.maskText="支付码已过期",this.showMask=!0)}else t.action===D.ERROR&&(this.clearTimeout(),this.loopTime=Si,t.errCode===nt.PAY_RESULT_NOT_ALLOWED_OPERATE&&this.$emit("qrcode:error",{code:t.errCode,message:t.errMessage}))}catch(t){this.clearTimeout(),this.loopTime=Si}},loopGetResult(){const{start:t,stop:e}=this.useCase.setCountdown(this.loopTime,r=>{this.getPayResult()},r=>{this.time=0});return t(),e},clearTimeout(){typeof this.stopTimerFn=="function"&&this.stopTimerFn()},handleClick(){this.isScan||(this.init=!1,this.$emit("qrcode:refresh",this.codeType))},resetData(){this.clearTimeout(),this.time=-1,this.loopTime=Si,this.isScan=!1,this.maskText="",this.showMask=!1,this.imgLoaded=!1}}},pc=t=>(aa("data-v-3ba0dd10"),t=t(),la(),t),Xee={key:0,class:"title-wrap"},ete={key:0,class:"title"},tte={key:1,class:"title"},rte={key:0,class:"tip"},nte={key:0,class:"text"},ite=pc(()=>u("span",{class:"point"},null,-1)),ste={key:1,class:"text"},ote={key:2},ate={class:"countdown"},lte=["src"],cte={class:"loading-wrap"},ute=pc(()=>u("span",{class:"k-iconfont k-icon-jiazai loading-icon"},null,-1)),hte=pc(()=>u("span",{class:"loading-text"},"加载中",-1)),fte=[ute,hte],dte={class:"mask-content"},pte={key:0,class:"scan-icon k-iconfont k-icon-select_base1"},gte={class:"text"},vte={key:2,class:"code-tip"},yte={key:3,class:"code-tip"};function mte(t,e,r,n,i,s){const o=se("k-button");return g(),v("div",{class:"qr-code-wrap",style:ve({top:r.top+"px",position:r.isOnlyKfzAppChannel?"unset":"absolute"})},[r.isOnlyKfzAppChannel?b("",!0):(g(),v("div",Xee,[s.isKfzApp?(g(),v("p",ete," 使用孔网APP扫码"+C(r.applyType==="pay"?"付款":""),1)):(g(),v("p",tte,C(s.codeText)+"付款",1))])),u("div",{class:T(["code-content",{"only-kfz-app":r.isOnlyKfzAppChannel}])},[r.isOnlyKfzAppChannel?b("",!0):(g(),v("p",rte,[s.isKfzApp&&r.applyType==="pay"?(g(),v("span",nte,[V("更快捷 "),ite,V(" 更安全")])):b("",!0),s.isKfzApp&&r.applyType==="topUp"?(g(),v("span",ste,"更多支付方式供您选择")):b("",!0),!s.isKfzApp&&i.time>0?(g(),v("span",ote,[u("span",ate,C(i.time)+"秒",1),V("后过期，请尽快支付 ")])):b("",!0)])),le(u("img",{class:"qr-code",src:s.qrImgUrl,alt:"qr-code",onLoad:e[0]||(e[0]=(...a)=>s.onImgLoad&&s.onImgLoad(...a))},null,40,lte),[[fe,i.imgLoaded]]),le(u("div",cte,fte,512),[[fe,!i.imgLoaded]]),i.showMask?(g(),v("div",{key:1,class:"mask",onClick:e[1]||(e[1]=ue((...a)=>s.handleClick&&s.handleClick(...a),["stop"]))},[u("div",dte,[i.isScan?(g(),v("div",pte)):b("",!0),u("div",gte,C(s.hasError?r.data.errMessage:i.maskText),1),i.isScan?b("",!0):(g(),ne(o,{key:1,class:T(["refresh-btn"]),type:"fill",height:"32",onClick:ue(s.handleClick,["stop"])},{default:F(()=>[V("点击刷新")]),_:1},8,["onClick"]))])])):b("",!0),s.isKfzApp?(g(),v("div",vte,"未安装APP可扫码直接下载")):!s.isKfzApp&&!s.hasError?(g(),v("div",yte," 请使用"+C(s.codeText)+"扫描支付码 ",1)):b("",!0)],2)],4)}const bte=ye(Jee,[["render",mte],["__scopeId","data-v-3ba0dd10"]]),_te={ABC:"nongyeyinhang",ICBCB2C:"gongshangyinhang",CCB:"jiansheyinhang",POSTGC:"youzhengyinhang",BOCB2C:"zhongguoyinhang",CMB:"zhaoshangyinhang",SPDB:"pudongfazhanyinhang","CEB-DEBIT":"guangdayinhang","SPA-DEBIT":"pinganyinhang",CMBC:"zhongguominshengyinhang",CIB:"xingyeyinhang",SHBANK:"shanghaiyinhang",NBBANK:"ningboyinhang",HZCBB2C:"hangzhouyinhang",BJBANK:"beijingyinhang",SHRCB:"shanghainongshangyinhang","WZCBB2C-DEBIT":"wenzhouyinhang",BJRCB:"beijingnongshangyinhang"},wte=()=>{let t=!0;return e=>{try{return typeof e!="function"?Promise.reject("requestLock -> handler must be a function"):t?(t=!1,e().finally(()=>{t=!0})):Promise.reject("requestLock -> 请求中，请勿重复请求")}catch(r){return t=!0,Promise.reject("requestLock error ->".concat(r))}}},l3=wte(),Cte="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADYAAAA2CAYAAACMRWrdAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAqaSURBVHgB1Vp7bFvVGf/OuQ/72rWT2onbuHmjQsWmlhYQlGlaJCZgCAplSrYyBtPQpGpo/IGYpmmb6mmb9sdoNTpNYtJAWtt1azta2iEEHUwRk9oitNJ2G2opTfNyHo7tJn7b955z9p2bB03iJLaTtOQXOfLjnnu/737ne/4ugeUFaWtrU5LJJBkbG6PyC13XRSAQ4J2dnQw/ClgmEFhChNra1Cu67vvFUzv9vrrV/nQyU61Q7hagOAjnKlAiBHCGF80TTtOKyzGWiySiPzrwSuyWQiEe6uy0YImwaMWEEOTC/v211cJ5a+M9dwUhlfbz0VEjX8hxqgADQjgQlVM8kNsLOGFCUE0hxDK5qjlURa3yZcDljPd+eD48qFmX733yyQgs0poVKyYVGnrjjaa1Dc13gKIFeXxUv5ZJcgdVCjChQ6nAPamgKTWvy0mpr7YALD/QM9B3vnnbtm6oUEEVKsC+UCgAV/q2rvX6WtKDw6gjzYFGMw5CpcZQLhSpGwGWKZjA+noIoqnB7WsWn/ZePXbg0OknQj+MTBwqDVHSBcqyGAYC9R+hPXerSmFLNpnUcEtlcWdx3G1L6qt4o9DkQtEV7jSqfIWkqX60LfTCh51l+GDJAp3Zu9e7+fY7HlA1pSmTSqfL3W6VQCpIqFBcq9zuvMl6Lnx87uS9zz+fKGVtSYoNHz++JtCw/hEzMuzJFAoZhcINBcNb6DJ0l1Zbl0gN97zpefDByEJrFlQsevi9df4W/6OxwWFNJzS31NuuVEjrFVjB8NfXm7Gu6ImajvvD8x0/r5AptJQ72LR9dHAQo7M6WylFATQeE1SxOOdk0Yak6Ft4HgX9i8uYwti0n6Vy6AFOb13QTMUHjs5nOTLHd+Liq696brvzS+2x3qtuB6X52UchND0D6G4sGlvNbbnooisJzhiltavj6FhEWJYh88r1v9uWE5bT39iS/uD9k3+b8LlZ0bKoxWT0e2fXrx4j+UJDzsynpQ7TDkBLEUpzue7eBtYf3qHX1AQ4leYUi0yqeB0B1IzFhtXgur/qzfV9wuROO9NNU04IXdPcRNX6n/rD744dOXKEzT5XESQ6z241SPa+XDKVLPY7lkgMsime/9/Fn1Z951utWsM6LCgYLAUIlitmfxhGX/tzl/OLG36peL2Em+asfMuAg8fj9eSFccrVtuX0zN9nucXRF0MBj2JtTidTGWn2YhenOikURqJrlYaGOq2p3r49RFVtocDEVCN9o5wXriHyD8+B9SRojfWgNtYHLbyGRYRZTAbp3TLtGJq1+agsGGZg1p3YvvOZrdlPLumYPtLzRkBMy0TBOlDuPtxBbDgCqbf/ObFNFSgLmBJ5PgeuL98H+vpW+yuiUIbJn9h1CVhzLCMsOzbm3P7Ud7eKXbtOoESiqGLdhw+38J5wS4HRnLJAWKdYqYP4zGFTb70L2i3NYNy5CYUsQDkgmgZmbz+k3+0EbV0QiOEA+9yUzOuz8sYzQbK852rL5bPnmvGrq1BEMdLUumFTYnBAUOlDIErOVzyTBUDhpFLE7QYFX+XC8YUNkP/oP8CSCVCN2tIXYiBJZbLitpbmjfi2e9JqU4qd37evFhQaxJCdkzaGMkDQL3DrAM/lp5QS0tfsbVrKemqXF/JW2u/LhC2zSusvHDsm74id26YUk/2UbD1QmAxUgus2DU9lMLdFJ6ReWDOpjMAgIrC6h0rSvEzb0ZhWnbNuhQnF7LOEQiG18e7NwUQyuSSFrchmYTKolAQ63u4IZpW+ZgZGM2nRuOWu4OH2djty2YpdOXXKB5mMn6jUhKWAFK6c1/VrKoSiYIObSNYci8dr5GdbMTmj4IlrhjIzxa8gSNmt0bix+5nnfPKzrZgv4KvJ58xl76+WG6ZlMWfAO2Uxks/nvGjLFWutScjhEcvkq2AiBCmC8lXYq654i8lpGOrilrNMejsqiqEWh0srXzEm7BmfQw5oKRY/BPOxVHXZprI3Cppd3BJVTp3t4GH/Ezen5V9K8ImXBNXtppRaslyHFQ6G3bdKhVVVVcXpx1IjBfJAyIpXDAtWYilK3uPxCLkLOTGFnBPe4KHa0gPVwgE7TUkmx1ZMsh44RCmzO/z8AacTisPrGMO341ZKIJXj0LUVbzGpQ2rwWky+t5X58Z9+H6fVq7NsvA+vDNJDb6abEmx+qv1ZybXJj3Y/tt3ni4LLHcfstgaLkbJLK8Gx5eAcqMMxfg1dGx/MyFl4CdlRNqlyiAN4HuxdoBJYXOiwyj0kCUT52VasA+dyXdueGKhfG6zDuhHKBXUZdj+V+dcZcN65EfhYElgsPiH1wuvtmUf/AHbdDKjHC5XA63LTgQ/ODEyyolMddFI4Lmm+1RvzkQjMHC2XAs+2h+wpVfrt92xBpQWnzU8n+y1epHLj41Mh7+NfA+LQy+fYMFVRX3UhGu76ZPKrKcU2fnv7CPz7XJhYVpMgJAtlgnq94O14fEJwMttSk/43p9CkJOvOxPg8n+GW4T2bnn56ZEqez65LxKWuy+cNnJmzxeQ0OuEvM7pks6sXEodOALs2NkcnDRUB+TO6CmW+dPniebjOo6cpcFtHRzdtaryqK+AUCxTFnAt7eAslIt35PkR/vQdwLF7aAnluPv8IUMqITYkhZd6Asl//G51+LhD7X9l72vBUm5JJnPOMfOIf57TUEO959CFYsztkzx4XhOQmGMcCdu5OyqZzCVcllXvswGtydj/NELO23NMvvRTJMv2spEfZHCdWJIG0pnaw0N0/JCe4tvNb1rwvxe8H9/1tmEUd8x4nz2X29IHVFx5y1tQOqhbXiuvOSVWV15D89BOh0CyerOjtbscR1l++/4PHeZ4Vp5EwjxON5lCxBisc/qbq963FoSkTi6SRhPR0bAzNaDziaAweVBsb+jG6OmcTgEI4NYdbOPS+B3/+k+PFSPc5iT9Jpt/zla+2x3p6XHoxNlNqq5KsicQfj46tpoQsSaPKhSBqbU1cTpSFWXDNJP4kkD51VDc1ZUYu/fdQoKMjBaUSf5OwSXWkahPIP5Ni/PMyULW2UJypc1G1jHBn9dpaKxUbeb1cqnYaYq+/Ve9rCT4S6w3ruqJnbya5nkNyvTZYZ8b7hv7u//rD/fMdX5KQ4ug7AWitf8QcGvJmcoWsot7Y+Yj9OISuu7TAmmSkb/DNNY/dP7zQmpLv/giS7d7W9Q+oVGmWTKIk3W6E9WTH4fGscuH0qfvTrosnNzz7bLKUdWUJJh/beyG0524P0qPIJOoFJnKYyNhyPHIkKwoMT4a7qqqQxZD+8HI9cgTXRZ6jL/4msH3nN7bynt6WVCohhKrmFOn4bJHDZEVy2JID5k7DZRDa2nL1j7/dfeZ7L7+84NYrJmylIEjtNje1rt+EDXmQR0f0RC7HVSwLoVxyA0OuxZnudboo9flNjPPhHqxbm9rbu0mFaWQpthA5c/BgoA7U9Y13bFkHmazPSsQMU5IcGLBxP3GK81iQJZA9u8RCSOCsRdaCckaB7bzsfMFlxHvPnQ0PgnX5nh07ImSReXHJH529pCj+3Tue8znrkcHJpKvGH50Fh5w22xfEGaZ8dJZxkXa43GOJSDz6s8/jo7MLgCJBQCORyFTuNgxDyLnfcj/s/H/NwDMEPJBhHQAAAABJRU5ErkJggg==",Ate="https://static.kongfz.com/search-v3/assets/images/scan_tip-CljZTAUz.png",Mr=30,Ste={name:"KPaymentChannel",components:{Validator:Yee,QRCode:bte},props:{applyType:{type:String,default:"pay",validator:A0("applyType",t=>["pay","topUp"].includes(t))},payInfo:{type:Object,required:!0,validator:A0("payInfo",t=>["isBatch","amount","payId"].every(e=>!gr(t[e])))},sites:{type:Object,required:!0,validator:A0("sites",t=>!gr(t))},title:{type:String,default:"支付方式"},size:{type:String,default:"default"},width:{type:String,default:"100%"},returnUrl:{type:String,default:""}},emits:["channel:updatePayInfo","channel:error","channel:updateAmout","channel:finished"],data(){return{channel:"",channelList:[],curChannel:{},validateData:{},payAuthToken:"",payAuthType:"",QRCodeData:{},stopLongTimeFn:null,kfzAppPayChannel:{},showKfzAppQRCode:!1,latestCheckChannel:{},error:{title:"",desc:"",btnText:"",disabled:!1},qrcodeTop:Mr,index:0,bankIconMap:_te,selfChannelContinue:!1,payAutheckFinished:!0,thirdPayFinished:!0,CHANNEL_DISPLAY_STATE:Ae,isOnlyKfzAppChannel:!1,showHiddenChannels:!0,hiddenChannels:[],submitPayTime:0}},created(){gr(this.payInfo)||(this.useCase=new b8({applyType:this.applyType}),this.getChannelInfo())},computed:{hasLatestCheckChannel(){return!gr(this.latestCheckChannel)},isIpad(){return Qr.isIpad}},beforeUnmount(){this.clearLongTimeTimeout()},methods:{isDirectPayButtonChannel(t){return zee.includes(t)},getPayButtonText(t){return t==="ABC_KWWH_BUS"?"付款到孔网农行对公账户":this.isDirectPayButtonChannel(t)?"去支付":"确认支付"},isDisabled(t){return this.useCase.isDisabled(t)},async getChannelInfo(){var t;try{const{channelList:e,kfzAppPayChannel:r,canCombinedInfo:n,hiddenChannels:i}=await this.useCase.getChannelInfo({...this.payInfo,isDefault:Number(this.showHiddenChannels)});if(this.channelList=e,this.kfzAppPayChannel=r,this.hiddenChannels=i.map(s=>s.iconUrl),gr(n)||gr(n.canCombinedPayAccounts)||n.canCombinedPayAccounts.forEach(s=>{this.setChannelDisplayState(s,Ae.COMBINED)}),e.length){if(this.hasLatestCheckChannel){const s=e.find(o=>o.channel===this.latestCheckChannel.channel&&o.disable===!1);if(s){this.channel=s.channel,this.curChannel=s,this.curChannel.checked=!0;const o=this.getChannelDisplayState(this.latestCheckChannel);this.setChannelDisplayState(this.curChannel,o),o===Ae.BANKS&&((t=this.latestCheckChannel.payChannelInfoVos)==null||t.forEach(a=>{var l;(l=s.payChannelInfoVos)==null||l.forEach(c=>{c.channel===a.channel&&a.checked&&(c.checked=!0)})}))}else this.channel=e[0].channel,this.curChannel=e[0],this.curChannel.checked=!0}else{const s=e.find(o=>o.checked);s?(this.channel=s.channel,this.curChannel=s):(this.channel=this.channelList[0].channel,this.curChannel=this.channelList[0],this.curChannel.checked=!0)}this.isOnlyKfzAppChannel&&(this.showKfzAppQRCode=!1,this.isOnlyKfzAppChannel=!1),this.matchPayChannel()}else this.isOnlyKfzAppChannel=!0,this.curChannel={},this.QRCodeData={};(!this.hasLatestCheckChannel||this.applyType==="topUp")&&this.handleKfzAppQRCode(),this.curChannel&&(this.latestCheckChannel=this.curChannel)}catch(e){this.$emit("channel:error",{code:-1,message:"支付渠道获取失败"})}finally{this.$emit("channel:finished")}},async handleShowHiddenChannels(){this.showHiddenChannels=!1,this.hiddenChannels=[],this.getChannelInfo()},getChannelDisplayState(t){return t&&t.displayState?t.displayState:Ae.NONE},setChannelDisplayState(t,e){if(!t)return;if(!Object.values(Ae).includes(e)){console.warn("Invalid display state: ".concat(e));return}this.getChannelDisplayState(t)!==Ae.COMBINED&&(t.displayState=e)},matchPayChannel(){this.curChannel.pcPayType===Te.SCAN?this.startPay():this.curChannel.channel==="BANK"?this.setChannelDisplayState(this.curChannel,Ae.BANKS):this.isDirectPayButtonChannel(this.curChannel.channel)||this.applyType==="topUp"&&(this.curChannel.pcPayType===Te.SELF||this.curChannel.channel==="ABC_KWWH_BUS")?this.setChannelDisplayState(this.curChannel,Ae.PAY_BUTTON):!this.selfChannelContinue&&this.getChannelDisplayState(this.curChannel)!==Ae.COMBINED&&this.startPay()},handleChannelChange(t,e,r){this.clearLongTimeTimeout(),this.index=r,this.curChannel=e,this.resetAllChannelDisplayState(),e.pcPayType===Te.SCAN?(this.showKfzAppQRCode=!1,this.startPay()):e.channel==="BANK"?this.setChannelDisplayState(this.curChannel,Ae.BANKS):this.isDirectPayButtonChannel(e.channel)||this.applyType==="topUp"&&(e.pcPayType===Te.SELF||e.channel==="ABC_KWWH_BUS")?this.setChannelDisplayState(this.curChannel,Ae.PAY_BUTTON):e.pcPayType===Te.SELF&&this.getChannelDisplayState(this.curChannel)!==Ae.COMBINED&&this.startPay(),this.latestCheckChannel.pcPayType===Te.SCAN&&this.handleKfzAppQRCode(),this.latestCheckChannel=this.curChannel,this.isIpad&&this.$nextTick(()=>{this.$refs.channelItem[r].scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})})},resetAllChannelDisplayState(){this.channelList.forEach(t=>{var e;this.setChannelDisplayState(t,Ae.NONE),t.channel==="BANK"&&((e=t.payChannelInfoVos)==null||e.forEach(r=>{r.checked=!1}))})},async handleSelfPay(t){if(!t.data)return;const{availAuthTypes:e,confirmButtonText:r,payAuthToken:n,validTimes:i}=t.data;this.validateData={applyType:this.useCase.getValidatorType(e[0]),confirmText:r,errMsg:""},this.payAuthType=e[0],this.payAuthToken=n,this.setChannelDisplayState(this.curChannel,Ae.VALIDATOR),this.stopLongTimeFn=this.longTimeTimer(i)},async handleValidatorConfirm(t){var e,r;if(this.payAutheckFinished)try{let n="";t.applyType===bt.OLD_PASS||t.applyType===bt.NUM_PASS?n=t.password:t.applyType===bt.VERIFY&&(n=t.verifyCode),this.payAutheckFinished=!1;const i=await l3(()=>this.useCase.payAuthCheck({payAuthToken:this.payAuthToken,authType:this.payAuthType,value:n}));if(!i.data){Me.error("支付校验失败，请重试"),this.clearLongTimeTimeout(),this.payAutheckFinished=!0;return}this.payAuthToken=i.data.payAuthToken,this.payAuthType=i.data.nextAuthType,i.action===D.SHOW_INNER_ERROR?(this.payAuthType===pt.OLD_PASS||this.payAuthType===pt.NUM_PASS?this.validateData={...this.validateData,errMsg:i.errMessage,failNum:Date.now()}:this.payAuthType===pt.SMS_CODE&&(this.validateData={applyType:this.useCase.getValidatorType(i.data.nextAuthType),errMsg:i.errMessage,failNum:Date.now()}),this.payAutheckFinished=!0):i.action===D.SHOW_VERIFY_CODE?(this.validateData={applyType:this.useCase.getValidatorType(i.data.nextAuthType),verifyData:i.data.smsSendResult,errMsg:""},this.payAutheckFinished=!0):i.action===D.NEXT?(this.clearLongTimeTimeout(),this.handleSubmitPay({payAuthToken:this.payAuthToken})):i.action===D.PASSWORD_LOCKED?(this.clearLongTimeTimeout(),(this.$refs.validatorRef||[]).length&&this.$refs.validatorRef[0].clear(),Ue.confirm(i.errMessage,{width:"320px",okText:"找回密码",cancelText:"取消",headerBorder:!1}).then(()=>{window.open("".concat(this.sites.s_pay,"account/findPwd.html"))}).catch(()=>{}),this.payAutheckFinished=!0):i.action===D.NOT_BIND_PHONE?(this.clearLongTimeTimeout(),this.setChannelDisplayState(this.curChannel,Ae.ERROR),this.error={title:"尚未绑定手机号",desc:"为了保障您的资金安全，请先绑定手机号后继续。",btnText:"去绑定",onclick:()=>{window.location.href="".concat(this.sites.s_user,"person/bind_phone.html")},disabled:!1},this.payAutheckFinished=!0):i.action===D.SHOW_SMS_ERROR?(this.setChannelDisplayState(this.curChannel,Ae.ERROR),this.error={title:"短信验证码异常",desc:(r=(e=i.data)==null?void 0:e.smsSendResult)==null?void 0:r.sendRetMessage,btnText:"确认",disabled:!0},this.payAutheckFinished=!0):i.action===D.ERROR&&(Me.error(i.errMessage),i.errCode===nt.CHECK_PAY_AUTN_TOKEN_INVALID&&(this.payAuthToken=i.data.payAuthToken),this.payAutheckFinished=!0)}catch(n){this.payAutheckFinished=!0}},async handleResend(t){var e;try{const r=await this.useCase.resendCode({sceneType:r3[this.applyType]});r.action===D.SHOW_VERIFY_CODE?(this.validateData={applyType:bt.VERIFY,verifyData:r.data,errMsg:""},setTimeout(()=>t&&t())):r.action===D.SHOW_SMS_ERROR?(this.setChannelDisplayState(this.curChannel,Ae.ERROR),this.error={title:"短信验证码异常",desc:(e=r.data)==null?void 0:e.sendRetMessage,btnText:"确认",disabled:!0}):this.validateData={applyType:bt.VERIFY,verifyData:r.data,errMsg:r.errMessage}}catch(r){}},async handleScanCodePay(t,e){t.data&&(this.QRCodeData={codeType:e||this.curChannel.channel,...t.data,...t.data.payChannelData},this.QRCodeData.qrImgUrl&&(this.QRCodeData.qrImgUrl.includes("?")?this.QRCodeData.qrImgUrl="".concat(this.QRCodeData.qrImgUrl,"&t=").concat(Date.now()):this.QRCodeData.qrImgUrl="".concat(this.QRCodeData.qrImgUrl,"?t=").concat(Date.now())),e==="kfzApp"?this.showKfzAppQRCode=!0:this.setChannelDisplayState(this.curChannel,Ae.QRCODE),this.computedQRCodePosition())},handleKfzAppQRCode(){if(!this.kfzAppPayChannel||this.curChannel.pcPayType===Te.SCAN)return;const{paychannelSeqID:t,pcPayType:e,channel:r}=this.kfzAppPayChannel;this.startPay({paychannelSeqID:t,pcPayType:e,channel:r})},handleQRCodeRefresh(t){t==="kfzApp"?this.handleKfzAppQRCode():this.startPay()},computedQRCodePosition(){this.$nextTick(()=>{if(this.showKfzAppQRCode){this.qrcodeTop=Mr;return}const t=this.$refs.channelItem[this.index];if(!t)return;const e=t.offsetHeight,r=parseInt(window.getComputedStyle(this.$refs.channelItem[0]).marginBottom),n=(e+r)*this.index+Mr,i=this.$refs.channelItem.length*(e+r)-r,s=this.$refs.qrcode.$el.offsetHeight;let o=n-s/2+Mr;o<Mr&&(o=Mr),o>Math.abs(i-s)&&(o=i-s+Mr),this.qrcodeTop=o})},handleClickBank(t){this.thirdPayFinished&&(this.thirdPayFinished=!1,this.channelList.forEach(e=>{e.channel==="BANK"&&e.payChannelInfoVos.forEach(r=>{r.checked=!1})}),t.checked=!0,this.startPay({paychannelSeqID:t.paychannelSeqID}))},handleThirdPay(t){if(!t.data)return;const{gateway:e,requestParams:r}=t.data.payChannelData;this.useCase.sendDataByForm(e,r),setTimeout(()=>{this.thirdPayFinished=!0,this.channelList.forEach(n=>{var i;n.channel==="BANK"&&((i=n.payChannelInfoVos)==null||i.forEach(s=>{s.checked=!1}))})},1e3)},handlePay(){this.thirdPayFinished&&(this.thirdPayFinished=!1,this.applyType==="topUp"&&this.curChannel.pcPayType===Te.SELF?this.handleSubmitPay():this.startPay())},async startPay(t={}){const{paychannelSeqID:e,pcPayType:r,amount:n}=t;if(this.applyType==="pay"&&(r||this.curChannel.pcPayType!==Te.SELF))return this.handleSubmitPay(t);if(this.applyType==="topUp")return this.curChannel.pcPayType!==Te.SELF||this.kfzAppPayChannel?this.handleSubmitPay(t):void 0;try{const i=await this.useCase.payAuthCheckInit({sceneType:r3[this.applyType],amount:n||(this.curChannel.brokageInfo||{}).shouldPayAmount,selChannelID:e||this.curChannel.paychannelSeqID,business:this.payInfo.business});i.action===D.SHOW_OLD_PASS||i.action===D.SHOW_NUM_PASS?this.handleSelfPay(i):i.action===D.NEXT?this.handleSubmitPay(t):i.action===D.SHOW_DIALOG||(i.action===D.ACCOUNT_NOT_ACTIVE?Ue.confirm("为保障您资金安全，请设置支付密码后付款。","设置支付密码",{okText:"去设置",cancelText:"取消",headerBorder:!1,width:"320px"}).then(()=>{window.location.href="".concat(this.sites.s_pay,"openAccount.html")}).catch(()=>{}):i.action===D.ERROR&&Me.error(i.errMessage))}catch(i){}},async handleSubmitPay(t={}){const{payAuthToken:e,paychannelSeqID:r,pcPayType:n,channel:i}=t;try{const s={payId:this.payInfo.payId,paychannelSeqID:r||this.curChannel.paychannelSeqID,payType:n||this.curChannel.pcPayType};e&&(s.payAuthToken=e),(this.curChannel.pcPayType===Te.THIRD||this.curChannel.pcPayType===Te.SELF)&&(this.submitPayTime=Date.now());const o=await this.useCase.submitPay(s);o.action===D.SHOW_QRCODE?this.handleScanCodePay(o,i):o.action===D.SHOW_INNER_ERROR?this.curChannel.pcPayType===Te.SCAN&&(this.QRCodeData={codeType:i||this.curChannel.channel,errMessage:o.errMessage,errCode:o.errCode},this.setChannelDisplayState(this.curChannel,Ae.QRCODE),this.computedQRCodePosition()):o.action===D.PAY_SUBMIT_SUCCESS?this.curChannel.pcPayType===Te.SELF&&(this.clearLongTimeTimeout(),this.getPayResult()):o.action===D.THIRD_PAY?this.handleThirdPay(o):o.action===D.SHOW_DIALOG?(this.thirdPayFinished=!0,this.handleShowDialog(o.data.popupVo,async()=>{this.$emit("channel:updateAmout",o.data.payAmount);const a=2e3-(Date.now()-this.submitPayTime);setTimeout(async()=>{this.curChannel.pcPayType===Te.SELF&&(this.selfChannelContinue=!0),await l3(()=>this.getChannelInfo()),(this.curChannel.pcPayType===Te.THIRD||this.curChannel.pcPayType===Te.SELF)&&(this.handleSubmitPay(t),this.curChannel.pcPayType===Te.SELF&&(this.selfChannelContinue=!1))},a>0?a:0)})):o.action===D.ERROR&&(this.thirdPayFinished=!0,Me.error(o.errMessage),o.errCode===nt.SUBMIT_PAY_AUTN_TOKEN_INVALID&&this.startPay(t))}catch(s){this.thirdPayFinished=!0}finally{this.payAutheckFinished=!0}},handleShowDialog(t,e){const{buttons:r,text:n,title:i}=t;let s={},o={};r.forEach(a=>{a.buttonColor==="cred6"?(s.text=a.text,s.action=this._getBtnAction(a,e)):(o.text=a.text,o.action=this._getBtnAction(a,e))}),Ue[r.length>1?"confirm":"alert"](n,i||"",{okText:s.text||"",cancelText:o.text||"",width:"320px"}).then(()=>{s.action&&s.action()}).catch(()=>{o.action&&o.action()})},_getBtnAction(t,e){switch(t.actionType){case"back":return()=>{this.returnUrl?window.location.href=decodeURIComponent(this.returnUrl):history.back()};case"close":return()=>{this.$emit("channel:updatePayInfo")};case"refresh":return()=>{window.location.reload()};case"continue":return()=>{typeof e=="function"&&e()};case"goto":return()=>{window.location.href=t.pcUrl};case"success":return()=>{window.location.href="".concat(this.sites.s_pay,"views/payment/result?id=").concat(this.payInfo.payId)};default:return()=>{}}},longTimeTimer(t){const{start:e,stop:r}=this.useCase.setCountdown(t,n=>{this.clearLongTimeTimeout()},()=>{this.clearLongTimeTimeout(),Ue.alert("您在当前页面停留时间过长，为保障您的资金安全，请重新输入支付密码。",{okText:"我知道了",width:"320px"}).then(()=>{this.setChannelDisplayState(this.curChannel,Ae.VALIDATOR),this.error={title:"",desc:"",btnText:"",disabled:!1},this.startPay()})});return e(),r},clearLongTimeTimeout(){typeof this.stopLongTimeFn=="function"&&this.stopLongTimeFn()},async getPayResult(){try{const t=await this.useCase.getPayResult({payReqUnifiedID:this.payInfo.payId});t.action===D.PAY_SUCCESS?t.data.webReturnUrl&&(location.href=t.data.webReturnUrl):t.action===D.ERROR&&(Me.error(t.errMessage),t.errCode===nt.PAY_RESULT_NOT_ALLOWED_OPERATE&&this.$emit("channel:error",{code:t.errCode,message:t.errMessage}))}catch(t){}}}},oi=t=>(aa("data-v-c8a274bc"),t=t(),la(),t),Tte={key:0,class:"channel-left"},Ete={class:"channel-list",ref:"list"},Ite={class:"channel-info"},kte={class:"left"},xte=["src"],Lte={class:"channel-name"},Ote={class:"center"},Nte={key:0,class:"channel-desc"},Rte={key:1,class:"tags-wrap"},Dte={key:2,class:"channel-ad"},Bte={class:"right"},$te={key:0,class:"payment-amount"},Pte=oi(()=>u("span",{class:"payment-title"},"支付金额",-1)),Mte={class:"amount"},Fte=oi(()=>u("span",{class:"k_price_18_brand_primary_rmb"},"￥",-1)),Ute={class:"k_price_18_brand_primary"},zte=oi(()=>u("div",null,null,-1)),Vte={key:1,class:"ext-desc"},jte=["href"],Hte={key:1,class:"error"},qte={class:"error-content"},Kte=oi(()=>u("img",{src:Cte,alt:""},null,-1)),Qte={class:"error-text"},Wte={class:"error-title"},Gte={class:"error-desc"},Zte={key:2,class:"banks-list"},Yte=["onClick"],Jte={class:"bank-text"},Xte=["src"],ere=oi(()=>u("div",{class:"hidden-channel-text"},[V(" 更多支付方式 "),u("span",{class:"icon-arrow-down k-iconfont k-icon-xiajiantou"})],-1)),tre={key:1,class:"fee-tip",href:"https://help.kongfz.com/help-views/pc-help/detail?id=844",target:"_blank"},rre=oi(()=>u("span",{class:"k-iconfont k-icon-question-outline"},null,-1)),nre={key:0,class:"only-channel-tip"},ire={class:"k_tv_20_text_primary_medium"},sre={class:"t_tv_14_text_secondary"},ore={key:1,src:Ate,alt:""};function are(t,e,r,n,i,s){const o=se("k-tag"),a=se("Validator"),l=se("k-button"),c=N3,h=R3,f=se("QRCode");return i.channelList.length||i.isOnlyKfzAppChannel?(g(),v("div",{key:0,class:"channel-wrap",style:ve({width:r.width})},[i.channelList.length?(g(),v("div",Tte,[u("div",Ete,[B(h,{modelValue:i.channel,"onUpdate:modelValue":e[0]||(e[0]=d=>i.channel=d)},{default:F(()=>[(g(!0),v(P,null,oe(i.channelList,(d,p)=>(g(),v("div",{ref_for:!0,ref:"channelItem",class:T(["channel-item",{disabled:s.isDisabled(d)},{checked:d.channel===i.channel}]),key:p},[B(c,{label:d.channel,disabled:s.isDisabled(d),onChange:y=>s.handleChannelChange(y,d,p)},{default:F(()=>[u("div",Ite,[u("div",kte,[u("img",{class:"channel-icon",src:d.iconUrl,alt:""},null,8,xte),u("div",Lte,C(d.paychannelName),1)]),u("div",Ote,[d.describe?(g(),v("div",Nte,C(d.describe),1)):b("",!0),(d.topTags||[]).length?(g(),v("div",Rte,[(g(!0),v(P,null,oe(d.topTags,(y,m)=>(g(),ne(o,{class:"tag",key:m,type:y.style.replace("style_",""),effect:y.color,text:y.text},null,8,["type","effect","text"]))),128))])):b("",!0),d.ad?(g(),v("div",Dte,C(d.des),1)):b("",!0)]),u("div",Bte,[(d.brokageInfo||{}).shouldPayAmount&&d.channel===i.channel&&!s.isDisabled(d)&&s.getChannelDisplayState(d)!==i.CHANNEL_DISPLAY_STATE.COMBINED?(g(),v("div",$te,[Pte,u("span",Mte,[Fte,u("span",Ute,C(d.brokageInfo.shouldPayAmount),1)])])):b("",!0),zte,d.extDescribe?(g(),v("div",Vte,[V(C(d.extDescribe)+" ",1),d.locked&&!d.isFrozen?(g(),v("a",{key:0,class:"link-btn",href:"".concat(r.sites.s_pay,"account/findPwd.html"),target:"_blank"},"找回支付密码",8,jte)):b("",!0)])):b("",!0)])]),u("div",{class:T(["channel-item-bottom",{"show-banks":s.getChannelDisplayState(d)===i.CHANNEL_DISPLAY_STATE.BANKS,"show-validator":s.getChannelDisplayState(d)===i.CHANNEL_DISPLAY_STATE.VALIDATOR,"show-btn":s.getChannelDisplayState(d)===i.CHANNEL_DISPLAY_STATE.PAY_BUTTON,"show-error":s.getChannelDisplayState(d)===i.CHANNEL_DISPLAY_STATE.ERROR}]),style:ve({height:s.getChannelDisplayState(d)===i.CHANNEL_DISPLAY_STATE.BANKS?"".concat(Math.ceil(d.payChannelInfoVos.length/4)*55,"px"):""})},[s.getChannelDisplayState(d)===i.CHANNEL_DISPLAY_STATE.VALIDATOR?(g(),ne(a,{key:0,ref_for:!0,ref:"validatorRef",data:i.validateData,sites:r.sites,onConfirm:s.handleValidatorConfirm,"onVerifyCode:resend":s.handleResend},null,8,["data","sites","onConfirm","onVerifyCode:resend"])):b("",!0),s.getChannelDisplayState(d)===i.CHANNEL_DISPLAY_STATE.ERROR?(g(),v("div",Hte,[u("div",qte,[Kte,u("div",Qte,[u("p",Wte,C(i.error.title),1),u("p",Gte,C(i.error.desc),1)])]),B(l,{class:"operate-btn",width:"246px",disabled:i.error.disabled,onClick:i.error.onclick},{default:F(()=>[V(C(i.error.btnText),1)]),_:1},8,["disabled","onClick"])])):b("",!0),s.getChannelDisplayState(d)===i.CHANNEL_DISPLAY_STATE.BANKS?(g(),v("div",Zte,[(g(!0),v(P,null,oe(d.payChannelInfoVos,(y,m)=>(g(),v("div",{class:T(["bank",{checked:y.checked}]),key:m,onClick:_=>s.handleClickBank(y)},[u("span",{class:T(["bank-icon","bank-iconfont",i.bankIconMap[y.chCode]?"bank-icon-".concat(i.bankIconMap[y.chCode]):"",{"is-ipad":s.isIpad}])},null,2),u("span",Jte,C(y.paychannelName),1)],10,Yte))),128))])):b("",!0),s.getChannelDisplayState(d)===i.CHANNEL_DISPLAY_STATE.PAY_BUTTON?(g(),ne(l,{key:3,class:"pay-btn",type:"fill",width:"252px",onClick:s.handlePay},{default:F(()=>[V(C(s.getPayButtonText(d.channel)),1)]),_:2},1032,["onClick"])):b("",!0)],6)]),_:2},1032,["label","disabled","onChange"])],2))),128))]),_:1},8,["modelValue"])],512),i.hiddenChannels.length?(g(),v("div",{key:0,class:"hidden-channels",onClick:e[1]||(e[1]=(...d)=>s.handleShowHiddenChannels&&s.handleShowHiddenChannels(...d))},[(g(!0),v(P,null,oe(i.hiddenChannels,(d,p)=>(g(),v("div",{class:"hidden-channel-item",key:p},[u("img",{src:d,alt:""},null,8,Xte)]))),128)),ere])):b("",!0),i.channelList.length?(g(),v("a",tre,[rre,V("为什么有手续费?")])):b("",!0)])):b("",!0),i.isOnlyKfzAppChannel||i.channelList.length?(g(),v("div",{key:1,class:T(["channel-right",{"only-kfz-app":i.isOnlyKfzAppChannel}])},[i.isOnlyKfzAppChannel?(g(),v("div",nre,[u("p",ire,C(r.applyType==="pay"?"App扫码付款":"App扫码支付"),1),u("p",sre,C(r.applyType==="pay"?"请使用孔夫子旧书网App扫码下方二维码付款":"请使用孔夫子旧书网App扫描下方二维码"),1)])):b("",!0),u("div",{class:T(["qrcode-wrapper",{"only-app-wrapper":i.isOnlyKfzAppChannel}])},[s.getChannelDisplayState(i.curChannel)===i.CHANNEL_DISPLAY_STATE.QRCODE||i.showKfzAppQRCode?(g(),ne(f,{key:0,ref:"qrcode",top:i.qrcodeTop,applyType:r.applyType,payId:this.payInfo.payId,codeType:i.QRCodeData.codeType,data:i.QRCodeData,isOnlyKfzAppChannel:i.isOnlyKfzAppChannel,"onQrcode:refresh":s.handleQRCodeRefresh,"onQrcode:error":e[2]||(e[2]=d=>t.$emit("channel:error",d))},null,8,["top","applyType","payId","codeType","data","isOnlyKfzAppChannel","onQrcode:refresh"])):b("",!0),i.showKfzAppQRCode&&i.isOnlyKfzAppChannel?(g(),v("img",ore)):b("",!0)],2)],2)):b("",!0)],4)):b("",!0)}const lre=ye(Ste,[["render",are],["__scopeId","data-v-c8a274bc"]]);ze(lre);const cre={name:"KPassword",props:{errMsg:{type:String,default:""},sites:{type:Object,required:!0,default:{}},width:{type:String,default:"100%"},failNum:{type:Number,default:0}},emits:["password:finish","password:enter"],data(){return{form:{password:""},rules:{password:[{required:!0,message:"请输入支付密码",trigger:"blur"},{validator:(t,e,r)=>{(e.length<6||e.length>20)&&r(new Error("支付密码应为6-20位")),r()}}]}}},watch:{failNum(t){this.errMsg&&(this.$refs.password.validateState="error",this.$refs.password.validateMessage=this.errMsg,this.form.password="")},"form.password"(t){const e=t.trim();e.length>5&&e.length<21?this.$emit("password:finish",!0):this.$emit("password:finish",!1)}},mounted(){this.$refs.passwordInput&&(this.$refs.passwordInput.focus(),document.querySelector(".passwordInput .el-input__wrapper").classList.add("is-focus"))},methods:{handleFocus(){this.$refs.password.validateState="",this.$refs.password.validateMessage=""},async validate(){try{return{validate:await this.$refs.form.validate(),data:{password:this.form.password.trim()}}}catch(t){return{validate:!1,data:{}}}},handleEnter(){this.$emit("password:enter")},clear(){this.form.password="",this.$refs.form.resetFields()}}},ure={class:"payment-password"},hre=["href"];function fre(t,e,r,n,i,s){const o=Zr,a=ss,l=os;return g(),v("div",ure,[B(l,{ref:"form",model:i.form,rules:i.rules,onSubmit:e[1]||(e[1]=ue(()=>{},["prevent"]))},{default:F(()=>[B(a,{prop:"password",ref:"password"},{default:F(()=>[B(o,{ref:"passwordInput",class:"passwordInput",type:"password",style:ve({width:r.width}),modelValue:i.form.password,"onUpdate:modelValue":e[0]||(e[0]=c=>i.form.password=c),placeholder:"请输入支付密码",clearable:"","auto-complete":"new-password","validate-event":!1,size:"large",onFocus:s.handleFocus,onKeyup:Wt(s.handleEnter,["enter"])},null,8,["style","modelValue","onFocus","onKeyup"]),u("a",{class:"forget-password",href:"".concat(r.sites.s_pay,"account/findPwd.html"),target:"_blank"},"忘记密码？ ",8,hre)]),_:1},512)]),_:1},8,["model","rules"])])}const dre=ye(cre,[["render",fre],["__scopeId","data-v-a1e5280c"]]),pre={name:"KVerifyCode",props:{data:{type:Object,default:()=>({intervalTime:0,sendOkMsg:"",sendStatus:!0,sendRetMessage:""})},errMsg:{type:String,default:""},width:{type:String,default:"100%"},failNum:{type:Number,default:0}},emits:["verifyCode:resend","verifyCode:finish","verifyCode:enter"],data(){return{countdown:0,timer:null,initData:{},form:{code:""},rules:{code:[{required:!0,message:"请输入6位验证码",trigger:"blur"}]},autofocus:!1}},watch:{"data.sendStatus":{handler(t){t===!1&&(clearTimeout(this.timer),this.$nextTick(()=>{this.$refs.code.validateMessage=this.data.sendRetMessage,this.$refs.code.validateState="error"}))},immediate:!0},failNum:{handler(t){this.errMsg&&this.$nextTick(()=>{this.$refs.code.validateMessage=this.errMsg,this.$refs.code.validateState="error",this.form.code=""})},immediate:!0},"form.code":{handler(t){t.trim().length===6?this.$emit("verifyCode:finish",!0):this.$emit("verifyCode:finish",!1)},immediate:!0}},mounted(){this.init()},beforeUnmount(){clearTimeout(this.timer)},methods:{init(){this.initData=JSON.parse(JSON.stringify(this.data)),this.data.sendStatus&&this.setCountdown(),this.$refs.codeInput&&(this.$refs.codeInput.focus(),document.querySelector(".code-input .el-input__wrapper").classList.add("is-focus"))},setCountdown(){const{intervalTime:t}=this.data;this.countdown=t;const e=Date.now()+t*1e3,r=()=>{if(this.timer&&clearTimeout(this.timer),this.countdown<=0){clearTimeout(this.timer),this.countdown=0;return}this.timer=setTimeout(()=>{this.countdown=Math.round((e-Date.now())/1e3),r()},1e3)};r()},_isNumber(t){return/^\d{1}/.test(t)},handleInput(t){const e=t.trim();this._isNumber(e)||(this.form.code="")},handleFocus(){this.$refs.code.validateState="",this.$refs.code.validateMessage=""},handleResend(){this.form.code="",this.$emit("verifyCode:resend",()=>{this.init()})},async validate(){try{return{validate:await this.$refs.form.validate(),data:{verifyCode:this.form.code}}}catch(t){return{validate:!1,data:{}}}},handleEnter(){this.$emit("verifyCode:enter")},clear(){this.form.code="",this.$refs.form.resetFields()}}},gre={class:"verify-code-wrap"},vre={class:"send-ok-msg"},yre={class:"send-text"},mre=["href"],bre={key:0,class:"countdown"};function _re(t,e,r,n,i,s){const o=Zr,a=ss,l=os;return g(),v("div",gre,[u("div",vre,[u("p",yre,C(i.initData.sendOkMsg),1),i.initData.reBindMobileLink&&i.initData.sendOkMsg?(g(),v("a",{key:0,class:"tip-link",href:i.initData.reBindMobileLink.pcUrl},"修改",8,mre)):b("",!0)]),B(l,{ref:"form",onSubmit:e[2]||(e[2]=ue(()=>{},["prevent"])),model:i.form,rules:i.rules},{default:F(()=>[B(a,{ref:"code",prop:"code"},{default:F(()=>[B(o,{style:ve({width:r.width}),ref:"codeInput",class:"code-input",modelValue:i.form.code,"onUpdate:modelValue":e[1]||(e[1]=c=>i.form.code=c),maxlength:"6",placeholder:"请输入验证码","validate-event":!1,size:"large",onInput:s.handleInput,onFocus:s.handleFocus,onKeyup:Wt(s.handleEnter,["enter"])},{suffix:F(()=>[i.countdown>0?(g(),v("span",bre,C(i.countdown),1)):b("",!0),i.countdown===0?(g(),v("span",{key:1,class:"retry-btn",onClick:e[0]||(e[0]=(...c)=>s.handleResend&&s.handleResend(...c))},"重新获取")):b("",!0)]),_:1},8,["style","modelValue","onInput","onFocus","onKeyup"])]),_:1},512)]),_:1},8,["model","rules"])])}const wre=ye(pre,[["render",_re],["__scopeId","data-v-d79e25a4"]]),Cre={name:"KNumPassword",props:{errMsg:{type:String,default:""},sites:{type:Object,required:!0,default:{}},failNum:{type:Number,default:0}},emits:["numPassword:finish","numPassword:enter"],data(){return{codeArr:[]}},watch:{failNum:{handler(t){this.errMsg&&(this.$refs.code.validateMessage=this.errMsg,this.$refs.code.validateState="error",this.codeArr=[],this.setInputFocus(0))}},codeArr:{handler(t){t.filter(Boolean).length===6?this.$emit("numPassword:finish",!0):this.$emit("numPassword:finish",!1)},immediate:!0,deep:!0}},computed:{password(){return this.codeArr.join("")},isSafari(){return navigator.userAgent.indexOf("Safari")>-1},isIpad(){return Qr.isIpad}},mounted(){this.$refs.codeInput&&this.setInputFocus(0),document.addEventListener("paste",this.handlePaste)},beforeUnmount(){document.removeEventListener("paste",this.handlePaste)},methods:{_isNumber(t){return/^\d+$/.test(t)},setInputFocus(t){const e=document.querySelectorAll(".code-input .el-input__wrapper")||[];e[t]&&e[t].classList.add("is-focus"),setTimeout(()=>{this.$refs.codeInput[t].focus(),t===5&&this.$nextTick(()=>{e[t].classList.remove("is-focus")})},50)},handleInput(t,e){const r=t.trim();this._isNumber(r)||r===""?(this.codeArr[e]=r,this.$refs.codeInput[e+1]&&this._isNumber(r)&&this.setInputFocus(e+1)):this.codeArr[e]=""},handleChange(){this.$refs.code.validateMessage="",this.$refs.code.validateState=""},handleDelete(t,e){t.target.value===""&&this.$refs.codeInput[e-1]&&this.$refs.codeInput[e-1].focus()},async customValidate(){return this.password.length!==6?(this.$refs.code.validateMessage="请输入6位数字密码",this.$refs.code.validateState="error",!1):(this.$refs.code.validateMessage="",this.$refs.code.validateState="",!0)},async validate(){try{return{validate:await this.customValidate(),data:{password:this.password}}}catch(t){return{validate:!1,data:{}}}},handleEnter(){this.$emit("numPassword:enter")},clear(){this.codeArr=[],this.$refs.form.resetFields()},handlePaste(t){const e=t.clipboardData.getData("text");if(this._isNumber(e)){this.codeArr=e.split("");const r=this.$refs.codeInput[e.length]?e.length:5;this.setInputFocus(r)}else this.$nextTick(()=>{this.codeArr=[],this.$refs.form.resetFields()})}}},Are={class:"num-password-wrap"},Sre=["href"];function Tre(t,e,r,n,i,s){const o=Zr,a=ss,l=os;return g(),v("div",Are,[B(l,{ref:"form",onSubmit:e[0]||(e[0]=ue(()=>{},["prevent"]))},{default:F(()=>[B(a,{ref:"code",prop:"code"},{default:F(()=>[(g(),v(P,null,oe(6,(c,h)=>B(o,{ref_for:!0,ref:"codeInput",class:T(["code-input",{"is-safari":s.isSafari},{"is-ipad":s.isIpad}]),type:"password",key:h,modelValue:i.codeArr[h],"onUpdate:modelValue":f=>i.codeArr[h]=f,maxlength:"1",onInput:f=>s.handleInput(f,h),onChange:s.handleChange,onKeydown:Wt(f=>s.handleDelete(f,h),["delete"]),onKeyup:Wt(s.handleEnter,["enter"])},null,8,["class","modelValue","onUpdate:modelValue","onInput","onChange","onKeydown","onKeyup"])),64)),u("a",{class:"forget-password",href:"".concat(r.sites.s_pay,"account/findPwd.html"),target:"_blank"},"忘记密码？ ",8,Sre)]),_:1},512)]),_:1},512)])}const Ere=ye(Cre,[["render",Tre],["__scopeId","data-v-f06cc26f"]]),Ire={name:"KAmount",props:{modelValue:{type:String,default:""},minAmount:{type:[String,Number],default:""},maxAmount:{type:[String,Number],default:""},amountDesc:{type:String,default:"金额"}},data(){return{form:{amount:""},displayAmount:"",rules:{amount:[{required:!0,message:"请输入".concat(this.amountDesc),trigger:"blur"},{validator:(t,e,r)=>{this.maxAmount&&parseFloat(e)>parseFloat(this.maxAmount)?(r(new Error("".concat(this.amountDesc,"不能超过 ").concat(this.maxAmount,"元"))),this.$emit("amount:error",!0)):this.minAmount&&parseFloat(e)<parseFloat(this.minAmount)?(r(new Error("".concat(this.amountDesc,"不能低于 ").concat(this.minAmount,"元"))),this.$emit("amount:error",!0)):(r(),this.$emit("amount:error",!1))}}]}}},emits:["update:modelValue","amount:error"],watch:{modelValue:{handler(t){this.form.amount=t,this.displayAmount=this.formatThousands(t)},immediate:!0},"form.amount"(t){this.$emit("update:modelValue",t)}},methods:{formatThousands(t){if(!t)return"";const r=String(t).split(".");return r[0]=r[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),r.join(".")},removeThousands(t){return t?String(t).replace(/,/g,""):""},handleInput(t){if(t==null){this.form.amount="",this.displayAmount="";return}let e=this.removeThousands(String(t)).replace(/[^\d.]/g,"");const r=e.split(".");if(r.length>2&&(e=r[0]+"."+r.slice(1).join("")),e.includes(".")){const[n,i]=e.split(".");i&&i.length>2&&(e=n+"."+i.substring(0,2))}this.form.amount!==e&&(this.form.amount=e),this.displayAmount=this.formatThousands(e)},async validate(){try{return{validate:await this.$refs.form.validate(),data:{amount:this.form.amount.trim()}}}catch(t){return{validate:!1,data:{}}}},setInputFocus(){this.$refs.inputRef.focus()}}};function kre(t,e,r,n,i,s){const o=Zr,a=ss,l=os;return g(),v("div",null,[B(l,{model:i.form,rules:i.rules,ref:"form",onSubmit:e[1]||(e[1]=ue(()=>{},["prevent"]))},{default:F(()=>[B(a,{prop:"amount"},{default:F(()=>[B(o,zr({ref:"inputRef",modelValue:i.displayAmount,"onUpdate:modelValue":e[0]||(e[0]=c=>i.displayAmount=c)},t.$attrs,{onInput:s.handleInput}),k3({_:2},[oe(t.$slots,(c,h)=>({name:h,fn:F(f=>[ge(t.$slots,h,R8(D8(f||{})))])}))]),1040,["modelValue","onInput"])]),_:3})]),_:3},8,["model","rules"])])}const xre=ye(Ire,[["render",kre]]),Lre=ze(dre),Ore=ze(wre),Nre=ze(Ere);ze(xre);const Rre="https://static.kongfz.com/search-v3/assets/images/empty_02-D7H0Yi51.png",Dre={name:"KSelectAddressPopover",emits:["change","show","hide"],props:{addressList:{type:Array,default:()=>[]},theme:{type:String,default:"primary"},addressId:{type:[Number,String]},trigger:{type:String,default:"click"},placement:{type:String,default:"bottom-end"},width:{type:String,default:"400"},site:{type:Object,default:{}}},data(){return{currentAddressId:"",searchText:""}},computed:{filteredAddressList(){if(!this.searchText)return this.addressList;const t=this.searchText.toLowerCase();return this.addressList.filter(e=>{const r=e.areaInfo||{};return"".concat(e.receiverName||""," ").concat(e.mobile||e.phoneNum||""," ").concat(r.provName||"").concat(r.cityName||"").concat(r.areaName||""," ").concat(e.address||"").toLowerCase().includes(t)})}},watch:{addressId:{handler(t){this.currentAddressId=t},immediate:!0}},methods:{isSelected(t){return t.addrId==this.currentAddressId},selectAddress(t){this.currentAddressId=t.addrId,this.$emit("change",t),document.activeElement instanceof HTMLElement&&document.activeElement.blur(),this.$refs.popover.hide()},closePopover(){document.activeElement instanceof HTMLElement&&document.activeElement.blur(),this.$refs.popover.hide()},handleManage(){window.open("".concat(this.site.s_user,"buyer/receive_address.html"),"_blank"),this.closePopover()},scrollToSelected(){this.$nextTick(()=>{const t=this.filteredAddressList.findIndex(e=>this.isSelected(e));if(t>-1&&this.$refs.items&&this.$refs.items[t]){const e=this.$refs.items[t],r=this.$refs.contentWrap,n=e.offsetTop,i=n+e.offsetHeight,s=r.scrollTop,o=s+r.offsetHeight;n<s?r.scrollTop=n:i>o&&(r.scrollTop=i-r.offsetHeight)}})},onHide(){this.$emit("hide"),this.searchText=""},onShow(){this.$emit("show"),this.scrollToSelected()}}},Bre={class:"address-header"},$re=u("span",{class:"title"},"我的地址",-1),Pre={class:"header-right"},Mre={class:"address-list"},Fre={class:"select-content-wrap",ref:"contentWrap"},Ure=["onClick"],zre={class:"address-info"},Vre={class:"info-row"},jre={key:0,class:"default-tag"},Hre={class:"name"},qre={class:"mobile"},Kre={class:"area"},Qre={class:"info-row detail-row"},Wre={class:"detail"},Gre={key:0,class:"k-iconfont k-icon-gou check-icon"},Zre={key:0,class:"empty-list"},Yre=u("p",null,[u("img",{src:Rre,alt:""})],-1);function Jre(t,e,r,n,i,s){const o=Zr,a=V8;return g(),ne(a,{"popper-class":"select-addr-popover",trigger:r.trigger,placement:r.placement,width:r.width,ref:"popover",onShow:s.onShow,onHide:s.onHide},{reference:F(()=>[ge(t.$slots,"reference")]),default:F(()=>[u("div",{class:T(["address-list-wrap","address-list-wrap-".concat(r.theme)])},[u("div",Bre,[$re,u("div",Pre,[B(o,{modelValue:i.searchText,"onUpdate:modelValue":e[0]||(e[0]=l=>i.searchText=l),placeholder:"搜索地址",size:"small",class:"search-input",clearable:""},null,8,["modelValue"]),u("span",{class:"manage-btn",onClick:e[1]||(e[1]=(...l)=>s.handleManage&&s.handleManage(...l))},"管理地址"),u("i",{class:"k-iconfont k-icon-guanbi close-btn",onClick:e[2]||(e[2]=(...l)=>s.closePopover&&s.closePopover(...l))})])]),u("div",Mre,[u("div",Fre,[(g(!0),v(P,null,oe(s.filteredAddressList,(l,c)=>(g(),v("div",{key:l.addrId,class:T(["content",[s.isSelected(l)?"active":""]]),onClick:h=>s.selectAddress(l),ref_for:!0,ref:"items"},[u("div",zre,[u("div",Vre,[l.isDefault==1?(g(),v("span",jre,"默认")):b("",!0),u("span",Hre,C(l.receiverName),1),u("span",qre,C(l.mobile||l.phoneNum),1),u("span",Kre,C(l.areaInfo.provName)+" "+C(l.areaInfo.cityName)+" "+C(l.areaInfo.areaName),1)]),u("div",Qre,[u("span",Wre,C(l.address),1)])]),s.isSelected(l)?(g(),v("i",Gre)):b("",!0)],10,Ure))),128)),s.filteredAddressList.length===0?(g(),v("div",Zre,[Yre,u("p",null,C(r.addressList.length===0?"暂无地址":"暂无相关地址"),1),u("button",{class:"add-btn",onClick:e[3]||(e[3]=(...l)=>s.handleManage&&s.handleManage(...l))}," 添加新地址 ")])):b("",!0)],512)])],2)]),_:3},8,["trigger","placement","width","onShow","onHide"])}const Xre=ye(Dre,[["render",Jre]]),_ie=ze(Xre),c3=B3(),ene=t=>{const e=Z.create({timeout:1e4,...t});return e.interceptors.request.use(r=>(r.method==="get"&&(r.params={...r.params,_t:Date.now()}),r)),e.interceptors.response.use(r=>{if(r.status===200){const{status:n,errMessage:i,message:s,errCode:o}=r.data;if(!n){if(o&&Number(o)===100)return sessionStorage.__isJumpToLogin==="true"||(sessionStorage.__isJumpToLogin=!0,c3&&window.location.replace("".concat(c3.s_login,"?mustLogin=1&returnUrl=").concat(encodeURIComponent(window.location.href))),sessionStorage.__isJumpToLogin=!1),Promise.reject();if(r.config.isBypassInterceptor)return r.data;{const a=i||s||"Error: Request failed";return Me.error(a),Promise.reject(a)}}return r.config.isBypassInterceptor,r.data}return r},r=>{const n=r.toString();return n.includes("canceled")||Me.error("网络异常，请稍后再试"),Promise.reject(n)}),e},gc=ene({baseURL:"/pc-gw/pay-web/pc"}),tne=t=>gc.post("/payAuth/payAuthCheckInit",null,{params:t,isBypassInterceptor:!0}),rne=t=>gc.post("/payAuth/payAuthCheck",null,{params:t,isBypassInterceptor:!0}),nne=t=>gc.post("/payAuth/sendAuthSmsCode",null,{params:t,isBypassInterceptor:!0}),hr={QR_CODE_REQUEST_FREQUENT:"325",QR_CODE_PAGE_TIME_OUT:"19",CHECK_TIME_OUT:"212",ACCOUNT_NOT_ACTIVE:"200",PASSWORD_LOCKED:"204",NOT_BIND_PHONE:"101",CHECK_PAY_AUTN_TOKEN_INVALID:"206",SUBMIT_PAY_AUTN_TOKEN_INVALID:"316",PAY_PASSWORD_ERROR:"205",SMS_CODE_ERROR:"208",SMS_CODE_CHECK_ERROR:"209",NOT_CURRENT_USER:"320",PAY_RESULT_NOT_ALLOWED_OPERATE:"107"},xt={OLD_PASS:"oldPass",VERIFY:"verify",NUM_PASS:"num"},te={NEXT:"next",SHOW_OLD_PASS:"showOldPass",SHOW_NUM_PASS:"showNumPass",SHOW_VERIFY_CODE:"showVerifyCode",SHOW_DIALOG:"showDialog",ERROR:"error",SHOW_INNER_ERROR:"showInnerError",SHOW_QRCODE:"showQrcode",THIRD_PAY:"thirdPay",PAY_SUBMIT_SUCCESS:"paySubmitSuccess",PAY_SUCCESS:"paySuccess",ACCOUNT_NOT_ACTIVE:"accountNotActive",NOT_BIND_PHONE:"notBindPhone",PASSWORD_LOCKED:"passwordLocked",SHOW_SMS_ERROR:"showSmsError"},gt={NONE_AUTH:0,OLD_PASS:1,NUM_PASS:2,SMS_CODE:5},ine="TUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFpQllad3JjU1YyRk91UHRsVzRROVlHN2RLRXBDamVYVWdLRFFEWHBOQWVveVV5NExyYS9OdDlaa1ZoZXZ6Q1BOSTh0d3pjNkJ3bDRmeGhZZC9TZzUyRUlTSXpyYVR1Q0FwWXVBM2V1dUU0RSs5U3B6Y01lWmhvSGo4WHBIT1ROeld5MzlYMXNjRUlRUEY4NFZqbjBpTzhzd0UybGVDMDBPalZCNkZTY3dHNWtRNFU2M1IxcndQbExIaHlySE9mUytrUTl3NnVINEtZN2VOdnRTWUxuZVpYMFhtWHFnaFkva0hzaW9VUWtPTkNad3ZFQkIvVHNIM1NyR1d1bTNwc0hYaUUzWFJhOE5DQW91eTk2dUdiUGdsempRRG8waXdBb0dWT0tLSGJGMWVDeVJMS2JTNzFuellyT2JtMTdzVVZONHQzaUMrNDdGWHphYSs2ejU1eUtidndJREFRQUI=";var sne="0123456789abcdefghijklmnopqrstuvwxyz";function Qt(t){return sne.charAt(t)}function one(t,e){return t&e}function po(t,e){return t|e}function u3(t,e){return t^e}function h3(t,e){return t&~e}function ane(t){if(t==0)return-1;var e=0;return t&65535||(t>>=16,e+=16),t&255||(t>>=8,e+=8),t&15||(t>>=4,e+=4),t&3||(t>>=2,e+=2),t&1||++e,e}function lne(t){for(var e=0;t!=0;)t&=t-1,++e;return e}var Cn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",_8="=";function Gi(t){var e,r,n="";for(e=0;e+3<=t.length;e+=3)r=parseInt(t.substring(e,e+3),16),n+=Cn.charAt(r>>6)+Cn.charAt(r&63);for(e+1==t.length?(r=parseInt(t.substring(e,e+1),16),n+=Cn.charAt(r<<2)):e+2==t.length&&(r=parseInt(t.substring(e,e+2),16),n+=Cn.charAt(r>>2)+Cn.charAt((r&3)<<4));(n.length&3)>0;)n+=_8;return n}function f3(t){var e="",r,n=0,i=0;for(r=0;r<t.length&&t.charAt(r)!=_8;++r){var s=Cn.indexOf(t.charAt(r));s<0||(n==0?(e+=Qt(s>>2),i=s&3,n=1):n==1?(e+=Qt(i<<2|s>>4),i=s&15,n=2):n==2?(e+=Qt(i),e+=Qt(s>>2),i=s&3,n=3):(e+=Qt(i<<2|s>>4),e+=Qt(s&15),n=0))}return n==1&&(e+=Qt(i<<2)),e}var gn,cne={decode:function(t){var e;if(gn===void 0){var r="0123456789ABCDEF",n=" \f\n\r	 \u2028\u2029";for(gn={},e=0;e<16;++e)gn[r.charAt(e)]=e;for(r=r.toLowerCase(),e=10;e<16;++e)gn[r.charAt(e)]=e;for(e=0;e<n.length;++e)gn[n.charAt(e)]=-1}var i=[],s=0,o=0;for(e=0;e<t.length;++e){var a=t.charAt(e);if(a=="=")break;if(a=gn[a],a!=-1){if(a===void 0)throw new Error("Illegal character at offset "+e);s|=a,++o>=2?(i[i.length]=s,s=0,o=0):s<<=4}}if(o)throw new Error("Hex encoding incomplete: 4 bits missing");return i}},Fr,P2={decode:function(t){var e;if(Fr===void 0){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n="= \f\n\r	 \u2028\u2029";for(Fr=Object.create(null),e=0;e<64;++e)Fr[r.charAt(e)]=e;for(Fr["-"]=62,Fr._=63,e=0;e<n.length;++e)Fr[n.charAt(e)]=-1}var i=[],s=0,o=0;for(e=0;e<t.length;++e){var a=t.charAt(e);if(a=="=")break;if(a=Fr[a],a!=-1){if(a===void 0)throw new Error("Illegal character at offset "+e);s|=a,++o>=4?(i[i.length]=s>>16,i[i.length]=s>>8&255,i[i.length]=s&255,s=0,o=0):s<<=6}}switch(o){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:i[i.length]=s>>10;break;case 3:i[i.length]=s>>16,i[i.length]=s>>8&255;break}return i},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(t){var e=P2.re.exec(t);if(e)if(e[1])t=e[1];else if(e[2])t=e[2];else throw new Error("RegExp out of sync");return P2.decode(t)}},vn=1e13,Li=function(){function t(e){this.buf=[+e||0]}return t.prototype.mulAdd=function(e,r){var n=this.buf,i=n.length,s,o;for(s=0;s<i;++s)o=n[s]*e+r,o<vn?r=0:(r=0|o/vn,o-=r*vn),n[s]=o;r>0&&(n[s]=r)},t.prototype.sub=function(e){var r=this.buf,n=r.length,i,s;for(i=0;i<n;++i)s=r[i]-e,s<0?(s+=vn,e=1):e=0,r[i]=s;for(;r[r.length-1]===0;)r.pop()},t.prototype.toString=function(e){if((e||10)!=10)throw new Error("only base 10 is supported");for(var r=this.buf,n=r[r.length-1].toString(),i=r.length-2;i>=0;--i)n+=(vn+r[i]).toString().substring(1);return n},t.prototype.valueOf=function(){for(var e=this.buf,r=0,n=e.length-1;n>=0;--n)r=r*vn+e[n];return r},t.prototype.simplify=function(){var e=this.buf;return e.length==1?e[0]:this},t}(),w8="…",une=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,hne=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function Bn(t,e){return t.length>e&&(t=t.substring(0,e)+w8),t}var x0=function(){function t(e,r){this.hexDigits="0123456789ABCDEF",e instanceof t?(this.enc=e.enc,this.pos=e.pos):(this.enc=e,this.pos=r)}return t.prototype.get=function(e){if(e===void 0&&(e=this.pos++),e>=this.enc.length)throw new Error("Requesting byte offset ".concat(e," on a stream of length ").concat(this.enc.length));return typeof this.enc=="string"?this.enc.charCodeAt(e):this.enc[e]},t.prototype.hexByte=function(e){return this.hexDigits.charAt(e>>4&15)+this.hexDigits.charAt(e&15)},t.prototype.hexDump=function(e,r,n){for(var i="",s=e;s<r;++s)if(i+=this.hexByte(this.get(s)),n!==!0)switch(s&15){case 7:i+="  ";break;case 15:i+="\n";break;default:i+=" "}return i},t.prototype.isASCII=function(e,r){for(var n=e;n<r;++n){var i=this.get(n);if(i<32||i>176)return!1}return!0},t.prototype.parseStringISO=function(e,r){for(var n="",i=e;i<r;++i)n+=String.fromCharCode(this.get(i));return n},t.prototype.parseStringUTF=function(e,r){for(var n="",i=e;i<r;){var s=this.get(i++);s<128?n+=String.fromCharCode(s):s>191&&s<224?n+=String.fromCharCode((s&31)<<6|this.get(i++)&63):n+=String.fromCharCode((s&15)<<12|(this.get(i++)&63)<<6|this.get(i++)&63)}return n},t.prototype.parseStringBMP=function(e,r){for(var n="",i,s,o=e;o<r;)i=this.get(o++),s=this.get(o++),n+=String.fromCharCode(i<<8|s);return n},t.prototype.parseTime=function(e,r,n){var i=this.parseStringISO(e,r),s=(n?une:hne).exec(i);return s?(n&&(s[1]=+s[1],s[1]+=+s[1]<70?2e3:1900),i=s[1]+"-"+s[2]+"-"+s[3]+" "+s[4],s[5]&&(i+=":"+s[5],s[6]&&(i+=":"+s[6],s[7]&&(i+="."+s[7]))),s[8]&&(i+=" UTC",s[8]!="Z"&&(i+=s[8],s[9]&&(i+=":"+s[9]))),i):"Unrecognized time: "+i},t.prototype.parseInteger=function(e,r){for(var n=this.get(e),i=n>127,s=i?255:0,o,a="";n==s&&++e<r;)n=this.get(e);if(o=r-e,o===0)return i?-1:0;if(o>4){for(a=n,o<<=3;!((+a^s)&128);)a=+a<<1,--o;a="("+o+" bit)\n"}i&&(n=n-256);for(var l=new Li(n),c=e+1;c<r;++c)l.mulAdd(256,this.get(c));return a+l.toString()},t.prototype.parseBitString=function(e,r,n){for(var i=this.get(e),s=(r-e-1<<3)-i,o="("+s+" bit)\n",a="",l=e+1;l<r;++l){for(var c=this.get(l),h=l==r-1?i:0,f=7;f>=h;--f)a+=c>>f&1?"1":"0";if(a.length>n)return o+Bn(a,n)}return o+a},t.prototype.parseOctetString=function(e,r,n){if(this.isASCII(e,r))return Bn(this.parseStringISO(e,r),n);var i=r-e,s="("+i+" byte)\n";n/=2,i>n&&(r=e+n);for(var o=e;o<r;++o)s+=this.hexByte(this.get(o));return i>n&&(s+=w8),s},t.prototype.parseOID=function(e,r,n){for(var i="",s=new Li,o=0,a=e;a<r;++a){var l=this.get(a);if(s.mulAdd(128,l&127),o+=7,!(l&128)){if(i==="")if(s=s.simplify(),s instanceof Li)s.sub(80),i="2."+s.toString();else{var c=s<80?s<40?0:1:2;i=c+"."+(s-c*40)}else i+="."+s.toString();if(i.length>n)return Bn(i,n);s=new Li,o=0}}return o>0&&(i+=".incomplete"),i},t}(),fne=function(){function t(e,r,n,i,s){if(!(i instanceof d3))throw new Error("Invalid tag value.");this.stream=e,this.header=r,this.length=n,this.tag=i,this.sub=s}return t.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}},t.prototype.content=function(e){if(this.tag===void 0)return null;e===void 0&&(e=1/0);var r=this.posContent(),n=Math.abs(this.length);if(!this.tag.isUniversal())return this.sub!==null?"("+this.sub.length+" elem)":this.stream.parseOctetString(r,r+n,e);switch(this.tag.tagNumber){case 1:return this.stream.get(r)===0?"false":"true";case 2:return this.stream.parseInteger(r,r+n);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(r,r+n,e);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(r,r+n,e);case 6:return this.stream.parseOID(r,r+n,e);case 16:case 17:return this.sub!==null?"("+this.sub.length+" elem)":"(no elem)";case 12:return Bn(this.stream.parseStringUTF(r,r+n),e);case 18:case 19:case 20:case 21:case 22:case 26:return Bn(this.stream.parseStringISO(r,r+n),e);case 30:return Bn(this.stream.parseStringBMP(r,r+n),e);case 23:case 24:return this.stream.parseTime(r,r+n,this.tag.tagNumber==23)}return null},t.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(this.sub===null?"null":this.sub.length)+"]"},t.prototype.toPrettyString=function(e){e===void 0&&(e="");var r=e+this.typeName()+" @"+this.stream.pos;if(this.length>=0&&(r+="+"),r+=this.length,this.tag.tagConstructed?r+=" (constructed)":this.tag.isUniversal()&&(this.tag.tagNumber==3||this.tag.tagNumber==4)&&this.sub!==null&&(r+=" (encapsulates)"),r+="\n",this.sub!==null){e+="  ";for(var n=0,i=this.sub.length;n<i;++n)r+=this.sub[n].toPrettyString(e)}return r},t.prototype.posStart=function(){return this.stream.pos},t.prototype.posContent=function(){return this.stream.pos+this.header},t.prototype.posEnd=function(){return this.stream.pos+this.header+Math.abs(this.length)},t.prototype.toHexString=function(){return this.stream.hexDump(this.posStart(),this.posEnd(),!0)},t.decodeLength=function(e){var r=e.get(),n=r&127;if(n==r)return n;if(n>6)throw new Error("Length over 48 bits not supported at position "+(e.pos-1));if(n===0)return null;r=0;for(var i=0;i<n;++i)r=r*256+e.get();return r},t.prototype.getHexStringValue=function(){var e=this.toHexString(),r=this.header*2,n=this.length*2;return e.substring(r,r+n)},t.decode=function(e){var r;e instanceof x0?r=e:r=new x0(e,0);var n=new x0(r),i=new d3(r),s=t.decodeLength(r),o=r.pos,a=o-n.pos,l=null,c=function(){var f=[];if(s!==null){for(var d=o+s;r.pos<d;)f[f.length]=t.decode(r);if(r.pos!=d)throw new Error("Content size is not correct for container starting at offset "+o)}else try{for(;;){var p=t.decode(r);if(p.tag.isEOC())break;f[f.length]=p}s=o-r.pos}catch(y){throw new Error("Exception while decoding undefined length content: "+y)}return f};if(i.tagConstructed)l=c();else if(i.isUniversal()&&(i.tagNumber==3||i.tagNumber==4))try{if(i.tagNumber==3&&r.get()!=0)throw new Error("BIT STRINGs with unused bits cannot encapsulate.");l=c();for(var h=0;h<l.length;++h)if(l[h].tag.isEOC())throw new Error("EOC is not supposed to be actual content.")}catch(f){l=null}if(l===null){if(s===null)throw new Error("We can't skip over an invalid tag with undefined length at offset "+o);r.pos=o+Math.abs(s)}return new t(n,a,s,i,l)},t}(),d3=function(){function t(e){var r=e.get();if(this.tagClass=r>>6,this.tagConstructed=(r&32)!==0,this.tagNumber=r&31,this.tagNumber==31){var n=new Li;do r=e.get(),n.mulAdd(128,r&127);while(r&128);this.tagNumber=n.simplify()}}return t.prototype.isUniversal=function(){return this.tagClass===0},t.prototype.isEOC=function(){return this.tagClass===0&&this.tagNumber===0},t}(),Tr,dne=0xdeadbeefcafe,p3=(dne&16777215)==15715070,Ze=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],pne=(1<<26)/Ze[Ze.length-1],q=function(){function t(e,r,n){e!=null&&(typeof e=="number"?this.fromNumber(e,r,n):r==null&&typeof e!="string"?this.fromString(e,256):this.fromString(e,r))}return t.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var r;if(e==16)r=4;else if(e==8)r=3;else if(e==2)r=1;else if(e==32)r=5;else if(e==4)r=2;else return this.toRadix(e);var n=(1<<r)-1,i,s=!1,o="",a=this.t,l=this.DB-a*this.DB%r;if(a-- >0)for(l<this.DB&&(i=this[a]>>l)>0&&(s=!0,o=Qt(i));a>=0;)l<r?(i=(this[a]&(1<<l)-1)<<r-l,i|=this[--a]>>(l+=this.DB-r)):(i=this[a]>>(l-=r)&n,l<=0&&(l+=this.DB,--a)),i>0&&(s=!0),s&&(o+=Qt(i));return s?o:"0"},t.prototype.negate=function(){var e=X();return t.ZERO.subTo(this,e),e},t.prototype.abs=function(){return this.s<0?this.negate():this},t.prototype.compareTo=function(e){var r=this.s-e.s;if(r!=0)return r;var n=this.t;if(r=n-e.t,r!=0)return this.s<0?-r:r;for(;--n>=0;)if((r=this[n]-e[n])!=0)return r;return 0},t.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+go(this[this.t-1]^this.s&this.DM)},t.prototype.mod=function(e){var r=X();return this.abs().divRemTo(e,null,r),this.s<0&&r.compareTo(t.ZERO)>0&&e.subTo(r,r),r},t.prototype.modPowInt=function(e,r){var n;return e<256||r.isEven()?n=new g3(r):n=new v3(r),this.exp(e,n)},t.prototype.clone=function(){var e=X();return this.copyTo(e),e},t.prototype.intValue=function(){if(this.s<0){if(this.t==1)return this[0]-this.DV;if(this.t==0)return-1}else{if(this.t==1)return this[0];if(this.t==0)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},t.prototype.byteValue=function(){return this.t==0?this.s:this[0]<<24>>24},t.prototype.shortValue=function(){return this.t==0?this.s:this[0]<<16>>16},t.prototype.signum=function(){return this.s<0?-1:this.t<=0||this.t==1&&this[0]<=0?0:1},t.prototype.toByteArray=function(){var e=this.t,r=[];r[0]=this.s;var n=this.DB-e*this.DB%8,i,s=0;if(e-- >0)for(n<this.DB&&(i=this[e]>>n)!=(this.s&this.DM)>>n&&(r[s++]=i|this.s<<this.DB-n);e>=0;)n<8?(i=(this[e]&(1<<n)-1)<<8-n,i|=this[--e]>>(n+=this.DB-8)):(i=this[e]>>(n-=8)&255,n<=0&&(n+=this.DB,--e)),i&128&&(i|=-256),s==0&&(this.s&128)!=(i&128)&&++s,(s>0||i!=this.s)&&(r[s++]=i);return r},t.prototype.equals=function(e){return this.compareTo(e)==0},t.prototype.min=function(e){return this.compareTo(e)<0?this:e},t.prototype.max=function(e){return this.compareTo(e)>0?this:e},t.prototype.and=function(e){var r=X();return this.bitwiseTo(e,one,r),r},t.prototype.or=function(e){var r=X();return this.bitwiseTo(e,po,r),r},t.prototype.xor=function(e){var r=X();return this.bitwiseTo(e,u3,r),r},t.prototype.andNot=function(e){var r=X();return this.bitwiseTo(e,h3,r),r},t.prototype.not=function(){for(var e=X(),r=0;r<this.t;++r)e[r]=this.DM&~this[r];return e.t=this.t,e.s=~this.s,e},t.prototype.shiftLeft=function(e){var r=X();return e<0?this.rShiftTo(-e,r):this.lShiftTo(e,r),r},t.prototype.shiftRight=function(e){var r=X();return e<0?this.lShiftTo(-e,r):this.rShiftTo(e,r),r},t.prototype.getLowestSetBit=function(){for(var e=0;e<this.t;++e)if(this[e]!=0)return e*this.DB+ane(this[e]);return this.s<0?this.t*this.DB:-1},t.prototype.bitCount=function(){for(var e=0,r=this.s&this.DM,n=0;n<this.t;++n)e+=lne(this[n]^r);return e},t.prototype.testBit=function(e){var r=Math.floor(e/this.DB);return r>=this.t?this.s!=0:(this[r]&1<<e%this.DB)!=0},t.prototype.setBit=function(e){return this.changeBit(e,po)},t.prototype.clearBit=function(e){return this.changeBit(e,h3)},t.prototype.flipBit=function(e){return this.changeBit(e,u3)},t.prototype.add=function(e){var r=X();return this.addTo(e,r),r},t.prototype.subtract=function(e){var r=X();return this.subTo(e,r),r},t.prototype.multiply=function(e){var r=X();return this.multiplyTo(e,r),r},t.prototype.divide=function(e){var r=X();return this.divRemTo(e,r,null),r},t.prototype.remainder=function(e){var r=X();return this.divRemTo(e,null,r),r},t.prototype.divideAndRemainder=function(e){var r=X(),n=X();return this.divRemTo(e,r,n),[r,n]},t.prototype.modPow=function(e,r){var n=e.bitLength(),i,s=vr(1),o;if(n<=0)return s;n<18?i=1:n<48?i=3:n<144?i=4:n<768?i=5:i=6,n<8?o=new g3(r):r.isEven()?o=new vne(r):o=new v3(r);var a=[],l=3,c=i-1,h=(1<<i)-1;if(a[1]=o.convert(this),i>1){var f=X();for(o.sqrTo(a[1],f);l<=h;)a[l]=X(),o.mulTo(f,a[l-2],a[l]),l+=2}var d=e.t-1,p,y=!0,m=X(),_;for(n=go(e[d])-1;d>=0;){for(n>=c?p=e[d]>>n-c&h:(p=(e[d]&(1<<n+1)-1)<<c-n,d>0&&(p|=e[d-1]>>this.DB+n-c)),l=i;!(p&1);)p>>=1,--l;if((n-=l)<0&&(n+=this.DB,--d),y)a[p].copyTo(s),y=!1;else{for(;l>1;)o.sqrTo(s,m),o.sqrTo(m,s),l-=2;l>0?o.sqrTo(s,m):(_=s,s=m,m=_),o.mulTo(m,a[p],s)}for(;d>=0&&!(e[d]&1<<n);)o.sqrTo(s,m),_=s,s=m,m=_,--n<0&&(n=this.DB-1,--d)}return o.revert(s)},t.prototype.modInverse=function(e){var r=e.isEven();if(this.isEven()&&r||e.signum()==0)return t.ZERO;for(var n=e.clone(),i=this.clone(),s=vr(1),o=vr(0),a=vr(0),l=vr(1);n.signum()!=0;){for(;n.isEven();)n.rShiftTo(1,n),r?((!s.isEven()||!o.isEven())&&(s.addTo(this,s),o.subTo(e,o)),s.rShiftTo(1,s)):o.isEven()||o.subTo(e,o),o.rShiftTo(1,o);for(;i.isEven();)i.rShiftTo(1,i),r?((!a.isEven()||!l.isEven())&&(a.addTo(this,a),l.subTo(e,l)),a.rShiftTo(1,a)):l.isEven()||l.subTo(e,l),l.rShiftTo(1,l);n.compareTo(i)>=0?(n.subTo(i,n),r&&s.subTo(a,s),o.subTo(l,o)):(i.subTo(n,i),r&&a.subTo(s,a),l.subTo(o,l))}if(i.compareTo(t.ONE)!=0)return t.ZERO;if(l.compareTo(e)>=0)return l.subtract(e);if(l.signum()<0)l.addTo(e,l);else return l;return l.signum()<0?l.add(e):l},t.prototype.pow=function(e){return this.exp(e,new gne)},t.prototype.gcd=function(e){var r=this.s<0?this.negate():this.clone(),n=e.s<0?e.negate():e.clone();if(r.compareTo(n)<0){var i=r;r=n,n=i}var s=r.getLowestSetBit(),o=n.getLowestSetBit();if(o<0)return r;for(s<o&&(o=s),o>0&&(r.rShiftTo(o,r),n.rShiftTo(o,n));r.signum()>0;)(s=r.getLowestSetBit())>0&&r.rShiftTo(s,r),(s=n.getLowestSetBit())>0&&n.rShiftTo(s,n),r.compareTo(n)>=0?(r.subTo(n,r),r.rShiftTo(1,r)):(n.subTo(r,n),n.rShiftTo(1,n));return o>0&&n.lShiftTo(o,n),n},t.prototype.isProbablePrime=function(e){var r,n=this.abs();if(n.t==1&&n[0]<=Ze[Ze.length-1]){for(r=0;r<Ze.length;++r)if(n[0]==Ze[r])return!0;return!1}if(n.isEven())return!1;for(r=1;r<Ze.length;){for(var i=Ze[r],s=r+1;s<Ze.length&&i<pne;)i*=Ze[s++];for(i=n.modInt(i);r<s;)if(i%Ze[r++]==0)return!1}return n.millerRabin(e)},t.prototype.copyTo=function(e){for(var r=this.t-1;r>=0;--r)e[r]=this[r];e.t=this.t,e.s=this.s},t.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},t.prototype.fromString=function(e,r){var n;if(r==16)n=4;else if(r==8)n=3;else if(r==256)n=8;else if(r==2)n=1;else if(r==32)n=5;else if(r==4)n=2;else{this.fromRadix(e,r);return}this.t=0,this.s=0;for(var i=e.length,s=!1,o=0;--i>=0;){var a=n==8?+e[i]&255:m3(e,i);if(a<0){e.charAt(i)=="-"&&(s=!0);continue}s=!1,o==0?this[this.t++]=a:o+n>this.DB?(this[this.t-1]|=(a&(1<<this.DB-o)-1)<<o,this[this.t++]=a>>this.DB-o):this[this.t-1]|=a<<o,o+=n,o>=this.DB&&(o-=this.DB)}n==8&&+e[0]&128&&(this.s=-1,o>0&&(this[this.t-1]|=(1<<this.DB-o)-1<<o)),this.clamp(),s&&t.ZERO.subTo(this,this)},t.prototype.clamp=function(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t},t.prototype.dlShiftTo=function(e,r){var n;for(n=this.t-1;n>=0;--n)r[n+e]=this[n];for(n=e-1;n>=0;--n)r[n]=0;r.t=this.t+e,r.s=this.s},t.prototype.drShiftTo=function(e,r){for(var n=e;n<this.t;++n)r[n-e]=this[n];r.t=Math.max(this.t-e,0),r.s=this.s},t.prototype.lShiftTo=function(e,r){for(var n=e%this.DB,i=this.DB-n,s=(1<<i)-1,o=Math.floor(e/this.DB),a=this.s<<n&this.DM,l=this.t-1;l>=0;--l)r[l+o+1]=this[l]>>i|a,a=(this[l]&s)<<n;for(var l=o-1;l>=0;--l)r[l]=0;r[o]=a,r.t=this.t+o+1,r.s=this.s,r.clamp()},t.prototype.rShiftTo=function(e,r){r.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t){r.t=0;return}var i=e%this.DB,s=this.DB-i,o=(1<<i)-1;r[0]=this[n]>>i;for(var a=n+1;a<this.t;++a)r[a-n-1]|=(this[a]&o)<<s,r[a-n]=this[a]>>i;i>0&&(r[this.t-n-1]|=(this.s&o)<<s),r.t=this.t-n,r.clamp()},t.prototype.subTo=function(e,r){for(var n=0,i=0,s=Math.min(e.t,this.t);n<s;)i+=this[n]-e[n],r[n++]=i&this.DM,i>>=this.DB;if(e.t<this.t){for(i-=e.s;n<this.t;)i+=this[n],r[n++]=i&this.DM,i>>=this.DB;i+=this.s}else{for(i+=this.s;n<e.t;)i-=e[n],r[n++]=i&this.DM,i>>=this.DB;i-=e.s}r.s=i<0?-1:0,i<-1?r[n++]=this.DV+i:i>0&&(r[n++]=i),r.t=n,r.clamp()},t.prototype.multiplyTo=function(e,r){var n=this.abs(),i=e.abs(),s=n.t;for(r.t=s+i.t;--s>=0;)r[s]=0;for(s=0;s<i.t;++s)r[s+n.t]=n.am(0,i[s],r,s,0,n.t);r.s=0,r.clamp(),this.s!=e.s&&t.ZERO.subTo(r,r)},t.prototype.squareTo=function(e){for(var r=this.abs(),n=e.t=2*r.t;--n>=0;)e[n]=0;for(n=0;n<r.t-1;++n){var i=r.am(n,r[n],e,2*n,0,1);(e[n+r.t]+=r.am(n+1,2*r[n],e,2*n+1,i,r.t-n-1))>=r.DV&&(e[n+r.t]-=r.DV,e[n+r.t+1]=1)}e.t>0&&(e[e.t-1]+=r.am(n,r[n],e,2*n,0,1)),e.s=0,e.clamp()},t.prototype.divRemTo=function(e,r,n){var i=e.abs();if(!(i.t<=0)){var s=this.abs();if(s.t<i.t){r!=null&&r.fromInt(0),n!=null&&this.copyTo(n);return}n==null&&(n=X());var o=X(),a=this.s,l=e.s,c=this.DB-go(i[i.t-1]);c>0?(i.lShiftTo(c,o),s.lShiftTo(c,n)):(i.copyTo(o),s.copyTo(n));var h=o.t,f=o[h-1];if(f!=0){var d=f*(1<<this.F1)+(h>1?o[h-2]>>this.F2:0),p=this.FV/d,y=(1<<this.F1)/d,m=1<<this.F2,_=n.t,A=_-h,x=r==null?X():r;for(o.dlShiftTo(A,x),n.compareTo(x)>=0&&(n[n.t++]=1,n.subTo(x,n)),t.ONE.dlShiftTo(h,x),x.subTo(o,o);o.t<h;)o[o.t++]=0;for(;--A>=0;){var L=n[--_]==f?this.DM:Math.floor(n[_]*p+(n[_-1]+m)*y);if((n[_]+=o.am(0,L,n,A,0,h))<L)for(o.dlShiftTo(A,x),n.subTo(x,n);n[_]<--L;)n.subTo(x,n)}r!=null&&(n.drShiftTo(h,r),a!=l&&t.ZERO.subTo(r,r)),n.t=h,n.clamp(),c>0&&n.rShiftTo(c,n),a<0&&t.ZERO.subTo(n,n)}}},t.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(!(e&1))return 0;var r=e&3;return r=r*(2-(e&15)*r)&15,r=r*(2-(e&255)*r)&255,r=r*(2-((e&65535)*r&65535))&65535,r=r*(2-e*r%this.DV)%this.DV,r>0?this.DV-r:-r},t.prototype.isEven=function(){return(this.t>0?this[0]&1:this.s)==0},t.prototype.exp=function(e,r){if(e>4294967295||e<1)return t.ONE;var n=X(),i=X(),s=r.convert(this),o=go(e)-1;for(s.copyTo(n);--o>=0;)if(r.sqrTo(n,i),(e&1<<o)>0)r.mulTo(i,s,n);else{var a=n;n=i,i=a}return r.revert(n)},t.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},t.prototype.toRadix=function(e){if(e==null&&(e=10),this.signum()==0||e<2||e>36)return"0";var r=this.chunkSize(e),n=Math.pow(e,r),i=vr(n),s=X(),o=X(),a="";for(this.divRemTo(i,s,o);s.signum()>0;)a=(n+o.intValue()).toString(e).substring(1)+a,s.divRemTo(i,s,o);return o.intValue().toString(e)+a},t.prototype.fromRadix=function(e,r){this.fromInt(0),r==null&&(r=10);for(var n=this.chunkSize(r),i=Math.pow(r,n),s=!1,o=0,a=0,l=0;l<e.length;++l){var c=m3(e,l);if(c<0){e.charAt(l)=="-"&&this.signum()==0&&(s=!0);continue}a=r*a+c,++o>=n&&(this.dMultiply(i),this.dAddOffset(a,0),o=0,a=0)}o>0&&(this.dMultiply(Math.pow(r,o)),this.dAddOffset(a,0)),s&&t.ZERO.subTo(this,this)},t.prototype.fromNumber=function(e,r,n){if(typeof r=="number")if(e<2)this.fromInt(1);else for(this.fromNumber(e,n),this.testBit(e-1)||this.bitwiseTo(t.ONE.shiftLeft(e-1),po,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(r);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(t.ONE.shiftLeft(e-1),this);else{var i=[],s=e&7;i.length=(e>>3)+1,r.nextBytes(i),s>0?i[0]&=(1<<s)-1:i[0]=0,this.fromString(i,256)}},t.prototype.bitwiseTo=function(e,r,n){var i,s,o=Math.min(e.t,this.t);for(i=0;i<o;++i)n[i]=r(this[i],e[i]);if(e.t<this.t){for(s=e.s&this.DM,i=o;i<this.t;++i)n[i]=r(this[i],s);n.t=this.t}else{for(s=this.s&this.DM,i=o;i<e.t;++i)n[i]=r(s,e[i]);n.t=e.t}n.s=r(this.s,e.s),n.clamp()},t.prototype.changeBit=function(e,r){var n=t.ONE.shiftLeft(e);return this.bitwiseTo(n,r,n),n},t.prototype.addTo=function(e,r){for(var n=0,i=0,s=Math.min(e.t,this.t);n<s;)i+=this[n]+e[n],r[n++]=i&this.DM,i>>=this.DB;if(e.t<this.t){for(i+=e.s;n<this.t;)i+=this[n],r[n++]=i&this.DM,i>>=this.DB;i+=this.s}else{for(i+=this.s;n<e.t;)i+=e[n],r[n++]=i&this.DM,i>>=this.DB;i+=e.s}r.s=i<0?-1:0,i>0?r[n++]=i:i<-1&&(r[n++]=this.DV+i),r.t=n,r.clamp()},t.prototype.dMultiply=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},t.prototype.dAddOffset=function(e,r){if(e!=0){for(;this.t<=r;)this[this.t++]=0;for(this[r]+=e;this[r]>=this.DV;)this[r]-=this.DV,++r>=this.t&&(this[this.t++]=0),++this[r]}},t.prototype.multiplyLowerTo=function(e,r,n){var i=Math.min(this.t+e.t,r);for(n.s=0,n.t=i;i>0;)n[--i]=0;for(var s=n.t-this.t;i<s;++i)n[i+this.t]=this.am(0,e[i],n,i,0,this.t);for(var s=Math.min(e.t,r);i<s;++i)this.am(0,e[i],n,i,0,r-i);n.clamp()},t.prototype.multiplyUpperTo=function(e,r,n){--r;var i=n.t=this.t+e.t-r;for(n.s=0;--i>=0;)n[i]=0;for(i=Math.max(r-this.t,0);i<e.t;++i)n[this.t+i-r]=this.am(r-i,e[i],n,0,0,this.t+i-r);n.clamp(),n.drShiftTo(1,n)},t.prototype.modInt=function(e){if(e<=0)return 0;var r=this.DV%e,n=this.s<0?e-1:0;if(this.t>0)if(r==0)n=this[0]%e;else for(var i=this.t-1;i>=0;--i)n=(r*n+this[i])%e;return n},t.prototype.millerRabin=function(e){var r=this.subtract(t.ONE),n=r.getLowestSetBit();if(n<=0)return!1;var i=r.shiftRight(n);e=e+1>>1,e>Ze.length&&(e=Ze.length);for(var s=X(),o=0;o<e;++o){s.fromInt(Ze[Math.floor(Math.random()*Ze.length)]);var a=s.modPow(i,this);if(a.compareTo(t.ONE)!=0&&a.compareTo(r)!=0){for(var l=1;l++<n&&a.compareTo(r)!=0;)if(a=a.modPowInt(2,this),a.compareTo(t.ONE)==0)return!1;if(a.compareTo(r)!=0)return!1}}return!0},t.prototype.square=function(){var e=X();return this.squareTo(e),e},t.prototype.gcda=function(e,r){var n=this.s<0?this.negate():this.clone(),i=e.s<0?e.negate():e.clone();if(n.compareTo(i)<0){var s=n;n=i,i=s}var o=n.getLowestSetBit(),a=i.getLowestSetBit();if(a<0){r(n);return}o<a&&(a=o),a>0&&(n.rShiftTo(a,n),i.rShiftTo(a,i));var l=function(){(o=n.getLowestSetBit())>0&&n.rShiftTo(o,n),(o=i.getLowestSetBit())>0&&i.rShiftTo(o,i),n.compareTo(i)>=0?(n.subTo(i,n),n.rShiftTo(1,n)):(i.subTo(n,i),i.rShiftTo(1,i)),n.signum()>0?setTimeout(l,0):(a>0&&i.lShiftTo(a,i),setTimeout(function(){r(i)},0))};setTimeout(l,10)},t.prototype.fromNumberAsync=function(e,r,n,i){if(typeof r=="number")if(e<2)this.fromInt(1);else{this.fromNumber(e,n),this.testBit(e-1)||this.bitwiseTo(t.ONE.shiftLeft(e-1),po,this),this.isEven()&&this.dAddOffset(1,0);var s=this,o=function(){s.dAddOffset(2,0),s.bitLength()>e&&s.subTo(t.ONE.shiftLeft(e-1),s),s.isProbablePrime(r)?setTimeout(function(){i()},0):setTimeout(o,0)};setTimeout(o,0)}else{var a=[],l=e&7;a.length=(e>>3)+1,r.nextBytes(a),l>0?a[0]&=(1<<l)-1:a[0]=0,this.fromString(a,256)}},t}(),gne=function(){function t(){}return t.prototype.convert=function(e){return e},t.prototype.revert=function(e){return e},t.prototype.mulTo=function(e,r,n){e.multiplyTo(r,n)},t.prototype.sqrTo=function(e,r){e.squareTo(r)},t}(),g3=function(){function t(e){this.m=e}return t.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},t.prototype.revert=function(e){return e},t.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},t.prototype.mulTo=function(e,r,n){e.multiplyTo(r,n),this.reduce(n)},t.prototype.sqrTo=function(e,r){e.squareTo(r),this.reduce(r)},t}(),v3=function(){function t(e){this.m=e,this.mp=e.invDigit(),this.mpl=this.mp&32767,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}return t.prototype.convert=function(e){var r=X();return e.abs().dlShiftTo(this.m.t,r),r.divRemTo(this.m,null,r),e.s<0&&r.compareTo(q.ZERO)>0&&this.m.subTo(r,r),r},t.prototype.revert=function(e){var r=X();return e.copyTo(r),this.reduce(r),r},t.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var r=0;r<this.m.t;++r){var n=e[r]&32767,i=n*this.mpl+((n*this.mph+(e[r]>>15)*this.mpl&this.um)<<15)&e.DM;for(n=r+this.m.t,e[n]+=this.m.am(0,i,e,r,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},t.prototype.mulTo=function(e,r,n){e.multiplyTo(r,n),this.reduce(n)},t.prototype.sqrTo=function(e,r){e.squareTo(r),this.reduce(r)},t}(),vne=function(){function t(e){this.m=e,this.r2=X(),this.q3=X(),q.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e)}return t.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var r=X();return e.copyTo(r),this.reduce(r),r},t.prototype.revert=function(e){return e},t.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},t.prototype.mulTo=function(e,r,n){e.multiplyTo(r,n),this.reduce(n)},t.prototype.sqrTo=function(e,r){e.squareTo(r),this.reduce(r)},t}();function X(){return new q(null)}function we(t,e){return new q(t,e)}var y3=typeof navigator<"u";y3&&p3&&navigator.appName=="Microsoft Internet Explorer"?(q.prototype.am=function(e,r,n,i,s,o){for(var a=r&32767,l=r>>15;--o>=0;){var c=this[e]&32767,h=this[e++]>>15,f=l*c+h*a;c=a*c+((f&32767)<<15)+n[i]+(s&1073741823),s=(c>>>30)+(f>>>15)+l*h+(s>>>30),n[i++]=c&1073741823}return s},Tr=30):y3&&p3&&navigator.appName!="Netscape"?(q.prototype.am=function(e,r,n,i,s,o){for(;--o>=0;){var a=r*this[e++]+n[i]+s;s=Math.floor(a/67108864),n[i++]=a&67108863}return s},Tr=26):(q.prototype.am=function(e,r,n,i,s,o){for(var a=r&16383,l=r>>14;--o>=0;){var c=this[e]&16383,h=this[e++]>>14,f=l*c+h*a;c=a*c+((f&16383)<<14)+n[i]+s,s=(c>>28)+(f>>14)+l*h,n[i++]=c&268435455}return s},Tr=28);q.prototype.DB=Tr;q.prototype.DM=(1<<Tr)-1;q.prototype.DV=1<<Tr;var vc=52;q.prototype.FV=Math.pow(2,vc);q.prototype.F1=vc-Tr;q.prototype.F2=2*Tr-vc;var Ga=[],ai,lt;ai=48;for(lt=0;lt<=9;++lt)Ga[ai++]=lt;ai=97;for(lt=10;lt<36;++lt)Ga[ai++]=lt;ai=65;for(lt=10;lt<36;++lt)Ga[ai++]=lt;function m3(t,e){var r=Ga[t.charCodeAt(e)];return r==null?-1:r}function vr(t){var e=X();return e.fromInt(t),e}function go(t){var e=1,r;return(r=t>>>16)!=0&&(t=r,e+=16),(r=t>>8)!=0&&(t=r,e+=8),(r=t>>4)!=0&&(t=r,e+=4),(r=t>>2)!=0&&(t=r,e+=2),(r=t>>1)!=0&&(t=r,e+=1),e}q.ZERO=vr(0);q.ONE=vr(1);var yne=function(){function t(){this.i=0,this.j=0,this.S=[]}return t.prototype.init=function(e){var r,n,i;for(r=0;r<256;++r)this.S[r]=r;for(n=0,r=0;r<256;++r)n=n+this.S[r]+e[r%e.length]&255,i=this.S[r],this.S[r]=this.S[n],this.S[n]=i;this.i=0,this.j=0},t.prototype.next=function(){var e;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,e=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=e,this.S[e+this.S[this.i]&255]},t}();function mne(){return new yne}var C8=256,vo,_r=null,yt;if(_r==null){_r=[],yt=0;var yo=void 0;if(typeof window<"u"&&self.crypto&&self.crypto.getRandomValues){var L0=new Uint32Array(256);for(self.crypto.getRandomValues(L0),yo=0;yo<L0.length;++yo)_r[yt++]=L0[yo]&255}var mo=0,bo=function(t){if(mo=mo||0,mo>=256||yt>=C8){self.removeEventListener?self.removeEventListener("mousemove",bo,!1):self.detachEvent&&self.detachEvent("onmousemove",bo);return}try{var e=t.x+t.y;_r[yt++]=e&255,mo+=1}catch(r){}};typeof window<"u"&&(self.addEventListener?self.addEventListener("mousemove",bo,!1):self.attachEvent&&self.attachEvent("onmousemove",bo))}function bne(){if(vo==null){for(vo=mne();yt<C8;){var t=Math.floor(65536*Math.random());_r[yt++]=t&255}for(vo.init(_r),yt=0;yt<_r.length;++yt)_r[yt]=0;yt=0}return vo.next()}var sa=function(){function t(){}return t.prototype.nextBytes=function(e){for(var r=0;r<e.length;++r)e[r]=bne()},t}();function M2(t){return wne(xne(_ne(t),t.length*8))}function b3(t){for(var e="0123456789abcdef",r="",n=0;n<t.length;n++){var i=t.charCodeAt(n);r+=e.charAt(i>>>4&15)+e.charAt(i&15)}return r}function _ne(t){for(var e=Array(t.length>>2),r=0;r<e.length;r++)e[r]=0;for(var r=0;r<t.length*8;r+=8)e[r>>5]|=(t.charCodeAt(r/8)&255)<<24-r%32;return e}function wne(t){for(var e="",r=0;r<t.length*32;r+=8)e+=String.fromCharCode(t[r>>5]>>>24-r%32&255);return e}function Bt(t,e){return t>>>e|t<<32-e}function A8(t,e){return t>>>e}function Cne(t,e,r){return t&e^~t&r}function Ane(t,e,r){return t&e^t&r^e&r}function Sne(t){return Bt(t,2)^Bt(t,13)^Bt(t,22)}function Tne(t){return Bt(t,6)^Bt(t,11)^Bt(t,25)}function Ene(t){return Bt(t,7)^Bt(t,18)^A8(t,3)}function Ine(t){return Bt(t,17)^Bt(t,19)^A8(t,10)}var kne=new Array(1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998);function xne(t,e){var r=new Array(1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225),n=new Array(64),i,s,o,a,l,c,h,f,d,p,y,m;for(t[e>>5]|=128<<24-e%32,t[(e+64>>9<<4)+15]=e,d=0;d<t.length;d+=16){for(i=r[0],s=r[1],o=r[2],a=r[3],l=r[4],c=r[5],h=r[6],f=r[7],p=0;p<64;p++)p<16?n[p]=t[p+d]:n[p]=$e($e($e(Ine(n[p-2]),n[p-7]),Ene(n[p-15])),n[p-16]),y=$e($e($e($e(f,Tne(l)),Cne(l,c,h)),kne[p]),n[p]),m=$e(Sne(i),Ane(i,s,o)),f=h,h=c,c=l,l=$e(a,y),a=o,o=s,s=i,i=$e(y,m);r[0]=$e(i,r[0]),r[1]=$e(s,r[1]),r[2]=$e(o,r[2]),r[3]=$e(a,r[3]),r[4]=$e(l,r[4]),r[5]=$e(c,r[5]),r[6]=$e(h,r[6]),r[7]=$e(f,r[7])}return r}function $e(t,e){var r=(t&65535)+(e&65535),n=(t>>16)+(e>>16)+(r>>16);return n<<16|r&65535}function Lne(t,e){if(e<t.length+22)return console.error("Message too long for RSA"),null;for(var r=e-t.length-6,n="",i=0;i<r;i+=2)n+="ff";var s="0001"+n+"00"+t;return we(s,16)}function One(t,e){if(e<t.length+11)return console.error("Message too long for RSA"),null;for(var r=[],n=t.length-1;n>=0&&e>0;){var i=t.charCodeAt(n--);i<128?r[--e]=i:i>127&&i<2048?(r[--e]=i&63|128,r[--e]=i>>6|192):(r[--e]=i&63|128,r[--e]=i>>6&63|128,r[--e]=i>>12|224)}r[--e]=0;for(var s=new sa,o=[];e>2;){for(o[0]=0;o[0]==0;)s.nextBytes(o);r[--e]=o[0]}return r[--e]=2,r[--e]=0,new q(r)}function _3(t,e,r){for(var n="",i=0;n.length<e;)n+=r(String.fromCharCode.apply(String,t.concat([(i&4278190080)>>24,(i&16711680)>>16,(i&65280)>>8,i&255]))),i+=1;return n}var Nne=32;function Rne(t,e){var r=Nne,n=M2;if(t.length+2*r+2>e)throw"Message too long for RSA";var i="",s;for(s=0;s<e-t.length-2*r-2;s+=1)i+="\0";var o=n("")+i+""+t,a=new Array(r);new sa().nextBytes(a);var l=_3(a,o.length,n),c=[];for(s=0;s<o.length;s+=1)c[s]=o.charCodeAt(s)^l.charCodeAt(s);var h=_3(c,a.length,n),f=[0];for(s=0;s<a.length;s+=1)f[s+1]=a[s]^h.charCodeAt(s);return new q(f.concat(c))}var Dne=function(){function t(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}return t.prototype.doPublic=function(e){return e.modPowInt(this.e,this.n)},t.prototype.doPrivate=function(e){if(this.p==null||this.q==null)return e.modPow(this.d,this.n);for(var r=e.mod(this.p).modPow(this.dmp1,this.p),n=e.mod(this.q).modPow(this.dmq1,this.q);r.compareTo(n)<0;)r=r.add(this.p);return r.subtract(n).multiply(this.coeff).mod(this.p).multiply(this.q).add(n)},t.prototype.setPublic=function(e,r){e!=null&&r!=null&&e.length>0&&r.length>0?(this.n=we(e,16),this.e=parseInt(r,16)):console.error("Invalid RSA public key")},t.prototype.encrypt=function(e,r){typeof r>"u"&&(r=One);var n=this.n.bitLength()+7>>3,i=r(e,n);if(i==null)return null;var s=this.doPublic(i);if(s==null)return null;for(var o=s.toString(16),a=o.length,l=0;l<n*2-a;l++)o="0"+o;return o},t.prototype.setPrivate=function(e,r,n){e!=null&&r!=null&&e.length>0&&r.length>0?(this.n=we(e,16),this.e=parseInt(r,16),this.d=we(n,16)):console.error("Invalid RSA private key")},t.prototype.setPrivateEx=function(e,r,n,i,s,o,a,l){e!=null&&r!=null&&e.length>0&&r.length>0?(this.n=we(e,16),this.e=parseInt(r,16),this.d=we(n,16),this.p=we(i,16),this.q=we(s,16),this.dmp1=we(o,16),this.dmq1=we(a,16),this.coeff=we(l,16)):console.error("Invalid RSA private key")},t.prototype.generate=function(e,r){var n=new sa,i=e>>1;this.e=parseInt(r,16);for(var s=new q(r,16);;){for(;this.p=new q(e-i,1,n),!(this.p.subtract(q.ONE).gcd(s).compareTo(q.ONE)==0&&this.p.isProbablePrime(10)););for(;this.q=new q(i,1,n),!(this.q.subtract(q.ONE).gcd(s).compareTo(q.ONE)==0&&this.q.isProbablePrime(10)););if(this.p.compareTo(this.q)<=0){var o=this.p;this.p=this.q,this.q=o}var a=this.p.subtract(q.ONE),l=this.q.subtract(q.ONE),c=a.multiply(l);if(c.gcd(s).compareTo(q.ONE)==0){this.n=this.p.multiply(this.q),this.d=s.modInverse(c),this.dmp1=this.d.mod(a),this.dmq1=this.d.mod(l),this.coeff=this.q.modInverse(this.p);break}}},t.prototype.decrypt=function(e){var r=we(e,16),n=this.doPrivate(r);return n==null?null:Bne(n,this.n.bitLength()+7>>3)},t.prototype.generateAsync=function(e,r,n){var i=new sa,s=e>>1;this.e=parseInt(r,16);var o=new q(r,16),a=this,l=function(){var c=function(){if(a.p.compareTo(a.q)<=0){var d=a.p;a.p=a.q,a.q=d}var p=a.p.subtract(q.ONE),y=a.q.subtract(q.ONE),m=p.multiply(y);m.gcd(o).compareTo(q.ONE)==0?(a.n=a.p.multiply(a.q),a.d=o.modInverse(m),a.dmp1=a.d.mod(p),a.dmq1=a.d.mod(y),a.coeff=a.q.modInverse(a.p),setTimeout(function(){n()},0)):setTimeout(l,0)},h=function(){a.q=X(),a.q.fromNumberAsync(s,1,i,function(){a.q.subtract(q.ONE).gcda(o,function(d){d.compareTo(q.ONE)==0&&a.q.isProbablePrime(10)?setTimeout(c,0):setTimeout(h,0)})})},f=function(){a.p=X(),a.p.fromNumberAsync(e-s,1,i,function(){a.p.subtract(q.ONE).gcda(o,function(d){d.compareTo(q.ONE)==0&&a.p.isProbablePrime(10)?setTimeout(h,0):setTimeout(f,0)})})};setTimeout(f,0)};setTimeout(l,0)},t.prototype.sign=function(e,r,n){var i=$ne(n),s=i+r(e).toString(),o=this.n.bitLength()/4,a=Lne(s,o);if(a==null)return null;var l=this.doPrivate(a);if(l==null)return null;for(var c=l.toString(16),h=c.length,f=0;f<o-h;f++)c="0"+c;return c},t.prototype.verify=function(e,r,n){var i=we(r,16),s=this.doPublic(i);if(s==null)return null;var o=s.toString(16).replace(/^1f+00/,""),a=Pne(o);return a==n(e).toString()},t}();function Bne(t,e){for(var r=t.toByteArray(),n=0;n<r.length&&r[n]==0;)++n;if(r.length-n!=e-1||r[n]!=2)return null;for(++n;r[n]!=0;)if(++n>=r.length)return null;for(var i="";++n<r.length;){var s=r[n]&255;s<128?i+=String.fromCharCode(s):s>191&&s<224?(i+=String.fromCharCode((s&31)<<6|r[n+1]&63),++n):(i+=String.fromCharCode((s&15)<<12|(r[n+1]&63)<<6|r[n+2]&63),n+=2)}return i}var Do={md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",ripemd160:"3021300906052b2403020105000414"};function $ne(t){return Do[t]||""}function Pne(t){for(var e in Do)if(Do.hasOwnProperty(e)){var r=Do[e],n=r.length;if(t.substring(0,n)==r)return t.substring(n)}return t}function Re(t,e,r){if(!e||!t)throw new Error("extend failed, please check that all dependencies are included.");var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t,t.superclass=e.prototype,e.prototype.constructor==Object.prototype.constructor&&(e.prototype.constructor=e)}/**
 * @fileOverview
 * @name asn1-1.0.js
 * @author Kenji Urushima kenji.urushima@gmail.com
 * @version asn1 1.0.13 (2017-Jun-02)
 * @since jsrsasign 2.1
 * @license <a href="https://kjur.github.io/jsrsasign/license/">MIT License</a>
 */var k={};(typeof k.asn1>"u"||!k.asn1)&&(k.asn1={});k.asn1.ASN1Util=new function(){this.integerToByteHex=function(t){var e=t.toString(16);return e.length%2==1&&(e="0"+e),e},this.bigIntToMinTwosComplementsHex=function(t){var e=t.toString(16);if(e.substring(0,1)!="-")e.length%2==1?e="0"+e:e.match(/^[0-7]/)||(e="00"+e);else{var r=e.substring(1),n=r.length;n%2==1?n+=1:e.match(/^[0-7]/)||(n+=2);for(var i="",s=0;s<n;s++)i+="f";var o=new q(i,16),a=o.xor(t).add(q.ONE);e=a.toString(16).replace(/^-/,"")}return e},this.getPEMStringFromHex=function(t,e){return hextopem(t,e)},this.newObject=function(t){var e=k,r=e.asn1,n=r.DERBoolean,i=r.DERInteger,s=r.DERBitString,o=r.DEROctetString,a=r.DERNull,l=r.DERObjectIdentifier,c=r.DEREnumerated,h=r.DERUTF8String,f=r.DERNumericString,d=r.DERPrintableString,p=r.DERTeletexString,y=r.DERIA5String,m=r.DERUTCTime,_=r.DERGeneralizedTime,A=r.DERSequence,x=r.DERSet,L=r.DERTaggedObject,S=r.ASN1Util.newObject,N=Object.keys(t);if(N.length!=1)throw"key of param shall be only one.";var w=N[0];if(":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":"+w+":")==-1)throw"undefined key: "+w;if(w=="bool")return new n(t[w]);if(w=="int")return new i(t[w]);if(w=="bitstr")return new s(t[w]);if(w=="octstr")return new o(t[w]);if(w=="null")return new a(t[w]);if(w=="oid")return new l(t[w]);if(w=="enum")return new c(t[w]);if(w=="utf8str")return new h(t[w]);if(w=="numstr")return new f(t[w]);if(w=="prnstr")return new d(t[w]);if(w=="telstr")return new p(t[w]);if(w=="ia5str")return new y(t[w]);if(w=="utctime")return new m(t[w]);if(w=="gentime")return new _(t[w]);if(w=="seq"){for(var Q=t[w],G=[],re=0;re<Q.length;re++){var j=S(Q[re]);G.push(j)}return new A({array:G})}if(w=="set"){for(var Q=t[w],G=[],re=0;re<Q.length;re++){var j=S(Q[re]);G.push(j)}return new x({array:G})}if(w=="tag"){var R=t[w];if(Object.prototype.toString.call(R)==="[object Array]"&&R.length==3){var W=S(R[2]);return new L({tag:R[0],explicit:R[1],obj:W})}else{var Ce={};if(R.explicit!==void 0&&(Ce.explicit=R.explicit),R.tag!==void 0&&(Ce.tag=R.tag),R.obj===void 0)throw"obj shall be specified for 'tag'.";return Ce.obj=S(R.obj),new L(Ce)}}},this.jsonToASN1HEX=function(t){var e=this.newObject(t);return e.getEncodedHex()}};k.asn1.ASN1Util.oidHexToInt=function(t){for(var i="",e=parseInt(t.substring(0,2),16),r=Math.floor(e/40),n=e%40,i=r+"."+n,s="",o=2;o<t.length;o+=2){var a=parseInt(t.substring(o,o+2),16),l=("00000000"+a.toString(2)).slice(-8);if(s=s+l.substring(1,8),l.substring(0,1)=="0"){var c=new q(s,2);i=i+"."+c.toString(10),s=""}}return i};k.asn1.ASN1Util.oidIntToHex=function(t){var e=function(a){var l=a.toString(16);return l.length==1&&(l="0"+l),l},r=function(a){var l="",c=new q(a,10),h=c.toString(2),f=7-h.length%7;f==7&&(f=0);for(var d="",p=0;p<f;p++)d+="0";h=d+h;for(var p=0;p<h.length-1;p+=7){var y=h.substring(p,p+7);p!=h.length-7&&(y="1"+y),l+=e(parseInt(y,2))}return l};if(!t.match(/^[0-9.]+$/))throw"malformed oid string: "+t;var n="",i=t.split("."),s=parseInt(i[0])*40+parseInt(i[1]);n+=e(s),i.splice(0,2);for(var o=0;o<i.length;o++)n+=r(i[o]);return n};k.asn1.ASN1Object=function(){var t="";this.getLengthHexFromValue=function(){if(typeof this.hV>"u"||this.hV==null)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n="+t.length+",v="+this.hV;var e=this.hV.length/2,r=e.toString(16);if(r.length%2==1&&(r="0"+r),e<128)return r;var n=r.length/2;if(n>15)throw"ASN.1 length too long to represent by 8x: n = "+e.toString(16);var i=128+n;return i.toString(16)+r},this.getEncodedHex=function(){return(this.hTLV==null||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}};k.asn1.DERAbstractString=function(t){k.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(this.s)},this.setStringHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.getFreshValueHex=function(){return this.hV},typeof t<"u"&&(typeof t=="string"?this.setString(t):typeof t.str<"u"?this.setString(t.str):typeof t.hex<"u"&&this.setStringHex(t.hex))};Re(k.asn1.DERAbstractString,k.asn1.ASN1Object);k.asn1.DERAbstractTime=function(t){k.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(e){utc=e.getTime()+e.getTimezoneOffset()*6e4;var r=new Date(utc);return r},this.formatDate=function(e,r,n){var i=this.zeroPadding,s=this.localDateToUTC(e),o=String(s.getFullYear());r=="utc"&&(o=o.substring(2,4));var a=i(String(s.getMonth()+1),2),l=i(String(s.getDate()),2),c=i(String(s.getHours()),2),h=i(String(s.getMinutes()),2),f=i(String(s.getSeconds()),2),d=o+a+l+c+h+f;if(n===!0){var p=s.getMilliseconds();if(p!=0){var y=i(String(p),3);y=y.replace(/[0]+$/,""),d=d+"."+y}}return d+"Z"},this.zeroPadding=function(e,r){return e.length>=r?e:new Array(r-e.length+1).join("0")+e},this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(e)},this.setByDateValue=function(e,r,n,i,s,o){var a=new Date(Date.UTC(e,r-1,n,i,s,o,0));this.setByDate(a)},this.getFreshValueHex=function(){return this.hV}};Re(k.asn1.DERAbstractTime,k.asn1.ASN1Object);k.asn1.DERAbstractStructured=function(t){k.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array=e},this.appendASN1Object=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array.push(e)},this.asn1Array=new Array,typeof t<"u"&&typeof t.array<"u"&&(this.asn1Array=t.array)};Re(k.asn1.DERAbstractStructured,k.asn1.ASN1Object);k.asn1.DERBoolean=function(){k.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"};Re(k.asn1.DERBoolean,k.asn1.ASN1Object);k.asn1.DERInteger=function(t){k.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=k.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var r=new q(String(e),10);this.setByBigInteger(r)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},typeof t<"u"&&(typeof t.bigint<"u"?this.setByBigInteger(t.bigint):typeof t.int<"u"?this.setByInteger(t.int):typeof t=="number"?this.setByInteger(t):typeof t.hex<"u"&&this.setValueHex(t.hex))};Re(k.asn1.DERInteger,k.asn1.ASN1Object);k.asn1.DERBitString=function(t){if(t!==void 0&&typeof t.obj<"u"){var e=k.asn1.ASN1Util.newObject(t.obj);t.hex="00"+e.getEncodedHex()}k.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(r){this.hTLV=null,this.isModified=!0,this.hV=r},this.setUnusedBitsAndHexValue=function(r,n){if(r<0||7<r)throw"unused bits shall be from 0 to 7: u = "+r;var i="0"+r;this.hTLV=null,this.isModified=!0,this.hV=i+n},this.setByBinaryString=function(r){r=r.replace(/0+$/,"");var n=8-r.length%8;n==8&&(n=0);for(var i=0;i<=n;i++)r+="0";for(var s="",i=0;i<r.length-1;i+=8){var o=r.substring(i,i+8),a=parseInt(o,2).toString(16);a.length==1&&(a="0"+a),s+=a}this.hTLV=null,this.isModified=!0,this.hV="0"+n+s},this.setByBooleanArray=function(r){for(var n="",i=0;i<r.length;i++)r[i]==!0?n+="1":n+="0";this.setByBinaryString(n)},this.newFalseArray=function(r){for(var n=new Array(r),i=0;i<r;i++)n[i]=!1;return n},this.getFreshValueHex=function(){return this.hV},typeof t<"u"&&(typeof t=="string"&&t.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(t):typeof t.hex<"u"?this.setHexValueIncludingUnusedBits(t.hex):typeof t.bin<"u"?this.setByBinaryString(t.bin):typeof t.array<"u"&&this.setByBooleanArray(t.array))};Re(k.asn1.DERBitString,k.asn1.ASN1Object);k.asn1.DEROctetString=function(t){if(t!==void 0&&typeof t.obj<"u"){var e=k.asn1.ASN1Util.newObject(t.obj);t.hex=e.getEncodedHex()}k.asn1.DEROctetString.superclass.constructor.call(this,t),this.hT="04"};Re(k.asn1.DEROctetString,k.asn1.DERAbstractString);k.asn1.DERNull=function(){k.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"};Re(k.asn1.DERNull,k.asn1.ASN1Object);k.asn1.DERObjectIdentifier=function(t){var e=function(n){var i=n.toString(16);return i.length==1&&(i="0"+i),i},r=function(n){var i="",s=new q(n,10),o=s.toString(2),a=7-o.length%7;a==7&&(a=0);for(var l="",c=0;c<a;c++)l+="0";o=l+o;for(var c=0;c<o.length-1;c+=7){var h=o.substring(c,c+7);c!=o.length-7&&(h="1"+h),i+=e(parseInt(h,2))}return i};k.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(n){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=n},this.setValueOidString=function(n){if(!n.match(/^[0-9.]+$/))throw"malformed oid string: "+n;var i="",s=n.split("."),o=parseInt(s[0])*40+parseInt(s[1]);i+=e(o),s.splice(0,2);for(var a=0;a<s.length;a++)i+=r(s[a]);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=i},this.setValueName=function(n){var i=k.asn1.x509.OID.name2oid(n);if(i!=="")this.setValueOidString(i);else throw"DERObjectIdentifier oidName undefined: "+n},this.getFreshValueHex=function(){return this.hV},t!==void 0&&(typeof t=="string"?t.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(t):this.setValueName(t):t.oid!==void 0?this.setValueOidString(t.oid):t.hex!==void 0?this.setValueHex(t.hex):t.name!==void 0&&this.setValueName(t.name))};Re(k.asn1.DERObjectIdentifier,k.asn1.ASN1Object);k.asn1.DEREnumerated=function(t){k.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=k.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var r=new q(String(e),10);this.setByBigInteger(r)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},typeof t<"u"&&(typeof t.int<"u"?this.setByInteger(t.int):typeof t=="number"?this.setByInteger(t):typeof t.hex<"u"&&this.setValueHex(t.hex))};Re(k.asn1.DEREnumerated,k.asn1.ASN1Object);k.asn1.DERUTF8String=function(t){k.asn1.DERUTF8String.superclass.constructor.call(this,t),this.hT="0c"};Re(k.asn1.DERUTF8String,k.asn1.DERAbstractString);k.asn1.DERNumericString=function(t){k.asn1.DERNumericString.superclass.constructor.call(this,t),this.hT="12"};Re(k.asn1.DERNumericString,k.asn1.DERAbstractString);k.asn1.DERPrintableString=function(t){k.asn1.DERPrintableString.superclass.constructor.call(this,t),this.hT="13"};Re(k.asn1.DERPrintableString,k.asn1.DERAbstractString);k.asn1.DERTeletexString=function(t){k.asn1.DERTeletexString.superclass.constructor.call(this,t),this.hT="14"};Re(k.asn1.DERTeletexString,k.asn1.DERAbstractString);k.asn1.DERIA5String=function(t){k.asn1.DERIA5String.superclass.constructor.call(this,t),this.hT="16"};Re(k.asn1.DERIA5String,k.asn1.DERAbstractString);k.asn1.DERUTCTime=function(t){k.asn1.DERUTCTime.superclass.constructor.call(this,t),this.hT="17",this.setByDate=function(e){this.hTLV=null,this.isModified=!0,this.date=e,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return typeof this.date>"u"&&typeof this.s>"u"&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)),this.hV},t!==void 0&&(t.str!==void 0?this.setString(t.str):typeof t=="string"&&t.match(/^[0-9]{12}Z$/)?this.setString(t):t.hex!==void 0?this.setStringHex(t.hex):t.date!==void 0&&this.setByDate(t.date))};Re(k.asn1.DERUTCTime,k.asn1.DERAbstractTime);k.asn1.DERGeneralizedTime=function(t){k.asn1.DERGeneralizedTime.superclass.constructor.call(this,t),this.hT="18",this.withMillis=!1,this.setByDate=function(e){this.hTLV=null,this.isModified=!0,this.date=e,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return this.date===void 0&&this.s===void 0&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)),this.hV},t!==void 0&&(t.str!==void 0?this.setString(t.str):typeof t=="string"&&t.match(/^[0-9]{14}Z$/)?this.setString(t):t.hex!==void 0?this.setStringHex(t.hex):t.date!==void 0&&this.setByDate(t.date),t.millis===!0&&(this.withMillis=!0))};Re(k.asn1.DERGeneralizedTime,k.asn1.DERAbstractTime);k.asn1.DERSequence=function(t){k.asn1.DERSequence.superclass.constructor.call(this,t),this.hT="30",this.getFreshValueHex=function(){for(var e="",r=0;r<this.asn1Array.length;r++){var n=this.asn1Array[r];e+=n.getEncodedHex()}return this.hV=e,this.hV}};Re(k.asn1.DERSequence,k.asn1.DERAbstractStructured);k.asn1.DERSet=function(t){k.asn1.DERSet.superclass.constructor.call(this,t),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var e=new Array,r=0;r<this.asn1Array.length;r++){var n=this.asn1Array[r];e.push(n.getEncodedHex())}return this.sortFlag==!0&&e.sort(),this.hV=e.join(""),this.hV},typeof t<"u"&&typeof t.sortflag<"u"&&t.sortflag==!1&&(this.sortFlag=!1)};Re(k.asn1.DERSet,k.asn1.DERAbstractStructured);k.asn1.DERTaggedObject=function(t){k.asn1.DERTaggedObject.superclass.constructor.call(this),this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(e,r,n){this.hT=r,this.isExplicit=e,this.asn1Object=n,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=n.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,r),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},typeof t<"u"&&(typeof t.tag<"u"&&(this.hT=t.tag),typeof t.explicit<"u"&&(this.isExplicit=t.explicit),typeof t.obj<"u"&&(this.asn1Object=t.obj,this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))};Re(k.asn1.DERTaggedObject,k.asn1.ASN1Object);var Mne=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),w3=function(t){Mne(e,t);function e(r){var n=t.call(this)||this;return r&&(typeof r=="string"?n.parseKey(r):(e.hasPrivateKeyProperty(r)||e.hasPublicKeyProperty(r))&&n.parsePropertiesFrom(r)),n}return e.prototype.parseKey=function(r){try{var n=0,i=0,s=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/,o=s.test(r)?cne.decode(r):P2.unarmor(r),a=fne.decode(o);if(a.sub.length===3&&(a=a.sub[2].sub[0]),a.sub.length===9){n=a.sub[1].getHexStringValue(),this.n=we(n,16),i=a.sub[2].getHexStringValue(),this.e=parseInt(i,16);var l=a.sub[3].getHexStringValue();this.d=we(l,16);var c=a.sub[4].getHexStringValue();this.p=we(c,16);var h=a.sub[5].getHexStringValue();this.q=we(h,16);var f=a.sub[6].getHexStringValue();this.dmp1=we(f,16);var d=a.sub[7].getHexStringValue();this.dmq1=we(d,16);var p=a.sub[8].getHexStringValue();this.coeff=we(p,16)}else if(a.sub.length===2)if(a.sub[0].sub){var y=a.sub[1],m=y.sub[0];n=m.sub[0].getHexStringValue(),this.n=we(n,16),i=m.sub[1].getHexStringValue(),this.e=parseInt(i,16)}else n=a.sub[0].getHexStringValue(),this.n=we(n,16),i=a.sub[1].getHexStringValue(),this.e=parseInt(i,16);else return!1;return!0}catch(_){return!1}},e.prototype.getPrivateBaseKey=function(){var r={array:[new k.asn1.DERInteger({int:0}),new k.asn1.DERInteger({bigint:this.n}),new k.asn1.DERInteger({int:this.e}),new k.asn1.DERInteger({bigint:this.d}),new k.asn1.DERInteger({bigint:this.p}),new k.asn1.DERInteger({bigint:this.q}),new k.asn1.DERInteger({bigint:this.dmp1}),new k.asn1.DERInteger({bigint:this.dmq1}),new k.asn1.DERInteger({bigint:this.coeff})]},n=new k.asn1.DERSequence(r);return n.getEncodedHex()},e.prototype.getPrivateBaseKeyB64=function(){return Gi(this.getPrivateBaseKey())},e.prototype.getPublicBaseKey=function(){var r=new k.asn1.DERSequence({array:[new k.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new k.asn1.DERNull]}),n=new k.asn1.DERSequence({array:[new k.asn1.DERInteger({bigint:this.n}),new k.asn1.DERInteger({int:this.e})]}),i=new k.asn1.DERBitString({hex:"00"+n.getEncodedHex()}),s=new k.asn1.DERSequence({array:[r,i]});return s.getEncodedHex()},e.prototype.getPublicBaseKeyB64=function(){return Gi(this.getPublicBaseKey())},e.wordwrap=function(r,n){if(n=n||64,!r)return r;var i="(.{1,"+n+"})( +|$\n?)|(.{1,"+n+"})";return r.match(RegExp(i,"g")).join("\n")},e.prototype.getPrivateKey=function(){var r="-----BEGIN RSA PRIVATE KEY-----\n";return r+=e.wordwrap(this.getPrivateBaseKeyB64())+"\n",r+="-----END RSA PRIVATE KEY-----",r},e.prototype.getPublicKey=function(){var r="-----BEGIN PUBLIC KEY-----\n";return r+=e.wordwrap(this.getPublicBaseKeyB64())+"\n",r+="-----END PUBLIC KEY-----",r},e.hasPublicKeyProperty=function(r){return r=r||{},r.hasOwnProperty("n")&&r.hasOwnProperty("e")},e.hasPrivateKeyProperty=function(r){return r=r||{},r.hasOwnProperty("n")&&r.hasOwnProperty("e")&&r.hasOwnProperty("d")&&r.hasOwnProperty("p")&&r.hasOwnProperty("q")&&r.hasOwnProperty("dmp1")&&r.hasOwnProperty("dmq1")&&r.hasOwnProperty("coeff")},e.prototype.parsePropertiesFrom=function(r){this.n=r.n,this.e=r.e,r.hasOwnProperty("d")&&(this.d=r.d,this.p=r.p,this.q=r.q,this.dmp1=r.dmp1,this.dmq1=r.dmq1,this.coeff=r.coeff)},e}(Dne),Fne={},O0,Une=typeof process<"u"?(O0=Fne)===null||O0===void 0?void 0:O0.npm_package_version:void 0,zne=function(){function t(e){e===void 0&&(e={}),this.default_key_size=e.default_key_size?parseInt(e.default_key_size,10):1024,this.default_public_exponent=e.default_public_exponent||"010001",this.log=e.log||!1,this.key=e.key||null}return t.prototype.setKey=function(e){e?(this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new w3(e)):!this.key&&this.log&&console.error("A key was not set.")},t.prototype.setPrivateKey=function(e){this.setKey(e)},t.prototype.setPublicKey=function(e){this.setKey(e)},t.prototype.decrypt=function(e){try{return this.getKey().decrypt(f3(e))}catch(r){return!1}},t.prototype.encrypt=function(e){try{return Gi(this.getKey().encrypt(e))}catch(r){return!1}},t.prototype.encryptOAEP=function(e){try{return Gi(this.getKey().encrypt(e,Rne))}catch(r){return!1}},t.prototype.sign=function(e,r,n){r===void 0&&(r=function(i){return i}),n===void 0&&(n="");try{return Gi(this.getKey().sign(e,r,n))}catch(i){return!1}},t.prototype.signSha256=function(e){return this.sign(e,function(r){return b3(M2(r))},"sha256")},t.prototype.verify=function(e,r,n){n===void 0&&(n=function(i){return i});try{return this.getKey().verify(e,f3(r),n)}catch(i){return!1}},t.prototype.verifySha256=function(e,r){return this.verify(e,r,function(n){return b3(M2(n))})},t.prototype.getKey=function(e){if(!this.key){if(this.key=new w3,e&&{}.toString.call(e)==="[object Function]"){this.key.generateAsync(this.default_key_size,this.default_public_exponent,e);return}this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},t.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},t.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},t.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},t.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},t.version=Une,t}();const C3=t=>t==null||t===""||Array.isArray(t)&&t.length===0||typeof t=="object"&&Object.keys(t).length===0,Vne=(t,e)=>{const r=new zne;return r.setPublicKey(t),r.encrypt(e)};class jne{constructor(){}setActionData(e,r={status:"",errCode:"",errMessage:"",result:{}}){return{action:e,status:r.status,errCode:r.errCode,errMessage:r.errMessage,data:r.result||{}}}getValidatorType(e){return{1:xt.OLD_PASS,2:xt.NUM_PASS,5:xt.VERIFY}[e]}setCountdown(e=0,r,n,i=1e3){let s=null;const o=Date.now()+e*1e3,a=()=>{if(s&&clearTimeout(s),e<=0){clearTimeout(s),s=null,typeof n=="function"&&n();return}typeof r=="function"&&r(e,s),s=setTimeout(()=>{e=Math.round((o-Date.now())/1e3),a()},i)};return{start:a,stop:()=>{s&&clearTimeout(s)}}}async initCheck(e){try{const r=await tne(e);if(r.status||r.errCode===hr.CHECK_TIME_OUT){const n=r.result.availAuthTypes[0];return n===gt.NONE_AUTH?this.setActionData(te.NEXT,r):n===gt.OLD_PASS?this.setActionData(te.SHOW_OLD_PASS,r):n===gt.NUM_PASS?this.setActionData(te.SHOW_NUM_PASS,r):n===gt.SMS_CODE?this.setActionData(te.SHOW_VERIFY_CODE,r):this.setActionData(te.NEXT,r)}else return r.errCode===hr.ACCOUNT_NOT_ACTIVE?this.setActionData(te.ACCOUNT_NOT_ACTIVE,r):this.setActionData(te.ERROR,r)}catch(r){return console.log("ValidatorUseCase initCheck error ->",r),Promise.reject(r)}}async check(e){try{const r={authType:e.authType,payAuthToken:e.payAuthToken,rsaEncryptData:Vne(atob(ine),e.value)};console.log("payAuthCheck",r);const n=await rne(r);if(n.status){const i=n.result.nextAuthType;return i===gt.NONE_AUTH?this.setActionData(te.NEXT,n):i===gt.OLD_PASS?this.setActionData(te.SHOW_OLD_PASS,n):i===gt.NUM_PASS?this.setActionData(te.SHOW_NUM_PASS,n):i===gt.SMS_CODE?n.result.smsSendResult&&n.result.smsSendResult.sendStatus===!1?n.result.smsSendResult.sendRetCode===101?this.setActionData(te.NOT_BIND_PHONE,n):this.setActionData(te.SHOW_SMS_ERROR,n):this.setActionData(te.SHOW_VERIFY_CODE,n):this.setActionData(te.NEXT,n)}else return[hr.PAY_PASSWORD_ERROR,hr.SMS_CODE_ERROR,hr.SMS_CODE_CHECK_ERROR].includes(n.errCode)?this.setActionData(te.SHOW_INNER_ERROR,n):n.errCode===hr.PASSWORD_LOCKED?this.setActionData(te.PASSWORD_LOCKED,n):n.errCode===hr.NOT_BIND_PHONE?this.setActionData(te.NOT_BIND_PHONE,n):this.setActionData(te.ERROR,n)}catch(r){return console.log("ValidatorUseCase check error ->",r),Promise.reject(r)}}async sendCode(e){try{const r=await nne(e);return r.status?this.setActionData(te.SHOW_VERIFY_CODE,r):r.result.sendStatus===!1?this.setActionData(te.SHOW_SMS_ERROR,r):this.setActionData(te.SHOW_INNER_ERROR,r)}catch(r){return console.log("ValidatorUseCase sendCode error ->",r),Promise.reject(r)}}}const Hne="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADYAAAA2CAYAAACMRWrdAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAqaSURBVHgB1Vp7bFvVGf/OuQ/72rWT2onbuHmjQsWmlhYQlGlaJCZgCAplSrYyBtPQpGpo/IGYpmmb6mmb9sdoNTpNYtJAWtt1azta2iEEHUwRk9oitNJ2G2opTfNyHo7tJn7b955z9p2bB03iJLaTtOQXOfLjnnu/737ne/4ugeUFaWtrU5LJJBkbG6PyC13XRSAQ4J2dnQw/ClgmEFhChNra1Cu67vvFUzv9vrrV/nQyU61Q7hagOAjnKlAiBHCGF80TTtOKyzGWiySiPzrwSuyWQiEe6uy0YImwaMWEEOTC/v211cJ5a+M9dwUhlfbz0VEjX8hxqgADQjgQlVM8kNsLOGFCUE0hxDK5qjlURa3yZcDljPd+eD48qFmX733yyQgs0poVKyYVGnrjjaa1Dc13gKIFeXxUv5ZJcgdVCjChQ6nAPamgKTWvy0mpr7YALD/QM9B3vnnbtm6oUEEVKsC+UCgAV/q2rvX6WtKDw6gjzYFGMw5CpcZQLhSpGwGWKZjA+noIoqnB7WsWn/ZePXbg0OknQj+MTBwqDVHSBcqyGAYC9R+hPXerSmFLNpnUcEtlcWdx3G1L6qt4o9DkQtEV7jSqfIWkqX60LfTCh51l+GDJAp3Zu9e7+fY7HlA1pSmTSqfL3W6VQCpIqFBcq9zuvMl6Lnx87uS9zz+fKGVtSYoNHz++JtCw/hEzMuzJFAoZhcINBcNb6DJ0l1Zbl0gN97zpefDByEJrFlQsevi9df4W/6OxwWFNJzS31NuuVEjrFVjB8NfXm7Gu6ImajvvD8x0/r5AptJQ72LR9dHAQo7M6WylFATQeE1SxOOdk0Yak6Ft4HgX9i8uYwti0n6Vy6AFOb13QTMUHjs5nOTLHd+Liq696brvzS+2x3qtuB6X52UchND0D6G4sGlvNbbnooisJzhiltavj6FhEWJYh88r1v9uWE5bT39iS/uD9k3+b8LlZ0bKoxWT0e2fXrx4j+UJDzsynpQ7TDkBLEUpzue7eBtYf3qHX1AQ4leYUi0yqeB0B1IzFhtXgur/qzfV9wuROO9NNU04IXdPcRNX6n/rD744dOXKEzT5XESQ6z241SPa+XDKVLPY7lkgMsime/9/Fn1Z951utWsM6LCgYLAUIlitmfxhGX/tzl/OLG36peL2Em+asfMuAg8fj9eSFccrVtuX0zN9nucXRF0MBj2JtTidTGWn2YhenOikURqJrlYaGOq2p3r49RFVtocDEVCN9o5wXriHyD8+B9SRojfWgNtYHLbyGRYRZTAbp3TLtGJq1+agsGGZg1p3YvvOZrdlPLumYPtLzRkBMy0TBOlDuPtxBbDgCqbf/ObFNFSgLmBJ5PgeuL98H+vpW+yuiUIbJn9h1CVhzLCMsOzbm3P7Ud7eKXbtOoESiqGLdhw+38J5wS4HRnLJAWKdYqYP4zGFTb70L2i3NYNy5CYUsQDkgmgZmbz+k3+0EbV0QiOEA+9yUzOuz8sYzQbK852rL5bPnmvGrq1BEMdLUumFTYnBAUOlDIErOVzyTBUDhpFLE7QYFX+XC8YUNkP/oP8CSCVCN2tIXYiBJZbLitpbmjfi2e9JqU4qd37evFhQaxJCdkzaGMkDQL3DrAM/lp5QS0tfsbVrKemqXF/JW2u/LhC2zSusvHDsm74id26YUk/2UbD1QmAxUgus2DU9lMLdFJ6ReWDOpjMAgIrC6h0rSvEzb0ZhWnbNuhQnF7LOEQiG18e7NwUQyuSSFrchmYTKolAQ63u4IZpW+ZgZGM2nRuOWu4OH2djty2YpdOXXKB5mMn6jUhKWAFK6c1/VrKoSiYIObSNYci8dr5GdbMTmj4IlrhjIzxa8gSNmt0bix+5nnfPKzrZgv4KvJ58xl76+WG6ZlMWfAO2Uxks/nvGjLFWutScjhEcvkq2AiBCmC8lXYq654i8lpGOrilrNMejsqiqEWh0srXzEm7BmfQw5oKRY/BPOxVHXZprI3Cppd3BJVTp3t4GH/Ezen5V9K8ImXBNXtppRaslyHFQ6G3bdKhVVVVcXpx1IjBfJAyIpXDAtWYilK3uPxCLkLOTGFnBPe4KHa0gPVwgE7TUkmx1ZMsh44RCmzO/z8AacTisPrGMO341ZKIJXj0LUVbzGpQ2rwWky+t5X58Z9+H6fVq7NsvA+vDNJDb6abEmx+qv1ZybXJj3Y/tt3ni4LLHcfstgaLkbJLK8Gx5eAcqMMxfg1dGx/MyFl4CdlRNqlyiAN4HuxdoBJYXOiwyj0kCUT52VasA+dyXdueGKhfG6zDuhHKBXUZdj+V+dcZcN65EfhYElgsPiH1wuvtmUf/AHbdDKjHC5XA63LTgQ/ODEyyolMddFI4Lmm+1RvzkQjMHC2XAs+2h+wpVfrt92xBpQWnzU8n+y1epHLj41Mh7+NfA+LQy+fYMFVRX3UhGu76ZPKrKcU2fnv7CPz7XJhYVpMgJAtlgnq94O14fEJwMttSk/43p9CkJOvOxPg8n+GW4T2bnn56ZEqez65LxKWuy+cNnJmzxeQ0OuEvM7pks6sXEodOALs2NkcnDRUB+TO6CmW+dPniebjOo6cpcFtHRzdtaryqK+AUCxTFnAt7eAslIt35PkR/vQdwLF7aAnluPv8IUMqITYkhZd6Asl//G51+LhD7X9l72vBUm5JJnPOMfOIf57TUEO959CFYsztkzx4XhOQmGMcCdu5OyqZzCVcllXvswGtydj/NELO23NMvvRTJMv2spEfZHCdWJIG0pnaw0N0/JCe4tvNb1rwvxe8H9/1tmEUd8x4nz2X29IHVFx5y1tQOqhbXiuvOSVWV15D89BOh0CyerOjtbscR1l++/4PHeZ4Vp5EwjxON5lCxBisc/qbq963FoSkTi6SRhPR0bAzNaDziaAweVBsb+jG6OmcTgEI4NYdbOPS+B3/+k+PFSPc5iT9Jpt/zla+2x3p6XHoxNlNqq5KsicQfj46tpoQsSaPKhSBqbU1cTpSFWXDNJP4kkD51VDc1ZUYu/fdQoKMjBaUSf5OwSXWkahPIP5Ni/PMyULW2UJypc1G1jHBn9dpaKxUbeb1cqnYaYq+/Ve9rCT4S6w3ruqJnbya5nkNyvTZYZ8b7hv7u//rD/fMdX5KQ4ug7AWitf8QcGvJmcoWsot7Y+Yj9OISuu7TAmmSkb/DNNY/dP7zQmpLv/giS7d7W9Q+oVGmWTKIk3W6E9WTH4fGscuH0qfvTrosnNzz7bLKUdWUJJh/beyG0524P0qPIJOoFJnKYyNhyPHIkKwoMT4a7qqqQxZD+8HI9cgTXRZ6jL/4msH3nN7bynt6WVCohhKrmFOn4bJHDZEVy2JID5k7DZRDa2nL1j7/dfeZ7L7+84NYrJmylIEjtNje1rt+EDXmQR0f0RC7HVSwLoVxyA0OuxZnudboo9flNjPPhHqxbm9rbu0mFaWQpthA5c/BgoA7U9Y13bFkHmazPSsQMU5IcGLBxP3GK81iQJZA9u8RCSOCsRdaCckaB7bzsfMFlxHvPnQ0PgnX5nh07ImSReXHJH529pCj+3Tue8znrkcHJpKvGH50Fh5w22xfEGaZ8dJZxkXa43GOJSDz6s8/jo7MLgCJBQCORyFTuNgxDyLnfcj/s/H/NwDMEPJBhHQAAAABJRU5ErkJggg==",qne={name:"KPaymentValidator",components:{KPassword:Lre,KNumPassword:Nre,KVerifyCode:Ore},props:{initParams:{type:Object,required:!0,default:()=>({})},sites:{type:Object,default:()=>({})},options:{type:Object,default:()=>({hideTitle:!1,hideCancelBtn:!1,theme:"seller",buttonHeight:"32px",displayMode:"dialog",dialogOptions:{}})}},emits:["success","error","send-code","cancel","update:visible"],data(){return{APPLY_TYPE:xt,useCase:null,visible:!1,loading:!1,btnActive:!1,validateData:{title:"",applyType:"",confirmText:"",errMsg:"",verifyData:{},failNum:0},payAuthToken:"",payAuthType:"",error:{title:"",desc:"",btnText:"",disabled:!1},stopLongTimeFn:null}},computed:{isDialog(){return this.mergedOptions.displayMode==="dialog"},wrapperTag(){return this.isDialog?"k-dialog":"div"},wrapperProps(){return this.isDialog?{...this.mergedOptions.dialogOptions,visible:this.visible,title:this.validateData.title,customClass:"payment-validator-dialog"}:{}},mergedOptions(){return{hideTitle:!1,hideCancelBtn:!1,theme:"seller",buttonHeight:"32px",displayMode:"dialog",dialogOptions:{},...this.options}}},watch:{initParams:{handler(t){C3(t)},deep:!0}},created(){this.useCase=new jne,C3(this.initParams)||this.init()},beforeUnmount(){this.clearLongTimeTimeout()},methods:{async init(){this.loading=!0,this.visible=!1,this.validateData={title:"",applyType:"",confirmText:"",errMsg:"",verifyData:{},failNum:0},this.clearLongTimeTimeout(),console.log("initParams",this.initParams);try{const t={...this.initParams},e=await this.useCase.initCheck(t);this.handleAction(e)}catch(t){this.$emit("error",{code:"INIT_ERROR",message:t.message||"初始化失败"})}finally{this.loading=!1}},handleAction(t){const{action:e,data:r}=t;e===te.SHOW_OLD_PASS||e===te.SHOW_NUM_PASS?(this.visible=!0,this.validateData={title:"请输入支付密码",applyType:this.useCase.getValidatorType(r.availAuthTypes[0]),confirmText:r.confirmButtonText,errMsg:""},this.payAuthToken=r.payAuthToken,this.payAuthType=r.availAuthTypes[0],this.stopLongTimeFn=this.longTimeTimer(r.validTimes)):e===te.SHOW_VERIFY_CODE?(this.visible=!0,this.payAuthToken=r.payAuthToken,this.validateData={title:"请输入短信验证码",applyType:xt.VERIFY,verifyData:r.smsSendResult,errMsg:""}):e===te.NEXT?this.$emit("success",r):e===te.ACCOUNT_NOT_ACTIVE?Ue.confirm("为保障您资金安全，请设置支付密码后付款。","设置支付密码",{okText:"去设置",cancelText:"取消",headerBorder:!1,width:"320px",theme:this.mergedOptions.theme}).then(()=>{window.location.href="".concat(this.sites.s_pay,"openAccount.html")}).catch(()=>{}):t.action===te.ERROR&&Me.error(t.errMessage)},async confirm(){var e,r,n,i;if(this.loading||!this.visible||!this.$refs.validator)return;const t=await this.$refs.validator.validate();if(t.validate){this.loading=!0;try{let s="";this.validateData.applyType===xt.OLD_PASS||this.validateData.applyType===xt.NUM_PASS?s=t.data.password:this.validateData.applyType===xt.VERIFY&&(s=t.data.verifyCode);const o={authType:this.payAuthType,payAuthToken:this.payAuthToken,value:s},a=await this.useCase.check(o);this.payAuthToken=(e=a.data)==null?void 0:e.payAuthToken,this.payAuthType=(r=a.data)==null?void 0:r.nextAuthType,a.action===te.NEXT?this.$emit("success",a.data):a.action===te.SHOW_INNER_ERROR?this.payAuthType===gt.OLD_PASS||this.payAuthType===gt.NUM_PASS?this.validateData={...this.validateData,errMsg:a.errMessage,failNum:Date.now()}:this.payAuthType===gt.SMS_CODE&&(this.validateData={...this.validateData,applyType:this.useCase.getValidatorType(a.data.nextAuthType),errMsg:a.errMessage,failNum:Date.now()}):a.action===te.SHOW_VERIFY_CODE?this.handleAction(a):a.action===te.PASSWORD_LOCKED?(this.clearLongTimeTimeout(),this.visible=!1,(this.$refs.validator||[]).length&&this.$refs.validator[0].clear(),Ue.confirm(a.errMessage,{width:"320px",okText:"找回密码",cancelText:"取消",headerBorder:!1,theme:this.mergedOptions.theme}).then(()=>{window.open("".concat(this.sites.s_pay,"account/findPwd.html"))}).catch(()=>{})):a.action===te.NOT_BIND_PHONE?(this.clearLongTimeTimeout(),this.error={title:"尚未绑定手机号",desc:"为了保障您的资金安全，请先绑定手机号后继续。",btnText:"去绑定",onclick:()=>{window.location.href="".concat(this.sites.s_user,"person/bind_phone.html")},disabled:!1}):a.action===te.SHOW_SMS_ERROR?this.error={title:"短信验证码异常",desc:(i=(n=a.data)==null?void 0:n.smsSendResult)==null?void 0:i.sendRetMessage,btnText:"确认",onclick:()=>{},disabled:!0}:a.action===te.ERROR&&(Me.error(a.errMessage),a.errCode===hr.CHECK_PAY_AUTN_TOKEN_INVALID&&(this.payAuthToken=a.data.payAuthToken),this.$emit("error",{code:a.action,message:a.errMessage}))}catch(s){this.$emit("error",{code:"CHECK_ERROR",message:s.message})}finally{this.loading=!1}}else this.$emit("error",{code:"VALIDATE_ERROR",message:"校验失败"})},async handleResend(t){var e;try{const r={sceneType:this.initParams.sceneType||"PAY"},n=await this.useCase.sendCode(r);n.action===te.SHOW_VERIFY_CODE?(this.validateData={...this.validateData,applyType:xt.VERIFY,verifyData:n.data,errMsg:""},this.$emit("send-code",n.data),setTimeout(()=>t&&t())):n.action===te.SHOW_SMS_ERROR?this.error={title:"短信验证码异常",desc:(e=n.data)==null?void 0:e.sendRetMessage,btnText:"确认",disabled:!0}:this.validateData={...this.validateData,applyType:xt.VERIFY,verifyData:n.data,errMsg:n.errMessage}}catch(r){this.validateData.errMsg="验证码发送失败"}},handleFinish(t){this.btnActive=t},clearLongTimeTimeout(){typeof this.stopLongTimeFn=="function"&&this.stopLongTimeFn()},longTimeTimer(t){const{start:e,stop:r}=this.useCase.setCountdown(t,n=>{this.clearLongTimeTimeout()},()=>{this.visible=!1,this.clearLongTimeTimeout(),Ue.alert("您在当前页面停留时间过长，为保障您的资金安全，请重新输入支付密码。",{okText:"我知道了",width:"320px",theme:this.mergedOptions.theme}).then(()=>{this.error={title:"",desc:"",btnText:"",disabled:!1},this.init()})});return e(),r},handleCancel(){this.$emit("cancel")}}},Kne=t=>(aa("data-v-b11fabae"),t=t(),la(),t),Qne={key:0,class:"validator-wrap"},Wne={key:1,class:"error"},Gne={key:0,class:"error-content-dialog"},Zne={class:"error-text"},Yne={key:1,class:"error-content"},Jne=Kne(()=>u("img",{src:Hne,alt:""},null,-1)),Xne={class:"error-text"},eie={class:"error-title"},tie={class:"error-desc"},rie={class:"bottom-btn"};function nie(t,e,r,n,i,s){const o=se("k-password"),a=se("k-verify-code"),l=se("k-num-password"),c=se("k-button");return s.isDialog||i.visible?(g(),ne(B8(s.wrapperTag),zr({key:0},s.wrapperProps,{onCancel:s.handleCancel}),{default:F(()=>[i.visible?(g(),v("div",Qne,[i.error.title?b("",!0):(g(),v(P,{key:0},[ge(t.$slots,"tips",{},void 0,!0),i.validateData.applyType===i.APPLY_TYPE.OLD_PASS?(g(),ne(o,{key:0,ref:"validator",errMsg:i.validateData.errMsg,sites:r.sites,width:"252px",failNum:i.validateData.failNum,"onPassword:finish":s.handleFinish,"onPassword:enter":s.confirm},null,8,["errMsg","sites","failNum","onPassword:finish","onPassword:enter"])):b("",!0),i.validateData.applyType===i.APPLY_TYPE.VERIFY?(g(),ne(a,{key:1,ref:"validator",data:i.validateData.verifyData,errMsg:i.validateData.errMsg,width:"252px",failNum:i.validateData.failNum,"onVerifyCode:resend":s.handleResend,"onVerifyCode:finish":s.handleFinish,"onVerifyCode:enter":s.confirm},null,8,["data","errMsg","failNum","onVerifyCode:resend","onVerifyCode:finish","onVerifyCode:enter"])):b("",!0),i.validateData.applyType===i.APPLY_TYPE.NUM_PASS?(g(),ne(l,{key:2,ref:"validator",errMsg:i.validateData.errMsg,sites:r.sites,failNum:i.validateData.failNum,"onNumPassword:finish":s.handleFinish,"onNumPassword:enter":s.confirm},null,8,["errMsg","sites","failNum","onNumPassword:finish","onNumPassword:enter"])):b("",!0)],64)),i.error.title?(g(),v("div",Wne,[s.isDialog?(g(),v("div",Gne,[u("div",Zne,C(i.error.title)+"，"+C(i.error.desc),1)])):(g(),v("div",Yne,[Jne,u("div",Xne,[u("p",eie,C(i.error.title),1),u("p",tie,C(i.error.desc),1)])]))])):b("",!0),u("div",rie,[i.error.title?b("",!0):(g(),ne(c,{key:0,theme:s.mergedOptions.theme,height:s.mergedOptions.buttonHeight,class:T(["pay-btn",{"pay-btn-gray":!i.btnActive}]),type:"fill",loading:i.loading,onClick:s.confirm},{default:F(()=>[V(C(i.validateData.confirmText||"确认"),1)]),_:1},8,["theme","height","class","loading","onClick"])),i.error.title?(g(),ne(c,{key:1,class:"error-btn",theme:s.mergedOptions.theme,height:s.mergedOptions.buttonHeight,disabled:i.error.disabled,onClick:i.error.onclick},{default:F(()=>[V(C(i.error.btnText),1)]),_:1},8,["theme","height","disabled","onClick"])):b("",!0),s.mergedOptions.hideCancelBtn?b("",!0):(g(),ne(c,{key:2,theme:s.mergedOptions.theme,height:s.mergedOptions.buttonHeight,type:"plain",onClick:s.handleCancel,style:{"margin-left":"16px"}},{default:F(()=>[V("取消 ")]),_:1},8,["theme","height","onClick"]))])])):b("",!0)]),_:3},16,["onCancel"])):b("",!0)}const iie=ye(qne,[["render",nie],["__scopeId","data-v-b11fabae"]]);ze(iie);const sie="modulepreload",oie=function(t){return"https://static.kongfz.com/search-v3/"+t},A3={},wie=function(e,r,n){let i=Promise.resolve();if(r&&r.length>0){const s=document.getElementsByTagName("link"),o=document.querySelector("meta[property=csp-nonce]"),a=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));i=Promise.all(r.map(l=>{if(l=oie(l),l in A3)return;A3[l]=!0;const c=l.endsWith(".css"),h=c?'[rel="stylesheet"]':"";if(!!n)for(let p=s.length-1;p>=0;p--){const y=s[p];if(y.href===l&&(!c||y.rel==="stylesheet"))return}else if(document.querySelector('link[href="'.concat(l,'"]').concat(h)))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":sie,c||(d.as="script",d.crossOrigin=""),d.href=l,a&&d.setAttribute("nonce",a),document.head.appendChild(d),c)return new Promise((p,y)=>{d.addEventListener("load",p),d.addEventListener("error",()=>y(new Error("Unable to preload CSS for ".concat(l))))})}))}return i.then(()=>e()).catch(s=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=s,window.dispatchEvent(o),!o.defaultPrevented)throw s})};export{mie as K,gie as _,die as a,fie as b,vie as c,yie as d,pie as e,bie as f,_ie as g,Z as h,ye as i,B3 as j,wie as k,uie as l,hie as m};
