@xlui/xux-ui 1.2.0 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.js +36 -36
- package/package.json +12 -6
- package/src/components/Radio/index.vue +30 -15
- package/src/index.ts +9 -0
- package/dist/assets/browser-Bfcp93e9.js +0 -8
- package/dist/assets/browser-Dj1SWzn2.js +0 -1456
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");var Ee=typeof document<"u"?document.currentScript:null;const qe=/^[a-z0-9]+(-[a-z0-9]+)*$/,we=(l,u,t,a="")=>{const n=l.split(":");if(l.slice(0,1)==="@"){if(n.length<2||n.length>3)return null;a=n.shift().slice(1)}if(n.length>3||!n.length)return null;if(n.length>1){const d=n.pop(),r=n.pop(),i={provider:n.length>0?n[0]:a,prefix:r,name:d};return u&&!he(i)?null:i}const o=n[0],s=o.split("-");if(s.length>1){const d={provider:a,prefix:s.shift(),name:s.join("-")};return u&&!he(d)?null:d}if(t&&a===""){const d={provider:a,prefix:"",name:o};return u&&!he(d,t)?null:d}return null},he=(l,u)=>l?!!((u&&l.prefix===""||l.prefix)&&l.name):!1,Ke=Object.freeze({left:0,top:0,width:16,height:16}),ke=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Ce=Object.freeze({...Ke,...ke}),Me=Object.freeze({...Ce,body:"",hidden:!1});function xl(l,u){const t={};!l.hFlip!=!u.hFlip&&(t.hFlip=!0),!l.vFlip!=!u.vFlip&&(t.vFlip=!0);const a=((l.rotate||0)+(u.rotate||0))%4;return a&&(t.rotate=a),t}function Ae(l,u){const t=xl(l,u);for(const a in Me)a in ke?a in l&&!(a in t)&&(t[a]=ke[a]):a in u?t[a]=u[a]:a in l&&(t[a]=l[a]);return t}function Sl(l,u){const t=l.icons,a=l.aliases||Object.create(null),n=Object.create(null);function o(s){if(t[s])return n[s]=[];if(!(s in n)){n[s]=null;const d=a[s]&&a[s].parent,r=d&&o(d);r&&(n[s]=[d].concat(r))}return n[s]}return Object.keys(t).concat(Object.keys(a)).forEach(o),n}function El(l,u,t){const a=l.icons,n=l.aliases||Object.create(null);let o={};function s(d){o=Ae(a[d]||n[d],o)}return s(u),t.forEach(s),Ae(l,o)}function Ze(l,u){const t=[];if(typeof l!="object"||typeof l.icons!="object")return t;l.not_found instanceof Array&&l.not_found.forEach(n=>{u(n,null),t.push(n)});const a=Sl(l);for(const n in a){const o=a[n];o&&(u(n,El(l,n,o)),t.push(n))}return t}const $l={provider:"",aliases:{},not_found:{},...Ke};function $e(l,u){for(const t in u)if(t in l&&typeof l[t]!=typeof u[t])return!1;return!0}function Qe(l){if(typeof l!="object"||l===null)return null;const u=l;if(typeof u.prefix!="string"||!l.icons||typeof l.icons!="object"||!$e(l,$l))return null;const t=u.icons;for(const n in t){const o=t[n];if(!n||typeof o.body!="string"||!$e(o,Me))return null}const a=u.aliases||Object.create(null);for(const n in a){const o=a[n],s=o.parent;if(!n||typeof s!="string"||!t[s]&&!a[s]||!$e(o,Me))return null}return u}const ze=Object.create(null);function Bl(l,u){return{provider:l,prefix:u,icons:Object.create(null),missing:new Set}}function ve(l,u){const t=ze[l]||(ze[l]=Object.create(null));return t[u]||(t[u]=Bl(l,u))}function Je(l,u){return Qe(u)?Ze(u,(t,a)=>{a?l.icons[t]=a:l.missing.add(t)}):[]}function Ml(l,u,t){try{if(typeof t.body=="string")return l.icons[u]={...t},!0}catch{}return!1}let fe=!1;function el(l){return typeof l=="boolean"&&(fe=l),fe}function Vl(l){const u=typeof l=="string"?we(l,!0,fe):l;if(u){const t=ve(u.provider,u.prefix),a=u.name;return t.icons[a]||(t.missing.has(a)?null:void 0)}}function Nl(l,u){const t=we(l,!0,fe);if(!t)return!1;const a=ve(t.provider,t.prefix);return u?Ml(a,t.name,u):(a.missing.add(t.name),!0)}function Pl(l,u){if(typeof l!="object")return!1;if(typeof u!="string"&&(u=l.provider||""),fe&&!u&&!l.prefix){let n=!1;return Qe(l)&&(l.prefix="",Ze(l,(o,s)=>{Nl(o,s)&&(n=!0)})),n}const t=l.prefix;if(!he({prefix:t,name:"a"}))return!1;const a=ve(u,t);return!!Je(a,l)}const ll=Object.freeze({width:null,height:null}),al=Object.freeze({...ll,...ke}),jl=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Tl=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Ie(l,u,t){if(u===1)return l;if(t=t||100,typeof l=="number")return Math.ceil(l*u*t)/t;if(typeof l!="string")return l;const a=l.split(jl);if(a===null||!a.length)return l;const n=[];let o=a.shift(),s=Tl.test(o);for(;;){if(s){const d=parseFloat(o);isNaN(d)?n.push(o):n.push(Math.ceil(d*u*t)/t)}else n.push(o);if(o=a.shift(),o===void 0)return n.join("");s=!s}}function Dl(l,u="defs"){let t="";const a=l.indexOf("<"+u);for(;a>=0;){const n=l.indexOf(">",a),o=l.indexOf("</"+u);if(n===-1||o===-1)break;const s=l.indexOf(">",o);if(s===-1)break;t+=l.slice(n+1,o).trim(),l=l.slice(0,a).trim()+l.slice(s+1)}return{defs:t,content:l}}function Ll(l,u){return l?"<defs>"+l+"</defs>"+u:u}function _l(l,u,t){const a=Dl(l);return Ll(a.defs,u+a.content+t)}const Al=l=>l==="unset"||l==="undefined"||l==="none";function zl(l,u){const t={...Ce,...l},a={...al,...u},n={left:t.left,top:t.top,width:t.width,height:t.height};let o=t.body;[t,a].forEach(b=>{const v=[],w=b.hFlip,C=b.vFlip;let x=b.rotate;w?C?x+=2:(v.push("translate("+(n.width+n.left).toString()+" "+(0-n.top).toString()+")"),v.push("scale(-1 1)"),n.top=n.left=0):C&&(v.push("translate("+(0-n.left).toString()+" "+(n.height+n.top).toString()+")"),v.push("scale(1 -1)"),n.top=n.left=0);let S;switch(x<0&&(x-=Math.floor(x/4)*4),x=x%4,x){case 1:S=n.height/2+n.top,v.unshift("rotate(90 "+S.toString()+" "+S.toString()+")");break;case 2:v.unshift("rotate(180 "+(n.width/2+n.left).toString()+" "+(n.height/2+n.top).toString()+")");break;case 3:S=n.width/2+n.left,v.unshift("rotate(-90 "+S.toString()+" "+S.toString()+")");break}x%2===1&&(n.left!==n.top&&(S=n.left,n.left=n.top,n.top=S),n.width!==n.height&&(S=n.width,n.width=n.height,n.height=S)),v.length&&(o=_l(o,'<g transform="'+v.join(" ")+'">',"</g>"))});const s=a.width,d=a.height,r=n.width,i=n.height;let c,g;s===null?(g=d===null?"1em":d==="auto"?i:d,c=Ie(g,r/i)):(c=s==="auto"?r:s,g=d===null?Ie(c,i/r):d==="auto"?i:d);const h={},f=(b,v)=>{Al(v)||(h[b]=v.toString())};f("width",c),f("height",g);const p=[n.left,n.top,r,i];return h.viewBox=p.join(" "),{attributes:h,viewBox:p,body:o}}const Il=/\sid="(\S+)"/g,Ol="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Yl=0;function Fl(l,u=Ol){const t=[];let a;for(;a=Il.exec(l);)t.push(a[1]);if(!t.length)return l;const n="suffix"+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(o=>{const s=typeof u=="function"?u(o):u+(Yl++).toString(),d=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");l=l.replace(new RegExp('([#;"])('+d+')([")]|\\.[a-z])',"g"),"$1"+s+n+"$3")}),l=l.replace(new RegExp(n,"g"),""),l}const Ve=Object.create(null);function Rl(l,u){Ve[l]=u}function Ne(l){return Ve[l]||Ve[""]}function je(l){let u;if(typeof l.resources=="string")u=[l.resources];else if(u=l.resources,!(u instanceof Array)||!u.length)return null;return{resources:u,path:l.path||"/",maxURL:l.maxURL||500,rotate:l.rotate||750,timeout:l.timeout||5e3,random:l.random===!0,index:l.index||0,dataAfterTimeout:l.dataAfterTimeout!==!1}}const Te=Object.create(null),be=["https://api.simplesvg.com","https://api.unisvg.com"],pe=[];for(;be.length>0;)be.length===1||Math.random()>.5?pe.push(be.shift()):pe.push(be.pop());Te[""]=je({resources:["https://api.iconify.design"].concat(pe)});function Xl(l,u){const t=je(u);return t===null?!1:(Te[l]=t,!0)}function De(l){return Te[l]}const Hl=()=>{let l;try{if(l=fetch,typeof l=="function")return l}catch{}};let Oe=Hl();function Wl(l,u){const t=De(l);if(!t)return 0;let a;if(!t.maxURL)a=0;else{let n=0;t.resources.forEach(s=>{n=Math.max(n,s.length)});const o=u+".json?icons=";a=t.maxURL-n-t.path.length-o.length}return a}function Ul(l){return l===404}const Gl=(l,u,t)=>{const a=[],n=Wl(l,u),o="icons";let s={type:o,provider:l,prefix:u,icons:[]},d=0;return t.forEach((r,i)=>{d+=r.length+1,d>=n&&i>0&&(a.push(s),s={type:o,provider:l,prefix:u,icons:[]},d=r.length),s.icons.push(r)}),a.push(s),a};function ql(l){if(typeof l=="string"){const u=De(l);if(u)return u.path}return"/"}const Kl=(l,u,t)=>{if(!Oe){t("abort",424);return}let a=ql(u.provider);switch(u.type){case"icons":{const o=u.prefix,d=u.icons.join(","),r=new URLSearchParams({icons:d});a+=o+".json?"+r.toString();break}case"custom":{const o=u.uri;a+=o.slice(0,1)==="/"?o.slice(1):o;break}default:t("abort",400);return}let n=503;Oe(l+a).then(o=>{const s=o.status;if(s!==200){setTimeout(()=>{t(Ul(s)?"abort":"next",s)});return}return n=501,o.json()}).then(o=>{if(typeof o!="object"||o===null){setTimeout(()=>{o===404?t("abort",o):t("next",n)});return}setTimeout(()=>{t("success",o)})}).catch(()=>{t("next",n)})},Zl={prepare:Gl,send:Kl};function Ql(l){const u={loaded:[],missing:[],pending:[]},t=Object.create(null);l.sort((n,o)=>n.provider!==o.provider?n.provider.localeCompare(o.provider):n.prefix!==o.prefix?n.prefix.localeCompare(o.prefix):n.name.localeCompare(o.name));let a={provider:"",prefix:"",name:""};return l.forEach(n=>{if(a.name===n.name&&a.prefix===n.prefix&&a.provider===n.provider)return;a=n;const o=n.provider,s=n.prefix,d=n.name,r=t[o]||(t[o]=Object.create(null)),i=r[s]||(r[s]=ve(o,s));let c;d in i.icons?c=u.loaded:s===""||i.missing.has(d)?c=u.missing:c=u.pending;const g={provider:o,prefix:s,name:d};c.push(g)}),u}function tl(l,u){l.forEach(t=>{const a=t.loaderCallbacks;a&&(t.loaderCallbacks=a.filter(n=>n.id!==u))})}function Jl(l){l.pendingCallbacksFlag||(l.pendingCallbacksFlag=!0,setTimeout(()=>{l.pendingCallbacksFlag=!1;const u=l.loaderCallbacks?l.loaderCallbacks.slice(0):[];if(!u.length)return;let t=!1;const a=l.provider,n=l.prefix;u.forEach(o=>{const s=o.icons,d=s.pending.length;s.pending=s.pending.filter(r=>{if(r.prefix!==n)return!0;const i=r.name;if(l.icons[i])s.loaded.push({provider:a,prefix:n,name:i});else if(l.missing.has(i))s.missing.push({provider:a,prefix:n,name:i});else return t=!0,!0;return!1}),s.pending.length!==d&&(t||tl([l],o.id),o.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),o.abort))})}))}let ea=0;function la(l,u,t){const a=ea++,n=tl.bind(null,t,a);if(!u.pending.length)return n;const o={id:a,icons:u,callback:l,abort:n};return t.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(o)}),n}function aa(l,u=!0,t=!1){const a=[];return l.forEach(n=>{const o=typeof n=="string"?we(n,u,t):n;o&&a.push(o)}),a}var ta={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function na(l,u,t,a){const n=l.resources.length,o=l.random?Math.floor(Math.random()*n):l.index;let s;if(l.random){let B=l.resources.slice(0);for(s=[];B.length>1;){const N=Math.floor(Math.random()*B.length);s.push(B[N]),B=B.slice(0,N).concat(B.slice(N+1))}s=s.concat(B)}else s=l.resources.slice(o).concat(l.resources.slice(0,o));const d=Date.now();let r="pending",i=0,c,g=null,h=[],f=[];typeof a=="function"&&f.push(a);function p(){g&&(clearTimeout(g),g=null)}function b(){r==="pending"&&(r="aborted"),p(),h.forEach(B=>{B.status==="pending"&&(B.status="aborted")}),h=[]}function v(B,N){N&&(f=[]),typeof B=="function"&&f.push(B)}function w(){return{startTime:d,payload:u,status:r,queriesSent:i,queriesPending:h.length,subscribe:v,abort:b}}function C(){r="failed",f.forEach(B=>{B(void 0,c)})}function x(){h.forEach(B=>{B.status==="pending"&&(B.status="aborted")}),h=[]}function S(B,N,m){const P=N!=="success";switch(h=h.filter(E=>E!==B),r){case"pending":break;case"failed":if(P||!l.dataAfterTimeout)return;break;default:return}if(N==="abort"){c=m,C();return}if(P){c=m,h.length||(s.length?V():C());return}if(p(),x(),!l.random){const E=l.resources.indexOf(B.resource);E!==-1&&E!==l.index&&(l.index=E)}r="completed",f.forEach(E=>{E(m)})}function V(){if(r!=="pending")return;p();const B=s.shift();if(B===void 0){if(h.length){g=setTimeout(()=>{p(),r==="pending"&&(x(),C())},l.timeout);return}C();return}const N={status:"pending",resource:B,callback:(m,P)=>{S(N,m,P)}};h.push(N),i++,g=setTimeout(V,l.rotate),t(B,u,N.callback)}return setTimeout(V),w}function nl(l){const u={...ta,...l};let t=[];function a(){t=t.filter(d=>d().status==="pending")}function n(d,r,i){const c=na(u,d,r,(g,h)=>{a(),i&&i(g,h)});return t.push(c),c}function o(d){return t.find(r=>d(r))||null}return{query:n,find:o,setIndex:d=>{u.index=d},getIndex:()=>u.index,cleanup:a}}function Ye(){}const Be=Object.create(null);function oa(l){if(!Be[l]){const u=De(l);if(!u)return;const t=nl(u),a={config:u,redundancy:t};Be[l]=a}return Be[l]}function ua(l,u,t){let a,n;if(typeof l=="string"){const o=Ne(l);if(!o)return t(void 0,424),Ye;n=o.send;const s=oa(l);s&&(a=s.redundancy)}else{const o=je(l);if(o){a=nl(o);const s=l.resources?l.resources[0]:"",d=Ne(s);d&&(n=d.send)}}return!a||!n?(t(void 0,424),Ye):a.query(u,n,t)().abort}function Fe(){}function sa(l){l.iconsLoaderFlag||(l.iconsLoaderFlag=!0,setTimeout(()=>{l.iconsLoaderFlag=!1,Jl(l)}))}function ca(l){const u=[],t=[];return l.forEach(a=>{(a.match(qe)?u:t).push(a)}),{valid:u,invalid:t}}function ge(l,u,t){function a(){const n=l.pendingIcons;u.forEach(o=>{n&&n.delete(o),l.icons[o]||l.missing.add(o)})}if(t&&typeof t=="object")try{if(!Je(l,t).length){a();return}}catch(n){console.error(n)}a(),sa(l)}function Re(l,u){l instanceof Promise?l.then(t=>{u(t)}).catch(()=>{u(null)}):u(l)}function ra(l,u){l.iconsToLoad?l.iconsToLoad=l.iconsToLoad.concat(u).sort():l.iconsToLoad=u,l.iconsQueueFlag||(l.iconsQueueFlag=!0,setTimeout(()=>{l.iconsQueueFlag=!1;const{provider:t,prefix:a}=l,n=l.iconsToLoad;if(delete l.iconsToLoad,!n||!n.length)return;const o=l.loadIcon;if(l.loadIcons&&(n.length>1||!o)){Re(l.loadIcons(n,a,t),c=>{ge(l,n,c)});return}if(o){n.forEach(c=>{const g=o(c,a,t);Re(g,h=>{const f=h?{prefix:a,icons:{[c]:h}}:null;ge(l,[c],f)})});return}const{valid:s,invalid:d}=ca(n);if(d.length&&ge(l,d,null),!s.length)return;const r=a.match(qe)?Ne(t):null;if(!r){ge(l,s,null);return}r.prepare(t,a,s).forEach(c=>{ua(t,c,g=>{ge(l,c.icons,g)})})}))}const ia=(l,u)=>{const t=aa(l,!0,el()),a=Ql(t);if(!a.pending.length){let r=!0;return u&&setTimeout(()=>{r&&u(a.loaded,a.missing,a.pending,Fe)}),()=>{r=!1}}const n=Object.create(null),o=[];let s,d;return a.pending.forEach(r=>{const{provider:i,prefix:c}=r;if(c===d&&i===s)return;s=i,d=c,o.push(ve(i,c));const g=n[i]||(n[i]=Object.create(null));g[c]||(g[c]=[])}),a.pending.forEach(r=>{const{provider:i,prefix:c,name:g}=r,h=ve(i,c),f=h.pendingIcons||(h.pendingIcons=new Set);f.has(g)||(f.add(g),n[i][c].push(g))}),o.forEach(r=>{const i=n[r.provider][r.prefix];i.length&&ra(r,i)}),u?la(u,a,o):Fe};function da(l,u){const t={...l};for(const a in u){const n=u[a],o=typeof n;a in ll?(n===null||n&&(o==="string"||o==="number"))&&(t[a]=n):o===typeof t[a]&&(t[a]=a==="rotate"?n%4:n)}return t}const va=/[\s,]+/;function ba(l,u){u.split(va).forEach(t=>{switch(t.trim()){case"horizontal":l.hFlip=!0;break;case"vertical":l.vFlip=!0;break}})}function ga(l,u=0){const t=l.replace(/^-?[0-9.]*/,"");function a(n){for(;n<0;)n+=4;return n%4}if(t===""){const n=parseInt(l);return isNaN(n)?0:a(n)}else if(t!==l){let n=0;switch(t){case"%":n=25;break;case"deg":n=90}if(n){let o=parseFloat(l.slice(0,l.length-t.length));return isNaN(o)?0:(o=o/n,o%1===0?a(o):0)}}return u}function fa(l,u){let t=l.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const a in u)t+=" "+a+'="'+u[a]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+t+">"+l+"</svg>"}function ma(l){return l.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function ha(l){return"data:image/svg+xml,"+ma(l)}function pa(l){return'url("'+ha(l)+'")'}const Xe={...al,inline:!1},ya={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},ka={display:"inline-block"},Pe={backgroundColor:"currentColor"},ol={backgroundColor:"transparent"},He={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},We={webkitMask:Pe,mask:Pe,background:ol};for(const l in We){const u=We[l];for(const t in He)u[l+t]=He[t]}const ye={};["horizontal","vertical"].forEach(l=>{const u=l.slice(0,1)+"Flip";ye[l+"-flip"]=u,ye[l.slice(0,1)+"-flip"]=u,ye[l+"Flip"]=u});function Ue(l){return l+(l.match(/^[-0-9.]+$/)?"px":"")}const Ge=(l,u)=>{const t=da(Xe,u),a={...ya},n=u.mode||"svg",o={},s=u.style,d=typeof s=="object"&&!(s instanceof Array)?s:{};for(let b in u){const v=u[b];if(v!==void 0)switch(b){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":t[b]=v===!0||v==="true"||v===1;break;case"flip":typeof v=="string"&&ba(t,v);break;case"color":o.color=v;break;case"rotate":typeof v=="string"?t[b]=ga(v):typeof v=="number"&&(t[b]=v);break;case"ariaHidden":case"aria-hidden":v!==!0&&v!=="true"&&delete a["aria-hidden"];break;default:{const w=ye[b];w?(v===!0||v==="true"||v===1)&&(t[w]=!0):Xe[b]===void 0&&(a[b]=v)}}}const r=zl(l,t),i=r.attributes;if(t.inline&&(o.verticalAlign="-0.125em"),n==="svg"){a.style={...o,...d},Object.assign(a,i);let b=0,v=u.id;return typeof v=="string"&&(v=v.replace(/-/g,"_")),a.innerHTML=Fl(r.body,v?()=>v+"ID"+b++:"iconifyVue"),e.h("svg",a)}const{body:c,width:g,height:h}=l,f=n==="mask"||(n==="bg"?!1:c.indexOf("currentColor")!==-1),p=fa(c,{...i,width:g+"",height:h+""});return a.style={...o,"--svg":pa(p),width:Ue(i.width),height:Ue(i.height),...ka,...f?Pe:ol,...d},e.h("span",a)};el(!0);Rl("",Zl);if(typeof document<"u"&&typeof window<"u"){const l=window;if(l.IconifyPreload!==void 0){const u=l.IconifyPreload,t="Invalid IconifyPreload syntax.";typeof u=="object"&&u!==null&&(u instanceof Array?u:[u]).forEach(a=>{try{(typeof a!="object"||a===null||a instanceof Array||typeof a.icons!="object"||typeof a.prefix!="string"||!Pl(a))&&console.error(t)}catch{console.error(t)}})}if(l.IconifyProviders!==void 0){const u=l.IconifyProviders;if(typeof u=="object"&&u!==null)for(let t in u){const a="IconifyProviders["+t+"] is invalid.";try{const n=u[t];if(typeof n!="object"||!n||n.resources===void 0)continue;Xl(t,n)||console.error(a)}catch{console.error(a)}}}}const wa={...Ce,body:""},J=e.defineComponent({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(l,u,t){if(typeof l=="object"&&l!==null&&typeof l.body=="string")return this._name="",this.abortLoading(),{data:l};let a;if(typeof l!="string"||(a=we(l,!1,!0))===null)return this.abortLoading(),null;let n=Vl(a);if(!n)return(!this._loadingIcon||this._loadingIcon.name!==l)&&(this.abortLoading(),this._name="",n!==null&&(this._loadingIcon={name:l,abort:ia([a],()=>{this.counter++})})),null;if(this.abortLoading(),this._name!==l&&(this._name=l,u&&u(l)),t){n=Object.assign({},n);const s=t(n.body,a.name,a.prefix,a.provider);typeof s=="string"&&(n.body=s)}const o=["iconify"];return a.prefix!==""&&o.push("iconify--"+a.prefix),a.provider!==""&&o.push("iconify--"+a.provider),{data:n,classes:o}}},render(){this.counter;const l=this.$attrs,u=this.iconMounted||l.ssr?this.getIcon(l.icon,l.onLoad,l.customise):null;if(!u)return Ge(wa,l);let t=l;return u.classes&&(t={...l,class:(typeof l.class=="string"?l.class+" ":"")+u.classes.join(" ")}),Ge({...Ce,...u.data},t)}}),Ca=["disabled"],xa={key:0,class:"x-btn-icon"},Sa={key:1,class:"x-btn-loading"},Ea={key:2,class:"x-btn-content"},$a={key:3,class:"x-btn-icon"},Ba=e.defineComponent({__name:"index",props:{type:{default:"default"},size:{default:"medium"},icon:{},iconRight:{},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},block:{type:Boolean,default:!1},round:{type:Boolean,default:!1},ghost:{type:Boolean,default:!1}},emits:["click"],setup(l,{emit:u}){const t=l,a=u,n=e.ref(),o=e.ref([]);let s=0;const d=e.computed(()=>["x-btn",`x-btn-${t.type}`,`x-btn-${t.size}`,{"x-btn-disabled":t.disabled,"x-btn-loading":t.loading,"x-btn-block":t.block,"x-btn-round":t.round,"x-btn-ghost":t.ghost}]);function r(c){!t.disabled&&!t.loading&&a("click",c)}function i(c){if(t.disabled||t.loading)return;const g=n.value;if(!g)return;const h=g.getBoundingClientRect(),f={id:s++,style:{left:`${c.clientX-h.left}px`,top:`${c.clientY-h.top}px`}};o.value.push(f),setTimeout(()=>{const p=o.value.findIndex(b=>b.id===f.id);p>-1&&o.value.splice(p,1)},600)}return(c,g)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(d.value),disabled:l.disabled||l.loading,onClick:r,onMousedown:i,ref_key:"buttonRef",ref:n},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,h=>(e.openBlock(),e.createElementBlock("span",{key:h.id,class:"x-btn-ripple",style:e.normalizeStyle(h.style)},null,4))),128)),l.icon&&!l.loading?(e.openBlock(),e.createElementBlock("span",xa,[e.createVNode(e.unref(J),{icon:l.icon},null,8,["icon"])])):e.createCommentVNode("",!0),l.loading?(e.openBlock(),e.createElementBlock("span",Sa,[e.createVNode(e.unref(J),{icon:"eos-icons:loading"})])):e.createCommentVNode("",!0),c.$slots.default&&!l.loading?(e.openBlock(),e.createElementBlock("span",Ea,[e.renderSlot(c.$slots,"default",{},void 0,!0)])):e.createCommentVNode("",!0),l.iconRight&&!l.loading?(e.openBlock(),e.createElementBlock("span",$a,[e.createVNode(e.unref(J),{icon:l.iconRight},null,8,["icon"])])):e.createCommentVNode("",!0)],42,Ca))}}),K=(l,u)=>{const t=l.__vccOpts||l;for(const[a,n]of u)t[a]=n;return t},me=K(Ba,[["__scopeId","data-v-4cdb1957"]]),Ma={class:"x-card-container"},Va=["onClick"],Na={class:"relative p-2"},Pa={class:"image-container relative overflow-hidden rounded-lg bg-gray-100"},ja=["src","alt"],Ta={key:0,class:"absolute top-3 left-3"},Da={class:"label-badge"},La={class:"product-info p-5 ml-5"},_a={class:"text-sm lg:text-base text-gray-700 leading-relaxed line-clamp-2 mb-3"},Aa={class:"flex items-center justify-between gap-2"},za={class:"text-base lg:text-lg font-bold text-[var(--x-color-primary)]"},Ia={key:0,class:"bi bi-heart text-gray-500"},Oa={key:1,class:"bi bi-heart-fill text-[#FE374F]"},Ya=["onClick"],Fa={class:"relative flex-shrink-0 p-2"},Ra={class:"image-container aspect-square bg-gray-100 rounded-lg overflow-hidden relative"},Xa=["src","alt"],Ha={key:0,class:"absolute top-3 left-3"},Wa={class:"label-badge"},Ua={class:"flex-1 flex flex-col justify-between product-info p-5 ml-5"},Ga={class:"text-sm lg:text-base text-gray-700 font-medium line-clamp-2 leading-relaxed mb-3"},qa={class:"flex items-center justify-between gap-2 mt-auto"},Ka={class:"text-base lg:text-lg font-bold text-[var(--x-color-primary)]"},Za=e.defineComponent({__name:"index",props:{layout:{default:"grid"},products:{default:()=>[]},useMockData:{type:Boolean,default:!0},columns:{default:4}},emits:["productClick","like"],setup(l,{emit:u}){const t=l,a=u,n=[{id:"1",name:"北欧风简约陶瓷花瓶",image:"https://images.unsplash.com/photo-1578500494198-246f612d3b3d?w=400",price:"¥299",label:"热卖",isWish:!1},{id:"2",name:"手工编织棉麻抱枕套",image:"https://images.unsplash.com/photo-1584100936595-c0654b55a2e2?w=400",price:"¥89",label:"新品",isWish:!0},{id:"3",name:"实木原木置物架收纳架",image:"https://images.unsplash.com/photo-1595428774223-ef52624120d2?w=400",price:"¥459",label:"",isWish:!1},{id:"4",name:"ins风格桌面装饰摆件",image:"https://images.unsplash.com/photo-1513506003901-1e6a229e2d15?w=400",price:"¥129",label:"特价",isWish:!1},{id:"5",name:"现代简约台灯护眼学习灯",image:"https://images.unsplash.com/photo-1507473885765-e6ed057f782c?w=400",price:"¥399",label:"",isWish:!0},{id:"6",name:"北欧风格装饰画挂画",image:"https://images.unsplash.com/photo-1561214115-f2f134cc4912?w=400",price:"¥199",label:"热卖",isWish:!1},{id:"7",name:"多功能收纳盒桌面整理",image:"https://images.unsplash.com/photo-1586023492125-27b2c045efd7?w=400",price:"¥68",label:"",isWish:!1},{id:"8",name:"创意陶瓷马克杯咖啡杯",image:"https://images.unsplash.com/photo-1514228742587-6b1558fcca3d?w=400",price:"¥59",label:"新品",isWish:!1},{id:"9",name:"手工玻璃花瓶透明花器",image:"https://images.unsplash.com/photo-1523293182086-7651a899d37f?w=400",price:"¥179",label:"",isWish:!0},{id:"10",name:"日式和风招财猫摆件",image:"https://images.unsplash.com/photo-1615529182904-14819c35db37?w=400",price:"¥149",label:"热卖",isWish:!1},{id:"11",name:"北欧风木质挂钟客厅",image:"https://images.unsplash.com/photo-1563861826100-9cb868fdbe1c?w=400",price:"¥259",label:"",isWish:!1},{id:"12",name:"现代简约落地花架",image:"https://images.unsplash.com/photo-1545127398-14699f92334b?w=400",price:"¥329",label:"特价",isWish:!1}],o=e.ref([]),s=e.computed(()=>t.products&&t.products.length>0?t.products:o.value),d=e.computed(()=>{const g=Math.min(Math.max(t.columns||4,1),4),h={1:"grid-cols-1",2:"grid-cols-1 md:grid-cols-2",3:"grid-cols-1 md:grid-cols-2 lg:grid-cols-3",4:"grid-cols-2 md:grid-cols-3 lg:grid-cols-4"};return h[g]||h[4]}),r=e.computed(()=>{const g=Math.min(Math.max(t.columns||4,1),4),h={1:"columns-1",2:"columns-1 md:columns-2",3:"columns-2 md:columns-2 lg:columns-3",4:"columns-2 sm:columns-2 md:columns-3 lg:columns-4"};return h[g]||h[4]});e.onMounted(()=>{t.useMockData&&(!t.products||t.products.length===0)&&(o.value=n)});const i=g=>{a("productClick",g)},c=g=>{g.isWish=!g.isWish,a("like",g)};return(g,h)=>(e.openBlock(),e.createElementBlock("div",Ma,[l.layout==="masonry"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["masonry-layout",r.value,"gap-4 sm:gap-6"])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,f=>(e.openBlock(),e.createElementBlock("div",{key:f.id+"-masonry",class:"mb-4 sm:mb-6 break-inside-avoid group cursor-pointer product-card",onClick:p=>i(f.id)},[e.createElementVNode("div",Na,[e.createElementVNode("div",Pa,[e.createElementVNode("img",{src:f.image,alt:f.name,loading:"lazy",class:"w-full h-auto object-cover transition-transform duration-300 group-hover:scale-[1.01]"},null,8,ja),h[0]||(h[0]=e.createElementVNode("div",{class:"light-effect"},null,-1))]),f.label?(e.openBlock(),e.createElementBlock("div",Ta,[e.createElementVNode("span",Da,e.toDisplayString(f.label),1)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",La,[e.createElementVNode("h3",_a,e.toDisplayString(f.name),1),e.createElementVNode("div",Aa,[e.createElementVNode("span",za,e.toDisplayString(f.price),1),e.createVNode(me,{onClick:e.withModifiers(p=>c(f),["stop"]),type:"text",size:"small",class:"like-button !min-w-0 !p-1"},{default:e.withCtx(()=>[f.isWish?(e.openBlock(),e.createElementBlock("i",Oa)):(e.openBlock(),e.createElementBlock("i",Ia))]),_:2},1032,["onClick"])])])],8,Va))),128))],2)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["grid",d.value,"gap-4 lg:gap-6"])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,f=>(e.openBlock(),e.createElementBlock("div",{key:f.id+"-grid",class:"h-full"},[e.createElementVNode("div",{class:"py-2 px-2 group cursor-pointer product-card h-full flex flex-col",onClick:p=>i(f.id)},[e.createElementVNode("div",Fa,[e.createElementVNode("div",Ra,[e.createElementVNode("img",{src:f.image,alt:f.name,class:"w-full h-full object-cover transition-transform duration-300",loading:"lazy"},null,8,Xa),h[1]||(h[1]=e.createElementVNode("div",{class:"light-effect"},null,-1))]),f.label?(e.openBlock(),e.createElementBlock("div",Ha,[e.createElementVNode("span",Wa,e.toDisplayString(f.label),1)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Ua,[e.createElementVNode("h3",Ga,e.toDisplayString(f.name),1),e.createElementVNode("div",qa,[e.createElementVNode("span",Ka,e.toDisplayString(f.price),1),e.createVNode(me,{onClick:e.withModifiers(p=>c(f),["stop"]),type:"text",size:"small",class:"like-button !min-w-0 !p-1"},{default:e.withCtx(()=>[f.isWish?(e.openBlock(),e.createBlock(e.unref(J),{key:1,icon:"bi:heart-fill",class:"bi bi-heart-fill text-[#FE374F] text-lg"})):(e.openBlock(),e.createBlock(e.unref(J),{key:0,icon:"bi:heart",class:"bi bi-heart text-gray-500 text-lg"}))]),_:2},1032,["onClick"])])])],8,Ya)]))),128))],2))]))}}),Qa=K(Za,[["__scopeId","data-v-9eac2a47"]]),Ja=[{name:"Afghanistan",code:"AF",flagEmoji:"🇦🇫",flagSvg:"https://flagcdn.com/af.svg",flagPng:"https://flagcdn.com/w40/af.png",phoneCode:"+93",phonelengthMAX:10},{name:"Åland Islands",code:"AX",flagEmoji:"🇦🇽",flagSvg:"https://flagcdn.com/ax.svg",flagPng:"https://flagcdn.com/w40/ax.png",phoneCode:"+358",phonelengthMAX:10},{name:"Albania",code:"AL",flagEmoji:"🇦🇱",flagSvg:"https://flagcdn.com/al.svg",flagPng:"https://flagcdn.com/w40/al.png",phoneCode:"+355",phonelengthMAX:10},{name:"Algeria",code:"DZ",flagEmoji:"🇩🇿",flagSvg:"https://flagcdn.com/dz.svg",flagPng:"https://flagcdn.com/w40/dz.png",phoneCode:"+213",phonelengthMAX:10},{name:"American Samoa",code:"AS",flagEmoji:"🇦🇸",flagSvg:"https://flagcdn.com/as.svg",flagPng:"https://flagcdn.com/w40/as.png",phoneCode:"+1684",phonelengthMAX:10},{name:"Andorra",code:"AD",flagEmoji:"🇦🇩",flagSvg:"https://flagcdn.com/ad.svg",flagPng:"https://flagcdn.com/w40/ad.png",phoneCode:"+376",phonelengthMAX:10},{name:"Angola",code:"AO",flagEmoji:"🇦🇴",flagSvg:"https://flagcdn.com/ao.svg",flagPng:"https://flagcdn.com/w40/ao.png",phoneCode:"+244",phonelengthMAX:10},{name:"Anguilla",code:"AI",flagEmoji:"🇦🇮",flagSvg:"https://flagcdn.com/ai.svg",flagPng:"https://flagcdn.com/w40/ai.png",phoneCode:"+1264",phonelengthMAX:10},{name:"Antarctica",code:"AQ",flagEmoji:"🇦🇶",flagSvg:"https://flagcdn.com/aq.svg",flagPng:"https://flagcdn.com/w40/aq.png",phoneCode:"+672",phonelengthMAX:10},{name:"Antigua and Barbuda",code:"AG",flagEmoji:"🇦🇬",flagSvg:"https://flagcdn.com/ag.svg",flagPng:"https://flagcdn.com/w40/ag.png",phoneCode:"+1268",phonelengthMAX:10},{name:"Argentina",code:"AR",flagEmoji:"🇦🇷",flagSvg:"https://flagcdn.com/ar.svg",flagPng:"https://flagcdn.com/w40/ar.png",phoneCode:"+54",phonelengthMAX:10},{name:"Armenia",code:"AM",flagEmoji:"🇦🇲",flagSvg:"https://flagcdn.com/am.svg",flagPng:"https://flagcdn.com/w40/am.png",phoneCode:"+374",phonelengthMAX:10},{name:"Aruba",code:"AW",flagEmoji:"🇦🇼",flagSvg:"https://flagcdn.com/aw.svg",flagPng:"https://flagcdn.com/w40/aw.png",phoneCode:"+297",phonelengthMAX:10},{name:"Australia",code:"AU",flagEmoji:"🇦🇺",flagSvg:"https://flagcdn.com/au.svg",flagPng:"https://flagcdn.com/w40/au.png",phoneCode:"+61",phonelengthMAX:10},{name:"Austria",code:"AT",flagEmoji:"🇦🇹",flagSvg:"https://flagcdn.com/at.svg",flagPng:"https://flagcdn.com/w40/at.png",phoneCode:"+43",phonelengthMAX:10},{name:"Azerbaijan",code:"AZ",flagEmoji:"🇦🇿",flagSvg:"https://flagcdn.com/az.svg",flagPng:"https://flagcdn.com/w40/az.png",phoneCode:"+994",phonelengthMAX:10},{name:"Bahamas",code:"BS",flagEmoji:"🇧🇸",flagSvg:"https://flagcdn.com/bs.svg",flagPng:"https://flagcdn.com/w40/bs.png",phoneCode:"+1242",phonelengthMAX:10},{name:"Bahrain",code:"BH",flagEmoji:"🇧🇭",flagSvg:"https://flagcdn.com/bh.svg",flagPng:"https://flagcdn.com/w40/bh.png",phoneCode:"+973",phonelengthMAX:10},{name:"Bangladesh",code:"BD",flagEmoji:"🇧🇩",flagSvg:"https://flagcdn.com/bd.svg",flagPng:"https://flagcdn.com/w40/bd.png",phoneCode:"+880",phonelengthMAX:10},{name:"Barbados",code:"BB",flagEmoji:"🇧🇧",flagSvg:"https://flagcdn.com/bb.svg",flagPng:"https://flagcdn.com/w40/bb.png",phoneCode:"+1246",phonelengthMAX:10},{name:"Belarus",code:"BY",flagEmoji:"🇧🇾",flagSvg:"https://flagcdn.com/by.svg",flagPng:"https://flagcdn.com/w40/by.png",phoneCode:"+375",phonelengthMAX:10},{name:"Belgium",code:"BE",flagEmoji:"🇧🇪",flagSvg:"https://flagcdn.com/be.svg",flagPng:"https://flagcdn.com/w40/be.png",phoneCode:"+32",phonelengthMAX:10},{name:"Belize",code:"BZ",flagEmoji:"🇧🇿",flagSvg:"https://flagcdn.com/bz.svg",flagPng:"https://flagcdn.com/w40/bz.png",phoneCode:"+501",phonelengthMAX:10},{name:"Benin",code:"BJ",flagEmoji:"🇧🇯",flagSvg:"https://flagcdn.com/bj.svg",flagPng:"https://flagcdn.com/w40/bj.png",phoneCode:"+229",phonelengthMAX:10},{name:"Bermuda",code:"BM",flagEmoji:"🇧🇲",flagSvg:"https://flagcdn.com/bm.svg",flagPng:"https://flagcdn.com/w40/bm.png",phoneCode:"+1441",phonelengthMAX:10},{name:"Bhutan",code:"BT",flagEmoji:"🇧🇹",flagSvg:"https://flagcdn.com/bt.svg",flagPng:"https://flagcdn.com/w40/bt.png",phoneCode:"+975",phonelengthMAX:10},{name:"Bolivia (Plurinational State of)",code:"BO",flagEmoji:"🇧🇴",flagSvg:"https://flagcdn.com/bo.svg",flagPng:"https://flagcdn.com/w40/bo.png",phoneCode:"+591",phonelengthMAX:10},{name:"Bonaire, Sint Eustatius and Saba",code:"BQ",flagEmoji:"🇧🇶",flagSvg:"https://flagcdn.com/bq.svg",flagPng:"https://flagcdn.com/w40/bq.png",phoneCode:"+5997",phonelengthMAX:10},{name:"Bosnia and Herzegovina",code:"BA",flagEmoji:"🇧🇦",flagSvg:"https://flagcdn.com/ba.svg",flagPng:"https://flagcdn.com/w40/ba.png",phoneCode:"+387",phonelengthMAX:10},{name:"Botswana",code:"BW",flagEmoji:"🇧🇼",flagSvg:"https://flagcdn.com/bw.svg",flagPng:"https://flagcdn.com/w40/bw.png",phoneCode:"+267",phonelengthMAX:10},{name:"Bouvet Island",code:"BV",flagEmoji:"🇧🇻",flagSvg:"https://flagcdn.com/bv.svg",flagPng:"https://flagcdn.com/w40/bv.png",phoneCode:"+55",phonelengthMAX:10},{name:"Brazil",code:"BR",flagEmoji:"🇧🇷",flagSvg:"https://flagcdn.com/br.svg",flagPng:"https://flagcdn.com/w40/br.png",phoneCode:"+55",phonelengthMAX:10},{name:"British Indian Ocean Territory",code:"IO",flagEmoji:"🇮🇴",flagSvg:"https://flagcdn.com/io.svg",flagPng:"https://flagcdn.com/w40/io.png",phoneCode:"+246",phonelengthMAX:10},{name:"Brunei Darussalam",code:"BN",flagEmoji:"🇧🇳",flagSvg:"https://flagcdn.com/bn.svg",flagPng:"https://flagcdn.com/w40/bn.png",phoneCode:"+673",phonelengthMAX:10},{name:"Bulgaria",code:"BG",flagEmoji:"🇧🇬",flagSvg:"https://flagcdn.com/bg.svg",flagPng:"https://flagcdn.com/w40/bg.png",phoneCode:"+359",phonelengthMAX:10},{name:"Burkina Faso",code:"BF",flagEmoji:"🇧🇫",flagSvg:"https://flagcdn.com/bf.svg",flagPng:"https://flagcdn.com/w40/bf.png",phoneCode:"+226",phonelengthMAX:10},{name:"Burundi",code:"BI",flagEmoji:"🇧🇮",flagSvg:"https://flagcdn.com/bi.svg",flagPng:"https://flagcdn.com/w40/bi.png",phoneCode:"+257",phonelengthMAX:10},{name:"Cabo Verde",code:"CV",flagEmoji:"🇨🇻",flagSvg:"https://flagcdn.com/cv.svg",flagPng:"https://flagcdn.com/w40/cv.png",phoneCode:"+238",phonelengthMAX:10},{name:"Cambodia",code:"KH",flagEmoji:"🇰🇭",flagSvg:"https://flagcdn.com/kh.svg",flagPng:"https://flagcdn.com/w40/kh.png",phoneCode:"+855",phonelengthMAX:10},{name:"Cameroon",code:"CM",flagEmoji:"🇨🇲",flagSvg:"https://flagcdn.com/cm.svg",flagPng:"https://flagcdn.com/w40/cm.png",phoneCode:"+237",phonelengthMAX:10},{name:"Canada",code:"CA",flagEmoji:"🇨🇦",flagSvg:"https://flagcdn.com/ca.svg",flagPng:"https://flagcdn.com/w40/ca.png",phoneCode:"+1",phonelengthMAX:10},{name:"Cayman Islands",code:"KY",flagEmoji:"🇰🇾",flagSvg:"https://flagcdn.com/ky.svg",flagPng:"https://flagcdn.com/w40/ky.png",phoneCode:"+1345",phonelengthMAX:10},{name:"Central African Republic",code:"CF",flagEmoji:"🇨🇫",flagSvg:"https://flagcdn.com/cf.svg",flagPng:"https://flagcdn.com/w40/cf.png",phoneCode:"+236",phonelengthMAX:10},{name:"Chad",code:"TD",flagEmoji:"🇹🇩",flagSvg:"https://flagcdn.com/td.svg",flagPng:"https://flagcdn.com/w40/td.png",phoneCode:"+235",phonelengthMAX:10},{name:"Chile",code:"CL",flagEmoji:"🇨🇱",flagSvg:"https://flagcdn.com/cl.svg",flagPng:"https://flagcdn.com/w40/cl.png",phoneCode:"+56",phonelengthMAX:10},{name:"China",code:"CN",flagEmoji:"🇨🇳",flagSvg:"https://flagcdn.com/cn.svg",flagPng:"https://flagcdn.com/w40/cn.png",phoneCode:"+86",phonelengthMAX:11},{name:"Christmas Island",code:"CX",flagEmoji:"🇨🇽",flagSvg:"https://flagcdn.com/cx.svg",flagPng:"https://flagcdn.com/w40/cx.png",phoneCode:"+61",phonelengthMAX:10},{name:"Cocos (Keeling) Islands",code:"CC",flagEmoji:"🇨🇨",flagSvg:"https://flagcdn.com/cc.svg",flagPng:"https://flagcdn.com/w40/cc.png",phoneCode:"+61",phonelengthMAX:10},{name:"Colombia",code:"CO",flagEmoji:"🇨🇴",flagSvg:"https://flagcdn.com/co.svg",flagPng:"https://flagcdn.com/w40/co.png",phoneCode:"+57",phonelengthMAX:10},{name:"Comoros",code:"KM",flagEmoji:"🇰🇲",flagSvg:"https://flagcdn.com/km.svg",flagPng:"https://flagcdn.com/w40/km.png",phoneCode:"+269",phonelengthMAX:10},{name:"Congo",code:"CG",flagEmoji:"🇨🇬",flagSvg:"https://flagcdn.com/cg.svg",flagPng:"https://flagcdn.com/w40/cg.png",phoneCode:"+242",phonelengthMAX:10},{name:"Congo, Democratic Republic of the",code:"CD",flagEmoji:"🇨🇩",flagSvg:"https://flagcdn.com/cd.svg",flagPng:"https://flagcdn.com/w40/cd.png",phoneCode:"+243",phonelengthMAX:10},{name:"Cook Islands",code:"CK",flagEmoji:"🇨🇰",flagSvg:"https://flagcdn.com/ck.svg",flagPng:"https://flagcdn.com/w40/ck.png",phoneCode:"+682",phonelengthMAX:10},{name:"Costa Rica",code:"CR",flagEmoji:"🇨🇷",flagSvg:"https://flagcdn.com/cr.svg",flagPng:"https://flagcdn.com/w40/cr.png",phoneCode:"+506",phonelengthMAX:10},{name:"Croatia",code:"HR",flagEmoji:"🇭🇷",flagSvg:"https://flagcdn.com/hr.svg",flagPng:"https://flagcdn.com/w40/hr.png",phoneCode:"+385",phonelengthMAX:10},{name:"Cuba",code:"CU",flagEmoji:"🇨🇺",flagSvg:"https://flagcdn.com/cu.svg",flagPng:"https://flagcdn.com/w40/cu.png",phoneCode:"+53",phonelengthMAX:10},{name:"Curaçao",code:"CW",flagEmoji:"🇨🇼",flagSvg:"https://flagcdn.com/cw.svg",flagPng:"https://flagcdn.com/w40/cw.png",phoneCode:"+5999",phonelengthMAX:10},{name:"Cyprus",code:"CY",flagEmoji:"🇨🇾",flagSvg:"https://flagcdn.com/cy.svg",flagPng:"https://flagcdn.com/w40/cy.png",phoneCode:"+357",phonelengthMAX:10},{name:"Czechia",code:"CZ",flagEmoji:"🇨🇿",flagSvg:"https://flagcdn.com/cz.svg",flagPng:"https://flagcdn.com/w40/cz.png",phoneCode:"+420",phonelengthMAX:10},{name:"Denmark",code:"DK",flagEmoji:"🇩🇰",flagSvg:"https://flagcdn.com/dk.svg",flagPng:"https://flagcdn.com/w40/dk.png",phoneCode:"+45",phonelengthMAX:10},{name:"Djibouti",code:"DJ",flagEmoji:"🇩🇯",flagSvg:"https://flagcdn.com/dj.svg",flagPng:"https://flagcdn.com/w40/dj.png",phoneCode:"+253",phonelengthMAX:10},{name:"Dominica",code:"DM",flagEmoji:"🇩🇲",flagSvg:"https://flagcdn.com/dm.svg",flagPng:"https://flagcdn.com/w40/dm.png",phoneCode:"+1767",phonelengthMAX:10},{name:"Dominican Republic",code:"DO",flagEmoji:"🇩🇴",flagSvg:"https://flagcdn.com/do.svg",flagPng:"https://flagcdn.com/w40/do.png",phoneCode:"+1809",phonelengthMAX:10},{name:"Ecuador",code:"EC",flagEmoji:"🇪🇨",flagSvg:"https://flagcdn.com/ec.svg",flagPng:"https://flagcdn.com/w40/ec.png",phoneCode:"+593",phonelengthMAX:10},{name:"Egypt",code:"EG",flagEmoji:"🇪🇬",flagSvg:"https://flagcdn.com/eg.svg",flagPng:"https://flagcdn.com/w40/eg.png",phoneCode:"+20",phonelengthMAX:10},{name:"El Salvador",code:"SV",flagEmoji:"🇸🇻",flagSvg:"https://flagcdn.com/sv.svg",flagPng:"https://flagcdn.com/w40/sv.png",phoneCode:"+503",phonelengthMAX:10},{name:"Equatorial Guinea",code:"GQ",flagEmoji:"🇬🇶",flagSvg:"https://flagcdn.com/gq.svg",flagPng:"https://flagcdn.com/w40/gq.png",phoneCode:"+240",phonelengthMAX:10},{name:"Eritrea",code:"ER",flagEmoji:"🇪🇷",flagSvg:"https://flagcdn.com/er.svg",flagPng:"https://flagcdn.com/w40/er.png",phoneCode:"+291",phonelengthMAX:10},{name:"Estonia",code:"EE",flagEmoji:"🇪🇪",flagSvg:"https://flagcdn.com/ee.svg",flagPng:"https://flagcdn.com/w40/ee.png",phoneCode:"+372",phonelengthMAX:10},{name:"Eswatini",code:"SZ",flagEmoji:"🇸🇿",flagSvg:"https://flagcdn.com/sz.svg",flagPng:"https://flagcdn.com/w40/sz.png",phoneCode:"+268",phonelengthMAX:10},{name:"Ethiopia",code:"ET",flagEmoji:"🇪🇹",flagSvg:"https://flagcdn.com/et.svg",flagPng:"https://flagcdn.com/w40/et.png",phoneCode:"+251",phonelengthMAX:10},{name:"Falkland Islands (Malvinas)",code:"FK",flagEmoji:"🇫🇰",flagSvg:"https://flagcdn.com/fk.svg",flagPng:"https://flagcdn.com/w40/fk.png",phoneCode:"+500",phonelengthMAX:10},{name:"Faroe Islands",code:"FO",flagEmoji:"🇫🇴",flagSvg:"https://flagcdn.com/fo.svg",flagPng:"https://flagcdn.com/w40/fo.png",phoneCode:"+298",phonelengthMAX:10},{name:"Fiji",code:"FJ",flagEmoji:"🇫🇯",flagSvg:"https://flagcdn.com/fj.svg",flagPng:"https://flagcdn.com/w40/fj.png",phoneCode:"+679",phonelengthMAX:10},{name:"Finland",code:"FI",flagEmoji:"🇫🇮",flagSvg:"https://flagcdn.com/fi.svg",flagPng:"https://flagcdn.com/w40/fi.png",phoneCode:"+358",phonelengthMAX:10},{name:"France",code:"FR",flagEmoji:"🇫🇷",flagSvg:"https://flagcdn.com/fr.svg",flagPng:"https://flagcdn.com/w40/fr.png",phoneCode:"+33",phonelengthMAX:10},{name:"French Guiana",code:"GF",flagEmoji:"🇬🇫",flagSvg:"https://flagcdn.com/gf.svg",flagPng:"https://flagcdn.com/w40/gf.png",phoneCode:"+594",phonelengthMAX:10},{name:"French Polynesia",code:"PF",flagEmoji:"🇵🇫",flagSvg:"https://flagcdn.com/pf.svg",flagPng:"https://flagcdn.com/w40/pf.png",phoneCode:"+689",phonelengthMAX:10},{name:"French Southern Territories",code:"TF",flagEmoji:"🇹🇫",flagSvg:"https://flagcdn.com/tf.svg",flagPng:"https://flagcdn.com/w40/tf.png",phoneCode:"+262",phonelengthMAX:10},{name:"Gabon",code:"GA",flagEmoji:"🇬🇦",flagSvg:"https://flagcdn.com/ga.svg",flagPng:"https://flagcdn.com/w40/ga.png",phoneCode:"+241",phonelengthMAX:10},{name:"Gambia",code:"GM",flagEmoji:"🇬🇲",flagSvg:"https://flagcdn.com/gm.svg",flagPng:"https://flagcdn.com/w40/gm.png",phoneCode:"+220",phonelengthMAX:10},{name:"Georgia",code:"GE",flagEmoji:"🇬🇪",flagSvg:"https://flagcdn.com/ge.svg",flagPng:"https://flagcdn.com/w40/ge.png",phoneCode:"+995",phonelengthMAX:10},{name:"Germany",code:"DE",flagEmoji:"🇩🇪",flagSvg:"https://flagcdn.com/de.svg",flagPng:"https://flagcdn.com/w40/de.png",phoneCode:"+49",phonelengthMAX:10},{name:"Ghana",code:"GH",flagEmoji:"🇬🇭",flagSvg:"https://flagcdn.com/gh.svg",flagPng:"https://flagcdn.com/w40/gh.png",phoneCode:"+233",phonelengthMAX:10},{name:"Gibraltar",code:"GI",flagEmoji:"🇬🇮",flagSvg:"https://flagcdn.com/gi.svg",flagPng:"https://flagcdn.com/w40/gi.png",phoneCode:"+350",phonelengthMAX:10},{name:"Greece",code:"GR",flagEmoji:"🇬🇷",flagSvg:"https://flagcdn.com/gr.svg",flagPng:"https://flagcdn.com/w40/gr.png",phoneCode:"+30",phonelengthMAX:10},{name:"Greenland",code:"GL",flagEmoji:"🇬🇱",flagSvg:"https://flagcdn.com/gl.svg",flagPng:"https://flagcdn.com/w40/gl.png",phoneCode:"+299",phonelengthMAX:10},{name:"Grenada",code:"GD",flagEmoji:"🇬🇩",flagSvg:"https://flagcdn.com/gd.svg",flagPng:"https://flagcdn.com/w40/gd.png",phoneCode:"+1473",phonelengthMAX:10},{name:"Guadeloupe",code:"GP",flagEmoji:"🇬🇵",flagSvg:"https://flagcdn.com/gp.svg",flagPng:"https://flagcdn.com/w40/gp.png",phoneCode:"+590",phonelengthMAX:10},{name:"Guam",code:"GU",flagEmoji:"🇬🇺",flagSvg:"https://flagcdn.com/gu.svg",flagPng:"https://flagcdn.com/w40/gu.png",phoneCode:"+1671",phonelengthMAX:10},{name:"Guatemala",code:"GT",flagEmoji:"🇬🇹",flagSvg:"https://flagcdn.com/gt.svg",flagPng:"https://flagcdn.com/w40/gt.png",phoneCode:"+502",phonelengthMAX:10},{name:"Guernsey",code:"GG",flagEmoji:"🇬🇬",flagSvg:"https://flagcdn.com/gg.svg",flagPng:"https://flagcdn.com/w40/gg.png",phoneCode:"+44",phonelengthMAX:10},{name:"Guinea",code:"GN",flagEmoji:"🇬🇳",flagSvg:"https://flagcdn.com/gn.svg",flagPng:"https://flagcdn.com/w40/gn.png",phoneCode:"+224",phonelengthMAX:10},{name:"Guinea-Bissau",code:"GW",flagEmoji:"🇬🇼",flagSvg:"https://flagcdn.com/gw.svg",flagPng:"https://flagcdn.com/w40/gw.png",phoneCode:"+245",phonelengthMAX:10},{name:"Guyana",code:"GY",flagEmoji:"🇬🇾",flagSvg:"https://flagcdn.com/gy.svg",flagPng:"https://flagcdn.com/w40/gy.png",phoneCode:"+592",phonelengthMAX:10},{name:"Haiti",code:"HT",flagEmoji:"🇭🇹",flagSvg:"https://flagcdn.com/ht.svg",flagPng:"https://flagcdn.com/w40/ht.png",phoneCode:"+509",phonelengthMAX:10},{name:"Heard Island and McDonald Islands",code:"HM",flagEmoji:"🇭🇲",flagSvg:"https://flagcdn.com/hm.svg",flagPng:"https://flagcdn.com/w40/hm.png",phoneCode:"+672"},{name:"Holy See",code:"VA",flagEmoji:"🇻🇦",flagSvg:"https://flagcdn.com/va.svg",flagPng:"https://flagcdn.com/w40/va.png",phoneCode:"+39"},{name:"Honduras",code:"HN",flagEmoji:"🇭🇳",flagSvg:"https://flagcdn.com/hn.svg",flagPng:"https://flagcdn.com/w40/hn.png",phoneCode:"+504"},{name:"Hong Kong",code:"HK",flagEmoji:"🇭🇰",flagSvg:"https://flagcdn.com/hk.svg",flagPng:"https://flagcdn.com/w40/hk.png",phoneCode:"+852"},{name:"Hungary",code:"HU",flagEmoji:"🇭🇺",flagSvg:"https://flagcdn.com/hu.svg",flagPng:"https://flagcdn.com/w40/hu.png",phoneCode:"+36"},{name:"Iceland",code:"IS",flagEmoji:"🇮🇸",flagSvg:"https://flagcdn.com/is.svg",flagPng:"https://flagcdn.com/w40/is.png",phoneCode:"+354"},{name:"India",code:"IN",flagEmoji:"🇮🇳",flagSvg:"https://flagcdn.com/in.svg",flagPng:"https://flagcdn.com/w40/in.png",phoneCode:"+91"},{name:"Indonesia",code:"ID",flagEmoji:"🇮🇩",flagSvg:"https://flagcdn.com/id.svg",flagPng:"https://flagcdn.com/w40/id.png",phoneCode:"+62"},{name:"Iran (Islamic Republic of)",code:"IR",flagEmoji:"🇮🇷",flagSvg:"https://flagcdn.com/ir.svg",flagPng:"https://flagcdn.com/w40/ir.png",phoneCode:"+98"},{name:"Iraq",code:"IQ",flagEmoji:"🇮🇶",flagSvg:"https://flagcdn.com/iq.svg",flagPng:"https://flagcdn.com/w40/iq.png",phoneCode:"+964"},{name:"Ireland",code:"IE",flagEmoji:"🇮🇪",flagSvg:"https://flagcdn.com/ie.svg",flagPng:"https://flagcdn.com/w40/ie.png",phoneCode:"+353"},{name:"Isle of Man",code:"IM",flagEmoji:"🇮🇲",flagSvg:"https://flagcdn.com/im.svg",flagPng:"https://flagcdn.com/w40/im.png",phoneCode:"+44"},{name:"Israel",code:"IL",flagEmoji:"🇮🇱",flagSvg:"https://flagcdn.com/il.svg",flagPng:"https://flagcdn.com/w40/il.png",phoneCode:"+972"},{name:"Italy",code:"IT",flagEmoji:"🇮🇹",flagSvg:"https://flagcdn.com/it.svg",flagPng:"https://flagcdn.com/w40/it.png",phoneCode:"+39"},{name:"Jamaica",code:"JM",flagEmoji:"🇯🇲",flagSvg:"https://flagcdn.com/jm.svg",flagPng:"https://flagcdn.com/w40/jm.png",phoneCode:"+1876"},{name:"Japan",code:"JP",flagEmoji:"🇯🇵",flagSvg:"https://flagcdn.com/jp.svg",flagPng:"https://flagcdn.com/w40/jp.png",phoneCode:"+81"},{name:"Jersey",code:"JE",flagEmoji:"🇯🇪",flagSvg:"https://flagcdn.com/je.svg",flagPng:"https://flagcdn.com/w40/je.png",phoneCode:"+44"},{name:"Jordan",code:"JO",flagEmoji:"🇯🇴",flagSvg:"https://flagcdn.com/jo.svg",flagPng:"https://flagcdn.com/w40/jo.png",phoneCode:"+962"},{name:"Kazakhstan",code:"KZ",flagEmoji:"🇰🇿",flagSvg:"https://flagcdn.com/kz.svg",flagPng:"https://flagcdn.com/w40/kz.png",phoneCode:"+7"},{name:"Kenya",code:"KE",flagEmoji:"🇰🇪",flagSvg:"https://flagcdn.com/ke.svg",flagPng:"https://flagcdn.com/w40/ke.png",phoneCode:"+254"},{name:"Kiribati",code:"KI",flagEmoji:"🇰🇮",flagSvg:"https://flagcdn.com/ki.svg",flagPng:"https://flagcdn.com/w40/ki.png",phoneCode:"+686"},{name:"Korea (Democratic People's Republic of)",code:"KP",flagEmoji:"🇰🇵",flagSvg:"https://flagcdn.com/kp.svg",flagPng:"https://flagcdn.com/w40/kp.png",phoneCode:"+850"},{name:"Korea, Republic of",code:"KR",flagEmoji:"🇰🇷",flagSvg:"https://flagcdn.com/kr.svg",flagPng:"https://flagcdn.com/w40/kr.png",phoneCode:"+82"},{name:"Kuwait",code:"KW",flagEmoji:"🇰🇼",flagSvg:"https://flagcdn.com/kw.svg",flagPng:"https://flagcdn.com/w40/kw.png",phoneCode:"+965"},{name:"Kyrgyzstan",code:"KG",flagEmoji:"🇰🇬",flagSvg:"https://flagcdn.com/kg.svg",flagPng:"https://flagcdn.com/w40/kg.png",phoneCode:"+996"},{name:"Lao People's Democratic Republic",code:"LA",flagEmoji:"🇱🇦",flagSvg:"https://flagcdn.com/la.svg",flagPng:"https://flagcdn.com/w40/la.png",phoneCode:"+856"},{name:"Latvia",code:"LV",flagEmoji:"🇱🇻",flagSvg:"https://flagcdn.com/lv.svg",flagPng:"https://flagcdn.com/w40/lv.png",phoneCode:"+371"},{name:"Lebanon",code:"LB",flagEmoji:"🇱🇧",flagSvg:"https://flagcdn.com/lb.svg",flagPng:"https://flagcdn.com/w40/lb.png",phoneCode:"+961"},{name:"Lesotho",code:"LS",flagEmoji:"🇱🇸",flagSvg:"https://flagcdn.com/ls.svg",flagPng:"https://flagcdn.com/w40/ls.png",phoneCode:"+266"},{name:"Liberia",code:"LR",flagEmoji:"🇱🇷",flagSvg:"https://flagcdn.com/lr.svg",flagPng:"https://flagcdn.com/w40/lr.png",phoneCode:"+231"},{name:"Libya",code:"LY",flagEmoji:"🇱🇾",flagSvg:"https://flagcdn.com/ly.svg",flagPng:"https://flagcdn.com/w40/ly.png",phoneCode:"+218"},{name:"Liechtenstein",code:"LI",flagEmoji:"🇱🇮",flagSvg:"https://flagcdn.com/li.svg",flagPng:"https://flagcdn.com/w40/li.png",phoneCode:"+423"},{name:"Lithuania",code:"LT",flagEmoji:"🇱🇹",flagSvg:"https://flagcdn.com/lt.svg",flagPng:"https://flagcdn.com/w40/lt.png",phoneCode:"+370"},{name:"Luxembourg",code:"LU",flagEmoji:"🇱🇺",flagSvg:"https://flagcdn.com/lu.svg",flagPng:"https://flagcdn.com/w40/lu.png",phoneCode:"+352"},{name:"Macao",code:"MO",flagEmoji:"🇲🇴",flagSvg:"https://flagcdn.com/mo.svg",flagPng:"https://flagcdn.com/w40/mo.png",phoneCode:"+853"},{name:"Madagascar",code:"MG",flagEmoji:"🇲🇬",flagSvg:"https://flagcdn.com/mg.svg",flagPng:"https://flagcdn.com/w40/mg.png",phoneCode:"+261"},{name:"Malawi",code:"MW",flagEmoji:"🇲🇼",flagSvg:"https://flagcdn.com/mw.svg",flagPng:"https://flagcdn.com/w40/mw.png",phoneCode:"+265"},{name:"Malaysia",code:"MY",flagEmoji:"🇲🇾",flagSvg:"https://flagcdn.com/my.svg",flagPng:"https://flagcdn.com/w40/my.png",phoneCode:"+60"},{name:"Maldives",code:"MV",flagEmoji:"🇲🇻",flagSvg:"https://flagcdn.com/mv.svg",flagPng:"https://flagcdn.com/w40/mv.png",phoneCode:"+960"},{name:"Mali",code:"ML",flagEmoji:"🇲🇱",flagSvg:"https://flagcdn.com/ml.svg",flagPng:"https://flagcdn.com/w40/ml.png",phoneCode:"+223"},{name:"Malta",code:"MT",flagEmoji:"🇲🇹",flagSvg:"https://flagcdn.com/mt.svg",flagPng:"https://flagcdn.com/w40/mt.png",phoneCode:"+356"},{name:"Marshall Islands",code:"MH",flagEmoji:"🇲🇭",flagSvg:"https://flagcdn.com/mh.svg",flagPng:"https://flagcdn.com/w40/mh.png",phoneCode:"+692"},{name:"Martinique",code:"MQ",flagEmoji:"🇲🇶",flagSvg:"https://flagcdn.com/mq.svg",flagPng:"https://flagcdn.com/w40/mq.png",phoneCode:"+596"},{name:"Mauritania",code:"MR",flagEmoji:"🇲🇷",flagSvg:"https://flagcdn.com/mr.svg",flagPng:"https://flagcdn.com/w40/mr.png",phoneCode:"+222"},{name:"Mauritius",code:"MU",flagEmoji:"🇲🇺",flagSvg:"https://flagcdn.com/mu.svg",flagPng:"https://flagcdn.com/w40/mu.png",phoneCode:"+230"},{name:"Mayotte",code:"YT",flagEmoji:"🇾🇹",flagSvg:"https://flagcdn.com/yt.svg",flagPng:"https://flagcdn.com/w40/yt.png",phoneCode:"+262"},{name:"Mexico",code:"MX",flagEmoji:"🇲🇽",flagSvg:"https://flagcdn.com/mx.svg",flagPng:"https://flagcdn.com/w40/mx.png",phoneCode:"+52"},{name:"Micronesia (Federated States of)",code:"FM",flagEmoji:"🇫🇲",flagSvg:"https://flagcdn.com/fm.svg",flagPng:"https://flagcdn.com/w40/fm.png",phoneCode:"+691"},{name:"Moldova, Republic of",code:"MD",flagEmoji:"🇲🇩",flagSvg:"https://flagcdn.com/md.svg",flagPng:"https://flagcdn.com/w40/md.png",phoneCode:"+373"},{name:"Monaco",code:"MC",flagEmoji:"🇲🇨",flagSvg:"https://flagcdn.com/mc.svg",flagPng:"https://flagcdn.com/w40/mc.png",phoneCode:"+377",phonelengthMAX:10},{name:"Mongolia",code:"MN",flagEmoji:"🇲🇳",flagSvg:"https://flagcdn.com/mn.svg",flagPng:"https://flagcdn.com/w40/mn.png",phoneCode:"+976"},{name:"Montenegro",code:"ME",flagEmoji:"🇲🇪",flagSvg:"https://flagcdn.com/me.svg",flagPng:"https://flagcdn.com/w40/me.png",phoneCode:"+382"},{name:"Montserrat",code:"MS",flagEmoji:"🇲🇸",flagSvg:"https://flagcdn.com/ms.svg",flagPng:"https://flagcdn.com/w40/ms.png",phoneCode:"+1664"},{name:"Morocco",code:"MA",flagEmoji:"🇲🇦",flagSvg:"https://flagcdn.com/ma.svg",flagPng:"https://flagcdn.com/w40/ma.png",phoneCode:"+212"},{name:"Mozambique",code:"MZ",flagEmoji:"🇲🇿",flagSvg:"https://flagcdn.com/mz.svg",flagPng:"https://flagcdn.com/w40/mz.png",phoneCode:"+258"},{name:"Myanmar",code:"MM",flagEmoji:"🇲🇲",flagSvg:"https://flagcdn.com/mm.svg",flagPng:"https://flagcdn.com/w40/mm.png",phoneCode:"+95"},{name:"Namibia",code:"NA",flagEmoji:"🇳🇦",flagSvg:"https://flagcdn.com/na.svg",flagPng:"https://flagcdn.com/w40/na.png",phoneCode:"+264"},{name:"Nauru",code:"NR",flagEmoji:"🇳🇷",flagSvg:"https://flagcdn.com/nr.svg",flagPng:"https://flagcdn.com/w40/nr.png",phoneCode:"+674"},{name:"Nepal",code:"NP",flagEmoji:"🇳🇵",flagSvg:"https://flagcdn.com/np.svg",flagPng:"https://flagcdn.com/w40/np.png",phoneCode:"+977"},{name:"Netherlands",code:"NL",flagEmoji:"🇳🇱",flagSvg:"https://flagcdn.com/nl.svg",flagPng:"https://flagcdn.com/w40/nl.png",phoneCode:"+31"},{name:"New Caledonia",code:"NC",flagEmoji:"🇳🇨",flagSvg:"https://flagcdn.com/nc.svg",flagPng:"https://flagcdn.com/w40/nc.png",phoneCode:"+687"},{name:"New Zealand",code:"NZ",flagEmoji:"🇳🇿",flagSvg:"https://flagcdn.com/nz.svg",flagPng:"https://flagcdn.com/w40/nz.png",phoneCode:"+64"},{name:"Nicaragua",code:"NI",flagEmoji:"🇳🇮",flagSvg:"https://flagcdn.com/ni.svg",flagPng:"https://flagcdn.com/w40/ni.png",phoneCode:"+505"},{name:"Niger",code:"NE",flagEmoji:"🇳🇪",flagSvg:"https://flagcdn.com/ne.svg",flagPng:"https://flagcdn.com/w40/ne.png",phoneCode:"+227"},{name:"Nigeria",code:"NG",flagEmoji:"🇳🇬",flagSvg:"https://flagcdn.com/ng.svg",flagPng:"https://flagcdn.com/w40/ng.png",phoneCode:"+234"},{name:"Niue",code:"NU",flagEmoji:"🇳🇺",flagSvg:"https://flagcdn.com/nu.svg",flagPng:"https://flagcdn.com/w40/nu.png",phoneCode:"+683"},{name:"Norfolk Island",code:"NF",flagEmoji:"🇳🇫",flagSvg:"https://flagcdn.com/nf.svg",flagPng:"https://flagcdn.com/w40/nf.png",phoneCode:"+672"},{name:"North Macedonia",code:"MK",flagEmoji:"🇲🇰",flagSvg:"https://flagcdn.com/mk.svg",flagPng:"https://flagcdn.com/w40/mk.png",phoneCode:"+389"},{name:"Northern Mariana Islands",code:"MP",flagEmoji:"🇲🇵",flagSvg:"https://flagcdn.com/mp.svg",flagPng:"https://flagcdn.com/w40/mp.png",phoneCode:"+1670"},{name:"Norway",code:"NO",flagEmoji:"🇳🇴",flagSvg:"https://flagcdn.com/no.svg",flagPng:"https://flagcdn.com/w40/no.png",phoneCode:"+47"},{name:"Oman",code:"OM",flagEmoji:"🇴🇲",flagSvg:"https://flagcdn.com/om.svg",flagPng:"https://flagcdn.com/w40/om.png",phoneCode:"+968"},{name:"Pakistan",code:"PK",flagEmoji:"🇵🇰",flagSvg:"https://flagcdn.com/pk.svg",flagPng:"https://flagcdn.com/w40/pk.png",phoneCode:"+92"},{name:"Palau",code:"PW",flagEmoji:"🇵🇼",flagSvg:"https://flagcdn.com/pw.svg",flagPng:"https://flagcdn.com/w40/pw.png",phoneCode:"+680"},{name:"Palestine, State of",code:"PS",flagEmoji:"🇵🇸",flagSvg:"https://flagcdn.com/ps.svg",flagPng:"https://flagcdn.com/w40/ps.png",phoneCode:"+970"},{name:"Panama",code:"PA",flagEmoji:"🇵🇦",flagSvg:"https://flagcdn.com/pa.svg",flagPng:"https://flagcdn.com/w40/pa.png",phoneCode:"+507"},{name:"Papua New Guinea",code:"PG",flagEmoji:"🇵🇬",flagSvg:"https://flagcdn.com/pg.svg",flagPng:"https://flagcdn.com/w40/pg.png",phoneCode:"+675"},{name:"Paraguay",code:"PY",flagEmoji:"🇵🇾",flagSvg:"https://flagcdn.com/py.svg",flagPng:"https://flagcdn.com/w40/py.png",phoneCode:"+595"},{name:"Peru",code:"PE",flagEmoji:"🇵🇪",flagSvg:"https://flagcdn.com/pe.svg",flagPng:"https://flagcdn.com/w40/pe.png",phoneCode:"+51"},{name:"Philippines",code:"PH",flagEmoji:"🇵🇭",flagSvg:"https://flagcdn.com/ph.svg",flagPng:"https://flagcdn.com/w40/ph.png",phoneCode:"+63"},{name:"Pitcairn",code:"PN",flagEmoji:"🇵🇳",flagSvg:"https://flagcdn.com/pn.svg",flagPng:"https://flagcdn.com/w40/pn.png",phoneCode:"+64"},{name:"Poland",code:"PL",flagEmoji:"🇵🇱",flagSvg:"https://flagcdn.com/pl.svg",flagPng:"https://flagcdn.com/w40/pl.png",phoneCode:"+48"},{name:"Portugal",code:"PT",flagEmoji:"🇵🇹",flagSvg:"https://flagcdn.com/pt.svg",flagPng:"https://flagcdn.com/w40/pt.png",phoneCode:"+351"},{name:"Puerto Rico",code:"PR",flagEmoji:"🇵🇷",flagSvg:"https://flagcdn.com/pr.svg",flagPng:"https://flagcdn.com/w40/pr.png",phoneCode:"+1787"},{name:"Qatar",code:"QA",flagEmoji:"🇶🇦",flagSvg:"https://flagcdn.com/qa.svg",flagPng:"https://flagcdn.com/w40/qa.png",phoneCode:"+974"},{name:"Réunion",code:"RE",flagEmoji:"🇷🇪",flagSvg:"https://flagcdn.com/re.svg",flagPng:"https://flagcdn.com/w40/re.png",phoneCode:"+262"},{name:"Romania",code:"RO",flagEmoji:"🇷🇴",flagSvg:"https://flagcdn.com/ro.svg",flagPng:"https://flagcdn.com/w40/ro.png",phoneCode:"+40"},{name:"Russian Federation",code:"RU",flagEmoji:"🇷🇺",flagSvg:"https://flagcdn.com/ru.svg",flagPng:"https://flagcdn.com/w40/ru.png",phoneCode:"+7"},{name:"Rwanda",code:"RW",flagEmoji:"🇷🇼",flagSvg:"https://flagcdn.com/rw.svg",flagPng:"https://flagcdn.com/w40/rw.png",phoneCode:"+250"},{name:"Saint Barthélemy",code:"BL",flagEmoji:"🇧🇱",flagSvg:"https://flagcdn.com/bl.svg",flagPng:"https://flagcdn.com/w40/bl.png",phoneCode:"+590"},{name:"Saint Helena, Ascension and Tristan da Cunha",code:"SH",flagEmoji:"🇸🇭",flagSvg:"https://flagcdn.com/sh.svg",flagPng:"https://flagcdn.com/w40/sh.png",phoneCode:"+290"},{name:"Saint Kitts and Nevis",code:"KN",flagEmoji:"🇰🇳",flagSvg:"https://flagcdn.com/kn.svg",flagPng:"https://flagcdn.com/w40/kn.png",phoneCode:"+1869"},{name:"Saint Lucia",code:"LC",flagEmoji:"🇱🇨",flagSvg:"https://flagcdn.com/lc.svg",flagPng:"https://flagcdn.com/w40/lc.png",phoneCode:"+1758"},{name:"Saint Martin (French part)",code:"MF",flagEmoji:"🇲🇫",flagSvg:"https://flagcdn.com/mf.svg",flagPng:"https://flagcdn.com/w40/mf.png",phoneCode:"+590"},{name:"Saint Pierre and Miquelon",code:"PM",flagEmoji:"🇵🇲",flagSvg:"https://flagcdn.com/pm.svg",flagPng:"https://flagcdn.com/w40/pm.png",phoneCode:"+508"},{name:"Saint Vincent and the Grenadines",code:"VC",flagEmoji:"🇻🇨",flagSvg:"https://flagcdn.com/vc.svg",flagPng:"https://flagcdn.com/w40/vc.png",phoneCode:"+1784"},{name:"Samoa",code:"WS",flagEmoji:"🇼🇸",flagSvg:"https://flagcdn.com/ws.svg",flagPng:"https://flagcdn.com/w40/ws.png",phoneCode:"+685"},{name:"San Marino",code:"SM",flagEmoji:"🇸🇲",flagSvg:"https://flagcdn.com/sm.svg",flagPng:"https://flagcdn.com/w40/sm.png",phoneCode:"+378"},{name:"Sao Tome and Principe",code:"ST",flagEmoji:"🇸🇹",flagSvg:"https://flagcdn.com/st.svg",flagPng:"https://flagcdn.com/w40/st.png",phoneCode:"+239"},{name:"Saudi Arabia",code:"SA",flagEmoji:"🇸🇦",flagSvg:"https://flagcdn.com/sa.svg",flagPng:"https://flagcdn.com/w40/sa.png",phoneCode:"+966"},{name:"Senegal",code:"SN",flagEmoji:"🇸🇳",flagSvg:"https://flagcdn.com/sn.svg",flagPng:"https://flagcdn.com/w40/sn.png",phoneCode:"+221"},{name:"Serbia",code:"RS",flagEmoji:"🇷🇸",flagSvg:"https://flagcdn.com/rs.svg",flagPng:"https://flagcdn.com/w40/rs.png",phoneCode:"+381"},{name:"Seychelles",code:"SC",flagEmoji:"🇸🇨",flagSvg:"https://flagcdn.com/sc.svg",flagPng:"https://flagcdn.com/w40/sc.png",phoneCode:"+248"},{name:"Sierra Leone",code:"SL",flagEmoji:"🇸🇱",flagSvg:"https://flagcdn.com/sl.svg",flagPng:"https://flagcdn.com/w40/sl.png",phoneCode:"+232"},{name:"Singapore",code:"SG",flagEmoji:"🇸🇬",flagSvg:"https://flagcdn.com/sg.svg",flagPng:"https://flagcdn.com/w40/sg.png",phoneCode:"+65"},{name:"Sint Maarten (Dutch part)",code:"SX",flagEmoji:"🇸🇽",flagSvg:"https://flagcdn.com/sx.svg",flagPng:"https://flagcdn.com/w40/sx.png",phoneCode:"+1721"},{name:"Slovakia",code:"SK",flagEmoji:"🇸🇰",flagSvg:"https://flagcdn.com/sk.svg",flagPng:"https://flagcdn.com/w40/sk.png",phoneCode:"+421"},{name:"Slovenia",code:"SI",flagEmoji:"🇸🇮",flagSvg:"https://flagcdn.com/si.svg",flagPng:"https://flagcdn.com/w40/si.png",phoneCode:"+386"},{name:"Solomon Islands",code:"SB",flagEmoji:"🇸🇧",flagSvg:"https://flagcdn.com/sb.svg",flagPng:"https://flagcdn.com/w40/sb.png",phoneCode:"+677"},{name:"Somalia",code:"SO",flagEmoji:"🇸🇴",flagSvg:"https://flagcdn.com/so.svg",flagPng:"https://flagcdn.com/w40/so.png",phoneCode:"+252"},{name:"South Africa",code:"ZA",flagEmoji:"🇿🇦",flagSvg:"https://flagcdn.com/za.svg",flagPng:"https://flagcdn.com/w40/za.png",phoneCode:"+27"},{name:"South Georgia and the South Sandwich Islands",code:"GS",flagEmoji:"🇬🇸",flagSvg:"https://flagcdn.com/gs.svg",flagPng:"https://flagcdn.com/w40/gs.png",phoneCode:"+500"},{name:"South Sudan",code:"SS",flagEmoji:"🇸🇸",flagSvg:"https://flagcdn.com/ss.svg",flagPng:"https://flagcdn.com/w40/ss.png",phoneCode:"+211"},{name:"Spain",code:"ES",flagEmoji:"🇪🇸",flagSvg:"https://flagcdn.com/es.svg",flagPng:"https://flagcdn.com/w40/es.png",phoneCode:"+34"},{name:"Sri Lanka",code:"LK",flagEmoji:"🇱🇰",flagSvg:"https://flagcdn.com/lk.svg",flagPng:"https://flagcdn.com/w40/lk.png",phoneCode:"+94"},{name:"Sudan",code:"SD",flagEmoji:"🇸🇩",flagSvg:"https://flagcdn.com/sd.svg",flagPng:"https://flagcdn.com/w40/sd.png",phoneCode:"+249"},{name:"Suriname",code:"SR",flagEmoji:"🇸🇷",flagSvg:"https://flagcdn.com/sr.svg",flagPng:"https://flagcdn.com/w40/sr.png",phoneCode:"+597"},{name:"Svalbard and Jan Mayen",code:"SJ",flagEmoji:"🇸🇯",flagSvg:"https://flagcdn.com/sj.svg",flagPng:"https://flagcdn.com/w40/sj.png",phoneCode:"+47"},{name:"Sweden",code:"SE",flagEmoji:"🇸🇪",flagSvg:"https://flagcdn.com/se.svg",flagPng:"https://flagcdn.com/w40/se.png",phoneCode:"+46"},{name:"Switzerland",code:"CH",flagEmoji:"🇨🇭",flagSvg:"https://flagcdn.com/ch.svg",flagPng:"https://flagcdn.com/w40/ch.png",phoneCode:"+41"},{name:"Syrian Arab Republic",code:"SY",flagEmoji:"🇸🇾",flagSvg:"https://flagcdn.com/sy.svg",flagPng:"https://flagcdn.com/w40/sy.png",phoneCode:"+963"},{name:"Taiwan, Province of China",code:"TW",flagEmoji:"🇹🇼",flagSvg:"https://flagcdn.com/tw.svg",flagPng:"https://flagcdn.com/w40/tw.png",phoneCode:"+886"},{name:"Tajikistan",code:"TJ",flagEmoji:"🇹🇯",flagSvg:"https://flagcdn.com/tj.svg",flagPng:"https://flagcdn.com/w40/tj.png",phoneCode:"+992"},{name:"Tanzania, United Republic of",code:"TZ",flagEmoji:"🇹🇿",flagSvg:"https://flagcdn.com/tz.svg",flagPng:"https://flagcdn.com/w40/tz.png",phoneCode:"+255"},{name:"Thailand",code:"TH",flagEmoji:"🇹🇭",flagSvg:"https://flagcdn.com/th.svg",flagPng:"https://flagcdn.com/w40/th.png",phoneCode:"+66"},{name:"Timor-Leste",code:"TL",flagEmoji:"🇹🇱",flagSvg:"https://flagcdn.com/tl.svg",flagPng:"https://flagcdn.com/w40/tl.png",phoneCode:"+670"},{name:"Togo",code:"TG",flagEmoji:"🇹🇬",flagSvg:"https://flagcdn.com/tg.svg",flagPng:"https://flagcdn.com/w40/tg.png",phoneCode:"+228"},{name:"Tokelau",code:"TK",flagEmoji:"🇹🇰",flagSvg:"https://flagcdn.com/tk.svg",flagPng:"https://flagcdn.com/w40/tk.png",phoneCode:"+690"},{name:"Tonga",code:"TO",flagEmoji:"🇹🇴",flagSvg:"https://flagcdn.com/to.svg",flagPng:"https://flagcdn.com/w40/to.png",phoneCode:"+676"},{name:"Trinidad and Tobago",code:"TT",flagEmoji:"🇹🇹",flagSvg:"https://flagcdn.com/tt.svg",flagPng:"https://flagcdn.com/w40/tt.png",phoneCode:"+1868"},{name:"Tunisia",code:"TN",flagEmoji:"🇹🇳",flagSvg:"https://flagcdn.com/tn.svg",flagPng:"https://flagcdn.com/w40/tn.png",phoneCode:"+216"},{name:"Turkey",code:"TR",flagEmoji:"🇹🇷",flagSvg:"https://flagcdn.com/tr.svg",flagPng:"https://flagcdn.com/w40/tr.png",phoneCode:"+90"},{name:"Turkmenistan",code:"TM",flagEmoji:"🇹🇲",flagSvg:"https://flagcdn.com/tm.svg",flagPng:"https://flagcdn.com/w40/tm.png",phoneCode:"+993"},{name:"Turks and Caicos Islands",code:"TC",flagEmoji:"🇹🇨",flagSvg:"https://flagcdn.com/tc.svg",flagPng:"https://flagcdn.com/w40/tc.png",phoneCode:"+1649"},{name:"Tuvalu",code:"TV",flagEmoji:"🇹🇻",flagSvg:"https://flagcdn.com/tv.svg",flagPng:"https://flagcdn.com/w40/tv.png",phoneCode:"+688"},{name:"Uganda",code:"UG",flagEmoji:"🇺🇬",flagSvg:"https://flagcdn.com/ug.svg",flagPng:"https://flagcdn.com/w40/ug.png",phoneCode:"+256"},{name:"Ukraine",code:"UA",flagEmoji:"🇺🇦",flagSvg:"https://flagcdn.com/ua.svg",flagPng:"https://flagcdn.com/w40/ua.png",phoneCode:"+380"},{name:"United Arab Emirates",code:"AE",flagEmoji:"🇦🇪",flagSvg:"https://flagcdn.com/ae.svg",flagPng:"https://flagcdn.com/w40/ae.png",phoneCode:"+971"},{name:"United Kingdom of Great Britain and Northern Ireland",code:"GB",flagEmoji:"🇬🇧",flagSvg:"https://flagcdn.com/gb.svg",flagPng:"https://flagcdn.com/w40/gb.png",phoneCode:"+44"},{name:"United States",code:"US",flagEmoji:"🇺🇸",flagSvg:"https://flagcdn.com/us.svg",flagPng:"https://flagcdn.com/w40/us.png",phoneCode:"+1"},{name:"United States Minor Outlying Islands",code:"UM",flagEmoji:"🇺🇲",flagSvg:"https://flagcdn.com/um.svg",flagPng:"https://flagcdn.com/w40/um.png",phoneCode:"+1"},{name:"Uruguay",code:"UY",flagEmoji:"🇺🇾",flagSvg:"https://flagcdn.com/uy.svg",flagPng:"https://flagcdn.com/w40/uy.png",phoneCode:"+598"},{name:"Uzbekistan",code:"UZ",flagEmoji:"🇺🇿",flagSvg:"https://flagcdn.com/uz.svg",flagPng:"https://flagcdn.com/w40/uz.png",phoneCode:"+998"},{name:"Vanuatu",code:"VU",flagEmoji:"🇻🇺",flagSvg:"https://flagcdn.com/vu.svg",flagPng:"https://flagcdn.com/w40/vu.png",phoneCode:"+678"},{name:"Venezuela (Bolivarian Republic of)",code:"VE",flagEmoji:"🇻🇪",flagSvg:"https://flagcdn.com/ve.svg",flagPng:"https://flagcdn.com/w40/ve.png",phoneCode:"+58"},{name:"Viet Nam",code:"VN",flagEmoji:"🇻🇳",flagSvg:"https://flagcdn.com/vn.svg",flagPng:"https://flagcdn.com/w40/vn.png",phoneCode:"+84"},{name:"Virgin Islands (British)",code:"VG",flagEmoji:"🇻🇬",flagSvg:"https://flagcdn.com/vg.svg",flagPng:"https://flagcdn.com/w40/vg.png",phoneCode:"+1284"},{name:"Virgin Islands (U.S.)",code:"VI",flagEmoji:"🇻🇮",flagSvg:"https://flagcdn.com/vi.svg",flagPng:"https://flagcdn.com/w40/vi.png",phoneCode:"+1340"},{name:"Wallis and Futuna",code:"WF",flagEmoji:"🇼🇫",flagSvg:"https://flagcdn.com/wf.svg",flagPng:"https://flagcdn.com/w40/wf.png",phoneCode:"+681"},{name:"Western Sahara",code:"EH",flagEmoji:"🇪🇭",flagSvg:"https://flagcdn.com/eh.svg",flagPng:"https://flagcdn.com/w40/eh.png",phoneCode:"+212"},{name:"Yemen",code:"YE",flagEmoji:"🇾🇪",flagSvg:"https://flagcdn.com/ye.svg",flagPng:"https://flagcdn.com/w40/ye.png",phoneCode:"+967"},{name:"Zambia",code:"ZM",flagEmoji:"🇿🇲",flagSvg:"https://flagcdn.com/zm.svg",flagPng:"https://flagcdn.com/w40/zm.png",phoneCode:"+260"},{name:"Zimbabwe",code:"ZW",flagEmoji:"🇿🇼",flagSvg:"https://flagcdn.com/zw.svg",flagPng:"https://flagcdn.com/w40/zw.png",phoneCode:"+263"}],et=["tabindex"],lt={class:"flex items-center gap-2"},at=["src","alt"],tt={key:0,class:"absolute z-[9999] w-full mt-1 bg-white border border-gray-300 rounded-md shadow-lg max-h-60 overflow-y-auto",style:{position:"absolute"}},nt=["onClick"],ot=["src","alt","onError"],ut=e.defineComponent({__name:"index",props:{modelValue:{default:""},placeholder:{default:""},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},customClass:{default:""},autoDetectFromIp:{type:Boolean,default:!0},returnType:{default:"name"},priorityCountries:{default:()=>["US","CA","GB","DE","FR","JP","CN","AU"]},ipDetectUrl:{default:"https://ipinfo.io/json"},ipDetectMethod:{default:"GET"},ipDetectHeaders:{},ipDetectResponseParser:{}},emits:["update:modelValue","change","ip-detect-start","ip-detect-success","ip-detect-error"],setup(l,{expose:u,emit:t}){const a=l,n=t,o=e.ref(!1),s=e.ref(Ja),d=e.computed(()=>a.modelValue?s.value.find(b=>a.returnType==="code"?b.code===a.modelValue:b.name===a.modelValue):null),r=e.computed(()=>{const b=s.value.filter(x=>a.priorityCountries.includes(x.code)),v=s.value.filter(x=>!a.priorityCountries.includes(x.code)),w=b.sort((x,S)=>{const V=a.priorityCountries.indexOf(x.code),B=a.priorityCountries.indexOf(S.code);return V-B}),C=v.sort((x,S)=>x.name.localeCompare(S.name));return[...w,...C]}),i=()=>{a.disabled||(o.value=!o.value)},c=()=>{o.value=!1},g=b=>{if(b){const v=a.returnType==="code"?b.code:b.name;n("update:modelValue",v),n("change",v,b)}else n("update:modelValue","");c()},h=(b,v)=>{const w=b.target;v&&w.src===v.flagSvg?w.src=v.flagPng:d.value&&w.src===d.value.flagSvg&&(w.src=d.value.flagPng)},f=async()=>{if(!(!a.autoDetectFromIp||a.modelValue)){n("ip-detect-start");try{const b={method:a.ipDetectMethod,headers:{"Content-Type":"application/json",...a.ipDetectHeaders}},v=await fetch(a.ipDetectUrl,b);if(!v.ok)throw new Error(`HTTP error! status: ${v.status}`);const w=await v.json();let C;if(a.ipDetectResponseParser?C=a.ipDetectResponseParser(w):C=w.country||w.countryCode||w.country_code||"",C=C.toUpperCase(),!C)throw new Error("Country code not found in response");console.log("Auto-detected country from IP:",C),n("ip-detect-success",C);const x=s.value.find(S=>S.code===C);if(x){const S=a.returnType==="code"?x.code:x.name;n("update:modelValue",S),n("change",S,x)}else console.warn("Detected country code not found in country list:",C)}catch(b){const v=b instanceof Error?b:new Error(String(b));console.warn("Failed to detect country from IP:",v),n("ip-detect-error",v)}}},p=e.ref();return e.onMounted(async()=>{await e.nextTick(),a.autoDetectFromIp&&!a.modelValue&&await f();const b=v=>{p.value&&!p.value.contains(v.target)&&c()};document.addEventListener("click",b),e.onUnmounted(()=>{document.removeEventListener("click",b)})}),u({detectCountryFromIp:f,allCountries:e.readonly(s),sortedCountries:e.readonly(r)}),(b,v)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"containerRef",ref:p,class:"country-select-container relative"},[e.createElementVNode("div",{onClick:i,class:e.normalizeClass(["w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-[#1a1a1a] focus:border-[#1a1a1a] transition-colors duration-200 cursor-pointer bg-white flex items-center justify-between",l.customClass,{"opacity-60 cursor-not-allowed":l.disabled}]),tabindex:l.disabled?-1:0,onKeydown:[e.withKeys(i,["enter"]),e.withKeys(i,["space"]),e.withKeys(c,["escape"])]},[e.createElementVNode("div",lt,[d.value?(e.openBlock(),e.createElementBlock("img",{key:0,src:d.value.flagSvg,alt:d.value.name,class:"w-5 h-4 object-cover rounded-sm",onError:h},null,40,at)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass({"text-gray-500":!d.value&&l.placeholder})},e.toDisplayString(d.value?d.value.name:l.placeholder||"选择国家"),3)]),(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass(["w-5 h-5 text-gray-400 transition-transform duration-200",{"rotate-180":o.value}]),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[...v[0]||(v[0]=[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"},null,-1)])],2))],42,et),o.value&&!l.disabled?(e.openBlock(),e.createElementBlock("div",tt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,w=>{var C;return e.openBlock(),e.createElementBlock("div",{key:w.code,onClick:x=>g(w),class:e.normalizeClass(["px-3 py-2 hover:bg-gray-50 cursor-pointer flex items-center gap-2 transition-colors",{"bg-gray-100":((C=d.value)==null?void 0:C.code)===w.code}])},[e.createElementVNode("img",{src:w.flagSvg,alt:w.name,class:"w-5 h-4 object-cover rounded-sm flex-shrink-0",onError:x=>h(x,w)},null,40,ot),e.createElementVNode("span",null,e.toDisplayString(w.name),1)],10,nt)}),128))])):e.createCommentVNode("",!0),o.value&&!l.disabled?(e.openBlock(),e.createElementBlock("div",{key:1,class:"fixed inset-0 z-[9998]",onClick:c})):e.createCommentVNode("",!0)],512))}}),st=K(ut,[["__scopeId","data-v-08b31f1b"]]),ct=["tabindex","aria-expanded","aria-labelledby"],rt={class:"flex items-center gap-2 min-h-0 flex-1"},it={key:0,class:"text-gray-500"},dt={key:1,class:"flex flex-wrap gap-1"},vt={key:0,class:"text-gray-900"},bt=["onClick"],gt={key:0,class:"absolute z-[9999] w-full mt-2 bg-white rounded-xl shadow-xl border border-gray-100/50 max-h-60 overflow-auto backdrop-blur-sm",role:"listbox"},ft={key:0,class:"p-3 border-b border-gray-50/80"},mt={class:"py-1"},ht={key:0,class:"px-4 py-3 text-sm text-gray-400 text-center"},pt=["onClick","onKeydown","aria-selected"],yt={class:"flex items-center gap-3"},kt={key:0,class:"flex items-center"},wt={key:1,class:"flex items-center"},Ct={key:0,class:"w-1.5 h-1.5 bg-white rounded-full"},xt={class:"flex-1"},St=e.defineComponent({__name:"index",props:{modelValue:{},options:{},placeholder:{default:"请选择..."},multiple:{type:Boolean,default:!1},searchable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},labelKey:{default:"label"},valueKey:{default:"value"},noOptionsText:{default:"暂无选项"},clearable:{type:Boolean,default:!1},borderless:{type:Boolean,default:!1},width:{default:"200px"}},emits:["update:modelValue","change","open","close"],setup(l,{expose:u,emit:t}){const a=l,n=t,o=e.ref(!1),s=e.ref(""),d=e.ref(),r=e.ref(),i=e.computed(()=>!a.searchable||!s.value?a.options:a.options.filter(m=>p(m).toLowerCase().includes(s.value.toLowerCase()))),c=e.computed(()=>a.multiple?null:a.options.find(m=>b(m)===a.modelValue)||null),g=e.computed(()=>a.multiple?Array.isArray(a.modelValue)?a.options.filter(m=>a.modelValue.includes(b(m))):[]:[]),h=e.computed(()=>a.multiple?g.value.length>0:c.value!==null),f=e.computed(()=>`select-label-${Math.random().toString(36).substr(2,9)}`),p=m=>typeof m=="object"?m[a.labelKey]:m,b=m=>typeof m=="object"?m[a.valueKey]:m,v=m=>{const P=b(m);return a.multiple?Array.isArray(a.modelValue)&&a.modelValue.includes(P):a.modelValue===P},w=m=>{if(m.disabled)return;const P=b(m);if(a.multiple){const E=Array.isArray(a.modelValue)?[...a.modelValue]:[],T=E.indexOf(P);T>-1?E.splice(T,1):E.push(P),n("update:modelValue",E),n("change",E)}else n("update:modelValue",P),n("change",P),V()},C=m=>{if(!a.multiple)return;const P=b(m),E=Array.isArray(a.modelValue)?[...a.modelValue]:[],T=E.indexOf(P);T>-1&&(E.splice(T,1),n("update:modelValue",E),n("change",E))},x=()=>{a.disabled||(o.value?V():S())},S=()=>{o.value=!0,n("open"),e.nextTick(()=>{a.searchable&&r.value&&r.value.focus()})},V=()=>{o.value=!1,s.value="",n("close")},B=m=>{d.value&&!d.value.contains(m.target)&&V()},N=m=>{if(!o.value)return;const P=i.value,E=P.findIndex(T=>v(T));switch(m.key){case"ArrowDown":m.preventDefault();break;case"ArrowUp":m.preventDefault();break;case"Enter":case" ":m.preventDefault(),E>=0&&P[E]&&w(P[E]);break}};return e.onMounted(()=>{document.addEventListener("click",B),document.addEventListener("keydown",N)}),e.onUnmounted(()=>{document.removeEventListener("click",B),document.removeEventListener("keydown",N)}),u({open:S,close:V,toggle:x}),(m,P)=>(e.openBlock(),e.createElementBlock("div",{class:"relative",style:e.normalizeStyle({width:l.width}),ref_key:"selectContainer",ref:d},[e.createElementVNode("div",{onClick:x,onKeydown:[e.withKeys(x,["enter"]),e.withKeys(x,["space"]),e.withKeys(V,["escape"])],class:e.normalizeClass(["flex items-center justify-between w-full px-4 py-1.5 text-sm bg-white rounded-md cursor-pointer transition-all duration-200 border ","focus:outline-none focus:ring-2 focus:ring-[#1a1a1a]/50 focus:ring-offset-1",{"shadow-sm hover:shadow-md border border-gray-200/60 hover:border-gray-300/80":!l.disabled&&!l.borderless,"shadow-sm hover:shadow-md":!l.disabled&&l.borderless,"bg-gray-50/50 cursor-not-allowed border border-gray-100":l.disabled,"ring-1 ring-[#1a1a1a]/50 border-[#1a1a1a]/50 shadow-md":o.value&&!l.borderless,"ring-1 ring-[#1a1a1a]/50 shadow-md":o.value&&l.borderless}]),tabindex:l.disabled?-1:0,role:"combobox","aria-expanded":o.value,"aria-haspopup":!0,"aria-labelledby":f.value},[e.createElementVNode("div",rt,[l.placeholder&&!h.value?(e.openBlock(),e.createElementBlock("span",it,e.toDisplayString(l.placeholder),1)):(e.openBlock(),e.createElementBlock("div",dt,[l.multiple?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(g.value,E=>(e.openBlock(),e.createElementBlock("span",{key:b(E),class:"inline-flex items-center gap-1.5 px-2.5 py-1 text-xs bg-[#FFF] text-[#1a1a1a] rounded-full border border-[#1a1a1a]/50"},[e.createTextVNode(e.toDisplayString(p(E))+" ",1),e.createElementVNode("button",{onClick:e.withModifiers(T=>C(E),["stop"]),class:"rounded-full p-0.5 transition-colors duration-150",type:"button"},[...P[1]||(P[1]=[e.createElementVNode("i",{class:"bi bi-x text-xs text-[#1a1a1a]"},null,-1)])],8,bt)]))),128)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[c.value?(e.openBlock(),e.createElementBlock("span",vt,e.toDisplayString(p(c.value)),1)):e.createCommentVNode("",!0)],64))]))]),e.createVNode(e.unref(J),{class:e.normalizeClass(["text-gray-400 transition-transform duration-300 ease-in-out text-lg",{"rotate-180":o.value,"rotate-0":!o.value}]),icon:"mdi:chevron-down"},null,8,["class"])],42,ct),e.createVNode(e.Transition,{"enter-active-class":"transition ease-out duration-200","enter-from-class":"opacity-0 scale-95","enter-to-class":"opacity-100 scale-100","leave-active-class":"transition ease-in duration-150","leave-from-class":"opacity-100 scale-100","leave-to-class":"opacity-0 scale-95"},{default:e.withCtx(()=>[o.value?(e.openBlock(),e.createElementBlock("div",gt,[l.searchable?(e.openBlock(),e.createElementBlock("div",ft,[e.withDirectives(e.createElementVNode("input",{ref_key:"searchInput",ref:r,"onUpdate:modelValue":P[0]||(P[0]=E=>s.value=E),type:"text",class:"w-full px-3 py-2 text-sm bg-gray-50/50 border border-gray-200/60 rounded-lg focus:outline-none focus:ring-1 focus:ring-[#1a1a1a]/50 focus:border-[#1a1a1a]/50 transition-all duration-200",placeholder:"搜索...",onKeydown:e.withKeys(V,["escape"])},null,544),[[e.vModelText,s.value]])])):e.createCommentVNode("",!0),e.createElementVNode("div",mt,[i.value.length===0?(e.openBlock(),e.createElementBlock("div",ht,e.toDisplayString(l.noOptionsText),1)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,E=>(e.openBlock(),e.createElementBlock("div",{key:b(E),onClick:T=>w(E),onKeydown:[e.withKeys(T=>w(E),["enter"]),e.withKeys(T=>w(E),["space"])],class:e.normalizeClass(["px-4 py-3 text-sm cursor-pointer transition-all duration-150",{"bg-[#f2f2f2] text-[#1a1a1a] font-medium":v(E),"hover:bg-[#f2f2f2] text-gray-700":!v(E)}]),role:"option","aria-selected":v(E),tabindex:0},[e.createElementVNode("div",yt,[l.multiple?(e.openBlock(),e.createElementBlock("div",kt,[e.createElementVNode("div",{class:e.normalizeClass(["w-4 h-4 rounded border flex items-center justify-center transition-all duration-150",{"border-[#1a1a1a] ":v(E),"border-gray-300 bg-white":!v(E)}])},[v(E)?(e.openBlock(),e.createBlock(e.unref(J),{key:0,icon:"mdi:check",class:"text-[#1a1a1a] text-xs font-bold"})):e.createCommentVNode("",!0)],2)])):(e.openBlock(),e.createElementBlock("div",wt,[e.createElementVNode("div",{class:e.normalizeClass(["w-4 h-4 rounded-full border-2 flex items-center justify-center transition-all duration-150",{"border-[#1a1a1a] bg-[#1a1a1a]":v(E),"border-gray-300 bg-white":!v(E)}])},[v(E)?(e.openBlock(),e.createElementBlock("div",Ct)):e.createCommentVNode("",!0)],2)])),e.createElementVNode("span",xt,e.toDisplayString(p(E)),1)])],42,pt))),128))])])):e.createCommentVNode("",!0)]),_:1})],4))}}),Et=K(St,[["__scopeId","data-v-9347fa7f"]]),$t=["type","value","placeholder","disabled","readonly","required","maxlength","minlength","autocomplete"],Bt={key:2,class:"x-input-count"},Mt=e.defineComponent({__name:"index",props:{modelValue:{},type:{default:"text"},placeholder:{default:""},label:{default:""},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},maxlength:{},minlength:{},autocomplete:{default:"off"},error:{type:Boolean,default:!1},width:{default:"100%"}},emits:["update:modelValue","input","change","blur","focus","clear","keydown","keyup"],setup(l,{expose:u,emit:t}){const a=l,n=t,o=e.ref(),s=e.ref(!1),d=e.computed(()=>!!a.label),r=e.computed(()=>{const S=a.modelValue;return S!=null&&S!==""}),i=e.computed(()=>String(a.modelValue||"").length),c=S=>{const B=S.target.value;n("update:modelValue",B),n("input",B,S)},g=S=>{const B=S.target.value;n("change",B,S)},h=S=>{s.value=!1,n("blur",S)},f=S=>{s.value=!0,n("focus",S)},p=S=>{n("keydown",S)},b=S=>{n("keyup",S)},v=()=>{var S;n("update:modelValue",""),n("clear"),(S=o.value)==null||S.focus()};return u({focus:()=>{var S;(S=o.value)==null||S.focus()},blur:()=>{var S;(S=o.value)==null||S.blur()},select:()=>{var S;(S=o.value)==null||S.select()},ref:o}),(S,V)=>(e.openBlock(),e.createElementBlock("div",{class:"x-input-group",style:e.normalizeStyle({width:l.width})},[e.createElementVNode("input",{ref_key:"inputRef",ref:o,type:l.type,value:l.modelValue,placeholder:d.value?"":l.placeholder,disabled:l.disabled,readonly:l.readonly,required:l.required,maxlength:l.maxlength,minlength:l.minlength,autocomplete:l.autocomplete,class:e.normalizeClass(["x-input",{"x-input--disabled":l.disabled,"x-input--error":l.error,"x-input--clearable":l.clearable&&l.modelValue,"x-input--with-label":d.value}]),onInput:c,onBlur:h,onFocus:f,onKeydown:p,onKeyup:b,onChange:g},null,42,$t),l.label?(e.openBlock(),e.createElementBlock("label",{key:0,class:e.normalizeClass(["x-input-label",{"x-input-label--active":s.value||r.value,"x-input-label--error":l.error}])},e.toDisplayString(l.label),3)):e.createCommentVNode("",!0),l.clearable&&l.modelValue&&!l.disabled?(e.openBlock(),e.createElementBlock("button",{key:1,type:"button",class:"x-input-clear",onClick:v,onMousedown:V[0]||(V[0]=e.withModifiers(()=>{},["prevent"]))},[e.createVNode(e.unref(J),{icon:"bi:x-circle"})],32)):e.createCommentVNode("",!0),l.showWordLimit&&l.maxlength?(e.openBlock(),e.createElementBlock("div",Bt,e.toDisplayString(i.value)+" / "+e.toDisplayString(l.maxlength),1)):e.createCommentVNode("",!0)],4))}}),Vt=K(Mt,[["__scopeId","data-v-d7d149e3"]]),Nt={class:"x-checkboxes"},Pt=["onClick"],jt={class:"checkbox-wrapper"},Tt=["checked","disabled","onChange"],Dt={class:"checkbox-custom"},Lt={key:0,class:"check-icon",viewBox:"0 0 24 24"},_t={class:"option-label"},At=e.defineComponent({__name:"index",props:{options:{},modelValue:{default:()=>[]},placeholder:{default:"请选择选项"},maxSelections:{default:0},disabled:{type:Boolean,default:!1},layout:{default:"vertical"},columns:{default:3}},emits:["update:modelValue","change"],setup(l,{expose:u,emit:t}){const a=l,n=t,o=g=>a.modelValue&&a.modelValue.includes(g),s=g=>{if(a.disabled)return;const h=a.options.find(b=>b.value===g);if(h!=null&&h.disabled)return;const f=[...a.modelValue],p=f.indexOf(g);if(p>-1)f.splice(p,1);else{if(a.maxSelections>0&&f.length>=a.maxSelections)return;f.push(g)}n("update:modelValue",f),n("change",f)},d=g=>{!a.disabled&&!g.disabled&&s(g.value)};return u({clearAll:()=>{a.disabled||(n("update:modelValue",[]),n("change",[]))},selectAll:()=>{if(a.disabled)return;const h=a.options.filter(f=>!f.disabled).map(f=>f.value);a.maxSelections>0?(n("update:modelValue",h.slice(0,a.maxSelections)),n("change",h.slice(0,a.maxSelections))):(n("update:modelValue",h),n("change",h))},removeOption:g=>{s(g)}}),(g,h)=>(e.openBlock(),e.createElementBlock("div",Nt,[e.createElementVNode("div",{class:e.normalizeClass(["options-container",[`options-container--${l.layout}`,{"options-container--disabled":l.disabled}]]),style:e.normalizeStyle(l.layout==="grid"?{gridTemplateColumns:`repeat(${l.columns}, 1fr)`}:{})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.options,f=>(e.openBlock(),e.createElementBlock("div",{key:f.value,class:e.normalizeClass(["option-item",{"option-selected":o(f.value),"option-disabled":l.disabled||f.disabled}]),onClick:p=>d(f)},[e.createElementVNode("div",jt,[e.createElementVNode("input",{type:"checkbox",checked:o(f.value),disabled:l.disabled||f.disabled,onChange:e.withModifiers(p=>s(f.value),["stop"]),class:"checkbox-input"},null,40,Tt),e.createElementVNode("div",Dt,[o(f.value)?(e.openBlock(),e.createElementBlock("svg",Lt,[...h[0]||(h[0]=[e.createElementVNode("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"},null,-1)])])):e.createCommentVNode("",!0)])]),e.createElementVNode("span",_t,e.toDisplayString(f.label),1)],10,Pt))),128))],6)]))}}),zt=K(At,[["__scopeId","data-v-05984fcf"]]),It=["onClick","disabled","aria-expanded","aria-controls"],Ot={class:"accordion-title"},Yt={class:"accordion-icon"},Ft=["id"],Rt={class:"accordion-body"},Xt=e.defineComponent({__name:"index",props:{items:{},allowMultiple:{type:Boolean,default:!1},defaultOpen:{default:()=>[]},bordered:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1}},emits:["change","item-click"],setup(l,{expose:u,emit:t}){const a=l,n=t,o=e.ref(new Set(a.defaultOpen)),s=e.ref({}),d=e.ref({}),r=(b,v)=>{b&&(d.value[v]=b,e.nextTick(()=>{const w=b.querySelector(".accordion-body");w&&(s.value[v]=w.scrollHeight)}))},i=b=>{var w;if(a.disabled||(w=a.items[b])!=null&&w.disabled)return;const v=o.value.has(b);a.allowMultiple?v?o.value.delete(b):o.value.add(b):v?o.value.clear():(o.value.clear(),o.value.add(b)),n("item-click",b,!v),n("change",Array.from(o.value))},c=b=>o.value.has(b);return e.watch(()=>a.defaultOpen,b=>{o.value=new Set(b)},{deep:!0}),e.watch(()=>a.items,()=>{e.nextTick(()=>{Object.keys(d.value).forEach(b=>{const v=parseInt(b),w=d.value[v];if(w){const C=w.querySelector(".accordion-body");C&&(s.value[v]=C.scrollHeight)}})})},{deep:!0}),u({openItem:b=>{var v;!a.disabled&&!((v=a.items[b])!=null&&v.disabled)&&(o.value.has(b)||(a.allowMultiple||o.value.clear(),o.value.add(b),n("change",Array.from(o.value))))},closeItem:b=>{o.value.has(b)&&(o.value.delete(b),n("change",Array.from(o.value)))},openAll:()=>{a.allowMultiple&&!a.disabled&&(a.items.forEach((b,v)=>{b.disabled||o.value.add(v)}),n("change",Array.from(o.value)))},closeAll:()=>{o.value.clear(),n("change",[])},toggle:i}),(b,v)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["accordion-container",{"accordion-container--bordered":l.bordered}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.items,(w,C)=>(e.openBlock(),e.createElementBlock("div",{key:w.id||C,class:e.normalizeClass(["accordion-item",{"is-open":c(C),"is-disabled":l.disabled||w.disabled}])},[e.createElementVNode("button",{onClick:x=>i(C),class:"accordion-header",disabled:l.disabled||w.disabled,"aria-expanded":c(C),"aria-controls":`accordion-content-${C}`},[e.createElementVNode("span",Ot,e.toDisplayString(w.title),1),e.createElementVNode("div",Yt,[(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass(["accordion-arrow",{"accordion-arrow--rotate":c(C)}]),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:"2"},[...v[0]||(v[0]=[e.createElementVNode("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"},null,-1)])],2))])],8,It),e.createElementVNode("div",{id:`accordion-content-${C}`,class:"accordion-content",style:e.normalizeStyle({maxHeight:c(C)?`${s.value[C]}px`:"0px"}),ref_for:!0,ref:x=>r(x,C)},[e.createElementVNode("div",Rt,e.toDisplayString(w.content),1)],12,Ft)],2))),128))],2))}}),Ht=K(Xt,[["__scopeId","data-v-c5fef037"]]),Wt={class:"thumbnail-container-wrapper relative"},Ut=["onMouseenter","onClick"],Gt=["src","alt"],qt={class:"thumbnail-index"},Kt=e.defineComponent({__name:"index",props:{images:{default:()=>[]},modelValue:{default:0},autoScroll:{type:Boolean,default:!0},showIndex:{type:Boolean,default:!0}},emits:["update:modelValue","change","hover"],setup(l,{expose:u,emit:t}){const a=l,n=t,o=e.ref(a.modelValue),s=e.ref(null),d=e.ref([]),r=e.ref(!1),i=e.ref(!1),c=e.ref(0),g=e.ref(!1),h=e.ref(!1),f=()=>{V()},p=(m,P)=>{m&&m instanceof HTMLElement&&(d.value[P]=m)},b=m=>{n("hover",m)},v=()=>{},w=m=>{o.value=m,n("update:modelValue",m),n("change",m),a.autoScroll&&e.nextTick(()=>{S(m),setTimeout(()=>{V()},300)})},C=()=>{if(!s.value)return;const m=s.value,P=m.clientWidth*.8;m.scrollBy({left:-P,behavior:"smooth"})},x=()=>{if(!s.value)return;const m=s.value,P=m.clientWidth*.8;m.scrollBy({left:P,behavior:"smooth"})},S=m=>{if(!s.value||d.value.length===0)return;const P=s.value,E=d.value[m];if(!E)return;const T=2,I=E.offsetWidth+8;let L=0;m>=T&&(L=(m-T)*I);const j=P.scrollWidth-P.clientWidth;L=Math.max(0,Math.min(L,j)),P.scrollTo({left:L,behavior:"smooth"})},V=()=>{if(!s.value)return;const m=s.value,P=m.scrollLeft,E=m.scrollWidth-m.clientWidth;r.value=P>0,i.value=P<E,E>0?c.value=P/E*100:c.value=0;const T=B();g.value=a.images.length>T&&r.value,h.value=a.images.length>T&&i.value},B=()=>{var X;if(!s.value||d.value.length===0)return 4;const P=s.value.clientWidth-32,F=(((X=d.value[0])==null?void 0:X.offsetWidth)||80)+12;return Math.floor(P/F)},N=m=>{m>=0&&m<a.images.length&&w(m)};return e.watch(()=>a.modelValue,m=>{m!==void 0&&m!==o.value&&(o.value=m,a.autoScroll&&e.nextTick(()=>{S(m)}))}),e.watch(()=>a.images,()=>{e.nextTick(()=>{V()})},{deep:!0}),e.onMounted(()=>{e.nextTick(()=>{V()})}),u({setCurrentIndex:N,scrollLeft:C,scrollRight:x,updateScrollState:V}),(m,P)=>(e.openBlock(),e.createElementBlock("div",Wt,[g.value?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:C,class:"scroll-arrow scroll-arrow-left","aria-label":"向左滚动"},[...P[1]||(P[1]=[e.createElementVNode("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[e.createElementVNode("path",{d:"M15 18l-6-6 6-6"})],-1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",{ref_key:"thumbnailContainer",ref:s,onScroll:f,class:"thumbnail-scroll-container"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.images,(E,T)=>(e.openBlock(),e.createElementBlock("div",{key:T,ref_for:!0,ref:F=>p(F,T),onMouseenter:F=>b(T),onMouseleave:P[0]||(P[0]=F=>v()),onClick:F=>w(T),class:e.normalizeClass(["thumbnail-item",{"thumbnail-item--active":o.value===T,"thumbnail-item--inactive":o.value!==T}])},[e.createElementVNode("img",{src:E,alt:`缩略图 ${T+1}`,class:e.normalizeClass(["thumbnail-image",{"thumbnail-image--active":o.value===T,"thumbnail-image--inactive":o.value!==T}])},null,10,Gt),e.createElementVNode("div",qt,e.toDisplayString(T+1),1)],42,Ut))),128))],544),h.value?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:x,class:"scroll-arrow scroll-arrow-right","aria-label":"向右滚动"},[...P[2]||(P[2]=[e.createElementVNode("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[e.createElementVNode("path",{d:"M9 18l6-6-6-6"})],-1)])])):e.createCommentVNode("",!0)]))}}),Zt=K(Kt,[["__scopeId","data-v-809b97a6"]]),Qt=e.defineComponent({__name:"index",props:{width:{default:"100%"},height:{default:"1rem"},shape:{default:"rectangle"},animated:{type:Boolean,default:!0},loading:{type:Boolean,default:!0},class:{default:""},style:{default:()=>({})}},setup(l){const u=l,t=e.computed(()=>typeof u.width=="string"?u.width.includes("%")||u.width.includes("px")||u.width.includes("rem")?"":`w-${u.width}`:""),a=e.computed(()=>typeof u.height=="string"?u.height.includes("%")||u.height.includes("px")||u.height.includes("rem")?"":`h-${u.height}`:""),n=e.computed(()=>{switch(u.shape){case"circle":return"rounded-full";case"rounded":return"rounded-lg";default:return"rounded"}}),o=e.computed(()=>u.class),s=e.computed(()=>{const d={...u.style};return typeof u.width=="string"&&(u.width.includes("%")||u.width.includes("px")||u.width.includes("rem"))?d.width=u.width:typeof u.width=="number"&&(d.width=`${u.width}px`),typeof u.height=="string"&&(u.height.includes("%")||u.height.includes("px")||u.height.includes("rem"))?d.height=u.height:typeof u.height=="number"&&(d.height=`${u.height}px`),d});return(d,r)=>l.loading?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["bg-gray-200",[t.value,a.value,n.value,o.value,{"animate-pulse":l.animated}]]),style:e.normalizeStyle(s.value)},null,6)):e.renderSlot(d.$slots,"default",{key:1},void 0,!0)}}),Jt=K(Qt,[["__scopeId","data-v-db4a4465"]]),en={key:0,class:"modal-header"},ln={class:"modal-title"},an={class:"modal-body"},tn={key:1,class:"modal-footer"},nn={key:0,class:"loading-spinner"},on=e.defineComponent({__name:"index",props:{visible:{type:Boolean,default:!1},title:{default:"提示"},width:{},size:{default:"medium"},fullscreen:{type:Boolean,default:!1},showHeader:{type:Boolean,default:!0},showFooter:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},showCancel:{type:Boolean,default:!0},showConfirm:{type:Boolean,default:!0},cancelText:{default:"取消"},confirmText:{default:"确定"},confirmLoading:{type:Boolean,default:!1},maskClosable:{type:Boolean,default:!0},escClosable:{type:Boolean,default:!0}},emits:["update:visible","close","cancel","confirm","opened","closed"],setup(l,{expose:u,emit:t}){const a=l,n=t,o=()=>{n("update:visible",!1),n("close")},s=()=>{n("cancel"),n("update:visible",!1)},d=()=>{n("confirm")},r=()=>{a.maskClosable&&o()},i=c=>{c.key==="Escape"&&a.escClosable&&a.visible&&o()};return e.watch(()=>a.visible,c=>{c?(document.addEventListener("keydown",i),document.body.style.overflow="hidden",n("opened")):(document.removeEventListener("keydown",i),document.body.style.overflow="",n("closed"))}),u({close:o}),(c,g)=>{const h=e.resolveComponent("XButton");return e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(e.Transition,{"enter-active-class":"transition-opacity duration-300","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"transition-opacity duration-300","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:e.withCtx(()=>[l.visible?(e.openBlock(),e.createElementBlock("div",{key:0,class:"modal-mask",onClick:r},[e.createVNode(e.Transition,{"enter-active-class":"transition-all duration-300","enter-from-class":"opacity-0 scale-95","enter-to-class":"opacity-100 scale-100","leave-active-class":"transition-all duration-300","leave-from-class":"opacity-100 scale-100","leave-to-class":"opacity-0 scale-95"},{default:e.withCtx(()=>[l.visible?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["modal-container",[`modal-container--${l.size}`,{"modal-container--fullscreen":l.fullscreen}]]),style:e.normalizeStyle({width:l.width}),onClick:g[0]||(g[0]=e.withModifiers(()=>{},["stop"]))},[l.showHeader?(e.openBlock(),e.createElementBlock("div",en,[e.renderSlot(c.$slots,"header",{},()=>[e.createElementVNode("h3",ln,e.toDisplayString(l.title),1)],!0),l.showClose?(e.openBlock(),e.createElementBlock("button",{key:0,class:"modal-close",onClick:o,"aria-label":"关闭"},[e.createVNode(e.unref(J),{icon:"mdi:close"})])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",an,[e.renderSlot(c.$slots,"default",{},void 0,!0)]),l.showFooter?(e.openBlock(),e.createElementBlock("div",tn,[e.renderSlot(c.$slots,"footer",{},()=>[l.showCancel?(e.openBlock(),e.createBlock(h,{key:0,size:"small",ghost:"",type:"danger",onClick:s},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.cancelText),1)]),_:1})):e.createCommentVNode("",!0),l.showConfirm?(e.openBlock(),e.createBlock(h,{key:1,size:"small",ghost:"",type:"primary",onClick:d,disabled:l.confirmLoading},{default:e.withCtx(()=>[l.confirmLoading?(e.openBlock(),e.createElementBlock("span",nn)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(l.confirmText),1)]),_:1},8,["disabled"])):e.createCommentVNode("",!0)],!0)])):e.createCommentVNode("",!0)],6)):e.createCommentVNode("",!0)]),_:3})])):e.createCommentVNode("",!0)]),_:3})])}}}),un=K(on,[["__scopeId","data-v-7de4cec9"]]),sn={class:"x-tooltip-trigger"},cn={class:"tooltip-label"},rn={class:"tooltip-text"},dn={class:"tooltip-hover-text"},vn=e.defineComponent({__name:"index",props:{content:{},placement:{default:"top"},variant:{default:"basic"},label:{default:"Hover"},hoverText:{default:""}},setup(l){return(u,t)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([l.variant==="basic"?"x-tooltip-wrapper":"x-tooltip-rich-wrapper",l.variant==="rich"&&`rich-${l.placement}`])},[l.variant==="basic"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",sn,[e.renderSlot(u.$slots,"default",{},void 0,!0)]),e.createElementVNode("div",{class:e.normalizeClass(["x-tooltip",`tooltip-${l.placement}`])},[e.createTextVNode(e.toDisplayString(l.content)+" ",1),e.createElementVNode("div",{class:e.normalizeClass(["tooltip-arrow",`arrow-${l.placement}`])},null,2)],2)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",cn,e.toDisplayString(l.label),1),e.createElementVNode("span",rn,e.toDisplayString(l.content),1),e.createElementVNode("span",dn,e.toDisplayString(l.hoverText||l.label),1)],64))],2))}}),bn=K(vn,[["__scopeId","data-v-6d3b782b"]]),gn=["id","checked","disabled"],fn=["for"],mn={key:0,class:"loading-spinner"},hn=["id","checked","disabled"],pn={key:0,class:"loading-spinner-theme"},yn=e.defineComponent({__name:"index",props:{modelValue:{type:Boolean},disabled:{type:Boolean,default:!1},size:{default:"medium"},variant:{default:"default"},color:{default:"#1a1a1a"},shadowColor:{default:"#1a1a1a"},thumbColor:{default:"#ffffff"},loading:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(l,{emit:u}){const t=l,a=u,n=e.computed(()=>`switch-${Math.random().toString(36).substr(2,9)}`),o=e.computed(()=>{const i=t.color||"#0974f1",c=t.shadowColor||i,g=t.thumbColor||"#ffffff",h=d(i,.9),f=d(i,.2);return{"--switch-color":i,"--switch-color-rgb":s(i),"--switch-shadow-color":c,"--switch-shadow-color-rgb":s(c),"--switch-thumb-color":g,"--switch-bg-color":h,"--switch-active-color":f}}),s=i=>{const c=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(i);if(c){const g=parseInt(c[1],16),h=parseInt(c[2],16),f=parseInt(c[3],16);return`${g}, ${h}, ${f}`}return"26, 26, 26"},d=(i,c)=>{const g=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(i);if(g){const h=parseInt(g[1],16),f=parseInt(g[2],16),p=parseInt(g[3],16),b=Math.round(h+(255-h)*c),v=Math.round(f+(255-f)*c),w=Math.round(p+(255-p)*c);return`#${b.toString(16).padStart(2,"0")}${v.toString(16).padStart(2,"0")}${w.toString(16).padStart(2,"0")}`}return"#e5e7eb"},r=()=>{if(!t.disabled&&!t.loading){const i=!t.modelValue;a("change",i),a("update:modelValue",i)}};return(i,c)=>l.variant==="default"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["switch",[`size-${l.size}`,{disabled:l.disabled},{loading:l.loading},{checked:l.modelValue}]]),style:e.normalizeStyle(o.value)},[e.createElementVNode("input",{id:n.value,checked:l.modelValue,onChange:r,disabled:l.disabled||l.loading,type:"checkbox"},null,40,gn),e.createElementVNode("label",{for:n.value,class:"slider"},[l.loading?(e.openBlock(),e.createElementBlock("span",mn,[...c[0]||(c[0]=[e.createElementVNode("span",{class:"spinner-inner"},null,-1)])])):e.createCommentVNode("",!0)],8,fn)],6)):l.variant==="theme"?(e.openBlock(),e.createElementBlock("label",{key:1,class:e.normalizeClass(["theme-switch",[`size-${l.size}`,{disabled:l.disabled},{loading:l.loading}]])},[e.createElementVNode("input",{id:n.value,checked:l.modelValue,onChange:r,disabled:l.disabled||l.loading,type:"checkbox",class:"theme-switch__checkbox"},null,40,hn),c[2]||(c[2]=e.createStaticVNode('<div class="theme-switch__container" data-v-ce0ce570><div class="theme-switch__clouds" data-v-ce0ce570></div><div class="theme-switch__stars-container" data-v-ce0ce570><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 144 55" fill="none" data-v-ce0ce570><path fill-rule="evenodd" clip-rule="evenodd" d="M135.831 3.00688C135.055 3.85027 134.111 4.29946 133 4.35447C134.111 4.40947 135.055 4.85867 135.831 5.71123C136.607 6.55462 136.996 7.56303 136.996 8.72727C136.996 7.95722 137.172 7.25134 137.525 6.59129C137.886 5.93124 138.372 5.39954 138.98 5.00535C139.598 4.60199 140.268 4.39114 141 4.35447C139.88 4.2903 138.936 3.85027 138.16 3.00688C137.384 2.16348 136.996 1.16425 136.996 0C136.996 1.16425 136.607 2.16348 135.831 3.00688ZM31 23.3545C32.1114 23.2995 33.0551 22.8503 33.8313 22.0069C34.6075 21.1635 34.9956 20.1642 34.9956 19C34.9956 20.1642 35.3837 21.1635 36.1599 22.0069C36.9361 22.8503 37.8798 23.2903 39 23.3545C38.2679 23.3911 37.5976 23.602 36.9802 24.0053C36.3716 24.3995 35.8864 24.9312 35.5248 25.5913C35.172 26.2513 34.9956 26.9572 34.9956 27.7273C34.9956 26.563 34.6075 25.5546 33.8313 24.7112C33.0551 23.8587 32.1114 23.4095 31 23.3545ZM0 36.3545C1.11136 36.2995 2.05513 35.8503 2.83131 35.0069C3.6075 34.1635 3.99559 33.1642 3.99559 32C3.99559 33.1642 4.38368 34.1635 5.15987 35.0069C5.93605 35.8503 6.87982 36.2903 8 36.3545C7.26792 36.3911 6.59757 36.602 5.98015 37.0053C5.37155 37.3995 4.88644 37.9312 4.52481 38.5913C4.172 39.2513 3.99559 39.9572 3.99559 40.7273C3.99559 39.563 3.6075 38.5546 2.83131 37.7112C2.05513 36.8587 1.11136 36.4095 0 36.3545ZM56.8313 24.0069C56.0551 24.8503 55.1114 25.2995 54 25.3545C55.1114 25.4095 56.0551 25.8587 56.8313 26.7112C57.6075 27.5546 57.9956 28.563 57.9956 29.7273C57.9956 28.9572 58.172 28.2513 58.5248 27.5913C58.8864 26.9312 59.3716 26.3995 59.9802 26.0053C60.5976 25.602 61.2679 25.3911 62 25.3545C60.8798 25.2903 59.9361 24.8503 59.1599 24.0069C58.3837 23.1635 57.9956 22.1642 57.9956 21C57.9956 22.1642 57.6075 23.1635 56.8313 24.0069ZM81 25.3545C82.1114 25.2995 83.0551 24.8503 83.8313 24.0069C84.6075 23.1635 84.9956 22.1642 84.9956 21C84.9956 22.1642 85.3837 23.1635 86.1599 24.0069C86.9361 24.8503 87.8798 25.2903 89 25.3545C88.2679 25.3911 87.5976 25.602 86.9802 26.0053C86.3716 26.3995 85.8864 26.9312 85.5248 27.5913C85.172 28.2513 84.9956 28.9572 84.9956 29.7273C84.9956 28.563 84.6075 27.5546 83.8313 26.7112C83.0551 25.8587 82.1114 25.4095 81 25.3545ZM136 36.3545C137.111 36.2995 138.055 35.8503 138.831 35.0069C139.607 34.1635 139.996 33.1642 139.996 32C139.996 33.1642 140.384 34.1635 141.16 35.0069C141.936 35.8503 142.88 36.2903 144 36.3545C143.268 36.3911 142.598 36.602 141.98 37.0053C141.372 37.3995 140.886 37.9312 140.525 38.5913C140.172 39.2513 139.996 39.9572 139.996 40.7273C139.996 39.563 139.607 38.5546 138.831 37.7112C138.055 36.8587 137.111 36.4095 136 36.3545ZM101.831 49.0069C101.055 49.8503 100.111 50.2995 99 50.3545C100.111 50.4095 101.055 50.8587 101.831 51.7112C102.607 52.5546 102.996 53.563 102.996 54.7273C102.996 53.9572 103.172 53.2513 103.525 52.5913C103.886 51.9312 104.372 51.3995 104.98 51.0053C105.598 50.602 106.268 50.3911 107 50.3545C105.88 50.2903 104.936 49.8503 104.16 49.0069C103.384 48.1635 102.996 47.1642 102.996 46C102.996 47.1642 102.607 48.1635 101.831 49.0069Z" fill="currentColor" data-v-ce0ce570></path></svg></div><div class="theme-switch__circle-container" data-v-ce0ce570><div class="theme-switch__sun-moon-container" data-v-ce0ce570><div class="theme-switch__moon" data-v-ce0ce570><div class="theme-switch__spot" data-v-ce0ce570></div><div class="theme-switch__spot" data-v-ce0ce570></div><div class="theme-switch__spot" data-v-ce0ce570></div></div></div></div></div>',1)),l.loading?(e.openBlock(),e.createElementBlock("span",pn,[...c[1]||(c[1]=[e.createElementVNode("span",{class:"spinner-inner"},null,-1)])])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)}}),kn=K(yn,[["__scopeId","data-v-ce0ce570"]]),wn={class:"rating"},Cn=["title","onClick"],xn=["name","value","disabled","checked"],Sn={key:0,class:"score-text"},En={key:1,class:"score-value"},$n=e.defineComponent({__name:"index",props:{modelValue:{default:0},maxStars:{default:5},size:{default:"medium"},disabled:{type:Boolean,default:!1},showText:{type:Boolean,default:!1},showValue:{type:Boolean,default:!1},texts:{default:()=>["极差","差","一般","好","极好"]},allowHalf:{type:Boolean,default:!1},color:{default:"#ffc73a"}},emits:["update:modelValue","change"],setup(l,{emit:u}){e.useCssVars(r=>({v45ed3bbe:r.color}));const t=l,a=u,n=e.computed(()=>Math.random().toString(36).substr(2,9)),o=r=>{t.disabled||(a("update:modelValue",r),a("change",r))},s=r=>t.texts&&t.texts[r-1]?`${r}星 - ${t.texts[r-1]}`:`${r}星`,d=()=>t.modelValue===0?"未评分":t.texts&&t.texts[t.modelValue-1]?t.texts[t.modelValue-1]:`${t.modelValue}星`;return(r,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["x-score",[`score-${l.size}`,{"score-disabled":l.disabled}]])},[e.createElementVNode("div",wn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.maxStars,c=>(e.openBlock(),e.createElementBlock("label",{key:c,class:e.normalizeClass({"star-filled":c<=l.modelValue}),title:s(c),onClick:g=>o(c)},[e.createElementVNode("input",{type:"radio",name:`star-radio-${n.value}`,value:c,disabled:l.disabled,checked:l.modelValue===c,style:{display:"none"}},null,8,xn),i[0]||(i[0]=e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},[e.createElementVNode("path",{pathLength:"360",d:"M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z"})],-1))],10,Cn))),128))]),l.showText?(e.openBlock(),e.createElementBlock("div",Sn,e.toDisplayString(d()),1)):e.createCommentVNode("",!0),l.showValue?(e.openBlock(),e.createElementBlock("div",En,e.toDisplayString(l.modelValue)+"/"+e.toDisplayString(l.maxStars),1)):e.createCommentVNode("",!0)],2))}}),Bn=K($n,[["__scopeId","data-v-3cdb1a2c"]]),Mn=["name","value","disabled","checked","onChange"],Vn={key:0,class:"radio-button"},Nn={class:"radio-content"},Pn={key:0,class:"radio-icon"},jn={class:"radio-text"},Tn={class:"radio-label"},Dn={key:0,class:"radio-description"},Ln={key:1,class:"payment-method-container"},_n={class:"payment-content"},An={class:"payment-icon"},zn={class:"payment-label"},In=["name","value","disabled","checked","onChange"],On=e.defineComponent({__name:"index",props:{modelValue:{default:""},options:{default:()=>[]},size:{default:"medium"},disabled:{type:Boolean,default:!1},showIcon:{type:Boolean,default:!1},name:{default:"radio-group"},direction:{default:"vertical"},variant:{default:"standard"},mode:{default:"default"}},emits:["update:modelValue","change"],setup(l,{emit:u}){const t=l,a=u,n=[{value:"google",label:"Google Pay",icon:"logos:google-pay"},{value:"apple",label:"Apple Pay",icon:"logos:apple-pay"},{value:"paypal",label:"Paypal",icon:"logos:paypal"},{value:"visa",label:"Credit Card",icon:"logos:visa"}],o=s=>{t.disabled||(a("update:modelValue",s),a("change",s))};return(s,d)=>l.variant==="standard"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["x-radio-group",[`radio-${l.size}`,`radio-${l.direction}`,`radio-${l.mode}`,{"radio-disabled":l.disabled}]])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.options,r=>(e.openBlock(),e.createElementBlock("label",{key:r.value,class:e.normalizeClass(["x-radio-item",[{"radio-item-checked":l.modelValue===r.value},{"radio-item-disabled":l.disabled||r.disabled}]])},[e.createElementVNode("input",{type:"radio",name:l.name,value:r.value,disabled:l.disabled||r.disabled,checked:l.modelValue===r.value,onChange:i=>o(r.value),class:"radio-input"},null,40,Mn),l.mode==="default"?(e.openBlock(),e.createElementBlock("div",Vn,[...d[0]||(d[0]=[e.createElementVNode("div",{class:"radio-button-inner"},null,-1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",Nn,[r.icon||l.showIcon?(e.openBlock(),e.createElementBlock("div",Pn,[e.renderSlot(s.$slots,"icon",{option:r},()=>[r.icon?(e.openBlock(),e.createBlock(e.unref(J),{key:0,icon:r.icon},null,8,["icon"])):e.createCommentVNode("",!0)],!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",jn,[e.createElementVNode("div",Tn,e.toDisplayString(r.label),1),r.description?(e.openBlock(),e.createElementBlock("div",Dn,e.toDisplayString(r.description),1)):e.createCommentVNode("",!0)]),e.renderSlot(s.$slots,"content",{option:r},void 0,!0)])],2))),128))],2)):(e.openBlock(),e.createElementBlock("div",Ln,[d[1]||(d[1]=e.createElementVNode("p",{class:"payment-title"},"Payment method",-1)),d[2]||(d[2]=e.createElementVNode("p",{class:"payment-subtitle"},[e.createTextVNode(" This component is made by using "),e.createElementVNode("span",{class:"payment-highlight"},"`:has() pseudo-class`")],-1)),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(n,r=>e.createElementVNode("label",{key:r.value,class:e.normalizeClass(["payment-option",{"payment-option-checked":l.modelValue===r.value}])},[e.createElementVNode("div",_n,[e.createElementVNode("div",An,[e.createVNode(e.unref(J),{icon:r.icon},null,8,["icon"])]),e.createElementVNode("p",zn,e.toDisplayString(r.label),1)]),e.createElementVNode("input",{type:"radio",name:l.name,value:r.value,disabled:l.disabled,checked:l.modelValue===r.value,onChange:i=>o(r.value),class:"payment-input"},null,40,In)],2)),64))]))}}),Yn=K(On,[["__scopeId","data-v-0b609d3b"]]);var ue=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ce(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var ul={exports:{}};(function(l,u){(function(t,a){l.exports=a()})(ue,function(){var t=1e3,a=6e4,n=36e5,o="millisecond",s="second",d="minute",r="hour",i="day",c="week",g="month",h="quarter",f="year",p="date",b="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,w=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,C={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(I){var L=["th","st","nd","rd"],j=I%100;return"["+I+(L[(j-20)%10]||L[j]||L[0])+"]"}},x=function(I,L,j){var A=String(I);return!A||A.length>=L?I:""+Array(L+1-A.length).join(j)+I},S={s:x,z:function(I){var L=-I.utcOffset(),j=Math.abs(L),A=Math.floor(j/60),y=j%60;return(L<=0?"+":"-")+x(A,2,"0")+":"+x(y,2,"0")},m:function I(L,j){if(L.date()<j.date())return-I(j,L);var A=12*(j.year()-L.year())+(j.month()-L.month()),y=L.clone().add(A,g),k=j-y<0,$=L.clone().add(A+(k?-1:1),g);return+(-(A+(j-y)/(k?y-$:$-y))||0)},a:function(I){return I<0?Math.ceil(I)||0:Math.floor(I)},p:function(I){return{M:g,y:f,w:c,d:i,D:p,h:r,m:d,s,ms:o,Q:h}[I]||String(I||"").toLowerCase().replace(/s$/,"")},u:function(I){return I===void 0}},V="en",B={};B[V]=C;var N="$isDayjsObject",m=function(I){return I instanceof F||!(!I||!I[N])},P=function I(L,j,A){var y;if(!L)return V;if(typeof L=="string"){var k=L.toLowerCase();B[k]&&(y=k),j&&(B[k]=j,y=k);var $=L.split("-");if(!y&&$.length>1)return I($[0])}else{var _=L.name;B[_]=L,y=_}return!A&&y&&(V=y),y||!A&&V},E=function(I,L){if(m(I))return I.clone();var j=typeof L=="object"?L:{};return j.date=I,j.args=arguments,new F(j)},T=S;T.l=P,T.i=m,T.w=function(I,L){return E(I,{locale:L.$L,utc:L.$u,x:L.$x,$offset:L.$offset})};var F=function(){function I(j){this.$L=P(j.locale,null,!0),this.parse(j),this.$x=this.$x||j.x||{},this[N]=!0}var L=I.prototype;return L.parse=function(j){this.$d=function(A){var y=A.date,k=A.utc;if(y===null)return new Date(NaN);if(T.u(y))return new Date;if(y instanceof Date)return new Date(y);if(typeof y=="string"&&!/Z$/i.test(y)){var $=y.match(v);if($){var _=$[2]-1||0,R=($[7]||"0").substring(0,3);return k?new Date(Date.UTC($[1],_,$[3]||1,$[4]||0,$[5]||0,$[6]||0,R)):new Date($[1],_,$[3]||1,$[4]||0,$[5]||0,$[6]||0,R)}}return new Date(y)}(j),this.init()},L.init=function(){var j=this.$d;this.$y=j.getFullYear(),this.$M=j.getMonth(),this.$D=j.getDate(),this.$W=j.getDay(),this.$H=j.getHours(),this.$m=j.getMinutes(),this.$s=j.getSeconds(),this.$ms=j.getMilliseconds()},L.$utils=function(){return T},L.isValid=function(){return this.$d.toString()!==b},L.isSame=function(j,A){var y=E(j);return this.startOf(A)<=y&&y<=this.endOf(A)},L.isAfter=function(j,A){return E(j)<this.startOf(A)},L.isBefore=function(j,A){return this.endOf(A)<E(j)},L.$g=function(j,A,y){return T.u(j)?this[A]:this.set(y,j)},L.unix=function(){return Math.floor(this.valueOf()/1e3)},L.valueOf=function(){return this.$d.getTime()},L.startOf=function(j,A){var y=this,k=!!T.u(A)||A,$=T.p(j),_=function(ee,Q){var te=T.w(y.$u?Date.UTC(y.$y,Q,ee):new Date(y.$y,Q,ee),y);return k?te:te.endOf(i)},R=function(ee,Q){return T.w(y.toDate()[ee].apply(y.toDate("s"),(k?[0,0,0,0]:[23,59,59,999]).slice(Q)),y)},G=this.$W,D=this.$M,O=this.$D,H="set"+(this.$u?"UTC":"");switch($){case f:return k?_(1,0):_(31,11);case g:return k?_(1,D):_(0,D+1);case c:var Z=this.$locale().weekStart||0,ae=(G<Z?G+7:G)-Z;return _(k?O-ae:O+(6-ae),D);case i:case p:return R(H+"Hours",0);case r:return R(H+"Minutes",1);case d:return R(H+"Seconds",2);case s:return R(H+"Milliseconds",3);default:return this.clone()}},L.endOf=function(j){return this.startOf(j,!1)},L.$set=function(j,A){var y,k=T.p(j),$="set"+(this.$u?"UTC":""),_=(y={},y[i]=$+"Date",y[p]=$+"Date",y[g]=$+"Month",y[f]=$+"FullYear",y[r]=$+"Hours",y[d]=$+"Minutes",y[s]=$+"Seconds",y[o]=$+"Milliseconds",y)[k],R=k===i?this.$D+(A-this.$W):A;if(k===g||k===f){var G=this.clone().set(p,1);G.$d[_](R),G.init(),this.$d=G.set(p,Math.min(this.$D,G.daysInMonth())).$d}else _&&this.$d[_](R);return this.init(),this},L.set=function(j,A){return this.clone().$set(j,A)},L.get=function(j){return this[T.p(j)]()},L.add=function(j,A){var y,k=this;j=Number(j);var $=T.p(A),_=function(D){var O=E(k);return T.w(O.date(O.date()+Math.round(D*j)),k)};if($===g)return this.set(g,this.$M+j);if($===f)return this.set(f,this.$y+j);if($===i)return _(1);if($===c)return _(7);var R=(y={},y[d]=a,y[r]=n,y[s]=t,y)[$]||1,G=this.$d.getTime()+j*R;return T.w(G,this)},L.subtract=function(j,A){return this.add(-1*j,A)},L.format=function(j){var A=this,y=this.$locale();if(!this.isValid())return y.invalidDate||b;var k=j||"YYYY-MM-DDTHH:mm:ssZ",$=T.z(this),_=this.$H,R=this.$m,G=this.$M,D=y.weekdays,O=y.months,H=y.meridiem,Z=function(Q,te,ne,se){return Q&&(Q[te]||Q(A,k))||ne[te].slice(0,se)},ae=function(Q){return T.s(_%12||12,Q,"0")},ee=H||function(Q,te,ne){var se=Q<12?"AM":"PM";return ne?se.toLowerCase():se};return k.replace(w,function(Q,te){return te||function(ne){switch(ne){case"YY":return String(A.$y).slice(-2);case"YYYY":return T.s(A.$y,4,"0");case"M":return G+1;case"MM":return T.s(G+1,2,"0");case"MMM":return Z(y.monthsShort,G,O,3);case"MMMM":return Z(O,G);case"D":return A.$D;case"DD":return T.s(A.$D,2,"0");case"d":return String(A.$W);case"dd":return Z(y.weekdaysMin,A.$W,D,2);case"ddd":return Z(y.weekdaysShort,A.$W,D,3);case"dddd":return D[A.$W];case"H":return String(_);case"HH":return T.s(_,2,"0");case"h":return ae(1);case"hh":return ae(2);case"a":return ee(_,R,!0);case"A":return ee(_,R,!1);case"m":return String(R);case"mm":return T.s(R,2,"0");case"s":return String(A.$s);case"ss":return T.s(A.$s,2,"0");case"SSS":return T.s(A.$ms,3,"0");case"Z":return $}return null}(Q)||$.replace(":","")})},L.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},L.diff=function(j,A,y){var k,$=this,_=T.p(A),R=E(j),G=(R.utcOffset()-this.utcOffset())*a,D=this-R,O=function(){return T.m($,R)};switch(_){case f:k=O()/12;break;case g:k=O();break;case h:k=O()/3;break;case c:k=(D-G)/6048e5;break;case i:k=(D-G)/864e5;break;case r:k=D/n;break;case d:k=D/a;break;case s:k=D/t;break;default:k=D}return y?k:T.a(k)},L.daysInMonth=function(){return this.endOf(g).$D},L.$locale=function(){return B[this.$L]},L.locale=function(j,A){if(!j)return this.$L;var y=this.clone(),k=P(j,A,!0);return k&&(y.$L=k),y},L.clone=function(){return T.w(this.$d,this)},L.toDate=function(){return new Date(this.valueOf())},L.toJSON=function(){return this.isValid()?this.toISOString():null},L.toISOString=function(){return this.$d.toISOString()},L.toString=function(){return this.$d.toUTCString()},I}(),X=F.prototype;return E.prototype=X,[["$ms",o],["$s",s],["$m",d],["$H",r],["$W",i],["$M",g],["$y",f],["$D",p]].forEach(function(I){X[I[1]]=function(L){return this.$g(L,I[0],I[1])}}),E.extend=function(I,L){return I.$i||(I(L,F,E),I.$i=!0),E},E.locale=P,E.isDayjs=m,E.unix=function(I){return E(1e3*I)},E.en=B[V],E.Ls=B,E.p={},E})})(ul);var sl=ul.exports;const q=ce(sl);var cl={exports:{}};(function(l,u){(function(t,a){l.exports=a()})(ue,function(){var t="minute",a=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(o,s,d){var r=s.prototype;d.utc=function(b){var v={date:b,utc:!0,args:arguments};return new s(v)},r.utc=function(b){var v=d(this.toDate(),{locale:this.$L,utc:!0});return b?v.add(this.utcOffset(),t):v},r.local=function(){return d(this.toDate(),{locale:this.$L,utc:!1})};var i=r.parse;r.parse=function(b){b.utc&&(this.$u=!0),this.$utils().u(b.$offset)||(this.$offset=b.$offset),i.call(this,b)};var c=r.init;r.init=function(){if(this.$u){var b=this.$d;this.$y=b.getUTCFullYear(),this.$M=b.getUTCMonth(),this.$D=b.getUTCDate(),this.$W=b.getUTCDay(),this.$H=b.getUTCHours(),this.$m=b.getUTCMinutes(),this.$s=b.getUTCSeconds(),this.$ms=b.getUTCMilliseconds()}else c.call(this)};var g=r.utcOffset;r.utcOffset=function(b,v){var w=this.$utils().u;if(w(b))return this.$u?0:w(this.$offset)?g.call(this):this.$offset;if(typeof b=="string"&&(b=function(V){V===void 0&&(V="");var B=V.match(a);if(!B)return null;var N=(""+B[0]).match(n)||["-",0,0],m=N[0],P=60*+N[1]+ +N[2];return P===0?0:m==="+"?P:-P}(b),b===null))return this;var C=Math.abs(b)<=16?60*b:b;if(C===0)return this.utc(v);var x=this.clone();if(v)return x.$offset=C,x.$u=!1,x;var S=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(x=this.local().add(C+S,t)).$offset=C,x.$x.$localOffset=S,x};var h=r.format;r.format=function(b){var v=b||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return h.call(this,v)},r.valueOf=function(){var b=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*b},r.isUTC=function(){return!!this.$u},r.toISOString=function(){return this.toDate().toISOString()},r.toString=function(){return this.toDate().toUTCString()};var f=r.toDate;r.toDate=function(b){return b==="s"&&this.$offset?d(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var p=r.diff;r.diff=function(b,v,w){if(b&&this.$u===b.$u)return p.call(this,b,v,w);var C=this.local(),x=d(b).local();return p.call(C,x,v,w)}}})})(cl);var Fn=cl.exports;const Rn=ce(Fn);var rl={exports:{}};(function(l,u){(function(t,a){l.exports=a()})(ue,function(){var t={year:0,month:1,day:2,hour:3,minute:4,second:5},a={};return function(n,o,s){var d,r=function(h,f,p){p===void 0&&(p={});var b=new Date(h),v=function(w,C){C===void 0&&(C={});var x=C.timeZoneName||"short",S=w+"|"+x,V=a[S];return V||(V=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:w,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:x}),a[S]=V),V}(f,p);return v.formatToParts(b)},i=function(h,f){for(var p=r(h,f),b=[],v=0;v<p.length;v+=1){var w=p[v],C=w.type,x=w.value,S=t[C];S>=0&&(b[S]=parseInt(x,10))}var V=b[3],B=V===24?0:V,N=b[0]+"-"+b[1]+"-"+b[2]+" "+B+":"+b[4]+":"+b[5]+":000",m=+h;return(s.utc(N).valueOf()-(m-=m%1e3))/6e4},c=o.prototype;c.tz=function(h,f){h===void 0&&(h=d);var p,b=this.utcOffset(),v=this.toDate(),w=v.toLocaleString("en-US",{timeZone:h}),C=Math.round((v-new Date(w))/1e3/60),x=15*-Math.round(v.getTimezoneOffset()/15)-C;if(!Number(x))p=this.utcOffset(0,f);else if(p=s(w,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(x,!0),f){var S=p.utcOffset();p=p.add(b-S,"minute")}return p.$x.$timezone=h,p},c.offsetName=function(h){var f=this.$x.$timezone||s.tz.guess(),p=r(this.valueOf(),f,{timeZoneName:h}).find(function(b){return b.type.toLowerCase()==="timezonename"});return p&&p.value};var g=c.startOf;c.startOf=function(h,f){if(!this.$x||!this.$x.$timezone)return g.call(this,h,f);var p=s(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return g.call(p,h,f).tz(this.$x.$timezone,!0)},s.tz=function(h,f,p){var b=p&&f,v=p||f||d,w=i(+s(),v);if(typeof h!="string")return s(h).tz(v);var C=function(B,N,m){var P=B-60*N*1e3,E=i(P,m);if(N===E)return[P,N];var T=i(P-=60*(E-N)*1e3,m);return E===T?[P,E]:[B-60*Math.min(E,T)*1e3,Math.max(E,T)]}(s.utc(h,b).valueOf(),w,v),x=C[0],S=C[1],V=s(x).utcOffset(S);return V.$x.$timezone=v,V},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(h){d=h}}})})(rl);var Xn=rl.exports;const Hn=ce(Xn);var il={exports:{}};(function(l,u){(function(t,a){l.exports=a()})(ue,function(){return function(t,a,n){t=t||{};var o=a.prototype,s={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function d(i,c,g,h){return o.fromToBase(i,c,g,h)}n.en.relativeTime=s,o.fromToBase=function(i,c,g,h,f){for(var p,b,v,w=g.$locale().relativeTime||s,C=t.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],x=C.length,S=0;S<x;S+=1){var V=C[S];V.d&&(p=h?n(i).diff(g,V.d,!0):g.diff(i,V.d,!0));var B=(t.rounding||Math.round)(Math.abs(p));if(v=p>0,B<=V.r||!V.r){B<=1&&S>0&&(V=C[S-1]);var N=w[V.l];f&&(B=f(""+B)),b=typeof N=="string"?N.replace("%d",B):N(B,c,V.l,v);break}}if(c)return b;var m=v?w.future:w.past;return typeof m=="function"?m(b):m.replace("%s",b)},o.to=function(i,c){return d(i,c,this,!0)},o.from=function(i,c){return d(i,c,this)};var r=function(i){return i.$u?n.utc():n()};o.toNow=function(i){return this.to(r(this),i)},o.fromNow=function(i){return this.from(r(this),i)}}})})(il);var Wn=il.exports;const Un=ce(Wn);var dl={exports:{}};(function(l,u){(function(t,a){l.exports=a()})(ue,function(){var t,a,n=1e3,o=6e4,s=36e5,d=864e5,r=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,i=31536e6,c=2628e6,g=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,h={years:i,months:c,days:d,hours:s,minutes:o,seconds:n,milliseconds:1,weeks:6048e5},f=function(B){return B instanceof S},p=function(B,N,m){return new S(B,m,N.$l)},b=function(B){return a.p(B)+"s"},v=function(B){return B<0},w=function(B){return v(B)?Math.ceil(B):Math.floor(B)},C=function(B){return Math.abs(B)},x=function(B,N){return B?v(B)?{negative:!0,format:""+C(B)+N}:{negative:!1,format:""+B+N}:{negative:!1,format:""}},S=function(){function B(m,P,E){var T=this;if(this.$d={},this.$l=E,m===void 0&&(this.$ms=0,this.parseFromMilliseconds()),P)return p(m*h[b(P)],this);if(typeof m=="number")return this.$ms=m,this.parseFromMilliseconds(),this;if(typeof m=="object")return Object.keys(m).forEach(function(I){T.$d[b(I)]=m[I]}),this.calMilliseconds(),this;if(typeof m=="string"){var F=m.match(g);if(F){var X=F.slice(2).map(function(I){return I!=null?Number(I):0});return this.$d.years=X[0],this.$d.months=X[1],this.$d.weeks=X[2],this.$d.days=X[3],this.$d.hours=X[4],this.$d.minutes=X[5],this.$d.seconds=X[6],this.calMilliseconds(),this}}return this}var N=B.prototype;return N.calMilliseconds=function(){var m=this;this.$ms=Object.keys(this.$d).reduce(function(P,E){return P+(m.$d[E]||0)*h[E]},0)},N.parseFromMilliseconds=function(){var m=this.$ms;this.$d.years=w(m/i),m%=i,this.$d.months=w(m/c),m%=c,this.$d.days=w(m/d),m%=d,this.$d.hours=w(m/s),m%=s,this.$d.minutes=w(m/o),m%=o,this.$d.seconds=w(m/n),m%=n,this.$d.milliseconds=m},N.toISOString=function(){var m=x(this.$d.years,"Y"),P=x(this.$d.months,"M"),E=+this.$d.days||0;this.$d.weeks&&(E+=7*this.$d.weeks);var T=x(E,"D"),F=x(this.$d.hours,"H"),X=x(this.$d.minutes,"M"),I=this.$d.seconds||0;this.$d.milliseconds&&(I+=this.$d.milliseconds/1e3,I=Math.round(1e3*I)/1e3);var L=x(I,"S"),j=m.negative||P.negative||T.negative||F.negative||X.negative||L.negative,A=F.format||X.format||L.format?"T":"",y=(j?"-":"")+"P"+m.format+P.format+T.format+A+F.format+X.format+L.format;return y==="P"||y==="-P"?"P0D":y},N.toJSON=function(){return this.toISOString()},N.format=function(m){var P=m||"YYYY-MM-DDTHH:mm:ss",E={Y:this.$d.years,YY:a.s(this.$d.years,2,"0"),YYYY:a.s(this.$d.years,4,"0"),M:this.$d.months,MM:a.s(this.$d.months,2,"0"),D:this.$d.days,DD:a.s(this.$d.days,2,"0"),H:this.$d.hours,HH:a.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:a.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:a.s(this.$d.seconds,2,"0"),SSS:a.s(this.$d.milliseconds,3,"0")};return P.replace(r,function(T,F){return F||String(E[T])})},N.as=function(m){return this.$ms/h[b(m)]},N.get=function(m){var P=this.$ms,E=b(m);return E==="milliseconds"?P%=1e3:P=E==="weeks"?w(P/h[E]):this.$d[E],P||0},N.add=function(m,P,E){var T;return T=P?m*h[b(P)]:f(m)?m.$ms:p(m,this).$ms,p(this.$ms+T*(E?-1:1),this)},N.subtract=function(m,P){return this.add(m,P,!0)},N.locale=function(m){var P=this.clone();return P.$l=m,P},N.clone=function(){return p(this.$ms,this)},N.humanize=function(m){return t().add(this.$ms,"ms").locale(this.$l).fromNow(!m)},N.valueOf=function(){return this.asMilliseconds()},N.milliseconds=function(){return this.get("milliseconds")},N.asMilliseconds=function(){return this.as("milliseconds")},N.seconds=function(){return this.get("seconds")},N.asSeconds=function(){return this.as("seconds")},N.minutes=function(){return this.get("minutes")},N.asMinutes=function(){return this.as("minutes")},N.hours=function(){return this.get("hours")},N.asHours=function(){return this.as("hours")},N.days=function(){return this.get("days")},N.asDays=function(){return this.as("days")},N.weeks=function(){return this.get("weeks")},N.asWeeks=function(){return this.as("weeks")},N.months=function(){return this.get("months")},N.asMonths=function(){return this.as("months")},N.years=function(){return this.get("years")},N.asYears=function(){return this.as("years")},B}(),V=function(B,N,m){return B.add(N.years()*m,"y").add(N.months()*m,"M").add(N.days()*m,"d").add(N.hours()*m,"h").add(N.minutes()*m,"m").add(N.seconds()*m,"s").add(N.milliseconds()*m,"ms")};return function(B,N,m){t=m,a=m().$utils(),m.duration=function(T,F){var X=m.locale();return p(T,{$l:X},F)},m.isDuration=f;var P=N.prototype.add,E=N.prototype.subtract;N.prototype.add=function(T,F){return f(T)?V(this,T,1):P.bind(this)(T,F)},N.prototype.subtract=function(T,F){return f(T)?V(this,T,-1):E.bind(this)(T,F)}}})})(dl);var Gn=dl.exports;const qn=ce(Gn);var vl={exports:{}};(function(l,u){(function(t,a){l.exports=a()})(ue,function(){return function(t,a){a.prototype.isSameOrAfter=function(n,o){return this.isSame(n,o)||this.isAfter(n,o)}}})})(vl);var Kn=vl.exports;const Zn=ce(Kn);var bl={exports:{}};(function(l,u){(function(t,a){l.exports=a()})(ue,function(){return function(t,a){a.prototype.isSameOrBefore=function(n,o){return this.isSame(n,o)||this.isBefore(n,o)}}})})(bl);var Qn=bl.exports;const Jn=ce(Qn);var gl={exports:{}};(function(l,u){(function(t,a){l.exports=a()})(ue,function(){return function(t,a,n){a.prototype.isBetween=function(o,s,d,r){var i=n(o),c=n(s),g=(r=r||"()")[0]==="(",h=r[1]===")";return(g?this.isAfter(i,d):!this.isBefore(i,d))&&(h?this.isBefore(c,d):!this.isAfter(c,d))||(g?this.isBefore(i,d):!this.isAfter(i,d))&&(h?this.isAfter(c,d):!this.isBefore(c,d))}}})})(gl);var eo=gl.exports;const lo=ce(eo);var fl={exports:{}};(function(l,u){(function(t,a){l.exports=a()})(ue,function(){var t="week",a="year";return function(n,o,s){var d=o.prototype;d.week=function(r){if(r===void 0&&(r=null),r!==null)return this.add(7*(r-this.week()),"day");var i=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var c=s(this).startOf(a).add(1,a).date(i),g=s(this).endOf(t);if(c.isBefore(g))return 1}var h=s(this).startOf(a).date(i).startOf(t).subtract(1,"millisecond"),f=this.diff(h,t,!0);return f<0?s(this).startOf("week").week():Math.ceil(f)},d.weeks=function(r){return r===void 0&&(r=null),this.week(r)}}})})(fl);var ao=fl.exports;const to=ce(ao);var ml={exports:{}};(function(l,u){(function(t,a){l.exports=a()})(ue,function(){var t="day";return function(a,n,o){var s=function(i){return i.add(4-i.isoWeekday(),t)},d=n.prototype;d.isoWeekYear=function(){return s(this).year()},d.isoWeek=function(i){if(!this.$utils().u(i))return this.add(7*(i-this.isoWeek()),t);var c,g,h,f,p=s(this),b=(c=this.isoWeekYear(),g=this.$u,h=(g?o.utc:o)().year(c).startOf("year"),f=4-h.isoWeekday(),h.isoWeekday()>4&&(f+=7),h.add(f,t));return p.diff(b,"week")+1},d.isoWeekday=function(i){return this.$utils().u(i)?this.day()||7:this.day(this.day()%7?i:i-7)};var r=d.startOf;d.startOf=function(i,c){var g=this.$utils(),h=!!g.u(c)||c;return g.p(i)==="isoweek"?h?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):r.bind(this)(i,c)}}})})(ml);var no=ml.exports;const oo=ce(no);var hl={exports:{}};(function(l,u){(function(t,a){l.exports=a()})(ue,function(){var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},a=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,o=/\d\d/,s=/\d\d?/,d=/\d*[^-_:/,()\s\d]+/,r={},i=function(v){return(v=+v)+(v>68?1900:2e3)},c=function(v){return function(w){this[v]=+w}},g=[/[+-]\d\d:?(\d\d)?|Z/,function(v){(this.zone||(this.zone={})).offset=function(w){if(!w||w==="Z")return 0;var C=w.match(/([+-]|\d\d)/g),x=60*C[1]+(+C[2]||0);return x===0?0:C[0]==="+"?-x:x}(v)}],h=function(v){var w=r[v];return w&&(w.indexOf?w:w.s.concat(w.f))},f=function(v,w){var C,x=r.meridiem;if(x){for(var S=1;S<=24;S+=1)if(v.indexOf(x(S,0,w))>-1){C=S>12;break}}else C=v===(w?"pm":"PM");return C},p={A:[d,function(v){this.afternoon=f(v,!1)}],a:[d,function(v){this.afternoon=f(v,!0)}],Q:[n,function(v){this.month=3*(v-1)+1}],S:[n,function(v){this.milliseconds=100*+v}],SS:[o,function(v){this.milliseconds=10*+v}],SSS:[/\d{3}/,function(v){this.milliseconds=+v}],s:[s,c("seconds")],ss:[s,c("seconds")],m:[s,c("minutes")],mm:[s,c("minutes")],H:[s,c("hours")],h:[s,c("hours")],HH:[s,c("hours")],hh:[s,c("hours")],D:[s,c("day")],DD:[o,c("day")],Do:[d,function(v){var w=r.ordinal,C=v.match(/\d+/);if(this.day=C[0],w)for(var x=1;x<=31;x+=1)w(x).replace(/\[|\]/g,"")===v&&(this.day=x)}],w:[s,c("week")],ww:[o,c("week")],M:[s,c("month")],MM:[o,c("month")],MMM:[d,function(v){var w=h("months"),C=(h("monthsShort")||w.map(function(x){return x.slice(0,3)})).indexOf(v)+1;if(C<1)throw new Error;this.month=C%12||C}],MMMM:[d,function(v){var w=h("months").indexOf(v)+1;if(w<1)throw new Error;this.month=w%12||w}],Y:[/[+-]?\d+/,c("year")],YY:[o,function(v){this.year=i(v)}],YYYY:[/\d{4}/,c("year")],Z:g,ZZ:g};function b(v){var w,C;w=v,C=r&&r.formats;for(var x=(v=w.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(E,T,F){var X=F&&F.toUpperCase();return T||C[F]||t[F]||C[X].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(I,L,j){return L||j.slice(1)})})).match(a),S=x.length,V=0;V<S;V+=1){var B=x[V],N=p[B],m=N&&N[0],P=N&&N[1];x[V]=P?{regex:m,parser:P}:B.replace(/^\[|\]$/g,"")}return function(E){for(var T={},F=0,X=0;F<S;F+=1){var I=x[F];if(typeof I=="string")X+=I.length;else{var L=I.regex,j=I.parser,A=E.slice(X),y=L.exec(A)[0];j.call(T,y),E=E.replace(y,"")}}return function(k){var $=k.afternoon;if($!==void 0){var _=k.hours;$?_<12&&(k.hours+=12):_===12&&(k.hours=0),delete k.afternoon}}(T),T}}return function(v,w,C){C.p.customParseFormat=!0,v&&v.parseTwoDigitYear&&(i=v.parseTwoDigitYear);var x=w.prototype,S=x.parse;x.parse=function(V){var B=V.date,N=V.utc,m=V.args;this.$u=N;var P=m[1];if(typeof P=="string"){var E=m[2]===!0,T=m[3]===!0,F=E||T,X=m[2];T&&(X=m[2]),r=this.$locale(),!E&&X&&(r=C.Ls[X]),this.$d=function(A,y,k,$){try{if(["x","X"].indexOf(y)>-1)return new Date((y==="X"?1e3:1)*A);var _=b(y)(A),R=_.year,G=_.month,D=_.day,O=_.hours,H=_.minutes,Z=_.seconds,ae=_.milliseconds,ee=_.zone,Q=_.week,te=new Date,ne=D||(R||G?1:te.getDate()),se=R||te.getFullYear(),oe=0;R&&!G||(oe=G>0?G-1:te.getMonth());var re,ie=O||0,M=H||0,z=Z||0,Y=ae||0;return ee?new Date(Date.UTC(se,oe,ne,ie,M,z,Y+60*ee.offset*1e3)):k?new Date(Date.UTC(se,oe,ne,ie,M,z,Y)):(re=new Date(se,oe,ne,ie,M,z,Y),Q&&(re=$(re).week(Q).toDate()),re)}catch{return new Date("")}}(B,P,N,C),this.init(),X&&X!==!0&&(this.$L=this.locale(X).$L),F&&B!=this.format(P)&&(this.$d=new Date("")),r={}}else if(P instanceof Array)for(var I=P.length,L=1;L<=I;L+=1){m[1]=P[L-1];var j=C.apply(this,m);if(j.isValid()){this.$d=j.$d,this.$L=j.$L,this.init();break}L===I&&(this.$d=new Date(""))}else S.call(this,V)}}})})(hl);var uo=hl.exports;const so=ce(uo);var pl={exports:{}};(function(l,u){(function(t,a){l.exports=a()})(ue,function(){return function(t,a){var n=a.prototype,o=n.format;n.format=function(s){var d=this,r=this.$locale();if(!this.isValid())return o.bind(this)(s);var i=this.$utils(),c=(s||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(g){switch(g){case"Q":return Math.ceil((d.$M+1)/3);case"Do":return r.ordinal(d.$D);case"gggg":return d.weekYear();case"GGGG":return d.isoWeekYear();case"wo":return r.ordinal(d.week(),"W");case"w":case"ww":return i.s(d.week(),g==="w"?1:2,"0");case"W":case"WW":return i.s(d.isoWeek(),g==="W"?1:2,"0");case"k":case"kk":return i.s(String(d.$H===0?24:d.$H),g==="k"?1:2,"0");case"X":return Math.floor(d.$d.getTime()/1e3);case"x":return d.$d.getTime();case"z":return"["+d.offsetName()+"]";case"zzz":return"["+d.offsetName("long")+"]";default:return g}});return o.bind(this)(c)}}})})(pl);var co=pl.exports;const ro=ce(co);var io={exports:{}};(function(l,u){(function(t,a){l.exports=a(sl)})(ue,function(t){function a(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var n=a(t),o={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(s,d){return d==="W"?s+"周":s+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(s,d){var r=100*s+d;return r<600?"凌晨":r<900?"早上":r<1100?"上午":r<1300?"中午":r<1800?"下午":"晚上"}};return n.default.locale(o,null,!0),o})})(io);q.extend(Rn);q.extend(Hn);q.extend(Un);q.extend(qn);q.extend(Zn);q.extend(Jn);q.extend(lo);q.extend(to);q.extend(oo);q.extend(so);q.extend(ro);function Le(l={}){const{timezone:u="Asia/Shanghai",locale:t="zh-cn",defaultFormat:a="YYYY-MM-DD HH:mm:ss",parseStrict:n=!1,weekStart:o}=l;q.locale(t);const s=D=>(D==null?q():q(D)).tz(u).locale(t),d=(D,O)=>O?q(D,O,n).tz(u).locale(t):s(D),r=D=>d(D).utc(),i=D=>q(D).utc().tz(u).locale(t),c=e.ref(s()),g=()=>{c.value=s()},h=()=>s(),f=(D,O=a)=>d(D).format(O),p=(D,O)=>d(D,O),b=D=>d(D),v=(D,O,H)=>d(D).isSame(d(O),H),w=(D,O,H)=>d(D).isAfter(d(O),H),C=(D,O,H)=>d(D).isBefore(d(O),H),x=(D,O,H)=>d(D).isSameOrAfter(d(O),H),S=(D,O,H)=>d(D).isSameOrBefore(d(O),H),V=(D,O,H,Z,ae)=>d(D).isBetween(d(O),d(H),Z,ae),B=(D,O,H)=>d(D).add(O,H),N=(D,O,H)=>d(D).subtract(O,H),m=(D,O,H,Z)=>d(D).diff(d(O),H,Z),P=(D,O)=>d(D).startOf(O),E=(D,O)=>d(D).endOf(O),T=D=>d(D).from(s()),F=D=>d(D).to(s()),X=(D,O)=>d(D).from(d(O)),I=(D,O)=>d(D).to(d(O)),L=(D,O=s(),H="millisecond")=>{const Z=d(D).diff(d(O),"millisecond");return q.duration(Math.abs(Z)).humanize()},j=D=>{const O=q.duration(D),H=Math.floor(O.asDays()),Z=O.hours(),ae=O.minutes(),ee=O.seconds();return{days:H,hours:Z,minutes:ae,seconds:ee}},A=(D,O,H,Z,ae)=>{var Y;const ee=s().year(D).month(O).date(1),Q=ee.startOf("month");ee.endOf("month");const te=typeof o=="number"?o:((Y=q.Ls[t])==null?void 0:Y.weekStart)??0,ne=Q.startOf("week").add(te,"day"),se=ne.isAfter(Q)?ne.subtract(7,"day"):ne,oe=H?d(H):null,re=Z?d(Z).startOf("day"):null,ie=ae?d(ae).endOf("day"):null,M=s(),z=[];for(let W=0;W<42;W++){const U=se.add(W,"day"),le=U.month()===O,de=U.isSame(M,"day"),xe=oe?U.isSame(oe,"day"):!1,_e=U.day(),Cl=_e===0||_e===6;let Se=!1;re&&U.isBefore(re,"day")&&(Se=!0),ie&&U.isAfter(ie,"day")&&(Se=!0),z.push({date:U,isCurrentMonth:le,isToday:de,isSelected:xe,isDisabled:Se,isWeekend:Cl})}return z},y=(D,O)=>{const H=s().year(D).month(O).date(1),Z=H.endOf("month"),ae=Z.date(),ee=H.day(),Q=Z.day(),te=Math.ceil((ee+ae)/7);return{firstDay:H,lastDay:Z,daysInMonth:ae,firstWeekday:ee,lastWeekday:Q,weeksInMonth:te}},k=()=>{const D=s();return{today:{start:D.startOf("day"),end:D.endOf("day")},yesterday:{start:D.subtract(1,"day").startOf("day"),end:D.subtract(1,"day").endOf("day")},thisWeek:{start:D.startOf("week"),end:D.endOf("week")},lastWeek:{start:D.subtract(1,"week").startOf("week"),end:D.subtract(1,"week").endOf("week")},thisMonth:{start:D.startOf("month"),end:D.endOf("month")},lastMonth:{start:D.subtract(1,"month").startOf("month"),end:D.subtract(1,"month").endOf("month")},thisYear:{start:D.startOf("year"),end:D.endOf("year")},lastYear:{start:D.subtract(1,"year").startOf("year"),end:D.subtract(1,"year").endOf("year")}}},$=(D,O)=>O?q(D,O,n).isValid():q(D).isValid(),_=(D,O)=>d(D).get(O),R=(D,O,H)=>d(D).set(O,H),G={date:"YYYY-MM-DD",time:"HH:mm:ss",datetime:"YYYY-MM-DD HH:mm:ss",dateTime:"YYYY-MM-DD HH:mm",month:"YYYY-MM",year:"YYYY",timestamp:"X",iso:"YYYY-MM-DDTHH:mm:ssZ"};return{now:e.computed(()=>c.value),updateNow:g,getCurrent:h,format:f,parse:p,create:b,isSame:v,isAfter:w,isBefore:C,isSameOrAfter:x,isSameOrBefore:S,isBetween:V,add:B,subtract:N,diff:m,startOf:P,endOf:E,fromNow:T,toNow:F,from:X,to:I,humanizeDiff:L,formatParts:j,getCalendarDates:A,getMonthInfo:y,getTimeRanges:k,isValid:$,getUnit:_,setUnit:R,formats:G,dayjs:D=>d(D),toUTC:r,fromUTC:i}}function vo(l={start:null,end:null},u="Asia/Shanghai"){const t=r=>(r==null?q():q(r)).tz(u),a=e.ref({start:l.start?t(l.start):null,end:l.end?t(l.end):null}),n=(r,i)=>{a.value={start:r?t(r):null,end:i?t(i):null}},o=()=>{a.value={start:null,end:null}},s=e.computed(()=>{const{start:r,end:i}=a.value;return!r||!i?!1:r.isBefore(i)||r.isSame(i)}),d=e.computed(()=>{if(!s.value)return null;const r=a.value.end.diff(a.value.start);return{ms:r,days:Math.floor(q.duration(r).asDays())}});return{range:e.computed(()=>a.value),setRange:n,clearRange:o,isValidRange:s,rangeDuration:d}}function bo(l,u="Asia/Shanghai"){const t=c=>(c==null?q():q(c)).tz(u),a=e.ref(t(l)),n=e.ref(t()),o=e.ref(!1),s=e.computed(()=>{const c=a.value.diff(n.value);return c<=0?(o.value=!0,q.duration(0)):q.duration(c)}),d=()=>{n.value=t()},r=(c="HH:mm:ss")=>{if(o.value)return"00:00:00";const g=s.value,h=Math.floor(g.asHours()),f=g.minutes(),p=g.seconds();return c.replace("HH",String(h).padStart(2,"0")).replace("mm",String(f).padStart(2,"0")).replace("ss",String(p).padStart(2,"0"))},i=e.computed(()=>{const c=s.value;return{days:Math.floor(c.asDays()),hours:c.hours(),minutes:c.minutes(),seconds:c.seconds(),milliseconds:c.milliseconds()}});return{target:e.computed(()=>a.value),now:e.computed(()=>n.value),duration:e.computed(()=>s.value),parts:i,isExpired:e.computed(()=>o.value),updateNow:d,formatDuration:r}}const go=["value","placeholder","disabled"],fo={class:"datetime-icon"},mo={class:"datetime-header"},ho={class:"datetime-title"},po={key:0,class:"datetime-mode-switch"},yo={key:1,class:"datetime-date-picker"},ko={class:"date-navigation"},wo={class:"current-month"},Co={class:"month-year"},xo={class:"weekdays"},So={class:"date-grid"},Eo=["onClick"],$o={class:"date-number"},Bo={key:2,class:"datetime-time-picker"},Mo={class:"time-inputs"},Vo={class:"time-input-group"},No=["value"],Po={class:"time-input-group"},jo=["value"],To={key:0,class:"time-separator"},Do={key:1,class:"time-input-group"},Lo=["value"],_o={class:"time-sliders"},Ao={class:"time-slider-group"},zo=["value"],Io={class:"slider-value"},Oo={class:"time-slider-group"},Yo=["value"],Fo={class:"slider-value"},Ro={key:0,class:"time-slider-group"},Xo=["value"],Ho={class:"slider-value"},Wo={class:"datetime-footer"},Uo=e.defineComponent({__name:"index",props:{modelValue:{default:null},mode:{default:"datetime"},size:{default:"medium"},disabled:{type:Boolean,default:!1},placeholder:{default:"请选择日期时间"},title:{default:"选择日期时间"},showSeconds:{type:Boolean,default:!1},minDate:{},maxDate:{},dateFormat:{default:"YYYY-MM-DD"},timeFormat:{default:"24"},showToday:{type:Boolean,default:!0},showClear:{type:Boolean,default:!0},locale:{default:"zh-CN"}},emits:["update:modelValue","change","open","close"],setup(l,{emit:u}){const t=l,a=u,n=e.ref(!1),o=e.ref("date"),s=e.ref(new Date().getFullYear()),d=e.ref(new Date().getMonth()),r=e.ref(null),i=e.ref(0),c=e.ref(0),g=e.ref(0),h=e.ref(!1),f=e.ref("panel-bottom"),p=e.ref(),{format:b,create:v,getCalendarDates:w,formats:C}=Le({timezone:"Asia/Shanghai",locale:"zh-cn"}),x=e.computed(()=>t.locale==="zh-CN"?["日","一","二","三","四","五","六"]:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),S=e.computed(()=>{if(!r.value)return"";const y=v(r.value),k=t.showSeconds?`${i.value.toString().padStart(2,"0")}:${c.value.toString().padStart(2,"0")}:${g.value.toString().padStart(2,"0")}`:`${i.value.toString().padStart(2,"0")}:${c.value.toString().padStart(2,"0")}`;return t.mode==="date"?b(y,C.date):t.mode==="time"?k:`${b(y,C.date)} ${k}`}),V=e.computed(()=>t.mode==="date"?"mdi:calendar":t.mode==="time"?"mdi:clock":"mdi:calendar-clock"),B=e.computed(()=>{const y=r.value?v(r.value):void 0,k=t.minDate?v(t.minDate):void 0,$=t.maxDate?v(t.maxDate):void 0;return w(s.value,d.value,y,k,$)}),N=()=>{t.disabled||(n.value=!n.value,n.value?(j(),a("open")):a("close"))},m=()=>{n.value=!1,a("close")},P=()=>{d.value===0?(d.value=11,s.value--):d.value--},E=()=>{d.value===11?(d.value=0,s.value++):d.value++},T=y=>{y.isDisabled||(r.value=y.date.toDate(),t.mode==="date"&&X())},F=()=>{i.value=Math.max(0,Math.min(23,i.value)),c.value=Math.max(0,Math.min(59,c.value)),g.value=Math.max(0,Math.min(59,g.value))},X=()=>{if(t.mode==="date"&&r.value){const y=v(r.value),k=b(y,t.dateFormat);a("update:modelValue",k),a("change",k)}else if(t.mode==="time"){const y=t.showSeconds?`${i.value.toString().padStart(2,"0")}:${c.value.toString().padStart(2,"0")}:${g.value.toString().padStart(2,"0")}`:`${i.value.toString().padStart(2,"0")}:${c.value.toString().padStart(2,"0")}`;a("update:modelValue",y),a("change",y)}else if(t.mode==="datetime"&&r.value){const y=v(r.value).hour(i.value).minute(c.value).second(g.value).millisecond(0),k=t.showSeconds?`${i.value.toString().padStart(2,"0")}:${c.value.toString().padStart(2,"0")}:${g.value.toString().padStart(2,"0")}`:`${i.value.toString().padStart(2,"0")}:${c.value.toString().padStart(2,"0")}`,$=`${b(y,t.dateFormat)} ${k}`;a("update:modelValue",$),a("change",$)}m()},I=()=>{r.value=null,i.value=0,c.value=0,g.value=0,a("update:modelValue",null),a("change",null),m()},L=()=>{h.value=window.innerWidth<=768},j=()=>{if(!p.value)return;const y=p.value.getBoundingClientRect(),$=window.innerHeight-y.bottom,_=y.top;$>=400||$>_?f.value="panel-bottom":f.value="panel-top"};e.watch(()=>t.modelValue,y=>{if(y){const k=v(y);r.value=k.toDate(),i.value=k.hour(),c.value=k.minute(),g.value=k.second(),s.value=k.year(),d.value=k.month()}else r.value=null,i.value=0,c.value=0,g.value=0},{immediate:!0}),e.watch(()=>t.mode,y=>{y==="datetime"?o.value="date":o.value=y},{immediate:!0});const A=y=>{var k;n.value&&!((k=y.target)!=null&&k.closest(".x-datetime-picker"))&&m()};return e.onMounted(()=>{L(),window.addEventListener("resize",L),document.addEventListener("click",A)}),e.onUnmounted(()=>{window.removeEventListener("resize",L),document.removeEventListener("click",A)}),(y,k)=>{const $=e.resolveComponent("XButton");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["x-datetime-picker",[`datetime-${l.size}`,{"datetime-disabled":l.disabled}]])},[e.createElementVNode("div",{class:"datetime-input-wrapper",onClick:N},[e.createElementVNode("input",{ref_key:"inputRef",ref:p,type:"text",value:S.value,placeholder:l.placeholder,disabled:l.disabled,readonly:"",class:"datetime-input"},null,8,go),e.createElementVNode("div",fo,[e.createVNode(e.unref(J),{icon:V.value},null,8,["icon"])])]),e.createVNode(e.Transition,{"enter-active-class":"panel-enter-active","enter-from-class":"panel-enter-from","enter-to-class":"panel-enter-to","leave-active-class":"panel-leave-active","leave-from-class":"panel-leave-from","leave-to-class":"panel-leave-to"},{default:e.withCtx(()=>[n.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["datetime-panel",f.value])},[e.createElementVNode("div",mo,[e.createElementVNode("div",ho,e.toDisplayString(l.title),1),e.createVNode($,{icon:"mdi:close",size:"small",onClick:m})]),l.mode==="datetime"?(e.openBlock(),e.createElementBlock("div",po,[e.createVNode($,{size:"small",class:e.normalizeClass({active:o.value==="date"}),icon:"mdi:calendar",onClick:k[0]||(k[0]=_=>o.value="date")},{default:e.withCtx(()=>[e.createVNode(e.unref(J),{icon:"mdi:calendar"}),k[2]||(k[2]=e.createElementVNode("span",null,"日期",-1))]),_:1},8,["class"]),e.createVNode($,{size:"small",icon:"mdi:clock",class:e.normalizeClass({active:o.value==="time"}),onClick:k[1]||(k[1]=_=>o.value="time")},{default:e.withCtx(()=>[e.createVNode(e.unref(J),{icon:"mdi:clock"}),k[3]||(k[3]=e.createElementVNode("span",null,"时间",-1))]),_:1},8,["class"])])):e.createCommentVNode("",!0),o.value==="date"||l.mode==="date"?(e.openBlock(),e.createElementBlock("div",yo,[e.createElementVNode("div",ko,[e.createVNode($,{size:"small",onClick:P},{default:e.withCtx(()=>[e.createVNode(e.unref(J),{icon:"mdi:chevron-left"})]),_:1}),e.createElementVNode("div",wo,[e.createElementVNode("span",Co,e.toDisplayString(s.value)+"年"+e.toDisplayString(d.value+1)+"月",1)]),e.createVNode($,{size:"small",onClick:E},{default:e.withCtx(()=>[e.createVNode(e.unref(J),{icon:"mdi:chevron-right"})]),_:1})]),e.createElementVNode("div",xo,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(x.value,_=>(e.openBlock(),e.createElementBlock("div",{key:_,class:"weekday"},e.toDisplayString(_),1))),128))]),e.createElementVNode("div",So,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(B.value,_=>(e.openBlock(),e.createElementBlock("div",{key:_.date.format("YYYY-MM-DD"),class:e.normalizeClass(["date-cell",{"date-other-month":!_.isCurrentMonth,"date-today":_.isToday,"date-selected":_.isSelected,"date-disabled":_.isDisabled}]),onClick:R=>T(_)},[e.createElementVNode("span",$o,e.toDisplayString(_.date.date()),1)],10,Eo))),128))])])):e.createCommentVNode("",!0),o.value==="time"||l.mode==="time"?(e.openBlock(),e.createElementBlock("div",Bo,[e.createElementVNode("div",Mo,[e.createElementVNode("div",Vo,[k[4]||(k[4]=e.createElementVNode("label",{class:"time-label"},"时",-1)),e.createElementVNode("input",{value:i.value,type:"number",min:"0",max:"23",class:"time-input",onChange:F},null,40,No)]),k[7]||(k[7]=e.createElementVNode("div",{class:"time-separator"},":",-1)),e.createElementVNode("div",Po,[k[5]||(k[5]=e.createElementVNode("label",{class:"time-label"},"分",-1)),e.createElementVNode("input",{value:c.value,type:"number",min:"0",max:"59",class:"time-input",onChange:F},null,40,jo)]),l.showSeconds?(e.openBlock(),e.createElementBlock("div",To,":")):e.createCommentVNode("",!0),l.showSeconds?(e.openBlock(),e.createElementBlock("div",Do,[k[6]||(k[6]=e.createElementVNode("label",{class:"time-label"},"秒",-1)),e.createElementVNode("input",{value:g.value,type:"number",min:"0",max:"59",class:"time-input",onChange:F},null,40,Lo)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",_o,[e.createElementVNode("div",Ao,[k[8]||(k[8]=e.createElementVNode("label",{class:"slider-label"},"小时",-1)),e.createElementVNode("input",{value:i.value,type:"range",min:"0",max:"23",class:"time-slider",onInput:F},null,40,zo),e.createElementVNode("span",Io,e.toDisplayString(i.value.toString().padStart(2,"0")),1)]),e.createElementVNode("div",Oo,[k[9]||(k[9]=e.createElementVNode("label",{class:"slider-label"},"分钟",-1)),e.createElementVNode("input",{value:c.value,type:"range",min:"0",max:"59",class:"time-slider",onInput:F},null,40,Yo),e.createElementVNode("span",Fo,e.toDisplayString(c.value.toString().padStart(2,"0")),1)]),l.showSeconds?(e.openBlock(),e.createElementBlock("div",Ro,[k[10]||(k[10]=e.createElementVNode("label",{class:"slider-label"},"秒钟",-1)),e.createElementVNode("input",{value:g.value,type:"range",min:"0",max:"59",step:"1",class:"time-slider",onInput:F},null,40,Xo),e.createElementVNode("span",Ho,e.toDisplayString(g.value.toString().padStart(2,"0")),1)])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),e.createElementVNode("div",Wo,[e.createVNode($,{size:"small",ghost:"",type:"danger",onClick:I},{default:e.withCtx(()=>[e.createVNode(e.unref(J),{icon:"mdi:delete"}),k[11]||(k[11]=e.createElementVNode("span",null,"清空",-1))]),_:1}),e.createVNode($,{size:"small",ghost:"",type:"primary",onClick:X},{default:e.withCtx(()=>[e.createVNode(e.unref(J),{icon:"mdi:check"}),k[12]||(k[12]=e.createElementVNode("span",null,"确定",-1))]),_:1})])],2)):e.createCommentVNode("",!0)]),_:1})],2)}}}),Go=K(Uo,[["__scopeId","data-v-4026c0a4"]]),qo=[{value:"34",label:"安徽省",children:[{value:"3408",label:"安庆市",children:[{value:"340871",label:"安徽安庆经济开发区"},{value:"340803",label:"大观区"},{value:"340822",label:"怀宁县"},{value:"340882",label:"潜山市"},{value:"340826",label:"宿松县"},{value:"340825",label:"太湖县"},{value:"340881",label:"桐城市"},{value:"340827",label:"望江县"},{value:"340811",label:"宜秀区"},{value:"340802",label:"迎江区"},{value:"340828",label:"岳西县"}]},{value:"3403",label:"蚌埠市",children:[{value:"340371",label:"蚌埠市高新技术开发区"},{value:"340372",label:"蚌埠市经济开发区"},{value:"340303",label:"蚌山区"},{value:"340323",label:"固镇县"},{value:"340321",label:"怀远县"},{value:"340311",label:"淮上区"},{value:"340302",label:"龙子湖区"},{value:"340322",label:"五河县"},{value:"340304",label:"禹会区"}]},{value:"3416",label:"亳州市",children:[{value:"341623",label:"利辛县"},{value:"341622",label:"蒙城县"},{value:"341602",label:"谯城区"},{value:"341621",label:"涡阳县"}]},{value:"3417",label:"池州市",children:[{value:"341721",label:"东至县"},{value:"341702",label:"贵池区"},{value:"341723",label:"青阳县"},{value:"341722",label:"石台县"}]},{value:"3411",label:"滁州市",children:[{value:"341172",label:"滁州经济技术开发区"},{value:"341125",label:"定远县"},{value:"341126",label:"凤阳县"},{value:"341122",label:"来安县"},{value:"341102",label:"琅琊区"},{value:"341182",label:"明光市"},{value:"341103",label:"南谯区"},{value:"341124",label:"全椒县"},{value:"341181",label:"天长市"},{value:"341171",label:"中新苏滁高新技术产业开发区"}]},{value:"3412",label:"阜阳市",children:[{value:"341225",label:"阜南县"},{value:"341271",label:"阜阳合肥现代产业园区"},{value:"341272",label:"阜阳经济技术开发区"},{value:"341282",label:"界首市"},{value:"341221",label:"临泉县"},{value:"341222",label:"太和县"},{value:"341203",label:"颍东区"},{value:"341204",label:"颍泉区"},{value:"341226",label:"颍上县"},{value:"341202",label:"颍州区"}]},{value:"3401",label:"合肥市",children:[{value:"340111",label:"包河区"},{value:"340181",label:"巢湖市"},{value:"340122",label:"肥东县"},{value:"340123",label:"肥西县"},{value:"340176",label:"合肥高新技术产业开发区"},{value:"340177",label:"合肥经济技术开发区"},{value:"340178",label:"合肥新站高新技术产业开发区"},{value:"340124",label:"庐江县"},{value:"340103",label:"庐阳区"},{value:"340104",label:"蜀山区"},{value:"340102",label:"瑶海区"},{value:"340121",label:"长丰县"}]},{value:"3406",label:"淮北市",children:[{value:"340602",label:"杜集区"},{value:"340604",label:"烈山区"},{value:"340621",label:"濉溪县"},{value:"340603",label:"相山区"}]},{value:"3404",label:"淮南市",children:[{value:"340405",label:"八公山区"},{value:"340402",label:"大通区"},{value:"340421",label:"凤台县"},{value:"340406",label:"潘集区"},{value:"340422",label:"寿县"},{value:"340403",label:"田家庵区"},{value:"340404",label:"谢家集区"}]},{value:"3410",label:"黄山市",children:[{value:"341003",label:"黄山区"},{value:"341004",label:"徽州区"},{value:"341024",label:"祁门县"},{value:"341021",label:"歙县"},{value:"341002",label:"屯溪区"},{value:"341022",label:"休宁县"},{value:"341023",label:"黟县"}]},{value:"3415",label:"六安市",children:[{value:"341522",label:"霍邱县"},{value:"341525",label:"霍山县"},{value:"341502",label:"金安区"},{value:"341524",label:"金寨县"},{value:"341523",label:"舒城县"},{value:"341504",label:"叶集区"},{value:"341503",label:"裕安区"}]},{value:"3405",label:"马鞍山市",children:[{value:"340506",label:"博望区"},{value:"340521",label:"当涂县"},{value:"340522",label:"含山县"},{value:"340523",label:"和县"},{value:"340503",label:"花山区"},{value:"340504",label:"雨山区"}]},{value:"3413",label:"宿州市",children:[{value:"341321",label:"砀山县"},{value:"341323",label:"灵璧县"},{value:"341324",label:"泗县"},{value:"341372",label:"宿州经济技术开发区"},{value:"341371",label:"宿州马鞍山现代产业园区"},{value:"341322",label:"萧县"},{value:"341302",label:"埇桥区"}]},{value:"3407",label:"铜陵市",children:[{value:"340722",label:"枞阳县"},{value:"340711",label:"郊区"},{value:"340705",label:"铜官区"},{value:"340706",label:"义安区"}]},{value:"3402",label:"芜湖市",children:[{value:"340272",label:"安徽芜湖三山经济开发区"},{value:"340212",label:"繁昌区"},{value:"340202",label:"镜湖区"},{value:"340207",label:"鸠江区"},{value:"340223",label:"南陵县"},{value:"340210",label:"湾沚区"},{value:"340281",label:"无为市"},{value:"340271",label:"芜湖经济技术开发区"},{value:"340209",label:"弋江区"}]},{value:"3418",label:"宣城市",children:[{value:"341882",label:"广德市"},{value:"341824",label:"绩溪县"},{value:"341823",label:"泾县"},{value:"341825",label:"旌德县"},{value:"341821",label:"郎溪县"},{value:"341881",label:"宁国市"},{value:"341871",label:"宣城市经济开发区"},{value:"341802",label:"宣州区"}]}]},{value:"11",label:"北京市",children:[{value:"1101",label:"市辖区",children:[{value:"110114",label:"昌平区"},{value:"110105",label:"朝阳区"},{value:"110115",label:"大兴区"},{value:"110101",label:"东城区"},{value:"110111",label:"房山区"},{value:"110106",label:"丰台区"},{value:"110108",label:"海淀区"},{value:"110116",label:"怀柔区"},{value:"110109",label:"门头沟区"},{value:"110118",label:"密云区"},{value:"110117",label:"平谷区"},{value:"110107",label:"石景山区"},{value:"110113",label:"顺义区"},{value:"110112",label:"通州区"},{value:"110102",label:"西城区"},{value:"110119",label:"延庆区"}]}]},{value:"50",label:"重庆市",children:[{value:"5001",label:"市辖区",children:[{value:"500113",label:"巴南区"},{value:"500109",label:"北碚区"},{value:"500120",label:"璧山区"},{value:"500104",label:"大渡口区"},{value:"500111",label:"大足区"},{value:"500102",label:"涪陵区"},{value:"500117",label:"合川区"},{value:"500105",label:"江北区"},{value:"500116",label:"江津区"},{value:"500107",label:"九龙坡区"},{value:"500154",label:"开州区"},{value:"500155",label:"梁平区"},{value:"500108",label:"南岸区"},{value:"500119",label:"南川区"},{value:"500110",label:"綦江区"},{value:"500114",label:"黔江区"},{value:"500153",label:"荣昌区"},{value:"500106",label:"沙坪坝区"},{value:"500151",label:"铜梁区"},{value:"500152",label:"潼南区"},{value:"500101",label:"万州区"},{value:"500156",label:"武隆区"},{value:"500118",label:"永川区"},{value:"500112",label:"渝北区"},{value:"500103",label:"渝中区"},{value:"500115",label:"长寿区"}]},{value:"5002",label:"县",children:[{value:"500229",label:"城口县"},{value:"500231",label:"垫江县"},{value:"500230",label:"丰都县"},{value:"500236",label:"奉节县"},{value:"500243",label:"彭水苗族土家族自治县"},{value:"500240",label:"石柱土家族自治县"},{value:"500237",label:"巫山县"},{value:"500238",label:"巫溪县"},{value:"500241",label:"秀山土家族苗族自治县"},{value:"500242",label:"酉阳土家族苗族自治县"},{value:"500235",label:"云阳县"},{value:"500233",label:"忠县"}]}]},{value:"35",label:"福建省",children:[{value:"3501",label:"福州市",children:[{value:"350104",label:"仓山区"},{value:"350181",label:"福清市"},{value:"350102",label:"鼓楼区"},{value:"350111",label:"晋安区"},{value:"350122",label:"连江县"},{value:"350123",label:"罗源县"},{value:"350105",label:"马尾区"},{value:"350121",label:"闽侯县"},{value:"350124",label:"闽清县"},{value:"350128",label:"平潭县"},{value:"350103",label:"台江区"},{value:"350125",label:"永泰县"},{value:"350112",label:"长乐区"}]},{value:"3508",label:"龙岩市",children:[{value:"350825",label:"连城县"},{value:"350823",label:"上杭县"},{value:"350824",label:"武平县"},{value:"350802",label:"新罗区"},{value:"350803",label:"永定区"},{value:"350881",label:"漳平市"},{value:"350821",label:"长汀县"}]},{value:"3507",label:"南平市",children:[{value:"350723",label:"光泽县"},{value:"350783",label:"建瓯市"},{value:"350703",label:"建阳区"},{value:"350722",label:"浦城县"},{value:"350781",label:"邵武市"},{value:"350721",label:"顺昌县"},{value:"350724",label:"松溪县"},{value:"350782",label:"武夷山市"},{value:"350702",label:"延平区"},{value:"350725",label:"政和县"}]},{value:"3509",label:"宁德市",children:[{value:"350981",label:"福安市"},{value:"350982",label:"福鼎市"},{value:"350922",label:"古田县"},{value:"350902",label:"蕉城区"},{value:"350923",label:"屏南县"},{value:"350924",label:"寿宁县"},{value:"350921",label:"霞浦县"},{value:"350926",label:"柘荣县"},{value:"350925",label:"周宁县"}]},{value:"3503",label:"莆田市",children:[{value:"350302",label:"城厢区"},{value:"350303",label:"涵江区"},{value:"350304",label:"荔城区"},{value:"350322",label:"仙游县"},{value:"350305",label:"秀屿区"}]},{value:"3505",label:"泉州市",children:[{value:"350524",label:"安溪县"},{value:"350526",label:"德化县"},{value:"350503",label:"丰泽区"},{value:"350521",label:"惠安县"},{value:"350527",label:"金门县"},{value:"350582",label:"晋江市"},{value:"350502",label:"鲤城区"},{value:"350504",label:"洛江区"},{value:"350583",label:"南安市"},{value:"350505",label:"泉港区"},{value:"350581",label:"石狮市"},{value:"350525",label:"永春县"}]},{value:"3504",label:"三明市",children:[{value:"350425",label:"大田县"},{value:"350430",label:"建宁县"},{value:"350428",label:"将乐县"},{value:"350421",label:"明溪县"},{value:"350424",label:"宁化县"},{value:"350423",label:"清流县"},{value:"350404",label:"三元区"},{value:"350405",label:"沙县区"},{value:"350429",label:"泰宁县"},{value:"350481",label:"永安市"},{value:"350426",label:"尤溪县"}]},{value:"3502",label:"厦门市",children:[{value:"350205",label:"海沧区"},{value:"350206",label:"湖里区"},{value:"350211",label:"集美区"},{value:"350203",label:"思明区"},{value:"350212",label:"同安区"},{value:"350213",label:"翔安区"}]},{value:"3506",label:"漳州市",children:[{value:"350626",label:"东山县"},{value:"350629",label:"华安县"},{value:"350604",label:"龙海区"},{value:"350603",label:"龙文区"},{value:"350627",label:"南靖县"},{value:"350628",label:"平和县"},{value:"350602",label:"芗城区"},{value:"350622",label:"云霄县"},{value:"350623",label:"漳浦县"},{value:"350605",label:"长泰区"},{value:"350624",label:"诏安县"}]}]},{value:"62",label:"甘肃省",children:[{value:"6204",label:"白银市",children:[{value:"620402",label:"白银区"},{value:"620422",label:"会宁县"},{value:"620423",label:"景泰县"},{value:"620421",label:"靖远县"},{value:"620403",label:"平川区"}]},{value:"6211",label:"定西市",children:[{value:"621102",label:"安定区"},{value:"621124",label:"临洮县"},{value:"621122",label:"陇西县"},{value:"621126",label:"岷县"},{value:"621121",label:"通渭县"},{value:"621123",label:"渭源县"},{value:"621125",label:"漳县"}]},{value:"6230",label:"甘南藏族自治州",children:[{value:"623024",label:"迭部县"},{value:"623001",label:"合作市"},{value:"623021",label:"临潭县"},{value:"623026",label:"碌曲县"},{value:"623025",label:"玛曲县"},{value:"623027",label:"夏河县"},{value:"623023",label:"舟曲县"},{value:"623022",label:"卓尼县"}]},{value:"6202",label:"嘉峪关市",children:[{value:"620201002",label:"钢城街道"},{value:"620201102",label:"文殊镇"},{value:"620201100",label:"新城镇"},{value:"620201001",label:"雄关街道"},{value:"620201101",label:"峪泉镇"}]},{value:"6203",label:"金昌市",children:[{value:"620302",label:"金川区"},{value:"620321",label:"永昌县"}]},{value:"6209",label:"酒泉市",children:[{value:"620924",label:"阿克塞哈萨克族自治县"},{value:"620982",label:"敦煌市"},{value:"620922",label:"瓜州县"},{value:"620921",label:"金塔县"},{value:"620923",label:"肃北蒙古族自治县"},{value:"620902",label:"肃州区"},{value:"620981",label:"玉门市"}]},{value:"6201",label:"兰州市",children:[{value:"620105",label:"安宁区"},{value:"620102",label:"城关区"},{value:"620122",label:"皋兰县"},{value:"620111",label:"红古区"},{value:"620171",label:"兰州新区"},{value:"620103",label:"七里河区"},{value:"620104",label:"西固区"},{value:"620121",label:"永登县"},{value:"620123",label:"榆中县"}]},{value:"6229",label:"临夏回族自治州",children:[{value:"622926",label:"东乡族自治县"},{value:"622924",label:"广河县"},{value:"622925",label:"和政县"},{value:"622927",label:"积石山保安族东乡族撒拉族自治县"},{value:"622922",label:"康乐县"},{value:"622901",label:"临夏市"},{value:"622921",label:"临夏县"},{value:"622923",label:"永靖县"}]},{value:"6212",label:"陇南市",children:[{value:"621221",label:"成县"},{value:"621223",label:"宕昌县"},{value:"621227",label:"徽县"},{value:"621224",label:"康县"},{value:"621226",label:"礼县"},{value:"621228",label:"两当县"},{value:"621222",label:"文县"},{value:"621202",label:"武都区"},{value:"621225",label:"西和县"}]},{value:"6208",label:"平凉市",children:[{value:"620823",label:"崇信县"},{value:"620881",label:"华亭市"},{value:"620821",label:"泾川县"},{value:"620826",label:"静宁县"},{value:"620802",label:"崆峒区"},{value:"620822",label:"灵台县"},{value:"620825",label:"庄浪县"}]},{value:"6210",label:"庆阳市",children:[{value:"621024",label:"合水县"},{value:"621023",label:"华池县"},{value:"621022",label:"环县"},{value:"621026",label:"宁县"},{value:"621021",label:"庆城县"},{value:"621002",label:"西峰区"},{value:"621027",label:"镇原县"},{value:"621025",label:"正宁县"}]},{value:"6205",label:"天水市",children:[{value:"620523",label:"甘谷县"},{value:"620503",label:"麦积区"},{value:"620522",label:"秦安县"},{value:"620502",label:"秦州区"},{value:"620521",label:"清水县"},{value:"620524",label:"武山县"},{value:"620525",label:"张家川回族自治县"}]},{value:"6206",label:"武威市",children:[{value:"620622",label:"古浪县"},{value:"620602",label:"凉州区"},{value:"620621",label:"民勤县"},{value:"620623",label:"天祝藏族自治县"}]},{value:"6207",label:"张掖市",children:[{value:"620702",label:"甘州区"},{value:"620724",label:"高台县"},{value:"620723",label:"临泽县"},{value:"620722",label:"民乐县"},{value:"620725",label:"山丹县"},{value:"620721",label:"肃南裕固族自治县"}]}]},{value:"44",label:"广东省",children:[{value:"4451",label:"潮州市",children:[{value:"445103",label:"潮安区"},{value:"445122",label:"饶平县"},{value:"445102",label:"湘桥区"}]},{value:"4419",label:"东莞市",children:[{value:"441900103",label:"茶山镇"},{value:"441900110",label:"常平镇"},{value:"441900113",label:"大朗镇"},{value:"441900118",label:"大岭山镇"},{value:"441900124",label:"道滘镇"},{value:"441900003",label:"东城街道"},{value:"441900404",label:"东莞滨海湾新区"},{value:"441900402",label:"东莞港"},{value:"441900403",label:"东莞生态园"},{value:"441900109",label:"东坑镇"},{value:"441900117",label:"凤岗镇"},{value:"441900129",label:"高埗镇"},{value:"441900006",label:"莞城街道"},{value:"441900106",label:"横沥镇"},{value:"441900125",label:"洪梅镇"},{value:"441900122",label:"厚街镇"},{value:"441900121",label:"虎门镇"},{value:"441900114",label:"黄江镇"},{value:"441900111",label:"寮步镇"},{value:"441900126",label:"麻涌镇"},{value:"441900004",label:"南城街道"},{value:"441900105",label:"企石镇"},{value:"441900107",label:"桥头镇"},{value:"441900115",label:"清溪镇"},{value:"441900123",label:"沙田镇"},{value:"441900101",label:"石碣镇"},{value:"441900102",label:"石龙镇"},{value:"441900104",label:"石排镇"},{value:"441900401",label:"松山湖"},{value:"441900116",label:"塘厦镇"},{value:"441900005",label:"万江街道"},{value:"441900127",label:"望牛墩镇"},{value:"441900108",label:"谢岗镇"},{value:"441900112",label:"樟木头镇"},{value:"441900119",label:"长安镇"},{value:"441900128",label:"中堂镇"}]},{value:"4406",label:"佛山市",children:[{value:"440604",label:"禅城区"},{value:"440608",label:"高明区"},{value:"440605",label:"南海区"},{value:"440607",label:"三水区"},{value:"440606",label:"顺德区"}]},{value:"4401",label:"广州市",children:[{value:"440111",label:"白云区"},{value:"440117",label:"从化区"},{value:"440113",label:"番禺区"},{value:"440105",label:"海珠区"},{value:"440114",label:"花都区"},{value:"440112",label:"黄埔区"},{value:"440103",label:"荔湾区"},{value:"440115",label:"南沙区"},{value:"440106",label:"天河区"},{value:"440104",label:"越秀区"},{value:"440118",label:"增城区"}]},{value:"4416",label:"河源市",children:[{value:"441625",label:"东源县"},{value:"441624",label:"和平县"},{value:"441623",label:"连平县"},{value:"441622",label:"龙川县"},{value:"441602",label:"源城区"},{value:"441621",label:"紫金县"}]},{value:"4413",label:"惠州市",children:[{value:"441322",label:"博罗县"},{value:"441302",label:"惠城区"},{value:"441323",label:"惠东县"},{value:"441303",label:"惠阳区"},{value:"441324",label:"龙门县"}]},{value:"4407",label:"江门市",children:[{value:"440785",label:"恩平市"},{value:"440784",label:"鹤山市"},{value:"440704",label:"江海区"},{value:"440783",label:"开平市"},{value:"440703",label:"蓬江区"},{value:"440781",label:"台山市"},{value:"440705",label:"新会区"}]},{value:"4452",label:"揭阳市",children:[{value:"445224",label:"惠来县"},{value:"445203",label:"揭东区"},{value:"445222",label:"揭西县"},{value:"445281",label:"普宁市"},{value:"445202",label:"榕城区"}]},{value:"4409",label:"茂名市",children:[{value:"440904",label:"电白区"},{value:"440981",label:"高州市"},{value:"440982",label:"化州市"},{value:"440902",label:"茂南区"},{value:"440983",label:"信宜市"}]},{value:"4414",label:"梅州市",children:[{value:"441422",label:"大埔县"},{value:"441423",label:"丰顺县"},{value:"441427",label:"蕉岭县"},{value:"441402",label:"梅江区"},{value:"441403",label:"梅县区"},{value:"441426",label:"平远县"},{value:"441424",label:"五华县"},{value:"441481",label:"兴宁市"}]},{value:"4418",label:"清远市",children:[{value:"441821",label:"佛冈县"},{value:"441826",label:"连南瑶族自治县"},{value:"441825",label:"连山壮族瑶族自治县"},{value:"441882",label:"连州市"},{value:"441802",label:"清城区"},{value:"441803",label:"清新区"},{value:"441823",label:"阳山县"},{value:"441881",label:"英德市"}]},{value:"4405",label:"汕头市",children:[{value:"440514",label:"潮南区"},{value:"440513",label:"潮阳区"},{value:"440515",label:"澄海区"},{value:"440512",label:"濠江区"},{value:"440511",label:"金平区"},{value:"440507",label:"龙湖区"},{value:"440523",label:"南澳县"}]},{value:"4415",label:"汕尾市",children:[{value:"441502",label:"城区"},{value:"441521",label:"海丰县"},{value:"441581",label:"陆丰市"},{value:"441523",label:"陆河县"}]},{value:"4402",label:"韶关市",children:[{value:"440281",label:"乐昌市"},{value:"440282",label:"南雄市"},{value:"440205",label:"曲江区"},{value:"440224",label:"仁化县"},{value:"440232",label:"乳源瑶族自治县"},{value:"440222",label:"始兴县"},{value:"440229",label:"翁源县"},{value:"440203",label:"武江区"},{value:"440233",label:"新丰县"},{value:"440204",label:"浈江区"}]},{value:"4403",label:"深圳市",children:[{value:"440306",label:"宝安区"},{value:"440304",label:"福田区"},{value:"440311",label:"光明区"},{value:"440307",label:"龙岗区"},{value:"440309",label:"龙华区"},{value:"440303",label:"罗湖区"},{value:"440305",label:"南山区"},{value:"440310",label:"坪山区"},{value:"440308",label:"盐田区"}]},{value:"4417",label:"阳江市",children:[{value:"441702",label:"江城区"},{value:"441781",label:"阳春市"},{value:"441704",label:"阳东区"},{value:"441721",label:"阳西县"}]},{value:"4453",label:"云浮市",children:[{value:"445381",label:"罗定市"},{value:"445321",label:"新兴县"},{value:"445322",label:"郁南县"},{value:"445303",label:"云安区"},{value:"445302",label:"云城区"}]},{value:"4408",label:"湛江市",children:[{value:"440802",label:"赤坎区"},{value:"440882",label:"雷州市"},{value:"440881",label:"廉江市"},{value:"440811",label:"麻章区"},{value:"440804",label:"坡头区"},{value:"440823",label:"遂溪县"},{value:"440883",label:"吴川市"},{value:"440803",label:"霞山区"},{value:"440825",label:"徐闻县"}]},{value:"4412",label:"肇庆市",children:[{value:"441226",label:"德庆县"},{value:"441203",label:"鼎湖区"},{value:"441202",label:"端州区"},{value:"441225",label:"封开县"},{value:"441204",label:"高要区"},{value:"441223",label:"广宁县"},{value:"441224",label:"怀集县"},{value:"441284",label:"四会市"}]},{value:"4420",label:"中山市",children:[{value:"442000115",label:"板芙镇"},{value:"442000116",label:"大涌镇"},{value:"442000103",label:"东凤镇"},{value:"442000002",label:"东区街道"},{value:"442000112",label:"阜沙镇"},{value:"442000108",label:"港口镇"},{value:"442000105",label:"古镇镇"},{value:"442000110",label:"横栏镇"},{value:"442000101",label:"黄圃镇"},{value:"442000007",label:"民众街道"},{value:"442000008",label:"南朗街道"},{value:"442000005",label:"南区街道"},{value:"442000111",label:"南头镇"},{value:"442000109",label:"三角镇"},{value:"442000114",label:"三乡镇"},{value:"442000106",label:"沙溪镇"},{value:"442000117",label:"神湾镇"},{value:"442000001",label:"石岐街道"},{value:"442000107",label:"坦洲镇"},{value:"442000006",label:"五桂山街道"},{value:"442000004",label:"西区街道"},{value:"442000118",label:"小榄镇"},{value:"442000003",label:"中山港街道"}]},{value:"4404",label:"珠海市",children:[{value:"440403",label:"斗门区"},{value:"440404",label:"金湾区"},{value:"440402",label:"香洲区"}]}]},{value:"45",label:"广西壮族自治区",children:[{value:"4510",label:"百色市",children:[{value:"451024",label:"德保县"},{value:"451081",label:"靖西市"},{value:"451028",label:"乐业县"},{value:"451027",label:"凌云县"},{value:"451031",label:"隆林各族自治县"},{value:"451026",label:"那坡县"},{value:"451082",label:"平果市"},{value:"451022",label:"田东县"},{value:"451029",label:"田林县"},{value:"451003",label:"田阳区"},{value:"451030",label:"西林县"},{value:"451002",label:"右江区"}]},{value:"4505",label:"北海市",children:[{value:"450502",label:"海城区"},{value:"450521",label:"合浦县"},{value:"450512",label:"铁山港区"},{value:"450503",label:"银海区"}]},{value:"4514",label:"崇左市",children:[{value:"451424",label:"大新县"},{value:"451421",label:"扶绥县"},{value:"451402",label:"江州区"},{value:"451423",label:"龙州县"},{value:"451422",label:"宁明县"},{value:"451481",label:"凭祥市"},{value:"451425",label:"天等县"}]},{value:"4506",label:"防城港市",children:[{value:"450681",label:"东兴市"},{value:"450603",label:"防城区"},{value:"450602",label:"港口区"},{value:"450621",label:"上思县"}]},{value:"4508",label:"贵港市",children:[{value:"450802",label:"港北区"},{value:"450803",label:"港南区"},{value:"450881",label:"桂平市"},{value:"450821",label:"平南县"},{value:"450804",label:"覃塘区"}]},{value:"4503",label:"桂林市",children:[{value:"450303",label:"叠彩区"},{value:"450332",label:"恭城瑶族自治县"},{value:"450327",label:"灌阳县"},{value:"450381",label:"荔浦市"},{value:"450312",label:"临桂区"},{value:"450323",label:"灵川县"},{value:"450328",label:"龙胜各族自治县"},{value:"450330",label:"平乐县"},{value:"450305",label:"七星区"},{value:"450324",label:"全州县"},{value:"450304",label:"象山区"},{value:"450325",label:"兴安县"},{value:"450302",label:"秀峰区"},{value:"450311",label:"雁山区"},{value:"450321",label:"阳朔县"},{value:"450326",label:"永福县"},{value:"450329",label:"资源县"}]},{value:"4512",label:"河池市",children:[{value:"451227",label:"巴马瑶族自治县"},{value:"451229",label:"大化瑶族自治县"},{value:"451224",label:"东兰县"},{value:"451228",label:"都安瑶族自治县"},{value:"451223",label:"凤山县"},{value:"451226",label:"环江毛南族自治县"},{value:"451202",label:"金城江区"},{value:"451225",label:"罗城仫佬族自治县"},{value:"451221",label:"南丹县"},{value:"451222",label:"天峨县"},{value:"451203",label:"宜州区"}]},{value:"4511",label:"贺州市",children:[{value:"451102",label:"八步区"},{value:"451123",label:"富川瑶族自治县"},{value:"451103",label:"平桂区"},{value:"451121",label:"昭平县"},{value:"451122",label:"钟山县"}]},{value:"4513",label:"来宾市",children:[{value:"451381",label:"合山市"},{value:"451324",label:"金秀瑶族自治县"},{value:"451323",label:"武宣县"},{value:"451322",label:"象州县"},{value:"451321",label:"忻城县"},{value:"451302",label:"兴宾区"}]},{value:"4502",label:"柳州市",children:[{value:"450202",label:"城中区"},{value:"450205",label:"柳北区"},{value:"450222",label:"柳城县"},{value:"450206",label:"柳江区"},{value:"450204",label:"柳南区"},{value:"450223",label:"鹿寨县"},{value:"450224",label:"融安县"},{value:"450225",label:"融水苗族自治县"},{value:"450226",label:"三江侗族自治县"},{value:"450203",label:"鱼峰区"}]},{value:"4501",label:"南宁市",children:[{value:"450126",label:"宾阳县"},{value:"450181",label:"横州市"},{value:"450105",label:"江南区"},{value:"450108",label:"良庆区"},{value:"450123",label:"隆安县"},{value:"450124",label:"马山县"},{value:"450103",label:"青秀区"},{value:"450125",label:"上林县"},{value:"450110",label:"武鸣区"},{value:"450107",label:"西乡塘区"},{value:"450102",label:"兴宁区"},{value:"450109",label:"邕宁区"}]},{value:"4507",label:"钦州市",children:[{value:"450721",label:"灵山县"},{value:"450722",label:"浦北县"},{value:"450703",label:"钦北区"},{value:"450702",label:"钦南区"}]},{value:"4504",label:"梧州市",children:[{value:"450421",label:"苍梧县"},{value:"450481",label:"岑溪市"},{value:"450406",label:"龙圩区"},{value:"450423",label:"蒙山县"},{value:"450422",label:"藤县"},{value:"450403",label:"万秀区"},{value:"450405",label:"长洲区"}]},{value:"4509",label:"玉林市",children:[{value:"450981",label:"北流市"},{value:"450923",label:"博白县"},{value:"450903",label:"福绵区"},{value:"450922",label:"陆川县"},{value:"450921",label:"容县"},{value:"450924",label:"兴业县"},{value:"450902",label:"玉州区"}]}]},{value:"52",label:"贵州省",children:[{value:"5204",label:"安顺市",children:[{value:"520424",label:"关岭布依族苗族自治县"},{value:"520403",label:"平坝区"},{value:"520422",label:"普定县"},{value:"520402",label:"西秀区"},{value:"520423",label:"镇宁布依族苗族自治县"},{value:"520425",label:"紫云苗族布依族自治县"}]},{value:"5205",label:"毕节市",children:[{value:"520521",label:"大方县"},{value:"520527",label:"赫章县"},{value:"520523",label:"金沙县"},{value:"520525",label:"纳雍县"},{value:"520502",label:"七星关区"},{value:"520581",label:"黔西市"},{value:"520526",label:"威宁彝族回族苗族自治县"},{value:"520524",label:"织金县"}]},{value:"5201",label:"贵阳市",children:[{value:"520113",label:"白云区"},{value:"520115",label:"观山湖区"},{value:"520111",label:"花溪区"},{value:"520121",label:"开阳县"},{value:"520102",label:"南明区"},{value:"520181",label:"清镇市"},{value:"520112",label:"乌当区"},{value:"520122",label:"息烽县"},{value:"520123",label:"修文县"},{value:"520103",label:"云岩区"}]},{value:"5202",label:"六盘水市",children:[{value:"520203",label:"六枝特区"},{value:"520281",label:"盘州市"},{value:"520204",label:"水城区"},{value:"520201",label:"钟山区"}]},{value:"5226",label:"黔东南苗族侗族自治州",children:[{value:"522626",label:"岑巩县"},{value:"522633",label:"从江县"},{value:"522636",label:"丹寨县"},{value:"522622",label:"黄平县"},{value:"522629",label:"剑河县"},{value:"522628",label:"锦屏县"},{value:"522601",label:"凯里市"},{value:"522634",label:"雷山县"},{value:"522631",label:"黎平县"},{value:"522635",label:"麻江县"},{value:"522632",label:"榕江县"},{value:"522624",label:"三穗县"},{value:"522623",label:"施秉县"},{value:"522630",label:"台江县"},{value:"522627",label:"天柱县"},{value:"522625",label:"镇远县"}]},{value:"5227",label:"黔南布依族苗族自治州",children:[{value:"522701",label:"都匀市"},{value:"522726",label:"独山县"},{value:"522702",label:"福泉市"},{value:"522723",label:"贵定县"},{value:"522731",label:"惠水县"},{value:"522722",label:"荔波县"},{value:"522730",label:"龙里县"},{value:"522728",label:"罗甸县"},{value:"522727",label:"平塘县"},{value:"522732",label:"三都水族自治县"},{value:"522725",label:"瓮安县"},{value:"522729",label:"长顺县"}]},{value:"5223",label:"黔西南布依族苗族自治州",children:[{value:"522328",label:"安龙县"},{value:"522327",label:"册亨县"},{value:"522323",label:"普安县"},{value:"522324",label:"晴隆县"},{value:"522326",label:"望谟县"},{value:"522302",label:"兴仁市"},{value:"522301",label:"兴义市"},{value:"522325",label:"贞丰县"}]},{value:"5206",label:"铜仁市",children:[{value:"520602",label:"碧江区"},{value:"520626",label:"德江县"},{value:"520621",label:"江口县"},{value:"520623",label:"石阡县"},{value:"520624",label:"思南县"},{value:"520628",label:"松桃苗族自治县"},{value:"520603",label:"万山区"},{value:"520627",label:"沿河土家族自治县"},{value:"520625",label:"印江土家族苗族自治县"},{value:"520622",label:"玉屏侗族自治县"}]},{value:"5203",label:"遵义市",children:[{value:"520304",label:"播州区"},{value:"520381",label:"赤水市"},{value:"520325",label:"道真仡佬族苗族自治县"},{value:"520327",label:"凤冈县"},{value:"520302",label:"红花岗区"},{value:"520303",label:"汇川区"},{value:"520328",label:"湄潭县"},{value:"520382",label:"仁怀市"},{value:"520323",label:"绥阳县"},{value:"520322",label:"桐梓县"},{value:"520326",label:"务川仡佬族苗族自治县"},{value:"520330",label:"习水县"},{value:"520329",label:"余庆县"},{value:"520324",label:"正安县"}]}]},{value:"46",label:"海南省",children:[{value:"4604",label:"儋州市",children:[{value:"460400112",label:"白马井镇"},{value:"460400103",label:"大成镇"},{value:"460400115",label:"东成镇"},{value:"460400109",label:"峨蔓镇"},{value:"460400106",label:"光村镇"},{value:"460400108",label:"海头镇"},{value:"460400101",label:"和庆镇"},{value:"460400500",label:"华南热作学院"},{value:"460400105",label:"兰洋镇"},{value:"460400107",label:"木棠镇"},{value:"460400100",label:"那大镇"},{value:"460400102",label:"南丰镇"},{value:"460400114",label:"排浦镇"},{value:"460400111",label:"王五镇"},{value:"460400116",label:"新州镇"},{value:"460400104",label:"雅星镇"},{value:"460400499",label:"洋浦经济开发区"},{value:"460400113",label:"中和镇"}]},{value:"4601",label:"海口市",children:[{value:"460106",label:"龙华区"},{value:"460108",label:"美兰区"},{value:"460107",label:"琼山区"},{value:"460105",label:"秀英区"}]},{value:"4603",label:"三沙市",children:[{value:"460322",label:"南沙群岛"},{value:"460321",label:"西沙群岛"},{value:"460323",label:"中沙群岛的岛礁及其海域"}]},{value:"4602",label:"三亚市",children:[{value:"460202",label:"海棠区"},{value:"460203",label:"吉阳区"},{value:"460204",label:"天涯区"},{value:"460205",label:"崖州区"}]},{value:"4690",label:"省直辖县级行政区划",children:[{value:"469025",label:"白沙黎族自治县"},{value:"469029",label:"保亭黎族苗族自治县"},{value:"469026",label:"昌江黎族自治县"},{value:"469023",label:"澄迈县"},{value:"469021",label:"定安县"},{value:"469007",label:"东方市"},{value:"469027",label:"乐东黎族自治县"},{value:"469024",label:"临高县"},{value:"469028",label:"陵水黎族自治县"},{value:"469002",label:"琼海市"},{value:"469030",label:"琼中黎族苗族自治县"},{value:"469022",label:"屯昌县"},{value:"469006",label:"万宁市"},{value:"469005",label:"文昌市"},{value:"469001",label:"五指山市"}]}]},{value:"13",label:"河北省",children:[{value:"1306",label:"保定市",children:[{value:"130683",label:"安国市"},{value:"130632",label:"安新县"},{value:"130672",label:"保定白沟新城"},{value:"130671",label:"保定高新技术产业开发区"},{value:"130637",label:"博野县"},{value:"130626",label:"定兴县"},{value:"130682",label:"定州市"},{value:"130624",label:"阜平县"},{value:"130684",label:"高碑店市"},{value:"130628",label:"高阳县"},{value:"130602",label:"竞秀区"},{value:"130623",label:"涞水县"},{value:"130630",label:"涞源县"},{value:"130635",label:"蠡县"},{value:"130606",label:"莲池区"},{value:"130607",label:"满城区"},{value:"130608",label:"清苑区"},{value:"130634",label:"曲阳县"},{value:"130629",label:"容城县"},{value:"130636",label:"顺平县"},{value:"130627",label:"唐县"},{value:"130631",label:"望都县"},{value:"130638",label:"雄县"},{value:"130609",label:"徐水区"},{value:"130633",label:"易县"},{value:"130681",label:"涿州市"}]},{value:"1309",label:"沧州市",children:[{value:"130921",label:"沧县"},{value:"130973",label:"沧州渤海新区"},{value:"130972",label:"沧州高新技术产业开发区"},{value:"130923",label:"东光县"},{value:"130924",label:"海兴县"},{value:"130971",label:"河北沧州经济开发区"},{value:"130984",label:"河间市"},{value:"130983",label:"黄骅市"},{value:"130930",label:"孟村回族自治县"},{value:"130927",label:"南皮县"},{value:"130981",label:"泊头市"},{value:"130922",label:"青县"},{value:"130982",label:"任丘市"},{value:"130926",label:"肃宁县"},{value:"130928",label:"吴桥县"},{value:"130929",label:"献县"},{value:"130902",label:"新华区"},{value:"130925",label:"盐山县"},{value:"130903",label:"运河区"}]},{value:"1308",label:"承德市",children:[{value:"130871",label:"承德高新技术产业开发区"},{value:"130821",label:"承德县"},{value:"130826",label:"丰宁满族自治县"},{value:"130827",label:"宽城满族自治县"},{value:"130825",label:"隆化县"},{value:"130824",label:"滦平县"},{value:"130881",label:"平泉市"},{value:"130803",label:"双滦区"},{value:"130802",label:"双桥区"},{value:"130828",label:"围场满族蒙古族自治县"},{value:"130822",label:"兴隆县"},{value:"130804",label:"鹰手营子矿区"}]},{value:"1304",label:"邯郸市",children:[{value:"130424",label:"成安县"},{value:"130427",label:"磁县"},{value:"130403",label:"丛台区"},{value:"130425",label:"大名县"},{value:"130407",label:"肥乡区"},{value:"130406",label:"峰峰矿区"},{value:"130404",label:"复兴区"},{value:"130433",label:"馆陶县"},{value:"130432",label:"广平县"},{value:"130473",label:"邯郸冀南新区"},{value:"130471",label:"邯郸经济技术开发区"},{value:"130402",label:"邯山区"},{value:"130431",label:"鸡泽县"},{value:"130423",label:"临漳县"},{value:"130430",label:"邱县"},{value:"130435",label:"曲周县"},{value:"130426",label:"涉县"},{value:"130434",label:"魏县"},{value:"130481",label:"武安市"},{value:"130408",label:"永年区"}]},{value:"1311",label:"衡水市",children:[{value:"131125",label:"安平县"},{value:"131128",label:"阜城县"},{value:"131126",label:"故城县"},{value:"131171",label:"河北衡水高新技术产业开发区"},{value:"131172",label:"衡水滨湖新区"},{value:"131103",label:"冀州区"},{value:"131127",label:"景县"},{value:"131124",label:"饶阳县"},{value:"131182",label:"深州市"},{value:"131102",label:"桃城区"},{value:"131123",label:"武强县"},{value:"131122",label:"武邑县"},{value:"131121",label:"枣强县"}]},{value:"1310",label:"廊坊市",children:[{value:"131002",label:"安次区"},{value:"131081",label:"霸州市"},{value:"131028",label:"大厂回族自治县"},{value:"131025",label:"大城县"},{value:"131022",label:"固安县"},{value:"131003",label:"广阳区"},{value:"131071",label:"廊坊经济技术开发区"},{value:"131082",label:"三河市"},{value:"131026",label:"文安县"},{value:"131024",label:"香河县"},{value:"131023",label:"永清县"}]},{value:"1303",label:"秦皇岛市",children:[{value:"130304",label:"北戴河区"},{value:"130372",label:"北戴河新区"},{value:"130322",label:"昌黎县"},{value:"130306",label:"抚宁区"},{value:"130302",label:"海港区"},{value:"130324",label:"卢龙县"},{value:"130371",label:"秦皇岛市经济技术开发区"},{value:"130321",label:"青龙满族自治县"},{value:"130303",label:"山海关区"}]},{value:"1301",label:"石家庄市",children:[{value:"130127",label:"高邑县"},{value:"130109",label:"藁城区"},{value:"130183",label:"晋州市"},{value:"130107",label:"井陉矿区"},{value:"130121",label:"井陉县"},{value:"130126",label:"灵寿县"},{value:"130110",label:"鹿泉区"},{value:"130111",label:"栾城区"},{value:"130131",label:"平山县"},{value:"130104",label:"桥西区"},{value:"130128",label:"深泽县"},{value:"130171",label:"石家庄高新技术产业开发区"},{value:"130172",label:"石家庄循环化工园区"},{value:"130130",label:"无极县"},{value:"130181",label:"辛集市"},{value:"130105",label:"新华区"},{value:"130184",label:"新乐市"},{value:"130125",label:"行唐县"},{value:"130108",label:"裕华区"},{value:"130132",label:"元氏县"},{value:"130129",label:"赞皇县"},{value:"130102",label:"长安区"},{value:"130133",label:"赵县"},{value:"130123",label:"正定县"}]},{value:"1302",label:"唐山市",children:[{value:"130209",label:"曹妃甸区"},{value:"130207",label:"丰南区"},{value:"130208",label:"丰润区"},{value:"130204",label:"古冶区"},{value:"130274",label:"河北唐山海港经济开发区"},{value:"130271",label:"河北唐山芦台经济开发区"},{value:"130205",label:"开平区"},{value:"130225",label:"乐亭县"},{value:"130203",label:"路北区"},{value:"130202",label:"路南区"},{value:"130224",label:"滦南县"},{value:"130284",label:"滦州市"},{value:"130283",label:"迁安市"},{value:"130227",label:"迁西县"},{value:"130273",label:"唐山高新技术产业开发区"},{value:"130272",label:"唐山市汉沽管理区"},{value:"130229",label:"玉田县"},{value:"130281",label:"遵化市"}]},{value:"1305",label:"邢台市",children:[{value:"130524",label:"柏乡县"},{value:"130531",label:"广宗县"},{value:"130571",label:"河北邢台经济开发区"},{value:"130529",label:"巨鹿县"},{value:"130522",label:"临城县"},{value:"130535",label:"临西县"},{value:"130525",label:"隆尧县"},{value:"130581",label:"南宫市"},{value:"130506",label:"南和区"},{value:"130523",label:"内丘县"},{value:"130528",label:"宁晋县"},{value:"130532",label:"平乡县"},{value:"130534",label:"清河县"},{value:"130505",label:"任泽区"},{value:"130582",label:"沙河市"},{value:"130533",label:"威县"},{value:"130502",label:"襄都区"},{value:"130530",label:"新河县"},{value:"130503",label:"信都区"}]},{value:"1307",label:"张家口市",children:[{value:"130732",label:"赤城县"},{value:"130709",label:"崇礼区"},{value:"130724",label:"沽源县"},{value:"130728",label:"怀安县"},{value:"130730",label:"怀来县"},{value:"130723",label:"康保县"},{value:"130702",label:"桥东区"},{value:"130703",label:"桥西区"},{value:"130725",label:"尚义县"},{value:"130708",label:"万全区"},{value:"130726",label:"蔚县"},{value:"130706",label:"下花园区"},{value:"130705",label:"宣化区"},{value:"130727",label:"阳原县"},{value:"130722",label:"张北县"},{value:"130771",label:"张家口经济开发区"},{value:"130772",label:"张家口市察北管理区"},{value:"130773",label:"张家口市塞北管理区"},{value:"130731",label:"涿鹿县"}]}]},{value:"41",label:"河南省",children:[{value:"4105",label:"安阳市",children:[{value:"410571",label:"安阳高新技术产业开发区"},{value:"410522",label:"安阳县"},{value:"410503",label:"北关区"},{value:"410526",label:"滑县"},{value:"410581",label:"林州市"},{value:"410506",label:"龙安区"},{value:"410527",label:"内黄县"},{value:"410523",label:"汤阴县"},{value:"410502",label:"文峰区"},{value:"410505",label:"殷都区"}]},{value:"4106",label:"鹤壁市",children:[{value:"410671",label:"鹤壁经济技术开发区"},{value:"410602",label:"鹤山区"},{value:"410621",label:"浚县"},{value:"410611",label:"淇滨区"},{value:"410622",label:"淇县"},{value:"410603",label:"山城区"}]},{value:"4108",label:"焦作市",children:[{value:"410822",label:"博爱县"},{value:"410871",label:"焦作城乡一体化示范区"},{value:"410802",label:"解放区"},{value:"410804",label:"马村区"},{value:"410883",label:"孟州市"},{value:"410882",label:"沁阳市"},{value:"410811",label:"山阳区"},{value:"410825",label:"温县"},{value:"410823",label:"武陟县"},{value:"410821",label:"修武县"},{value:"410803",label:"中站区"}]},{value:"4102",label:"开封市",children:[{value:"410204",label:"鼓楼区"},{value:"410225",label:"兰考县"},{value:"410202",label:"龙亭区"},{value:"410221",label:"杞县"},{value:"410203",label:"顺河回族区"},{value:"410222",label:"通许县"},{value:"410223",label:"尉氏县"},{value:"410212",label:"祥符区"},{value:"410205",label:"禹王台区"}]},{value:"4103",label:"洛阳市",children:[{value:"410304",label:"瀍河回族区"},{value:"410305",label:"涧西区"},{value:"410302",label:"老城区"},{value:"410324",label:"栾川县"},{value:"410311",label:"洛龙区"},{value:"410328",label:"洛宁县"},{value:"410371",label:"洛阳高新技术产业开发区"},{value:"410308",label:"孟津区"},{value:"410326",label:"汝阳县"},{value:"410325",label:"嵩县"},{value:"410303",label:"西工区"},{value:"410323",label:"新安县"},{value:"410307",label:"偃师区"},{value:"410329",label:"伊川县"},{value:"410327",label:"宜阳县"}]},{value:"4111",label:"漯河市",children:[{value:"411122",label:"临颍县"},{value:"411171",label:"漯河经济技术开发区"},{value:"411121",label:"舞阳县"},{value:"411103",label:"郾城区"},{value:"411102",label:"源汇区"},{value:"411104",label:"召陵区"}]},{value:"4113",label:"南阳市",children:[{value:"411381",label:"邓州市"},{value:"411322",label:"方城县"},{value:"411371",label:"南阳高新技术产业开发区"},{value:"411372",label:"南阳市城乡一体化示范区"},{value:"411321",label:"南召县"},{value:"411325",label:"内乡县"},{value:"411327",label:"社旗县"},{value:"411328",label:"唐河县"},{value:"411330",label:"桐柏县"},{value:"411302",label:"宛城区"},{value:"411303",label:"卧龙区"},{value:"411323",label:"西峡县"},{value:"411326",label:"淅川县"},{value:"411329",label:"新野县"},{value:"411324",label:"镇平县"}]},{value:"4104",label:"平顶山市",children:[{value:"410421",label:"宝丰县"},{value:"410425",label:"郏县"},{value:"410423",label:"鲁山县"},{value:"410471",label:"平顶山高新技术产业开发区"},{value:"410472",label:"平顶山市城乡一体化示范区"},{value:"410482",label:"汝州市"},{value:"410404",label:"石龙区"},{value:"410403",label:"卫东区"},{value:"410481",label:"舞钢市"},{value:"410402",label:"新华区"},{value:"410422",label:"叶县"},{value:"410411",label:"湛河区"}]},{value:"4109",label:"濮阳市",children:[{value:"410926",label:"范县"},{value:"410971",label:"河南濮阳工业园区"},{value:"410902",label:"华龙区"},{value:"410923",label:"南乐县"},{value:"410972",label:"濮阳经济技术开发区"},{value:"410928",label:"濮阳县"},{value:"410922",label:"清丰县"},{value:"410927",label:"台前县"}]},{value:"4112",label:"三门峡市",children:[{value:"411271",label:"河南三门峡经济开发区"},{value:"411202",label:"湖滨区"},{value:"411282",label:"灵宝市"},{value:"411224",label:"卢氏县"},{value:"411221",label:"渑池县"},{value:"411203",label:"陕州区"},{value:"411281",label:"义马市"}]},{value:"4114",label:"商丘市",children:[{value:"411472",label:"河南商丘经济开发区"},{value:"411402",label:"梁园区"},{value:"411421",label:"民权县"},{value:"411423",label:"宁陵县"},{value:"411422",label:"睢县"},{value:"411403",label:"睢阳区"},{value:"411426",label:"夏邑县"},{value:"411481",label:"永城市"},{value:"411425",label:"虞城县"},{value:"411471",label:"豫东综合物流产业聚集区"},{value:"411424",label:"柘城县"}]},{value:"4190",label:"省直辖县级行政区划",children:[{value:"419001",label:"济源市"}]},{value:"4107",label:"新乡市",children:[{value:"410727",label:"封丘县"},{value:"410704",label:"凤泉区"},{value:"410702",label:"红旗区"},{value:"410782",label:"辉县市"},{value:"410724",label:"获嘉县"},{value:"410711",label:"牧野区"},{value:"410703",label:"卫滨区"},{value:"410781",label:"卫辉市"},{value:"410771",label:"新乡高新技术产业开发区"},{value:"410772",label:"新乡经济技术开发区"},{value:"410773",label:"新乡市平原城乡一体化示范区"},{value:"410721",label:"新乡县"},{value:"410726",label:"延津县"},{value:"410725",label:"原阳县"},{value:"410783",label:"长垣市"}]},{value:"4115",label:"信阳市",children:[{value:"411525",label:"固始县"},{value:"411522",label:"光山县"},{value:"411527",label:"淮滨县"},{value:"411526",label:"潢川县"},{value:"411521",label:"罗山县"},{value:"411503",label:"平桥区"},{value:"411524",label:"商城县"},{value:"411502",label:"浉河区"},{value:"411528",label:"息县"},{value:"411523",label:"新县"},{value:"411571",label:"信阳高新技术产业开发区"}]},{value:"4110",label:"许昌市",children:[{value:"411003",label:"建安区"},{value:"411002",label:"魏都区"},{value:"411025",label:"襄城县"},{value:"411071",label:"许昌经济技术开发区"},{value:"411024",label:"鄢陵县"},{value:"411081",label:"禹州市"},{value:"411082",label:"长葛市"}]},{value:"4101",label:"郑州市",children:[{value:"410185",label:"登封市"},{value:"410103",label:"二七区"},{value:"410181",label:"巩义市"},{value:"410104",label:"管城回族区"},{value:"410108",label:"惠济区"},{value:"410105",label:"金水区"},{value:"410106",label:"上街区"},{value:"410183",label:"新密市"},{value:"410184",label:"新郑市"},{value:"410182",label:"荥阳市"},{value:"410172",label:"郑州高新技术产业开发区"},{value:"410173",label:"郑州航空港经济综合实验区"},{value:"410171",label:"郑州经济技术开发区"},{value:"410122",label:"中牟县"},{value:"410102",label:"中原区"}]},{value:"4116",label:"周口市",children:[{value:"411602",label:"川汇区"},{value:"411625",label:"郸城县"},{value:"411621",label:"扶沟县"},{value:"411603",label:"淮阳区"},{value:"411628",label:"鹿邑县"},{value:"411623",label:"商水县"},{value:"411624",label:"沈丘县"},{value:"411627",label:"太康县"},{value:"411622",label:"西华县"},{value:"411681",label:"项城市"},{value:"411671",label:"周口临港开发区"}]},{value:"4117",label:"驻马店市",children:[{value:"411771",label:"河南驻马店经济开发区"},{value:"411726",label:"泌阳县"},{value:"411723",label:"平舆县"},{value:"411725",label:"确山县"},{value:"411727",label:"汝南县"},{value:"411722",label:"上蔡县"},{value:"411728",label:"遂平县"},{value:"411721",label:"西平县"},{value:"411729",label:"新蔡县"},{value:"411702",label:"驿城区"},{value:"411724",label:"正阳县"}]}]},{value:"23",label:"黑龙江省",children:[{value:"2306",label:"大庆市",children:[{value:"230671",label:"大庆高新技术产业开发区"},{value:"230606",label:"大同区"},{value:"230624",label:"杜尔伯特蒙古族自治县"},{value:"230605",label:"红岗区"},{value:"230623",label:"林甸县"},{value:"230603",label:"龙凤区"},{value:"230604",label:"让胡路区"},{value:"230602",label:"萨尔图区"},{value:"230622",label:"肇源县"},{value:"230621",label:"肇州县"}]},{value:"2327",label:"大兴安岭地区",children:[{value:"232721",label:"呼玛县"},{value:"232764",label:"呼中区"},{value:"232761",label:"加格达奇区"},{value:"232701",label:"漠河市"},{value:"232762",label:"松岭区"},{value:"232722",label:"塔河县"},{value:"232763",label:"新林区"}]},{value:"2301",label:"哈尔滨市",children:[{value:"230112",label:"阿城区"},{value:"230126",label:"巴彦县"},{value:"230125",label:"宾县"},{value:"230102",label:"道里区"},{value:"230104",label:"道外区"},{value:"230124",label:"方正县"},{value:"230111",label:"呼兰区"},{value:"230127",label:"木兰县"},{value:"230103",label:"南岗区"},{value:"230108",label:"平房区"},{value:"230183",label:"尚志市"},{value:"230113",label:"双城区"},{value:"230109",label:"松北区"},{value:"230128",label:"通河县"},{value:"230184",label:"五常市"},{value:"230110",label:"香坊区"},{value:"230129",label:"延寿县"},{value:"230123",label:"依兰县"}]},{value:"2304",label:"鹤岗市",children:[{value:"230406",label:"东山区"},{value:"230403",label:"工农区"},{value:"230421",label:"萝北县"},{value:"230404",label:"南山区"},{value:"230422",label:"绥滨县"},{value:"230402",label:"向阳区"},{value:"230405",label:"兴安区"},{value:"230407",label:"兴山区"}]},{value:"2311",label:"黑河市",children:[{value:"231102",label:"爱辉区"},{value:"231181",label:"北安市"},{value:"231183",label:"嫩江市"},{value:"231124",label:"孙吴县"},{value:"231182",label:"五大连池市"},{value:"231123",label:"逊克县"}]},{value:"2303",label:"鸡西市",children:[{value:"230306",label:"城子河区"},{value:"230304",label:"滴道区"},{value:"230303",label:"恒山区"},{value:"230381",label:"虎林市"},{value:"230321",label:"鸡东县"},{value:"230302",label:"鸡冠区"},{value:"230305",label:"梨树区"},{value:"230307",label:"麻山区"},{value:"230382",label:"密山市"}]},{value:"2308",label:"佳木斯市",children:[{value:"230805",label:"东风区"},{value:"230883",label:"抚远市"},{value:"230882",label:"富锦市"},{value:"230826",label:"桦川县"},{value:"230822",label:"桦南县"},{value:"230811",label:"郊区"},{value:"230804",label:"前进区"},{value:"230828",label:"汤原县"},{value:"230881",label:"同江市"},{value:"230803",label:"向阳区"}]},{value:"2310",label:"牡丹江市",children:[{value:"231004",label:"爱民区"},{value:"231002",label:"东安区"},{value:"231086",label:"东宁市"},{value:"231083",label:"海林市"},{value:"231025",label:"林口县"},{value:"231085",label:"穆棱市"},{value:"231084",label:"宁安市"},{value:"231081",label:"绥芬河市"},{value:"231005",label:"西安区"},{value:"231003",label:"阳明区"}]},{value:"2309",label:"七台河市",children:[{value:"230921",label:"勃利县"},{value:"230904",label:"茄子河区"},{value:"230903",label:"桃山区"},{value:"230902",label:"新兴区"}]},{value:"2302",label:"齐齐哈尔市",children:[{value:"230205",label:"昂昂溪区"},{value:"230231",label:"拜泉县"},{value:"230206",label:"富拉尔基区"},{value:"230227",label:"富裕县"},{value:"230225",label:"甘南县"},{value:"230203",label:"建华区"},{value:"230230",label:"克东县"},{value:"230229",label:"克山县"},{value:"230221",label:"龙江县"},{value:"230202",label:"龙沙区"},{value:"230208",label:"梅里斯达斡尔族区"},{value:"230281",label:"讷河市"},{value:"230207",label:"碾子山区"},{value:"230224",label:"泰来县"},{value:"230204",label:"铁锋区"},{value:"230223",label:"依安县"}]},{value:"2305",label:"双鸭山市",children:[{value:"230523",label:"宝清县"},{value:"230506",label:"宝山区"},{value:"230521",label:"集贤县"},{value:"230502",label:"尖山区"},{value:"230503",label:"岭东区"},{value:"230524",label:"饶河县"},{value:"230505",label:"四方台区"},{value:"230522",label:"友谊县"}]},{value:"2312",label:"绥化市",children:[{value:"231281",label:"安达市"},{value:"231202",label:"北林区"},{value:"231283",label:"海伦市"},{value:"231222",label:"兰西县"},{value:"231225",label:"明水县"},{value:"231223",label:"青冈县"},{value:"231224",label:"庆安县"},{value:"231226",label:"绥棱县"},{value:"231221",label:"望奎县"},{value:"231282",label:"肇东市"}]},{value:"2307",label:"伊春市",children:[{value:"230725",label:"大箐山县"},{value:"230724",label:"丰林县"},{value:"230722",label:"嘉荫县"},{value:"230751",label:"金林区"},{value:"230726",label:"南岔县"},{value:"230723",label:"汤旺县"},{value:"230781",label:"铁力市"},{value:"230718",label:"乌翠区"},{value:"230717",label:"伊美区"},{value:"230719",label:"友好区"}]}]},{value:"42",label:"湖北省",children:[{value:"4207",label:"鄂州市",children:[{value:"420704",label:"鄂城区"},{value:"420703",label:"华容区"},{value:"420702",label:"梁子湖区"}]},{value:"4228",label:"恩施土家族苗族自治州",children:[{value:"422823",label:"巴东县"},{value:"422801",label:"恩施市"},{value:"422828",label:"鹤峰县"},{value:"422822",label:"建始县"},{value:"422827",label:"来凤县"},{value:"422802",label:"利川市"},{value:"422826",label:"咸丰县"},{value:"422825",label:"宣恩县"}]},{value:"4211",label:"黄冈市",children:[{value:"421122",label:"红安县"},{value:"421127",label:"黄梅县"},{value:"421102",label:"黄州区"},{value:"421171",label:"龙感湖管理区"},{value:"421123",label:"罗田县"},{value:"421181",label:"麻城市"},{value:"421126",label:"蕲春县"},{value:"421121",label:"团风县"},{value:"421182",label:"武穴市"},{value:"421125",label:"浠水县"},{value:"421124",label:"英山县"}]},{value:"4202",label:"黄石市",children:[{value:"420281",label:"大冶市"},{value:"420202",label:"黄石港区"},{value:"420205",label:"铁山区"},{value:"420203",label:"西塞山区"},{value:"420204",label:"下陆区"},{value:"420222",label:"阳新县"}]},{value:"4208",label:"荆门市",children:[{value:"420802",label:"东宝区"},{value:"420804",label:"掇刀区"},{value:"420882",label:"京山市"},{value:"420822",label:"沙洋县"},{value:"420881",label:"钟祥市"}]},{value:"4210",label:"荆州市",children:[{value:"421022",label:"公安县"},{value:"421083",label:"洪湖市"},{value:"421088",label:"监利市"},{value:"421024",label:"江陵县"},{value:"421071",label:"荆州经济技术开发区"},{value:"421003",label:"荆州区"},{value:"421002",label:"沙市区"},{value:"421081",label:"石首市"},{value:"421087",label:"松滋市"}]},{value:"4290",label:"省直辖县级行政区划",children:[{value:"429005",label:"潜江市"},{value:"429021",label:"神农架林区"},{value:"429006",label:"天门市"},{value:"429004",label:"仙桃市"}]},{value:"4203",label:"十堰市",children:[{value:"420381",label:"丹江口市"},{value:"420325",label:"房县"},{value:"420302",label:"茅箭区"},{value:"420322",label:"郧西县"},{value:"420304",label:"郧阳区"},{value:"420303",label:"张湾区"},{value:"420323",label:"竹山县"},{value:"420324",label:"竹溪县"}]},{value:"4213",label:"随州市",children:[{value:"421303",label:"曾都区"},{value:"421381",label:"广水市"},{value:"421321",label:"随县"}]},{value:"4201",label:"武汉市",children:[{value:"420114",label:"蔡甸区"},{value:"420112",label:"东西湖区"},{value:"420113",label:"汉南区"},{value:"420105",label:"汉阳区"},{value:"420111",label:"洪山区"},{value:"420116",label:"黄陂区"},{value:"420102",label:"江岸区"},{value:"420103",label:"江汉区"},{value:"420115",label:"江夏区"},{value:"420104",label:"硚口区"},{value:"420107",label:"青山区"},{value:"420106",label:"武昌区"},{value:"420117",label:"新洲区"}]},{value:"4212",label:"咸宁市",children:[{value:"421281",label:"赤壁市"},{value:"421223",label:"崇阳县"},{value:"421221",label:"嘉鱼县"},{value:"421222",label:"通城县"},{value:"421224",label:"通山县"},{value:"421202",label:"咸安区"}]},{value:"4206",label:"襄阳市",children:[{value:"420626",label:"保康县"},{value:"420606",label:"樊城区"},{value:"420625",label:"谷城县"},{value:"420682",label:"老河口市"},{value:"420624",label:"南漳县"},{value:"420602",label:"襄城区"},{value:"420607",label:"襄州区"},{value:"420684",label:"宜城市"},{value:"420683",label:"枣阳市"}]},{value:"4209",label:"孝感市",children:[{value:"420982",label:"安陆市"},{value:"420922",label:"大悟县"},{value:"420984",label:"汉川市"},{value:"420921",label:"孝昌县"},{value:"420902",label:"孝南区"},{value:"420981",label:"应城市"},{value:"420923",label:"云梦县"}]},{value:"4205",label:"宜昌市",children:[{value:"420582",label:"当阳市"},{value:"420504",label:"点军区"},{value:"420529",label:"五峰土家族自治县"},{value:"420503",label:"伍家岗区"},{value:"420502",label:"西陵区"},{value:"420505",label:"猇亭区"},{value:"420526",label:"兴山县"},{value:"420506",label:"夷陵区"},{value:"420581",label:"宜都市"},{value:"420525",label:"远安县"},{value:"420528",label:"长阳土家族自治县"},{value:"420583",label:"枝江市"},{value:"420527",label:"秭归县"}]}]},{value:"43",label:"湖南省",children:[{value:"4307",label:"常德市",children:[{value:"430721",label:"安乡县"},{value:"430771",label:"常德市西洞庭管理区"},{value:"430703",label:"鼎城区"},{value:"430722",label:"汉寿县"},{value:"430781",label:"津市市"},{value:"430723",label:"澧县"},{value:"430724",label:"临澧县"},{value:"430726",label:"石门县"},{value:"430725",label:"桃源县"},{value:"430702",label:"武陵区"}]},{value:"4310",label:"郴州市",children:[{value:"431028",label:"安仁县"},{value:"431002",label:"北湖区"},{value:"431027",label:"桂东县"},{value:"431021",label:"桂阳县"},{value:"431024",label:"嘉禾县"},{value:"431025",label:"临武县"},{value:"431026",label:"汝城县"},{value:"431003",label:"苏仙区"},{value:"431022",label:"宜章县"},{value:"431023",label:"永兴县"},{value:"431081",label:"资兴市"}]},{value:"4304",label:"衡阳市",children:[{value:"430482",label:"常宁市"},{value:"430424",label:"衡东县"},{value:"430422",label:"衡南县"},{value:"430423",label:"衡山县"},{value:"430421",label:"衡阳县"},{value:"430476",label:"湖南衡阳高新技术产业园区"},{value:"430473",label:"湖南衡阳松木经济开发区"},{value:"430481",label:"耒阳市"},{value:"430412",label:"南岳区"},{value:"430426",label:"祁东县"},{value:"430407",label:"石鼓区"},{value:"430406",label:"雁峰区"},{value:"430408",label:"蒸湘区"},{value:"430405",label:"珠晖区"}]},{value:"4312",label:"怀化市",children:[{value:"431223",label:"辰溪县"},{value:"431202",label:"鹤城区"},{value:"431281",label:"洪江市"},{value:"431271",label:"怀化市洪江管理区"},{value:"431225",label:"会同县"},{value:"431229",label:"靖州苗族侗族自治县"},{value:"431226",label:"麻阳苗族自治县"},{value:"431230",label:"通道侗族自治县"},{value:"431227",label:"新晃侗族自治县"},{value:"431224",label:"溆浦县"},{value:"431222",label:"沅陵县"},{value:"431228",label:"芷江侗族自治县"},{value:"431221",label:"中方县"}]},{value:"4313",label:"娄底市",children:[{value:"431381",label:"冷水江市"},{value:"431382",label:"涟源市"},{value:"431302",label:"娄星区"},{value:"431321",label:"双峰县"},{value:"431322",label:"新化县"}]},{value:"4305",label:"邵阳市",children:[{value:"430511",label:"北塔区"},{value:"430529",label:"城步苗族自治县"},{value:"430503",label:"大祥区"},{value:"430525",label:"洞口县"},{value:"430524",label:"隆回县"},{value:"430582",label:"邵东市"},{value:"430523",label:"邵阳县"},{value:"430502",label:"双清区"},{value:"430527",label:"绥宁县"},{value:"430581",label:"武冈市"},{value:"430528",label:"新宁县"},{value:"430522",label:"新邵县"}]},{value:"4303",label:"湘潭市",children:[{value:"430371",label:"湖南湘潭高新技术产业园区"},{value:"430382",label:"韶山市"},{value:"430373",label:"湘潭九华示范区"},{value:"430321",label:"湘潭县"},{value:"430372",label:"湘潭昭山示范区"},{value:"430381",label:"湘乡市"},{value:"430302",label:"雨湖区"},{value:"430304",label:"岳塘区"}]},{value:"4331",label:"湘西土家族苗族自治州",children:[{value:"433125",label:"保靖县"},{value:"433123",label:"凤凰县"},{value:"433126",label:"古丈县"},{value:"433124",label:"花垣县"},{value:"433101",label:"吉首市"},{value:"433130",label:"龙山县"},{value:"433122",label:"泸溪县"},{value:"433127",label:"永顺县"}]},{value:"4309",label:"益阳市",children:[{value:"430923",label:"安化县"},{value:"430903",label:"赫山区"},{value:"430972",label:"湖南益阳高新技术产业园区"},{value:"430921",label:"南县"},{value:"430922",label:"桃江县"},{value:"430971",label:"益阳市大通湖管理区"},{value:"430981",label:"沅江市"},{value:"430902",label:"资阳区"}]},{value:"4311",label:"永州市",children:[{value:"431124",label:"道县"},{value:"431122",label:"东安县"},{value:"431129",label:"江华瑶族自治县"},{value:"431125",label:"江永县"},{value:"431127",label:"蓝山县"},{value:"431103",label:"冷水滩区"},{value:"431102",label:"零陵区"},{value:"431126",label:"宁远县"},{value:"431181",label:"祁阳市"},{value:"431123",label:"双牌县"},{value:"431128",label:"新田县"},{value:"431171",label:"永州经济技术开发区"},{value:"431173",label:"永州市回龙圩管理区"}]},{value:"4306",label:"岳阳市",children:[{value:"430623",label:"华容县"},{value:"430611",label:"君山区"},{value:"430682",label:"临湘市"},{value:"430681",label:"汨罗市"},{value:"430626",label:"平江县"},{value:"430624",label:"湘阴县"},{value:"430602",label:"岳阳楼区"},{value:"430671",label:"岳阳市屈原管理区"},{value:"430621",label:"岳阳县"},{value:"430603",label:"云溪区"}]},{value:"4308",label:"张家界市",children:[{value:"430821",label:"慈利县"},{value:"430822",label:"桑植县"},{value:"430811",label:"武陵源区"},{value:"430802",label:"永定区"}]},{value:"4301",label:"长沙市",children:[{value:"430102",label:"芙蓉区"},{value:"430105",label:"开福区"},{value:"430181",label:"浏阳市"},{value:"430182",label:"宁乡市"},{value:"430103",label:"天心区"},{value:"430112",label:"望城区"},{value:"430111",label:"雨花区"},{value:"430104",label:"岳麓区"},{value:"430121",label:"长沙县"}]},{value:"4302",label:"株洲市",children:[{value:"430224",label:"茶陵县"},{value:"430202",label:"荷塘区"},{value:"430281",label:"醴陵市"},{value:"430203",label:"芦淞区"},{value:"430212",label:"渌口区"},{value:"430204",label:"石峰区"},{value:"430211",label:"天元区"},{value:"430225",label:"炎陵县"},{value:"430223",label:"攸县"}]}]},{value:"22",label:"吉林省",children:[{value:"2208",label:"白城市",children:[{value:"220882",label:"大安市"},{value:"220871",label:"吉林白城经济开发区"},{value:"220802",label:"洮北区"},{value:"220881",label:"洮南市"},{value:"220822",label:"通榆县"},{value:"220821",label:"镇赉县"}]},{value:"2206",label:"白山市",children:[{value:"220621",label:"抚松县"},{value:"220602",label:"浑江区"},{value:"220605",label:"江源区"},{value:"220622",label:"靖宇县"},{value:"220681",label:"临江市"},{value:"220623",label:"长白朝鲜族自治县"}]},{value:"2202",label:"吉林市",children:[{value:"220202",label:"昌邑区"},{value:"220204",label:"船营区"},{value:"220211",label:"丰满区"},{value:"220282",label:"桦甸市"},{value:"220272",label:"吉林高新技术产业开发区"},{value:"220271",label:"吉林经济开发区"},{value:"220273",label:"吉林中国新加坡食品区"},{value:"220281",label:"蛟河市"},{value:"220203",label:"龙潭区"},{value:"220284",label:"磐石市"},{value:"220283",label:"舒兰市"},{value:"220221",label:"永吉县"}]},{value:"2204",label:"辽源市",children:[{value:"220421",label:"东丰县"},{value:"220422",label:"东辽县"},{value:"220402",label:"龙山区"},{value:"220403",label:"西安区"}]},{value:"2203",label:"四平市",children:[{value:"220322",label:"梨树县"},{value:"220382",label:"双辽市"},{value:"220303",label:"铁东区"},{value:"220302",label:"铁西区"},{value:"220323",label:"伊通满族自治县"}]},{value:"2207",label:"松原市",children:[{value:"220781",label:"扶余市"},{value:"220771",label:"吉林松原经济开发区"},{value:"220702",label:"宁江区"},{value:"220721",label:"前郭尔罗斯蒙古族自治县"},{value:"220723",label:"乾安县"},{value:"220722",label:"长岭县"}]},{value:"2205",label:"通化市",children:[{value:"220502",label:"东昌区"},{value:"220503",label:"二道江区"},{value:"220523",label:"辉南县"},{value:"220582",label:"集安市"},{value:"220524",label:"柳河县"},{value:"220581",label:"梅河口市"},{value:"220521",label:"通化县"}]},{value:"2224",label:"延边朝鲜族自治州",children:[{value:"222426",label:"安图县"},{value:"222403",label:"敦化市"},{value:"222406",label:"和龙市"},{value:"222404",label:"珲春市"},{value:"222405",label:"龙井市"},{value:"222402",label:"图们市"},{value:"222424",label:"汪清县"},{value:"222401",label:"延吉市"}]},{value:"2201",label:"长春市",children:[{value:"220104",label:"朝阳区"},{value:"220183",label:"德惠市"},{value:"220105",label:"二道区"},{value:"220184",label:"公主岭市"},{value:"220113",label:"九台区"},{value:"220103",label:"宽城区"},{value:"220106",label:"绿园区"},{value:"220102",label:"南关区"},{value:"220122",label:"农安县"},{value:"220112",label:"双阳区"},{value:"220182",label:"榆树市"},{value:"220173",label:"长春高新技术产业开发区"},{value:"220171",label:"长春经济技术开发区"},{value:"220172",label:"长春净月高新技术产业开发区"},{value:"220174",label:"长春汽车经济技术开发区"}]}]},{value:"32",label:"江苏省",children:[{value:"3204",label:"常州市",children:[{value:"320413",label:"金坛区"},{value:"320481",label:"溧阳市"},{value:"320402",label:"天宁区"},{value:"320412",label:"武进区"},{value:"320411",label:"新北区"},{value:"320404",label:"钟楼区"}]},{value:"3208",label:"淮安市",children:[{value:"320813",label:"洪泽区"},{value:"320871",label:"淮安经济技术开发区"},{value:"320803",label:"淮安区"},{value:"320804",label:"淮阴区"},{value:"320831",label:"金湖县"},{value:"320826",label:"涟水县"},{value:"320812",label:"清江浦区"},{value:"320830",label:"盱眙县"}]},{value:"3207",label:"连云港市",children:[{value:"320722",label:"东海县"},{value:"320707",label:"赣榆区"},{value:"320724",label:"灌南县"},{value:"320723",label:"灌云县"},{value:"320706",label:"海州区"},{value:"320771",label:"连云港经济技术开发区"},{value:"320703",label:"连云区"}]},{value:"3201",label:"南京市",children:[{value:"320118",label:"高淳区"},{value:"320106",label:"鼓楼区"},{value:"320105",label:"建邺区"},{value:"320115",label:"江宁区"},{value:"320117",label:"溧水区"},{value:"320116",label:"六合区"},{value:"320111",label:"浦口区"},{value:"320113",label:"栖霞区"},{value:"320104",label:"秦淮区"},{value:"320102",label:"玄武区"},{value:"320114",label:"雨花台区"}]},{value:"3206",label:"南通市",children:[{value:"320613",label:"崇川区"},{value:"320685",label:"海安市"},{value:"320614",label:"海门区"},{value:"320671",label:"南通经济技术开发区"},{value:"320681",label:"启东市"},{value:"320623",label:"如东县"},{value:"320682",label:"如皋市"},{value:"320612",label:"通州区"}]},{value:"3205",label:"苏州市",children:[{value:"320581",label:"常熟市"},{value:"320508",label:"姑苏区"},{value:"320505",label:"虎丘区"},{value:"320583",label:"昆山市"},{value:"320576",label:"苏州工业园区"},{value:"320585",label:"太仓市"},{value:"320509",label:"吴江区"},{value:"320506",label:"吴中区"},{value:"320507",label:"相城区"},{value:"320582",label:"张家港市"}]},{value:"3213",label:"宿迁市",children:[{value:"321322",label:"沭阳县"},{value:"321324",label:"泗洪县"},{value:"321323",label:"泗阳县"},{value:"321302",label:"宿城区"},{value:"321371",label:"宿迁经济技术开发区"},{value:"321311",label:"宿豫区"}]},{value:"3212",label:"泰州市",children:[{value:"321203",label:"高港区"},{value:"321202",label:"海陵区"},{value:"321204",label:"姜堰区"},{value:"321282",label:"靖江市"},{value:"321283",label:"泰兴市"},{value:"321281",label:"兴化市"}]},{value:"3202",label:"无锡市",children:[{value:"320211",label:"滨湖区"},{value:"320206",label:"惠山区"},{value:"320281",label:"江阴市"},{value:"320213",label:"梁溪区"},{value:"320205",label:"锡山区"},{value:"320214",label:"新吴区"},{value:"320282",label:"宜兴市"}]},{value:"3203",label:"徐州市",children:[{value:"320321",label:"丰县"},{value:"320302",label:"鼓楼区"},{value:"320305",label:"贾汪区"},{value:"320322",label:"沛县"},{value:"320382",label:"邳州市"},{value:"320311",label:"泉山区"},{value:"320324",label:"睢宁县"},{value:"320312",label:"铜山区"},{value:"320381",label:"新沂市"},{value:"320371",label:"徐州经济技术开发区"},{value:"320303",label:"云龙区"}]},{value:"3209",label:"盐城市",children:[{value:"320922",label:"滨海县"},{value:"320904",label:"大丰区"},{value:"320981",label:"东台市"},{value:"320923",label:"阜宁县"},{value:"320925",label:"建湖县"},{value:"320924",label:"射阳县"},{value:"320902",label:"亭湖区"},{value:"320921",label:"响水县"},{value:"320971",label:"盐城经济技术开发区"},{value:"320903",label:"盐都区"}]},{value:"3210",label:"扬州市",children:[{value:"321023",label:"宝应县"},{value:"321084",label:"高邮市"},{value:"321002",label:"广陵区"},{value:"321003",label:"邗江区"},{value:"321012",label:"江都区"},{value:"321071",label:"扬州经济技术开发区"},{value:"321081",label:"仪征市"}]},{value:"3211",label:"镇江市",children:[{value:"321112",label:"丹徒区"},{value:"321181",label:"丹阳市"},{value:"321102",label:"京口区"},{value:"321183",label:"句容市"},{value:"321111",label:"润州区"},{value:"321182",label:"扬中市"},{value:"321171",label:"镇江新区"}]}]},{value:"36",label:"江西省",children:[{value:"3610",label:"抚州市",children:[{value:"361024",label:"崇仁县"},{value:"361003",label:"东乡区"},{value:"361030",label:"广昌县"},{value:"361027",label:"金溪县"},{value:"361025",label:"乐安县"},{value:"361022",label:"黎川县"},{value:"361002",label:"临川区"},{value:"361021",label:"南城县"},{value:"361023",label:"南丰县"},{value:"361026",label:"宜黄县"},{value:"361028",label:"资溪县"}]},{value:"3607",label:"赣州市",children:[{value:"360726",label:"安远县"},{value:"360725",label:"崇义县"},{value:"360723",label:"大余县"},{value:"360728",label:"定南县"},{value:"360704",label:"赣县区"},{value:"360733",label:"会昌县"},{value:"360783",label:"龙南市"},{value:"360703",label:"南康区"},{value:"360730",label:"宁都县"},{value:"360729",label:"全南县"},{value:"360781",label:"瑞金市"},{value:"360724",label:"上犹县"},{value:"360735",label:"石城县"},{value:"360722",label:"信丰县"},{value:"360732",label:"兴国县"},{value:"360734",label:"寻乌县"},{value:"360731",label:"于都县"},{value:"360702",label:"章贡区"}]},{value:"3608",label:"吉安市",children:[{value:"360829",label:"安福县"},{value:"360821",label:"吉安县"},{value:"360822",label:"吉水县"},{value:"360802",label:"吉州区"},{value:"360881",label:"井冈山市"},{value:"360803",label:"青原区"},{value:"360827",label:"遂川县"},{value:"360826",label:"泰和县"},{value:"360828",label:"万安县"},{value:"360823",label:"峡江县"},{value:"360824",label:"新干县"},{value:"360825",label:"永丰县"},{value:"360830",label:"永新县"}]},{value:"3602",label:"景德镇市",children:[{value:"360202",label:"昌江区"},{value:"360222",label:"浮梁县"},{value:"360281",label:"乐平市"},{value:"360203",label:"珠山区"}]},{value:"3604",label:"九江市",children:[{value:"360404",label:"柴桑区"},{value:"360426",label:"德安县"},{value:"360428",label:"都昌县"},{value:"360482",label:"共青城市"},{value:"360429",label:"湖口县"},{value:"360402",label:"濂溪区"},{value:"360483",label:"庐山市"},{value:"360430",label:"彭泽县"},{value:"360481",label:"瑞昌市"},{value:"360423",label:"武宁县"},{value:"360424",label:"修水县"},{value:"360403",label:"浔阳区"},{value:"360425",label:"永修县"}]},{value:"3601",label:"南昌市",children:[{value:"360123",label:"安义县"},{value:"360102",label:"东湖区"},{value:"360113",label:"红谷滩区"},{value:"360124",label:"进贤县"},{value:"360121",label:"南昌县"},{value:"360111",label:"青山湖区"},{value:"360104",label:"青云谱区"},{value:"360103",label:"西湖区"},{value:"360112",label:"新建区"}]},{value:"3603",label:"萍乡市",children:[{value:"360302",label:"安源区"},{value:"360321",label:"莲花县"},{value:"360323",label:"芦溪县"},{value:"360322",label:"上栗县"},{value:"360313",label:"湘东区"}]},{value:"3611",label:"上饶市",children:[{value:"361181",label:"德兴市"},{value:"361103",label:"广丰区"},{value:"361104",label:"广信区"},{value:"361125",label:"横峰县"},{value:"361128",label:"鄱阳县"},{value:"361124",label:"铅山县"},{value:"361129",label:"万年县"},{value:"361130",label:"婺源县"},{value:"361102",label:"信州区"},{value:"361126",label:"弋阳县"},{value:"361127",label:"余干县"},{value:"361123",label:"玉山县"}]},{value:"3605",label:"新余市",children:[{value:"360521",label:"分宜县"},{value:"360502",label:"渝水区"}]},{value:"3609",label:"宜春市",children:[{value:"360981",label:"丰城市"},{value:"360921",label:"奉新县"},{value:"360983",label:"高安市"},{value:"360925",label:"靖安县"},{value:"360923",label:"上高县"},{value:"360926",label:"铜鼓县"},{value:"360922",label:"万载县"},{value:"360924",label:"宜丰县"},{value:"360902",label:"袁州区"},{value:"360982",label:"樟树市"}]},{value:"3606",label:"鹰潭市",children:[{value:"360681",label:"贵溪市"},{value:"360603",label:"余江区"},{value:"360602",label:"月湖区"}]}]},{value:"21",label:"辽宁省",children:[{value:"2103",label:"鞍山市",children:[{value:"210381",label:"海城市"},{value:"210304",label:"立山区"},{value:"210311",label:"千山区"},{value:"210321",label:"台安县"},{value:"210302",label:"铁东区"},{value:"210303",label:"铁西区"},{value:"210323",label:"岫岩满族自治县"}]},{value:"2105",label:"本溪市",children:[{value:"210521",label:"本溪满族自治县"},{value:"210522",label:"桓仁满族自治县"},{value:"210504",label:"明山区"},{value:"210505",label:"南芬区"},{value:"210502",label:"平山区"},{value:"210503",label:"溪湖区"}]},{value:"2113",label:"朝阳市",children:[{value:"211381",label:"北票市"},{value:"211321",label:"朝阳县"},{value:"211322",label:"建平县"},{value:"211324",label:"喀喇沁左翼蒙古族自治县"},{value:"211382",label:"凌源市"},{value:"211303",label:"龙城区"},{value:"211302",label:"双塔区"}]},{value:"2102",label:"大连市",children:[{value:"210211",label:"甘井子区"},{value:"210213",label:"金州区"},{value:"210212",label:"旅顺口区"},{value:"210214",label:"普兰店区"},{value:"210204",label:"沙河口区"},{value:"210281",label:"瓦房店市"},{value:"210203",label:"西岗区"},{value:"210224",label:"长海县"},{value:"210202",label:"中山区"},{value:"210283",label:"庄河市"}]},{value:"2106",label:"丹东市",children:[{value:"210681",label:"东港市"},{value:"210682",label:"凤城市"},{value:"210624",label:"宽甸满族自治县"},{value:"210602",label:"元宝区"},{value:"210604",label:"振安区"},{value:"210603",label:"振兴区"}]},{value:"2104",label:"抚顺市",children:[{value:"210403",label:"东洲区"},{value:"210421",label:"抚顺县"},{value:"210423",label:"清原满族自治县"},{value:"210411",label:"顺城区"},{value:"210404",label:"望花区"},{value:"210422",label:"新宾满族自治县"},{value:"210402",label:"新抚区"}]},{value:"2109",label:"阜新市",children:[{value:"210921",label:"阜新蒙古族自治县"},{value:"210902",label:"海州区"},{value:"210905",label:"清河门区"},{value:"210904",label:"太平区"},{value:"210911",label:"细河区"},{value:"210903",label:"新邱区"},{value:"210922",label:"彰武县"}]},{value:"2114",label:"葫芦岛市",children:[{value:"211422",label:"建昌县"},{value:"211402",label:"连山区"},{value:"211403",label:"龙港区"},{value:"211404",label:"南票区"},{value:"211421",label:"绥中县"},{value:"211481",label:"兴城市"}]},{value:"2107",label:"锦州市",children:[{value:"210782",label:"北镇市"},{value:"210702",label:"古塔区"},{value:"210726",label:"黑山县"},{value:"210781",label:"凌海市"},{value:"210703",label:"凌河区"},{value:"210711",label:"太和区"},{value:"210727",label:"义县"}]},{value:"2110",label:"辽阳市",children:[{value:"211002",label:"白塔区"},{value:"211081",label:"灯塔市"},{value:"211005",label:"弓长岭区"},{value:"211004",label:"宏伟区"},{value:"211021",label:"辽阳县"},{value:"211011",label:"太子河区"},{value:"211003",label:"文圣区"}]},{value:"2111",label:"盘锦市",children:[{value:"211104",label:"大洼区"},{value:"211122",label:"盘山县"},{value:"211102",label:"双台子区"},{value:"211103",label:"兴隆台区"}]},{value:"2101",label:"沈阳市",children:[{value:"210104",label:"大东区"},{value:"210124",label:"法库县"},{value:"210102",label:"和平区"},{value:"210105",label:"皇姑区"},{value:"210112",label:"浑南区"},{value:"210123",label:"康平县"},{value:"210115",label:"辽中区"},{value:"210113",label:"沈北新区"},{value:"210103",label:"沈河区"},{value:"210111",label:"苏家屯区"},{value:"210106",label:"铁西区"},{value:"210181",label:"新民市"},{value:"210114",label:"于洪区"}]},{value:"2112",label:"铁岭市",children:[{value:"211224",label:"昌图县"},{value:"211281",label:"调兵山市"},{value:"211282",label:"开原市"},{value:"211204",label:"清河区"},{value:"211221",label:"铁岭县"},{value:"211223",label:"西丰县"},{value:"211202",label:"银州区"}]},{value:"2108",label:"营口市",children:[{value:"210804",label:"鲅鱼圈区"},{value:"210882",label:"大石桥市"},{value:"210881",label:"盖州市"},{value:"210811",label:"老边区"},{value:"210803",label:"西市区"},{value:"210802",label:"站前区"}]}]},{value:"15",label:"内蒙古自治区",children:[{value:"1529",label:"阿拉善盟",children:[{value:"152922",label:"阿拉善右旗"},{value:"152921",label:"阿拉善左旗"},{value:"152923",label:"额济纳旗"},{value:"152971",label:"内蒙古阿拉善高新技术产业开发区"}]},{value:"1508",label:"巴彦淖尔市",children:[{value:"150822",label:"磴口县"},{value:"150826",label:"杭锦后旗"},{value:"150802",label:"临河区"},{value:"150825",label:"乌拉特后旗"},{value:"150823",label:"乌拉特前旗"},{value:"150824",label:"乌拉特中旗"},{value:"150821",label:"五原县"}]},{value:"1502",label:"包头市",children:[{value:"150206",label:"白云鄂博矿区"},{value:"150271",label:"包头稀土高新技术产业开发区"},{value:"150223",label:"达尔罕茂明安联合旗"},{value:"150202",label:"东河区"},{value:"150222",label:"固阳县"},{value:"150207",label:"九原区"},{value:"150203",label:"昆都仑区"},{value:"150204",label:"青山区"},{value:"150205",label:"石拐区"},{value:"150221",label:"土默特右旗"}]},{value:"1504",label:"赤峰市",children:[{value:"150421",label:"阿鲁科尔沁旗"},{value:"150430",label:"敖汉旗"},{value:"150423",label:"巴林右旗"},{value:"150422",label:"巴林左旗"},{value:"150402",label:"红山区"},{value:"150428",label:"喀喇沁旗"},{value:"150425",label:"克什克腾旗"},{value:"150424",label:"林西县"},{value:"150429",label:"宁城县"},{value:"150404",label:"松山区"},{value:"150426",label:"翁牛特旗"},{value:"150403",label:"元宝山区"}]},{value:"1506",label:"鄂尔多斯市",children:[{value:"150621",label:"达拉特旗"},{value:"150602",label:"东胜区"},{value:"150624",label:"鄂托克旗"},{value:"150623",label:"鄂托克前旗"},{value:"150625",label:"杭锦旗"},{value:"150603",label:"康巴什区"},{value:"150626",label:"乌审旗"},{value:"150627",label:"伊金霍洛旗"},{value:"150622",label:"准格尔旗"}]},{value:"1501",label:"呼和浩特市",children:[{value:"150123",label:"和林格尔县"},{value:"150172",label:"呼和浩特经济技术开发区"},{value:"150103",label:"回民区"},{value:"150124",label:"清水河县"},{value:"150105",label:"赛罕区"},{value:"150121",label:"土默特左旗"},{value:"150122",label:"托克托县"},{value:"150125",label:"武川县"},{value:"150102",label:"新城区"},{value:"150104",label:"玉泉区"}]},{value:"1507",label:"呼伦贝尔市",children:[{value:"150721",label:"阿荣旗"},{value:"150725",label:"陈巴尔虎旗"},{value:"150784",label:"额尔古纳市"},{value:"150723",label:"鄂伦春自治旗"},{value:"150724",label:"鄂温克族自治旗"},{value:"150785",label:"根河市"},{value:"150702",label:"海拉尔区"},{value:"150781",label:"满洲里市"},{value:"150722",label:"莫力达瓦达斡尔族自治旗"},{value:"150727",label:"新巴尔虎右旗"},{value:"150726",label:"新巴尔虎左旗"},{value:"150782",label:"牙克石市"},{value:"150703",label:"扎赉诺尔区"},{value:"150783",label:"扎兰屯市"}]},{value:"1505",label:"通辽市",children:[{value:"150581",label:"霍林郭勒市"},{value:"150523",label:"开鲁县"},{value:"150502",label:"科尔沁区"},{value:"150522",label:"科尔沁左翼后旗"},{value:"150521",label:"科尔沁左翼中旗"},{value:"150524",label:"库伦旗"},{value:"150525",label:"奈曼旗"},{value:"150571",label:"通辽经济技术开发区"},{value:"150526",label:"扎鲁特旗"}]},{value:"1503",label:"乌海市",children:[{value:"150302",label:"海勃湾区"},{value:"150303",label:"海南区"},{value:"150304",label:"乌达区"}]},{value:"1509",label:"乌兰察布市",children:[{value:"150928",label:"察哈尔右翼后旗"},{value:"150926",label:"察哈尔右翼前旗"},{value:"150927",label:"察哈尔右翼中旗"},{value:"150981",label:"丰镇市"},{value:"150922",label:"化德县"},{value:"150902",label:"集宁区"},{value:"150925",label:"凉城县"},{value:"150923",label:"商都县"},{value:"150929",label:"四子王旗"},{value:"150924",label:"兴和县"},{value:"150921",label:"卓资县"}]},{value:"1525",label:"锡林郭勒盟",children:[{value:"152522",label:"阿巴嘎旗"},{value:"152525",label:"东乌珠穆沁旗"},{value:"152531",label:"多伦县"},{value:"152501",label:"二连浩特市"},{value:"152524",label:"苏尼特右旗"},{value:"152523",label:"苏尼特左旗"},{value:"152527",label:"太仆寺旗"},{value:"152571",label:"乌拉盖管理区管委会"},{value:"152526",label:"西乌珠穆沁旗"},{value:"152502",label:"锡林浩特市"},{value:"152528",label:"镶黄旗"},{value:"152530",label:"正蓝旗"},{value:"152529",label:"正镶白旗"}]},{value:"1522",label:"兴安盟",children:[{value:"152202",label:"阿尔山市"},{value:"152221",label:"科尔沁右翼前旗"},{value:"152222",label:"科尔沁右翼中旗"},{value:"152224",label:"突泉县"},{value:"152201",label:"乌兰浩特市"},{value:"152223",label:"扎赉特旗"}]}]},{value:"64",label:"宁夏回族自治区",children:[{value:"6404",label:"固原市",children:[{value:"640424",label:"泾源县"},{value:"640423",label:"隆德县"},{value:"640425",label:"彭阳县"},{value:"640422",label:"西吉县"},{value:"640402",label:"原州区"}]},{value:"6402",label:"石嘴山市",children:[{value:"640202",label:"大武口区"},{value:"640205",label:"惠农区"},{value:"640221",label:"平罗县"}]},{value:"6403",label:"吴忠市",children:[{value:"640303",label:"红寺堡区"},{value:"640302",label:"利通区"},{value:"640381",label:"青铜峡市"},{value:"640324",label:"同心县"},{value:"640323",label:"盐池县"}]},{value:"6401",label:"银川市",children:[{value:"640122",label:"贺兰县"},{value:"640106",label:"金凤区"},{value:"640181",label:"灵武市"},{value:"640105",label:"西夏区"},{value:"640104",label:"兴庆区"},{value:"640121",label:"永宁县"}]},{value:"6405",label:"中卫市",children:[{value:"640522",label:"海原县"},{value:"640502",label:"沙坡头区"},{value:"640521",label:"中宁县"}]}]},{value:"63",label:"青海省",children:[{value:"6326",label:"果洛藏族自治州",children:[{value:"632622",label:"班玛县"},{value:"632624",label:"达日县"},{value:"632623",label:"甘德县"},{value:"632625",label:"久治县"},{value:"632626",label:"玛多县"},{value:"632621",label:"玛沁县"}]},{value:"6322",label:"海北藏族自治州",children:[{value:"632224",label:"刚察县"},{value:"632223",label:"海晏县"},{value:"632221",label:"门源回族自治县"},{value:"632222",label:"祁连县"}]},{value:"6302",label:"海东市",children:[{value:"630223",label:"互助土族自治县"},{value:"630224",label:"化隆回族自治县"},{value:"630202",label:"乐都区"},{value:"630222",label:"民和回族土族自治县"},{value:"630203",label:"平安区"},{value:"630225",label:"循化撒拉族自治县"}]},{value:"6325",label:"海南藏族自治州",children:[{value:"632521",label:"共和县"},{value:"632523",label:"贵德县"},{value:"632525",label:"贵南县"},{value:"632522",label:"同德县"},{value:"632524",label:"兴海县"}]},{value:"6328",label:"海西蒙古族藏族自治州",children:[{value:"632857",label:"大柴旦行政委员会"},{value:"632802",label:"德令哈市"},{value:"632822",label:"都兰县"},{value:"632801",label:"格尔木市"},{value:"632803",label:"茫崖市"},{value:"632823",label:"天峻县"},{value:"632821",label:"乌兰县"}]},{value:"6323",label:"黄南藏族自治州",children:[{value:"632324",label:"河南蒙古族自治县"},{value:"632322",label:"尖扎县"},{value:"632301",label:"同仁市"},{value:"632323",label:"泽库县"}]},{value:"6301",label:"西宁市",children:[{value:"630105",label:"城北区"},{value:"630102",label:"城东区"},{value:"630104",label:"城西区"},{value:"630103",label:"城中区"},{value:"630121",label:"大通回族土族自治县"},{value:"630123",label:"湟源县"},{value:"630106",label:"湟中区"}]},{value:"6327",label:"玉树藏族自治州",children:[{value:"632723",label:"称多县"},{value:"632725",label:"囊谦县"},{value:"632726",label:"曲麻莱县"},{value:"632701",label:"玉树市"},{value:"632722",label:"杂多县"},{value:"632724",label:"治多县"}]}]},{value:"37",label:"山东省",children:[{value:"3716",label:"滨州市",children:[{value:"371602",label:"滨城区"},{value:"371625",label:"博兴县"},{value:"371621",label:"惠民县"},{value:"371623",label:"无棣县"},{value:"371622",label:"阳信县"},{value:"371603",label:"沾化区"},{value:"371681",label:"邹平市"}]},{value:"3714",label:"德州市",children:[{value:"371402",label:"德城区"},{value:"371471",label:"德州天衢新区"},{value:"371481",label:"乐陵市"},{value:"371424",label:"临邑县"},{value:"371403",label:"陵城区"},{value:"371422",label:"宁津县"},{value:"371426",label:"平原县"},{value:"371425",label:"齐河县"},{value:"371423",label:"庆云县"},{value:"371428",label:"武城县"},{value:"371427",label:"夏津县"},{value:"371482",label:"禹城市"}]},{value:"3705",label:"东营市",children:[{value:"370572",label:"东营港经济开发区"},{value:"370571",label:"东营经济技术开发区"},{value:"370502",label:"东营区"},{value:"370523",label:"广饶县"},{value:"370503",label:"河口区"},{value:"370505",label:"垦利区"},{value:"370522",label:"利津县"}]},{value:"3717",label:"菏泽市",children:[{value:"371721",label:"曹县"},{value:"371723",label:"成武县"},{value:"371722",label:"单县"},{value:"371703",label:"定陶区"},{value:"371728",label:"东明县"},{value:"371772",label:"菏泽高新技术开发区"},{value:"371771",label:"菏泽经济技术开发区"},{value:"371724",label:"巨野县"},{value:"371726",label:"鄄城县"},{value:"371702",label:"牡丹区"},{value:"371725",label:"郓城县"}]},{value:"3701",label:"济南市",children:[{value:"370117",label:"钢城区"},{value:"370104",label:"槐荫区"},{value:"370176",label:"济南高新技术产业开发区"},{value:"370115",label:"济阳区"},{value:"370116",label:"莱芜区"},{value:"370112",label:"历城区"},{value:"370102",label:"历下区"},{value:"370124",label:"平阴县"},{value:"370126",label:"商河县"},{value:"370103",label:"市中区"},{value:"370105",label:"天桥区"},{value:"370114",label:"章丘区"},{value:"370113",label:"长清区"}]},{value:"3708",label:"济宁市",children:[{value:"370871",label:"济宁高新技术产业开发区"},{value:"370829",label:"嘉祥县"},{value:"370828",label:"金乡县"},{value:"370832",label:"梁山县"},{value:"370881",label:"曲阜市"},{value:"370811",label:"任城区"},{value:"370831",label:"泗水县"},{value:"370826",label:"微山县"},{value:"370830",label:"汶上县"},{value:"370812",label:"兖州区"},{value:"370827",label:"鱼台县"},{value:"370883",label:"邹城市"}]},{value:"3715",label:"聊城市",children:[{value:"371503",label:"茌平区"},{value:"371524",label:"东阿县"},{value:"371502",label:"东昌府区"},{value:"371526",label:"高唐县"},{value:"371525",label:"冠县"},{value:"371581",label:"临清市"},{value:"371522",label:"莘县"},{value:"371521",label:"阳谷县"}]},{value:"3713",label:"临沂市",children:[{value:"371325",label:"费县"},{value:"371312",label:"河东区"},{value:"371327",label:"莒南县"},{value:"371324",label:"兰陵县"},{value:"371302",label:"兰山区"},{value:"371329",label:"临沭县"},{value:"371371",label:"临沂高新技术产业开发区"},{value:"371311",label:"罗庄区"},{value:"371328",label:"蒙阴县"},{value:"371326",label:"平邑县"},{value:"371322",label:"郯城县"},{value:"371321",label:"沂南县"},{value:"371323",label:"沂水县"}]},{value:"3702",label:"青岛市",children:[{value:"370214",label:"城阳区"},{value:"370211",label:"黄岛区"},{value:"370215",label:"即墨区"},{value:"370281",label:"胶州市"},{value:"370285",label:"莱西市"},{value:"370212",label:"崂山区"},{value:"370213",label:"李沧区"},{value:"370283",label:"平度市"},{value:"370203",label:"市北区"},{value:"370202",label:"市南区"}]},{value:"3711",label:"日照市",children:[{value:"371102",label:"东港区"},{value:"371122",label:"莒县"},{value:"371103",label:"岚山区"},{value:"371171",label:"日照经济技术开发区"},{value:"371121",label:"五莲县"}]},{value:"3709",label:"泰安市",children:[{value:"370911",label:"岱岳区"},{value:"370923",label:"东平县"},{value:"370983",label:"肥城市"},{value:"370921",label:"宁阳县"},{value:"370902",label:"泰山区"},{value:"370982",label:"新泰市"}]},{value:"3710",label:"威海市",children:[{value:"371002",label:"环翠区"},{value:"371082",label:"荣成市"},{value:"371083",label:"乳山市"},{value:"371071",label:"威海火炬高技术产业开发区"},{value:"371072",label:"威海经济技术开发区"},{value:"371073",label:"威海临港经济技术开发区"},{value:"371003",label:"文登区"}]},{value:"3707",label:"潍坊市",children:[{value:"370784",label:"安丘市"},{value:"370725",label:"昌乐县"},{value:"370786",label:"昌邑市"},{value:"370704",label:"坊子区"},{value:"370785",label:"高密市"},{value:"370703",label:"寒亭区"},{value:"370705",label:"奎文区"},{value:"370724",label:"临朐县"},{value:"370781",label:"青州市"},{value:"370783",label:"寿光市"},{value:"370702",label:"潍城区"},{value:"370772",label:"潍坊滨海经济技术开发区"},{value:"370782",label:"诸城市"}]},{value:"3706",label:"烟台市",children:[{value:"370611",label:"福山区"},{value:"370687",label:"海阳市"},{value:"370613",label:"莱山区"},{value:"370682",label:"莱阳市"},{value:"370683",label:"莱州市"},{value:"370681",label:"龙口市"},{value:"370612",label:"牟平区"},{value:"370614",label:"蓬莱区"},{value:"370686",label:"栖霞市"},{value:"370671",label:"烟台高新技术产业开发区"},{value:"370676",label:"烟台经济技术开发区"},{value:"370685",label:"招远市"},{value:"370602",label:"芝罘区"}]},{value:"3704",label:"枣庄市",children:[{value:"370406",label:"山亭区"},{value:"370402",label:"市中区"},{value:"370405",label:"台儿庄区"},{value:"370481",label:"滕州市"},{value:"370403",label:"薛城区"},{value:"370404",label:"峄城区"}]},{value:"3703",label:"淄博市",children:[{value:"370304",label:"博山区"},{value:"370322",label:"高青县"},{value:"370321",label:"桓台县"},{value:"370305",label:"临淄区"},{value:"370323",label:"沂源县"},{value:"370303",label:"张店区"},{value:"370306",label:"周村区"},{value:"370302",label:"淄川区"}]}]},{value:"14",label:"山西省",children:[{value:"1402",label:"大同市",children:[{value:"140223",label:"广灵县"},{value:"140225",label:"浑源县"},{value:"140224",label:"灵丘县"},{value:"140213",label:"平城区"},{value:"140271",label:"山西大同经济开发区"},{value:"140222",label:"天镇县"},{value:"140212",label:"新荣区"},{value:"140221",label:"阳高县"},{value:"140214",label:"云冈区"},{value:"140215",label:"云州区"},{value:"140226",label:"左云县"}]},{value:"1405",label:"晋城市",children:[{value:"140502",label:"城区"},{value:"140581",label:"高平市"},{value:"140524",label:"陵川县"},{value:"140521",label:"沁水县"},{value:"140522",label:"阳城县"},{value:"140525",label:"泽州县"}]},{value:"1407",label:"晋中市",children:[{value:"140723",label:"和顺县"},{value:"140781",label:"介休市"},{value:"140729",label:"灵石县"},{value:"140728",label:"平遥县"},{value:"140727",label:"祁县"},{value:"140725",label:"寿阳县"},{value:"140703",label:"太谷区"},{value:"140724",label:"昔阳县"},{value:"140702",label:"榆次区"},{value:"140721",label:"榆社县"},{value:"140722",label:"左权县"}]},{value:"1410",label:"临汾市",children:[{value:"141026",label:"安泽县"},{value:"141030",label:"大宁县"},{value:"141034",label:"汾西县"},{value:"141027",label:"浮山县"},{value:"141025",label:"古县"},{value:"141024",label:"洪洞县"},{value:"141081",label:"侯马市"},{value:"141082",label:"霍州市"},{value:"141028",label:"吉县"},{value:"141033",label:"蒲县"},{value:"141021",label:"曲沃县"},{value:"141031",label:"隰县"},{value:"141029",label:"乡宁县"},{value:"141023",label:"襄汾县"},{value:"141002",label:"尧都区"},{value:"141022",label:"翼城县"},{value:"141032",label:"永和县"}]},{value:"1411",label:"吕梁市",children:[{value:"141128",label:"方山县"},{value:"141182",label:"汾阳市"},{value:"141122",label:"交城县"},{value:"141130",label:"交口县"},{value:"141127",label:"岚县"},{value:"141102",label:"离石区"},{value:"141124",label:"临县"},{value:"141125",label:"柳林县"},{value:"141126",label:"石楼县"},{value:"141121",label:"文水县"},{value:"141181",label:"孝义市"},{value:"141123",label:"兴县"},{value:"141129",label:"中阳县"}]},{value:"1406",label:"朔州市",children:[{value:"140681",label:"怀仁市"},{value:"140603",label:"平鲁区"},{value:"140671",label:"山西朔州经济开发区"},{value:"140621",label:"山阴县"},{value:"140602",label:"朔城区"},{value:"140622",label:"应县"},{value:"140623",label:"右玉县"}]},{value:"1401",label:"太原市",children:[{value:"140181",label:"古交市"},{value:"140108",label:"尖草坪区"},{value:"140110",label:"晋源区"},{value:"140123",label:"娄烦县"},{value:"140121",label:"清徐县"},{value:"140171",label:"山西转型综合改革示范区"},{value:"140109",label:"万柏林区"},{value:"140105",label:"小店区"},{value:"140107",label:"杏花岭区"},{value:"140122",label:"阳曲县"},{value:"140106",label:"迎泽区"}]},{value:"1409",label:"忻州市",children:[{value:"140931",label:"保德县"},{value:"140923",label:"代县"},{value:"140921",label:"定襄县"},{value:"140924",label:"繁峙县"},{value:"140930",label:"河曲县"},{value:"140926",label:"静乐县"},{value:"140929",label:"岢岚县"},{value:"140925",label:"宁武县"},{value:"140932",label:"偏关县"},{value:"140927",label:"神池县"},{value:"140971",label:"五台山风景名胜区"},{value:"140922",label:"五台县"},{value:"140928",label:"五寨县"},{value:"140902",label:"忻府区"},{value:"140981",label:"原平市"}]},{value:"1403",label:"阳泉市",children:[{value:"140302",label:"城区"},{value:"140311",label:"郊区"},{value:"140303",label:"矿区"},{value:"140321",label:"平定县"},{value:"140322",label:"盂县"}]},{value:"1408",label:"运城市",children:[{value:"140882",label:"河津市"},{value:"140824",label:"稷山县"},{value:"140826",label:"绛县"},{value:"140821",label:"临猗县"},{value:"140829",label:"平陆县"},{value:"140830",label:"芮城县"},{value:"140822",label:"万荣县"},{value:"140823",label:"闻喜县"},{value:"140828",label:"夏县"},{value:"140825",label:"新绛县"},{value:"140802",label:"盐湖区"},{value:"140881",label:"永济市"},{value:"140827",label:"垣曲县"}]},{value:"1404",label:"长治市",children:[{value:"140427",label:"壶关县"},{value:"140426",label:"黎城县"},{value:"140406",label:"潞城区"},{value:"140403",label:"潞州区"},{value:"140425",label:"平顺县"},{value:"140430",label:"沁县"},{value:"140431",label:"沁源县"},{value:"140404",label:"上党区"},{value:"140405",label:"屯留区"},{value:"140429",label:"武乡县"},{value:"140423",label:"襄垣县"},{value:"140428",label:"长子县"}]}]},{value:"61",label:"陕西省",children:[{value:"6109",label:"安康市",children:[{value:"610929",label:"白河县"},{value:"610902",label:"汉滨区"},{value:"610921",label:"汉阴县"},{value:"610925",label:"岚皋县"},{value:"610923",label:"宁陕县"},{value:"610926",label:"平利县"},{value:"610922",label:"石泉县"},{value:"610981",label:"旬阳市"},{value:"610927",label:"镇坪县"},{value:"610924",label:"紫阳县"}]},{value:"6103",label:"宝鸡市",children:[{value:"610304",label:"陈仓区"},{value:"610330",label:"凤县"},{value:"610305",label:"凤翔区"},{value:"610324",label:"扶风县"},{value:"610303",label:"金台区"},{value:"610329",label:"麟游县"},{value:"610327",label:"陇县"},{value:"610326",label:"眉县"},{value:"610323",label:"岐山县"},{value:"610328",label:"千阳县"},{value:"610331",label:"太白县"},{value:"610302",label:"渭滨区"}]},{value:"6107",label:"汉中市",children:[{value:"610722",label:"城固县"},{value:"610730",label:"佛坪县"},{value:"610702",label:"汉台区"},{value:"610729",label:"留坝县"},{value:"610727",label:"略阳县"},{value:"610725",label:"勉县"},{value:"610703",label:"南郑区"},{value:"610726",label:"宁强县"},{value:"610724",label:"西乡县"},{value:"610723",label:"洋县"},{value:"610728",label:"镇巴县"}]},{value:"6110",label:"商洛市",children:[{value:"611022",label:"丹凤县"},{value:"611021",label:"洛南县"},{value:"611024",label:"山阳县"},{value:"611023",label:"商南县"},{value:"611002",label:"商州区"},{value:"611026",label:"柞水县"},{value:"611025",label:"镇安县"}]},{value:"6102",label:"铜川市",children:[{value:"610202",label:"王益区"},{value:"610204",label:"耀州区"},{value:"610222",label:"宜君县"},{value:"610203",label:"印台区"}]},{value:"6105",label:"渭南市",children:[{value:"610527",label:"白水县"},{value:"610525",label:"澄城县"},{value:"610523",label:"大荔县"},{value:"610528",label:"富平县"},{value:"610581",label:"韩城市"},{value:"610524",label:"合阳县"},{value:"610582",label:"华阴市"},{value:"610503",label:"华州区"},{value:"610502",label:"临渭区"},{value:"610526",label:"蒲城县"},{value:"610522",label:"潼关县"}]},{value:"6101",label:"西安市",children:[{value:"610111",label:"灞桥区"},{value:"610103",label:"碑林区"},{value:"610117",label:"高陵区"},{value:"610118",label:"鄠邑区"},{value:"610122",label:"蓝田县"},{value:"610104",label:"莲湖区"},{value:"610115",label:"临潼区"},{value:"610112",label:"未央区"},{value:"610102",label:"新城区"},{value:"610114",label:"阎良区"},{value:"610113",label:"雁塔区"},{value:"610116",label:"长安区"},{value:"610124",label:"周至县"}]},{value:"6104",label:"咸阳市",children:[{value:"610482",label:"彬州市"},{value:"610430",label:"淳化县"},{value:"610423",label:"泾阳县"},{value:"610425",label:"礼泉县"},{value:"610424",label:"乾县"},{value:"610402",label:"秦都区"},{value:"610422",label:"三原县"},{value:"610404",label:"渭城区"},{value:"610431",label:"武功县"},{value:"610481",label:"兴平市"},{value:"610429",label:"旬邑县"},{value:"610403",label:"杨陵区"},{value:"610426",label:"永寿县"},{value:"610428",label:"长武县"}]},{value:"6106",label:"延安市",children:[{value:"610603",label:"安塞区"},{value:"610602",label:"宝塔区"},{value:"610628",label:"富县"},{value:"610627",label:"甘泉县"},{value:"610632",label:"黄陵县"},{value:"610631",label:"黄龙县"},{value:"610629",label:"洛川县"},{value:"610626",label:"吴起县"},{value:"610622",label:"延川县"},{value:"610621",label:"延长县"},{value:"610630",label:"宜川县"},{value:"610625",label:"志丹县"},{value:"610681",label:"子长市"}]},{value:"6108",label:"榆林市",children:[{value:"610825",label:"定边县"},{value:"610822",label:"府谷县"},{value:"610803",label:"横山区"},{value:"610828",label:"佳县"},{value:"610824",label:"靖边县"},{value:"610827",label:"米脂县"},{value:"610830",label:"清涧县"},{value:"610881",label:"神木市"},{value:"610826",label:"绥德县"},{value:"610829",label:"吴堡县"},{value:"610802",label:"榆阳区"},{value:"610831",label:"子洲县"}]}]},{value:"31",label:"上海市",children:[{value:"3101",label:"市辖区",children:[{value:"310113",label:"宝山区"},{value:"310151",label:"崇明区"},{value:"310120",label:"奉贤区"},{value:"310109",label:"虹口区"},{value:"310101",label:"黄浦区"},{value:"310114",label:"嘉定区"},{value:"310116",label:"金山区"},{value:"310106",label:"静安区"},{value:"310112",label:"闵行区"},{value:"310115",label:"浦东新区"},{value:"310107",label:"普陀区"},{value:"310118",label:"青浦区"},{value:"310117",label:"松江区"},{value:"310104",label:"徐汇区"},{value:"310110",label:"杨浦区"},{value:"310105",label:"长宁区"}]}]},{value:"51",label:"四川省",children:[{value:"5132",label:"阿坝藏族羌族自治州",children:[{value:"513231",label:"阿坝县"},{value:"513228",label:"黑水县"},{value:"513233",label:"红原县"},{value:"513226",label:"金川县"},{value:"513225",label:"九寨沟县"},{value:"513222",label:"理县"},{value:"513201",label:"马尔康市"},{value:"513223",label:"茂县"},{value:"513230",label:"壤塘县"},{value:"513232",label:"若尔盖县"},{value:"513224",label:"松潘县"},{value:"513221",label:"汶川县"},{value:"513227",label:"小金县"}]},{value:"5119",label:"巴中市",children:[{value:"511902",label:"巴州区"},{value:"511903",label:"恩阳区"},{value:"511922",label:"南江县"},{value:"511923",label:"平昌县"},{value:"511921",label:"通江县"}]},{value:"5101",label:"成都市",children:[{value:"510108",label:"成华区"},{value:"510184",label:"崇州市"},{value:"510129",label:"大邑县"},{value:"510181",label:"都江堰市"},{value:"510185",label:"简阳市"},{value:"510106",label:"金牛区"},{value:"510121",label:"金堂县"},{value:"510104",label:"锦江区"},{value:"510112",label:"龙泉驿区"},{value:"510182",label:"彭州市"},{value:"510117",label:"郫都区"},{value:"510131",label:"蒲江县"},{value:"510113",label:"青白江区"},{value:"510105",label:"青羊区"},{value:"510183",label:"邛崃市"},{value:"510116",label:"双流区"},{value:"510115",label:"温江区"},{value:"510107",label:"武侯区"},{value:"510114",label:"新都区"},{value:"510118",label:"新津区"}]},{value:"5117",label:"达州市",children:[{value:"511703",label:"达川区"},{value:"511724",label:"大竹县"},{value:"511723",label:"开江县"},{value:"511725",label:"渠县"},{value:"511702",label:"通川区"},{value:"511781",label:"万源市"},{value:"511722",label:"宣汉县"}]},{value:"5106",label:"德阳市",children:[{value:"510681",label:"广汉市"},{value:"510603",label:"旌阳区"},{value:"510604",label:"罗江区"},{value:"510683",label:"绵竹市"},{value:"510682",label:"什邡市"},{value:"510623",label:"中江县"}]},{value:"5133",label:"甘孜藏族自治州",children:[{value:"513335",label:"巴塘县"},{value:"513331",label:"白玉县"},{value:"513323",label:"丹巴县"},{value:"513326",label:"道孚县"},{value:"513337",label:"稻城县"},{value:"513338",label:"得荣县"},{value:"513330",label:"德格县"},{value:"513328",label:"甘孜县"},{value:"513324",label:"九龙县"},{value:"513301",label:"康定市"},{value:"513334",label:"理塘县"},{value:"513322",label:"泸定县"},{value:"513327",label:"炉霍县"},{value:"513333",label:"色达县"},{value:"513332",label:"石渠县"},{value:"513336",label:"乡城县"},{value:"513329",label:"新龙县"},{value:"513325",label:"雅江县"}]},{value:"5116",label:"广安市",children:[{value:"511602",label:"广安区"},{value:"511681",label:"华蓥市"},{value:"511623",label:"邻水县"},{value:"511603",label:"前锋区"},{value:"511622",label:"武胜县"},{value:"511621",label:"岳池县"}]},{value:"5108",label:"广元市",children:[{value:"510824",label:"苍溪县"},{value:"510812",label:"朝天区"},{value:"510823",label:"剑阁县"},{value:"510802",label:"利州区"},{value:"510822",label:"青川县"},{value:"510821",label:"旺苍县"},{value:"510811",label:"昭化区"}]},{value:"5111",label:"乐山市",children:[{value:"511132",label:"峨边彝族自治县"},{value:"511181",label:"峨眉山市"},{value:"511126",label:"夹江县"},{value:"511123",label:"犍为县"},{value:"511113",label:"金口河区"},{value:"511124",label:"井研县"},{value:"511133",label:"马边彝族自治县"},{value:"511129",label:"沐川县"},{value:"511111",label:"沙湾区"},{value:"511102",label:"市中区"},{value:"511112",label:"五通桥区"}]},{value:"5134",label:"凉山彝族自治州",children:[{value:"513429",label:"布拖县"},{value:"513424",label:"德昌县"},{value:"513435",label:"甘洛县"},{value:"513426",label:"会东县"},{value:"513402",label:"会理市"},{value:"513430",label:"金阳县"},{value:"513437",label:"雷波县"},{value:"513436",label:"美姑县"},{value:"513433",label:"冕宁县"},{value:"513422",label:"木里藏族自治县"},{value:"513427",label:"宁南县"},{value:"513428",label:"普格县"},{value:"513401",label:"西昌市"},{value:"513432",label:"喜德县"},{value:"513423",label:"盐源县"},{value:"513434",label:"越西县"},{value:"513431",label:"昭觉县"}]},{value:"5105",label:"泸州市",children:[{value:"510525",label:"古蔺县"},{value:"510522",label:"合江县"},{value:"510502",label:"江阳区"},{value:"510504",label:"龙马潭区"},{value:"510521",label:"泸县"},{value:"510503",label:"纳溪区"},{value:"510524",label:"叙永县"}]},{value:"5114",label:"眉山市",children:[{value:"511424",label:"丹棱县"},{value:"511402",label:"东坡区"},{value:"511423",label:"洪雅县"},{value:"511403",label:"彭山区"},{value:"511425",label:"青神县"},{value:"511421",label:"仁寿县"}]},{value:"5107",label:"绵阳市",children:[{value:"510705",label:"安州区"},{value:"510726",label:"北川羌族自治县"},{value:"510703",label:"涪城区"},{value:"510781",label:"江油市"},{value:"510727",label:"平武县"},{value:"510722",label:"三台县"},{value:"510723",label:"盐亭县"},{value:"510704",label:"游仙区"},{value:"510725",label:"梓潼县"}]},{value:"5113",label:"南充市",children:[{value:"511303",label:"高坪区"},{value:"511304",label:"嘉陵区"},{value:"511381",label:"阆中市"},{value:"511321",label:"南部县"},{value:"511323",label:"蓬安县"},{value:"511302",label:"顺庆区"},{value:"511325",label:"西充县"},{value:"511324",label:"仪陇县"},{value:"511322",label:"营山县"}]},{value:"5110",label:"内江市",children:[{value:"511011",label:"东兴区"},{value:"511083",label:"隆昌市"},{value:"511002",label:"市中区"},{value:"511024",label:"威远县"},{value:"511025",label:"资中县"}]},{value:"5104",label:"攀枝花市",children:[{value:"510402",label:"东区"},{value:"510421",label:"米易县"},{value:"510411",label:"仁和区"},{value:"510403",label:"西区"},{value:"510422",label:"盐边县"}]},{value:"5109",label:"遂宁市",children:[{value:"510904",label:"安居区"},{value:"510903",label:"船山区"},{value:"510923",label:"大英县"},{value:"510921",label:"蓬溪县"},{value:"510981",label:"射洪市"}]},{value:"5118",label:"雅安市",children:[{value:"511827",label:"宝兴县"},{value:"511823",label:"汉源县"},{value:"511826",label:"芦山县"},{value:"511803",label:"名山区"},{value:"511824",label:"石棉县"},{value:"511825",label:"天全县"},{value:"511822",label:"荥经县"},{value:"511802",label:"雨城区"}]},{value:"5115",label:"宜宾市",children:[{value:"511502",label:"翠屏区"},{value:"511525",label:"高县"},{value:"511526",label:"珙县"},{value:"511523",label:"江安县"},{value:"511503",label:"南溪区"},{value:"511529",label:"屏山县"},{value:"511528",label:"兴文县"},{value:"511504",label:"叙州区"},{value:"511527",label:"筠连县"},{value:"511524",label:"长宁县"}]},{value:"5120",label:"资阳市",children:[{value:"512021",label:"安岳县"},{value:"512022",label:"乐至县"},{value:"512002",label:"雁江区"}]},{value:"5103",label:"自贡市",children:[{value:"510304",label:"大安区"},{value:"510322",label:"富顺县"},{value:"510303",label:"贡井区"},{value:"510321",label:"荣县"},{value:"510311",label:"沿滩区"},{value:"510302",label:"自流井区"}]}]},{value:"12",label:"天津市",children:[{value:"1201",label:"市辖区",children:[{value:"120115",label:"宝坻区"},{value:"120113",label:"北辰区"},{value:"120116",label:"滨海新区"},{value:"120110",label:"东丽区"},{value:"120101",label:"和平区"},{value:"120105",label:"河北区"},{value:"120102",label:"河东区"},{value:"120103",label:"河西区"},{value:"120106",label:"红桥区"},{value:"120119",label:"蓟州区"},{value:"120112",label:"津南区"},{value:"120118",label:"静海区"},{value:"120104",label:"南开区"},{value:"120117",label:"宁河区"},{value:"120114",label:"武清区"},{value:"120111",label:"西青区"}]}]},{value:"54",label:"西藏自治区",children:[{value:"5425",label:"阿里地区",children:[{value:"542527",label:"措勤县"},{value:"542523",label:"噶尔县"},{value:"542526",label:"改则县"},{value:"542525",label:"革吉县"},{value:"542521",label:"普兰县"},{value:"542524",label:"日土县"},{value:"542522",label:"札达县"}]},{value:"5403",label:"昌都市",children:[{value:"540326",label:"八宿县"},{value:"540330",label:"边坝县"},{value:"540325",label:"察雅县"},{value:"540324",label:"丁青县"},{value:"540322",label:"贡觉县"},{value:"540321",label:"江达县"},{value:"540302",label:"卡若区"},{value:"540323",label:"类乌齐县"},{value:"540329",label:"洛隆县"},{value:"540328",label:"芒康县"},{value:"540327",label:"左贡县"}]},{value:"5401",label:"拉萨市",children:[{value:"540102",label:"城关区"},{value:"540174",label:"达孜工业园区"},{value:"540104",label:"达孜区"},{value:"540122",label:"当雄县"},{value:"540103",label:"堆龙德庆区"},{value:"540171",label:"格尔木藏青工业园区"},{value:"540172",label:"拉萨经济技术开发区"},{value:"540121",label:"林周县"},{value:"540127",label:"墨竹工卡县"},{value:"540123",label:"尼木县"},{value:"540124",label:"曲水县"},{value:"540173",label:"西藏文化旅游创意园区"}]},{value:"5404",label:"林芝市",children:[{value:"540402",label:"巴宜区"},{value:"540424",label:"波密县"},{value:"540425",label:"察隅县"},{value:"540421",label:"工布江达县"},{value:"540426",label:"朗县"},{value:"540481",label:"米林市"},{value:"540423",label:"墨脱县"}]},{value:"5406",label:"那曲市",children:[{value:"540624",label:"安多县"},{value:"540628",label:"巴青县"},{value:"540627",label:"班戈县"},{value:"540622",label:"比如县"},{value:"540621",label:"嘉黎县"},{value:"540629",label:"尼玛县"},{value:"540623",label:"聂荣县"},{value:"540602",label:"色尼区"},{value:"540625",label:"申扎县"},{value:"540630",label:"双湖县"},{value:"540626",label:"索县"}]},{value:"5402",label:"日喀则市",children:[{value:"540226",label:"昂仁县"},{value:"540228",label:"白朗县"},{value:"540231",label:"定结县"},{value:"540223",label:"定日县"},{value:"540237",label:"岗巴县"},{value:"540234",label:"吉隆县"},{value:"540222",label:"江孜县"},{value:"540230",label:"康马县"},{value:"540225",label:"拉孜县"},{value:"540221",label:"南木林县"},{value:"540235",label:"聂拉木县"},{value:"540229",label:"仁布县"},{value:"540236",label:"萨嘎县"},{value:"540224",label:"萨迦县"},{value:"540202",label:"桑珠孜区"},{value:"540227",label:"谢通门县"},{value:"540233",label:"亚东县"},{value:"540232",label:"仲巴县"}]},{value:"5405",label:"山南市",children:[{value:"540526",label:"措美县"},{value:"540581",label:"错那市"},{value:"540522",label:"贡嘎县"},{value:"540528",label:"加查县"},{value:"540531",label:"浪卡子县"},{value:"540529",label:"隆子县"},{value:"540527",label:"洛扎县"},{value:"540502",label:"乃东区"},{value:"540524",label:"琼结县"},{value:"540525",label:"曲松县"},{value:"540523",label:"桑日县"},{value:"540521",label:"扎囊县"}]}]},{value:"65",label:"新疆维吾尔自治区",children:[{value:"6529",label:"阿克苏地区",children:[{value:"652901",label:"阿克苏市"},{value:"652928",label:"阿瓦提县"},{value:"652926",label:"拜城县"},{value:"652929",label:"柯坪县"},{value:"652902",label:"库车市"},{value:"652924",label:"沙雅县"},{value:"652922",label:"温宿县"},{value:"652927",label:"乌什县"},{value:"652925",label:"新和县"}]},{value:"6543",label:"阿勒泰地区",children:[{value:"654301",label:"阿勒泰市"},{value:"654321",label:"布尔津县"},{value:"654323",label:"福海县"},{value:"654322",label:"富蕴县"},{value:"654324",label:"哈巴河县"},{value:"654326",label:"吉木乃县"},{value:"654325",label:"青河县"}]},{value:"6528",label:"巴音郭楞蒙古自治州",children:[{value:"652829",label:"博湖县"},{value:"652827",label:"和静县"},{value:"652828",label:"和硕县"},{value:"652801",label:"库尔勒市"},{value:"652822",label:"轮台县"},{value:"652825",label:"且末县"},{value:"652824",label:"若羌县"},{value:"652823",label:"尉犁县"},{value:"652826",label:"焉耆回族自治县"}]},{value:"6527",label:"博尔塔拉蒙古自治州",children:[{value:"652702",label:"阿拉山口市"},{value:"652701",label:"博乐市"},{value:"652722",label:"精河县"},{value:"652723",label:"温泉县"}]},{value:"6523",label:"昌吉回族自治州",children:[{value:"652301",label:"昌吉市"},{value:"652302",label:"阜康市"},{value:"652323",label:"呼图壁县"},{value:"652327",label:"吉木萨尔县"},{value:"652324",label:"玛纳斯县"},{value:"652328",label:"木垒哈萨克自治县"},{value:"652325",label:"奇台县"}]},{value:"6505",label:"哈密市",children:[{value:"650521",label:"巴里坤哈萨克自治县"},{value:"650522",label:"伊吾县"},{value:"650502",label:"伊州区"}]},{value:"6532",label:"和田地区",children:[{value:"653225",label:"策勒县"},{value:"653201",label:"和田市"},{value:"653221",label:"和田县"},{value:"653224",label:"洛浦县"},{value:"653227",label:"民丰县"},{value:"653222",label:"墨玉县"},{value:"653223",label:"皮山县"},{value:"653226",label:"于田县"}]},{value:"6531",label:"喀什地区",children:[{value:"653130",label:"巴楚县"},{value:"653129",label:"伽师县"},{value:"653101",label:"喀什市"},{value:"653127",label:"麦盖提县"},{value:"653125",label:"莎车县"},{value:"653121",label:"疏附县"},{value:"653122",label:"疏勒县"},{value:"653131",label:"塔什库尔干塔吉克自治县"},{value:"653126",label:"叶城县"},{value:"653123",label:"英吉沙县"},{value:"653128",label:"岳普湖县"},{value:"653124",label:"泽普县"}]},{value:"6502",label:"克拉玛依市",children:[{value:"650204",label:"白碱滩区"},{value:"650202",label:"独山子区"},{value:"650203",label:"克拉玛依区"},{value:"650205",label:"乌尔禾区"}]},{value:"6530",label:"克孜勒苏柯尔克孜自治州",children:[{value:"653023",label:"阿合奇县"},{value:"653022",label:"阿克陶县"},{value:"653001",label:"阿图什市"},{value:"653024",label:"乌恰县"}]},{value:"6542",label:"塔城地区",children:[{value:"654221",label:"额敏县"},{value:"654226",label:"和布克赛尔蒙古自治县"},{value:"654203",label:"沙湾市"},{value:"654201",label:"塔城市"},{value:"654224",label:"托里县"},{value:"654202",label:"乌苏市"},{value:"654225",label:"裕民县"}]},{value:"6504",label:"吐鲁番市",children:[{value:"650402",label:"高昌区"},{value:"650421",label:"鄯善县"},{value:"650422",label:"托克逊县"}]},{value:"6501",label:"乌鲁木齐市",children:[{value:"650107",label:"达坂城区"},{value:"650109",label:"米东区"},{value:"650103",label:"沙依巴克区"},{value:"650105",label:"水磨沟区"},{value:"650102",label:"天山区"},{value:"650106",label:"头屯河区"},{value:"650121",label:"乌鲁木齐县"},{value:"650104",label:"新市区"}]},{value:"6540",label:"伊犁哈萨克自治州",children:[{value:"654022",label:"察布查尔锡伯自治县"},{value:"654024",label:"巩留县"},{value:"654023",label:"霍城县"},{value:"654004",label:"霍尔果斯市"},{value:"654003",label:"奎屯市"},{value:"654028",label:"尼勒克县"},{value:"654027",label:"特克斯县"},{value:"654025",label:"新源县"},{value:"654002",label:"伊宁市"},{value:"654021",label:"伊宁县"},{value:"654026",label:"昭苏县"}]},{value:"6590",label:"自治区直辖县级行政区划",children:[{value:"659002",label:"阿拉尔市"},{value:"659012",label:"白杨市"},{value:"659005",label:"北屯市"},{value:"659010",label:"胡杨河市"},{value:"659008",label:"可克达拉市"},{value:"659009",label:"昆玉市"},{value:"659001",label:"石河子市"},{value:"659007",label:"双河市"},{value:"659006",label:"铁门关市"},{value:"659003",label:"图木舒克市"},{value:"659004",label:"五家渠市"},{value:"659011",label:"新星市"}]}]},{value:"53",label:"云南省",children:[{value:"5305",label:"保山市",children:[{value:"530524",label:"昌宁县"},{value:"530523",label:"龙陵县"},{value:"530502",label:"隆阳区"},{value:"530521",label:"施甸县"},{value:"530581",label:"腾冲市"}]},{value:"5323",label:"楚雄彝族自治州",children:[{value:"532301",label:"楚雄市"},{value:"532326",label:"大姚县"},{value:"532302",label:"禄丰市"},{value:"532323",label:"牟定县"},{value:"532324",label:"南华县"},{value:"532322",label:"双柏县"},{value:"532329",label:"武定县"},{value:"532325",label:"姚安县"},{value:"532327",label:"永仁县"},{value:"532328",label:"元谋县"}]},{value:"5329",label:"大理白族自治州",children:[{value:"532924",label:"宾川县"},{value:"532901",label:"大理市"},{value:"532930",label:"洱源县"},{value:"532932",label:"鹤庆县"},{value:"532931",label:"剑川县"},{value:"532925",label:"弥渡县"},{value:"532926",label:"南涧彝族自治县"},{value:"532927",label:"巍山彝族回族自治县"},{value:"532923",label:"祥云县"},{value:"532922",label:"漾濞彝族自治县"},{value:"532928",label:"永平县"},{value:"532929",label:"云龙县"}]},{value:"5331",label:"德宏傣族景颇族自治州",children:[{value:"533122",label:"梁河县"},{value:"533124",label:"陇川县"},{value:"533103",label:"芒市"},{value:"533102",label:"瑞丽市"},{value:"533123",label:"盈江县"}]},{value:"5334",label:"迪庆藏族自治州",children:[{value:"533422",label:"德钦县"},{value:"533423",label:"维西傈僳族自治县"},{value:"533401",label:"香格里拉市"}]},{value:"5325",label:"红河哈尼族彝族自治州",children:[{value:"532501",label:"个旧市"},{value:"532532",label:"河口瑶族自治县"},{value:"532529",label:"红河县"},{value:"532524",label:"建水县"},{value:"532530",label:"金平苗族瑶族傣族自治县"},{value:"532502",label:"开远市"},{value:"532527",label:"泸西县"},{value:"532531",label:"绿春县"},{value:"532503",label:"蒙自市"},{value:"532504",label:"弥勒市"},{value:"532523",label:"屏边苗族自治县"},{value:"532525",label:"石屏县"},{value:"532528",label:"元阳县"}]},{value:"5301",label:"昆明市",children:[{value:"530181",label:"安宁市"},{value:"530114",label:"呈贡区"},{value:"530113",label:"东川区"},{value:"530124",label:"富民县"},{value:"530111",label:"官渡区"},{value:"530115",label:"晋宁区"},{value:"530128",label:"禄劝彝族苗族自治县"},{value:"530103",label:"盘龙区"},{value:"530126",label:"石林彝族自治县"},{value:"530127",label:"嵩明县"},{value:"530102",label:"五华区"},{value:"530112",label:"西山区"},{value:"530129",label:"寻甸回族彝族自治县"},{value:"530125",label:"宜良县"}]},{value:"5307",label:"丽江市",children:[{value:"530702",label:"古城区"},{value:"530723",label:"华坪县"},{value:"530724",label:"宁蒗彝族自治县"},{value:"530722",label:"永胜县"},{value:"530721",label:"玉龙纳西族自治县"}]},{value:"5309",label:"临沧市",children:[{value:"530927",label:"沧源佤族自治县"},{value:"530921",label:"凤庆县"},{value:"530926",label:"耿马傣族佤族自治县"},{value:"530902",label:"临翔区"},{value:"530925",label:"双江拉祜族佤族布朗族傣族自治县"},{value:"530923",label:"永德县"},{value:"530922",label:"云县"},{value:"530924",label:"镇康县"}]},{value:"5333",label:"怒江傈僳族自治州",children:[{value:"533323",label:"福贡县"},{value:"533324",label:"贡山独龙族怒族自治县"},{value:"533325",label:"兰坪白族普米族自治县"},{value:"533301",label:"泸水市"}]},{value:"5308",label:"普洱市",children:[{value:"530826",label:"江城哈尼族彝族自治县"},{value:"530823",label:"景东彝族自治县"},{value:"530824",label:"景谷傣族彝族自治县"},{value:"530828",label:"澜沧拉祜族自治县"},{value:"530827",label:"孟连傣族拉祜族佤族自治县"},{value:"530822",label:"墨江哈尼族自治县"},{value:"530821",label:"宁洱哈尼族彝族自治县"},{value:"530802",label:"思茅区"},{value:"530829",label:"西盟佤族自治县"},{value:"530825",label:"镇沅彝族哈尼族拉祜族自治县"}]},{value:"5303",label:"曲靖市",children:[{value:"530325",label:"富源县"},{value:"530326",label:"会泽县"},{value:"530322",label:"陆良县"},{value:"530324",label:"罗平县"},{value:"530304",label:"马龙区"},{value:"530302",label:"麒麟区"},{value:"530323",label:"师宗县"},{value:"530381",label:"宣威市"},{value:"530303",label:"沾益区"}]},{value:"5326",label:"文山壮族苗族自治州",children:[{value:"532628",label:"富宁县"},{value:"532627",label:"广南县"},{value:"532624",label:"麻栗坡县"},{value:"532625",label:"马关县"},{value:"532626",label:"丘北县"},{value:"532601",label:"文山市"},{value:"532623",label:"西畴县"},{value:"532622",label:"砚山县"}]},{value:"5328",label:"西双版纳傣族自治州",children:[{value:"532801",label:"景洪市"},{value:"532822",label:"勐海县"},{value:"532823",label:"勐腊县"}]},{value:"5304",label:"玉溪市",children:[{value:"530481",label:"澄江市"},{value:"530426",label:"峨山彝族自治县"},{value:"530402",label:"红塔区"},{value:"530424",label:"华宁县"},{value:"530403",label:"江川区"},{value:"530423",label:"通海县"},{value:"530427",label:"新平彝族傣族自治县"},{value:"530425",label:"易门县"},{value:"530428",label:"元江哈尼族彝族傣族自治县"}]},{value:"5306",label:"昭通市",children:[{value:"530624",label:"大关县"},{value:"530621",label:"鲁甸县"},{value:"530622",label:"巧家县"},{value:"530681",label:"水富市"},{value:"530626",label:"绥江县"},{value:"530629",label:"威信县"},{value:"530623",label:"盐津县"},{value:"530628",label:"彝良县"},{value:"530625",label:"永善县"},{value:"530602",label:"昭阳区"},{value:"530627",label:"镇雄县"}]}]},{value:"33",label:"浙江省",children:[{value:"3301",label:"杭州市",children:[{value:"330108",label:"滨江区"},{value:"330127",label:"淳安县"},{value:"330111",label:"富阳区"},{value:"330105",label:"拱墅区"},{value:"330182",label:"建德市"},{value:"330112",label:"临安区"},{value:"330113",label:"临平区"},{value:"330114",label:"钱塘区"},{value:"330102",label:"上城区"},{value:"330122",label:"桐庐县"},{value:"330106",label:"西湖区"},{value:"330109",label:"萧山区"},{value:"330110",label:"余杭区"}]},{value:"3305",label:"湖州市",children:[{value:"330523",label:"安吉县"},{value:"330521",label:"德清县"},{value:"330503",label:"南浔区"},{value:"330502",label:"吴兴区"},{value:"330522",label:"长兴县"}]},{value:"3304",label:"嘉兴市",children:[{value:"330481",label:"海宁市"},{value:"330424",label:"海盐县"},{value:"330421",label:"嘉善县"},{value:"330402",label:"南湖区"},{value:"330482",label:"平湖市"},{value:"330483",label:"桐乡市"},{value:"330411",label:"秀洲区"}]},{value:"3307",label:"金华市",children:[{value:"330783",label:"东阳市"},{value:"330703",label:"金东区"},{value:"330781",label:"兰溪市"},{value:"330727",label:"磐安县"},{value:"330726",label:"浦江县"},{value:"330723",label:"武义县"},{value:"330702",label:"婺城区"},{value:"330782",label:"义乌市"},{value:"330784",label:"永康市"}]},{value:"3311",label:"丽水市",children:[{value:"331122",label:"缙云县"},{value:"331127",label:"景宁畲族自治县"},{value:"331102",label:"莲都区"},{value:"331181",label:"龙泉市"},{value:"331121",label:"青田县"},{value:"331126",label:"庆元县"},{value:"331124",label:"松阳县"},{value:"331123",label:"遂昌县"},{value:"331125",label:"云和县"}]},{value:"3302",label:"宁波市",children:[{value:"330206",label:"北仑区"},{value:"330282",label:"慈溪市"},{value:"330213",label:"奉化区"},{value:"330203",label:"海曙区"},{value:"330205",label:"江北区"},{value:"330226",label:"宁海县"},{value:"330225",label:"象山县"},{value:"330212",label:"鄞州区"},{value:"330281",label:"余姚市"},{value:"330211",label:"镇海区"}]},{value:"3308",label:"衢州市",children:[{value:"330822",label:"常山县"},{value:"330881",label:"江山市"},{value:"330824",label:"开化县"},{value:"330802",label:"柯城区"},{value:"330825",label:"龙游县"},{value:"330803",label:"衢江区"}]},{value:"3306",label:"绍兴市",children:[{value:"330603",label:"柯桥区"},{value:"330604",label:"上虞区"},{value:"330683",label:"嵊州市"},{value:"330624",label:"新昌县"},{value:"330602",label:"越城区"},{value:"330681",label:"诸暨市"}]},{value:"3310",label:"台州市",children:[{value:"331003",label:"黄岩区"},{value:"331002",label:"椒江区"},{value:"331082",label:"临海市"},{value:"331004",label:"路桥区"},{value:"331022",label:"三门县"},{value:"331023",label:"天台县"},{value:"331081",label:"温岭市"},{value:"331024",label:"仙居县"},{value:"331083",label:"玉环市"}]},{value:"3303",label:"温州市",children:[{value:"330327",label:"苍南县"},{value:"330305",label:"洞头区"},{value:"330382",label:"乐清市"},{value:"330383",label:"龙港市"},{value:"330303",label:"龙湾区"},{value:"330302",label:"鹿城区"},{value:"330304",label:"瓯海区"},{value:"330326",label:"平阳县"},{value:"330381",label:"瑞安市"},{value:"330329",label:"泰顺县"},{value:"330328",label:"文成县"},{value:"330324",label:"永嘉县"}]},{value:"3309",label:"舟山市",children:[{value:"330921",label:"岱山县"},{value:"330902",label:"定海区"},{value:"330903",label:"普陀区"},{value:"330922",label:"嵊泗县"}]}]}],Ko=["tabindex"],Zo={class:"flex items-center gap-2 flex-1 overflow-hidden"},Qo={key:0,class:"truncate"},Jo={key:1,class:"text-gray-400"},eu={key:0,class:"absolute z-[9999] mt-1 bg-white border border-gray-300 rounded-md shadow-lg",style:{minWidth:"100%",width:"max-content"}},lu={key:0,class:"p-3 border-b border-gray-200"},au={class:"relative"},tu=["placeholder"],nu={key:0,class:"mt-2 text-xs text-gray-500 flex items-center gap-1"},ou={class:"font-medium"},uu={key:1,class:"max-h-80 overflow-y-auto",style:{"min-width":"600px"}},su={class:"px-3 py-2 text-xs text-gray-500 bg-gray-50 sticky top-0"},cu=["onClick"],ru={class:"flex items-center justify-between"},iu={class:"flex-1"},du=["innerHTML"],vu={class:"ml-2 text-xs text-gray-400"},bu={key:0,class:"text-xs text-gray-500 mt-1"},gu={key:2,class:"flex",style:{"min-width":"600px"}},fu=["onClick","innerHTML"],mu=["onClick","innerHTML"],hu=["onClick","innerHTML"],pu={key:3,class:"px-4 py-8 text-center text-gray-400"},yu={key:4,class:"px-4 py-8 text-center text-gray-400"},ku=e.defineComponent({__name:"index",props:{modelValue:{default:()=>[]},placeholder:{default:"请选择地区"},disabled:{type:Boolean,default:!1},customClass:{default:""},separator:{default:" / "},maxLevel:{default:3},searchable:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(l,{expose:u,emit:t}){const a=l,n=t,o=e.ref(!1),s=e.ref(),d=e.ref(),r=e.ref(),i=e.ref(),c=e.ref(),g=e.ref(),h=e.ref(),f=e.ref(),p=e.ref(!1),b=e.ref(""),v=e.ref([]),w=e.ref(!1);let C=null;const x=new Map,S=e.ref(null),V=e.ref(null),B=e.ref(null),N=e.ref([]),m=e.ref([]),P=e.ref([]),E=e.computed(()=>{const M=[];return S.value&&M.push(S.value.label),V.value&&M.push(V.value.label),B.value&&M.push(B.value.label),M.length>0?M.join(a.separator):""}),T=e.computed(()=>"搜索省/市/区,支持智能定位..."),F=e.computed(()=>{const M=[];return S.value&&M.push(S.value.label),V.value&&M.push(V.value.label),B.value&&M.push(B.value.label),M.length>0?M.join(" > "):""}),X=e.computed(()=>{if(!b.value.trim())return N.value;const M=b.value.toLowerCase().trim();return N.value.filter(z=>z.label.toLowerCase().includes(M)||z.value.includes(M))}),I=e.computed(()=>{if(!b.value.trim())return m.value;const M=b.value.toLowerCase().trim();return m.value.filter(z=>z.label.toLowerCase().includes(M)||z.value.includes(M))}),L=e.computed(()=>{if(!b.value.trim())return P.value;const M=b.value.toLowerCase().trim();return P.value.filter(z=>z.label.toLowerCase().includes(M)||z.value.includes(M))});function j(M,z){if(!z||!z.trim())return M;const Y=z.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),W=new RegExp(`(${Y})`,"gi");return M.replace(W,'<span class="bg-yellow-200 font-semibold">$1</span>')}function A(M){return new Promise(z=>{if(!C||!p.value){z([]);return}if(x.has(M)){z(x.get(M));return}const Y=W=>{var U;if(((U=W.data)==null?void 0:U.type)==="children"&&W.data.parent===M){const le=W.data.list||[];x.set(M,le),z(le),C.removeEventListener("message",Y)}};C.addEventListener("message",Y),C.postMessage({type:"children",payload:{parent:M}}),setTimeout(()=>{C.removeEventListener("message",Y),z([])},5e3)})}function y(){return new Promise(M=>{if(!C||!p.value){M([]);return}const z=Y=>{var W;if(((W=Y.data)==null?void 0:W.type)==="roots"){const U=Y.data.list||[];M(U),C.removeEventListener("message",z)}};C.addEventListener("message",z),C.postMessage({type:"roots"}),setTimeout(()=>{C.removeEventListener("message",z),M([])},5e3)})}const k=async()=>{a.disabled||(o.value=!o.value,o.value&&(N.value.length===0&&(N.value=await y()),await $(),a.searchable&&setTimeout(()=>{var M;(M=d.value)==null||M.focus()},100)))},$=async()=>{if(S.value&&a.maxLevel>=2){const M=await A(S.value.value);m.value=M,console.log("[RegionCascader] 恢复省份选择,加载城市:",M.length),await e.nextTick(),R()}if(V.value&&a.maxLevel>=3){const M=await A(V.value.value);P.value=M,console.log("[RegionCascader] 恢复城市选择,加载区县:",M.length),await e.nextTick(),G()}B.value&&a.maxLevel>=3&&(await e.nextTick(),D())},_=(M,z,Y)=>{if(!z||!M)return;const W=M.clientHeight,U=z.offsetTop,le=z.clientHeight,de=U-W/2+le/2;M.scrollTo({top:Math.max(0,de),behavior:"auto"}),console.log("[RegionCascader] 滚动到:",Y)},R=()=>{var M;_(r.value,g.value,((M=S.value)==null?void 0:M.label)||"")},G=()=>{var M;_(i.value,h.value,((M=V.value)==null?void 0:M.label)||"")},D=()=>{var M;_(c.value,f.value,((M=B.value)==null?void 0:M.label)||"")},O=()=>{o.value=!1,b.value=""};let H=null;const Z=()=>{H&&clearTimeout(H),H=setTimeout(()=>{ae()},300)},ae=()=>{const M=b.value.trim();if(!M){v.value=[],w.value=!1;return}if(w.value=!0,C&&p.value){const z=Y=>{var W;((W=Y.data)==null?void 0:W.type)==="searchResults"&&Y.data.keyword===M&&(v.value=Y.data.results||[],w.value=!1,C.removeEventListener("message",z))};C.addEventListener("message",z),C.postMessage({type:"search",payload:{keyword:M,parentValue:null}}),setTimeout(()=>{C.removeEventListener("message",z),w.value=!1},3e3)}else w.value=!1},ee=()=>{var M;b.value="",v.value=[],w.value=!1,(M=d.value)==null||M.focus()},Q=async M=>{if(console.log("[RegionCascader] 选择省份:",M.label,"maxLevel:",a.maxLevel),S.value=M,V.value=null,B.value=null,m.value=[],P.value=[],b.value="",e.nextTick(()=>{R()}),a.maxLevel===1){console.log("[RegionCascader] maxLevel=1,关闭下拉框"),oe(),O();return}if(!M.leaf&&a.maxLevel>=2){console.log("[RegionCascader] 加载城市列表...");const z=await A(M.value);m.value=z,console.log("[RegionCascader] 城市列表加载完成:",z.length,"个城市"),console.log("[RegionCascader] 下拉框状态 isOpen:",o.value),a.searchable&&setTimeout(()=>{var Y;(Y=d.value)==null||Y.focus()},100)}else console.log("[RegionCascader] 省份是叶子节点或maxLevel<2,关闭下拉框"),oe(),O()},te=async M=>{if(V.value=M,B.value=null,P.value=[],b.value="",e.nextTick(()=>{G()}),a.maxLevel===2){oe(),O();return}!M.leaf&&a.maxLevel>=3?(P.value=await A(M.value),a.searchable&&setTimeout(()=>{var z;(z=d.value)==null||z.focus()},100)):(oe(),O())},ne=M=>{B.value=M,e.nextTick(()=>{D()}),oe(),O()},se=async M=>{if(!M.path||!M.pathLabels)return;b.value="",v.value=[];const z=M.path,Y=M.pathLabels,W=M.level||z.length;if(N.value.length===0&&(N.value=await y()),W===1){const U={value:z[0],label:Y[0],leaf:!1};await Q(U)}else if(W===2){S.value={value:z[0],label:Y[0],leaf:!1},m.value=await A(z[0]);const U={value:z[1],label:Y[1],leaf:!1};await te(U)}else if(W===3){S.value={value:z[0],label:Y[0],leaf:!1},m.value=await A(z[0]),V.value={value:z[1],label:Y[1],leaf:!1},P.value=await A(z[1]);const U={value:z[2],label:Y[2],leaf:!0};ne(U)}},oe=()=>{const M=[],z=[];S.value&&(M.push(S.value.value),z.push(S.value.label)),V.value&&(M.push(V.value.value),z.push(V.value.label)),B.value&&(M.push(B.value.value),z.push(B.value.label)),n("update:modelValue",M),n("change",M,z)},re=()=>{try{C=new Worker(new URL("/assets/areas.worker-DsqyaTvS.js",typeof document>"u"?require("url").pathToFileURL(__filename).href:Ee&&Ee.tagName.toUpperCase()==="SCRIPT"&&Ee.src||new URL("index.js",document.baseURI).href),{type:"module"}),C.onmessage=M=>{var z,Y;((z=M.data)==null?void 0:z.type)==="ready"?(p.value=!0,console.log("[RegionCascader] Worker初始化完成")):((Y=M.data)==null?void 0:Y.type)==="error"&&console.error("[RegionCascader] Worker错误:",M.data.error)},C.onerror=M=>{console.error("[RegionCascader] Worker error:",M)},C.postMessage({type:"init",payload:{root:qo}})}catch(M){console.error("[RegionCascader] Failed to create worker:",M)}};e.onMounted(async()=>{re();const M=z=>{s.value&&!s.value.contains(z.target)&&O()};document.addEventListener("click",M),e.onUnmounted(()=>{document.removeEventListener("click",M),C&&(C.terminate(),C=null)})});async function ie(M){var z,Y,W;if(!M||M.length===0){S.value=null,V.value=null,B.value=null,N.value=[],m.value=[],P.value=[];return}console.log("[RegionCascader] 恢复选中状态:",M);try{if(N.value.length===0&&(N.value=await y()),M[0]){const U=N.value.find(le=>le.value===M[0]);if(U){if(S.value=U,M[1]&&a.maxLevel>=2){m.value=await A(M[0]);const le=m.value.find(de=>de.value===M[1]);if(le&&(V.value=le,M[2]&&a.maxLevel>=3)){P.value=await A(M[1]);const de=P.value.find(xe=>xe.value===M[2]);de&&(B.value=de)}}}else console.warn("[RegionCascader] 未找到省份代码:",M[0])}console.log("[RegionCascader] 恢复完成:",{province:(z=S.value)==null?void 0:z.label,city:(Y=V.value)==null?void 0:Y.label,district:(W=B.value)==null?void 0:W.label})}catch(U){console.error("[RegionCascader] 恢复选中状态失败:",U)}}return e.watch(()=>a.modelValue,async M=>{console.log("[RegionCascader] modelValue changed:",M),await ie(M)},{deep:!0,immediate:!1}),e.watch(p,async M=>{M&&a.modelValue&&a.modelValue.length>0&&(console.log("[RegionCascader] Worker就绪,开始恢复初始值:",a.modelValue),await ie(a.modelValue))},{immediate:!0}),u({worker:C,workerReady:p,loadChildren:A,clearCache:()=>x.clear()}),(M,z)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"containerRef",ref:s,class:"region-cascader-container relative"},[e.createElementVNode("div",{onClick:k,class:e.normalizeClass(["w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-[#1a1a1a] focus:border-[#1a1a1a] transition-colors duration-200 cursor-pointer bg-white flex items-center justify-between",l.customClass,{"opacity-60 cursor-not-allowed":l.disabled}]),tabindex:l.disabled?-1:0,onKeydown:[e.withKeys(k,["enter"]),e.withKeys(k,["space"]),e.withKeys(O,["escape"])]},[e.createElementVNode("div",Zo,[E.value?(e.openBlock(),e.createElementBlock("span",Qo,e.toDisplayString(E.value),1)):(e.openBlock(),e.createElementBlock("span",Jo,e.toDisplayString(l.placeholder),1))]),(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass(["w-5 h-5 text-gray-400 transition-transform duration-200 flex-shrink-0",{"rotate-180":o.value}]),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[...z[2]||(z[2]=[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"},null,-1)])],2))],42,Ko),o.value&&!l.disabled?(e.openBlock(),e.createElementBlock("div",eu,[l.searchable?(e.openBlock(),e.createElementBlock("div",lu,[e.createElementVNode("div",au,[e.withDirectives(e.createElementVNode("input",{ref_key:"searchInputRef",ref:d,"onUpdate:modelValue":z[0]||(z[0]=Y=>b.value=Y),type:"text",placeholder:T.value,class:"w-full px-3 py-2 pl-9 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-[#1a1a1a] focus:border-[#1a1a1a] transition-colors",onInput:Z,onKeydown:z[1]||(z[1]=e.withModifiers(()=>{},["stop"]))},null,40,tu),[[e.vModelText,b.value]]),z[4]||(z[4]=e.createElementVNode("svg",{class:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})],-1)),b.value?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:ee,class:"absolute right-3 top-1/2 -translate-y-1/2 text-gray-400 hover:text-gray-600"},[...z[3]||(z[3]=[e.createElementVNode("svg",{class:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)])])):e.createCommentVNode("",!0)]),F.value?(e.openBlock(),e.createElementBlock("div",nu,[z[5]||(z[5]=e.createElementVNode("span",null,"当前:",-1)),e.createElementVNode("span",ou,e.toDisplayString(F.value),1)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),l.searchable&&b.value&&v.value.length>0?(e.openBlock(),e.createElementBlock("div",uu,[e.createElementVNode("div",su," 找到 "+e.toDisplayString(v.value.length)+" 个结果(点击自动定位) ",1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,Y=>(e.openBlock(),e.createElementBlock("div",{key:Y.value,onClick:e.withModifiers(W=>se(Y),["stop"]),class:"px-3 py-2 hover:bg-gray-50 cursor-pointer transition-colors border-b border-gray-100"},[e.createElementVNode("div",ru,[e.createElementVNode("div",iu,[e.createElementVNode("span",{innerHTML:j(Y.label,b.value),class:"font-medium"},null,8,du),e.createElementVNode("span",vu,e.toDisplayString(["","省","市","区"][Y.level||0]),1)])]),Y.pathLabels&&Y.pathLabels.length>1?(e.openBlock(),e.createElementBlock("div",bu,e.toDisplayString(Y.pathLabels.slice(0,-1).join(" > ")),1)):e.createCommentVNode("",!0)],8,cu))),128))])):e.createCommentVNode("",!0),!l.searchable||!b.value||v.value.length===0?(e.openBlock(),e.createElementBlock("div",gu,[e.createElementVNode("div",{ref_key:"provinceListRef",ref:r,class:"flex-1 border-r border-gray-200 max-h-60 overflow-y-auto min-w-[200px]"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(X.value,Y=>{var W;return e.openBlock(),e.createElementBlock("div",{key:Y.value,ref_for:!0,ref:U=>{var le;((le=S.value)==null?void 0:le.value)===Y.value&&(g.value=U)},onClick:e.withModifiers(U=>Q(Y),["stop"]),class:e.normalizeClass(["px-3 py-2 hover:bg-gray-50 cursor-pointer transition-colors whitespace-nowrap",{"bg-blue-50 text-blue-600":((W=S.value)==null?void 0:W.value)===Y.value}]),innerHTML:j(Y.label,b.value)},null,10,fu)}),128))],512),I.value.length>0?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"cityListRef",ref:i,class:"flex-1 border-r border-gray-200 max-h-60 overflow-y-auto min-w-[200px]"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I.value,Y=>{var W;return e.openBlock(),e.createElementBlock("div",{key:Y.value,ref_for:!0,ref:U=>{var le;((le=V.value)==null?void 0:le.value)===Y.value&&(h.value=U)},onClick:e.withModifiers(U=>te(Y),["stop"]),class:e.normalizeClass(["px-3 py-2 hover:bg-gray-50 cursor-pointer transition-colors whitespace-nowrap",{"bg-blue-50 text-blue-600":((W=V.value)==null?void 0:W.value)===Y.value}]),innerHTML:j(Y.label,b.value)},null,10,mu)}),128))],512)):e.createCommentVNode("",!0),L.value.length>0?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"districtListRef",ref:c,class:"flex-1 border-r border-gray-200 max-h-60 overflow-y-auto min-w-[200px]"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(L.value,Y=>{var W;return e.openBlock(),e.createElementBlock("div",{key:Y.value,ref_for:!0,ref:U=>{var le;((le=B.value)==null?void 0:le.value)===Y.value&&(f.value=U)},onClick:e.withModifiers(U=>ne(Y),["stop"]),class:e.normalizeClass(["px-3 py-2 hover:bg-gray-50 cursor-pointer transition-colors whitespace-nowrap",{"bg-blue-50 text-blue-600":((W=B.value)==null?void 0:W.value)===Y.value}]),innerHTML:j(Y.label,b.value)},null,10,hu)}),128))],512)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),p.value?N.value.length===0?(e.openBlock(),e.createElementBlock("div",yu,[...z[7]||(z[7]=[e.createElementVNode("div",{class:"mb-2"},"暂无数据",-1)])])):e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",pu,[...z[6]||(z[6]=[e.createElementVNode("div",{class:"mb-2"},"正在初始化地区数据...",-1),e.createElementVNode("div",{class:"text-xs"},"请稍候",-1)])]))])):e.createCommentVNode("",!0),o.value&&!l.disabled?(e.openBlock(),e.createElementBlock("div",{key:1,class:"fixed inset-0 z-[9998]",onClick:O})):e.createCommentVNode("",!0)],512))}}),wu=K(ku,[["__scopeId","data-v-a14f703f"]]),Cu=e.defineComponent({__name:"fireworks",setup(l){const u=e.ref([]);let t=0;const a=n=>{const o=n.currentTarget.getBoundingClientRect(),s=n.clientX-o.left,d=n.clientY-o.top,r={x:s,y:d,id:t++};u.value.push(r),setTimeout(()=>{const i=u.value.findIndex(c=>c.id===r.id);i>-1&&u.value.splice(i,1)},1250)};return(n,o)=>(e.openBlock(),e.createElementBlock("div",{class:"fireworks-wrapper",onClick:a},[e.renderSlot(n.$slots,"default",{},void 0,!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value,(s,d)=>(e.openBlock(),e.createElementBlock("div",{key:d,class:"firework-effect",style:e.normalizeStyle({left:`${s.x}px`,top:`${s.y}px`})},[...o[0]||(o[0]=[e.createElementVNode("div",{class:"firework-particle"},null,-1)])],4))),128))]))}}),xu=K(Cu,[["__scopeId","data-v-3d86407c"]]),Su={class:"glow-button-wrapper"},Eu={class:"text"},$u={"aria-hidden":"true",class:"particle-pen"},Bu=e.defineComponent({__name:"glow",props:{text:{default:"Button"},color:{default:"#8b5cf6"},size:{default:"medium"}},emits:["click"],setup(l,{emit:u}){const t=l,a=u,n=i=>{i=i.replace("#","");const c=parseInt(i.substring(0,2),16)/255,g=parseInt(i.substring(2,4),16)/255,h=parseInt(i.substring(4,6),16)/255,f=Math.max(c,g,h),p=Math.min(c,g,h);let b=0,v=0;const w=(f+p)/2;if(f!==p){const C=f-p;switch(v=w>.5?C/(2-f-p):C/(f+p),f){case c:b=((g-h)/C+(g<h?6:0))/6;break;case g:b=((h-c)/C+2)/6;break;case h:b=((c-g)/C+4)/6;break}}return{h:Math.round(b*360),s:Math.round(v*100),l:Math.round(w*100)}},o=e.computed(()=>n(t.color)),s={small:"0.9rem",medium:"1.2rem",large:"1.5rem"},d=e.computed(()=>({"--hue":o.value.h,"--saturation":`${o.value.s}%`,"--lightness":`${o.value.l}%`,"--font-size":s[t.size]})),r=i=>{a("click",i)};return(i,c)=>(e.openBlock(),e.createElementBlock("div",Su,[e.createElementVNode("button",{class:"glow-button",style:e.normalizeStyle(d.value),onClick:r},[c[0]||(c[0]=e.createStaticVNode('<span class="spark" data-v-0c48f8a7></span><span class="backdrop" data-v-0c48f8a7></span><svg class="sparkle" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-0c48f8a7><path d="M14.187 8.096L15 5.25L15.813 8.096C16.0231 8.83114 16.4171 9.50062 16.9577 10.0413C17.4984 10.5819 18.1679 10.9759 18.903 11.186L21.75 12L18.904 12.813C18.1689 13.0231 17.4994 13.4171 16.9587 13.9577C16.4181 14.4984 16.0241 15.1679 15.814 15.903L15 18.75L14.187 15.904C13.9769 15.1689 13.5829 14.4994 13.0423 13.9587C12.5016 13.4181 11.8321 13.0241 11.097 12.814L8.25 12L11.096 11.187C11.8311 10.9769 12.5006 10.5829 13.0413 10.0423C13.5819 9.50162 13.9759 8.83214 14.186 8.097L14.187 8.096Z" fill="currentColor" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" data-v-0c48f8a7></path><path d="M6 14.25L5.741 15.285C5.59267 15.8785 5.28579 16.4206 4.85319 16.8532C4.42059 17.2858 3.87853 17.5927 3.285 17.741L2.25 18L3.285 18.259C3.87853 18.4073 4.42059 18.7142 4.85319 19.1468C5.28579 19.5794 5.59267 20.1215 5.741 20.715L6 21.75L6.259 20.715C6.40725 20.1216 6.71398 19.5796 7.14639 19.147C7.5788 18.7144 8.12065 18.4075 8.714 18.259L9.75 18L8.714 17.741C8.12065 17.5925 7.5788 17.2856 7.14639 16.853C6.71398 16.4204 6.40725 15.8784 6.259 15.285L6 14.25Z" fill="currentColor" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" data-v-0c48f8a7></path><path d="M6.5 4L6.303 4.5915C6.24777 4.75718 6.15472 4.90774 6.03123 5.03123C5.90774 5.15472 5.75718 5.24777 5.5915 5.303L5 5.5L5.5915 5.697C5.75718 5.75223 5.90774 5.84528 6.03123 5.96877C6.15472 6.09226 6.24777 6.24282 6.303 6.4085L6.5 7L6.697 6.4085C6.75223 6.24282 6.84528 6.09226 6.96877 5.96877C7.09226 5.84528 7.24282 5.75223 7.4085 5.697L8 5.5L7.4085 5.303C7.24282 5.24777 7.09226 5.15472 6.96877 5.03123C6.84528 4.90774 6.75223 4.75718 6.697 4.5915L6.5 4Z" fill="currentColor" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" data-v-0c48f8a7></path></svg>',3)),e.createElementVNode("span",Eu,[e.renderSlot(i.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(l.text),1)],!0)])],4),c[2]||(c[2]=e.createElementVNode("div",{class:"bodydrop"},null,-1)),e.createElementVNode("span",$u,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(20,g=>e.createElementVNode("svg",{key:g,class:"particle",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[...c[1]||(c[1]=[e.createElementVNode("path",{d:"M6.937 3.846L7.75 1L8.563 3.846C8.77313 4.58114 9.1671 5.25062 9.70774 5.79126C10.2484 6.3319 10.9179 6.72587 11.653 6.936L14.5 7.75L11.654 8.563C10.9189 8.77313 10.2494 9.1671 9.70874 9.70774C9.1681 10.2484 8.77413 10.9179 8.564 11.653L7.75 14.5L6.937 11.654C6.72687 10.9189 6.3329 10.2494 5.79226 9.70874C5.25162 9.1681 4.58214 8.77413 3.847 8.564L1 7.75L3.846 6.937C4.58114 6.72687 5.25062 6.3329 5.79126 5.79226C6.3319 5.25162 6.72587 4.58214 6.936 3.847L6.937 3.846Z",fill:"currentColor",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])])),64))])]))}}),Mu=K(Bu,[["__scopeId","data-v-0c48f8a7"]]),Vu=["onMouseenter"],Nu={__name:"index",props:{cols:{type:Number,default:3},rows:{type:Number,default:3},width:{type:String,default:"500px"},height:{type:String,default:"500px"},gap:{type:String,default:"10px"},dynamic:{type:Boolean,default:!1},disableColor:{type:Boolean,default:!1},contentFill:{type:Boolean,default:!1},lockGrid:{type:Boolean,default:!1}},setup(l){const u=l,t=e.ref(null),a=e.ref(0),n=e.computed(()=>{const g={width:u.width,height:u.height,display:"grid",gap:u.gap,"--grid-cols":u.cols,"--grid-rows":u.rows};if(u.lockGrid)return{...g,gridTemplateColumns:`repeat(${u.cols}, 1fr)`,gridTemplateRows:`repeat(${u.rows}, 1fr)`};if(a.value>0){const h=Math.floor((a.value-1)/u.cols)+1,f=(a.value-1)%u.cols+1,p=Array.from({length:u.cols},(v,w)=>w+1===f?"2fr":"1fr").join(" "),b=Array.from({length:u.rows},(v,w)=>w+1===h?"2fr":"1fr").join(" ");return{...g,gridTemplateColumns:p,gridTemplateRows:b}}return{...g,gridTemplateColumns:`repeat(${u.cols}, 1fr)`,gridTemplateRows:`repeat(${u.rows}, 1fr)`}}),o=e.computed(()=>u.dynamic),s=e.computed(()=>Math.max(1,u.rows*u.cols));function d(g){if(!a.value)return!1;const h=Math.floor((g-1)/u.cols),f=(g-1)%u.cols,p=Math.floor((a.value-1)/u.cols),b=(a.value-1)%u.cols;return h===p&&Math.abs(f-b)===1||f===b&&Math.abs(h-p)===1}function r(g){return a.value?u.dynamic?{dim:a.value!==g&&!d(g),active:a.value===g,neighbor:d(g)}:{dim:a.value!==g&&!d(g),active:a.value===g,neighbor:d(g)}:u.dynamic?void 0:""}function i(g){a.value=g}function c(){a.value=0}return(g,h)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"containerRef",ref:t,class:e.normalizeClass(["container",[{dynamic:o.value},{"no-color":l.disableColor},{"content-fill":l.contentFill}]]),style:e.normalizeStyle(n.value)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,f=>(e.openBlock(),e.createElementBlock("div",{key:f,class:e.normalizeClass(["item",r(f)]),onMouseenter:p=>i(f),onMouseleave:c},[e.renderSlot(g.$slots,"default",{index:f},void 0,!0)],42,Vu))),128))],6))}},yl=K(Nu,[["__scopeId","data-v-00fdffcb"]]),Pu=e.defineComponent({__name:"index",props:{cols:{default:3},rows:{},gap:{default:"16px"},colWidth:{default:"1fr"},rowHeight:{default:"auto"},items:{default:()=>[]},minColWidth:{},justifyItems:{default:"stretch"},alignItems:{default:"stretch"},width:{default:"100%"},height:{default:"auto"}},setup(l){const u=l,t=e.computed(()=>{const n={gap:u.gap,justifyItems:u.justifyItems,alignItems:u.alignItems,width:u.width,height:u.height};return u.minColWidth?n.gridTemplateColumns=`repeat(auto-fit, minmax(${u.minColWidth}, 1fr))`:n.gridTemplateColumns=`repeat(${u.cols}, ${u.colWidth})`,u.rows&&(n.gridTemplateRows=`repeat(${u.rows}, ${u.rowHeight})`),n}),a=e.computed(()=>({}));return(n,o)=>(e.openBlock(),e.createElementBlock("div",{class:"x-grid",style:e.normalizeStyle(t.value)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.items,(s,d)=>(e.openBlock(),e.createElementBlock("div",{key:d,class:"x-grid-item",style:e.normalizeStyle(a.value)},[e.renderSlot(n.$slots,"item",{item:s,index:d},()=>[e.createTextVNode(e.toDisplayString(s),1)],!0)],4))),128))],4))}}),ju=K(Pu,[["__scopeId","data-v-f83cff5e"]]),Tu=["width","height"],Du={key:0,class:"x-qrcode-loading"},Lu={key:0,class:"x-qrcode-loading-text"},_u={key:1,class:"x-qrcode-error"},Au={key:0,class:"x-qrcode-error-text"},zu=e.defineComponent({__name:"index",props:{value:{},options:{},logo:{},logoSize:{default:40},size:{default:200},backgroundColor:{default:"#ffffff"},foregroundColor:{default:"#1a1a1a"},errorCorrectionLevel:{default:"H"},type:{default:"normal"},bordered:{type:Boolean,default:!0},borderColor:{default:"#d9d9d9"},borderWidth:{default:1},loadingText:{default:"生成中..."},errorText:{default:"生成失败"}},emits:["success","error"],setup(l,{expose:u,emit:t}){const a=l,n=t,o=e.computed(()=>{var w,C,x,S,V,B,N,m,P,E,T,F;return{size:((w=a.options)==null?void 0:w.size)??a.size,logoSize:((C=a.options)==null?void 0:C.logoSize)??a.logoSize,backgroundColor:((x=a.options)==null?void 0:x.backgroundColor)??a.backgroundColor,foregroundColor:((S=a.options)==null?void 0:S.foregroundColor)??a.foregroundColor,errorCorrectionLevel:((V=a.options)==null?void 0:V.errorCorrectionLevel)??a.errorCorrectionLevel,type:((B=a.options)==null?void 0:B.type)??a.type,logo:((N=a.options)==null?void 0:N.logo)??a.logo,bordered:((m=a.options)==null?void 0:m.bordered)??a.bordered,borderColor:((P=a.options)==null?void 0:P.borderColor)??a.borderColor,borderWidth:((E=a.options)==null?void 0:E.borderWidth)??a.borderWidth,loadingText:((T=a.options)==null?void 0:T.loadingText)??a.loadingText,errorText:((F=a.options)==null?void 0:F.errorText)??a.errorText}}),s=e.ref(),d=e.ref(!1),r=e.ref(!1),i=e.computed(()=>o.value.size),c=e.computed(()=>o.value.bordered?o.value.size+o.value.borderWidth*2:o.value.size),g=e.computed(()=>["x-qrcode",{"x-qrcode-bordered":o.value.bordered,"x-qrcode-loading":d.value,"x-qrcode-error":r.value}]),h=e.computed(()=>({width:`${c.value}px`,height:`${c.value}px`})),f=e.computed(()=>({width:`${o.value.size}px`,height:`${o.value.size}px`,border:o.value.bordered?`${o.value.borderWidth}px solid ${o.value.borderColor}`:"none",borderRadius:"4px"}));async function p(w,C){try{const x=(await Promise.resolve().then(()=>require("./assets/browser-Bfcp93e9.js")).then(m=>m.browser)).default,S=s.value;if(!S)throw new Error("Canvas not found");const V=o.value,B={errorCorrectionLevel:V.errorCorrectionLevel,margin:1},N=x.create(w,B);V.type==="normal"?await x.toCanvas(S,w,{width:C,margin:1,color:{dark:V.foregroundColor.startsWith("gradient")?"#000000":V.foregroundColor,light:V.backgroundColor},errorCorrectionLevel:V.errorCorrectionLevel}):b(N,S,C)}catch(x){throw new Error(`Failed to generate QR code: ${x}`)}}function b(w,C,x){const S=C.getContext("2d");if(!S)return;const V=o.value,B=w.modules,N=B.size,m=1,P=N+m*2,E=x/P;S.fillStyle=V.backgroundColor,S.fillRect(0,0,x,x),S.fillStyle=V.foregroundColor;for(let T=0;T<N;T++)for(let F=0;F<N;F++)if(B.get(T,F)){const I=(F+m)*E,L=(T+m)*E;if(V.type==="dots")S.beginPath(),S.arc(I+E/2,L+E/2,E*.46,0,Math.PI*2),S.fill();else if(V.type==="rounded"){const j=Math.min(E*.28,3),A=E*.03,y=I+A,k=L+A,$=E-A*2,_=E-A*2;S.beginPath(),S.moveTo(y+j,k),S.lineTo(y+$-j,k),S.arcTo(y+$,k,y+$,k+j,j),S.lineTo(y+$,k+_-j),S.arcTo(y+$,k+_,y+$-j,k+_,j),S.lineTo(y+j,k+_),S.arcTo(y,k+_,y,k+_-j,j),S.lineTo(y,k+j),S.arcTo(y,k,y+j,k,j),S.closePath(),S.fill()}}}async function v(){if(!a.value){r.value=!0,n("error",new Error("Value is required"));return}d.value=!0,r.value=!1;try{await p(a.value,o.value.size),d.value=!1,n("success")}catch(w){d.value=!1,r.value=!0,n("error",w)}}return e.watch(()=>[a.value,a.options,a.size,a.backgroundColor,a.foregroundColor,a.logo,a.logoSize,a.type],()=>{e.nextTick(()=>{v()})},{deep:!0}),e.onMounted(()=>{v()}),u({refresh:v}),(w,C)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(g.value),style:e.normalizeStyle(h.value)},[e.createElementVNode("canvas",{ref_key:"canvasRef",ref:s,width:i.value,height:i.value,style:e.normalizeStyle(f.value)},null,12,Tu),d.value?(e.openBlock(),e.createElementBlock("div",Du,[C[0]||(C[0]=e.createElementVNode("div",{class:"x-qrcode-spinner"},null,-1)),o.value.loadingText?(e.openBlock(),e.createElementBlock("span",Lu,e.toDisplayString(o.value.loadingText),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("div",_u,[C[1]||(C[1]=e.createElementVNode("div",{class:"x-qrcode-error-icon"},"⚠️",-1)),o.value.errorText?(e.openBlock(),e.createElementBlock("span",Au,e.toDisplayString(o.value.errorText),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],6))}}),Iu=K(zu,[["__scopeId","data-v-b73833d2"]]),Ou=["value","checked","disabled","name","onChange"],Yu=["data-icon"],Fu={key:1,class:"label"},Ru=e.defineComponent({__name:"index",props:{modelValue:{},options:{},direction:{default:"vertical"},size:{default:"medium"},block:{type:Boolean,default:!1},name:{default:"segmented"},iconInvert:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(l,{emit:u}){const t=l,a=u,n=e.computed(()=>t.options.findIndex(r=>r.value===t.modelValue)),o=e.computed(()=>{const r=n.value;if(r===-1)return{};const i=t.options[r],c=t.size==="small"?3:t.size==="large"?6:4;return t.direction==="horizontal"?{transform:`translateX(calc(${r} * (100% + ${c}px)))`,backgroundColor:i.color||s(r)}:{transform:`translateY(calc(${r} * (100% + ${c}px)))`,backgroundColor:i.color||s(r)}}),s=r=>{const i=["#000000","#1f9cf1","#ff9801","#10b981","#8b5cf6","#ef4444"];return i[r%i.length]},d=r=>{a("update:modelValue",r),a("change",r)};return e.onMounted(()=>{if(typeof window<"u"&&!document.querySelector("#iconify-script")){const r=document.createElement("script");r.id="iconify-script",r.src="https://code.iconify.design/3/3.1.0/iconify.min.js",document.head.appendChild(r)}}),(r,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["x-segmented",[`direction-${l.direction}`,`size-${l.size}`,{block:l.block},{"icon-invert":l.iconInvert}]]),style:e.normalizeStyle({"--option-count":l.options.length})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.options,c=>(e.openBlock(),e.createElementBlock("label",{key:c.value,class:e.normalizeClass({disabled:c.disabled})},[e.createElementVNode("input",{value:c.value,checked:l.modelValue===c.value,disabled:c.disabled,name:l.name,type:"radio",onChange:g=>d(c.value)},null,40,Ou),c.icon?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["icon",`iconify ${c.icon}`]),"data-icon":c.icon},null,10,Yu)):e.createCommentVNode("",!0),c.label?(e.openBlock(),e.createElementBlock("span",Fu,e.toDisplayString(c.label),1)):e.createCommentVNode("",!0)],2))),128)),e.createElementVNode("span",{class:"selection",style:e.normalizeStyle(o.value)},null,4)],6))}}),Xu=K(Ru,[["__scopeId","data-v-30b3ebe1"]]),Hu={key:0,class:"x-form__footer"},Wu=e.defineComponent({__name:"index",props:{model:{},rules:{},labelPosition:{default:"right"},labelWidth:{default:"100px"},inline:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["submit","validate"],setup(l,{expose:u,emit:t}){const a=l,n=t,o=e.reactive(new Map),s=e.reactive(new Map),d=(p,b)=>{o.set(p,b)},r=p=>{o.delete(p),s.delete(p)},i=async p=>{var C;const b=(C=a.rules)==null?void 0:C[p];if(!b)return!0;const v=a.model[p],w=Array.isArray(b)?b:[b];for(const x of w){if(x.required&&(!v||typeof v=="string"&&!v.trim()))return s.set(p,x.message||`${p}是必填项`),!1;if(x.pattern&&!x.pattern.test(String(v)))return s.set(p,x.message||`${p}格式不正确`),!1;if(x.min&&String(v).length<x.min)return s.set(p,x.message||`${p}最少${x.min}个字符`),!1;if(x.max&&String(v).length>x.max)return s.set(p,x.message||`${p}最多${x.max}个字符`),!1;if(x.validator&&!await x.validator(v))return s.set(p,x.message||`${p}验证失败`),!1}return s.delete(p),!0},c=async()=>{const p=Array.from(o.keys()).map(C=>i(C)),v=(await Promise.all(p)).every(C=>C),w={};return s.forEach((C,x)=>{w[x]=C}),n("validate",v,w),v},g=()=>{s.clear(),o.forEach((p,b)=>{a.model[b]!==void 0&&(a.model[b]=Array.isArray(a.model[b])?[]:"")})},h=p=>{if(!p){s.clear();return}(Array.isArray(p)?p:[p]).forEach(v=>s.delete(v))},f=async()=>{await c()&&n("submit",a.model)};return e.provide("xForm",{props:a,registerField:d,unregisterField:r,validateField:i,errors:s}),u({validate:c,validateField:i,resetFields:g,clearValidate:h}),(p,b)=>(e.openBlock(),e.createElementBlock("form",{class:e.normalizeClass(["x-form",[`x-form--label-${l.labelPosition}`,{"x-form--inline":l.inline}]]),onSubmit:e.withModifiers(f,["prevent"])},[e.renderSlot(p.$slots,"default",{},void 0,!0),p.$slots.footer?(e.openBlock(),e.createElementBlock("div",Hu,[e.renderSlot(p.$slots,"footer",{},void 0,!0)])):e.createCommentVNode("",!0)],34))}}),Uu=K(Wu,[["__scopeId","data-v-1102bb21"]]),Gu={key:0,class:"x-form-item__asterisk"},qu={class:"x-form-item__content"},Ku={key:0,class:"x-form-item__error"},Zu=e.defineComponent({__name:"index",props:{label:{},prop:{},required:{type:Boolean},rules:{}},setup(l,{expose:u}){const t=l,a=e.inject("xForm",null),n=e.ref(!1),o=e.ref(""),s=e.computed(()=>{if(t.required)return!0;if(!t.prop||!(a!=null&&a.props.rules))return!1;const c=a.props.rules[t.prop];return c?(Array.isArray(c)?c:[c]).some(h=>h.required):!1}),d=e.computed(()=>!t.prop||!a?!1:a.errors.has(t.prop)),r=e.computed(()=>a?{width:a.props.labelWidth}:{});e.watch(()=>a==null?void 0:a.errors.get(t.prop),c=>{o.value=c||""});const i=async c=>{var p;if(!t.prop||!a)return!0;const g=(p=a.props.rules)==null?void 0:p[t.prop];if(!g||!(Array.isArray(g)?g:[g]).some(b=>!b.trigger||b.trigger===c||c==="submit"))return!0;n.value=!0;try{return await a.validateField(t.prop)}finally{n.value=!1}};return e.onMounted(()=>{t.prop&&a&&a.registerField(t.prop,{validate:i})}),e.onUnmounted(()=>{t.prop&&a&&a.unregisterField(t.prop)}),u({validate:i}),(c,g)=>{var h;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["x-form-item",{"x-form-item--error":d.value,"x-form-item--required":s.value,"x-form-item--validating":n.value,"x-form-item--inline":(h=e.unref(a))==null?void 0:h.props.inline}])},[l.label?(e.openBlock(),e.createElementBlock("label",{key:0,class:"x-form-item__label",style:e.normalizeStyle(r.value)},[s.value?(e.openBlock(),e.createElementBlock("span",Gu,"*")):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(l.label),1)],4)):e.createCommentVNode("",!0),e.createElementVNode("div",qu,[e.renderSlot(c.$slots,"default",{},void 0,!0),e.createVNode(e.Transition,{name:"x-form-error"},{default:e.withCtx(()=>[d.value?(e.openBlock(),e.createElementBlock("div",Ku,[g[0]||(g[0]=e.createElementVNode("span",{class:"x-form-item__error-icon"},"!",-1)),e.createTextVNode(" "+e.toDisplayString(o.value),1)])):e.createCommentVNode("",!0)]),_:1})])],2)}}}),Qu=K(Zu,[["__scopeId","data-v-bb52398b"]]),Ju={class:"x-color-picker"},es=["value"],ls=["aria-label","disabled","onClick"],as={key:0,class:"x-color-tooltip"},ts=e.defineComponent({__name:"index",props:{modelValue:{},colors:{},showInput:{type:Boolean,default:!0},showTooltips:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},defaultColor:{default:"#3b82f6"}},emits:["update:modelValue","change"],setup(l,{emit:u}){const t=l,a=u,n=["#e11d48","#f472b6","#fb923c","#facc15","#84cc16","#10b981","#0ea5e9","#3b82f6","#8b5cf6","#a78bfa"],o=e.computed(()=>t.colors||n),s=r=>{t.disabled||(a("update:modelValue",r),a("change",r))},d=r=>{if(t.disabled)return;const i=r.target.value;a("update:modelValue",i),a("change",i)};return(r,i)=>(e.openBlock(),e.createElementBlock("div",Ju,[l.showInput?(e.openBlock(),e.createElementBlock("input",{key:0,type:"color",value:l.modelValue||l.defaultColor,class:"x-color-input",onInput:d},null,40,es)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["x-color-container",{"show-tooltips":l.showTooltips}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,c=>(e.openBlock(),e.createElementBlock("button",{key:c,class:e.normalizeClass(["x-color-item",{active:l.modelValue===c}]),style:e.normalizeStyle({"--color":c}),"aria-label":c,disabled:l.disabled,onClick:g=>s(c)},[l.showTooltips?(e.openBlock(),e.createElementBlock("span",as,e.toDisplayString(c),1)):e.createCommentVNode("",!0)],14,ls))),128))],2)]))}}),ns=K(ts,[["__scopeId","data-v-3fef4ec1"]]),os={key:0,class:"x-badge__text"},us=e.defineComponent({__name:"index",props:{value:{default:0},max:{default:99},dot:{type:Boolean,default:!1},color:{default:"#ff4d4f"},hidden:{type:Boolean,default:!1},animated:{type:Boolean}},setup(l){const u=l,t=e.computed(()=>u.hidden?!1:u.dot?!0:Number(u.value)>0),a=e.computed(()=>{if(u.dot)return"";const o=Number(u.value);return o>u.max?`${u.max}+`:o.toString()}),n=e.computed(()=>({backgroundColor:u.color}));return(o,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["x-badge",{"x-badge--dot":l.dot}])},[e.renderSlot(o.$slots,"default",{},void 0,!0),t.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["x-badge__content",{"x-badge__content--dot":l.dot,"x-badge__content--number":!l.dot}]),style:e.normalizeStyle(n.value)},[l.dot?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",os,e.toDisplayString(a.value),1))],6)):e.createCommentVNode("",!0)],2))}}),ss=K(us,[["__scopeId","data-v-a32e118e"]]),cs={key:0,class:"x-chat-header"},rs={class:"x-chat-header-info"},is={key:0,class:"x-chat-avatar"},ds=["src"],vs={class:"x-chat-header-text"},bs={class:"x-chat-service-name"},gs={key:0,class:"x-chat-empty"},fs={key:0,class:"x-chat-time-divider"},ms={key:0,class:"x-chat-system-message"},hs={key:0,class:"x-chat-message-avatar"},ps=["src","alt"],ys={class:"x-chat-message-content"},ks={class:"x-chat-message-bubble"},ws={key:0,class:"x-chat-message-text"},Cs={key:1,class:"x-chat-message-image"},xs=["src","alt","onClick"],Ss=["onClick"],Es=["src","alt"],$s={class:"x-chat-product-info"},Bs={class:"x-chat-product-name"},Ms={class:"x-chat-product-price"},Vs={class:"x-chat-message-status"},Ns={key:0,class:"x-chat-message-loading"},Ps=["onClick"],js={key:2,class:"x-chat-message-time"},Ts={key:3,class:"x-chat-message-time"},Ds={key:0,class:"x-chat-message x-chat-message--service"},Ls={key:0,class:"x-chat-message-avatar"},_s=["src"],As={key:1,class:"x-chat-input-wrapper"},zs={key:0,class:"x-chat-quick-replies"},Is={class:"x-chat-input-container"},Os={key:0,class:"x-chat-toolbar"},Ys=["title"],Fs={class:"x-chat-input-area"},Rs=["placeholder","disabled","maxlength","onKeydown"],Xs={key:0,class:"x-chat-word-count"},Hs={key:0,class:"x-chat-emoji-picker"},Ws=["onClick"],Us=e.defineComponent({__name:"index",props:{messages:{default:()=>[]},height:{default:"500px"},showHeader:{type:Boolean,default:!0},serviceName:{default:"客服小助手"},serviceAvatar:{default:""},serviceOnline:{type:Boolean,default:!0},showInput:{type:Boolean,default:!0},placeholder:{default:"请输入消息..."},disabled:{type:Boolean,default:!1},maxLength:{default:500},showWordCount:{type:Boolean,default:!1},sendOnEnter:{type:Boolean,default:!0},showToolbar:{type:Boolean,default:!0},enableProduct:{type:Boolean,default:!1},isTyping:{type:Boolean,default:!1},quickReplies:{default:()=>[]},showQuickReplies:{type:Boolean,default:!0},emptyText:{default:"暂无消息"},compact:{type:Boolean,default:!1},userAvatar:{default:""},inputMaxHeight:{default:200},productProvider:{},enableImage:{type:Boolean,default:!1}},emits:["send-message","send-image","select-product","send-product","click-product","click-image","resend","input","focus","blur"],setup(l,{expose:u,emit:t}){const a=l,n=t,o=e.ref(),s=e.ref(""),d=e.ref("hidden"),r=e.computed(()=>({maxHeight:`${a.inputMaxHeight}px`,overflowY:d.value})),i=e.ref(),c=e.ref(),g=e.ref(!1),h=["😀","😃","😄","😁","😊","😇","🙂","🙃","😉","😌","😍","🥰","😘","😗","😙","😚","😋","😛","😝","😜","🤪","🤨","🧐","🤓","😎","🤩","🥳","😏","😒","😞","😔","😟","😕","🙁","☹️","😣","😖","😫","😩","🥺","😢","😭","😤","😠","😡","🤬","🤯","😳","🥵","🥶","👍","👎","👏","🙌","👐","🤝","🙏","✨","💖","❤️"],f=e.computed(()=>s.value.trim().length>0&&!a.disabled),p=()=>{if(!f.value)return;const y=s.value.trim();n("send-message",y),s.value="",o.value&&(o.value.style.height="auto")},b=y=>{a.sendOnEnter&&(y.preventDefault(),p())},v=y=>{if(!a.sendOnEnter)y.preventDefault(),p();else{const k=o.value;if(k){const $=k.selectionStart,_=k.selectionEnd,R=s.value;s.value=R.substring(0,$)+`
|
|
2
|
-
`+R.substring(_),e.nextTick(()=>{k.selectionStart=k.selectionEnd=$+1})}}},w=()=>{if(n("input",s.value),o.value){o.value.style.height="auto";const y=a.inputMaxHeight,k=Math.min(o.value.scrollHeight,y);o.value.style.height=k+"px",d.value=o.value.scrollHeight>y?"auto":"hidden"}},C=()=>{n("focus")},x=()=>{n("blur")},S=()=>{g.value=!g.value},V=y=>{if(o.value){const k=o.value.selectionStart,$=o.value.selectionEnd,_=s.value;s.value=_.substring(0,k)+y+_.substring($),e.nextTick(()=>{if(o.value){o.value.focus();const R=k+y.length;o.value.selectionStart=o.value.selectionEnd=R}})}else s.value+=y},B=()=>{var y;(y=i.value)==null||y.click()},N=y=>{var _;const k=y.target,$=(_=k.files)==null?void 0:_[0];$&&(n("send-image",$),k.value="")},m=async()=>{if(n("select-product"),a.productProvider){try{const k=await a.productProvider();k&&n("send-product",k)}catch{}return}const y={id:Date.now(),name:"示例商品 · 舒适棉质T恤",price:199,image:`https://picsum.photos/seed/${Date.now()%1e3}/200/200`};n("send-product",y)},P=y=>{s.value=y,p()},E=y=>{n("click-product",y)},T=y=>{n("click-image",y)},F=y=>{n("resend",y)},X=y=>{const k=new Date(y),$=new Date,_=$.getTime()-k.getTime();if(_<6e4)return"刚刚";if(_<36e5)return`${Math.floor(_/6e4)}分钟前`;if(k.toDateString()===$.toDateString())return`今天 ${k.getHours().toString().padStart(2,"0")}:${k.getMinutes().toString().padStart(2,"0")}`;const R=new Date($);return R.setDate(R.getDate()-1),k.toDateString()===R.toDateString()?`昨天 ${k.getHours().toString().padStart(2,"0")}:${k.getMinutes().toString().padStart(2,"0")}`:`${k.getMonth()+1}月${k.getDate()}日 ${k.getHours().toString().padStart(2,"0")}:${k.getMinutes().toString().padStart(2,"0")}`},I=y=>{const k=new Date(y);return`${k.getHours().toString().padStart(2,"0")}:${k.getMinutes().toString().padStart(2,"0")}`},L=(y,k)=>{if(k===0)return!0;const $=a.messages[k-1];return $?new Date(y.timestamp).getTime()-new Date($.timestamp).getTime()>3e5:!0},j=(y=!0)=>{e.nextTick(()=>{c.value&&c.value.scrollTo({top:c.value.scrollHeight,behavior:y?"smooth":"auto"})})};e.watch(()=>a.messages,()=>{j()},{deep:!0}),e.watch(()=>a.isTyping,y=>{y&&j()});const A=y=>{const k=y.target;g.value&&!k.closest(".x-chat-emoji-picker")&&!k.closest(".x-chat-tool-btn")&&(g.value=!1)};return e.onMounted(()=>{j(!1),document.addEventListener("click",A)}),e.onUnmounted(()=>{document.removeEventListener("click",A)}),u({scrollToBottom:j,focus:()=>{var y;return(y=o.value)==null?void 0:y.focus()},clear:()=>{s.value=""}}),(y,k)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["x-chat",{"x-chat--compact":l.compact}]),style:e.normalizeStyle({height:l.height})},[l.showHeader?(e.openBlock(),e.createElementBlock("div",cs,[e.createElementVNode("div",rs,[l.serviceAvatar?(e.openBlock(),e.createElementBlock("div",is,[e.createElementVNode("img",{src:l.serviceAvatar,alt:"客服"},null,8,ds)])):e.createCommentVNode("",!0),e.createElementVNode("div",vs,[e.createElementVNode("div",bs,e.toDisplayString(l.serviceName),1),e.createElementVNode("div",{class:e.normalizeClass(["x-chat-service-status",{"x-chat-service-status--online":l.serviceOnline}])},[k[1]||(k[1]=e.createElementVNode("span",{class:"x-chat-status-dot"},null,-1)),e.createTextVNode(" "+e.toDisplayString(l.serviceOnline?"在线":"离线"),1)],2)])]),e.renderSlot(y.$slots,"header-extra",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{ref_key:"messagesContainer",ref:c,class:"x-chat-messages",style:e.normalizeStyle({height:l.height})},[l.messages.length===0?(e.openBlock(),e.createElementBlock("div",gs,[e.createVNode(e.unref(J),{icon:"mdi:chat-outline"}),e.createElementVNode("p",null,e.toDisplayString(l.emptyText),1)])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.messages,($,_)=>(e.openBlock(),e.createElementBlock("div",{key:$.id||_,class:"x-chat-message-wrapper"},[L($,_)?(e.openBlock(),e.createElementBlock("div",fs,[e.createElementVNode("span",null,e.toDisplayString(X($.timestamp)),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["x-chat-message",{"x-chat-message--user":$.type==="user","x-chat-message--service":$.type==="service","x-chat-message--system":$.type==="system"}])},[$.type==="system"?(e.openBlock(),e.createElementBlock("div",ms,e.toDisplayString($.content),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[$.avatar?(e.openBlock(),e.createElementBlock("div",hs,[e.createElementVNode("img",{src:$.avatar,alt:$.type},null,8,ps)])):e.createCommentVNode("",!0),e.createElementVNode("div",ys,[e.createElementVNode("div",ks,[$.content?(e.openBlock(),e.createElementBlock("div",ws,e.toDisplayString($.content),1)):e.createCommentVNode("",!0),$.image?(e.openBlock(),e.createElementBlock("div",Cs,[e.createElementVNode("img",{src:$.image,alt:$.content,onClick:R=>T($.image)},null,8,xs)])):e.createCommentVNode("",!0),$.product?(e.openBlock(),e.createElementBlock("div",{key:2,class:"x-chat-product-card",onClick:R=>E($.product)},[e.createElementVNode("img",{src:$.product.image,alt:$.product.name,class:"x-chat-product-image"},null,8,Es),e.createElementVNode("div",$s,[e.createElementVNode("div",Bs,e.toDisplayString($.product.name),1),e.createElementVNode("div",Ms,"¥"+e.toDisplayString($.product.price),1)])],8,Ss)):e.createCommentVNode("",!0)]),e.createElementVNode("div",Vs,[$.status==="sending"?(e.openBlock(),e.createElementBlock("span",Ns,[e.createVNode(e.unref(J),{icon:"eos-icons:loading"})])):$.status==="failed"?(e.openBlock(),e.createElementBlock("span",{key:1,class:"x-chat-message-failed",onClick:R=>F($)},[e.createVNode(e.unref(J),{icon:"mdi:alert-circle"}),k[2]||(k[2]=e.createTextVNode(" 重发 ",-1))],8,Ps)):$.status==="sent"&&$.type==="user"?(e.openBlock(),e.createElementBlock("span",js,e.toDisplayString(I($.timestamp)),1)):(e.openBlock(),e.createElementBlock("span",Ts,e.toDisplayString(I($.timestamp)),1))])])],64))],2)]))),128)),e.createVNode(e.Transition,{name:"x-chat-typing"},{default:e.withCtx(()=>[l.isTyping?(e.openBlock(),e.createElementBlock("div",Ds,[l.serviceAvatar?(e.openBlock(),e.createElementBlock("div",Ls,[e.createElementVNode("img",{src:l.serviceAvatar,alt:"客服"},null,8,_s)])):e.createCommentVNode("",!0),k[3]||(k[3]=e.createElementVNode("div",{class:"x-chat-message-content"},[e.createElementVNode("div",{class:"x-chat-message-bubble"},[e.createElementVNode("div",{class:"x-chat-typing-indicator"},[e.createElementVNode("span"),e.createElementVNode("span"),e.createElementVNode("span")])])],-1))])):e.createCommentVNode("",!0)]),_:1})],4),l.showInput?(e.openBlock(),e.createElementBlock("div",As,[l.quickReplies.length>0&&l.showQuickReplies?(e.openBlock(),e.createElementBlock("div",zs,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.quickReplies,($,_)=>(e.openBlock(),e.createBlock(me,{key:_,size:"small",type:"text",onClick:R=>P($)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString($),1)]),_:2},1032,["onClick"]))),128))])):e.createCommentVNode("",!0),e.createElementVNode("div",Is,[l.showToolbar?(e.openBlock(),e.createElementBlock("div",Os,[e.createElementVNode("button",{class:"x-chat-tool-btn",onClick:S,title:g.value?"关闭表情":"选择表情"},[e.createVNode(e.unref(J),{icon:"mdi:emoticon-happy-outline"})],8,Ys),l.enableImage?(e.openBlock(),e.createElementBlock("button",{key:0,class:"x-chat-tool-btn",onClick:B,title:"发送图片"},[e.createVNode(e.unref(J),{icon:"mdi:image-outline"})])):e.createCommentVNode("",!0),l.enableProduct?(e.openBlock(),e.createElementBlock("button",{key:1,class:"x-chat-tool-btn",onClick:m,title:"发送商品"},[e.createVNode(e.unref(J),{icon:"mdi:package-variant"})])):e.createCommentVNode("",!0),e.createElementVNode("input",{ref_key:"fileInput",ref:i,type:"file",accept:"image/*",style:{display:"none"},onChange:N},null,544)])):e.createCommentVNode("",!0),e.createElementVNode("div",Fs,[e.withDirectives(e.createElementVNode("textarea",{ref_key:"inputRef",ref:o,"onUpdate:modelValue":k[0]||(k[0]=$=>s.value=$),class:"x-chat-input",rows:"1",style:e.normalizeStyle(r.value),placeholder:l.placeholder,disabled:l.disabled,maxlength:l.maxLength,onKeydown:[e.withKeys(e.withModifiers(b,["exact"]),["enter"]),e.withKeys(e.withModifiers(v,["ctrl","exact"]),["enter"])],onInput:w,onFocus:C,onBlur:x},null,44,Rs),[[e.vModelText,s.value]]),l.showWordCount?(e.openBlock(),e.createElementBlock("div",Xs,e.toDisplayString(s.value.length)+"/"+e.toDisplayString(l.maxLength),1)):e.createCommentVNode("",!0)]),e.createVNode(me,{type:"primary",disabled:!f.value,onClick:p,icon:"mdi:send",title:l.sendOnEnter?"Enter发送,Ctrl+Enter换行":"Ctrl+Enter发送",class:"x-chat-send-btn"},null,8,["disabled","title"])]),e.createVNode(e.Transition,{name:"x-chat-emoji"},{default:e.withCtx(()=>[g.value?(e.openBlock(),e.createElementBlock("div",Hs,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(h,$=>e.createElementVNode("button",{key:$,class:"x-chat-emoji-btn",onClick:_=>V($)},e.toDisplayString($),9,Ws)),64))])):e.createCommentVNode("",!0)]),_:1})])):e.createCommentVNode("",!0)],6))}}),Gs=K(Us,[["__scopeId","data-v-beb389a2"]]),qs=["src","alt"],Ks={class:"x-image-preview"},Zs={key:0,class:"x-image-counter"},Qs=["disabled"],Js=["src","alt"],ec=["disabled"],lc=e.defineComponent({__name:"index",props:{src:{},alt:{default:""},width:{default:"100%"},height:{default:"auto"},radius:{default:"8px"},fit:{default:"cover"},hoverZoom:{type:Boolean,default:!0},preview:{type:Boolean,default:!1},previewList:{default:()=>[]},previewIndex:{default:0}},emits:["error","load","open","close","change"],setup(l,{emit:u}){const t=l,a=u,n=e.ref(!0),o=e.ref(!1),s=e.computed(()=>({width:t.width,height:t.height,borderRadius:t.radius})),d=e.computed(()=>({objectFit:t.fit}));function r(V){n.value=!1,a("load",V)}function i(V){n.value=!1,o.value=!0,a("error",V)}const c=e.ref(!1),g=e.ref(t.previewIndex),h=e.computed(()=>t.previewList&&t.previewList.length>0),f=e.computed(()=>h.value?t.previewList[g.value]:t.src),p=e.computed(()=>h.value&&g.value>0),b=e.computed(()=>h.value&&g.value<t.previewList.length-1);function v(){t.preview&&(c.value=!0,a("open",g.value))}function w(){c.value=!1,a("close")}function C(){p.value&&(g.value-=1,a("change",g.value))}function x(){b.value&&(g.value+=1,a("change",g.value))}function S(V){c.value&&(V.key==="Escape"&&w(),V.key==="ArrowLeft"&&C(),V.key==="ArrowRight"&&x())}return e.onMounted(()=>{window.addEventListener("keydown",S)}),e.onUnmounted(()=>{window.removeEventListener("keydown",S)}),e.watch(()=>t.previewIndex,V=>{typeof V=="number"&&(g.value=V)}),(V,B)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["x-image",[{"is-loading":n.value},{"is-error":o.value},{"hover-zoom":l.hoverZoom},{"can-preview":l.preview}]]),style:e.normalizeStyle(s.value)},[o.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:"x-image-fallback",onClick:v},[e.renderSlot(V.$slots,"error",{},()=>[B[0]||(B[0]=e.createTextVNode("图片加载失败",-1))],!0)])):(e.openBlock(),e.createElementBlock("img",{key:0,src:l.src,alt:l.alt,style:e.normalizeStyle(d.value),onLoad:r,onError:i,onClick:v},null,44,qs)),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[c.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"x-image-preview-mask",onClick:e.withModifiers(w,["self"])},[e.createElementVNode("div",Ks,[h.value?(e.openBlock(),e.createElementBlock("div",Zs,e.toDisplayString(g.value+1)+" / "+e.toDisplayString(t.previewList.length),1)):e.createCommentVNode("",!0),e.createElementVNode("button",{class:"x-image-prev",onClick:e.withModifiers(C,["stop"]),disabled:!p.value},"‹",8,Qs),e.createElementVNode("img",{src:f.value,alt:l.alt},null,8,Js),e.createElementVNode("button",{class:"x-image-next",onClick:e.withModifiers(x,["stop"]),disabled:!b.value},"›",8,ec),e.createElementVNode("button",{class:"x-image-close",onClick:e.withModifiers(w,["stop"])},"✕")])])):e.createCommentVNode("",!0)]))],6))}}),ac=K(lc,[["__scopeId","data-v-9ed43670"]]),kl=()=>{const l=()=>{let i=document.getElementById("xl-message-container");return i||(i=document.createElement("div"),i.id="xl-message-container",i.style.cssText=`
|
|
1
|
+
"use strict";var De=Object.create;var ke=Object.defineProperty;var Le=Object.getOwnPropertyDescriptor;var ze=Object.getOwnPropertyNames;var _e=Object.getPrototypeOf,Ae=Object.prototype.hasOwnProperty;var Ie=(a,f,u,l)=>{if(f&&typeof f=="object"||typeof f=="function")for(let b of ze(f))!Ae.call(a,b)&&b!==u&&ke(a,b,{get:()=>f[b],enumerable:!(l=Le(f,b))||l.enumerable});return a};var Ye=(a,f,u)=>(u=a!=null?De(_e(a)):{},Ie(f||!a||!a.__esModule?ke(u,"default",{value:a,enumerable:!0}):u,a));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),U=require("@iconify/vue"),G=require("dayjs");var fe=typeof document<"u"?document.currentScript:null;const Oe=["disabled"],Xe={key:0,class:"x-btn-icon"},Re={key:1,class:"x-btn-loading"},Fe={key:2,class:"x-btn-content"},He={key:3,class:"x-btn-icon"},We=e.defineComponent({__name:"index",props:{type:{default:"default"},size:{default:"medium"},icon:{},iconRight:{},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},block:{type:Boolean,default:!1},round:{type:Boolean,default:!1},ghost:{type:Boolean,default:!1}},emits:["click"],setup(a,{emit:f}){const u=a,l=f,b=e.ref(),o=e.ref([]);let i=0;const r=e.computed(()=>["x-btn",`x-btn-${u.type}`,`x-btn-${u.size}`,{"x-btn-disabled":u.disabled,"x-btn-loading":u.loading,"x-btn-block":u.block,"x-btn-round":u.round,"x-btn-ghost":u.ghost}]);function c(n){!u.disabled&&!u.loading&&l("click",n)}function t(n){if(u.disabled||u.loading)return;const d=b.value;if(!d)return;const k=d.getBoundingClientRect(),m={id:i++,style:{left:`${n.clientX-k.left}px`,top:`${n.clientY-k.top}px`}};o.value.push(m),setTimeout(()=>{const h=o.value.findIndex(s=>s.id===m.id);h>-1&&o.value.splice(h,1)},600)}return(n,d)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(r.value),disabled:a.disabled||a.loading,onClick:c,onMousedown:t,ref_key:"buttonRef",ref:b},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,k=>(e.openBlock(),e.createElementBlock("span",{key:k.id,class:"x-btn-ripple",style:e.normalizeStyle(k.style)},null,4))),128)),a.icon&&!a.loading?(e.openBlock(),e.createElementBlock("span",Xe,[e.createVNode(e.unref(U.Icon),{icon:a.icon},null,8,["icon"])])):e.createCommentVNode("",!0),a.loading?(e.openBlock(),e.createElementBlock("span",Re,[e.createVNode(e.unref(U.Icon),{icon:"eos-icons:loading"})])):e.createCommentVNode("",!0),n.$slots.default&&!a.loading?(e.openBlock(),e.createElementBlock("span",Fe,[e.renderSlot(n.$slots,"default",{},void 0,!0)])):e.createCommentVNode("",!0),a.iconRight&&!a.loading?(e.openBlock(),e.createElementBlock("span",He,[e.createVNode(e.unref(U.Icon),{icon:a.iconRight},null,8,["icon"])])):e.createCommentVNode("",!0)],42,Oe))}}),K=(a,f)=>{const u=a.__vccOpts||a;for(const[l,b]of f)u[l]=b;return u},de=K(We,[["__scopeId","data-v-4cdb1957"]]),Ge={class:"x-card-container"},Ke=["onClick"],Ue={class:"relative p-2"},qe={class:"image-container relative overflow-hidden rounded-lg bg-gray-100"},Ze=["src","alt"],Qe={key:0,class:"absolute top-3 left-3"},Je={class:"label-badge"},el={class:"product-info p-5 ml-5"},ll={class:"text-sm lg:text-base text-gray-700 leading-relaxed line-clamp-2 mb-3"},al={class:"flex items-center justify-between gap-2"},tl={class:"text-base lg:text-lg font-bold text-[var(--x-color-primary)]"},nl={key:0,class:"bi bi-heart text-gray-500"},ol={key:1,class:"bi bi-heart-fill text-[#FE374F]"},ul=["onClick"],sl={class:"relative flex-shrink-0 p-2"},cl={class:"image-container aspect-square bg-gray-100 rounded-lg overflow-hidden relative"},rl=["src","alt"],il={key:0,class:"absolute top-3 left-3"},vl={class:"label-badge"},dl={class:"flex-1 flex flex-col justify-between product-info p-5 ml-5"},bl={class:"text-sm lg:text-base text-gray-700 font-medium line-clamp-2 leading-relaxed mb-3"},gl={class:"flex items-center justify-between gap-2 mt-auto"},ml={class:"text-base lg:text-lg font-bold text-[var(--x-color-primary)]"},fl=e.defineComponent({__name:"index",props:{layout:{default:"grid"},products:{default:()=>[]},useMockData:{type:Boolean,default:!0},columns:{default:4}},emits:["productClick","like"],setup(a,{emit:f}){const u=a,l=f,b=[{id:"1",name:"北欧风简约陶瓷花瓶",image:"https://images.unsplash.com/photo-1578500494198-246f612d3b3d?w=400",price:"¥299",label:"热卖",isWish:!1},{id:"2",name:"手工编织棉麻抱枕套",image:"https://images.unsplash.com/photo-1584100936595-c0654b55a2e2?w=400",price:"¥89",label:"新品",isWish:!0},{id:"3",name:"实木原木置物架收纳架",image:"https://images.unsplash.com/photo-1595428774223-ef52624120d2?w=400",price:"¥459",label:"",isWish:!1},{id:"4",name:"ins风格桌面装饰摆件",image:"https://images.unsplash.com/photo-1513506003901-1e6a229e2d15?w=400",price:"¥129",label:"特价",isWish:!1},{id:"5",name:"现代简约台灯护眼学习灯",image:"https://images.unsplash.com/photo-1507473885765-e6ed057f782c?w=400",price:"¥399",label:"",isWish:!0},{id:"6",name:"北欧风格装饰画挂画",image:"https://images.unsplash.com/photo-1561214115-f2f134cc4912?w=400",price:"¥199",label:"热卖",isWish:!1},{id:"7",name:"多功能收纳盒桌面整理",image:"https://images.unsplash.com/photo-1586023492125-27b2c045efd7?w=400",price:"¥68",label:"",isWish:!1},{id:"8",name:"创意陶瓷马克杯咖啡杯",image:"https://images.unsplash.com/photo-1514228742587-6b1558fcca3d?w=400",price:"¥59",label:"新品",isWish:!1},{id:"9",name:"手工玻璃花瓶透明花器",image:"https://images.unsplash.com/photo-1523293182086-7651a899d37f?w=400",price:"¥179",label:"",isWish:!0},{id:"10",name:"日式和风招财猫摆件",image:"https://images.unsplash.com/photo-1615529182904-14819c35db37?w=400",price:"¥149",label:"热卖",isWish:!1},{id:"11",name:"北欧风木质挂钟客厅",image:"https://images.unsplash.com/photo-1563861826100-9cb868fdbe1c?w=400",price:"¥259",label:"",isWish:!1},{id:"12",name:"现代简约落地花架",image:"https://images.unsplash.com/photo-1545127398-14699f92334b?w=400",price:"¥329",label:"特价",isWish:!1}],o=e.ref([]),i=e.computed(()=>u.products&&u.products.length>0?u.products:o.value),r=e.computed(()=>{const d=Math.min(Math.max(u.columns||4,1),4),k={1:"grid-cols-1",2:"grid-cols-1 md:grid-cols-2",3:"grid-cols-1 md:grid-cols-2 lg:grid-cols-3",4:"grid-cols-2 md:grid-cols-3 lg:grid-cols-4"};return k[d]||k[4]}),c=e.computed(()=>{const d=Math.min(Math.max(u.columns||4,1),4),k={1:"columns-1",2:"columns-1 md:columns-2",3:"columns-2 md:columns-2 lg:columns-3",4:"columns-2 sm:columns-2 md:columns-3 lg:columns-4"};return k[d]||k[4]});e.onMounted(()=>{u.useMockData&&(!u.products||u.products.length===0)&&(o.value=b)});const t=d=>{l("productClick",d)},n=d=>{d.isWish=!d.isWish,l("like",d)};return(d,k)=>(e.openBlock(),e.createElementBlock("div",Ge,[a.layout==="masonry"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["masonry-layout",c.value,"gap-4 sm:gap-6"])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,m=>(e.openBlock(),e.createElementBlock("div",{key:m.id+"-masonry",class:"mb-4 sm:mb-6 break-inside-avoid group cursor-pointer product-card",onClick:h=>t(m.id)},[e.createElementVNode("div",Ue,[e.createElementVNode("div",qe,[e.createElementVNode("img",{src:m.image,alt:m.name,loading:"lazy",class:"w-full h-auto object-cover transition-transform duration-300 group-hover:scale-[1.01]"},null,8,Ze),k[0]||(k[0]=e.createElementVNode("div",{class:"light-effect"},null,-1))]),m.label?(e.openBlock(),e.createElementBlock("div",Qe,[e.createElementVNode("span",Je,e.toDisplayString(m.label),1)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",el,[e.createElementVNode("h3",ll,e.toDisplayString(m.name),1),e.createElementVNode("div",al,[e.createElementVNode("span",tl,e.toDisplayString(m.price),1),e.createVNode(de,{onClick:e.withModifiers(h=>n(m),["stop"]),type:"text",size:"small",class:"like-button !min-w-0 !p-1"},{default:e.withCtx(()=>[m.isWish?(e.openBlock(),e.createElementBlock("i",ol)):(e.openBlock(),e.createElementBlock("i",nl))]),_:2},1032,["onClick"])])])],8,Ke))),128))],2)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["grid",r.value,"gap-4 lg:gap-6"])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,m=>(e.openBlock(),e.createElementBlock("div",{key:m.id+"-grid",class:"h-full"},[e.createElementVNode("div",{class:"py-2 px-2 group cursor-pointer product-card h-full flex flex-col",onClick:h=>t(m.id)},[e.createElementVNode("div",sl,[e.createElementVNode("div",cl,[e.createElementVNode("img",{src:m.image,alt:m.name,class:"w-full h-full object-cover transition-transform duration-300",loading:"lazy"},null,8,rl),k[1]||(k[1]=e.createElementVNode("div",{class:"light-effect"},null,-1))]),m.label?(e.openBlock(),e.createElementBlock("div",il,[e.createElementVNode("span",vl,e.toDisplayString(m.label),1)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",dl,[e.createElementVNode("h3",bl,e.toDisplayString(m.name),1),e.createElementVNode("div",gl,[e.createElementVNode("span",ml,e.toDisplayString(m.price),1),e.createVNode(de,{onClick:e.withModifiers(h=>n(m),["stop"]),type:"text",size:"small",class:"like-button !min-w-0 !p-1"},{default:e.withCtx(()=>[m.isWish?(e.openBlock(),e.createBlock(e.unref(U.Icon),{key:1,icon:"bi:heart-fill",class:"bi bi-heart-fill text-[#FE374F] text-lg"})):(e.openBlock(),e.createBlock(e.unref(U.Icon),{key:0,icon:"bi:heart",class:"bi bi-heart text-gray-500 text-lg"}))]),_:2},1032,["onClick"])])])],8,ul)]))),128))],2))]))}}),hl=K(fl,[["__scopeId","data-v-9eac2a47"]]),pl=[{name:"Afghanistan",code:"AF",flagEmoji:"🇦🇫",flagSvg:"https://flagcdn.com/af.svg",flagPng:"https://flagcdn.com/w40/af.png",phoneCode:"+93",phonelengthMAX:10},{name:"Åland Islands",code:"AX",flagEmoji:"🇦🇽",flagSvg:"https://flagcdn.com/ax.svg",flagPng:"https://flagcdn.com/w40/ax.png",phoneCode:"+358",phonelengthMAX:10},{name:"Albania",code:"AL",flagEmoji:"🇦🇱",flagSvg:"https://flagcdn.com/al.svg",flagPng:"https://flagcdn.com/w40/al.png",phoneCode:"+355",phonelengthMAX:10},{name:"Algeria",code:"DZ",flagEmoji:"🇩🇿",flagSvg:"https://flagcdn.com/dz.svg",flagPng:"https://flagcdn.com/w40/dz.png",phoneCode:"+213",phonelengthMAX:10},{name:"American Samoa",code:"AS",flagEmoji:"🇦🇸",flagSvg:"https://flagcdn.com/as.svg",flagPng:"https://flagcdn.com/w40/as.png",phoneCode:"+1684",phonelengthMAX:10},{name:"Andorra",code:"AD",flagEmoji:"🇦🇩",flagSvg:"https://flagcdn.com/ad.svg",flagPng:"https://flagcdn.com/w40/ad.png",phoneCode:"+376",phonelengthMAX:10},{name:"Angola",code:"AO",flagEmoji:"🇦🇴",flagSvg:"https://flagcdn.com/ao.svg",flagPng:"https://flagcdn.com/w40/ao.png",phoneCode:"+244",phonelengthMAX:10},{name:"Anguilla",code:"AI",flagEmoji:"🇦🇮",flagSvg:"https://flagcdn.com/ai.svg",flagPng:"https://flagcdn.com/w40/ai.png",phoneCode:"+1264",phonelengthMAX:10},{name:"Antarctica",code:"AQ",flagEmoji:"🇦🇶",flagSvg:"https://flagcdn.com/aq.svg",flagPng:"https://flagcdn.com/w40/aq.png",phoneCode:"+672",phonelengthMAX:10},{name:"Antigua and Barbuda",code:"AG",flagEmoji:"🇦🇬",flagSvg:"https://flagcdn.com/ag.svg",flagPng:"https://flagcdn.com/w40/ag.png",phoneCode:"+1268",phonelengthMAX:10},{name:"Argentina",code:"AR",flagEmoji:"🇦🇷",flagSvg:"https://flagcdn.com/ar.svg",flagPng:"https://flagcdn.com/w40/ar.png",phoneCode:"+54",phonelengthMAX:10},{name:"Armenia",code:"AM",flagEmoji:"🇦🇲",flagSvg:"https://flagcdn.com/am.svg",flagPng:"https://flagcdn.com/w40/am.png",phoneCode:"+374",phonelengthMAX:10},{name:"Aruba",code:"AW",flagEmoji:"🇦🇼",flagSvg:"https://flagcdn.com/aw.svg",flagPng:"https://flagcdn.com/w40/aw.png",phoneCode:"+297",phonelengthMAX:10},{name:"Australia",code:"AU",flagEmoji:"🇦🇺",flagSvg:"https://flagcdn.com/au.svg",flagPng:"https://flagcdn.com/w40/au.png",phoneCode:"+61",phonelengthMAX:10},{name:"Austria",code:"AT",flagEmoji:"🇦🇹",flagSvg:"https://flagcdn.com/at.svg",flagPng:"https://flagcdn.com/w40/at.png",phoneCode:"+43",phonelengthMAX:10},{name:"Azerbaijan",code:"AZ",flagEmoji:"🇦🇿",flagSvg:"https://flagcdn.com/az.svg",flagPng:"https://flagcdn.com/w40/az.png",phoneCode:"+994",phonelengthMAX:10},{name:"Bahamas",code:"BS",flagEmoji:"🇧🇸",flagSvg:"https://flagcdn.com/bs.svg",flagPng:"https://flagcdn.com/w40/bs.png",phoneCode:"+1242",phonelengthMAX:10},{name:"Bahrain",code:"BH",flagEmoji:"🇧🇭",flagSvg:"https://flagcdn.com/bh.svg",flagPng:"https://flagcdn.com/w40/bh.png",phoneCode:"+973",phonelengthMAX:10},{name:"Bangladesh",code:"BD",flagEmoji:"🇧🇩",flagSvg:"https://flagcdn.com/bd.svg",flagPng:"https://flagcdn.com/w40/bd.png",phoneCode:"+880",phonelengthMAX:10},{name:"Barbados",code:"BB",flagEmoji:"🇧🇧",flagSvg:"https://flagcdn.com/bb.svg",flagPng:"https://flagcdn.com/w40/bb.png",phoneCode:"+1246",phonelengthMAX:10},{name:"Belarus",code:"BY",flagEmoji:"🇧🇾",flagSvg:"https://flagcdn.com/by.svg",flagPng:"https://flagcdn.com/w40/by.png",phoneCode:"+375",phonelengthMAX:10},{name:"Belgium",code:"BE",flagEmoji:"🇧🇪",flagSvg:"https://flagcdn.com/be.svg",flagPng:"https://flagcdn.com/w40/be.png",phoneCode:"+32",phonelengthMAX:10},{name:"Belize",code:"BZ",flagEmoji:"🇧🇿",flagSvg:"https://flagcdn.com/bz.svg",flagPng:"https://flagcdn.com/w40/bz.png",phoneCode:"+501",phonelengthMAX:10},{name:"Benin",code:"BJ",flagEmoji:"🇧🇯",flagSvg:"https://flagcdn.com/bj.svg",flagPng:"https://flagcdn.com/w40/bj.png",phoneCode:"+229",phonelengthMAX:10},{name:"Bermuda",code:"BM",flagEmoji:"🇧🇲",flagSvg:"https://flagcdn.com/bm.svg",flagPng:"https://flagcdn.com/w40/bm.png",phoneCode:"+1441",phonelengthMAX:10},{name:"Bhutan",code:"BT",flagEmoji:"🇧🇹",flagSvg:"https://flagcdn.com/bt.svg",flagPng:"https://flagcdn.com/w40/bt.png",phoneCode:"+975",phonelengthMAX:10},{name:"Bolivia (Plurinational State of)",code:"BO",flagEmoji:"🇧🇴",flagSvg:"https://flagcdn.com/bo.svg",flagPng:"https://flagcdn.com/w40/bo.png",phoneCode:"+591",phonelengthMAX:10},{name:"Bonaire, Sint Eustatius and Saba",code:"BQ",flagEmoji:"🇧🇶",flagSvg:"https://flagcdn.com/bq.svg",flagPng:"https://flagcdn.com/w40/bq.png",phoneCode:"+5997",phonelengthMAX:10},{name:"Bosnia and Herzegovina",code:"BA",flagEmoji:"🇧🇦",flagSvg:"https://flagcdn.com/ba.svg",flagPng:"https://flagcdn.com/w40/ba.png",phoneCode:"+387",phonelengthMAX:10},{name:"Botswana",code:"BW",flagEmoji:"🇧🇼",flagSvg:"https://flagcdn.com/bw.svg",flagPng:"https://flagcdn.com/w40/bw.png",phoneCode:"+267",phonelengthMAX:10},{name:"Bouvet Island",code:"BV",flagEmoji:"🇧🇻",flagSvg:"https://flagcdn.com/bv.svg",flagPng:"https://flagcdn.com/w40/bv.png",phoneCode:"+55",phonelengthMAX:10},{name:"Brazil",code:"BR",flagEmoji:"🇧🇷",flagSvg:"https://flagcdn.com/br.svg",flagPng:"https://flagcdn.com/w40/br.png",phoneCode:"+55",phonelengthMAX:10},{name:"British Indian Ocean Territory",code:"IO",flagEmoji:"🇮🇴",flagSvg:"https://flagcdn.com/io.svg",flagPng:"https://flagcdn.com/w40/io.png",phoneCode:"+246",phonelengthMAX:10},{name:"Brunei Darussalam",code:"BN",flagEmoji:"🇧🇳",flagSvg:"https://flagcdn.com/bn.svg",flagPng:"https://flagcdn.com/w40/bn.png",phoneCode:"+673",phonelengthMAX:10},{name:"Bulgaria",code:"BG",flagEmoji:"🇧🇬",flagSvg:"https://flagcdn.com/bg.svg",flagPng:"https://flagcdn.com/w40/bg.png",phoneCode:"+359",phonelengthMAX:10},{name:"Burkina Faso",code:"BF",flagEmoji:"🇧🇫",flagSvg:"https://flagcdn.com/bf.svg",flagPng:"https://flagcdn.com/w40/bf.png",phoneCode:"+226",phonelengthMAX:10},{name:"Burundi",code:"BI",flagEmoji:"🇧🇮",flagSvg:"https://flagcdn.com/bi.svg",flagPng:"https://flagcdn.com/w40/bi.png",phoneCode:"+257",phonelengthMAX:10},{name:"Cabo Verde",code:"CV",flagEmoji:"🇨🇻",flagSvg:"https://flagcdn.com/cv.svg",flagPng:"https://flagcdn.com/w40/cv.png",phoneCode:"+238",phonelengthMAX:10},{name:"Cambodia",code:"KH",flagEmoji:"🇰🇭",flagSvg:"https://flagcdn.com/kh.svg",flagPng:"https://flagcdn.com/w40/kh.png",phoneCode:"+855",phonelengthMAX:10},{name:"Cameroon",code:"CM",flagEmoji:"🇨🇲",flagSvg:"https://flagcdn.com/cm.svg",flagPng:"https://flagcdn.com/w40/cm.png",phoneCode:"+237",phonelengthMAX:10},{name:"Canada",code:"CA",flagEmoji:"🇨🇦",flagSvg:"https://flagcdn.com/ca.svg",flagPng:"https://flagcdn.com/w40/ca.png",phoneCode:"+1",phonelengthMAX:10},{name:"Cayman Islands",code:"KY",flagEmoji:"🇰🇾",flagSvg:"https://flagcdn.com/ky.svg",flagPng:"https://flagcdn.com/w40/ky.png",phoneCode:"+1345",phonelengthMAX:10},{name:"Central African Republic",code:"CF",flagEmoji:"🇨🇫",flagSvg:"https://flagcdn.com/cf.svg",flagPng:"https://flagcdn.com/w40/cf.png",phoneCode:"+236",phonelengthMAX:10},{name:"Chad",code:"TD",flagEmoji:"🇹🇩",flagSvg:"https://flagcdn.com/td.svg",flagPng:"https://flagcdn.com/w40/td.png",phoneCode:"+235",phonelengthMAX:10},{name:"Chile",code:"CL",flagEmoji:"🇨🇱",flagSvg:"https://flagcdn.com/cl.svg",flagPng:"https://flagcdn.com/w40/cl.png",phoneCode:"+56",phonelengthMAX:10},{name:"China",code:"CN",flagEmoji:"🇨🇳",flagSvg:"https://flagcdn.com/cn.svg",flagPng:"https://flagcdn.com/w40/cn.png",phoneCode:"+86",phonelengthMAX:11},{name:"Christmas Island",code:"CX",flagEmoji:"🇨🇽",flagSvg:"https://flagcdn.com/cx.svg",flagPng:"https://flagcdn.com/w40/cx.png",phoneCode:"+61",phonelengthMAX:10},{name:"Cocos (Keeling) Islands",code:"CC",flagEmoji:"🇨🇨",flagSvg:"https://flagcdn.com/cc.svg",flagPng:"https://flagcdn.com/w40/cc.png",phoneCode:"+61",phonelengthMAX:10},{name:"Colombia",code:"CO",flagEmoji:"🇨🇴",flagSvg:"https://flagcdn.com/co.svg",flagPng:"https://flagcdn.com/w40/co.png",phoneCode:"+57",phonelengthMAX:10},{name:"Comoros",code:"KM",flagEmoji:"🇰🇲",flagSvg:"https://flagcdn.com/km.svg",flagPng:"https://flagcdn.com/w40/km.png",phoneCode:"+269",phonelengthMAX:10},{name:"Congo",code:"CG",flagEmoji:"🇨🇬",flagSvg:"https://flagcdn.com/cg.svg",flagPng:"https://flagcdn.com/w40/cg.png",phoneCode:"+242",phonelengthMAX:10},{name:"Congo, Democratic Republic of the",code:"CD",flagEmoji:"🇨🇩",flagSvg:"https://flagcdn.com/cd.svg",flagPng:"https://flagcdn.com/w40/cd.png",phoneCode:"+243",phonelengthMAX:10},{name:"Cook Islands",code:"CK",flagEmoji:"🇨🇰",flagSvg:"https://flagcdn.com/ck.svg",flagPng:"https://flagcdn.com/w40/ck.png",phoneCode:"+682",phonelengthMAX:10},{name:"Costa Rica",code:"CR",flagEmoji:"🇨🇷",flagSvg:"https://flagcdn.com/cr.svg",flagPng:"https://flagcdn.com/w40/cr.png",phoneCode:"+506",phonelengthMAX:10},{name:"Croatia",code:"HR",flagEmoji:"🇭🇷",flagSvg:"https://flagcdn.com/hr.svg",flagPng:"https://flagcdn.com/w40/hr.png",phoneCode:"+385",phonelengthMAX:10},{name:"Cuba",code:"CU",flagEmoji:"🇨🇺",flagSvg:"https://flagcdn.com/cu.svg",flagPng:"https://flagcdn.com/w40/cu.png",phoneCode:"+53",phonelengthMAX:10},{name:"Curaçao",code:"CW",flagEmoji:"🇨🇼",flagSvg:"https://flagcdn.com/cw.svg",flagPng:"https://flagcdn.com/w40/cw.png",phoneCode:"+5999",phonelengthMAX:10},{name:"Cyprus",code:"CY",flagEmoji:"🇨🇾",flagSvg:"https://flagcdn.com/cy.svg",flagPng:"https://flagcdn.com/w40/cy.png",phoneCode:"+357",phonelengthMAX:10},{name:"Czechia",code:"CZ",flagEmoji:"🇨🇿",flagSvg:"https://flagcdn.com/cz.svg",flagPng:"https://flagcdn.com/w40/cz.png",phoneCode:"+420",phonelengthMAX:10},{name:"Denmark",code:"DK",flagEmoji:"🇩🇰",flagSvg:"https://flagcdn.com/dk.svg",flagPng:"https://flagcdn.com/w40/dk.png",phoneCode:"+45",phonelengthMAX:10},{name:"Djibouti",code:"DJ",flagEmoji:"🇩🇯",flagSvg:"https://flagcdn.com/dj.svg",flagPng:"https://flagcdn.com/w40/dj.png",phoneCode:"+253",phonelengthMAX:10},{name:"Dominica",code:"DM",flagEmoji:"🇩🇲",flagSvg:"https://flagcdn.com/dm.svg",flagPng:"https://flagcdn.com/w40/dm.png",phoneCode:"+1767",phonelengthMAX:10},{name:"Dominican Republic",code:"DO",flagEmoji:"🇩🇴",flagSvg:"https://flagcdn.com/do.svg",flagPng:"https://flagcdn.com/w40/do.png",phoneCode:"+1809",phonelengthMAX:10},{name:"Ecuador",code:"EC",flagEmoji:"🇪🇨",flagSvg:"https://flagcdn.com/ec.svg",flagPng:"https://flagcdn.com/w40/ec.png",phoneCode:"+593",phonelengthMAX:10},{name:"Egypt",code:"EG",flagEmoji:"🇪🇬",flagSvg:"https://flagcdn.com/eg.svg",flagPng:"https://flagcdn.com/w40/eg.png",phoneCode:"+20",phonelengthMAX:10},{name:"El Salvador",code:"SV",flagEmoji:"🇸🇻",flagSvg:"https://flagcdn.com/sv.svg",flagPng:"https://flagcdn.com/w40/sv.png",phoneCode:"+503",phonelengthMAX:10},{name:"Equatorial Guinea",code:"GQ",flagEmoji:"🇬🇶",flagSvg:"https://flagcdn.com/gq.svg",flagPng:"https://flagcdn.com/w40/gq.png",phoneCode:"+240",phonelengthMAX:10},{name:"Eritrea",code:"ER",flagEmoji:"🇪🇷",flagSvg:"https://flagcdn.com/er.svg",flagPng:"https://flagcdn.com/w40/er.png",phoneCode:"+291",phonelengthMAX:10},{name:"Estonia",code:"EE",flagEmoji:"🇪🇪",flagSvg:"https://flagcdn.com/ee.svg",flagPng:"https://flagcdn.com/w40/ee.png",phoneCode:"+372",phonelengthMAX:10},{name:"Eswatini",code:"SZ",flagEmoji:"🇸🇿",flagSvg:"https://flagcdn.com/sz.svg",flagPng:"https://flagcdn.com/w40/sz.png",phoneCode:"+268",phonelengthMAX:10},{name:"Ethiopia",code:"ET",flagEmoji:"🇪🇹",flagSvg:"https://flagcdn.com/et.svg",flagPng:"https://flagcdn.com/w40/et.png",phoneCode:"+251",phonelengthMAX:10},{name:"Falkland Islands (Malvinas)",code:"FK",flagEmoji:"🇫🇰",flagSvg:"https://flagcdn.com/fk.svg",flagPng:"https://flagcdn.com/w40/fk.png",phoneCode:"+500",phonelengthMAX:10},{name:"Faroe Islands",code:"FO",flagEmoji:"🇫🇴",flagSvg:"https://flagcdn.com/fo.svg",flagPng:"https://flagcdn.com/w40/fo.png",phoneCode:"+298",phonelengthMAX:10},{name:"Fiji",code:"FJ",flagEmoji:"🇫🇯",flagSvg:"https://flagcdn.com/fj.svg",flagPng:"https://flagcdn.com/w40/fj.png",phoneCode:"+679",phonelengthMAX:10},{name:"Finland",code:"FI",flagEmoji:"🇫🇮",flagSvg:"https://flagcdn.com/fi.svg",flagPng:"https://flagcdn.com/w40/fi.png",phoneCode:"+358",phonelengthMAX:10},{name:"France",code:"FR",flagEmoji:"🇫🇷",flagSvg:"https://flagcdn.com/fr.svg",flagPng:"https://flagcdn.com/w40/fr.png",phoneCode:"+33",phonelengthMAX:10},{name:"French Guiana",code:"GF",flagEmoji:"🇬🇫",flagSvg:"https://flagcdn.com/gf.svg",flagPng:"https://flagcdn.com/w40/gf.png",phoneCode:"+594",phonelengthMAX:10},{name:"French Polynesia",code:"PF",flagEmoji:"🇵🇫",flagSvg:"https://flagcdn.com/pf.svg",flagPng:"https://flagcdn.com/w40/pf.png",phoneCode:"+689",phonelengthMAX:10},{name:"French Southern Territories",code:"TF",flagEmoji:"🇹🇫",flagSvg:"https://flagcdn.com/tf.svg",flagPng:"https://flagcdn.com/w40/tf.png",phoneCode:"+262",phonelengthMAX:10},{name:"Gabon",code:"GA",flagEmoji:"🇬🇦",flagSvg:"https://flagcdn.com/ga.svg",flagPng:"https://flagcdn.com/w40/ga.png",phoneCode:"+241",phonelengthMAX:10},{name:"Gambia",code:"GM",flagEmoji:"🇬🇲",flagSvg:"https://flagcdn.com/gm.svg",flagPng:"https://flagcdn.com/w40/gm.png",phoneCode:"+220",phonelengthMAX:10},{name:"Georgia",code:"GE",flagEmoji:"🇬🇪",flagSvg:"https://flagcdn.com/ge.svg",flagPng:"https://flagcdn.com/w40/ge.png",phoneCode:"+995",phonelengthMAX:10},{name:"Germany",code:"DE",flagEmoji:"🇩🇪",flagSvg:"https://flagcdn.com/de.svg",flagPng:"https://flagcdn.com/w40/de.png",phoneCode:"+49",phonelengthMAX:10},{name:"Ghana",code:"GH",flagEmoji:"🇬🇭",flagSvg:"https://flagcdn.com/gh.svg",flagPng:"https://flagcdn.com/w40/gh.png",phoneCode:"+233",phonelengthMAX:10},{name:"Gibraltar",code:"GI",flagEmoji:"🇬🇮",flagSvg:"https://flagcdn.com/gi.svg",flagPng:"https://flagcdn.com/w40/gi.png",phoneCode:"+350",phonelengthMAX:10},{name:"Greece",code:"GR",flagEmoji:"🇬🇷",flagSvg:"https://flagcdn.com/gr.svg",flagPng:"https://flagcdn.com/w40/gr.png",phoneCode:"+30",phonelengthMAX:10},{name:"Greenland",code:"GL",flagEmoji:"🇬🇱",flagSvg:"https://flagcdn.com/gl.svg",flagPng:"https://flagcdn.com/w40/gl.png",phoneCode:"+299",phonelengthMAX:10},{name:"Grenada",code:"GD",flagEmoji:"🇬🇩",flagSvg:"https://flagcdn.com/gd.svg",flagPng:"https://flagcdn.com/w40/gd.png",phoneCode:"+1473",phonelengthMAX:10},{name:"Guadeloupe",code:"GP",flagEmoji:"🇬🇵",flagSvg:"https://flagcdn.com/gp.svg",flagPng:"https://flagcdn.com/w40/gp.png",phoneCode:"+590",phonelengthMAX:10},{name:"Guam",code:"GU",flagEmoji:"🇬🇺",flagSvg:"https://flagcdn.com/gu.svg",flagPng:"https://flagcdn.com/w40/gu.png",phoneCode:"+1671",phonelengthMAX:10},{name:"Guatemala",code:"GT",flagEmoji:"🇬🇹",flagSvg:"https://flagcdn.com/gt.svg",flagPng:"https://flagcdn.com/w40/gt.png",phoneCode:"+502",phonelengthMAX:10},{name:"Guernsey",code:"GG",flagEmoji:"🇬🇬",flagSvg:"https://flagcdn.com/gg.svg",flagPng:"https://flagcdn.com/w40/gg.png",phoneCode:"+44",phonelengthMAX:10},{name:"Guinea",code:"GN",flagEmoji:"🇬🇳",flagSvg:"https://flagcdn.com/gn.svg",flagPng:"https://flagcdn.com/w40/gn.png",phoneCode:"+224",phonelengthMAX:10},{name:"Guinea-Bissau",code:"GW",flagEmoji:"🇬🇼",flagSvg:"https://flagcdn.com/gw.svg",flagPng:"https://flagcdn.com/w40/gw.png",phoneCode:"+245",phonelengthMAX:10},{name:"Guyana",code:"GY",flagEmoji:"🇬🇾",flagSvg:"https://flagcdn.com/gy.svg",flagPng:"https://flagcdn.com/w40/gy.png",phoneCode:"+592",phonelengthMAX:10},{name:"Haiti",code:"HT",flagEmoji:"🇭🇹",flagSvg:"https://flagcdn.com/ht.svg",flagPng:"https://flagcdn.com/w40/ht.png",phoneCode:"+509",phonelengthMAX:10},{name:"Heard Island and McDonald Islands",code:"HM",flagEmoji:"🇭🇲",flagSvg:"https://flagcdn.com/hm.svg",flagPng:"https://flagcdn.com/w40/hm.png",phoneCode:"+672"},{name:"Holy See",code:"VA",flagEmoji:"🇻🇦",flagSvg:"https://flagcdn.com/va.svg",flagPng:"https://flagcdn.com/w40/va.png",phoneCode:"+39"},{name:"Honduras",code:"HN",flagEmoji:"🇭🇳",flagSvg:"https://flagcdn.com/hn.svg",flagPng:"https://flagcdn.com/w40/hn.png",phoneCode:"+504"},{name:"Hong Kong",code:"HK",flagEmoji:"🇭🇰",flagSvg:"https://flagcdn.com/hk.svg",flagPng:"https://flagcdn.com/w40/hk.png",phoneCode:"+852"},{name:"Hungary",code:"HU",flagEmoji:"🇭🇺",flagSvg:"https://flagcdn.com/hu.svg",flagPng:"https://flagcdn.com/w40/hu.png",phoneCode:"+36"},{name:"Iceland",code:"IS",flagEmoji:"🇮🇸",flagSvg:"https://flagcdn.com/is.svg",flagPng:"https://flagcdn.com/w40/is.png",phoneCode:"+354"},{name:"India",code:"IN",flagEmoji:"🇮🇳",flagSvg:"https://flagcdn.com/in.svg",flagPng:"https://flagcdn.com/w40/in.png",phoneCode:"+91"},{name:"Indonesia",code:"ID",flagEmoji:"🇮🇩",flagSvg:"https://flagcdn.com/id.svg",flagPng:"https://flagcdn.com/w40/id.png",phoneCode:"+62"},{name:"Iran (Islamic Republic of)",code:"IR",flagEmoji:"🇮🇷",flagSvg:"https://flagcdn.com/ir.svg",flagPng:"https://flagcdn.com/w40/ir.png",phoneCode:"+98"},{name:"Iraq",code:"IQ",flagEmoji:"🇮🇶",flagSvg:"https://flagcdn.com/iq.svg",flagPng:"https://flagcdn.com/w40/iq.png",phoneCode:"+964"},{name:"Ireland",code:"IE",flagEmoji:"🇮🇪",flagSvg:"https://flagcdn.com/ie.svg",flagPng:"https://flagcdn.com/w40/ie.png",phoneCode:"+353"},{name:"Isle of Man",code:"IM",flagEmoji:"🇮🇲",flagSvg:"https://flagcdn.com/im.svg",flagPng:"https://flagcdn.com/w40/im.png",phoneCode:"+44"},{name:"Israel",code:"IL",flagEmoji:"🇮🇱",flagSvg:"https://flagcdn.com/il.svg",flagPng:"https://flagcdn.com/w40/il.png",phoneCode:"+972"},{name:"Italy",code:"IT",flagEmoji:"🇮🇹",flagSvg:"https://flagcdn.com/it.svg",flagPng:"https://flagcdn.com/w40/it.png",phoneCode:"+39"},{name:"Jamaica",code:"JM",flagEmoji:"🇯🇲",flagSvg:"https://flagcdn.com/jm.svg",flagPng:"https://flagcdn.com/w40/jm.png",phoneCode:"+1876"},{name:"Japan",code:"JP",flagEmoji:"🇯🇵",flagSvg:"https://flagcdn.com/jp.svg",flagPng:"https://flagcdn.com/w40/jp.png",phoneCode:"+81"},{name:"Jersey",code:"JE",flagEmoji:"🇯🇪",flagSvg:"https://flagcdn.com/je.svg",flagPng:"https://flagcdn.com/w40/je.png",phoneCode:"+44"},{name:"Jordan",code:"JO",flagEmoji:"🇯🇴",flagSvg:"https://flagcdn.com/jo.svg",flagPng:"https://flagcdn.com/w40/jo.png",phoneCode:"+962"},{name:"Kazakhstan",code:"KZ",flagEmoji:"🇰🇿",flagSvg:"https://flagcdn.com/kz.svg",flagPng:"https://flagcdn.com/w40/kz.png",phoneCode:"+7"},{name:"Kenya",code:"KE",flagEmoji:"🇰🇪",flagSvg:"https://flagcdn.com/ke.svg",flagPng:"https://flagcdn.com/w40/ke.png",phoneCode:"+254"},{name:"Kiribati",code:"KI",flagEmoji:"🇰🇮",flagSvg:"https://flagcdn.com/ki.svg",flagPng:"https://flagcdn.com/w40/ki.png",phoneCode:"+686"},{name:"Korea (Democratic People's Republic of)",code:"KP",flagEmoji:"🇰🇵",flagSvg:"https://flagcdn.com/kp.svg",flagPng:"https://flagcdn.com/w40/kp.png",phoneCode:"+850"},{name:"Korea, Republic of",code:"KR",flagEmoji:"🇰🇷",flagSvg:"https://flagcdn.com/kr.svg",flagPng:"https://flagcdn.com/w40/kr.png",phoneCode:"+82"},{name:"Kuwait",code:"KW",flagEmoji:"🇰🇼",flagSvg:"https://flagcdn.com/kw.svg",flagPng:"https://flagcdn.com/w40/kw.png",phoneCode:"+965"},{name:"Kyrgyzstan",code:"KG",flagEmoji:"🇰🇬",flagSvg:"https://flagcdn.com/kg.svg",flagPng:"https://flagcdn.com/w40/kg.png",phoneCode:"+996"},{name:"Lao People's Democratic Republic",code:"LA",flagEmoji:"🇱🇦",flagSvg:"https://flagcdn.com/la.svg",flagPng:"https://flagcdn.com/w40/la.png",phoneCode:"+856"},{name:"Latvia",code:"LV",flagEmoji:"🇱🇻",flagSvg:"https://flagcdn.com/lv.svg",flagPng:"https://flagcdn.com/w40/lv.png",phoneCode:"+371"},{name:"Lebanon",code:"LB",flagEmoji:"🇱🇧",flagSvg:"https://flagcdn.com/lb.svg",flagPng:"https://flagcdn.com/w40/lb.png",phoneCode:"+961"},{name:"Lesotho",code:"LS",flagEmoji:"🇱🇸",flagSvg:"https://flagcdn.com/ls.svg",flagPng:"https://flagcdn.com/w40/ls.png",phoneCode:"+266"},{name:"Liberia",code:"LR",flagEmoji:"🇱🇷",flagSvg:"https://flagcdn.com/lr.svg",flagPng:"https://flagcdn.com/w40/lr.png",phoneCode:"+231"},{name:"Libya",code:"LY",flagEmoji:"🇱🇾",flagSvg:"https://flagcdn.com/ly.svg",flagPng:"https://flagcdn.com/w40/ly.png",phoneCode:"+218"},{name:"Liechtenstein",code:"LI",flagEmoji:"🇱🇮",flagSvg:"https://flagcdn.com/li.svg",flagPng:"https://flagcdn.com/w40/li.png",phoneCode:"+423"},{name:"Lithuania",code:"LT",flagEmoji:"🇱🇹",flagSvg:"https://flagcdn.com/lt.svg",flagPng:"https://flagcdn.com/w40/lt.png",phoneCode:"+370"},{name:"Luxembourg",code:"LU",flagEmoji:"🇱🇺",flagSvg:"https://flagcdn.com/lu.svg",flagPng:"https://flagcdn.com/w40/lu.png",phoneCode:"+352"},{name:"Macao",code:"MO",flagEmoji:"🇲🇴",flagSvg:"https://flagcdn.com/mo.svg",flagPng:"https://flagcdn.com/w40/mo.png",phoneCode:"+853"},{name:"Madagascar",code:"MG",flagEmoji:"🇲🇬",flagSvg:"https://flagcdn.com/mg.svg",flagPng:"https://flagcdn.com/w40/mg.png",phoneCode:"+261"},{name:"Malawi",code:"MW",flagEmoji:"🇲🇼",flagSvg:"https://flagcdn.com/mw.svg",flagPng:"https://flagcdn.com/w40/mw.png",phoneCode:"+265"},{name:"Malaysia",code:"MY",flagEmoji:"🇲🇾",flagSvg:"https://flagcdn.com/my.svg",flagPng:"https://flagcdn.com/w40/my.png",phoneCode:"+60"},{name:"Maldives",code:"MV",flagEmoji:"🇲🇻",flagSvg:"https://flagcdn.com/mv.svg",flagPng:"https://flagcdn.com/w40/mv.png",phoneCode:"+960"},{name:"Mali",code:"ML",flagEmoji:"🇲🇱",flagSvg:"https://flagcdn.com/ml.svg",flagPng:"https://flagcdn.com/w40/ml.png",phoneCode:"+223"},{name:"Malta",code:"MT",flagEmoji:"🇲🇹",flagSvg:"https://flagcdn.com/mt.svg",flagPng:"https://flagcdn.com/w40/mt.png",phoneCode:"+356"},{name:"Marshall Islands",code:"MH",flagEmoji:"🇲🇭",flagSvg:"https://flagcdn.com/mh.svg",flagPng:"https://flagcdn.com/w40/mh.png",phoneCode:"+692"},{name:"Martinique",code:"MQ",flagEmoji:"🇲🇶",flagSvg:"https://flagcdn.com/mq.svg",flagPng:"https://flagcdn.com/w40/mq.png",phoneCode:"+596"},{name:"Mauritania",code:"MR",flagEmoji:"🇲🇷",flagSvg:"https://flagcdn.com/mr.svg",flagPng:"https://flagcdn.com/w40/mr.png",phoneCode:"+222"},{name:"Mauritius",code:"MU",flagEmoji:"🇲🇺",flagSvg:"https://flagcdn.com/mu.svg",flagPng:"https://flagcdn.com/w40/mu.png",phoneCode:"+230"},{name:"Mayotte",code:"YT",flagEmoji:"🇾🇹",flagSvg:"https://flagcdn.com/yt.svg",flagPng:"https://flagcdn.com/w40/yt.png",phoneCode:"+262"},{name:"Mexico",code:"MX",flagEmoji:"🇲🇽",flagSvg:"https://flagcdn.com/mx.svg",flagPng:"https://flagcdn.com/w40/mx.png",phoneCode:"+52"},{name:"Micronesia (Federated States of)",code:"FM",flagEmoji:"🇫🇲",flagSvg:"https://flagcdn.com/fm.svg",flagPng:"https://flagcdn.com/w40/fm.png",phoneCode:"+691"},{name:"Moldova, Republic of",code:"MD",flagEmoji:"🇲🇩",flagSvg:"https://flagcdn.com/md.svg",flagPng:"https://flagcdn.com/w40/md.png",phoneCode:"+373"},{name:"Monaco",code:"MC",flagEmoji:"🇲🇨",flagSvg:"https://flagcdn.com/mc.svg",flagPng:"https://flagcdn.com/w40/mc.png",phoneCode:"+377",phonelengthMAX:10},{name:"Mongolia",code:"MN",flagEmoji:"🇲🇳",flagSvg:"https://flagcdn.com/mn.svg",flagPng:"https://flagcdn.com/w40/mn.png",phoneCode:"+976"},{name:"Montenegro",code:"ME",flagEmoji:"🇲🇪",flagSvg:"https://flagcdn.com/me.svg",flagPng:"https://flagcdn.com/w40/me.png",phoneCode:"+382"},{name:"Montserrat",code:"MS",flagEmoji:"🇲🇸",flagSvg:"https://flagcdn.com/ms.svg",flagPng:"https://flagcdn.com/w40/ms.png",phoneCode:"+1664"},{name:"Morocco",code:"MA",flagEmoji:"🇲🇦",flagSvg:"https://flagcdn.com/ma.svg",flagPng:"https://flagcdn.com/w40/ma.png",phoneCode:"+212"},{name:"Mozambique",code:"MZ",flagEmoji:"🇲🇿",flagSvg:"https://flagcdn.com/mz.svg",flagPng:"https://flagcdn.com/w40/mz.png",phoneCode:"+258"},{name:"Myanmar",code:"MM",flagEmoji:"🇲🇲",flagSvg:"https://flagcdn.com/mm.svg",flagPng:"https://flagcdn.com/w40/mm.png",phoneCode:"+95"},{name:"Namibia",code:"NA",flagEmoji:"🇳🇦",flagSvg:"https://flagcdn.com/na.svg",flagPng:"https://flagcdn.com/w40/na.png",phoneCode:"+264"},{name:"Nauru",code:"NR",flagEmoji:"🇳🇷",flagSvg:"https://flagcdn.com/nr.svg",flagPng:"https://flagcdn.com/w40/nr.png",phoneCode:"+674"},{name:"Nepal",code:"NP",flagEmoji:"🇳🇵",flagSvg:"https://flagcdn.com/np.svg",flagPng:"https://flagcdn.com/w40/np.png",phoneCode:"+977"},{name:"Netherlands",code:"NL",flagEmoji:"🇳🇱",flagSvg:"https://flagcdn.com/nl.svg",flagPng:"https://flagcdn.com/w40/nl.png",phoneCode:"+31"},{name:"New Caledonia",code:"NC",flagEmoji:"🇳🇨",flagSvg:"https://flagcdn.com/nc.svg",flagPng:"https://flagcdn.com/w40/nc.png",phoneCode:"+687"},{name:"New Zealand",code:"NZ",flagEmoji:"🇳🇿",flagSvg:"https://flagcdn.com/nz.svg",flagPng:"https://flagcdn.com/w40/nz.png",phoneCode:"+64"},{name:"Nicaragua",code:"NI",flagEmoji:"🇳🇮",flagSvg:"https://flagcdn.com/ni.svg",flagPng:"https://flagcdn.com/w40/ni.png",phoneCode:"+505"},{name:"Niger",code:"NE",flagEmoji:"🇳🇪",flagSvg:"https://flagcdn.com/ne.svg",flagPng:"https://flagcdn.com/w40/ne.png",phoneCode:"+227"},{name:"Nigeria",code:"NG",flagEmoji:"🇳🇬",flagSvg:"https://flagcdn.com/ng.svg",flagPng:"https://flagcdn.com/w40/ng.png",phoneCode:"+234"},{name:"Niue",code:"NU",flagEmoji:"🇳🇺",flagSvg:"https://flagcdn.com/nu.svg",flagPng:"https://flagcdn.com/w40/nu.png",phoneCode:"+683"},{name:"Norfolk Island",code:"NF",flagEmoji:"🇳🇫",flagSvg:"https://flagcdn.com/nf.svg",flagPng:"https://flagcdn.com/w40/nf.png",phoneCode:"+672"},{name:"North Macedonia",code:"MK",flagEmoji:"🇲🇰",flagSvg:"https://flagcdn.com/mk.svg",flagPng:"https://flagcdn.com/w40/mk.png",phoneCode:"+389"},{name:"Northern Mariana Islands",code:"MP",flagEmoji:"🇲🇵",flagSvg:"https://flagcdn.com/mp.svg",flagPng:"https://flagcdn.com/w40/mp.png",phoneCode:"+1670"},{name:"Norway",code:"NO",flagEmoji:"🇳🇴",flagSvg:"https://flagcdn.com/no.svg",flagPng:"https://flagcdn.com/w40/no.png",phoneCode:"+47"},{name:"Oman",code:"OM",flagEmoji:"🇴🇲",flagSvg:"https://flagcdn.com/om.svg",flagPng:"https://flagcdn.com/w40/om.png",phoneCode:"+968"},{name:"Pakistan",code:"PK",flagEmoji:"🇵🇰",flagSvg:"https://flagcdn.com/pk.svg",flagPng:"https://flagcdn.com/w40/pk.png",phoneCode:"+92"},{name:"Palau",code:"PW",flagEmoji:"🇵🇼",flagSvg:"https://flagcdn.com/pw.svg",flagPng:"https://flagcdn.com/w40/pw.png",phoneCode:"+680"},{name:"Palestine, State of",code:"PS",flagEmoji:"🇵🇸",flagSvg:"https://flagcdn.com/ps.svg",flagPng:"https://flagcdn.com/w40/ps.png",phoneCode:"+970"},{name:"Panama",code:"PA",flagEmoji:"🇵🇦",flagSvg:"https://flagcdn.com/pa.svg",flagPng:"https://flagcdn.com/w40/pa.png",phoneCode:"+507"},{name:"Papua New Guinea",code:"PG",flagEmoji:"🇵🇬",flagSvg:"https://flagcdn.com/pg.svg",flagPng:"https://flagcdn.com/w40/pg.png",phoneCode:"+675"},{name:"Paraguay",code:"PY",flagEmoji:"🇵🇾",flagSvg:"https://flagcdn.com/py.svg",flagPng:"https://flagcdn.com/w40/py.png",phoneCode:"+595"},{name:"Peru",code:"PE",flagEmoji:"🇵🇪",flagSvg:"https://flagcdn.com/pe.svg",flagPng:"https://flagcdn.com/w40/pe.png",phoneCode:"+51"},{name:"Philippines",code:"PH",flagEmoji:"🇵🇭",flagSvg:"https://flagcdn.com/ph.svg",flagPng:"https://flagcdn.com/w40/ph.png",phoneCode:"+63"},{name:"Pitcairn",code:"PN",flagEmoji:"🇵🇳",flagSvg:"https://flagcdn.com/pn.svg",flagPng:"https://flagcdn.com/w40/pn.png",phoneCode:"+64"},{name:"Poland",code:"PL",flagEmoji:"🇵🇱",flagSvg:"https://flagcdn.com/pl.svg",flagPng:"https://flagcdn.com/w40/pl.png",phoneCode:"+48"},{name:"Portugal",code:"PT",flagEmoji:"🇵🇹",flagSvg:"https://flagcdn.com/pt.svg",flagPng:"https://flagcdn.com/w40/pt.png",phoneCode:"+351"},{name:"Puerto Rico",code:"PR",flagEmoji:"🇵🇷",flagSvg:"https://flagcdn.com/pr.svg",flagPng:"https://flagcdn.com/w40/pr.png",phoneCode:"+1787"},{name:"Qatar",code:"QA",flagEmoji:"🇶🇦",flagSvg:"https://flagcdn.com/qa.svg",flagPng:"https://flagcdn.com/w40/qa.png",phoneCode:"+974"},{name:"Réunion",code:"RE",flagEmoji:"🇷🇪",flagSvg:"https://flagcdn.com/re.svg",flagPng:"https://flagcdn.com/w40/re.png",phoneCode:"+262"},{name:"Romania",code:"RO",flagEmoji:"🇷🇴",flagSvg:"https://flagcdn.com/ro.svg",flagPng:"https://flagcdn.com/w40/ro.png",phoneCode:"+40"},{name:"Russian Federation",code:"RU",flagEmoji:"🇷🇺",flagSvg:"https://flagcdn.com/ru.svg",flagPng:"https://flagcdn.com/w40/ru.png",phoneCode:"+7"},{name:"Rwanda",code:"RW",flagEmoji:"🇷🇼",flagSvg:"https://flagcdn.com/rw.svg",flagPng:"https://flagcdn.com/w40/rw.png",phoneCode:"+250"},{name:"Saint Barthélemy",code:"BL",flagEmoji:"🇧🇱",flagSvg:"https://flagcdn.com/bl.svg",flagPng:"https://flagcdn.com/w40/bl.png",phoneCode:"+590"},{name:"Saint Helena, Ascension and Tristan da Cunha",code:"SH",flagEmoji:"🇸🇭",flagSvg:"https://flagcdn.com/sh.svg",flagPng:"https://flagcdn.com/w40/sh.png",phoneCode:"+290"},{name:"Saint Kitts and Nevis",code:"KN",flagEmoji:"🇰🇳",flagSvg:"https://flagcdn.com/kn.svg",flagPng:"https://flagcdn.com/w40/kn.png",phoneCode:"+1869"},{name:"Saint Lucia",code:"LC",flagEmoji:"🇱🇨",flagSvg:"https://flagcdn.com/lc.svg",flagPng:"https://flagcdn.com/w40/lc.png",phoneCode:"+1758"},{name:"Saint Martin (French part)",code:"MF",flagEmoji:"🇲🇫",flagSvg:"https://flagcdn.com/mf.svg",flagPng:"https://flagcdn.com/w40/mf.png",phoneCode:"+590"},{name:"Saint Pierre and Miquelon",code:"PM",flagEmoji:"🇵🇲",flagSvg:"https://flagcdn.com/pm.svg",flagPng:"https://flagcdn.com/w40/pm.png",phoneCode:"+508"},{name:"Saint Vincent and the Grenadines",code:"VC",flagEmoji:"🇻🇨",flagSvg:"https://flagcdn.com/vc.svg",flagPng:"https://flagcdn.com/w40/vc.png",phoneCode:"+1784"},{name:"Samoa",code:"WS",flagEmoji:"🇼🇸",flagSvg:"https://flagcdn.com/ws.svg",flagPng:"https://flagcdn.com/w40/ws.png",phoneCode:"+685"},{name:"San Marino",code:"SM",flagEmoji:"🇸🇲",flagSvg:"https://flagcdn.com/sm.svg",flagPng:"https://flagcdn.com/w40/sm.png",phoneCode:"+378"},{name:"Sao Tome and Principe",code:"ST",flagEmoji:"🇸🇹",flagSvg:"https://flagcdn.com/st.svg",flagPng:"https://flagcdn.com/w40/st.png",phoneCode:"+239"},{name:"Saudi Arabia",code:"SA",flagEmoji:"🇸🇦",flagSvg:"https://flagcdn.com/sa.svg",flagPng:"https://flagcdn.com/w40/sa.png",phoneCode:"+966"},{name:"Senegal",code:"SN",flagEmoji:"🇸🇳",flagSvg:"https://flagcdn.com/sn.svg",flagPng:"https://flagcdn.com/w40/sn.png",phoneCode:"+221"},{name:"Serbia",code:"RS",flagEmoji:"🇷🇸",flagSvg:"https://flagcdn.com/rs.svg",flagPng:"https://flagcdn.com/w40/rs.png",phoneCode:"+381"},{name:"Seychelles",code:"SC",flagEmoji:"🇸🇨",flagSvg:"https://flagcdn.com/sc.svg",flagPng:"https://flagcdn.com/w40/sc.png",phoneCode:"+248"},{name:"Sierra Leone",code:"SL",flagEmoji:"🇸🇱",flagSvg:"https://flagcdn.com/sl.svg",flagPng:"https://flagcdn.com/w40/sl.png",phoneCode:"+232"},{name:"Singapore",code:"SG",flagEmoji:"🇸🇬",flagSvg:"https://flagcdn.com/sg.svg",flagPng:"https://flagcdn.com/w40/sg.png",phoneCode:"+65"},{name:"Sint Maarten (Dutch part)",code:"SX",flagEmoji:"🇸🇽",flagSvg:"https://flagcdn.com/sx.svg",flagPng:"https://flagcdn.com/w40/sx.png",phoneCode:"+1721"},{name:"Slovakia",code:"SK",flagEmoji:"🇸🇰",flagSvg:"https://flagcdn.com/sk.svg",flagPng:"https://flagcdn.com/w40/sk.png",phoneCode:"+421"},{name:"Slovenia",code:"SI",flagEmoji:"🇸🇮",flagSvg:"https://flagcdn.com/si.svg",flagPng:"https://flagcdn.com/w40/si.png",phoneCode:"+386"},{name:"Solomon Islands",code:"SB",flagEmoji:"🇸🇧",flagSvg:"https://flagcdn.com/sb.svg",flagPng:"https://flagcdn.com/w40/sb.png",phoneCode:"+677"},{name:"Somalia",code:"SO",flagEmoji:"🇸🇴",flagSvg:"https://flagcdn.com/so.svg",flagPng:"https://flagcdn.com/w40/so.png",phoneCode:"+252"},{name:"South Africa",code:"ZA",flagEmoji:"🇿🇦",flagSvg:"https://flagcdn.com/za.svg",flagPng:"https://flagcdn.com/w40/za.png",phoneCode:"+27"},{name:"South Georgia and the South Sandwich Islands",code:"GS",flagEmoji:"🇬🇸",flagSvg:"https://flagcdn.com/gs.svg",flagPng:"https://flagcdn.com/w40/gs.png",phoneCode:"+500"},{name:"South Sudan",code:"SS",flagEmoji:"🇸🇸",flagSvg:"https://flagcdn.com/ss.svg",flagPng:"https://flagcdn.com/w40/ss.png",phoneCode:"+211"},{name:"Spain",code:"ES",flagEmoji:"🇪🇸",flagSvg:"https://flagcdn.com/es.svg",flagPng:"https://flagcdn.com/w40/es.png",phoneCode:"+34"},{name:"Sri Lanka",code:"LK",flagEmoji:"🇱🇰",flagSvg:"https://flagcdn.com/lk.svg",flagPng:"https://flagcdn.com/w40/lk.png",phoneCode:"+94"},{name:"Sudan",code:"SD",flagEmoji:"🇸🇩",flagSvg:"https://flagcdn.com/sd.svg",flagPng:"https://flagcdn.com/w40/sd.png",phoneCode:"+249"},{name:"Suriname",code:"SR",flagEmoji:"🇸🇷",flagSvg:"https://flagcdn.com/sr.svg",flagPng:"https://flagcdn.com/w40/sr.png",phoneCode:"+597"},{name:"Svalbard and Jan Mayen",code:"SJ",flagEmoji:"🇸🇯",flagSvg:"https://flagcdn.com/sj.svg",flagPng:"https://flagcdn.com/w40/sj.png",phoneCode:"+47"},{name:"Sweden",code:"SE",flagEmoji:"🇸🇪",flagSvg:"https://flagcdn.com/se.svg",flagPng:"https://flagcdn.com/w40/se.png",phoneCode:"+46"},{name:"Switzerland",code:"CH",flagEmoji:"🇨🇭",flagSvg:"https://flagcdn.com/ch.svg",flagPng:"https://flagcdn.com/w40/ch.png",phoneCode:"+41"},{name:"Syrian Arab Republic",code:"SY",flagEmoji:"🇸🇾",flagSvg:"https://flagcdn.com/sy.svg",flagPng:"https://flagcdn.com/w40/sy.png",phoneCode:"+963"},{name:"Taiwan, Province of China",code:"TW",flagEmoji:"🇹🇼",flagSvg:"https://flagcdn.com/tw.svg",flagPng:"https://flagcdn.com/w40/tw.png",phoneCode:"+886"},{name:"Tajikistan",code:"TJ",flagEmoji:"🇹🇯",flagSvg:"https://flagcdn.com/tj.svg",flagPng:"https://flagcdn.com/w40/tj.png",phoneCode:"+992"},{name:"Tanzania, United Republic of",code:"TZ",flagEmoji:"🇹🇿",flagSvg:"https://flagcdn.com/tz.svg",flagPng:"https://flagcdn.com/w40/tz.png",phoneCode:"+255"},{name:"Thailand",code:"TH",flagEmoji:"🇹🇭",flagSvg:"https://flagcdn.com/th.svg",flagPng:"https://flagcdn.com/w40/th.png",phoneCode:"+66"},{name:"Timor-Leste",code:"TL",flagEmoji:"🇹🇱",flagSvg:"https://flagcdn.com/tl.svg",flagPng:"https://flagcdn.com/w40/tl.png",phoneCode:"+670"},{name:"Togo",code:"TG",flagEmoji:"🇹🇬",flagSvg:"https://flagcdn.com/tg.svg",flagPng:"https://flagcdn.com/w40/tg.png",phoneCode:"+228"},{name:"Tokelau",code:"TK",flagEmoji:"🇹🇰",flagSvg:"https://flagcdn.com/tk.svg",flagPng:"https://flagcdn.com/w40/tk.png",phoneCode:"+690"},{name:"Tonga",code:"TO",flagEmoji:"🇹🇴",flagSvg:"https://flagcdn.com/to.svg",flagPng:"https://flagcdn.com/w40/to.png",phoneCode:"+676"},{name:"Trinidad and Tobago",code:"TT",flagEmoji:"🇹🇹",flagSvg:"https://flagcdn.com/tt.svg",flagPng:"https://flagcdn.com/w40/tt.png",phoneCode:"+1868"},{name:"Tunisia",code:"TN",flagEmoji:"🇹🇳",flagSvg:"https://flagcdn.com/tn.svg",flagPng:"https://flagcdn.com/w40/tn.png",phoneCode:"+216"},{name:"Turkey",code:"TR",flagEmoji:"🇹🇷",flagSvg:"https://flagcdn.com/tr.svg",flagPng:"https://flagcdn.com/w40/tr.png",phoneCode:"+90"},{name:"Turkmenistan",code:"TM",flagEmoji:"🇹🇲",flagSvg:"https://flagcdn.com/tm.svg",flagPng:"https://flagcdn.com/w40/tm.png",phoneCode:"+993"},{name:"Turks and Caicos Islands",code:"TC",flagEmoji:"🇹🇨",flagSvg:"https://flagcdn.com/tc.svg",flagPng:"https://flagcdn.com/w40/tc.png",phoneCode:"+1649"},{name:"Tuvalu",code:"TV",flagEmoji:"🇹🇻",flagSvg:"https://flagcdn.com/tv.svg",flagPng:"https://flagcdn.com/w40/tv.png",phoneCode:"+688"},{name:"Uganda",code:"UG",flagEmoji:"🇺🇬",flagSvg:"https://flagcdn.com/ug.svg",flagPng:"https://flagcdn.com/w40/ug.png",phoneCode:"+256"},{name:"Ukraine",code:"UA",flagEmoji:"🇺🇦",flagSvg:"https://flagcdn.com/ua.svg",flagPng:"https://flagcdn.com/w40/ua.png",phoneCode:"+380"},{name:"United Arab Emirates",code:"AE",flagEmoji:"🇦🇪",flagSvg:"https://flagcdn.com/ae.svg",flagPng:"https://flagcdn.com/w40/ae.png",phoneCode:"+971"},{name:"United Kingdom of Great Britain and Northern Ireland",code:"GB",flagEmoji:"🇬🇧",flagSvg:"https://flagcdn.com/gb.svg",flagPng:"https://flagcdn.com/w40/gb.png",phoneCode:"+44"},{name:"United States",code:"US",flagEmoji:"🇺🇸",flagSvg:"https://flagcdn.com/us.svg",flagPng:"https://flagcdn.com/w40/us.png",phoneCode:"+1"},{name:"United States Minor Outlying Islands",code:"UM",flagEmoji:"🇺🇲",flagSvg:"https://flagcdn.com/um.svg",flagPng:"https://flagcdn.com/w40/um.png",phoneCode:"+1"},{name:"Uruguay",code:"UY",flagEmoji:"🇺🇾",flagSvg:"https://flagcdn.com/uy.svg",flagPng:"https://flagcdn.com/w40/uy.png",phoneCode:"+598"},{name:"Uzbekistan",code:"UZ",flagEmoji:"🇺🇿",flagSvg:"https://flagcdn.com/uz.svg",flagPng:"https://flagcdn.com/w40/uz.png",phoneCode:"+998"},{name:"Vanuatu",code:"VU",flagEmoji:"🇻🇺",flagSvg:"https://flagcdn.com/vu.svg",flagPng:"https://flagcdn.com/w40/vu.png",phoneCode:"+678"},{name:"Venezuela (Bolivarian Republic of)",code:"VE",flagEmoji:"🇻🇪",flagSvg:"https://flagcdn.com/ve.svg",flagPng:"https://flagcdn.com/w40/ve.png",phoneCode:"+58"},{name:"Viet Nam",code:"VN",flagEmoji:"🇻🇳",flagSvg:"https://flagcdn.com/vn.svg",flagPng:"https://flagcdn.com/w40/vn.png",phoneCode:"+84"},{name:"Virgin Islands (British)",code:"VG",flagEmoji:"🇻🇬",flagSvg:"https://flagcdn.com/vg.svg",flagPng:"https://flagcdn.com/w40/vg.png",phoneCode:"+1284"},{name:"Virgin Islands (U.S.)",code:"VI",flagEmoji:"🇻🇮",flagSvg:"https://flagcdn.com/vi.svg",flagPng:"https://flagcdn.com/w40/vi.png",phoneCode:"+1340"},{name:"Wallis and Futuna",code:"WF",flagEmoji:"🇼🇫",flagSvg:"https://flagcdn.com/wf.svg",flagPng:"https://flagcdn.com/w40/wf.png",phoneCode:"+681"},{name:"Western Sahara",code:"EH",flagEmoji:"🇪🇭",flagSvg:"https://flagcdn.com/eh.svg",flagPng:"https://flagcdn.com/w40/eh.png",phoneCode:"+212"},{name:"Yemen",code:"YE",flagEmoji:"🇾🇪",flagSvg:"https://flagcdn.com/ye.svg",flagPng:"https://flagcdn.com/w40/ye.png",phoneCode:"+967"},{name:"Zambia",code:"ZM",flagEmoji:"🇿🇲",flagSvg:"https://flagcdn.com/zm.svg",flagPng:"https://flagcdn.com/w40/zm.png",phoneCode:"+260"},{name:"Zimbabwe",code:"ZW",flagEmoji:"🇿🇼",flagSvg:"https://flagcdn.com/zw.svg",flagPng:"https://flagcdn.com/w40/zw.png",phoneCode:"+263"}],yl=["tabindex"],kl={class:"flex items-center gap-2"},Cl=["src","alt"],wl={key:0,class:"absolute z-[9999] w-full mt-1 bg-white border border-gray-300 rounded-md shadow-lg max-h-60 overflow-y-auto",style:{position:"absolute"}},xl=["onClick"],El=["src","alt","onError"],Sl=e.defineComponent({__name:"index",props:{modelValue:{default:""},placeholder:{default:""},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},customClass:{default:""},autoDetectFromIp:{type:Boolean,default:!0},returnType:{default:"name"},priorityCountries:{default:()=>["US","CA","GB","DE","FR","JP","CN","AU"]},ipDetectUrl:{default:"https://ipinfo.io/json"},ipDetectMethod:{default:"GET"},ipDetectHeaders:{},ipDetectResponseParser:{}},emits:["update:modelValue","change","ip-detect-start","ip-detect-success","ip-detect-error"],setup(a,{expose:f,emit:u}){const l=a,b=u,o=e.ref(!1),i=e.ref(pl),r=e.computed(()=>l.modelValue?i.value.find(s=>l.returnType==="code"?s.code===l.modelValue:s.name===l.modelValue):null),c=e.computed(()=>{const s=i.value.filter(C=>l.priorityCountries.includes(C.code)),v=i.value.filter(C=>!l.priorityCountries.includes(C.code)),p=s.sort((C,w)=>{const S=l.priorityCountries.indexOf(C.code),N=l.priorityCountries.indexOf(w.code);return S-N}),y=v.sort((C,w)=>C.name.localeCompare(w.name));return[...p,...y]}),t=()=>{l.disabled||(o.value=!o.value)},n=()=>{o.value=!1},d=s=>{if(s){const v=l.returnType==="code"?s.code:s.name;b("update:modelValue",v),b("change",v,s)}else b("update:modelValue","");n()},k=(s,v)=>{const p=s.target;v&&p.src===v.flagSvg?p.src=v.flagPng:r.value&&p.src===r.value.flagSvg&&(p.src=r.value.flagPng)},m=async()=>{if(!(!l.autoDetectFromIp||l.modelValue)){b("ip-detect-start");try{const s={method:l.ipDetectMethod,headers:{"Content-Type":"application/json",...l.ipDetectHeaders}},v=await fetch(l.ipDetectUrl,s);if(!v.ok)throw new Error(`HTTP error! status: ${v.status}`);const p=await v.json();let y;if(l.ipDetectResponseParser?y=l.ipDetectResponseParser(p):y=p.country||p.countryCode||p.country_code||"",y=y.toUpperCase(),!y)throw new Error("Country code not found in response");console.log("Auto-detected country from IP:",y),b("ip-detect-success",y);const C=i.value.find(w=>w.code===y);if(C){const w=l.returnType==="code"?C.code:C.name;b("update:modelValue",w),b("change",w,C)}else console.warn("Detected country code not found in country list:",y)}catch(s){const v=s instanceof Error?s:new Error(String(s));console.warn("Failed to detect country from IP:",v),b("ip-detect-error",v)}}},h=e.ref();return e.onMounted(async()=>{await e.nextTick(),l.autoDetectFromIp&&!l.modelValue&&await m();const s=v=>{h.value&&!h.value.contains(v.target)&&n()};document.addEventListener("click",s),e.onUnmounted(()=>{document.removeEventListener("click",s)})}),f({detectCountryFromIp:m,allCountries:e.readonly(i),sortedCountries:e.readonly(c)}),(s,v)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"containerRef",ref:h,class:"country-select-container relative"},[e.createElementVNode("div",{onClick:t,class:e.normalizeClass(["w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-[#1a1a1a] focus:border-[#1a1a1a] transition-colors duration-200 cursor-pointer bg-white flex items-center justify-between",a.customClass,{"opacity-60 cursor-not-allowed":a.disabled}]),tabindex:a.disabled?-1:0,onKeydown:[e.withKeys(t,["enter"]),e.withKeys(t,["space"]),e.withKeys(n,["escape"])]},[e.createElementVNode("div",kl,[r.value?(e.openBlock(),e.createElementBlock("img",{key:0,src:r.value.flagSvg,alt:r.value.name,class:"w-5 h-4 object-cover rounded-sm",onError:k},null,40,Cl)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass({"text-gray-500":!r.value&&a.placeholder})},e.toDisplayString(r.value?r.value.name:a.placeholder||"选择国家"),3)]),(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass(["w-5 h-5 text-gray-400 transition-transform duration-200",{"rotate-180":o.value}]),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[...v[0]||(v[0]=[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"},null,-1)])],2))],42,yl),o.value&&!a.disabled?(e.openBlock(),e.createElementBlock("div",wl,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,p=>{var y;return e.openBlock(),e.createElementBlock("div",{key:p.code,onClick:C=>d(p),class:e.normalizeClass(["px-3 py-2 hover:bg-gray-50 cursor-pointer flex items-center gap-2 transition-colors",{"bg-gray-100":((y=r.value)==null?void 0:y.code)===p.code}])},[e.createElementVNode("img",{src:p.flagSvg,alt:p.name,class:"w-5 h-4 object-cover rounded-sm flex-shrink-0",onError:C=>k(C,p)},null,40,El),e.createElementVNode("span",null,e.toDisplayString(p.name),1)],10,xl)}),128))])):e.createCommentVNode("",!0),o.value&&!a.disabled?(e.openBlock(),e.createElementBlock("div",{key:1,class:"fixed inset-0 z-[9998]",onClick:n})):e.createCommentVNode("",!0)],512))}}),Bl=K(Sl,[["__scopeId","data-v-08b31f1b"]]),$l=["tabindex","aria-expanded","aria-labelledby"],Ml={class:"flex items-center gap-2 min-h-0 flex-1"},Vl={key:0,class:"text-gray-500"},Nl={key:1,class:"flex flex-wrap gap-1"},Pl={key:0,class:"text-gray-900"},jl=["onClick"],Tl={key:0,class:"absolute z-[9999] w-full mt-2 bg-white rounded-xl shadow-xl border border-gray-100/50 max-h-60 overflow-auto backdrop-blur-sm",role:"listbox"},Dl={key:0,class:"p-3 border-b border-gray-50/80"},Ll={class:"py-1"},zl={key:0,class:"px-4 py-3 text-sm text-gray-400 text-center"},_l=["onClick","onKeydown","aria-selected"],Al={class:"flex items-center gap-3"},Il={key:0,class:"flex items-center"},Yl={key:1,class:"flex items-center"},Ol={key:0,class:"w-1.5 h-1.5 bg-white rounded-full"},Xl={class:"flex-1"},Rl=e.defineComponent({__name:"index",props:{modelValue:{},options:{},placeholder:{default:"请选择..."},multiple:{type:Boolean,default:!1},searchable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},labelKey:{default:"label"},valueKey:{default:"value"},noOptionsText:{default:"暂无选项"},clearable:{type:Boolean,default:!1},borderless:{type:Boolean,default:!1},width:{default:"200px"}},emits:["update:modelValue","change","open","close"],setup(a,{expose:f,emit:u}){const l=a,b=u,o=e.ref(!1),i=e.ref(""),r=e.ref(),c=e.ref(),t=e.computed(()=>!l.searchable||!i.value?l.options:l.options.filter(g=>h(g).toLowerCase().includes(i.value.toLowerCase()))),n=e.computed(()=>l.multiple?null:l.options.find(g=>s(g)===l.modelValue)||null),d=e.computed(()=>l.multiple?Array.isArray(l.modelValue)?l.options.filter(g=>l.modelValue.includes(s(g))):[]:[]),k=e.computed(()=>l.multiple?d.value.length>0:n.value!==null),m=e.computed(()=>`select-label-${Math.random().toString(36).substr(2,9)}`),h=g=>typeof g=="object"?g[l.labelKey]:g,s=g=>typeof g=="object"?g[l.valueKey]:g,v=g=>{const B=s(g);return l.multiple?Array.isArray(l.modelValue)&&l.modelValue.includes(B):l.modelValue===B},p=g=>{if(g.disabled)return;const B=s(g);if(l.multiple){const V=Array.isArray(l.modelValue)?[...l.modelValue]:[],D=V.indexOf(B);D>-1?V.splice(D,1):V.push(B),b("update:modelValue",V),b("change",V)}else b("update:modelValue",B),b("change",B),S()},y=g=>{if(!l.multiple)return;const B=s(g),V=Array.isArray(l.modelValue)?[...l.modelValue]:[],D=V.indexOf(B);D>-1&&(V.splice(D,1),b("update:modelValue",V),b("change",V))},C=()=>{l.disabled||(o.value?S():w())},w=()=>{o.value=!0,b("open"),e.nextTick(()=>{l.searchable&&c.value&&c.value.focus()})},S=()=>{o.value=!1,i.value="",b("close")},N=g=>{r.value&&!r.value.contains(g.target)&&S()},$=g=>{if(!o.value)return;const B=t.value,V=B.findIndex(D=>v(D));switch(g.key){case"ArrowDown":g.preventDefault();break;case"ArrowUp":g.preventDefault();break;case"Enter":case" ":g.preventDefault(),V>=0&&B[V]&&p(B[V]);break}};return e.onMounted(()=>{document.addEventListener("click",N),document.addEventListener("keydown",$)}),e.onUnmounted(()=>{document.removeEventListener("click",N),document.removeEventListener("keydown",$)}),f({open:w,close:S,toggle:C}),(g,B)=>(e.openBlock(),e.createElementBlock("div",{class:"relative",style:e.normalizeStyle({width:a.width}),ref_key:"selectContainer",ref:r},[e.createElementVNode("div",{onClick:C,onKeydown:[e.withKeys(C,["enter"]),e.withKeys(C,["space"]),e.withKeys(S,["escape"])],class:e.normalizeClass(["flex items-center justify-between w-full px-4 py-1.5 text-sm bg-white rounded-md cursor-pointer transition-all duration-200 border ","focus:outline-none focus:ring-2 focus:ring-[#1a1a1a]/50 focus:ring-offset-1",{"shadow-sm hover:shadow-md border border-gray-200/60 hover:border-gray-300/80":!a.disabled&&!a.borderless,"shadow-sm hover:shadow-md":!a.disabled&&a.borderless,"bg-gray-50/50 cursor-not-allowed border border-gray-100":a.disabled,"ring-1 ring-[#1a1a1a]/50 border-[#1a1a1a]/50 shadow-md":o.value&&!a.borderless,"ring-1 ring-[#1a1a1a]/50 shadow-md":o.value&&a.borderless}]),tabindex:a.disabled?-1:0,role:"combobox","aria-expanded":o.value,"aria-haspopup":!0,"aria-labelledby":m.value},[e.createElementVNode("div",Ml,[a.placeholder&&!k.value?(e.openBlock(),e.createElementBlock("span",Vl,e.toDisplayString(a.placeholder),1)):(e.openBlock(),e.createElementBlock("div",Nl,[a.multiple?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(d.value,V=>(e.openBlock(),e.createElementBlock("span",{key:s(V),class:"inline-flex items-center gap-1.5 px-2.5 py-1 text-xs bg-[#FFF] text-[#1a1a1a] rounded-full border border-[#1a1a1a]/50"},[e.createTextVNode(e.toDisplayString(h(V))+" ",1),e.createElementVNode("button",{onClick:e.withModifiers(D=>y(V),["stop"]),class:"rounded-full p-0.5 transition-colors duration-150",type:"button"},[...B[1]||(B[1]=[e.createElementVNode("i",{class:"bi bi-x text-xs text-[#1a1a1a]"},null,-1)])],8,jl)]))),128)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[n.value?(e.openBlock(),e.createElementBlock("span",Pl,e.toDisplayString(h(n.value)),1)):e.createCommentVNode("",!0)],64))]))]),e.createVNode(e.unref(U.Icon),{class:e.normalizeClass(["text-gray-400 transition-transform duration-300 ease-in-out text-lg",{"rotate-180":o.value,"rotate-0":!o.value}]),icon:"mdi:chevron-down"},null,8,["class"])],42,$l),e.createVNode(e.Transition,{"enter-active-class":"transition ease-out duration-200","enter-from-class":"opacity-0 scale-95","enter-to-class":"opacity-100 scale-100","leave-active-class":"transition ease-in duration-150","leave-from-class":"opacity-100 scale-100","leave-to-class":"opacity-0 scale-95"},{default:e.withCtx(()=>[o.value?(e.openBlock(),e.createElementBlock("div",Tl,[a.searchable?(e.openBlock(),e.createElementBlock("div",Dl,[e.withDirectives(e.createElementVNode("input",{ref_key:"searchInput",ref:c,"onUpdate:modelValue":B[0]||(B[0]=V=>i.value=V),type:"text",class:"w-full px-3 py-2 text-sm bg-gray-50/50 border border-gray-200/60 rounded-lg focus:outline-none focus:ring-1 focus:ring-[#1a1a1a]/50 focus:border-[#1a1a1a]/50 transition-all duration-200",placeholder:"搜索...",onKeydown:e.withKeys(S,["escape"])},null,544),[[e.vModelText,i.value]])])):e.createCommentVNode("",!0),e.createElementVNode("div",Ll,[t.value.length===0?(e.openBlock(),e.createElementBlock("div",zl,e.toDisplayString(a.noOptionsText),1)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value,V=>(e.openBlock(),e.createElementBlock("div",{key:s(V),onClick:D=>p(V),onKeydown:[e.withKeys(D=>p(V),["enter"]),e.withKeys(D=>p(V),["space"])],class:e.normalizeClass(["px-4 py-3 text-sm cursor-pointer transition-all duration-150",{"bg-[#f2f2f2] text-[#1a1a1a] font-medium":v(V),"hover:bg-[#f2f2f2] text-gray-700":!v(V)}]),role:"option","aria-selected":v(V),tabindex:0},[e.createElementVNode("div",Al,[a.multiple?(e.openBlock(),e.createElementBlock("div",Il,[e.createElementVNode("div",{class:e.normalizeClass(["w-4 h-4 rounded border flex items-center justify-center transition-all duration-150",{"border-[#1a1a1a] ":v(V),"border-gray-300 bg-white":!v(V)}])},[v(V)?(e.openBlock(),e.createBlock(e.unref(U.Icon),{key:0,icon:"mdi:check",class:"text-[#1a1a1a] text-xs font-bold"})):e.createCommentVNode("",!0)],2)])):(e.openBlock(),e.createElementBlock("div",Yl,[e.createElementVNode("div",{class:e.normalizeClass(["w-4 h-4 rounded-full border-2 flex items-center justify-center transition-all duration-150",{"border-[#1a1a1a] bg-[#1a1a1a]":v(V),"border-gray-300 bg-white":!v(V)}])},[v(V)?(e.openBlock(),e.createElementBlock("div",Ol)):e.createCommentVNode("",!0)],2)])),e.createElementVNode("span",Xl,e.toDisplayString(h(V)),1)])],42,_l))),128))])])):e.createCommentVNode("",!0)]),_:1})],4))}}),Fl=K(Rl,[["__scopeId","data-v-9347fa7f"]]),Hl=["type","value","placeholder","disabled","readonly","required","maxlength","minlength","autocomplete"],Wl={key:2,class:"x-input-count"},Gl=e.defineComponent({__name:"index",props:{modelValue:{},type:{default:"text"},placeholder:{default:""},label:{default:""},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},maxlength:{},minlength:{},autocomplete:{default:"off"},error:{type:Boolean,default:!1},width:{default:"100%"}},emits:["update:modelValue","input","change","blur","focus","clear","keydown","keyup"],setup(a,{expose:f,emit:u}){const l=a,b=u,o=e.ref(),i=e.ref(!1),r=e.computed(()=>!!l.label),c=e.computed(()=>{const w=l.modelValue;return w!=null&&w!==""}),t=e.computed(()=>String(l.modelValue||"").length),n=w=>{const N=w.target.value;b("update:modelValue",N),b("input",N,w)},d=w=>{const N=w.target.value;b("change",N,w)},k=w=>{i.value=!1,b("blur",w)},m=w=>{i.value=!0,b("focus",w)},h=w=>{b("keydown",w)},s=w=>{b("keyup",w)},v=()=>{var w;b("update:modelValue",""),b("clear"),(w=o.value)==null||w.focus()};return f({focus:()=>{var w;(w=o.value)==null||w.focus()},blur:()=>{var w;(w=o.value)==null||w.blur()},select:()=>{var w;(w=o.value)==null||w.select()},ref:o}),(w,S)=>(e.openBlock(),e.createElementBlock("div",{class:"x-input-group",style:e.normalizeStyle({width:a.width})},[e.createElementVNode("input",{ref_key:"inputRef",ref:o,type:a.type,value:a.modelValue,placeholder:r.value?"":a.placeholder,disabled:a.disabled,readonly:a.readonly,required:a.required,maxlength:a.maxlength,minlength:a.minlength,autocomplete:a.autocomplete,class:e.normalizeClass(["x-input",{"x-input--disabled":a.disabled,"x-input--error":a.error,"x-input--clearable":a.clearable&&a.modelValue,"x-input--with-label":r.value}]),onInput:n,onBlur:k,onFocus:m,onKeydown:h,onKeyup:s,onChange:d},null,42,Hl),a.label?(e.openBlock(),e.createElementBlock("label",{key:0,class:e.normalizeClass(["x-input-label",{"x-input-label--active":i.value||c.value,"x-input-label--error":a.error}])},e.toDisplayString(a.label),3)):e.createCommentVNode("",!0),a.clearable&&a.modelValue&&!a.disabled?(e.openBlock(),e.createElementBlock("button",{key:1,type:"button",class:"x-input-clear",onClick:v,onMousedown:S[0]||(S[0]=e.withModifiers(()=>{},["prevent"]))},[e.createVNode(e.unref(U.Icon),{icon:"bi:x-circle"})],32)):e.createCommentVNode("",!0),a.showWordLimit&&a.maxlength?(e.openBlock(),e.createElementBlock("div",Wl,e.toDisplayString(t.value)+" / "+e.toDisplayString(a.maxlength),1)):e.createCommentVNode("",!0)],4))}}),Kl=K(Gl,[["__scopeId","data-v-d7d149e3"]]),Ul={class:"x-checkboxes"},ql=["onClick"],Zl={class:"checkbox-wrapper"},Ql=["checked","disabled","onChange"],Jl={class:"checkbox-custom"},ea={key:0,class:"check-icon",viewBox:"0 0 24 24"},la={class:"option-label"},aa=e.defineComponent({__name:"index",props:{options:{},modelValue:{default:()=>[]},placeholder:{default:"请选择选项"},maxSelections:{default:0},disabled:{type:Boolean,default:!1},layout:{default:"vertical"},columns:{default:3}},emits:["update:modelValue","change"],setup(a,{expose:f,emit:u}){const l=a,b=u,o=d=>l.modelValue&&l.modelValue.includes(d),i=d=>{if(l.disabled)return;const k=l.options.find(s=>s.value===d);if(k!=null&&k.disabled)return;const m=[...l.modelValue],h=m.indexOf(d);if(h>-1)m.splice(h,1);else{if(l.maxSelections>0&&m.length>=l.maxSelections)return;m.push(d)}b("update:modelValue",m),b("change",m)},r=d=>{!l.disabled&&!d.disabled&&i(d.value)};return f({clearAll:()=>{l.disabled||(b("update:modelValue",[]),b("change",[]))},selectAll:()=>{if(l.disabled)return;const k=l.options.filter(m=>!m.disabled).map(m=>m.value);l.maxSelections>0?(b("update:modelValue",k.slice(0,l.maxSelections)),b("change",k.slice(0,l.maxSelections))):(b("update:modelValue",k),b("change",k))},removeOption:d=>{i(d)}}),(d,k)=>(e.openBlock(),e.createElementBlock("div",Ul,[e.createElementVNode("div",{class:e.normalizeClass(["options-container",[`options-container--${a.layout}`,{"options-container--disabled":a.disabled}]]),style:e.normalizeStyle(a.layout==="grid"?{gridTemplateColumns:`repeat(${a.columns}, 1fr)`}:{})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.options,m=>(e.openBlock(),e.createElementBlock("div",{key:m.value,class:e.normalizeClass(["option-item",{"option-selected":o(m.value),"option-disabled":a.disabled||m.disabled}]),onClick:h=>r(m)},[e.createElementVNode("div",Zl,[e.createElementVNode("input",{type:"checkbox",checked:o(m.value),disabled:a.disabled||m.disabled,onChange:e.withModifiers(h=>i(m.value),["stop"]),class:"checkbox-input"},null,40,Ql),e.createElementVNode("div",Jl,[o(m.value)?(e.openBlock(),e.createElementBlock("svg",ea,[...k[0]||(k[0]=[e.createElementVNode("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"},null,-1)])])):e.createCommentVNode("",!0)])]),e.createElementVNode("span",la,e.toDisplayString(m.label),1)],10,ql))),128))],6)]))}}),ta=K(aa,[["__scopeId","data-v-05984fcf"]]),na=["onClick","disabled","aria-expanded","aria-controls"],oa={class:"accordion-title"},ua={class:"accordion-icon"},sa=["id"],ca={class:"accordion-body"},ra=e.defineComponent({__name:"index",props:{items:{},allowMultiple:{type:Boolean,default:!1},defaultOpen:{default:()=>[]},bordered:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1}},emits:["change","item-click"],setup(a,{expose:f,emit:u}){const l=a,b=u,o=e.ref(new Set(l.defaultOpen)),i=e.ref({}),r=e.ref({}),c=(s,v)=>{s&&(r.value[v]=s,e.nextTick(()=>{const p=s.querySelector(".accordion-body");p&&(i.value[v]=p.scrollHeight)}))},t=s=>{var p;if(l.disabled||(p=l.items[s])!=null&&p.disabled)return;const v=o.value.has(s);l.allowMultiple?v?o.value.delete(s):o.value.add(s):v?o.value.clear():(o.value.clear(),o.value.add(s)),b("item-click",s,!v),b("change",Array.from(o.value))},n=s=>o.value.has(s);return e.watch(()=>l.defaultOpen,s=>{o.value=new Set(s)},{deep:!0}),e.watch(()=>l.items,()=>{e.nextTick(()=>{Object.keys(r.value).forEach(s=>{const v=parseInt(s),p=r.value[v];if(p){const y=p.querySelector(".accordion-body");y&&(i.value[v]=y.scrollHeight)}})})},{deep:!0}),f({openItem:s=>{var v;!l.disabled&&!((v=l.items[s])!=null&&v.disabled)&&(o.value.has(s)||(l.allowMultiple||o.value.clear(),o.value.add(s),b("change",Array.from(o.value))))},closeItem:s=>{o.value.has(s)&&(o.value.delete(s),b("change",Array.from(o.value)))},openAll:()=>{l.allowMultiple&&!l.disabled&&(l.items.forEach((s,v)=>{s.disabled||o.value.add(v)}),b("change",Array.from(o.value)))},closeAll:()=>{o.value.clear(),b("change",[])},toggle:t}),(s,v)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["accordion-container",{"accordion-container--bordered":a.bordered}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.items,(p,y)=>(e.openBlock(),e.createElementBlock("div",{key:p.id||y,class:e.normalizeClass(["accordion-item",{"is-open":n(y),"is-disabled":a.disabled||p.disabled}])},[e.createElementVNode("button",{onClick:C=>t(y),class:"accordion-header",disabled:a.disabled||p.disabled,"aria-expanded":n(y),"aria-controls":`accordion-content-${y}`},[e.createElementVNode("span",oa,e.toDisplayString(p.title),1),e.createElementVNode("div",ua,[(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass(["accordion-arrow",{"accordion-arrow--rotate":n(y)}]),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:"2"},[...v[0]||(v[0]=[e.createElementVNode("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"},null,-1)])],2))])],8,na),e.createElementVNode("div",{id:`accordion-content-${y}`,class:"accordion-content",style:e.normalizeStyle({maxHeight:n(y)?`${i.value[y]}px`:"0px"}),ref_for:!0,ref:C=>c(C,y)},[e.createElementVNode("div",ca,e.toDisplayString(p.content),1)],12,sa)],2))),128))],2))}}),ia=K(ra,[["__scopeId","data-v-c5fef037"]]),va={class:"thumbnail-container-wrapper relative"},da=["onMouseenter","onClick"],ba=["src","alt"],ga={class:"thumbnail-index"},ma=e.defineComponent({__name:"index",props:{images:{default:()=>[]},modelValue:{default:0},autoScroll:{type:Boolean,default:!0},showIndex:{type:Boolean,default:!0}},emits:["update:modelValue","change","hover"],setup(a,{expose:f,emit:u}){const l=a,b=u,o=e.ref(l.modelValue),i=e.ref(null),r=e.ref([]),c=e.ref(!1),t=e.ref(!1),n=e.ref(0),d=e.ref(!1),k=e.ref(!1),m=()=>{S()},h=(g,B)=>{g&&g instanceof HTMLElement&&(r.value[B]=g)},s=g=>{b("hover",g)},v=()=>{},p=g=>{o.value=g,b("update:modelValue",g),b("change",g),l.autoScroll&&e.nextTick(()=>{w(g),setTimeout(()=>{S()},300)})},y=()=>{if(!i.value)return;const g=i.value,B=g.clientWidth*.8;g.scrollBy({left:-B,behavior:"smooth"})},C=()=>{if(!i.value)return;const g=i.value,B=g.clientWidth*.8;g.scrollBy({left:B,behavior:"smooth"})},w=g=>{if(!i.value||r.value.length===0)return;const B=i.value,V=r.value[g];if(!V)return;const D=2,R=V.offsetWidth+8;let H=0;g>=D&&(H=(g-D)*R);const Y=B.scrollWidth-B.clientWidth;H=Math.max(0,Math.min(H,Y)),B.scrollTo({left:H,behavior:"smooth"})},S=()=>{if(!i.value)return;const g=i.value,B=g.scrollLeft,V=g.scrollWidth-g.clientWidth;c.value=B>0,t.value=B<V,V>0?n.value=B/V*100:n.value=0;const D=N();d.value=l.images.length>D&&c.value,k.value=l.images.length>D&&t.value},N=()=>{var I;if(!i.value||r.value.length===0)return 4;const B=i.value.clientWidth-32,A=(((I=r.value[0])==null?void 0:I.offsetWidth)||80)+12;return Math.floor(B/A)},$=g=>{g>=0&&g<l.images.length&&p(g)};return e.watch(()=>l.modelValue,g=>{g!==void 0&&g!==o.value&&(o.value=g,l.autoScroll&&e.nextTick(()=>{w(g)}))}),e.watch(()=>l.images,()=>{e.nextTick(()=>{S()})},{deep:!0}),e.onMounted(()=>{e.nextTick(()=>{S()})}),f({setCurrentIndex:$,scrollLeft:y,scrollRight:C,updateScrollState:S}),(g,B)=>(e.openBlock(),e.createElementBlock("div",va,[d.value?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:y,class:"scroll-arrow scroll-arrow-left","aria-label":"向左滚动"},[...B[1]||(B[1]=[e.createElementVNode("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[e.createElementVNode("path",{d:"M15 18l-6-6 6-6"})],-1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",{ref_key:"thumbnailContainer",ref:i,onScroll:m,class:"thumbnail-scroll-container"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.images,(V,D)=>(e.openBlock(),e.createElementBlock("div",{key:D,ref_for:!0,ref:A=>h(A,D),onMouseenter:A=>s(D),onMouseleave:B[0]||(B[0]=A=>v()),onClick:A=>p(D),class:e.normalizeClass(["thumbnail-item",{"thumbnail-item--active":o.value===D,"thumbnail-item--inactive":o.value!==D}])},[e.createElementVNode("img",{src:V,alt:`缩略图 ${D+1}`,class:e.normalizeClass(["thumbnail-image",{"thumbnail-image--active":o.value===D,"thumbnail-image--inactive":o.value!==D}])},null,10,ba),e.createElementVNode("div",ga,e.toDisplayString(D+1),1)],42,da))),128))],544),k.value?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:C,class:"scroll-arrow scroll-arrow-right","aria-label":"向右滚动"},[...B[2]||(B[2]=[e.createElementVNode("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[e.createElementVNode("path",{d:"M9 18l6-6-6-6"})],-1)])])):e.createCommentVNode("",!0)]))}}),fa=K(ma,[["__scopeId","data-v-809b97a6"]]),ha=e.defineComponent({__name:"index",props:{width:{default:"100%"},height:{default:"1rem"},shape:{default:"rectangle"},animated:{type:Boolean,default:!0},loading:{type:Boolean,default:!0},class:{default:""},style:{default:()=>({})}},setup(a){const f=a,u=e.computed(()=>typeof f.width=="string"?f.width.includes("%")||f.width.includes("px")||f.width.includes("rem")?"":`w-${f.width}`:""),l=e.computed(()=>typeof f.height=="string"?f.height.includes("%")||f.height.includes("px")||f.height.includes("rem")?"":`h-${f.height}`:""),b=e.computed(()=>{switch(f.shape){case"circle":return"rounded-full";case"rounded":return"rounded-lg";default:return"rounded"}}),o=e.computed(()=>f.class),i=e.computed(()=>{const r={...f.style};return typeof f.width=="string"&&(f.width.includes("%")||f.width.includes("px")||f.width.includes("rem"))?r.width=f.width:typeof f.width=="number"&&(r.width=`${f.width}px`),typeof f.height=="string"&&(f.height.includes("%")||f.height.includes("px")||f.height.includes("rem"))?r.height=f.height:typeof f.height=="number"&&(r.height=`${f.height}px`),r});return(r,c)=>a.loading?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["bg-gray-200",[u.value,l.value,b.value,o.value,{"animate-pulse":a.animated}]]),style:e.normalizeStyle(i.value)},null,6)):e.renderSlot(r.$slots,"default",{key:1},void 0,!0)}}),pa=K(ha,[["__scopeId","data-v-db4a4465"]]),ya={key:0,class:"modal-header"},ka={class:"modal-title"},Ca={class:"modal-body"},wa={key:1,class:"modal-footer"},xa={key:0,class:"loading-spinner"},Ea=e.defineComponent({__name:"index",props:{visible:{type:Boolean,default:!1},title:{default:"提示"},width:{},size:{default:"medium"},fullscreen:{type:Boolean,default:!1},showHeader:{type:Boolean,default:!0},showFooter:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},showCancel:{type:Boolean,default:!0},showConfirm:{type:Boolean,default:!0},cancelText:{default:"取消"},confirmText:{default:"确定"},confirmLoading:{type:Boolean,default:!1},maskClosable:{type:Boolean,default:!0},escClosable:{type:Boolean,default:!0}},emits:["update:visible","close","cancel","confirm","opened","closed"],setup(a,{expose:f,emit:u}){const l=a,b=u,o=()=>{b("update:visible",!1),b("close")},i=()=>{b("cancel"),b("update:visible",!1)},r=()=>{b("confirm")},c=()=>{l.maskClosable&&o()},t=n=>{n.key==="Escape"&&l.escClosable&&l.visible&&o()};return e.watch(()=>l.visible,n=>{n?(document.addEventListener("keydown",t),document.body.style.overflow="hidden",b("opened")):(document.removeEventListener("keydown",t),document.body.style.overflow="",b("closed"))}),f({close:o}),(n,d)=>{const k=e.resolveComponent("XButton");return e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(e.Transition,{"enter-active-class":"transition-opacity duration-300","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"transition-opacity duration-300","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:e.withCtx(()=>[a.visible?(e.openBlock(),e.createElementBlock("div",{key:0,class:"modal-mask",onClick:c},[e.createVNode(e.Transition,{"enter-active-class":"transition-all duration-300","enter-from-class":"opacity-0 scale-95","enter-to-class":"opacity-100 scale-100","leave-active-class":"transition-all duration-300","leave-from-class":"opacity-100 scale-100","leave-to-class":"opacity-0 scale-95"},{default:e.withCtx(()=>[a.visible?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["modal-container",[`modal-container--${a.size}`,{"modal-container--fullscreen":a.fullscreen}]]),style:e.normalizeStyle({width:a.width}),onClick:d[0]||(d[0]=e.withModifiers(()=>{},["stop"]))},[a.showHeader?(e.openBlock(),e.createElementBlock("div",ya,[e.renderSlot(n.$slots,"header",{},()=>[e.createElementVNode("h3",ka,e.toDisplayString(a.title),1)],!0),a.showClose?(e.openBlock(),e.createElementBlock("button",{key:0,class:"modal-close",onClick:o,"aria-label":"关闭"},[e.createVNode(e.unref(U.Icon),{icon:"mdi:close"})])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",Ca,[e.renderSlot(n.$slots,"default",{},void 0,!0)]),a.showFooter?(e.openBlock(),e.createElementBlock("div",wa,[e.renderSlot(n.$slots,"footer",{},()=>[a.showCancel?(e.openBlock(),e.createBlock(k,{key:0,size:"small",ghost:"",type:"danger",onClick:i},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.cancelText),1)]),_:1})):e.createCommentVNode("",!0),a.showConfirm?(e.openBlock(),e.createBlock(k,{key:1,size:"small",ghost:"",type:"primary",onClick:r,disabled:a.confirmLoading},{default:e.withCtx(()=>[a.confirmLoading?(e.openBlock(),e.createElementBlock("span",xa)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(a.confirmText),1)]),_:1},8,["disabled"])):e.createCommentVNode("",!0)],!0)])):e.createCommentVNode("",!0)],6)):e.createCommentVNode("",!0)]),_:3})])):e.createCommentVNode("",!0)]),_:3})])}}}),Sa=K(Ea,[["__scopeId","data-v-7de4cec9"]]),Ba={class:"x-tooltip-trigger"},$a={class:"tooltip-label"},Ma={class:"tooltip-text"},Va={class:"tooltip-hover-text"},Na=e.defineComponent({__name:"index",props:{content:{},placement:{default:"top"},variant:{default:"basic"},label:{default:"Hover"},hoverText:{default:""}},setup(a){return(f,u)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([a.variant==="basic"?"x-tooltip-wrapper":"x-tooltip-rich-wrapper",a.variant==="rich"&&`rich-${a.placement}`])},[a.variant==="basic"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Ba,[e.renderSlot(f.$slots,"default",{},void 0,!0)]),e.createElementVNode("div",{class:e.normalizeClass(["x-tooltip",`tooltip-${a.placement}`])},[e.createTextVNode(e.toDisplayString(a.content)+" ",1),e.createElementVNode("div",{class:e.normalizeClass(["tooltip-arrow",`arrow-${a.placement}`])},null,2)],2)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",$a,e.toDisplayString(a.label),1),e.createElementVNode("span",Ma,e.toDisplayString(a.content),1),e.createElementVNode("span",Va,e.toDisplayString(a.hoverText||a.label),1)],64))],2))}}),Pa=K(Na,[["__scopeId","data-v-6d3b782b"]]),ja=["id","checked","disabled"],Ta=["for"],Da={key:0,class:"loading-spinner"},La=["id","checked","disabled"],za={key:0,class:"loading-spinner-theme"},_a=e.defineComponent({__name:"index",props:{modelValue:{type:Boolean},disabled:{type:Boolean,default:!1},size:{default:"medium"},variant:{default:"default"},color:{default:"#1a1a1a"},shadowColor:{default:"#1a1a1a"},thumbColor:{default:"#ffffff"},loading:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(a,{emit:f}){const u=a,l=f,b=e.computed(()=>`switch-${Math.random().toString(36).substr(2,9)}`),o=e.computed(()=>{const t=u.color||"#0974f1",n=u.shadowColor||t,d=u.thumbColor||"#ffffff",k=r(t,.9),m=r(t,.2);return{"--switch-color":t,"--switch-color-rgb":i(t),"--switch-shadow-color":n,"--switch-shadow-color-rgb":i(n),"--switch-thumb-color":d,"--switch-bg-color":k,"--switch-active-color":m}}),i=t=>{const n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);if(n){const d=parseInt(n[1],16),k=parseInt(n[2],16),m=parseInt(n[3],16);return`${d}, ${k}, ${m}`}return"26, 26, 26"},r=(t,n)=>{const d=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);if(d){const k=parseInt(d[1],16),m=parseInt(d[2],16),h=parseInt(d[3],16),s=Math.round(k+(255-k)*n),v=Math.round(m+(255-m)*n),p=Math.round(h+(255-h)*n);return`#${s.toString(16).padStart(2,"0")}${v.toString(16).padStart(2,"0")}${p.toString(16).padStart(2,"0")}`}return"#e5e7eb"},c=()=>{if(!u.disabled&&!u.loading){const t=!u.modelValue;l("change",t),l("update:modelValue",t)}};return(t,n)=>a.variant==="default"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["switch",[`size-${a.size}`,{disabled:a.disabled},{loading:a.loading},{checked:a.modelValue}]]),style:e.normalizeStyle(o.value)},[e.createElementVNode("input",{id:b.value,checked:a.modelValue,onChange:c,disabled:a.disabled||a.loading,type:"checkbox"},null,40,ja),e.createElementVNode("label",{for:b.value,class:"slider"},[a.loading?(e.openBlock(),e.createElementBlock("span",Da,[...n[0]||(n[0]=[e.createElementVNode("span",{class:"spinner-inner"},null,-1)])])):e.createCommentVNode("",!0)],8,Ta)],6)):a.variant==="theme"?(e.openBlock(),e.createElementBlock("label",{key:1,class:e.normalizeClass(["theme-switch",[`size-${a.size}`,{disabled:a.disabled},{loading:a.loading}]])},[e.createElementVNode("input",{id:b.value,checked:a.modelValue,onChange:c,disabled:a.disabled||a.loading,type:"checkbox",class:"theme-switch__checkbox"},null,40,La),n[2]||(n[2]=e.createStaticVNode('<div class="theme-switch__container" data-v-ce0ce570><div class="theme-switch__clouds" data-v-ce0ce570></div><div class="theme-switch__stars-container" data-v-ce0ce570><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 144 55" fill="none" data-v-ce0ce570><path fill-rule="evenodd" clip-rule="evenodd" d="M135.831 3.00688C135.055 3.85027 134.111 4.29946 133 4.35447C134.111 4.40947 135.055 4.85867 135.831 5.71123C136.607 6.55462 136.996 7.56303 136.996 8.72727C136.996 7.95722 137.172 7.25134 137.525 6.59129C137.886 5.93124 138.372 5.39954 138.98 5.00535C139.598 4.60199 140.268 4.39114 141 4.35447C139.88 4.2903 138.936 3.85027 138.16 3.00688C137.384 2.16348 136.996 1.16425 136.996 0C136.996 1.16425 136.607 2.16348 135.831 3.00688ZM31 23.3545C32.1114 23.2995 33.0551 22.8503 33.8313 22.0069C34.6075 21.1635 34.9956 20.1642 34.9956 19C34.9956 20.1642 35.3837 21.1635 36.1599 22.0069C36.9361 22.8503 37.8798 23.2903 39 23.3545C38.2679 23.3911 37.5976 23.602 36.9802 24.0053C36.3716 24.3995 35.8864 24.9312 35.5248 25.5913C35.172 26.2513 34.9956 26.9572 34.9956 27.7273C34.9956 26.563 34.6075 25.5546 33.8313 24.7112C33.0551 23.8587 32.1114 23.4095 31 23.3545ZM0 36.3545C1.11136 36.2995 2.05513 35.8503 2.83131 35.0069C3.6075 34.1635 3.99559 33.1642 3.99559 32C3.99559 33.1642 4.38368 34.1635 5.15987 35.0069C5.93605 35.8503 6.87982 36.2903 8 36.3545C7.26792 36.3911 6.59757 36.602 5.98015 37.0053C5.37155 37.3995 4.88644 37.9312 4.52481 38.5913C4.172 39.2513 3.99559 39.9572 3.99559 40.7273C3.99559 39.563 3.6075 38.5546 2.83131 37.7112C2.05513 36.8587 1.11136 36.4095 0 36.3545ZM56.8313 24.0069C56.0551 24.8503 55.1114 25.2995 54 25.3545C55.1114 25.4095 56.0551 25.8587 56.8313 26.7112C57.6075 27.5546 57.9956 28.563 57.9956 29.7273C57.9956 28.9572 58.172 28.2513 58.5248 27.5913C58.8864 26.9312 59.3716 26.3995 59.9802 26.0053C60.5976 25.602 61.2679 25.3911 62 25.3545C60.8798 25.2903 59.9361 24.8503 59.1599 24.0069C58.3837 23.1635 57.9956 22.1642 57.9956 21C57.9956 22.1642 57.6075 23.1635 56.8313 24.0069ZM81 25.3545C82.1114 25.2995 83.0551 24.8503 83.8313 24.0069C84.6075 23.1635 84.9956 22.1642 84.9956 21C84.9956 22.1642 85.3837 23.1635 86.1599 24.0069C86.9361 24.8503 87.8798 25.2903 89 25.3545C88.2679 25.3911 87.5976 25.602 86.9802 26.0053C86.3716 26.3995 85.8864 26.9312 85.5248 27.5913C85.172 28.2513 84.9956 28.9572 84.9956 29.7273C84.9956 28.563 84.6075 27.5546 83.8313 26.7112C83.0551 25.8587 82.1114 25.4095 81 25.3545ZM136 36.3545C137.111 36.2995 138.055 35.8503 138.831 35.0069C139.607 34.1635 139.996 33.1642 139.996 32C139.996 33.1642 140.384 34.1635 141.16 35.0069C141.936 35.8503 142.88 36.2903 144 36.3545C143.268 36.3911 142.598 36.602 141.98 37.0053C141.372 37.3995 140.886 37.9312 140.525 38.5913C140.172 39.2513 139.996 39.9572 139.996 40.7273C139.996 39.563 139.607 38.5546 138.831 37.7112C138.055 36.8587 137.111 36.4095 136 36.3545ZM101.831 49.0069C101.055 49.8503 100.111 50.2995 99 50.3545C100.111 50.4095 101.055 50.8587 101.831 51.7112C102.607 52.5546 102.996 53.563 102.996 54.7273C102.996 53.9572 103.172 53.2513 103.525 52.5913C103.886 51.9312 104.372 51.3995 104.98 51.0053C105.598 50.602 106.268 50.3911 107 50.3545C105.88 50.2903 104.936 49.8503 104.16 49.0069C103.384 48.1635 102.996 47.1642 102.996 46C102.996 47.1642 102.607 48.1635 101.831 49.0069Z" fill="currentColor" data-v-ce0ce570></path></svg></div><div class="theme-switch__circle-container" data-v-ce0ce570><div class="theme-switch__sun-moon-container" data-v-ce0ce570><div class="theme-switch__moon" data-v-ce0ce570><div class="theme-switch__spot" data-v-ce0ce570></div><div class="theme-switch__spot" data-v-ce0ce570></div><div class="theme-switch__spot" data-v-ce0ce570></div></div></div></div></div>',1)),a.loading?(e.openBlock(),e.createElementBlock("span",za,[...n[1]||(n[1]=[e.createElementVNode("span",{class:"spinner-inner"},null,-1)])])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)}}),Aa=K(_a,[["__scopeId","data-v-ce0ce570"]]),Ia={class:"rating"},Ya=["title","onClick"],Oa=["name","value","disabled","checked"],Xa={key:0,class:"score-text"},Ra={key:1,class:"score-value"},Fa=e.defineComponent({__name:"index",props:{modelValue:{default:0},maxStars:{default:5},size:{default:"medium"},disabled:{type:Boolean,default:!1},showText:{type:Boolean,default:!1},showValue:{type:Boolean,default:!1},texts:{default:()=>["极差","差","一般","好","极好"]},allowHalf:{type:Boolean,default:!1},color:{default:"#ffc73a"}},emits:["update:modelValue","change"],setup(a,{emit:f}){e.useCssVars(c=>({v45ed3bbe:c.color}));const u=a,l=f,b=e.computed(()=>Math.random().toString(36).substr(2,9)),o=c=>{u.disabled||(l("update:modelValue",c),l("change",c))},i=c=>u.texts&&u.texts[c-1]?`${c}星 - ${u.texts[c-1]}`:`${c}星`,r=()=>u.modelValue===0?"未评分":u.texts&&u.texts[u.modelValue-1]?u.texts[u.modelValue-1]:`${u.modelValue}星`;return(c,t)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["x-score",[`score-${a.size}`,{"score-disabled":a.disabled}]])},[e.createElementVNode("div",Ia,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.maxStars,n=>(e.openBlock(),e.createElementBlock("label",{key:n,class:e.normalizeClass({"star-filled":n<=a.modelValue}),title:i(n),onClick:d=>o(n)},[e.createElementVNode("input",{type:"radio",name:`star-radio-${b.value}`,value:n,disabled:a.disabled,checked:a.modelValue===n,style:{display:"none"}},null,8,Oa),t[0]||(t[0]=e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},[e.createElementVNode("path",{pathLength:"360",d:"M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z"})],-1))],10,Ya))),128))]),a.showText?(e.openBlock(),e.createElementBlock("div",Xa,e.toDisplayString(r()),1)):e.createCommentVNode("",!0),a.showValue?(e.openBlock(),e.createElementBlock("div",Ra,e.toDisplayString(a.modelValue)+"/"+e.toDisplayString(a.maxStars),1)):e.createCommentVNode("",!0)],2))}}),Ha=K(Fa,[["__scopeId","data-v-3cdb1a2c"]]),Wa=["name","value","disabled","checked","onChange"],Ga={key:0,class:"radio-button"},Ka={class:"radio-content"},Ua={key:0,class:"radio-icon"},qa={class:"radio-text"},Za={class:"radio-label"},Qa={key:0,class:"radio-description"},Ja={key:1,class:"payment-method-container"},et={class:"payment-content"},lt={class:"payment-icon"},at={class:"payment-label"},tt=["name","value","disabled","checked","onChange"],nt=e.defineComponent({__name:"index",props:{modelValue:{default:""},options:{default:()=>[]},size:{default:"medium"},disabled:{type:Boolean,default:!1},showIcon:{type:Boolean,default:!1},name:{default:"radio-group"},direction:{default:"vertical"},variant:{default:"standard"},mode:{default:"default"},paymentOptions:{default:()=>[]}},emits:["update:modelValue","change"],setup(a,{emit:f}){const u=a,l=f,b=[{value:"google",label:"Google Pay",icon:"logos:google-pay"},{value:"apple",label:"Apple Pay",icon:"logos:apple-pay"},{value:"paypal",label:"Paypal",icon:"logos:paypal"},{value:"visa",label:"Credit Card",icon:"logos:visa"}],o=e.computed(()=>u.paymentOptions&&u.paymentOptions.length>0?u.paymentOptions:b),i=r=>{u.disabled||(l("update:modelValue",r),l("change",r))};return(r,c)=>a.variant==="standard"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["x-radio-group",[`radio-${a.size}`,`radio-${a.direction}`,`radio-${a.mode}`,{"radio-disabled":a.disabled}]])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.options,t=>(e.openBlock(),e.createElementBlock("label",{key:t.value,class:e.normalizeClass(["x-radio-item",[{"radio-item-checked":a.modelValue===t.value},{"radio-item-disabled":a.disabled||t.disabled}]])},[e.createElementVNode("input",{type:"radio",name:a.name,value:t.value,disabled:a.disabled||t.disabled,checked:a.modelValue===t.value,onChange:n=>i(t.value),class:"radio-input"},null,40,Wa),a.mode==="default"?(e.openBlock(),e.createElementBlock("div",Ga,[...c[0]||(c[0]=[e.createElementVNode("div",{class:"radio-button-inner"},null,-1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",Ka,[t.icon||a.showIcon?(e.openBlock(),e.createElementBlock("div",Ua,[e.renderSlot(r.$slots,"icon",{option:t},()=>[t.icon?(e.openBlock(),e.createBlock(e.unref(U.Icon),{key:0,icon:t.icon},null,8,["icon"])):e.createCommentVNode("",!0)],!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",qa,[e.createElementVNode("div",Za,e.toDisplayString(t.label),1),t.description?(e.openBlock(),e.createElementBlock("div",Qa,e.toDisplayString(t.description),1)):e.createCommentVNode("",!0)]),e.renderSlot(r.$slots,"content",{option:t},void 0,!0)])],2))),128))],2)):(e.openBlock(),e.createElementBlock("div",Ja,[c[1]||(c[1]=e.createElementVNode("p",{class:"payment-title"},"Payment method",-1)),c[2]||(c[2]=e.createElementVNode("p",{class:"payment-subtitle"},[e.createTextVNode(" This component is made by using "),e.createElementVNode("span",{class:"payment-highlight"},"`:has() pseudo-class`")],-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,t=>(e.openBlock(),e.createElementBlock("label",{key:t.value,class:e.normalizeClass(["payment-option",{"payment-option-checked":a.modelValue===t.value}])},[e.createElementVNode("div",et,[e.createElementVNode("div",lt,[e.createVNode(e.unref(U.Icon),{icon:t.icon},null,8,["icon"])]),e.createElementVNode("p",at,e.toDisplayString(t.label),1)]),e.createElementVNode("input",{type:"radio",name:a.name,value:t.value,disabled:a.disabled,checked:a.modelValue===t.value,onChange:n=>i(t.value),class:"payment-input"},null,40,tt)],2))),128))]))}}),ot=K(nt,[["__scopeId","data-v-3ea637db"]]);var ae=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function te(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var Ce={exports:{}};(function(a,f){(function(u,l){a.exports=l()})(ae,function(){var u="minute",l=/[+-]\d\d(?::?\d\d)?/g,b=/([+-]|\d\d)/g;return function(o,i,r){var c=i.prototype;r.utc=function(s){var v={date:s,utc:!0,args:arguments};return new i(v)},c.utc=function(s){var v=r(this.toDate(),{locale:this.$L,utc:!0});return s?v.add(this.utcOffset(),u):v},c.local=function(){return r(this.toDate(),{locale:this.$L,utc:!1})};var t=c.parse;c.parse=function(s){s.utc&&(this.$u=!0),this.$utils().u(s.$offset)||(this.$offset=s.$offset),t.call(this,s)};var n=c.init;c.init=function(){if(this.$u){var s=this.$d;this.$y=s.getUTCFullYear(),this.$M=s.getUTCMonth(),this.$D=s.getUTCDate(),this.$W=s.getUTCDay(),this.$H=s.getUTCHours(),this.$m=s.getUTCMinutes(),this.$s=s.getUTCSeconds(),this.$ms=s.getUTCMilliseconds()}else n.call(this)};var d=c.utcOffset;c.utcOffset=function(s,v){var p=this.$utils().u;if(p(s))return this.$u?0:p(this.$offset)?d.call(this):this.$offset;if(typeof s=="string"&&(s=function(S){S===void 0&&(S="");var N=S.match(l);if(!N)return null;var $=(""+N[0]).match(b)||["-",0,0],g=$[0],B=60*+$[1]+ +$[2];return B===0?0:g==="+"?B:-B}(s),s===null))return this;var y=Math.abs(s)<=16?60*s:s;if(y===0)return this.utc(v);var C=this.clone();if(v)return C.$offset=y,C.$u=!1,C;var w=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(C=this.local().add(y+w,u)).$offset=y,C.$x.$localOffset=w,C};var k=c.format;c.format=function(s){var v=s||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return k.call(this,v)},c.valueOf=function(){var s=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*s},c.isUTC=function(){return!!this.$u},c.toISOString=function(){return this.toDate().toISOString()},c.toString=function(){return this.toDate().toUTCString()};var m=c.toDate;c.toDate=function(s){return s==="s"&&this.$offset?r(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():m.call(this)};var h=c.diff;c.diff=function(s,v,p){if(s&&this.$u===s.$u)return h.call(this,s,v,p);var y=this.local(),C=r(s).local();return h.call(y,C,v,p)}}})})(Ce);var ut=Ce.exports;const st=te(ut);var we={exports:{}};(function(a,f){(function(u,l){a.exports=l()})(ae,function(){var u={year:0,month:1,day:2,hour:3,minute:4,second:5},l={};return function(b,o,i){var r,c=function(k,m,h){h===void 0&&(h={});var s=new Date(k),v=function(p,y){y===void 0&&(y={});var C=y.timeZoneName||"short",w=p+"|"+C,S=l[w];return S||(S=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:p,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:C}),l[w]=S),S}(m,h);return v.formatToParts(s)},t=function(k,m){for(var h=c(k,m),s=[],v=0;v<h.length;v+=1){var p=h[v],y=p.type,C=p.value,w=u[y];w>=0&&(s[w]=parseInt(C,10))}var S=s[3],N=S===24?0:S,$=s[0]+"-"+s[1]+"-"+s[2]+" "+N+":"+s[4]+":"+s[5]+":000",g=+k;return(i.utc($).valueOf()-(g-=g%1e3))/6e4},n=o.prototype;n.tz=function(k,m){k===void 0&&(k=r);var h,s=this.utcOffset(),v=this.toDate(),p=v.toLocaleString("en-US",{timeZone:k}),y=Math.round((v-new Date(p))/1e3/60),C=15*-Math.round(v.getTimezoneOffset()/15)-y;if(!Number(C))h=this.utcOffset(0,m);else if(h=i(p,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(C,!0),m){var w=h.utcOffset();h=h.add(s-w,"minute")}return h.$x.$timezone=k,h},n.offsetName=function(k){var m=this.$x.$timezone||i.tz.guess(),h=c(this.valueOf(),m,{timeZoneName:k}).find(function(s){return s.type.toLowerCase()==="timezonename"});return h&&h.value};var d=n.startOf;n.startOf=function(k,m){if(!this.$x||!this.$x.$timezone)return d.call(this,k,m);var h=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return d.call(h,k,m).tz(this.$x.$timezone,!0)},i.tz=function(k,m,h){var s=h&&m,v=h||m||r,p=t(+i(),v);if(typeof k!="string")return i(k).tz(v);var y=function(N,$,g){var B=N-60*$*1e3,V=t(B,g);if($===V)return[B,$];var D=t(B-=60*(V-$)*1e3,g);return V===D?[B,V]:[N-60*Math.min(V,D)*1e3,Math.max(V,D)]}(i.utc(k,s).valueOf(),p,v),C=y[0],w=y[1],S=i(C).utcOffset(w);return S.$x.$timezone=v,S},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(k){r=k}}})})(we);var ct=we.exports;const rt=te(ct);var xe={exports:{}};(function(a,f){(function(u,l){a.exports=l()})(ae,function(){return function(u,l,b){u=u||{};var o=l.prototype,i={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function r(t,n,d,k){return o.fromToBase(t,n,d,k)}b.en.relativeTime=i,o.fromToBase=function(t,n,d,k,m){for(var h,s,v,p=d.$locale().relativeTime||i,y=u.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],C=y.length,w=0;w<C;w+=1){var S=y[w];S.d&&(h=k?b(t).diff(d,S.d,!0):d.diff(t,S.d,!0));var N=(u.rounding||Math.round)(Math.abs(h));if(v=h>0,N<=S.r||!S.r){N<=1&&w>0&&(S=y[w-1]);var $=p[S.l];m&&(N=m(""+N)),s=typeof $=="string"?$.replace("%d",N):$(N,n,S.l,v);break}}if(n)return s;var g=v?p.future:p.past;return typeof g=="function"?g(s):g.replace("%s",s)},o.to=function(t,n){return r(t,n,this,!0)},o.from=function(t,n){return r(t,n,this)};var c=function(t){return t.$u?b.utc():b()};o.toNow=function(t){return this.to(c(this),t)},o.fromNow=function(t){return this.from(c(this),t)}}})})(xe);var it=xe.exports;const vt=te(it);var Ee={exports:{}};(function(a,f){(function(u,l){a.exports=l()})(ae,function(){var u,l,b=1e3,o=6e4,i=36e5,r=864e5,c=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,t=31536e6,n=2628e6,d=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,k={years:t,months:n,days:r,hours:i,minutes:o,seconds:b,milliseconds:1,weeks:6048e5},m=function(N){return N instanceof w},h=function(N,$,g){return new w(N,g,$.$l)},s=function(N){return l.p(N)+"s"},v=function(N){return N<0},p=function(N){return v(N)?Math.ceil(N):Math.floor(N)},y=function(N){return Math.abs(N)},C=function(N,$){return N?v(N)?{negative:!0,format:""+y(N)+$}:{negative:!1,format:""+N+$}:{negative:!1,format:""}},w=function(){function N(g,B,V){var D=this;if(this.$d={},this.$l=V,g===void 0&&(this.$ms=0,this.parseFromMilliseconds()),B)return h(g*k[s(B)],this);if(typeof g=="number")return this.$ms=g,this.parseFromMilliseconds(),this;if(typeof g=="object")return Object.keys(g).forEach(function(R){D.$d[s(R)]=g[R]}),this.calMilliseconds(),this;if(typeof g=="string"){var A=g.match(d);if(A){var I=A.slice(2).map(function(R){return R!=null?Number(R):0});return this.$d.years=I[0],this.$d.months=I[1],this.$d.weeks=I[2],this.$d.days=I[3],this.$d.hours=I[4],this.$d.minutes=I[5],this.$d.seconds=I[6],this.calMilliseconds(),this}}return this}var $=N.prototype;return $.calMilliseconds=function(){var g=this;this.$ms=Object.keys(this.$d).reduce(function(B,V){return B+(g.$d[V]||0)*k[V]},0)},$.parseFromMilliseconds=function(){var g=this.$ms;this.$d.years=p(g/t),g%=t,this.$d.months=p(g/n),g%=n,this.$d.days=p(g/r),g%=r,this.$d.hours=p(g/i),g%=i,this.$d.minutes=p(g/o),g%=o,this.$d.seconds=p(g/b),g%=b,this.$d.milliseconds=g},$.toISOString=function(){var g=C(this.$d.years,"Y"),B=C(this.$d.months,"M"),V=+this.$d.days||0;this.$d.weeks&&(V+=7*this.$d.weeks);var D=C(V,"D"),A=C(this.$d.hours,"H"),I=C(this.$d.minutes,"M"),R=this.$d.seconds||0;this.$d.milliseconds&&(R+=this.$d.milliseconds/1e3,R=Math.round(1e3*R)/1e3);var H=C(R,"S"),Y=g.negative||B.negative||D.negative||A.negative||I.negative||H.negative,W=A.format||I.format||H.format?"T":"",M=(Y?"-":"")+"P"+g.format+B.format+D.format+W+A.format+I.format+H.format;return M==="P"||M==="-P"?"P0D":M},$.toJSON=function(){return this.toISOString()},$.format=function(g){var B=g||"YYYY-MM-DDTHH:mm:ss",V={Y:this.$d.years,YY:l.s(this.$d.years,2,"0"),YYYY:l.s(this.$d.years,4,"0"),M:this.$d.months,MM:l.s(this.$d.months,2,"0"),D:this.$d.days,DD:l.s(this.$d.days,2,"0"),H:this.$d.hours,HH:l.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:l.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:l.s(this.$d.seconds,2,"0"),SSS:l.s(this.$d.milliseconds,3,"0")};return B.replace(c,function(D,A){return A||String(V[D])})},$.as=function(g){return this.$ms/k[s(g)]},$.get=function(g){var B=this.$ms,V=s(g);return V==="milliseconds"?B%=1e3:B=V==="weeks"?p(B/k[V]):this.$d[V],B||0},$.add=function(g,B,V){var D;return D=B?g*k[s(B)]:m(g)?g.$ms:h(g,this).$ms,h(this.$ms+D*(V?-1:1),this)},$.subtract=function(g,B){return this.add(g,B,!0)},$.locale=function(g){var B=this.clone();return B.$l=g,B},$.clone=function(){return h(this.$ms,this)},$.humanize=function(g){return u().add(this.$ms,"ms").locale(this.$l).fromNow(!g)},$.valueOf=function(){return this.asMilliseconds()},$.milliseconds=function(){return this.get("milliseconds")},$.asMilliseconds=function(){return this.as("milliseconds")},$.seconds=function(){return this.get("seconds")},$.asSeconds=function(){return this.as("seconds")},$.minutes=function(){return this.get("minutes")},$.asMinutes=function(){return this.as("minutes")},$.hours=function(){return this.get("hours")},$.asHours=function(){return this.as("hours")},$.days=function(){return this.get("days")},$.asDays=function(){return this.as("days")},$.weeks=function(){return this.get("weeks")},$.asWeeks=function(){return this.as("weeks")},$.months=function(){return this.get("months")},$.asMonths=function(){return this.as("months")},$.years=function(){return this.get("years")},$.asYears=function(){return this.as("years")},N}(),S=function(N,$,g){return N.add($.years()*g,"y").add($.months()*g,"M").add($.days()*g,"d").add($.hours()*g,"h").add($.minutes()*g,"m").add($.seconds()*g,"s").add($.milliseconds()*g,"ms")};return function(N,$,g){u=g,l=g().$utils(),g.duration=function(D,A){var I=g.locale();return h(D,{$l:I},A)},g.isDuration=m;var B=$.prototype.add,V=$.prototype.subtract;$.prototype.add=function(D,A){return m(D)?S(this,D,1):B.bind(this)(D,A)},$.prototype.subtract=function(D,A){return m(D)?S(this,D,-1):V.bind(this)(D,A)}}})})(Ee);var dt=Ee.exports;const bt=te(dt);var Se={exports:{}};(function(a,f){(function(u,l){a.exports=l()})(ae,function(){return function(u,l){l.prototype.isSameOrAfter=function(b,o){return this.isSame(b,o)||this.isAfter(b,o)}}})})(Se);var gt=Se.exports;const mt=te(gt);var Be={exports:{}};(function(a,f){(function(u,l){a.exports=l()})(ae,function(){return function(u,l){l.prototype.isSameOrBefore=function(b,o){return this.isSame(b,o)||this.isBefore(b,o)}}})})(Be);var ft=Be.exports;const ht=te(ft);var $e={exports:{}};(function(a,f){(function(u,l){a.exports=l()})(ae,function(){return function(u,l,b){l.prototype.isBetween=function(o,i,r,c){var t=b(o),n=b(i),d=(c=c||"()")[0]==="(",k=c[1]===")";return(d?this.isAfter(t,r):!this.isBefore(t,r))&&(k?this.isBefore(n,r):!this.isAfter(n,r))||(d?this.isBefore(t,r):!this.isAfter(t,r))&&(k?this.isAfter(n,r):!this.isBefore(n,r))}}})})($e);var pt=$e.exports;const yt=te(pt);var Me={exports:{}};(function(a,f){(function(u,l){a.exports=l()})(ae,function(){var u="week",l="year";return function(b,o,i){var r=o.prototype;r.week=function(c){if(c===void 0&&(c=null),c!==null)return this.add(7*(c-this.week()),"day");var t=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var n=i(this).startOf(l).add(1,l).date(t),d=i(this).endOf(u);if(n.isBefore(d))return 1}var k=i(this).startOf(l).date(t).startOf(u).subtract(1,"millisecond"),m=this.diff(k,u,!0);return m<0?i(this).startOf("week").week():Math.ceil(m)},r.weeks=function(c){return c===void 0&&(c=null),this.week(c)}}})})(Me);var kt=Me.exports;const Ct=te(kt);var Ve={exports:{}};(function(a,f){(function(u,l){a.exports=l()})(ae,function(){var u="day";return function(l,b,o){var i=function(t){return t.add(4-t.isoWeekday(),u)},r=b.prototype;r.isoWeekYear=function(){return i(this).year()},r.isoWeek=function(t){if(!this.$utils().u(t))return this.add(7*(t-this.isoWeek()),u);var n,d,k,m,h=i(this),s=(n=this.isoWeekYear(),d=this.$u,k=(d?o.utc:o)().year(n).startOf("year"),m=4-k.isoWeekday(),k.isoWeekday()>4&&(m+=7),k.add(m,u));return h.diff(s,"week")+1},r.isoWeekday=function(t){return this.$utils().u(t)?this.day()||7:this.day(this.day()%7?t:t-7)};var c=r.startOf;r.startOf=function(t,n){var d=this.$utils(),k=!!d.u(n)||n;return d.p(t)==="isoweek"?k?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):c.bind(this)(t,n)}}})})(Ve);var wt=Ve.exports;const xt=te(wt);var Ne={exports:{}};(function(a,f){(function(u,l){a.exports=l()})(ae,function(){var u={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},l=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,b=/\d/,o=/\d\d/,i=/\d\d?/,r=/\d*[^-_:/,()\s\d]+/,c={},t=function(v){return(v=+v)+(v>68?1900:2e3)},n=function(v){return function(p){this[v]=+p}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(v){(this.zone||(this.zone={})).offset=function(p){if(!p||p==="Z")return 0;var y=p.match(/([+-]|\d\d)/g),C=60*y[1]+(+y[2]||0);return C===0?0:y[0]==="+"?-C:C}(v)}],k=function(v){var p=c[v];return p&&(p.indexOf?p:p.s.concat(p.f))},m=function(v,p){var y,C=c.meridiem;if(C){for(var w=1;w<=24;w+=1)if(v.indexOf(C(w,0,p))>-1){y=w>12;break}}else y=v===(p?"pm":"PM");return y},h={A:[r,function(v){this.afternoon=m(v,!1)}],a:[r,function(v){this.afternoon=m(v,!0)}],Q:[b,function(v){this.month=3*(v-1)+1}],S:[b,function(v){this.milliseconds=100*+v}],SS:[o,function(v){this.milliseconds=10*+v}],SSS:[/\d{3}/,function(v){this.milliseconds=+v}],s:[i,n("seconds")],ss:[i,n("seconds")],m:[i,n("minutes")],mm:[i,n("minutes")],H:[i,n("hours")],h:[i,n("hours")],HH:[i,n("hours")],hh:[i,n("hours")],D:[i,n("day")],DD:[o,n("day")],Do:[r,function(v){var p=c.ordinal,y=v.match(/\d+/);if(this.day=y[0],p)for(var C=1;C<=31;C+=1)p(C).replace(/\[|\]/g,"")===v&&(this.day=C)}],w:[i,n("week")],ww:[o,n("week")],M:[i,n("month")],MM:[o,n("month")],MMM:[r,function(v){var p=k("months"),y=(k("monthsShort")||p.map(function(C){return C.slice(0,3)})).indexOf(v)+1;if(y<1)throw new Error;this.month=y%12||y}],MMMM:[r,function(v){var p=k("months").indexOf(v)+1;if(p<1)throw new Error;this.month=p%12||p}],Y:[/[+-]?\d+/,n("year")],YY:[o,function(v){this.year=t(v)}],YYYY:[/\d{4}/,n("year")],Z:d,ZZ:d};function s(v){var p,y;p=v,y=c&&c.formats;for(var C=(v=p.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(V,D,A){var I=A&&A.toUpperCase();return D||y[A]||u[A]||y[I].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(R,H,Y){return H||Y.slice(1)})})).match(l),w=C.length,S=0;S<w;S+=1){var N=C[S],$=h[N],g=$&&$[0],B=$&&$[1];C[S]=B?{regex:g,parser:B}:N.replace(/^\[|\]$/g,"")}return function(V){for(var D={},A=0,I=0;A<w;A+=1){var R=C[A];if(typeof R=="string")I+=R.length;else{var H=R.regex,Y=R.parser,W=V.slice(I),M=H.exec(W)[0];Y.call(D,M),V=V.replace(M,"")}}return function(x){var P=x.afternoon;if(P!==void 0){var _=x.hours;P?_<12&&(x.hours+=12):_===12&&(x.hours=0),delete x.afternoon}}(D),D}}return function(v,p,y){y.p.customParseFormat=!0,v&&v.parseTwoDigitYear&&(t=v.parseTwoDigitYear);var C=p.prototype,w=C.parse;C.parse=function(S){var N=S.date,$=S.utc,g=S.args;this.$u=$;var B=g[1];if(typeof B=="string"){var V=g[2]===!0,D=g[3]===!0,A=V||D,I=g[2];D&&(I=g[2]),c=this.$locale(),!V&&I&&(c=y.Ls[I]),this.$d=function(W,M,x,P){try{if(["x","X"].indexOf(M)>-1)return new Date((M==="X"?1e3:1)*W);var _=s(M)(W),q=_.year,se=_.month,j=_.day,z=_.hours,O=_.minutes,Q=_.seconds,J=_.milliseconds,le=_.zone,ne=_.week,oe=new Date,ue=j||(q||se?1:oe.getDate()),ve=q||oe.getFullYear(),ee=0;q&&!se||(ee=se>0?se-1:oe.getMonth());var ce,re=z||0,E=O||0,T=Q||0,L=J||0;return le?new Date(Date.UTC(ve,ee,ue,re,E,T,L+60*le.offset*1e3)):x?new Date(Date.UTC(ve,ee,ue,re,E,T,L)):(ce=new Date(ve,ee,ue,re,E,T,L),ne&&(ce=P(ce).week(ne).toDate()),ce)}catch{return new Date("")}}(N,B,$,y),this.init(),I&&I!==!0&&(this.$L=this.locale(I).$L),A&&N!=this.format(B)&&(this.$d=new Date("")),c={}}else if(B instanceof Array)for(var R=B.length,H=1;H<=R;H+=1){g[1]=B[H-1];var Y=y.apply(this,g);if(Y.isValid()){this.$d=Y.$d,this.$L=Y.$L,this.init();break}H===R&&(this.$d=new Date(""))}else w.call(this,S)}}})})(Ne);var Et=Ne.exports;const St=te(Et);var Pe={exports:{}};(function(a,f){(function(u,l){a.exports=l()})(ae,function(){return function(u,l){var b=l.prototype,o=b.format;b.format=function(i){var r=this,c=this.$locale();if(!this.isValid())return o.bind(this)(i);var t=this.$utils(),n=(i||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(d){switch(d){case"Q":return Math.ceil((r.$M+1)/3);case"Do":return c.ordinal(r.$D);case"gggg":return r.weekYear();case"GGGG":return r.isoWeekYear();case"wo":return c.ordinal(r.week(),"W");case"w":case"ww":return t.s(r.week(),d==="w"?1:2,"0");case"W":case"WW":return t.s(r.isoWeek(),d==="W"?1:2,"0");case"k":case"kk":return t.s(String(r.$H===0?24:r.$H),d==="k"?1:2,"0");case"X":return Math.floor(r.$d.getTime()/1e3);case"x":return r.$d.getTime();case"z":return"["+r.offsetName()+"]";case"zzz":return"["+r.offsetName("long")+"]";default:return d}});return o.bind(this)(n)}}})})(Pe);var Bt=Pe.exports;const $t=te(Bt);var Mt={exports:{}};(function(a,f){(function(u,l){a.exports=l(G)})(ae,function(u){function l(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var b=l(u),o={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(i,r){return r==="W"?i+"周":i+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(i,r){var c=100*i+r;return c<600?"凌晨":c<900?"早上":c<1100?"上午":c<1300?"中午":c<1800?"下午":"晚上"}};return b.default.locale(o,null,!0),o})})(Mt);G.extend(st);G.extend(rt);G.extend(vt);G.extend(bt);G.extend(mt);G.extend(ht);G.extend(yt);G.extend(Ct);G.extend(xt);G.extend(St);G.extend($t);function be(a={}){const{timezone:f="Asia/Shanghai",locale:u="zh-cn",defaultFormat:l="YYYY-MM-DD HH:mm:ss",parseStrict:b=!1,weekStart:o}=a;G.locale(u);const i=j=>(j==null?G():G(j)).tz(f).locale(u),r=(j,z)=>z?G(j,z,b).tz(f).locale(u):i(j),c=j=>r(j).utc(),t=j=>G(j).utc().tz(f).locale(u),n=e.ref(i()),d=()=>{n.value=i()},k=()=>i(),m=(j,z=l)=>r(j).format(z),h=(j,z)=>r(j,z),s=j=>r(j),v=(j,z,O)=>r(j).isSame(r(z),O),p=(j,z,O)=>r(j).isAfter(r(z),O),y=(j,z,O)=>r(j).isBefore(r(z),O),C=(j,z,O)=>r(j).isSameOrAfter(r(z),O),w=(j,z,O)=>r(j).isSameOrBefore(r(z),O),S=(j,z,O,Q,J)=>r(j).isBetween(r(z),r(O),Q,J),N=(j,z,O)=>r(j).add(z,O),$=(j,z,O)=>r(j).subtract(z,O),g=(j,z,O,Q)=>r(j).diff(r(z),O,Q),B=(j,z)=>r(j).startOf(z),V=(j,z)=>r(j).endOf(z),D=j=>r(j).from(i()),A=j=>r(j).to(i()),I=(j,z)=>r(j).from(r(z)),R=(j,z)=>r(j).to(r(z)),H=(j,z=i(),O="millisecond")=>{const Q=r(j).diff(r(z),"millisecond");return G.duration(Math.abs(Q)).humanize()},Y=j=>{const z=G.duration(j),O=Math.floor(z.asDays()),Q=z.hours(),J=z.minutes(),le=z.seconds();return{days:O,hours:Q,minutes:J,seconds:le}},W=(j,z,O,Q,J)=>{var L;const le=i().year(j).month(z).date(1),ne=le.startOf("month");le.endOf("month");const oe=typeof o=="number"?o:((L=G.Ls[u])==null?void 0:L.weekStart)??0,ue=ne.startOf("week").add(oe,"day"),ve=ue.isAfter(ne)?ue.subtract(7,"day"):ue,ee=O?r(O):null,ce=Q?r(Q).startOf("day"):null,re=J?r(J).endOf("day"):null,E=i(),T=[];for(let X=0;X<42;X++){const F=ve.add(X,"day"),Z=F.month()===z,ie=F.isSame(E,"day"),ge=ee?F.isSame(ee,"day"):!1,ye=F.day(),Te=ye===0||ye===6;let me=!1;ce&&F.isBefore(ce,"day")&&(me=!0),re&&F.isAfter(re,"day")&&(me=!0),T.push({date:F,isCurrentMonth:Z,isToday:ie,isSelected:ge,isDisabled:me,isWeekend:Te})}return T},M=(j,z)=>{const O=i().year(j).month(z).date(1),Q=O.endOf("month"),J=Q.date(),le=O.day(),ne=Q.day(),oe=Math.ceil((le+J)/7);return{firstDay:O,lastDay:Q,daysInMonth:J,firstWeekday:le,lastWeekday:ne,weeksInMonth:oe}},x=()=>{const j=i();return{today:{start:j.startOf("day"),end:j.endOf("day")},yesterday:{start:j.subtract(1,"day").startOf("day"),end:j.subtract(1,"day").endOf("day")},thisWeek:{start:j.startOf("week"),end:j.endOf("week")},lastWeek:{start:j.subtract(1,"week").startOf("week"),end:j.subtract(1,"week").endOf("week")},thisMonth:{start:j.startOf("month"),end:j.endOf("month")},lastMonth:{start:j.subtract(1,"month").startOf("month"),end:j.subtract(1,"month").endOf("month")},thisYear:{start:j.startOf("year"),end:j.endOf("year")},lastYear:{start:j.subtract(1,"year").startOf("year"),end:j.subtract(1,"year").endOf("year")}}},P=(j,z)=>z?G(j,z,b).isValid():G(j).isValid(),_=(j,z)=>r(j).get(z),q=(j,z,O)=>r(j).set(z,O),se={date:"YYYY-MM-DD",time:"HH:mm:ss",datetime:"YYYY-MM-DD HH:mm:ss",dateTime:"YYYY-MM-DD HH:mm",month:"YYYY-MM",year:"YYYY",timestamp:"X",iso:"YYYY-MM-DDTHH:mm:ssZ"};return{now:e.computed(()=>n.value),updateNow:d,getCurrent:k,format:m,parse:h,create:s,isSame:v,isAfter:p,isBefore:y,isSameOrAfter:C,isSameOrBefore:w,isBetween:S,add:N,subtract:$,diff:g,startOf:B,endOf:V,fromNow:D,toNow:A,from:I,to:R,humanizeDiff:H,formatParts:Y,getCalendarDates:W,getMonthInfo:M,getTimeRanges:x,isValid:P,getUnit:_,setUnit:q,formats:se,dayjs:j=>r(j),toUTC:c,fromUTC:t}}function Vt(a={start:null,end:null},f="Asia/Shanghai"){const u=c=>(c==null?G():G(c)).tz(f),l=e.ref({start:a.start?u(a.start):null,end:a.end?u(a.end):null}),b=(c,t)=>{l.value={start:c?u(c):null,end:t?u(t):null}},o=()=>{l.value={start:null,end:null}},i=e.computed(()=>{const{start:c,end:t}=l.value;return!c||!t?!1:c.isBefore(t)||c.isSame(t)}),r=e.computed(()=>{if(!i.value)return null;const c=l.value.end.diff(l.value.start);return{ms:c,days:Math.floor(G.duration(c).asDays())}});return{range:e.computed(()=>l.value),setRange:b,clearRange:o,isValidRange:i,rangeDuration:r}}function Nt(a,f="Asia/Shanghai"){const u=n=>(n==null?G():G(n)).tz(f),l=e.ref(u(a)),b=e.ref(u()),o=e.ref(!1),i=e.computed(()=>{const n=l.value.diff(b.value);return n<=0?(o.value=!0,G.duration(0)):G.duration(n)}),r=()=>{b.value=u()},c=(n="HH:mm:ss")=>{if(o.value)return"00:00:00";const d=i.value,k=Math.floor(d.asHours()),m=d.minutes(),h=d.seconds();return n.replace("HH",String(k).padStart(2,"0")).replace("mm",String(m).padStart(2,"0")).replace("ss",String(h).padStart(2,"0"))},t=e.computed(()=>{const n=i.value;return{days:Math.floor(n.asDays()),hours:n.hours(),minutes:n.minutes(),seconds:n.seconds(),milliseconds:n.milliseconds()}});return{target:e.computed(()=>l.value),now:e.computed(()=>b.value),duration:e.computed(()=>i.value),parts:t,isExpired:e.computed(()=>o.value),updateNow:r,formatDuration:c}}const Pt=["value","placeholder","disabled"],jt={class:"datetime-icon"},Tt={class:"datetime-header"},Dt={class:"datetime-title"},Lt={key:0,class:"datetime-mode-switch"},zt={key:1,class:"datetime-date-picker"},_t={class:"date-navigation"},At={class:"current-month"},It={class:"month-year"},Yt={class:"weekdays"},Ot={class:"date-grid"},Xt=["onClick"],Rt={class:"date-number"},Ft={key:2,class:"datetime-time-picker"},Ht={class:"time-inputs"},Wt={class:"time-input-group"},Gt=["value"],Kt={class:"time-input-group"},Ut=["value"],qt={key:0,class:"time-separator"},Zt={key:1,class:"time-input-group"},Qt=["value"],Jt={class:"time-sliders"},en={class:"time-slider-group"},ln=["value"],an={class:"slider-value"},tn={class:"time-slider-group"},nn=["value"],on={class:"slider-value"},un={key:0,class:"time-slider-group"},sn=["value"],cn={class:"slider-value"},rn={class:"datetime-footer"},vn=e.defineComponent({__name:"index",props:{modelValue:{default:null},mode:{default:"datetime"},size:{default:"medium"},disabled:{type:Boolean,default:!1},placeholder:{default:"请选择日期时间"},title:{default:"选择日期时间"},showSeconds:{type:Boolean,default:!1},minDate:{},maxDate:{},dateFormat:{default:"YYYY-MM-DD"},timeFormat:{default:"24"},showToday:{type:Boolean,default:!0},showClear:{type:Boolean,default:!0},locale:{default:"zh-CN"}},emits:["update:modelValue","change","open","close"],setup(a,{emit:f}){const u=a,l=f,b=e.ref(!1),o=e.ref("date"),i=e.ref(new Date().getFullYear()),r=e.ref(new Date().getMonth()),c=e.ref(null),t=e.ref(0),n=e.ref(0),d=e.ref(0),k=e.ref(!1),m=e.ref("panel-bottom"),h=e.ref(),{format:s,create:v,getCalendarDates:p,formats:y}=be({timezone:"Asia/Shanghai",locale:"zh-cn"}),C=e.computed(()=>u.locale==="zh-CN"?["日","一","二","三","四","五","六"]:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),w=e.computed(()=>{if(!c.value)return"";const M=v(c.value),x=u.showSeconds?`${t.value.toString().padStart(2,"0")}:${n.value.toString().padStart(2,"0")}:${d.value.toString().padStart(2,"0")}`:`${t.value.toString().padStart(2,"0")}:${n.value.toString().padStart(2,"0")}`;return u.mode==="date"?s(M,y.date):u.mode==="time"?x:`${s(M,y.date)} ${x}`}),S=e.computed(()=>u.mode==="date"?"mdi:calendar":u.mode==="time"?"mdi:clock":"mdi:calendar-clock"),N=e.computed(()=>{const M=c.value?v(c.value):void 0,x=u.minDate?v(u.minDate):void 0,P=u.maxDate?v(u.maxDate):void 0;return p(i.value,r.value,M,x,P)}),$=()=>{u.disabled||(b.value=!b.value,b.value?(Y(),l("open")):l("close"))},g=()=>{b.value=!1,l("close")},B=()=>{r.value===0?(r.value=11,i.value--):r.value--},V=()=>{r.value===11?(r.value=0,i.value++):r.value++},D=M=>{M.isDisabled||(c.value=M.date.toDate(),u.mode==="date"&&I())},A=()=>{t.value=Math.max(0,Math.min(23,t.value)),n.value=Math.max(0,Math.min(59,n.value)),d.value=Math.max(0,Math.min(59,d.value))},I=()=>{if(u.mode==="date"&&c.value){const M=v(c.value),x=s(M,u.dateFormat);l("update:modelValue",x),l("change",x)}else if(u.mode==="time"){const M=u.showSeconds?`${t.value.toString().padStart(2,"0")}:${n.value.toString().padStart(2,"0")}:${d.value.toString().padStart(2,"0")}`:`${t.value.toString().padStart(2,"0")}:${n.value.toString().padStart(2,"0")}`;l("update:modelValue",M),l("change",M)}else if(u.mode==="datetime"&&c.value){const M=v(c.value).hour(t.value).minute(n.value).second(d.value).millisecond(0),x=u.showSeconds?`${t.value.toString().padStart(2,"0")}:${n.value.toString().padStart(2,"0")}:${d.value.toString().padStart(2,"0")}`:`${t.value.toString().padStart(2,"0")}:${n.value.toString().padStart(2,"0")}`,P=`${s(M,u.dateFormat)} ${x}`;l("update:modelValue",P),l("change",P)}g()},R=()=>{c.value=null,t.value=0,n.value=0,d.value=0,l("update:modelValue",null),l("change",null),g()},H=()=>{k.value=window.innerWidth<=768},Y=()=>{if(!h.value)return;const M=h.value.getBoundingClientRect(),P=window.innerHeight-M.bottom,_=M.top;P>=400||P>_?m.value="panel-bottom":m.value="panel-top"};e.watch(()=>u.modelValue,M=>{if(M){const x=v(M);c.value=x.toDate(),t.value=x.hour(),n.value=x.minute(),d.value=x.second(),i.value=x.year(),r.value=x.month()}else c.value=null,t.value=0,n.value=0,d.value=0},{immediate:!0}),e.watch(()=>u.mode,M=>{M==="datetime"?o.value="date":o.value=M},{immediate:!0});const W=M=>{var x;b.value&&!((x=M.target)!=null&&x.closest(".x-datetime-picker"))&&g()};return e.onMounted(()=>{H(),window.addEventListener("resize",H),document.addEventListener("click",W)}),e.onUnmounted(()=>{window.removeEventListener("resize",H),document.removeEventListener("click",W)}),(M,x)=>{const P=e.resolveComponent("XButton");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["x-datetime-picker",[`datetime-${a.size}`,{"datetime-disabled":a.disabled}]])},[e.createElementVNode("div",{class:"datetime-input-wrapper",onClick:$},[e.createElementVNode("input",{ref_key:"inputRef",ref:h,type:"text",value:w.value,placeholder:a.placeholder,disabled:a.disabled,readonly:"",class:"datetime-input"},null,8,Pt),e.createElementVNode("div",jt,[e.createVNode(e.unref(U.Icon),{icon:S.value},null,8,["icon"])])]),e.createVNode(e.Transition,{"enter-active-class":"panel-enter-active","enter-from-class":"panel-enter-from","enter-to-class":"panel-enter-to","leave-active-class":"panel-leave-active","leave-from-class":"panel-leave-from","leave-to-class":"panel-leave-to"},{default:e.withCtx(()=>[b.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["datetime-panel",m.value])},[e.createElementVNode("div",Tt,[e.createElementVNode("div",Dt,e.toDisplayString(a.title),1),e.createVNode(P,{icon:"mdi:close",size:"small",onClick:g})]),a.mode==="datetime"?(e.openBlock(),e.createElementBlock("div",Lt,[e.createVNode(P,{size:"small",class:e.normalizeClass({active:o.value==="date"}),icon:"mdi:calendar",onClick:x[0]||(x[0]=_=>o.value="date")},{default:e.withCtx(()=>[e.createVNode(e.unref(U.Icon),{icon:"mdi:calendar"}),x[2]||(x[2]=e.createElementVNode("span",null,"日期",-1))]),_:1},8,["class"]),e.createVNode(P,{size:"small",icon:"mdi:clock",class:e.normalizeClass({active:o.value==="time"}),onClick:x[1]||(x[1]=_=>o.value="time")},{default:e.withCtx(()=>[e.createVNode(e.unref(U.Icon),{icon:"mdi:clock"}),x[3]||(x[3]=e.createElementVNode("span",null,"时间",-1))]),_:1},8,["class"])])):e.createCommentVNode("",!0),o.value==="date"||a.mode==="date"?(e.openBlock(),e.createElementBlock("div",zt,[e.createElementVNode("div",_t,[e.createVNode(P,{size:"small",onClick:B},{default:e.withCtx(()=>[e.createVNode(e.unref(U.Icon),{icon:"mdi:chevron-left"})]),_:1}),e.createElementVNode("div",At,[e.createElementVNode("span",It,e.toDisplayString(i.value)+"年"+e.toDisplayString(r.value+1)+"月",1)]),e.createVNode(P,{size:"small",onClick:V},{default:e.withCtx(()=>[e.createVNode(e.unref(U.Icon),{icon:"mdi:chevron-right"})]),_:1})]),e.createElementVNode("div",Yt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(C.value,_=>(e.openBlock(),e.createElementBlock("div",{key:_,class:"weekday"},e.toDisplayString(_),1))),128))]),e.createElementVNode("div",Ot,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.value,_=>(e.openBlock(),e.createElementBlock("div",{key:_.date.format("YYYY-MM-DD"),class:e.normalizeClass(["date-cell",{"date-other-month":!_.isCurrentMonth,"date-today":_.isToday,"date-selected":_.isSelected,"date-disabled":_.isDisabled}]),onClick:q=>D(_)},[e.createElementVNode("span",Rt,e.toDisplayString(_.date.date()),1)],10,Xt))),128))])])):e.createCommentVNode("",!0),o.value==="time"||a.mode==="time"?(e.openBlock(),e.createElementBlock("div",Ft,[e.createElementVNode("div",Ht,[e.createElementVNode("div",Wt,[x[4]||(x[4]=e.createElementVNode("label",{class:"time-label"},"时",-1)),e.createElementVNode("input",{value:t.value,type:"number",min:"0",max:"23",class:"time-input",onChange:A},null,40,Gt)]),x[7]||(x[7]=e.createElementVNode("div",{class:"time-separator"},":",-1)),e.createElementVNode("div",Kt,[x[5]||(x[5]=e.createElementVNode("label",{class:"time-label"},"分",-1)),e.createElementVNode("input",{value:n.value,type:"number",min:"0",max:"59",class:"time-input",onChange:A},null,40,Ut)]),a.showSeconds?(e.openBlock(),e.createElementBlock("div",qt,":")):e.createCommentVNode("",!0),a.showSeconds?(e.openBlock(),e.createElementBlock("div",Zt,[x[6]||(x[6]=e.createElementVNode("label",{class:"time-label"},"秒",-1)),e.createElementVNode("input",{value:d.value,type:"number",min:"0",max:"59",class:"time-input",onChange:A},null,40,Qt)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Jt,[e.createElementVNode("div",en,[x[8]||(x[8]=e.createElementVNode("label",{class:"slider-label"},"小时",-1)),e.createElementVNode("input",{value:t.value,type:"range",min:"0",max:"23",class:"time-slider",onInput:A},null,40,ln),e.createElementVNode("span",an,e.toDisplayString(t.value.toString().padStart(2,"0")),1)]),e.createElementVNode("div",tn,[x[9]||(x[9]=e.createElementVNode("label",{class:"slider-label"},"分钟",-1)),e.createElementVNode("input",{value:n.value,type:"range",min:"0",max:"59",class:"time-slider",onInput:A},null,40,nn),e.createElementVNode("span",on,e.toDisplayString(n.value.toString().padStart(2,"0")),1)]),a.showSeconds?(e.openBlock(),e.createElementBlock("div",un,[x[10]||(x[10]=e.createElementVNode("label",{class:"slider-label"},"秒钟",-1)),e.createElementVNode("input",{value:d.value,type:"range",min:"0",max:"59",step:"1",class:"time-slider",onInput:A},null,40,sn),e.createElementVNode("span",cn,e.toDisplayString(d.value.toString().padStart(2,"0")),1)])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),e.createElementVNode("div",rn,[e.createVNode(P,{size:"small",ghost:"",type:"danger",onClick:R},{default:e.withCtx(()=>[e.createVNode(e.unref(U.Icon),{icon:"mdi:delete"}),x[11]||(x[11]=e.createElementVNode("span",null,"清空",-1))]),_:1}),e.createVNode(P,{size:"small",ghost:"",type:"primary",onClick:I},{default:e.withCtx(()=>[e.createVNode(e.unref(U.Icon),{icon:"mdi:check"}),x[12]||(x[12]=e.createElementVNode("span",null,"确定",-1))]),_:1})])],2)):e.createCommentVNode("",!0)]),_:1})],2)}}}),dn=K(vn,[["__scopeId","data-v-4026c0a4"]]),bn=[{value:"34",label:"安徽省",children:[{value:"3408",label:"安庆市",children:[{value:"340871",label:"安徽安庆经济开发区"},{value:"340803",label:"大观区"},{value:"340822",label:"怀宁县"},{value:"340882",label:"潜山市"},{value:"340826",label:"宿松县"},{value:"340825",label:"太湖县"},{value:"340881",label:"桐城市"},{value:"340827",label:"望江县"},{value:"340811",label:"宜秀区"},{value:"340802",label:"迎江区"},{value:"340828",label:"岳西县"}]},{value:"3403",label:"蚌埠市",children:[{value:"340371",label:"蚌埠市高新技术开发区"},{value:"340372",label:"蚌埠市经济开发区"},{value:"340303",label:"蚌山区"},{value:"340323",label:"固镇县"},{value:"340321",label:"怀远县"},{value:"340311",label:"淮上区"},{value:"340302",label:"龙子湖区"},{value:"340322",label:"五河县"},{value:"340304",label:"禹会区"}]},{value:"3416",label:"亳州市",children:[{value:"341623",label:"利辛县"},{value:"341622",label:"蒙城县"},{value:"341602",label:"谯城区"},{value:"341621",label:"涡阳县"}]},{value:"3417",label:"池州市",children:[{value:"341721",label:"东至县"},{value:"341702",label:"贵池区"},{value:"341723",label:"青阳县"},{value:"341722",label:"石台县"}]},{value:"3411",label:"滁州市",children:[{value:"341172",label:"滁州经济技术开发区"},{value:"341125",label:"定远县"},{value:"341126",label:"凤阳县"},{value:"341122",label:"来安县"},{value:"341102",label:"琅琊区"},{value:"341182",label:"明光市"},{value:"341103",label:"南谯区"},{value:"341124",label:"全椒县"},{value:"341181",label:"天长市"},{value:"341171",label:"中新苏滁高新技术产业开发区"}]},{value:"3412",label:"阜阳市",children:[{value:"341225",label:"阜南县"},{value:"341271",label:"阜阳合肥现代产业园区"},{value:"341272",label:"阜阳经济技术开发区"},{value:"341282",label:"界首市"},{value:"341221",label:"临泉县"},{value:"341222",label:"太和县"},{value:"341203",label:"颍东区"},{value:"341204",label:"颍泉区"},{value:"341226",label:"颍上县"},{value:"341202",label:"颍州区"}]},{value:"3401",label:"合肥市",children:[{value:"340111",label:"包河区"},{value:"340181",label:"巢湖市"},{value:"340122",label:"肥东县"},{value:"340123",label:"肥西县"},{value:"340176",label:"合肥高新技术产业开发区"},{value:"340177",label:"合肥经济技术开发区"},{value:"340178",label:"合肥新站高新技术产业开发区"},{value:"340124",label:"庐江县"},{value:"340103",label:"庐阳区"},{value:"340104",label:"蜀山区"},{value:"340102",label:"瑶海区"},{value:"340121",label:"长丰县"}]},{value:"3406",label:"淮北市",children:[{value:"340602",label:"杜集区"},{value:"340604",label:"烈山区"},{value:"340621",label:"濉溪县"},{value:"340603",label:"相山区"}]},{value:"3404",label:"淮南市",children:[{value:"340405",label:"八公山区"},{value:"340402",label:"大通区"},{value:"340421",label:"凤台县"},{value:"340406",label:"潘集区"},{value:"340422",label:"寿县"},{value:"340403",label:"田家庵区"},{value:"340404",label:"谢家集区"}]},{value:"3410",label:"黄山市",children:[{value:"341003",label:"黄山区"},{value:"341004",label:"徽州区"},{value:"341024",label:"祁门县"},{value:"341021",label:"歙县"},{value:"341002",label:"屯溪区"},{value:"341022",label:"休宁县"},{value:"341023",label:"黟县"}]},{value:"3415",label:"六安市",children:[{value:"341522",label:"霍邱县"},{value:"341525",label:"霍山县"},{value:"341502",label:"金安区"},{value:"341524",label:"金寨县"},{value:"341523",label:"舒城县"},{value:"341504",label:"叶集区"},{value:"341503",label:"裕安区"}]},{value:"3405",label:"马鞍山市",children:[{value:"340506",label:"博望区"},{value:"340521",label:"当涂县"},{value:"340522",label:"含山县"},{value:"340523",label:"和县"},{value:"340503",label:"花山区"},{value:"340504",label:"雨山区"}]},{value:"3413",label:"宿州市",children:[{value:"341321",label:"砀山县"},{value:"341323",label:"灵璧县"},{value:"341324",label:"泗县"},{value:"341372",label:"宿州经济技术开发区"},{value:"341371",label:"宿州马鞍山现代产业园区"},{value:"341322",label:"萧县"},{value:"341302",label:"埇桥区"}]},{value:"3407",label:"铜陵市",children:[{value:"340722",label:"枞阳县"},{value:"340711",label:"郊区"},{value:"340705",label:"铜官区"},{value:"340706",label:"义安区"}]},{value:"3402",label:"芜湖市",children:[{value:"340272",label:"安徽芜湖三山经济开发区"},{value:"340212",label:"繁昌区"},{value:"340202",label:"镜湖区"},{value:"340207",label:"鸠江区"},{value:"340223",label:"南陵县"},{value:"340210",label:"湾沚区"},{value:"340281",label:"无为市"},{value:"340271",label:"芜湖经济技术开发区"},{value:"340209",label:"弋江区"}]},{value:"3418",label:"宣城市",children:[{value:"341882",label:"广德市"},{value:"341824",label:"绩溪县"},{value:"341823",label:"泾县"},{value:"341825",label:"旌德县"},{value:"341821",label:"郎溪县"},{value:"341881",label:"宁国市"},{value:"341871",label:"宣城市经济开发区"},{value:"341802",label:"宣州区"}]}]},{value:"11",label:"北京市",children:[{value:"1101",label:"市辖区",children:[{value:"110114",label:"昌平区"},{value:"110105",label:"朝阳区"},{value:"110115",label:"大兴区"},{value:"110101",label:"东城区"},{value:"110111",label:"房山区"},{value:"110106",label:"丰台区"},{value:"110108",label:"海淀区"},{value:"110116",label:"怀柔区"},{value:"110109",label:"门头沟区"},{value:"110118",label:"密云区"},{value:"110117",label:"平谷区"},{value:"110107",label:"石景山区"},{value:"110113",label:"顺义区"},{value:"110112",label:"通州区"},{value:"110102",label:"西城区"},{value:"110119",label:"延庆区"}]}]},{value:"50",label:"重庆市",children:[{value:"5001",label:"市辖区",children:[{value:"500113",label:"巴南区"},{value:"500109",label:"北碚区"},{value:"500120",label:"璧山区"},{value:"500104",label:"大渡口区"},{value:"500111",label:"大足区"},{value:"500102",label:"涪陵区"},{value:"500117",label:"合川区"},{value:"500105",label:"江北区"},{value:"500116",label:"江津区"},{value:"500107",label:"九龙坡区"},{value:"500154",label:"开州区"},{value:"500155",label:"梁平区"},{value:"500108",label:"南岸区"},{value:"500119",label:"南川区"},{value:"500110",label:"綦江区"},{value:"500114",label:"黔江区"},{value:"500153",label:"荣昌区"},{value:"500106",label:"沙坪坝区"},{value:"500151",label:"铜梁区"},{value:"500152",label:"潼南区"},{value:"500101",label:"万州区"},{value:"500156",label:"武隆区"},{value:"500118",label:"永川区"},{value:"500112",label:"渝北区"},{value:"500103",label:"渝中区"},{value:"500115",label:"长寿区"}]},{value:"5002",label:"县",children:[{value:"500229",label:"城口县"},{value:"500231",label:"垫江县"},{value:"500230",label:"丰都县"},{value:"500236",label:"奉节县"},{value:"500243",label:"彭水苗族土家族自治县"},{value:"500240",label:"石柱土家族自治县"},{value:"500237",label:"巫山县"},{value:"500238",label:"巫溪县"},{value:"500241",label:"秀山土家族苗族自治县"},{value:"500242",label:"酉阳土家族苗族自治县"},{value:"500235",label:"云阳县"},{value:"500233",label:"忠县"}]}]},{value:"35",label:"福建省",children:[{value:"3501",label:"福州市",children:[{value:"350104",label:"仓山区"},{value:"350181",label:"福清市"},{value:"350102",label:"鼓楼区"},{value:"350111",label:"晋安区"},{value:"350122",label:"连江县"},{value:"350123",label:"罗源县"},{value:"350105",label:"马尾区"},{value:"350121",label:"闽侯县"},{value:"350124",label:"闽清县"},{value:"350128",label:"平潭县"},{value:"350103",label:"台江区"},{value:"350125",label:"永泰县"},{value:"350112",label:"长乐区"}]},{value:"3508",label:"龙岩市",children:[{value:"350825",label:"连城县"},{value:"350823",label:"上杭县"},{value:"350824",label:"武平县"},{value:"350802",label:"新罗区"},{value:"350803",label:"永定区"},{value:"350881",label:"漳平市"},{value:"350821",label:"长汀县"}]},{value:"3507",label:"南平市",children:[{value:"350723",label:"光泽县"},{value:"350783",label:"建瓯市"},{value:"350703",label:"建阳区"},{value:"350722",label:"浦城县"},{value:"350781",label:"邵武市"},{value:"350721",label:"顺昌县"},{value:"350724",label:"松溪县"},{value:"350782",label:"武夷山市"},{value:"350702",label:"延平区"},{value:"350725",label:"政和县"}]},{value:"3509",label:"宁德市",children:[{value:"350981",label:"福安市"},{value:"350982",label:"福鼎市"},{value:"350922",label:"古田县"},{value:"350902",label:"蕉城区"},{value:"350923",label:"屏南县"},{value:"350924",label:"寿宁县"},{value:"350921",label:"霞浦县"},{value:"350926",label:"柘荣县"},{value:"350925",label:"周宁县"}]},{value:"3503",label:"莆田市",children:[{value:"350302",label:"城厢区"},{value:"350303",label:"涵江区"},{value:"350304",label:"荔城区"},{value:"350322",label:"仙游县"},{value:"350305",label:"秀屿区"}]},{value:"3505",label:"泉州市",children:[{value:"350524",label:"安溪县"},{value:"350526",label:"德化县"},{value:"350503",label:"丰泽区"},{value:"350521",label:"惠安县"},{value:"350527",label:"金门县"},{value:"350582",label:"晋江市"},{value:"350502",label:"鲤城区"},{value:"350504",label:"洛江区"},{value:"350583",label:"南安市"},{value:"350505",label:"泉港区"},{value:"350581",label:"石狮市"},{value:"350525",label:"永春县"}]},{value:"3504",label:"三明市",children:[{value:"350425",label:"大田县"},{value:"350430",label:"建宁县"},{value:"350428",label:"将乐县"},{value:"350421",label:"明溪县"},{value:"350424",label:"宁化县"},{value:"350423",label:"清流县"},{value:"350404",label:"三元区"},{value:"350405",label:"沙县区"},{value:"350429",label:"泰宁县"},{value:"350481",label:"永安市"},{value:"350426",label:"尤溪县"}]},{value:"3502",label:"厦门市",children:[{value:"350205",label:"海沧区"},{value:"350206",label:"湖里区"},{value:"350211",label:"集美区"},{value:"350203",label:"思明区"},{value:"350212",label:"同安区"},{value:"350213",label:"翔安区"}]},{value:"3506",label:"漳州市",children:[{value:"350626",label:"东山县"},{value:"350629",label:"华安县"},{value:"350604",label:"龙海区"},{value:"350603",label:"龙文区"},{value:"350627",label:"南靖县"},{value:"350628",label:"平和县"},{value:"350602",label:"芗城区"},{value:"350622",label:"云霄县"},{value:"350623",label:"漳浦县"},{value:"350605",label:"长泰区"},{value:"350624",label:"诏安县"}]}]},{value:"62",label:"甘肃省",children:[{value:"6204",label:"白银市",children:[{value:"620402",label:"白银区"},{value:"620422",label:"会宁县"},{value:"620423",label:"景泰县"},{value:"620421",label:"靖远县"},{value:"620403",label:"平川区"}]},{value:"6211",label:"定西市",children:[{value:"621102",label:"安定区"},{value:"621124",label:"临洮县"},{value:"621122",label:"陇西县"},{value:"621126",label:"岷县"},{value:"621121",label:"通渭县"},{value:"621123",label:"渭源县"},{value:"621125",label:"漳县"}]},{value:"6230",label:"甘南藏族自治州",children:[{value:"623024",label:"迭部县"},{value:"623001",label:"合作市"},{value:"623021",label:"临潭县"},{value:"623026",label:"碌曲县"},{value:"623025",label:"玛曲县"},{value:"623027",label:"夏河县"},{value:"623023",label:"舟曲县"},{value:"623022",label:"卓尼县"}]},{value:"6202",label:"嘉峪关市",children:[{value:"620201002",label:"钢城街道"},{value:"620201102",label:"文殊镇"},{value:"620201100",label:"新城镇"},{value:"620201001",label:"雄关街道"},{value:"620201101",label:"峪泉镇"}]},{value:"6203",label:"金昌市",children:[{value:"620302",label:"金川区"},{value:"620321",label:"永昌县"}]},{value:"6209",label:"酒泉市",children:[{value:"620924",label:"阿克塞哈萨克族自治县"},{value:"620982",label:"敦煌市"},{value:"620922",label:"瓜州县"},{value:"620921",label:"金塔县"},{value:"620923",label:"肃北蒙古族自治县"},{value:"620902",label:"肃州区"},{value:"620981",label:"玉门市"}]},{value:"6201",label:"兰州市",children:[{value:"620105",label:"安宁区"},{value:"620102",label:"城关区"},{value:"620122",label:"皋兰县"},{value:"620111",label:"红古区"},{value:"620171",label:"兰州新区"},{value:"620103",label:"七里河区"},{value:"620104",label:"西固区"},{value:"620121",label:"永登县"},{value:"620123",label:"榆中县"}]},{value:"6229",label:"临夏回族自治州",children:[{value:"622926",label:"东乡族自治县"},{value:"622924",label:"广河县"},{value:"622925",label:"和政县"},{value:"622927",label:"积石山保安族东乡族撒拉族自治县"},{value:"622922",label:"康乐县"},{value:"622901",label:"临夏市"},{value:"622921",label:"临夏县"},{value:"622923",label:"永靖县"}]},{value:"6212",label:"陇南市",children:[{value:"621221",label:"成县"},{value:"621223",label:"宕昌县"},{value:"621227",label:"徽县"},{value:"621224",label:"康县"},{value:"621226",label:"礼县"},{value:"621228",label:"两当县"},{value:"621222",label:"文县"},{value:"621202",label:"武都区"},{value:"621225",label:"西和县"}]},{value:"6208",label:"平凉市",children:[{value:"620823",label:"崇信县"},{value:"620881",label:"华亭市"},{value:"620821",label:"泾川县"},{value:"620826",label:"静宁县"},{value:"620802",label:"崆峒区"},{value:"620822",label:"灵台县"},{value:"620825",label:"庄浪县"}]},{value:"6210",label:"庆阳市",children:[{value:"621024",label:"合水县"},{value:"621023",label:"华池县"},{value:"621022",label:"环县"},{value:"621026",label:"宁县"},{value:"621021",label:"庆城县"},{value:"621002",label:"西峰区"},{value:"621027",label:"镇原县"},{value:"621025",label:"正宁县"}]},{value:"6205",label:"天水市",children:[{value:"620523",label:"甘谷县"},{value:"620503",label:"麦积区"},{value:"620522",label:"秦安县"},{value:"620502",label:"秦州区"},{value:"620521",label:"清水县"},{value:"620524",label:"武山县"},{value:"620525",label:"张家川回族自治县"}]},{value:"6206",label:"武威市",children:[{value:"620622",label:"古浪县"},{value:"620602",label:"凉州区"},{value:"620621",label:"民勤县"},{value:"620623",label:"天祝藏族自治县"}]},{value:"6207",label:"张掖市",children:[{value:"620702",label:"甘州区"},{value:"620724",label:"高台县"},{value:"620723",label:"临泽县"},{value:"620722",label:"民乐县"},{value:"620725",label:"山丹县"},{value:"620721",label:"肃南裕固族自治县"}]}]},{value:"44",label:"广东省",children:[{value:"4451",label:"潮州市",children:[{value:"445103",label:"潮安区"},{value:"445122",label:"饶平县"},{value:"445102",label:"湘桥区"}]},{value:"4419",label:"东莞市",children:[{value:"441900103",label:"茶山镇"},{value:"441900110",label:"常平镇"},{value:"441900113",label:"大朗镇"},{value:"441900118",label:"大岭山镇"},{value:"441900124",label:"道滘镇"},{value:"441900003",label:"东城街道"},{value:"441900404",label:"东莞滨海湾新区"},{value:"441900402",label:"东莞港"},{value:"441900403",label:"东莞生态园"},{value:"441900109",label:"东坑镇"},{value:"441900117",label:"凤岗镇"},{value:"441900129",label:"高埗镇"},{value:"441900006",label:"莞城街道"},{value:"441900106",label:"横沥镇"},{value:"441900125",label:"洪梅镇"},{value:"441900122",label:"厚街镇"},{value:"441900121",label:"虎门镇"},{value:"441900114",label:"黄江镇"},{value:"441900111",label:"寮步镇"},{value:"441900126",label:"麻涌镇"},{value:"441900004",label:"南城街道"},{value:"441900105",label:"企石镇"},{value:"441900107",label:"桥头镇"},{value:"441900115",label:"清溪镇"},{value:"441900123",label:"沙田镇"},{value:"441900101",label:"石碣镇"},{value:"441900102",label:"石龙镇"},{value:"441900104",label:"石排镇"},{value:"441900401",label:"松山湖"},{value:"441900116",label:"塘厦镇"},{value:"441900005",label:"万江街道"},{value:"441900127",label:"望牛墩镇"},{value:"441900108",label:"谢岗镇"},{value:"441900112",label:"樟木头镇"},{value:"441900119",label:"长安镇"},{value:"441900128",label:"中堂镇"}]},{value:"4406",label:"佛山市",children:[{value:"440604",label:"禅城区"},{value:"440608",label:"高明区"},{value:"440605",label:"南海区"},{value:"440607",label:"三水区"},{value:"440606",label:"顺德区"}]},{value:"4401",label:"广州市",children:[{value:"440111",label:"白云区"},{value:"440117",label:"从化区"},{value:"440113",label:"番禺区"},{value:"440105",label:"海珠区"},{value:"440114",label:"花都区"},{value:"440112",label:"黄埔区"},{value:"440103",label:"荔湾区"},{value:"440115",label:"南沙区"},{value:"440106",label:"天河区"},{value:"440104",label:"越秀区"},{value:"440118",label:"增城区"}]},{value:"4416",label:"河源市",children:[{value:"441625",label:"东源县"},{value:"441624",label:"和平县"},{value:"441623",label:"连平县"},{value:"441622",label:"龙川县"},{value:"441602",label:"源城区"},{value:"441621",label:"紫金县"}]},{value:"4413",label:"惠州市",children:[{value:"441322",label:"博罗县"},{value:"441302",label:"惠城区"},{value:"441323",label:"惠东县"},{value:"441303",label:"惠阳区"},{value:"441324",label:"龙门县"}]},{value:"4407",label:"江门市",children:[{value:"440785",label:"恩平市"},{value:"440784",label:"鹤山市"},{value:"440704",label:"江海区"},{value:"440783",label:"开平市"},{value:"440703",label:"蓬江区"},{value:"440781",label:"台山市"},{value:"440705",label:"新会区"}]},{value:"4452",label:"揭阳市",children:[{value:"445224",label:"惠来县"},{value:"445203",label:"揭东区"},{value:"445222",label:"揭西县"},{value:"445281",label:"普宁市"},{value:"445202",label:"榕城区"}]},{value:"4409",label:"茂名市",children:[{value:"440904",label:"电白区"},{value:"440981",label:"高州市"},{value:"440982",label:"化州市"},{value:"440902",label:"茂南区"},{value:"440983",label:"信宜市"}]},{value:"4414",label:"梅州市",children:[{value:"441422",label:"大埔县"},{value:"441423",label:"丰顺县"},{value:"441427",label:"蕉岭县"},{value:"441402",label:"梅江区"},{value:"441403",label:"梅县区"},{value:"441426",label:"平远县"},{value:"441424",label:"五华县"},{value:"441481",label:"兴宁市"}]},{value:"4418",label:"清远市",children:[{value:"441821",label:"佛冈县"},{value:"441826",label:"连南瑶族自治县"},{value:"441825",label:"连山壮族瑶族自治县"},{value:"441882",label:"连州市"},{value:"441802",label:"清城区"},{value:"441803",label:"清新区"},{value:"441823",label:"阳山县"},{value:"441881",label:"英德市"}]},{value:"4405",label:"汕头市",children:[{value:"440514",label:"潮南区"},{value:"440513",label:"潮阳区"},{value:"440515",label:"澄海区"},{value:"440512",label:"濠江区"},{value:"440511",label:"金平区"},{value:"440507",label:"龙湖区"},{value:"440523",label:"南澳县"}]},{value:"4415",label:"汕尾市",children:[{value:"441502",label:"城区"},{value:"441521",label:"海丰县"},{value:"441581",label:"陆丰市"},{value:"441523",label:"陆河县"}]},{value:"4402",label:"韶关市",children:[{value:"440281",label:"乐昌市"},{value:"440282",label:"南雄市"},{value:"440205",label:"曲江区"},{value:"440224",label:"仁化县"},{value:"440232",label:"乳源瑶族自治县"},{value:"440222",label:"始兴县"},{value:"440229",label:"翁源县"},{value:"440203",label:"武江区"},{value:"440233",label:"新丰县"},{value:"440204",label:"浈江区"}]},{value:"4403",label:"深圳市",children:[{value:"440306",label:"宝安区"},{value:"440304",label:"福田区"},{value:"440311",label:"光明区"},{value:"440307",label:"龙岗区"},{value:"440309",label:"龙华区"},{value:"440303",label:"罗湖区"},{value:"440305",label:"南山区"},{value:"440310",label:"坪山区"},{value:"440308",label:"盐田区"}]},{value:"4417",label:"阳江市",children:[{value:"441702",label:"江城区"},{value:"441781",label:"阳春市"},{value:"441704",label:"阳东区"},{value:"441721",label:"阳西县"}]},{value:"4453",label:"云浮市",children:[{value:"445381",label:"罗定市"},{value:"445321",label:"新兴县"},{value:"445322",label:"郁南县"},{value:"445303",label:"云安区"},{value:"445302",label:"云城区"}]},{value:"4408",label:"湛江市",children:[{value:"440802",label:"赤坎区"},{value:"440882",label:"雷州市"},{value:"440881",label:"廉江市"},{value:"440811",label:"麻章区"},{value:"440804",label:"坡头区"},{value:"440823",label:"遂溪县"},{value:"440883",label:"吴川市"},{value:"440803",label:"霞山区"},{value:"440825",label:"徐闻县"}]},{value:"4412",label:"肇庆市",children:[{value:"441226",label:"德庆县"},{value:"441203",label:"鼎湖区"},{value:"441202",label:"端州区"},{value:"441225",label:"封开县"},{value:"441204",label:"高要区"},{value:"441223",label:"广宁县"},{value:"441224",label:"怀集县"},{value:"441284",label:"四会市"}]},{value:"4420",label:"中山市",children:[{value:"442000115",label:"板芙镇"},{value:"442000116",label:"大涌镇"},{value:"442000103",label:"东凤镇"},{value:"442000002",label:"东区街道"},{value:"442000112",label:"阜沙镇"},{value:"442000108",label:"港口镇"},{value:"442000105",label:"古镇镇"},{value:"442000110",label:"横栏镇"},{value:"442000101",label:"黄圃镇"},{value:"442000007",label:"民众街道"},{value:"442000008",label:"南朗街道"},{value:"442000005",label:"南区街道"},{value:"442000111",label:"南头镇"},{value:"442000109",label:"三角镇"},{value:"442000114",label:"三乡镇"},{value:"442000106",label:"沙溪镇"},{value:"442000117",label:"神湾镇"},{value:"442000001",label:"石岐街道"},{value:"442000107",label:"坦洲镇"},{value:"442000006",label:"五桂山街道"},{value:"442000004",label:"西区街道"},{value:"442000118",label:"小榄镇"},{value:"442000003",label:"中山港街道"}]},{value:"4404",label:"珠海市",children:[{value:"440403",label:"斗门区"},{value:"440404",label:"金湾区"},{value:"440402",label:"香洲区"}]}]},{value:"45",label:"广西壮族自治区",children:[{value:"4510",label:"百色市",children:[{value:"451024",label:"德保县"},{value:"451081",label:"靖西市"},{value:"451028",label:"乐业县"},{value:"451027",label:"凌云县"},{value:"451031",label:"隆林各族自治县"},{value:"451026",label:"那坡县"},{value:"451082",label:"平果市"},{value:"451022",label:"田东县"},{value:"451029",label:"田林县"},{value:"451003",label:"田阳区"},{value:"451030",label:"西林县"},{value:"451002",label:"右江区"}]},{value:"4505",label:"北海市",children:[{value:"450502",label:"海城区"},{value:"450521",label:"合浦县"},{value:"450512",label:"铁山港区"},{value:"450503",label:"银海区"}]},{value:"4514",label:"崇左市",children:[{value:"451424",label:"大新县"},{value:"451421",label:"扶绥县"},{value:"451402",label:"江州区"},{value:"451423",label:"龙州县"},{value:"451422",label:"宁明县"},{value:"451481",label:"凭祥市"},{value:"451425",label:"天等县"}]},{value:"4506",label:"防城港市",children:[{value:"450681",label:"东兴市"},{value:"450603",label:"防城区"},{value:"450602",label:"港口区"},{value:"450621",label:"上思县"}]},{value:"4508",label:"贵港市",children:[{value:"450802",label:"港北区"},{value:"450803",label:"港南区"},{value:"450881",label:"桂平市"},{value:"450821",label:"平南县"},{value:"450804",label:"覃塘区"}]},{value:"4503",label:"桂林市",children:[{value:"450303",label:"叠彩区"},{value:"450332",label:"恭城瑶族自治县"},{value:"450327",label:"灌阳县"},{value:"450381",label:"荔浦市"},{value:"450312",label:"临桂区"},{value:"450323",label:"灵川县"},{value:"450328",label:"龙胜各族自治县"},{value:"450330",label:"平乐县"},{value:"450305",label:"七星区"},{value:"450324",label:"全州县"},{value:"450304",label:"象山区"},{value:"450325",label:"兴安县"},{value:"450302",label:"秀峰区"},{value:"450311",label:"雁山区"},{value:"450321",label:"阳朔县"},{value:"450326",label:"永福县"},{value:"450329",label:"资源县"}]},{value:"4512",label:"河池市",children:[{value:"451227",label:"巴马瑶族自治县"},{value:"451229",label:"大化瑶族自治县"},{value:"451224",label:"东兰县"},{value:"451228",label:"都安瑶族自治县"},{value:"451223",label:"凤山县"},{value:"451226",label:"环江毛南族自治县"},{value:"451202",label:"金城江区"},{value:"451225",label:"罗城仫佬族自治县"},{value:"451221",label:"南丹县"},{value:"451222",label:"天峨县"},{value:"451203",label:"宜州区"}]},{value:"4511",label:"贺州市",children:[{value:"451102",label:"八步区"},{value:"451123",label:"富川瑶族自治县"},{value:"451103",label:"平桂区"},{value:"451121",label:"昭平县"},{value:"451122",label:"钟山县"}]},{value:"4513",label:"来宾市",children:[{value:"451381",label:"合山市"},{value:"451324",label:"金秀瑶族自治县"},{value:"451323",label:"武宣县"},{value:"451322",label:"象州县"},{value:"451321",label:"忻城县"},{value:"451302",label:"兴宾区"}]},{value:"4502",label:"柳州市",children:[{value:"450202",label:"城中区"},{value:"450205",label:"柳北区"},{value:"450222",label:"柳城县"},{value:"450206",label:"柳江区"},{value:"450204",label:"柳南区"},{value:"450223",label:"鹿寨县"},{value:"450224",label:"融安县"},{value:"450225",label:"融水苗族自治县"},{value:"450226",label:"三江侗族自治县"},{value:"450203",label:"鱼峰区"}]},{value:"4501",label:"南宁市",children:[{value:"450126",label:"宾阳县"},{value:"450181",label:"横州市"},{value:"450105",label:"江南区"},{value:"450108",label:"良庆区"},{value:"450123",label:"隆安县"},{value:"450124",label:"马山县"},{value:"450103",label:"青秀区"},{value:"450125",label:"上林县"},{value:"450110",label:"武鸣区"},{value:"450107",label:"西乡塘区"},{value:"450102",label:"兴宁区"},{value:"450109",label:"邕宁区"}]},{value:"4507",label:"钦州市",children:[{value:"450721",label:"灵山县"},{value:"450722",label:"浦北县"},{value:"450703",label:"钦北区"},{value:"450702",label:"钦南区"}]},{value:"4504",label:"梧州市",children:[{value:"450421",label:"苍梧县"},{value:"450481",label:"岑溪市"},{value:"450406",label:"龙圩区"},{value:"450423",label:"蒙山县"},{value:"450422",label:"藤县"},{value:"450403",label:"万秀区"},{value:"450405",label:"长洲区"}]},{value:"4509",label:"玉林市",children:[{value:"450981",label:"北流市"},{value:"450923",label:"博白县"},{value:"450903",label:"福绵区"},{value:"450922",label:"陆川县"},{value:"450921",label:"容县"},{value:"450924",label:"兴业县"},{value:"450902",label:"玉州区"}]}]},{value:"52",label:"贵州省",children:[{value:"5204",label:"安顺市",children:[{value:"520424",label:"关岭布依族苗族自治县"},{value:"520403",label:"平坝区"},{value:"520422",label:"普定县"},{value:"520402",label:"西秀区"},{value:"520423",label:"镇宁布依族苗族自治县"},{value:"520425",label:"紫云苗族布依族自治县"}]},{value:"5205",label:"毕节市",children:[{value:"520521",label:"大方县"},{value:"520527",label:"赫章县"},{value:"520523",label:"金沙县"},{value:"520525",label:"纳雍县"},{value:"520502",label:"七星关区"},{value:"520581",label:"黔西市"},{value:"520526",label:"威宁彝族回族苗族自治县"},{value:"520524",label:"织金县"}]},{value:"5201",label:"贵阳市",children:[{value:"520113",label:"白云区"},{value:"520115",label:"观山湖区"},{value:"520111",label:"花溪区"},{value:"520121",label:"开阳县"},{value:"520102",label:"南明区"},{value:"520181",label:"清镇市"},{value:"520112",label:"乌当区"},{value:"520122",label:"息烽县"},{value:"520123",label:"修文县"},{value:"520103",label:"云岩区"}]},{value:"5202",label:"六盘水市",children:[{value:"520203",label:"六枝特区"},{value:"520281",label:"盘州市"},{value:"520204",label:"水城区"},{value:"520201",label:"钟山区"}]},{value:"5226",label:"黔东南苗族侗族自治州",children:[{value:"522626",label:"岑巩县"},{value:"522633",label:"从江县"},{value:"522636",label:"丹寨县"},{value:"522622",label:"黄平县"},{value:"522629",label:"剑河县"},{value:"522628",label:"锦屏县"},{value:"522601",label:"凯里市"},{value:"522634",label:"雷山县"},{value:"522631",label:"黎平县"},{value:"522635",label:"麻江县"},{value:"522632",label:"榕江县"},{value:"522624",label:"三穗县"},{value:"522623",label:"施秉县"},{value:"522630",label:"台江县"},{value:"522627",label:"天柱县"},{value:"522625",label:"镇远县"}]},{value:"5227",label:"黔南布依族苗族自治州",children:[{value:"522701",label:"都匀市"},{value:"522726",label:"独山县"},{value:"522702",label:"福泉市"},{value:"522723",label:"贵定县"},{value:"522731",label:"惠水县"},{value:"522722",label:"荔波县"},{value:"522730",label:"龙里县"},{value:"522728",label:"罗甸县"},{value:"522727",label:"平塘县"},{value:"522732",label:"三都水族自治县"},{value:"522725",label:"瓮安县"},{value:"522729",label:"长顺县"}]},{value:"5223",label:"黔西南布依族苗族自治州",children:[{value:"522328",label:"安龙县"},{value:"522327",label:"册亨县"},{value:"522323",label:"普安县"},{value:"522324",label:"晴隆县"},{value:"522326",label:"望谟县"},{value:"522302",label:"兴仁市"},{value:"522301",label:"兴义市"},{value:"522325",label:"贞丰县"}]},{value:"5206",label:"铜仁市",children:[{value:"520602",label:"碧江区"},{value:"520626",label:"德江县"},{value:"520621",label:"江口县"},{value:"520623",label:"石阡县"},{value:"520624",label:"思南县"},{value:"520628",label:"松桃苗族自治县"},{value:"520603",label:"万山区"},{value:"520627",label:"沿河土家族自治县"},{value:"520625",label:"印江土家族苗族自治县"},{value:"520622",label:"玉屏侗族自治县"}]},{value:"5203",label:"遵义市",children:[{value:"520304",label:"播州区"},{value:"520381",label:"赤水市"},{value:"520325",label:"道真仡佬族苗族自治县"},{value:"520327",label:"凤冈县"},{value:"520302",label:"红花岗区"},{value:"520303",label:"汇川区"},{value:"520328",label:"湄潭县"},{value:"520382",label:"仁怀市"},{value:"520323",label:"绥阳县"},{value:"520322",label:"桐梓县"},{value:"520326",label:"务川仡佬族苗族自治县"},{value:"520330",label:"习水县"},{value:"520329",label:"余庆县"},{value:"520324",label:"正安县"}]}]},{value:"46",label:"海南省",children:[{value:"4604",label:"儋州市",children:[{value:"460400112",label:"白马井镇"},{value:"460400103",label:"大成镇"},{value:"460400115",label:"东成镇"},{value:"460400109",label:"峨蔓镇"},{value:"460400106",label:"光村镇"},{value:"460400108",label:"海头镇"},{value:"460400101",label:"和庆镇"},{value:"460400500",label:"华南热作学院"},{value:"460400105",label:"兰洋镇"},{value:"460400107",label:"木棠镇"},{value:"460400100",label:"那大镇"},{value:"460400102",label:"南丰镇"},{value:"460400114",label:"排浦镇"},{value:"460400111",label:"王五镇"},{value:"460400116",label:"新州镇"},{value:"460400104",label:"雅星镇"},{value:"460400499",label:"洋浦经济开发区"},{value:"460400113",label:"中和镇"}]},{value:"4601",label:"海口市",children:[{value:"460106",label:"龙华区"},{value:"460108",label:"美兰区"},{value:"460107",label:"琼山区"},{value:"460105",label:"秀英区"}]},{value:"4603",label:"三沙市",children:[{value:"460322",label:"南沙群岛"},{value:"460321",label:"西沙群岛"},{value:"460323",label:"中沙群岛的岛礁及其海域"}]},{value:"4602",label:"三亚市",children:[{value:"460202",label:"海棠区"},{value:"460203",label:"吉阳区"},{value:"460204",label:"天涯区"},{value:"460205",label:"崖州区"}]},{value:"4690",label:"省直辖县级行政区划",children:[{value:"469025",label:"白沙黎族自治县"},{value:"469029",label:"保亭黎族苗族自治县"},{value:"469026",label:"昌江黎族自治县"},{value:"469023",label:"澄迈县"},{value:"469021",label:"定安县"},{value:"469007",label:"东方市"},{value:"469027",label:"乐东黎族自治县"},{value:"469024",label:"临高县"},{value:"469028",label:"陵水黎族自治县"},{value:"469002",label:"琼海市"},{value:"469030",label:"琼中黎族苗族自治县"},{value:"469022",label:"屯昌县"},{value:"469006",label:"万宁市"},{value:"469005",label:"文昌市"},{value:"469001",label:"五指山市"}]}]},{value:"13",label:"河北省",children:[{value:"1306",label:"保定市",children:[{value:"130683",label:"安国市"},{value:"130632",label:"安新县"},{value:"130672",label:"保定白沟新城"},{value:"130671",label:"保定高新技术产业开发区"},{value:"130637",label:"博野县"},{value:"130626",label:"定兴县"},{value:"130682",label:"定州市"},{value:"130624",label:"阜平县"},{value:"130684",label:"高碑店市"},{value:"130628",label:"高阳县"},{value:"130602",label:"竞秀区"},{value:"130623",label:"涞水县"},{value:"130630",label:"涞源县"},{value:"130635",label:"蠡县"},{value:"130606",label:"莲池区"},{value:"130607",label:"满城区"},{value:"130608",label:"清苑区"},{value:"130634",label:"曲阳县"},{value:"130629",label:"容城县"},{value:"130636",label:"顺平县"},{value:"130627",label:"唐县"},{value:"130631",label:"望都县"},{value:"130638",label:"雄县"},{value:"130609",label:"徐水区"},{value:"130633",label:"易县"},{value:"130681",label:"涿州市"}]},{value:"1309",label:"沧州市",children:[{value:"130921",label:"沧县"},{value:"130973",label:"沧州渤海新区"},{value:"130972",label:"沧州高新技术产业开发区"},{value:"130923",label:"东光县"},{value:"130924",label:"海兴县"},{value:"130971",label:"河北沧州经济开发区"},{value:"130984",label:"河间市"},{value:"130983",label:"黄骅市"},{value:"130930",label:"孟村回族自治县"},{value:"130927",label:"南皮县"},{value:"130981",label:"泊头市"},{value:"130922",label:"青县"},{value:"130982",label:"任丘市"},{value:"130926",label:"肃宁县"},{value:"130928",label:"吴桥县"},{value:"130929",label:"献县"},{value:"130902",label:"新华区"},{value:"130925",label:"盐山县"},{value:"130903",label:"运河区"}]},{value:"1308",label:"承德市",children:[{value:"130871",label:"承德高新技术产业开发区"},{value:"130821",label:"承德县"},{value:"130826",label:"丰宁满族自治县"},{value:"130827",label:"宽城满族自治县"},{value:"130825",label:"隆化县"},{value:"130824",label:"滦平县"},{value:"130881",label:"平泉市"},{value:"130803",label:"双滦区"},{value:"130802",label:"双桥区"},{value:"130828",label:"围场满族蒙古族自治县"},{value:"130822",label:"兴隆县"},{value:"130804",label:"鹰手营子矿区"}]},{value:"1304",label:"邯郸市",children:[{value:"130424",label:"成安县"},{value:"130427",label:"磁县"},{value:"130403",label:"丛台区"},{value:"130425",label:"大名县"},{value:"130407",label:"肥乡区"},{value:"130406",label:"峰峰矿区"},{value:"130404",label:"复兴区"},{value:"130433",label:"馆陶县"},{value:"130432",label:"广平县"},{value:"130473",label:"邯郸冀南新区"},{value:"130471",label:"邯郸经济技术开发区"},{value:"130402",label:"邯山区"},{value:"130431",label:"鸡泽县"},{value:"130423",label:"临漳县"},{value:"130430",label:"邱县"},{value:"130435",label:"曲周县"},{value:"130426",label:"涉县"},{value:"130434",label:"魏县"},{value:"130481",label:"武安市"},{value:"130408",label:"永年区"}]},{value:"1311",label:"衡水市",children:[{value:"131125",label:"安平县"},{value:"131128",label:"阜城县"},{value:"131126",label:"故城县"},{value:"131171",label:"河北衡水高新技术产业开发区"},{value:"131172",label:"衡水滨湖新区"},{value:"131103",label:"冀州区"},{value:"131127",label:"景县"},{value:"131124",label:"饶阳县"},{value:"131182",label:"深州市"},{value:"131102",label:"桃城区"},{value:"131123",label:"武强县"},{value:"131122",label:"武邑县"},{value:"131121",label:"枣强县"}]},{value:"1310",label:"廊坊市",children:[{value:"131002",label:"安次区"},{value:"131081",label:"霸州市"},{value:"131028",label:"大厂回族自治县"},{value:"131025",label:"大城县"},{value:"131022",label:"固安县"},{value:"131003",label:"广阳区"},{value:"131071",label:"廊坊经济技术开发区"},{value:"131082",label:"三河市"},{value:"131026",label:"文安县"},{value:"131024",label:"香河县"},{value:"131023",label:"永清县"}]},{value:"1303",label:"秦皇岛市",children:[{value:"130304",label:"北戴河区"},{value:"130372",label:"北戴河新区"},{value:"130322",label:"昌黎县"},{value:"130306",label:"抚宁区"},{value:"130302",label:"海港区"},{value:"130324",label:"卢龙县"},{value:"130371",label:"秦皇岛市经济技术开发区"},{value:"130321",label:"青龙满族自治县"},{value:"130303",label:"山海关区"}]},{value:"1301",label:"石家庄市",children:[{value:"130127",label:"高邑县"},{value:"130109",label:"藁城区"},{value:"130183",label:"晋州市"},{value:"130107",label:"井陉矿区"},{value:"130121",label:"井陉县"},{value:"130126",label:"灵寿县"},{value:"130110",label:"鹿泉区"},{value:"130111",label:"栾城区"},{value:"130131",label:"平山县"},{value:"130104",label:"桥西区"},{value:"130128",label:"深泽县"},{value:"130171",label:"石家庄高新技术产业开发区"},{value:"130172",label:"石家庄循环化工园区"},{value:"130130",label:"无极县"},{value:"130181",label:"辛集市"},{value:"130105",label:"新华区"},{value:"130184",label:"新乐市"},{value:"130125",label:"行唐县"},{value:"130108",label:"裕华区"},{value:"130132",label:"元氏县"},{value:"130129",label:"赞皇县"},{value:"130102",label:"长安区"},{value:"130133",label:"赵县"},{value:"130123",label:"正定县"}]},{value:"1302",label:"唐山市",children:[{value:"130209",label:"曹妃甸区"},{value:"130207",label:"丰南区"},{value:"130208",label:"丰润区"},{value:"130204",label:"古冶区"},{value:"130274",label:"河北唐山海港经济开发区"},{value:"130271",label:"河北唐山芦台经济开发区"},{value:"130205",label:"开平区"},{value:"130225",label:"乐亭县"},{value:"130203",label:"路北区"},{value:"130202",label:"路南区"},{value:"130224",label:"滦南县"},{value:"130284",label:"滦州市"},{value:"130283",label:"迁安市"},{value:"130227",label:"迁西县"},{value:"130273",label:"唐山高新技术产业开发区"},{value:"130272",label:"唐山市汉沽管理区"},{value:"130229",label:"玉田县"},{value:"130281",label:"遵化市"}]},{value:"1305",label:"邢台市",children:[{value:"130524",label:"柏乡县"},{value:"130531",label:"广宗县"},{value:"130571",label:"河北邢台经济开发区"},{value:"130529",label:"巨鹿县"},{value:"130522",label:"临城县"},{value:"130535",label:"临西县"},{value:"130525",label:"隆尧县"},{value:"130581",label:"南宫市"},{value:"130506",label:"南和区"},{value:"130523",label:"内丘县"},{value:"130528",label:"宁晋县"},{value:"130532",label:"平乡县"},{value:"130534",label:"清河县"},{value:"130505",label:"任泽区"},{value:"130582",label:"沙河市"},{value:"130533",label:"威县"},{value:"130502",label:"襄都区"},{value:"130530",label:"新河县"},{value:"130503",label:"信都区"}]},{value:"1307",label:"张家口市",children:[{value:"130732",label:"赤城县"},{value:"130709",label:"崇礼区"},{value:"130724",label:"沽源县"},{value:"130728",label:"怀安县"},{value:"130730",label:"怀来县"},{value:"130723",label:"康保县"},{value:"130702",label:"桥东区"},{value:"130703",label:"桥西区"},{value:"130725",label:"尚义县"},{value:"130708",label:"万全区"},{value:"130726",label:"蔚县"},{value:"130706",label:"下花园区"},{value:"130705",label:"宣化区"},{value:"130727",label:"阳原县"},{value:"130722",label:"张北县"},{value:"130771",label:"张家口经济开发区"},{value:"130772",label:"张家口市察北管理区"},{value:"130773",label:"张家口市塞北管理区"},{value:"130731",label:"涿鹿县"}]}]},{value:"41",label:"河南省",children:[{value:"4105",label:"安阳市",children:[{value:"410571",label:"安阳高新技术产业开发区"},{value:"410522",label:"安阳县"},{value:"410503",label:"北关区"},{value:"410526",label:"滑县"},{value:"410581",label:"林州市"},{value:"410506",label:"龙安区"},{value:"410527",label:"内黄县"},{value:"410523",label:"汤阴县"},{value:"410502",label:"文峰区"},{value:"410505",label:"殷都区"}]},{value:"4106",label:"鹤壁市",children:[{value:"410671",label:"鹤壁经济技术开发区"},{value:"410602",label:"鹤山区"},{value:"410621",label:"浚县"},{value:"410611",label:"淇滨区"},{value:"410622",label:"淇县"},{value:"410603",label:"山城区"}]},{value:"4108",label:"焦作市",children:[{value:"410822",label:"博爱县"},{value:"410871",label:"焦作城乡一体化示范区"},{value:"410802",label:"解放区"},{value:"410804",label:"马村区"},{value:"410883",label:"孟州市"},{value:"410882",label:"沁阳市"},{value:"410811",label:"山阳区"},{value:"410825",label:"温县"},{value:"410823",label:"武陟县"},{value:"410821",label:"修武县"},{value:"410803",label:"中站区"}]},{value:"4102",label:"开封市",children:[{value:"410204",label:"鼓楼区"},{value:"410225",label:"兰考县"},{value:"410202",label:"龙亭区"},{value:"410221",label:"杞县"},{value:"410203",label:"顺河回族区"},{value:"410222",label:"通许县"},{value:"410223",label:"尉氏县"},{value:"410212",label:"祥符区"},{value:"410205",label:"禹王台区"}]},{value:"4103",label:"洛阳市",children:[{value:"410304",label:"瀍河回族区"},{value:"410305",label:"涧西区"},{value:"410302",label:"老城区"},{value:"410324",label:"栾川县"},{value:"410311",label:"洛龙区"},{value:"410328",label:"洛宁县"},{value:"410371",label:"洛阳高新技术产业开发区"},{value:"410308",label:"孟津区"},{value:"410326",label:"汝阳县"},{value:"410325",label:"嵩县"},{value:"410303",label:"西工区"},{value:"410323",label:"新安县"},{value:"410307",label:"偃师区"},{value:"410329",label:"伊川县"},{value:"410327",label:"宜阳县"}]},{value:"4111",label:"漯河市",children:[{value:"411122",label:"临颍县"},{value:"411171",label:"漯河经济技术开发区"},{value:"411121",label:"舞阳县"},{value:"411103",label:"郾城区"},{value:"411102",label:"源汇区"},{value:"411104",label:"召陵区"}]},{value:"4113",label:"南阳市",children:[{value:"411381",label:"邓州市"},{value:"411322",label:"方城县"},{value:"411371",label:"南阳高新技术产业开发区"},{value:"411372",label:"南阳市城乡一体化示范区"},{value:"411321",label:"南召县"},{value:"411325",label:"内乡县"},{value:"411327",label:"社旗县"},{value:"411328",label:"唐河县"},{value:"411330",label:"桐柏县"},{value:"411302",label:"宛城区"},{value:"411303",label:"卧龙区"},{value:"411323",label:"西峡县"},{value:"411326",label:"淅川县"},{value:"411329",label:"新野县"},{value:"411324",label:"镇平县"}]},{value:"4104",label:"平顶山市",children:[{value:"410421",label:"宝丰县"},{value:"410425",label:"郏县"},{value:"410423",label:"鲁山县"},{value:"410471",label:"平顶山高新技术产业开发区"},{value:"410472",label:"平顶山市城乡一体化示范区"},{value:"410482",label:"汝州市"},{value:"410404",label:"石龙区"},{value:"410403",label:"卫东区"},{value:"410481",label:"舞钢市"},{value:"410402",label:"新华区"},{value:"410422",label:"叶县"},{value:"410411",label:"湛河区"}]},{value:"4109",label:"濮阳市",children:[{value:"410926",label:"范县"},{value:"410971",label:"河南濮阳工业园区"},{value:"410902",label:"华龙区"},{value:"410923",label:"南乐县"},{value:"410972",label:"濮阳经济技术开发区"},{value:"410928",label:"濮阳县"},{value:"410922",label:"清丰县"},{value:"410927",label:"台前县"}]},{value:"4112",label:"三门峡市",children:[{value:"411271",label:"河南三门峡经济开发区"},{value:"411202",label:"湖滨区"},{value:"411282",label:"灵宝市"},{value:"411224",label:"卢氏县"},{value:"411221",label:"渑池县"},{value:"411203",label:"陕州区"},{value:"411281",label:"义马市"}]},{value:"4114",label:"商丘市",children:[{value:"411472",label:"河南商丘经济开发区"},{value:"411402",label:"梁园区"},{value:"411421",label:"民权县"},{value:"411423",label:"宁陵县"},{value:"411422",label:"睢县"},{value:"411403",label:"睢阳区"},{value:"411426",label:"夏邑县"},{value:"411481",label:"永城市"},{value:"411425",label:"虞城县"},{value:"411471",label:"豫东综合物流产业聚集区"},{value:"411424",label:"柘城县"}]},{value:"4190",label:"省直辖县级行政区划",children:[{value:"419001",label:"济源市"}]},{value:"4107",label:"新乡市",children:[{value:"410727",label:"封丘县"},{value:"410704",label:"凤泉区"},{value:"410702",label:"红旗区"},{value:"410782",label:"辉县市"},{value:"410724",label:"获嘉县"},{value:"410711",label:"牧野区"},{value:"410703",label:"卫滨区"},{value:"410781",label:"卫辉市"},{value:"410771",label:"新乡高新技术产业开发区"},{value:"410772",label:"新乡经济技术开发区"},{value:"410773",label:"新乡市平原城乡一体化示范区"},{value:"410721",label:"新乡县"},{value:"410726",label:"延津县"},{value:"410725",label:"原阳县"},{value:"410783",label:"长垣市"}]},{value:"4115",label:"信阳市",children:[{value:"411525",label:"固始县"},{value:"411522",label:"光山县"},{value:"411527",label:"淮滨县"},{value:"411526",label:"潢川县"},{value:"411521",label:"罗山县"},{value:"411503",label:"平桥区"},{value:"411524",label:"商城县"},{value:"411502",label:"浉河区"},{value:"411528",label:"息县"},{value:"411523",label:"新县"},{value:"411571",label:"信阳高新技术产业开发区"}]},{value:"4110",label:"许昌市",children:[{value:"411003",label:"建安区"},{value:"411002",label:"魏都区"},{value:"411025",label:"襄城县"},{value:"411071",label:"许昌经济技术开发区"},{value:"411024",label:"鄢陵县"},{value:"411081",label:"禹州市"},{value:"411082",label:"长葛市"}]},{value:"4101",label:"郑州市",children:[{value:"410185",label:"登封市"},{value:"410103",label:"二七区"},{value:"410181",label:"巩义市"},{value:"410104",label:"管城回族区"},{value:"410108",label:"惠济区"},{value:"410105",label:"金水区"},{value:"410106",label:"上街区"},{value:"410183",label:"新密市"},{value:"410184",label:"新郑市"},{value:"410182",label:"荥阳市"},{value:"410172",label:"郑州高新技术产业开发区"},{value:"410173",label:"郑州航空港经济综合实验区"},{value:"410171",label:"郑州经济技术开发区"},{value:"410122",label:"中牟县"},{value:"410102",label:"中原区"}]},{value:"4116",label:"周口市",children:[{value:"411602",label:"川汇区"},{value:"411625",label:"郸城县"},{value:"411621",label:"扶沟县"},{value:"411603",label:"淮阳区"},{value:"411628",label:"鹿邑县"},{value:"411623",label:"商水县"},{value:"411624",label:"沈丘县"},{value:"411627",label:"太康县"},{value:"411622",label:"西华县"},{value:"411681",label:"项城市"},{value:"411671",label:"周口临港开发区"}]},{value:"4117",label:"驻马店市",children:[{value:"411771",label:"河南驻马店经济开发区"},{value:"411726",label:"泌阳县"},{value:"411723",label:"平舆县"},{value:"411725",label:"确山县"},{value:"411727",label:"汝南县"},{value:"411722",label:"上蔡县"},{value:"411728",label:"遂平县"},{value:"411721",label:"西平县"},{value:"411729",label:"新蔡县"},{value:"411702",label:"驿城区"},{value:"411724",label:"正阳县"}]}]},{value:"23",label:"黑龙江省",children:[{value:"2306",label:"大庆市",children:[{value:"230671",label:"大庆高新技术产业开发区"},{value:"230606",label:"大同区"},{value:"230624",label:"杜尔伯特蒙古族自治县"},{value:"230605",label:"红岗区"},{value:"230623",label:"林甸县"},{value:"230603",label:"龙凤区"},{value:"230604",label:"让胡路区"},{value:"230602",label:"萨尔图区"},{value:"230622",label:"肇源县"},{value:"230621",label:"肇州县"}]},{value:"2327",label:"大兴安岭地区",children:[{value:"232721",label:"呼玛县"},{value:"232764",label:"呼中区"},{value:"232761",label:"加格达奇区"},{value:"232701",label:"漠河市"},{value:"232762",label:"松岭区"},{value:"232722",label:"塔河县"},{value:"232763",label:"新林区"}]},{value:"2301",label:"哈尔滨市",children:[{value:"230112",label:"阿城区"},{value:"230126",label:"巴彦县"},{value:"230125",label:"宾县"},{value:"230102",label:"道里区"},{value:"230104",label:"道外区"},{value:"230124",label:"方正县"},{value:"230111",label:"呼兰区"},{value:"230127",label:"木兰县"},{value:"230103",label:"南岗区"},{value:"230108",label:"平房区"},{value:"230183",label:"尚志市"},{value:"230113",label:"双城区"},{value:"230109",label:"松北区"},{value:"230128",label:"通河县"},{value:"230184",label:"五常市"},{value:"230110",label:"香坊区"},{value:"230129",label:"延寿县"},{value:"230123",label:"依兰县"}]},{value:"2304",label:"鹤岗市",children:[{value:"230406",label:"东山区"},{value:"230403",label:"工农区"},{value:"230421",label:"萝北县"},{value:"230404",label:"南山区"},{value:"230422",label:"绥滨县"},{value:"230402",label:"向阳区"},{value:"230405",label:"兴安区"},{value:"230407",label:"兴山区"}]},{value:"2311",label:"黑河市",children:[{value:"231102",label:"爱辉区"},{value:"231181",label:"北安市"},{value:"231183",label:"嫩江市"},{value:"231124",label:"孙吴县"},{value:"231182",label:"五大连池市"},{value:"231123",label:"逊克县"}]},{value:"2303",label:"鸡西市",children:[{value:"230306",label:"城子河区"},{value:"230304",label:"滴道区"},{value:"230303",label:"恒山区"},{value:"230381",label:"虎林市"},{value:"230321",label:"鸡东县"},{value:"230302",label:"鸡冠区"},{value:"230305",label:"梨树区"},{value:"230307",label:"麻山区"},{value:"230382",label:"密山市"}]},{value:"2308",label:"佳木斯市",children:[{value:"230805",label:"东风区"},{value:"230883",label:"抚远市"},{value:"230882",label:"富锦市"},{value:"230826",label:"桦川县"},{value:"230822",label:"桦南县"},{value:"230811",label:"郊区"},{value:"230804",label:"前进区"},{value:"230828",label:"汤原县"},{value:"230881",label:"同江市"},{value:"230803",label:"向阳区"}]},{value:"2310",label:"牡丹江市",children:[{value:"231004",label:"爱民区"},{value:"231002",label:"东安区"},{value:"231086",label:"东宁市"},{value:"231083",label:"海林市"},{value:"231025",label:"林口县"},{value:"231085",label:"穆棱市"},{value:"231084",label:"宁安市"},{value:"231081",label:"绥芬河市"},{value:"231005",label:"西安区"},{value:"231003",label:"阳明区"}]},{value:"2309",label:"七台河市",children:[{value:"230921",label:"勃利县"},{value:"230904",label:"茄子河区"},{value:"230903",label:"桃山区"},{value:"230902",label:"新兴区"}]},{value:"2302",label:"齐齐哈尔市",children:[{value:"230205",label:"昂昂溪区"},{value:"230231",label:"拜泉县"},{value:"230206",label:"富拉尔基区"},{value:"230227",label:"富裕县"},{value:"230225",label:"甘南县"},{value:"230203",label:"建华区"},{value:"230230",label:"克东县"},{value:"230229",label:"克山县"},{value:"230221",label:"龙江县"},{value:"230202",label:"龙沙区"},{value:"230208",label:"梅里斯达斡尔族区"},{value:"230281",label:"讷河市"},{value:"230207",label:"碾子山区"},{value:"230224",label:"泰来县"},{value:"230204",label:"铁锋区"},{value:"230223",label:"依安县"}]},{value:"2305",label:"双鸭山市",children:[{value:"230523",label:"宝清县"},{value:"230506",label:"宝山区"},{value:"230521",label:"集贤县"},{value:"230502",label:"尖山区"},{value:"230503",label:"岭东区"},{value:"230524",label:"饶河县"},{value:"230505",label:"四方台区"},{value:"230522",label:"友谊县"}]},{value:"2312",label:"绥化市",children:[{value:"231281",label:"安达市"},{value:"231202",label:"北林区"},{value:"231283",label:"海伦市"},{value:"231222",label:"兰西县"},{value:"231225",label:"明水县"},{value:"231223",label:"青冈县"},{value:"231224",label:"庆安县"},{value:"231226",label:"绥棱县"},{value:"231221",label:"望奎县"},{value:"231282",label:"肇东市"}]},{value:"2307",label:"伊春市",children:[{value:"230725",label:"大箐山县"},{value:"230724",label:"丰林县"},{value:"230722",label:"嘉荫县"},{value:"230751",label:"金林区"},{value:"230726",label:"南岔县"},{value:"230723",label:"汤旺县"},{value:"230781",label:"铁力市"},{value:"230718",label:"乌翠区"},{value:"230717",label:"伊美区"},{value:"230719",label:"友好区"}]}]},{value:"42",label:"湖北省",children:[{value:"4207",label:"鄂州市",children:[{value:"420704",label:"鄂城区"},{value:"420703",label:"华容区"},{value:"420702",label:"梁子湖区"}]},{value:"4228",label:"恩施土家族苗族自治州",children:[{value:"422823",label:"巴东县"},{value:"422801",label:"恩施市"},{value:"422828",label:"鹤峰县"},{value:"422822",label:"建始县"},{value:"422827",label:"来凤县"},{value:"422802",label:"利川市"},{value:"422826",label:"咸丰县"},{value:"422825",label:"宣恩县"}]},{value:"4211",label:"黄冈市",children:[{value:"421122",label:"红安县"},{value:"421127",label:"黄梅县"},{value:"421102",label:"黄州区"},{value:"421171",label:"龙感湖管理区"},{value:"421123",label:"罗田县"},{value:"421181",label:"麻城市"},{value:"421126",label:"蕲春县"},{value:"421121",label:"团风县"},{value:"421182",label:"武穴市"},{value:"421125",label:"浠水县"},{value:"421124",label:"英山县"}]},{value:"4202",label:"黄石市",children:[{value:"420281",label:"大冶市"},{value:"420202",label:"黄石港区"},{value:"420205",label:"铁山区"},{value:"420203",label:"西塞山区"},{value:"420204",label:"下陆区"},{value:"420222",label:"阳新县"}]},{value:"4208",label:"荆门市",children:[{value:"420802",label:"东宝区"},{value:"420804",label:"掇刀区"},{value:"420882",label:"京山市"},{value:"420822",label:"沙洋县"},{value:"420881",label:"钟祥市"}]},{value:"4210",label:"荆州市",children:[{value:"421022",label:"公安县"},{value:"421083",label:"洪湖市"},{value:"421088",label:"监利市"},{value:"421024",label:"江陵县"},{value:"421071",label:"荆州经济技术开发区"},{value:"421003",label:"荆州区"},{value:"421002",label:"沙市区"},{value:"421081",label:"石首市"},{value:"421087",label:"松滋市"}]},{value:"4290",label:"省直辖县级行政区划",children:[{value:"429005",label:"潜江市"},{value:"429021",label:"神农架林区"},{value:"429006",label:"天门市"},{value:"429004",label:"仙桃市"}]},{value:"4203",label:"十堰市",children:[{value:"420381",label:"丹江口市"},{value:"420325",label:"房县"},{value:"420302",label:"茅箭区"},{value:"420322",label:"郧西县"},{value:"420304",label:"郧阳区"},{value:"420303",label:"张湾区"},{value:"420323",label:"竹山县"},{value:"420324",label:"竹溪县"}]},{value:"4213",label:"随州市",children:[{value:"421303",label:"曾都区"},{value:"421381",label:"广水市"},{value:"421321",label:"随县"}]},{value:"4201",label:"武汉市",children:[{value:"420114",label:"蔡甸区"},{value:"420112",label:"东西湖区"},{value:"420113",label:"汉南区"},{value:"420105",label:"汉阳区"},{value:"420111",label:"洪山区"},{value:"420116",label:"黄陂区"},{value:"420102",label:"江岸区"},{value:"420103",label:"江汉区"},{value:"420115",label:"江夏区"},{value:"420104",label:"硚口区"},{value:"420107",label:"青山区"},{value:"420106",label:"武昌区"},{value:"420117",label:"新洲区"}]},{value:"4212",label:"咸宁市",children:[{value:"421281",label:"赤壁市"},{value:"421223",label:"崇阳县"},{value:"421221",label:"嘉鱼县"},{value:"421222",label:"通城县"},{value:"421224",label:"通山县"},{value:"421202",label:"咸安区"}]},{value:"4206",label:"襄阳市",children:[{value:"420626",label:"保康县"},{value:"420606",label:"樊城区"},{value:"420625",label:"谷城县"},{value:"420682",label:"老河口市"},{value:"420624",label:"南漳县"},{value:"420602",label:"襄城区"},{value:"420607",label:"襄州区"},{value:"420684",label:"宜城市"},{value:"420683",label:"枣阳市"}]},{value:"4209",label:"孝感市",children:[{value:"420982",label:"安陆市"},{value:"420922",label:"大悟县"},{value:"420984",label:"汉川市"},{value:"420921",label:"孝昌县"},{value:"420902",label:"孝南区"},{value:"420981",label:"应城市"},{value:"420923",label:"云梦县"}]},{value:"4205",label:"宜昌市",children:[{value:"420582",label:"当阳市"},{value:"420504",label:"点军区"},{value:"420529",label:"五峰土家族自治县"},{value:"420503",label:"伍家岗区"},{value:"420502",label:"西陵区"},{value:"420505",label:"猇亭区"},{value:"420526",label:"兴山县"},{value:"420506",label:"夷陵区"},{value:"420581",label:"宜都市"},{value:"420525",label:"远安县"},{value:"420528",label:"长阳土家族自治县"},{value:"420583",label:"枝江市"},{value:"420527",label:"秭归县"}]}]},{value:"43",label:"湖南省",children:[{value:"4307",label:"常德市",children:[{value:"430721",label:"安乡县"},{value:"430771",label:"常德市西洞庭管理区"},{value:"430703",label:"鼎城区"},{value:"430722",label:"汉寿县"},{value:"430781",label:"津市市"},{value:"430723",label:"澧县"},{value:"430724",label:"临澧县"},{value:"430726",label:"石门县"},{value:"430725",label:"桃源县"},{value:"430702",label:"武陵区"}]},{value:"4310",label:"郴州市",children:[{value:"431028",label:"安仁县"},{value:"431002",label:"北湖区"},{value:"431027",label:"桂东县"},{value:"431021",label:"桂阳县"},{value:"431024",label:"嘉禾县"},{value:"431025",label:"临武县"},{value:"431026",label:"汝城县"},{value:"431003",label:"苏仙区"},{value:"431022",label:"宜章县"},{value:"431023",label:"永兴县"},{value:"431081",label:"资兴市"}]},{value:"4304",label:"衡阳市",children:[{value:"430482",label:"常宁市"},{value:"430424",label:"衡东县"},{value:"430422",label:"衡南县"},{value:"430423",label:"衡山县"},{value:"430421",label:"衡阳县"},{value:"430476",label:"湖南衡阳高新技术产业园区"},{value:"430473",label:"湖南衡阳松木经济开发区"},{value:"430481",label:"耒阳市"},{value:"430412",label:"南岳区"},{value:"430426",label:"祁东县"},{value:"430407",label:"石鼓区"},{value:"430406",label:"雁峰区"},{value:"430408",label:"蒸湘区"},{value:"430405",label:"珠晖区"}]},{value:"4312",label:"怀化市",children:[{value:"431223",label:"辰溪县"},{value:"431202",label:"鹤城区"},{value:"431281",label:"洪江市"},{value:"431271",label:"怀化市洪江管理区"},{value:"431225",label:"会同县"},{value:"431229",label:"靖州苗族侗族自治县"},{value:"431226",label:"麻阳苗族自治县"},{value:"431230",label:"通道侗族自治县"},{value:"431227",label:"新晃侗族自治县"},{value:"431224",label:"溆浦县"},{value:"431222",label:"沅陵县"},{value:"431228",label:"芷江侗族自治县"},{value:"431221",label:"中方县"}]},{value:"4313",label:"娄底市",children:[{value:"431381",label:"冷水江市"},{value:"431382",label:"涟源市"},{value:"431302",label:"娄星区"},{value:"431321",label:"双峰县"},{value:"431322",label:"新化县"}]},{value:"4305",label:"邵阳市",children:[{value:"430511",label:"北塔区"},{value:"430529",label:"城步苗族自治县"},{value:"430503",label:"大祥区"},{value:"430525",label:"洞口县"},{value:"430524",label:"隆回县"},{value:"430582",label:"邵东市"},{value:"430523",label:"邵阳县"},{value:"430502",label:"双清区"},{value:"430527",label:"绥宁县"},{value:"430581",label:"武冈市"},{value:"430528",label:"新宁县"},{value:"430522",label:"新邵县"}]},{value:"4303",label:"湘潭市",children:[{value:"430371",label:"湖南湘潭高新技术产业园区"},{value:"430382",label:"韶山市"},{value:"430373",label:"湘潭九华示范区"},{value:"430321",label:"湘潭县"},{value:"430372",label:"湘潭昭山示范区"},{value:"430381",label:"湘乡市"},{value:"430302",label:"雨湖区"},{value:"430304",label:"岳塘区"}]},{value:"4331",label:"湘西土家族苗族自治州",children:[{value:"433125",label:"保靖县"},{value:"433123",label:"凤凰县"},{value:"433126",label:"古丈县"},{value:"433124",label:"花垣县"},{value:"433101",label:"吉首市"},{value:"433130",label:"龙山县"},{value:"433122",label:"泸溪县"},{value:"433127",label:"永顺县"}]},{value:"4309",label:"益阳市",children:[{value:"430923",label:"安化县"},{value:"430903",label:"赫山区"},{value:"430972",label:"湖南益阳高新技术产业园区"},{value:"430921",label:"南县"},{value:"430922",label:"桃江县"},{value:"430971",label:"益阳市大通湖管理区"},{value:"430981",label:"沅江市"},{value:"430902",label:"资阳区"}]},{value:"4311",label:"永州市",children:[{value:"431124",label:"道县"},{value:"431122",label:"东安县"},{value:"431129",label:"江华瑶族自治县"},{value:"431125",label:"江永县"},{value:"431127",label:"蓝山县"},{value:"431103",label:"冷水滩区"},{value:"431102",label:"零陵区"},{value:"431126",label:"宁远县"},{value:"431181",label:"祁阳市"},{value:"431123",label:"双牌县"},{value:"431128",label:"新田县"},{value:"431171",label:"永州经济技术开发区"},{value:"431173",label:"永州市回龙圩管理区"}]},{value:"4306",label:"岳阳市",children:[{value:"430623",label:"华容县"},{value:"430611",label:"君山区"},{value:"430682",label:"临湘市"},{value:"430681",label:"汨罗市"},{value:"430626",label:"平江县"},{value:"430624",label:"湘阴县"},{value:"430602",label:"岳阳楼区"},{value:"430671",label:"岳阳市屈原管理区"},{value:"430621",label:"岳阳县"},{value:"430603",label:"云溪区"}]},{value:"4308",label:"张家界市",children:[{value:"430821",label:"慈利县"},{value:"430822",label:"桑植县"},{value:"430811",label:"武陵源区"},{value:"430802",label:"永定区"}]},{value:"4301",label:"长沙市",children:[{value:"430102",label:"芙蓉区"},{value:"430105",label:"开福区"},{value:"430181",label:"浏阳市"},{value:"430182",label:"宁乡市"},{value:"430103",label:"天心区"},{value:"430112",label:"望城区"},{value:"430111",label:"雨花区"},{value:"430104",label:"岳麓区"},{value:"430121",label:"长沙县"}]},{value:"4302",label:"株洲市",children:[{value:"430224",label:"茶陵县"},{value:"430202",label:"荷塘区"},{value:"430281",label:"醴陵市"},{value:"430203",label:"芦淞区"},{value:"430212",label:"渌口区"},{value:"430204",label:"石峰区"},{value:"430211",label:"天元区"},{value:"430225",label:"炎陵县"},{value:"430223",label:"攸县"}]}]},{value:"22",label:"吉林省",children:[{value:"2208",label:"白城市",children:[{value:"220882",label:"大安市"},{value:"220871",label:"吉林白城经济开发区"},{value:"220802",label:"洮北区"},{value:"220881",label:"洮南市"},{value:"220822",label:"通榆县"},{value:"220821",label:"镇赉县"}]},{value:"2206",label:"白山市",children:[{value:"220621",label:"抚松县"},{value:"220602",label:"浑江区"},{value:"220605",label:"江源区"},{value:"220622",label:"靖宇县"},{value:"220681",label:"临江市"},{value:"220623",label:"长白朝鲜族自治县"}]},{value:"2202",label:"吉林市",children:[{value:"220202",label:"昌邑区"},{value:"220204",label:"船营区"},{value:"220211",label:"丰满区"},{value:"220282",label:"桦甸市"},{value:"220272",label:"吉林高新技术产业开发区"},{value:"220271",label:"吉林经济开发区"},{value:"220273",label:"吉林中国新加坡食品区"},{value:"220281",label:"蛟河市"},{value:"220203",label:"龙潭区"},{value:"220284",label:"磐石市"},{value:"220283",label:"舒兰市"},{value:"220221",label:"永吉县"}]},{value:"2204",label:"辽源市",children:[{value:"220421",label:"东丰县"},{value:"220422",label:"东辽县"},{value:"220402",label:"龙山区"},{value:"220403",label:"西安区"}]},{value:"2203",label:"四平市",children:[{value:"220322",label:"梨树县"},{value:"220382",label:"双辽市"},{value:"220303",label:"铁东区"},{value:"220302",label:"铁西区"},{value:"220323",label:"伊通满族自治县"}]},{value:"2207",label:"松原市",children:[{value:"220781",label:"扶余市"},{value:"220771",label:"吉林松原经济开发区"},{value:"220702",label:"宁江区"},{value:"220721",label:"前郭尔罗斯蒙古族自治县"},{value:"220723",label:"乾安县"},{value:"220722",label:"长岭县"}]},{value:"2205",label:"通化市",children:[{value:"220502",label:"东昌区"},{value:"220503",label:"二道江区"},{value:"220523",label:"辉南县"},{value:"220582",label:"集安市"},{value:"220524",label:"柳河县"},{value:"220581",label:"梅河口市"},{value:"220521",label:"通化县"}]},{value:"2224",label:"延边朝鲜族自治州",children:[{value:"222426",label:"安图县"},{value:"222403",label:"敦化市"},{value:"222406",label:"和龙市"},{value:"222404",label:"珲春市"},{value:"222405",label:"龙井市"},{value:"222402",label:"图们市"},{value:"222424",label:"汪清县"},{value:"222401",label:"延吉市"}]},{value:"2201",label:"长春市",children:[{value:"220104",label:"朝阳区"},{value:"220183",label:"德惠市"},{value:"220105",label:"二道区"},{value:"220184",label:"公主岭市"},{value:"220113",label:"九台区"},{value:"220103",label:"宽城区"},{value:"220106",label:"绿园区"},{value:"220102",label:"南关区"},{value:"220122",label:"农安县"},{value:"220112",label:"双阳区"},{value:"220182",label:"榆树市"},{value:"220173",label:"长春高新技术产业开发区"},{value:"220171",label:"长春经济技术开发区"},{value:"220172",label:"长春净月高新技术产业开发区"},{value:"220174",label:"长春汽车经济技术开发区"}]}]},{value:"32",label:"江苏省",children:[{value:"3204",label:"常州市",children:[{value:"320413",label:"金坛区"},{value:"320481",label:"溧阳市"},{value:"320402",label:"天宁区"},{value:"320412",label:"武进区"},{value:"320411",label:"新北区"},{value:"320404",label:"钟楼区"}]},{value:"3208",label:"淮安市",children:[{value:"320813",label:"洪泽区"},{value:"320871",label:"淮安经济技术开发区"},{value:"320803",label:"淮安区"},{value:"320804",label:"淮阴区"},{value:"320831",label:"金湖县"},{value:"320826",label:"涟水县"},{value:"320812",label:"清江浦区"},{value:"320830",label:"盱眙县"}]},{value:"3207",label:"连云港市",children:[{value:"320722",label:"东海县"},{value:"320707",label:"赣榆区"},{value:"320724",label:"灌南县"},{value:"320723",label:"灌云县"},{value:"320706",label:"海州区"},{value:"320771",label:"连云港经济技术开发区"},{value:"320703",label:"连云区"}]},{value:"3201",label:"南京市",children:[{value:"320118",label:"高淳区"},{value:"320106",label:"鼓楼区"},{value:"320105",label:"建邺区"},{value:"320115",label:"江宁区"},{value:"320117",label:"溧水区"},{value:"320116",label:"六合区"},{value:"320111",label:"浦口区"},{value:"320113",label:"栖霞区"},{value:"320104",label:"秦淮区"},{value:"320102",label:"玄武区"},{value:"320114",label:"雨花台区"}]},{value:"3206",label:"南通市",children:[{value:"320613",label:"崇川区"},{value:"320685",label:"海安市"},{value:"320614",label:"海门区"},{value:"320671",label:"南通经济技术开发区"},{value:"320681",label:"启东市"},{value:"320623",label:"如东县"},{value:"320682",label:"如皋市"},{value:"320612",label:"通州区"}]},{value:"3205",label:"苏州市",children:[{value:"320581",label:"常熟市"},{value:"320508",label:"姑苏区"},{value:"320505",label:"虎丘区"},{value:"320583",label:"昆山市"},{value:"320576",label:"苏州工业园区"},{value:"320585",label:"太仓市"},{value:"320509",label:"吴江区"},{value:"320506",label:"吴中区"},{value:"320507",label:"相城区"},{value:"320582",label:"张家港市"}]},{value:"3213",label:"宿迁市",children:[{value:"321322",label:"沭阳县"},{value:"321324",label:"泗洪县"},{value:"321323",label:"泗阳县"},{value:"321302",label:"宿城区"},{value:"321371",label:"宿迁经济技术开发区"},{value:"321311",label:"宿豫区"}]},{value:"3212",label:"泰州市",children:[{value:"321203",label:"高港区"},{value:"321202",label:"海陵区"},{value:"321204",label:"姜堰区"},{value:"321282",label:"靖江市"},{value:"321283",label:"泰兴市"},{value:"321281",label:"兴化市"}]},{value:"3202",label:"无锡市",children:[{value:"320211",label:"滨湖区"},{value:"320206",label:"惠山区"},{value:"320281",label:"江阴市"},{value:"320213",label:"梁溪区"},{value:"320205",label:"锡山区"},{value:"320214",label:"新吴区"},{value:"320282",label:"宜兴市"}]},{value:"3203",label:"徐州市",children:[{value:"320321",label:"丰县"},{value:"320302",label:"鼓楼区"},{value:"320305",label:"贾汪区"},{value:"320322",label:"沛县"},{value:"320382",label:"邳州市"},{value:"320311",label:"泉山区"},{value:"320324",label:"睢宁县"},{value:"320312",label:"铜山区"},{value:"320381",label:"新沂市"},{value:"320371",label:"徐州经济技术开发区"},{value:"320303",label:"云龙区"}]},{value:"3209",label:"盐城市",children:[{value:"320922",label:"滨海县"},{value:"320904",label:"大丰区"},{value:"320981",label:"东台市"},{value:"320923",label:"阜宁县"},{value:"320925",label:"建湖县"},{value:"320924",label:"射阳县"},{value:"320902",label:"亭湖区"},{value:"320921",label:"响水县"},{value:"320971",label:"盐城经济技术开发区"},{value:"320903",label:"盐都区"}]},{value:"3210",label:"扬州市",children:[{value:"321023",label:"宝应县"},{value:"321084",label:"高邮市"},{value:"321002",label:"广陵区"},{value:"321003",label:"邗江区"},{value:"321012",label:"江都区"},{value:"321071",label:"扬州经济技术开发区"},{value:"321081",label:"仪征市"}]},{value:"3211",label:"镇江市",children:[{value:"321112",label:"丹徒区"},{value:"321181",label:"丹阳市"},{value:"321102",label:"京口区"},{value:"321183",label:"句容市"},{value:"321111",label:"润州区"},{value:"321182",label:"扬中市"},{value:"321171",label:"镇江新区"}]}]},{value:"36",label:"江西省",children:[{value:"3610",label:"抚州市",children:[{value:"361024",label:"崇仁县"},{value:"361003",label:"东乡区"},{value:"361030",label:"广昌县"},{value:"361027",label:"金溪县"},{value:"361025",label:"乐安县"},{value:"361022",label:"黎川县"},{value:"361002",label:"临川区"},{value:"361021",label:"南城县"},{value:"361023",label:"南丰县"},{value:"361026",label:"宜黄县"},{value:"361028",label:"资溪县"}]},{value:"3607",label:"赣州市",children:[{value:"360726",label:"安远县"},{value:"360725",label:"崇义县"},{value:"360723",label:"大余县"},{value:"360728",label:"定南县"},{value:"360704",label:"赣县区"},{value:"360733",label:"会昌县"},{value:"360783",label:"龙南市"},{value:"360703",label:"南康区"},{value:"360730",label:"宁都县"},{value:"360729",label:"全南县"},{value:"360781",label:"瑞金市"},{value:"360724",label:"上犹县"},{value:"360735",label:"石城县"},{value:"360722",label:"信丰县"},{value:"360732",label:"兴国县"},{value:"360734",label:"寻乌县"},{value:"360731",label:"于都县"},{value:"360702",label:"章贡区"}]},{value:"3608",label:"吉安市",children:[{value:"360829",label:"安福县"},{value:"360821",label:"吉安县"},{value:"360822",label:"吉水县"},{value:"360802",label:"吉州区"},{value:"360881",label:"井冈山市"},{value:"360803",label:"青原区"},{value:"360827",label:"遂川县"},{value:"360826",label:"泰和县"},{value:"360828",label:"万安县"},{value:"360823",label:"峡江县"},{value:"360824",label:"新干县"},{value:"360825",label:"永丰县"},{value:"360830",label:"永新县"}]},{value:"3602",label:"景德镇市",children:[{value:"360202",label:"昌江区"},{value:"360222",label:"浮梁县"},{value:"360281",label:"乐平市"},{value:"360203",label:"珠山区"}]},{value:"3604",label:"九江市",children:[{value:"360404",label:"柴桑区"},{value:"360426",label:"德安县"},{value:"360428",label:"都昌县"},{value:"360482",label:"共青城市"},{value:"360429",label:"湖口县"},{value:"360402",label:"濂溪区"},{value:"360483",label:"庐山市"},{value:"360430",label:"彭泽县"},{value:"360481",label:"瑞昌市"},{value:"360423",label:"武宁县"},{value:"360424",label:"修水县"},{value:"360403",label:"浔阳区"},{value:"360425",label:"永修县"}]},{value:"3601",label:"南昌市",children:[{value:"360123",label:"安义县"},{value:"360102",label:"东湖区"},{value:"360113",label:"红谷滩区"},{value:"360124",label:"进贤县"},{value:"360121",label:"南昌县"},{value:"360111",label:"青山湖区"},{value:"360104",label:"青云谱区"},{value:"360103",label:"西湖区"},{value:"360112",label:"新建区"}]},{value:"3603",label:"萍乡市",children:[{value:"360302",label:"安源区"},{value:"360321",label:"莲花县"},{value:"360323",label:"芦溪县"},{value:"360322",label:"上栗县"},{value:"360313",label:"湘东区"}]},{value:"3611",label:"上饶市",children:[{value:"361181",label:"德兴市"},{value:"361103",label:"广丰区"},{value:"361104",label:"广信区"},{value:"361125",label:"横峰县"},{value:"361128",label:"鄱阳县"},{value:"361124",label:"铅山县"},{value:"361129",label:"万年县"},{value:"361130",label:"婺源县"},{value:"361102",label:"信州区"},{value:"361126",label:"弋阳县"},{value:"361127",label:"余干县"},{value:"361123",label:"玉山县"}]},{value:"3605",label:"新余市",children:[{value:"360521",label:"分宜县"},{value:"360502",label:"渝水区"}]},{value:"3609",label:"宜春市",children:[{value:"360981",label:"丰城市"},{value:"360921",label:"奉新县"},{value:"360983",label:"高安市"},{value:"360925",label:"靖安县"},{value:"360923",label:"上高县"},{value:"360926",label:"铜鼓县"},{value:"360922",label:"万载县"},{value:"360924",label:"宜丰县"},{value:"360902",label:"袁州区"},{value:"360982",label:"樟树市"}]},{value:"3606",label:"鹰潭市",children:[{value:"360681",label:"贵溪市"},{value:"360603",label:"余江区"},{value:"360602",label:"月湖区"}]}]},{value:"21",label:"辽宁省",children:[{value:"2103",label:"鞍山市",children:[{value:"210381",label:"海城市"},{value:"210304",label:"立山区"},{value:"210311",label:"千山区"},{value:"210321",label:"台安县"},{value:"210302",label:"铁东区"},{value:"210303",label:"铁西区"},{value:"210323",label:"岫岩满族自治县"}]},{value:"2105",label:"本溪市",children:[{value:"210521",label:"本溪满族自治县"},{value:"210522",label:"桓仁满族自治县"},{value:"210504",label:"明山区"},{value:"210505",label:"南芬区"},{value:"210502",label:"平山区"},{value:"210503",label:"溪湖区"}]},{value:"2113",label:"朝阳市",children:[{value:"211381",label:"北票市"},{value:"211321",label:"朝阳县"},{value:"211322",label:"建平县"},{value:"211324",label:"喀喇沁左翼蒙古族自治县"},{value:"211382",label:"凌源市"},{value:"211303",label:"龙城区"},{value:"211302",label:"双塔区"}]},{value:"2102",label:"大连市",children:[{value:"210211",label:"甘井子区"},{value:"210213",label:"金州区"},{value:"210212",label:"旅顺口区"},{value:"210214",label:"普兰店区"},{value:"210204",label:"沙河口区"},{value:"210281",label:"瓦房店市"},{value:"210203",label:"西岗区"},{value:"210224",label:"长海县"},{value:"210202",label:"中山区"},{value:"210283",label:"庄河市"}]},{value:"2106",label:"丹东市",children:[{value:"210681",label:"东港市"},{value:"210682",label:"凤城市"},{value:"210624",label:"宽甸满族自治县"},{value:"210602",label:"元宝区"},{value:"210604",label:"振安区"},{value:"210603",label:"振兴区"}]},{value:"2104",label:"抚顺市",children:[{value:"210403",label:"东洲区"},{value:"210421",label:"抚顺县"},{value:"210423",label:"清原满族自治县"},{value:"210411",label:"顺城区"},{value:"210404",label:"望花区"},{value:"210422",label:"新宾满族自治县"},{value:"210402",label:"新抚区"}]},{value:"2109",label:"阜新市",children:[{value:"210921",label:"阜新蒙古族自治县"},{value:"210902",label:"海州区"},{value:"210905",label:"清河门区"},{value:"210904",label:"太平区"},{value:"210911",label:"细河区"},{value:"210903",label:"新邱区"},{value:"210922",label:"彰武县"}]},{value:"2114",label:"葫芦岛市",children:[{value:"211422",label:"建昌县"},{value:"211402",label:"连山区"},{value:"211403",label:"龙港区"},{value:"211404",label:"南票区"},{value:"211421",label:"绥中县"},{value:"211481",label:"兴城市"}]},{value:"2107",label:"锦州市",children:[{value:"210782",label:"北镇市"},{value:"210702",label:"古塔区"},{value:"210726",label:"黑山县"},{value:"210781",label:"凌海市"},{value:"210703",label:"凌河区"},{value:"210711",label:"太和区"},{value:"210727",label:"义县"}]},{value:"2110",label:"辽阳市",children:[{value:"211002",label:"白塔区"},{value:"211081",label:"灯塔市"},{value:"211005",label:"弓长岭区"},{value:"211004",label:"宏伟区"},{value:"211021",label:"辽阳县"},{value:"211011",label:"太子河区"},{value:"211003",label:"文圣区"}]},{value:"2111",label:"盘锦市",children:[{value:"211104",label:"大洼区"},{value:"211122",label:"盘山县"},{value:"211102",label:"双台子区"},{value:"211103",label:"兴隆台区"}]},{value:"2101",label:"沈阳市",children:[{value:"210104",label:"大东区"},{value:"210124",label:"法库县"},{value:"210102",label:"和平区"},{value:"210105",label:"皇姑区"},{value:"210112",label:"浑南区"},{value:"210123",label:"康平县"},{value:"210115",label:"辽中区"},{value:"210113",label:"沈北新区"},{value:"210103",label:"沈河区"},{value:"210111",label:"苏家屯区"},{value:"210106",label:"铁西区"},{value:"210181",label:"新民市"},{value:"210114",label:"于洪区"}]},{value:"2112",label:"铁岭市",children:[{value:"211224",label:"昌图县"},{value:"211281",label:"调兵山市"},{value:"211282",label:"开原市"},{value:"211204",label:"清河区"},{value:"211221",label:"铁岭县"},{value:"211223",label:"西丰县"},{value:"211202",label:"银州区"}]},{value:"2108",label:"营口市",children:[{value:"210804",label:"鲅鱼圈区"},{value:"210882",label:"大石桥市"},{value:"210881",label:"盖州市"},{value:"210811",label:"老边区"},{value:"210803",label:"西市区"},{value:"210802",label:"站前区"}]}]},{value:"15",label:"内蒙古自治区",children:[{value:"1529",label:"阿拉善盟",children:[{value:"152922",label:"阿拉善右旗"},{value:"152921",label:"阿拉善左旗"},{value:"152923",label:"额济纳旗"},{value:"152971",label:"内蒙古阿拉善高新技术产业开发区"}]},{value:"1508",label:"巴彦淖尔市",children:[{value:"150822",label:"磴口县"},{value:"150826",label:"杭锦后旗"},{value:"150802",label:"临河区"},{value:"150825",label:"乌拉特后旗"},{value:"150823",label:"乌拉特前旗"},{value:"150824",label:"乌拉特中旗"},{value:"150821",label:"五原县"}]},{value:"1502",label:"包头市",children:[{value:"150206",label:"白云鄂博矿区"},{value:"150271",label:"包头稀土高新技术产业开发区"},{value:"150223",label:"达尔罕茂明安联合旗"},{value:"150202",label:"东河区"},{value:"150222",label:"固阳县"},{value:"150207",label:"九原区"},{value:"150203",label:"昆都仑区"},{value:"150204",label:"青山区"},{value:"150205",label:"石拐区"},{value:"150221",label:"土默特右旗"}]},{value:"1504",label:"赤峰市",children:[{value:"150421",label:"阿鲁科尔沁旗"},{value:"150430",label:"敖汉旗"},{value:"150423",label:"巴林右旗"},{value:"150422",label:"巴林左旗"},{value:"150402",label:"红山区"},{value:"150428",label:"喀喇沁旗"},{value:"150425",label:"克什克腾旗"},{value:"150424",label:"林西县"},{value:"150429",label:"宁城县"},{value:"150404",label:"松山区"},{value:"150426",label:"翁牛特旗"},{value:"150403",label:"元宝山区"}]},{value:"1506",label:"鄂尔多斯市",children:[{value:"150621",label:"达拉特旗"},{value:"150602",label:"东胜区"},{value:"150624",label:"鄂托克旗"},{value:"150623",label:"鄂托克前旗"},{value:"150625",label:"杭锦旗"},{value:"150603",label:"康巴什区"},{value:"150626",label:"乌审旗"},{value:"150627",label:"伊金霍洛旗"},{value:"150622",label:"准格尔旗"}]},{value:"1501",label:"呼和浩特市",children:[{value:"150123",label:"和林格尔县"},{value:"150172",label:"呼和浩特经济技术开发区"},{value:"150103",label:"回民区"},{value:"150124",label:"清水河县"},{value:"150105",label:"赛罕区"},{value:"150121",label:"土默特左旗"},{value:"150122",label:"托克托县"},{value:"150125",label:"武川县"},{value:"150102",label:"新城区"},{value:"150104",label:"玉泉区"}]},{value:"1507",label:"呼伦贝尔市",children:[{value:"150721",label:"阿荣旗"},{value:"150725",label:"陈巴尔虎旗"},{value:"150784",label:"额尔古纳市"},{value:"150723",label:"鄂伦春自治旗"},{value:"150724",label:"鄂温克族自治旗"},{value:"150785",label:"根河市"},{value:"150702",label:"海拉尔区"},{value:"150781",label:"满洲里市"},{value:"150722",label:"莫力达瓦达斡尔族自治旗"},{value:"150727",label:"新巴尔虎右旗"},{value:"150726",label:"新巴尔虎左旗"},{value:"150782",label:"牙克石市"},{value:"150703",label:"扎赉诺尔区"},{value:"150783",label:"扎兰屯市"}]},{value:"1505",label:"通辽市",children:[{value:"150581",label:"霍林郭勒市"},{value:"150523",label:"开鲁县"},{value:"150502",label:"科尔沁区"},{value:"150522",label:"科尔沁左翼后旗"},{value:"150521",label:"科尔沁左翼中旗"},{value:"150524",label:"库伦旗"},{value:"150525",label:"奈曼旗"},{value:"150571",label:"通辽经济技术开发区"},{value:"150526",label:"扎鲁特旗"}]},{value:"1503",label:"乌海市",children:[{value:"150302",label:"海勃湾区"},{value:"150303",label:"海南区"},{value:"150304",label:"乌达区"}]},{value:"1509",label:"乌兰察布市",children:[{value:"150928",label:"察哈尔右翼后旗"},{value:"150926",label:"察哈尔右翼前旗"},{value:"150927",label:"察哈尔右翼中旗"},{value:"150981",label:"丰镇市"},{value:"150922",label:"化德县"},{value:"150902",label:"集宁区"},{value:"150925",label:"凉城县"},{value:"150923",label:"商都县"},{value:"150929",label:"四子王旗"},{value:"150924",label:"兴和县"},{value:"150921",label:"卓资县"}]},{value:"1525",label:"锡林郭勒盟",children:[{value:"152522",label:"阿巴嘎旗"},{value:"152525",label:"东乌珠穆沁旗"},{value:"152531",label:"多伦县"},{value:"152501",label:"二连浩特市"},{value:"152524",label:"苏尼特右旗"},{value:"152523",label:"苏尼特左旗"},{value:"152527",label:"太仆寺旗"},{value:"152571",label:"乌拉盖管理区管委会"},{value:"152526",label:"西乌珠穆沁旗"},{value:"152502",label:"锡林浩特市"},{value:"152528",label:"镶黄旗"},{value:"152530",label:"正蓝旗"},{value:"152529",label:"正镶白旗"}]},{value:"1522",label:"兴安盟",children:[{value:"152202",label:"阿尔山市"},{value:"152221",label:"科尔沁右翼前旗"},{value:"152222",label:"科尔沁右翼中旗"},{value:"152224",label:"突泉县"},{value:"152201",label:"乌兰浩特市"},{value:"152223",label:"扎赉特旗"}]}]},{value:"64",label:"宁夏回族自治区",children:[{value:"6404",label:"固原市",children:[{value:"640424",label:"泾源县"},{value:"640423",label:"隆德县"},{value:"640425",label:"彭阳县"},{value:"640422",label:"西吉县"},{value:"640402",label:"原州区"}]},{value:"6402",label:"石嘴山市",children:[{value:"640202",label:"大武口区"},{value:"640205",label:"惠农区"},{value:"640221",label:"平罗县"}]},{value:"6403",label:"吴忠市",children:[{value:"640303",label:"红寺堡区"},{value:"640302",label:"利通区"},{value:"640381",label:"青铜峡市"},{value:"640324",label:"同心县"},{value:"640323",label:"盐池县"}]},{value:"6401",label:"银川市",children:[{value:"640122",label:"贺兰县"},{value:"640106",label:"金凤区"},{value:"640181",label:"灵武市"},{value:"640105",label:"西夏区"},{value:"640104",label:"兴庆区"},{value:"640121",label:"永宁县"}]},{value:"6405",label:"中卫市",children:[{value:"640522",label:"海原县"},{value:"640502",label:"沙坡头区"},{value:"640521",label:"中宁县"}]}]},{value:"63",label:"青海省",children:[{value:"6326",label:"果洛藏族自治州",children:[{value:"632622",label:"班玛县"},{value:"632624",label:"达日县"},{value:"632623",label:"甘德县"},{value:"632625",label:"久治县"},{value:"632626",label:"玛多县"},{value:"632621",label:"玛沁县"}]},{value:"6322",label:"海北藏族自治州",children:[{value:"632224",label:"刚察县"},{value:"632223",label:"海晏县"},{value:"632221",label:"门源回族自治县"},{value:"632222",label:"祁连县"}]},{value:"6302",label:"海东市",children:[{value:"630223",label:"互助土族自治县"},{value:"630224",label:"化隆回族自治县"},{value:"630202",label:"乐都区"},{value:"630222",label:"民和回族土族自治县"},{value:"630203",label:"平安区"},{value:"630225",label:"循化撒拉族自治县"}]},{value:"6325",label:"海南藏族自治州",children:[{value:"632521",label:"共和县"},{value:"632523",label:"贵德县"},{value:"632525",label:"贵南县"},{value:"632522",label:"同德县"},{value:"632524",label:"兴海县"}]},{value:"6328",label:"海西蒙古族藏族自治州",children:[{value:"632857",label:"大柴旦行政委员会"},{value:"632802",label:"德令哈市"},{value:"632822",label:"都兰县"},{value:"632801",label:"格尔木市"},{value:"632803",label:"茫崖市"},{value:"632823",label:"天峻县"},{value:"632821",label:"乌兰县"}]},{value:"6323",label:"黄南藏族自治州",children:[{value:"632324",label:"河南蒙古族自治县"},{value:"632322",label:"尖扎县"},{value:"632301",label:"同仁市"},{value:"632323",label:"泽库县"}]},{value:"6301",label:"西宁市",children:[{value:"630105",label:"城北区"},{value:"630102",label:"城东区"},{value:"630104",label:"城西区"},{value:"630103",label:"城中区"},{value:"630121",label:"大通回族土族自治县"},{value:"630123",label:"湟源县"},{value:"630106",label:"湟中区"}]},{value:"6327",label:"玉树藏族自治州",children:[{value:"632723",label:"称多县"},{value:"632725",label:"囊谦县"},{value:"632726",label:"曲麻莱县"},{value:"632701",label:"玉树市"},{value:"632722",label:"杂多县"},{value:"632724",label:"治多县"}]}]},{value:"37",label:"山东省",children:[{value:"3716",label:"滨州市",children:[{value:"371602",label:"滨城区"},{value:"371625",label:"博兴县"},{value:"371621",label:"惠民县"},{value:"371623",label:"无棣县"},{value:"371622",label:"阳信县"},{value:"371603",label:"沾化区"},{value:"371681",label:"邹平市"}]},{value:"3714",label:"德州市",children:[{value:"371402",label:"德城区"},{value:"371471",label:"德州天衢新区"},{value:"371481",label:"乐陵市"},{value:"371424",label:"临邑县"},{value:"371403",label:"陵城区"},{value:"371422",label:"宁津县"},{value:"371426",label:"平原县"},{value:"371425",label:"齐河县"},{value:"371423",label:"庆云县"},{value:"371428",label:"武城县"},{value:"371427",label:"夏津县"},{value:"371482",label:"禹城市"}]},{value:"3705",label:"东营市",children:[{value:"370572",label:"东营港经济开发区"},{value:"370571",label:"东营经济技术开发区"},{value:"370502",label:"东营区"},{value:"370523",label:"广饶县"},{value:"370503",label:"河口区"},{value:"370505",label:"垦利区"},{value:"370522",label:"利津县"}]},{value:"3717",label:"菏泽市",children:[{value:"371721",label:"曹县"},{value:"371723",label:"成武县"},{value:"371722",label:"单县"},{value:"371703",label:"定陶区"},{value:"371728",label:"东明县"},{value:"371772",label:"菏泽高新技术开发区"},{value:"371771",label:"菏泽经济技术开发区"},{value:"371724",label:"巨野县"},{value:"371726",label:"鄄城县"},{value:"371702",label:"牡丹区"},{value:"371725",label:"郓城县"}]},{value:"3701",label:"济南市",children:[{value:"370117",label:"钢城区"},{value:"370104",label:"槐荫区"},{value:"370176",label:"济南高新技术产业开发区"},{value:"370115",label:"济阳区"},{value:"370116",label:"莱芜区"},{value:"370112",label:"历城区"},{value:"370102",label:"历下区"},{value:"370124",label:"平阴县"},{value:"370126",label:"商河县"},{value:"370103",label:"市中区"},{value:"370105",label:"天桥区"},{value:"370114",label:"章丘区"},{value:"370113",label:"长清区"}]},{value:"3708",label:"济宁市",children:[{value:"370871",label:"济宁高新技术产业开发区"},{value:"370829",label:"嘉祥县"},{value:"370828",label:"金乡县"},{value:"370832",label:"梁山县"},{value:"370881",label:"曲阜市"},{value:"370811",label:"任城区"},{value:"370831",label:"泗水县"},{value:"370826",label:"微山县"},{value:"370830",label:"汶上县"},{value:"370812",label:"兖州区"},{value:"370827",label:"鱼台县"},{value:"370883",label:"邹城市"}]},{value:"3715",label:"聊城市",children:[{value:"371503",label:"茌平区"},{value:"371524",label:"东阿县"},{value:"371502",label:"东昌府区"},{value:"371526",label:"高唐县"},{value:"371525",label:"冠县"},{value:"371581",label:"临清市"},{value:"371522",label:"莘县"},{value:"371521",label:"阳谷县"}]},{value:"3713",label:"临沂市",children:[{value:"371325",label:"费县"},{value:"371312",label:"河东区"},{value:"371327",label:"莒南县"},{value:"371324",label:"兰陵县"},{value:"371302",label:"兰山区"},{value:"371329",label:"临沭县"},{value:"371371",label:"临沂高新技术产业开发区"},{value:"371311",label:"罗庄区"},{value:"371328",label:"蒙阴县"},{value:"371326",label:"平邑县"},{value:"371322",label:"郯城县"},{value:"371321",label:"沂南县"},{value:"371323",label:"沂水县"}]},{value:"3702",label:"青岛市",children:[{value:"370214",label:"城阳区"},{value:"370211",label:"黄岛区"},{value:"370215",label:"即墨区"},{value:"370281",label:"胶州市"},{value:"370285",label:"莱西市"},{value:"370212",label:"崂山区"},{value:"370213",label:"李沧区"},{value:"370283",label:"平度市"},{value:"370203",label:"市北区"},{value:"370202",label:"市南区"}]},{value:"3711",label:"日照市",children:[{value:"371102",label:"东港区"},{value:"371122",label:"莒县"},{value:"371103",label:"岚山区"},{value:"371171",label:"日照经济技术开发区"},{value:"371121",label:"五莲县"}]},{value:"3709",label:"泰安市",children:[{value:"370911",label:"岱岳区"},{value:"370923",label:"东平县"},{value:"370983",label:"肥城市"},{value:"370921",label:"宁阳县"},{value:"370902",label:"泰山区"},{value:"370982",label:"新泰市"}]},{value:"3710",label:"威海市",children:[{value:"371002",label:"环翠区"},{value:"371082",label:"荣成市"},{value:"371083",label:"乳山市"},{value:"371071",label:"威海火炬高技术产业开发区"},{value:"371072",label:"威海经济技术开发区"},{value:"371073",label:"威海临港经济技术开发区"},{value:"371003",label:"文登区"}]},{value:"3707",label:"潍坊市",children:[{value:"370784",label:"安丘市"},{value:"370725",label:"昌乐县"},{value:"370786",label:"昌邑市"},{value:"370704",label:"坊子区"},{value:"370785",label:"高密市"},{value:"370703",label:"寒亭区"},{value:"370705",label:"奎文区"},{value:"370724",label:"临朐县"},{value:"370781",label:"青州市"},{value:"370783",label:"寿光市"},{value:"370702",label:"潍城区"},{value:"370772",label:"潍坊滨海经济技术开发区"},{value:"370782",label:"诸城市"}]},{value:"3706",label:"烟台市",children:[{value:"370611",label:"福山区"},{value:"370687",label:"海阳市"},{value:"370613",label:"莱山区"},{value:"370682",label:"莱阳市"},{value:"370683",label:"莱州市"},{value:"370681",label:"龙口市"},{value:"370612",label:"牟平区"},{value:"370614",label:"蓬莱区"},{value:"370686",label:"栖霞市"},{value:"370671",label:"烟台高新技术产业开发区"},{value:"370676",label:"烟台经济技术开发区"},{value:"370685",label:"招远市"},{value:"370602",label:"芝罘区"}]},{value:"3704",label:"枣庄市",children:[{value:"370406",label:"山亭区"},{value:"370402",label:"市中区"},{value:"370405",label:"台儿庄区"},{value:"370481",label:"滕州市"},{value:"370403",label:"薛城区"},{value:"370404",label:"峄城区"}]},{value:"3703",label:"淄博市",children:[{value:"370304",label:"博山区"},{value:"370322",label:"高青县"},{value:"370321",label:"桓台县"},{value:"370305",label:"临淄区"},{value:"370323",label:"沂源县"},{value:"370303",label:"张店区"},{value:"370306",label:"周村区"},{value:"370302",label:"淄川区"}]}]},{value:"14",label:"山西省",children:[{value:"1402",label:"大同市",children:[{value:"140223",label:"广灵县"},{value:"140225",label:"浑源县"},{value:"140224",label:"灵丘县"},{value:"140213",label:"平城区"},{value:"140271",label:"山西大同经济开发区"},{value:"140222",label:"天镇县"},{value:"140212",label:"新荣区"},{value:"140221",label:"阳高县"},{value:"140214",label:"云冈区"},{value:"140215",label:"云州区"},{value:"140226",label:"左云县"}]},{value:"1405",label:"晋城市",children:[{value:"140502",label:"城区"},{value:"140581",label:"高平市"},{value:"140524",label:"陵川县"},{value:"140521",label:"沁水县"},{value:"140522",label:"阳城县"},{value:"140525",label:"泽州县"}]},{value:"1407",label:"晋中市",children:[{value:"140723",label:"和顺县"},{value:"140781",label:"介休市"},{value:"140729",label:"灵石县"},{value:"140728",label:"平遥县"},{value:"140727",label:"祁县"},{value:"140725",label:"寿阳县"},{value:"140703",label:"太谷区"},{value:"140724",label:"昔阳县"},{value:"140702",label:"榆次区"},{value:"140721",label:"榆社县"},{value:"140722",label:"左权县"}]},{value:"1410",label:"临汾市",children:[{value:"141026",label:"安泽县"},{value:"141030",label:"大宁县"},{value:"141034",label:"汾西县"},{value:"141027",label:"浮山县"},{value:"141025",label:"古县"},{value:"141024",label:"洪洞县"},{value:"141081",label:"侯马市"},{value:"141082",label:"霍州市"},{value:"141028",label:"吉县"},{value:"141033",label:"蒲县"},{value:"141021",label:"曲沃县"},{value:"141031",label:"隰县"},{value:"141029",label:"乡宁县"},{value:"141023",label:"襄汾县"},{value:"141002",label:"尧都区"},{value:"141022",label:"翼城县"},{value:"141032",label:"永和县"}]},{value:"1411",label:"吕梁市",children:[{value:"141128",label:"方山县"},{value:"141182",label:"汾阳市"},{value:"141122",label:"交城县"},{value:"141130",label:"交口县"},{value:"141127",label:"岚县"},{value:"141102",label:"离石区"},{value:"141124",label:"临县"},{value:"141125",label:"柳林县"},{value:"141126",label:"石楼县"},{value:"141121",label:"文水县"},{value:"141181",label:"孝义市"},{value:"141123",label:"兴县"},{value:"141129",label:"中阳县"}]},{value:"1406",label:"朔州市",children:[{value:"140681",label:"怀仁市"},{value:"140603",label:"平鲁区"},{value:"140671",label:"山西朔州经济开发区"},{value:"140621",label:"山阴县"},{value:"140602",label:"朔城区"},{value:"140622",label:"应县"},{value:"140623",label:"右玉县"}]},{value:"1401",label:"太原市",children:[{value:"140181",label:"古交市"},{value:"140108",label:"尖草坪区"},{value:"140110",label:"晋源区"},{value:"140123",label:"娄烦县"},{value:"140121",label:"清徐县"},{value:"140171",label:"山西转型综合改革示范区"},{value:"140109",label:"万柏林区"},{value:"140105",label:"小店区"},{value:"140107",label:"杏花岭区"},{value:"140122",label:"阳曲县"},{value:"140106",label:"迎泽区"}]},{value:"1409",label:"忻州市",children:[{value:"140931",label:"保德县"},{value:"140923",label:"代县"},{value:"140921",label:"定襄县"},{value:"140924",label:"繁峙县"},{value:"140930",label:"河曲县"},{value:"140926",label:"静乐县"},{value:"140929",label:"岢岚县"},{value:"140925",label:"宁武县"},{value:"140932",label:"偏关县"},{value:"140927",label:"神池县"},{value:"140971",label:"五台山风景名胜区"},{value:"140922",label:"五台县"},{value:"140928",label:"五寨县"},{value:"140902",label:"忻府区"},{value:"140981",label:"原平市"}]},{value:"1403",label:"阳泉市",children:[{value:"140302",label:"城区"},{value:"140311",label:"郊区"},{value:"140303",label:"矿区"},{value:"140321",label:"平定县"},{value:"140322",label:"盂县"}]},{value:"1408",label:"运城市",children:[{value:"140882",label:"河津市"},{value:"140824",label:"稷山县"},{value:"140826",label:"绛县"},{value:"140821",label:"临猗县"},{value:"140829",label:"平陆县"},{value:"140830",label:"芮城县"},{value:"140822",label:"万荣县"},{value:"140823",label:"闻喜县"},{value:"140828",label:"夏县"},{value:"140825",label:"新绛县"},{value:"140802",label:"盐湖区"},{value:"140881",label:"永济市"},{value:"140827",label:"垣曲县"}]},{value:"1404",label:"长治市",children:[{value:"140427",label:"壶关县"},{value:"140426",label:"黎城县"},{value:"140406",label:"潞城区"},{value:"140403",label:"潞州区"},{value:"140425",label:"平顺县"},{value:"140430",label:"沁县"},{value:"140431",label:"沁源县"},{value:"140404",label:"上党区"},{value:"140405",label:"屯留区"},{value:"140429",label:"武乡县"},{value:"140423",label:"襄垣县"},{value:"140428",label:"长子县"}]}]},{value:"61",label:"陕西省",children:[{value:"6109",label:"安康市",children:[{value:"610929",label:"白河县"},{value:"610902",label:"汉滨区"},{value:"610921",label:"汉阴县"},{value:"610925",label:"岚皋县"},{value:"610923",label:"宁陕县"},{value:"610926",label:"平利县"},{value:"610922",label:"石泉县"},{value:"610981",label:"旬阳市"},{value:"610927",label:"镇坪县"},{value:"610924",label:"紫阳县"}]},{value:"6103",label:"宝鸡市",children:[{value:"610304",label:"陈仓区"},{value:"610330",label:"凤县"},{value:"610305",label:"凤翔区"},{value:"610324",label:"扶风县"},{value:"610303",label:"金台区"},{value:"610329",label:"麟游县"},{value:"610327",label:"陇县"},{value:"610326",label:"眉县"},{value:"610323",label:"岐山县"},{value:"610328",label:"千阳县"},{value:"610331",label:"太白县"},{value:"610302",label:"渭滨区"}]},{value:"6107",label:"汉中市",children:[{value:"610722",label:"城固县"},{value:"610730",label:"佛坪县"},{value:"610702",label:"汉台区"},{value:"610729",label:"留坝县"},{value:"610727",label:"略阳县"},{value:"610725",label:"勉县"},{value:"610703",label:"南郑区"},{value:"610726",label:"宁强县"},{value:"610724",label:"西乡县"},{value:"610723",label:"洋县"},{value:"610728",label:"镇巴县"}]},{value:"6110",label:"商洛市",children:[{value:"611022",label:"丹凤县"},{value:"611021",label:"洛南县"},{value:"611024",label:"山阳县"},{value:"611023",label:"商南县"},{value:"611002",label:"商州区"},{value:"611026",label:"柞水县"},{value:"611025",label:"镇安县"}]},{value:"6102",label:"铜川市",children:[{value:"610202",label:"王益区"},{value:"610204",label:"耀州区"},{value:"610222",label:"宜君县"},{value:"610203",label:"印台区"}]},{value:"6105",label:"渭南市",children:[{value:"610527",label:"白水县"},{value:"610525",label:"澄城县"},{value:"610523",label:"大荔县"},{value:"610528",label:"富平县"},{value:"610581",label:"韩城市"},{value:"610524",label:"合阳县"},{value:"610582",label:"华阴市"},{value:"610503",label:"华州区"},{value:"610502",label:"临渭区"},{value:"610526",label:"蒲城县"},{value:"610522",label:"潼关县"}]},{value:"6101",label:"西安市",children:[{value:"610111",label:"灞桥区"},{value:"610103",label:"碑林区"},{value:"610117",label:"高陵区"},{value:"610118",label:"鄠邑区"},{value:"610122",label:"蓝田县"},{value:"610104",label:"莲湖区"},{value:"610115",label:"临潼区"},{value:"610112",label:"未央区"},{value:"610102",label:"新城区"},{value:"610114",label:"阎良区"},{value:"610113",label:"雁塔区"},{value:"610116",label:"长安区"},{value:"610124",label:"周至县"}]},{value:"6104",label:"咸阳市",children:[{value:"610482",label:"彬州市"},{value:"610430",label:"淳化县"},{value:"610423",label:"泾阳县"},{value:"610425",label:"礼泉县"},{value:"610424",label:"乾县"},{value:"610402",label:"秦都区"},{value:"610422",label:"三原县"},{value:"610404",label:"渭城区"},{value:"610431",label:"武功县"},{value:"610481",label:"兴平市"},{value:"610429",label:"旬邑县"},{value:"610403",label:"杨陵区"},{value:"610426",label:"永寿县"},{value:"610428",label:"长武县"}]},{value:"6106",label:"延安市",children:[{value:"610603",label:"安塞区"},{value:"610602",label:"宝塔区"},{value:"610628",label:"富县"},{value:"610627",label:"甘泉县"},{value:"610632",label:"黄陵县"},{value:"610631",label:"黄龙县"},{value:"610629",label:"洛川县"},{value:"610626",label:"吴起县"},{value:"610622",label:"延川县"},{value:"610621",label:"延长县"},{value:"610630",label:"宜川县"},{value:"610625",label:"志丹县"},{value:"610681",label:"子长市"}]},{value:"6108",label:"榆林市",children:[{value:"610825",label:"定边县"},{value:"610822",label:"府谷县"},{value:"610803",label:"横山区"},{value:"610828",label:"佳县"},{value:"610824",label:"靖边县"},{value:"610827",label:"米脂县"},{value:"610830",label:"清涧县"},{value:"610881",label:"神木市"},{value:"610826",label:"绥德县"},{value:"610829",label:"吴堡县"},{value:"610802",label:"榆阳区"},{value:"610831",label:"子洲县"}]}]},{value:"31",label:"上海市",children:[{value:"3101",label:"市辖区",children:[{value:"310113",label:"宝山区"},{value:"310151",label:"崇明区"},{value:"310120",label:"奉贤区"},{value:"310109",label:"虹口区"},{value:"310101",label:"黄浦区"},{value:"310114",label:"嘉定区"},{value:"310116",label:"金山区"},{value:"310106",label:"静安区"},{value:"310112",label:"闵行区"},{value:"310115",label:"浦东新区"},{value:"310107",label:"普陀区"},{value:"310118",label:"青浦区"},{value:"310117",label:"松江区"},{value:"310104",label:"徐汇区"},{value:"310110",label:"杨浦区"},{value:"310105",label:"长宁区"}]}]},{value:"51",label:"四川省",children:[{value:"5132",label:"阿坝藏族羌族自治州",children:[{value:"513231",label:"阿坝县"},{value:"513228",label:"黑水县"},{value:"513233",label:"红原县"},{value:"513226",label:"金川县"},{value:"513225",label:"九寨沟县"},{value:"513222",label:"理县"},{value:"513201",label:"马尔康市"},{value:"513223",label:"茂县"},{value:"513230",label:"壤塘县"},{value:"513232",label:"若尔盖县"},{value:"513224",label:"松潘县"},{value:"513221",label:"汶川县"},{value:"513227",label:"小金县"}]},{value:"5119",label:"巴中市",children:[{value:"511902",label:"巴州区"},{value:"511903",label:"恩阳区"},{value:"511922",label:"南江县"},{value:"511923",label:"平昌县"},{value:"511921",label:"通江县"}]},{value:"5101",label:"成都市",children:[{value:"510108",label:"成华区"},{value:"510184",label:"崇州市"},{value:"510129",label:"大邑县"},{value:"510181",label:"都江堰市"},{value:"510185",label:"简阳市"},{value:"510106",label:"金牛区"},{value:"510121",label:"金堂县"},{value:"510104",label:"锦江区"},{value:"510112",label:"龙泉驿区"},{value:"510182",label:"彭州市"},{value:"510117",label:"郫都区"},{value:"510131",label:"蒲江县"},{value:"510113",label:"青白江区"},{value:"510105",label:"青羊区"},{value:"510183",label:"邛崃市"},{value:"510116",label:"双流区"},{value:"510115",label:"温江区"},{value:"510107",label:"武侯区"},{value:"510114",label:"新都区"},{value:"510118",label:"新津区"}]},{value:"5117",label:"达州市",children:[{value:"511703",label:"达川区"},{value:"511724",label:"大竹县"},{value:"511723",label:"开江县"},{value:"511725",label:"渠县"},{value:"511702",label:"通川区"},{value:"511781",label:"万源市"},{value:"511722",label:"宣汉县"}]},{value:"5106",label:"德阳市",children:[{value:"510681",label:"广汉市"},{value:"510603",label:"旌阳区"},{value:"510604",label:"罗江区"},{value:"510683",label:"绵竹市"},{value:"510682",label:"什邡市"},{value:"510623",label:"中江县"}]},{value:"5133",label:"甘孜藏族自治州",children:[{value:"513335",label:"巴塘县"},{value:"513331",label:"白玉县"},{value:"513323",label:"丹巴县"},{value:"513326",label:"道孚县"},{value:"513337",label:"稻城县"},{value:"513338",label:"得荣县"},{value:"513330",label:"德格县"},{value:"513328",label:"甘孜县"},{value:"513324",label:"九龙县"},{value:"513301",label:"康定市"},{value:"513334",label:"理塘县"},{value:"513322",label:"泸定县"},{value:"513327",label:"炉霍县"},{value:"513333",label:"色达县"},{value:"513332",label:"石渠县"},{value:"513336",label:"乡城县"},{value:"513329",label:"新龙县"},{value:"513325",label:"雅江县"}]},{value:"5116",label:"广安市",children:[{value:"511602",label:"广安区"},{value:"511681",label:"华蓥市"},{value:"511623",label:"邻水县"},{value:"511603",label:"前锋区"},{value:"511622",label:"武胜县"},{value:"511621",label:"岳池县"}]},{value:"5108",label:"广元市",children:[{value:"510824",label:"苍溪县"},{value:"510812",label:"朝天区"},{value:"510823",label:"剑阁县"},{value:"510802",label:"利州区"},{value:"510822",label:"青川县"},{value:"510821",label:"旺苍县"},{value:"510811",label:"昭化区"}]},{value:"5111",label:"乐山市",children:[{value:"511132",label:"峨边彝族自治县"},{value:"511181",label:"峨眉山市"},{value:"511126",label:"夹江县"},{value:"511123",label:"犍为县"},{value:"511113",label:"金口河区"},{value:"511124",label:"井研县"},{value:"511133",label:"马边彝族自治县"},{value:"511129",label:"沐川县"},{value:"511111",label:"沙湾区"},{value:"511102",label:"市中区"},{value:"511112",label:"五通桥区"}]},{value:"5134",label:"凉山彝族自治州",children:[{value:"513429",label:"布拖县"},{value:"513424",label:"德昌县"},{value:"513435",label:"甘洛县"},{value:"513426",label:"会东县"},{value:"513402",label:"会理市"},{value:"513430",label:"金阳县"},{value:"513437",label:"雷波县"},{value:"513436",label:"美姑县"},{value:"513433",label:"冕宁县"},{value:"513422",label:"木里藏族自治县"},{value:"513427",label:"宁南县"},{value:"513428",label:"普格县"},{value:"513401",label:"西昌市"},{value:"513432",label:"喜德县"},{value:"513423",label:"盐源县"},{value:"513434",label:"越西县"},{value:"513431",label:"昭觉县"}]},{value:"5105",label:"泸州市",children:[{value:"510525",label:"古蔺县"},{value:"510522",label:"合江县"},{value:"510502",label:"江阳区"},{value:"510504",label:"龙马潭区"},{value:"510521",label:"泸县"},{value:"510503",label:"纳溪区"},{value:"510524",label:"叙永县"}]},{value:"5114",label:"眉山市",children:[{value:"511424",label:"丹棱县"},{value:"511402",label:"东坡区"},{value:"511423",label:"洪雅县"},{value:"511403",label:"彭山区"},{value:"511425",label:"青神县"},{value:"511421",label:"仁寿县"}]},{value:"5107",label:"绵阳市",children:[{value:"510705",label:"安州区"},{value:"510726",label:"北川羌族自治县"},{value:"510703",label:"涪城区"},{value:"510781",label:"江油市"},{value:"510727",label:"平武县"},{value:"510722",label:"三台县"},{value:"510723",label:"盐亭县"},{value:"510704",label:"游仙区"},{value:"510725",label:"梓潼县"}]},{value:"5113",label:"南充市",children:[{value:"511303",label:"高坪区"},{value:"511304",label:"嘉陵区"},{value:"511381",label:"阆中市"},{value:"511321",label:"南部县"},{value:"511323",label:"蓬安县"},{value:"511302",label:"顺庆区"},{value:"511325",label:"西充县"},{value:"511324",label:"仪陇县"},{value:"511322",label:"营山县"}]},{value:"5110",label:"内江市",children:[{value:"511011",label:"东兴区"},{value:"511083",label:"隆昌市"},{value:"511002",label:"市中区"},{value:"511024",label:"威远县"},{value:"511025",label:"资中县"}]},{value:"5104",label:"攀枝花市",children:[{value:"510402",label:"东区"},{value:"510421",label:"米易县"},{value:"510411",label:"仁和区"},{value:"510403",label:"西区"},{value:"510422",label:"盐边县"}]},{value:"5109",label:"遂宁市",children:[{value:"510904",label:"安居区"},{value:"510903",label:"船山区"},{value:"510923",label:"大英县"},{value:"510921",label:"蓬溪县"},{value:"510981",label:"射洪市"}]},{value:"5118",label:"雅安市",children:[{value:"511827",label:"宝兴县"},{value:"511823",label:"汉源县"},{value:"511826",label:"芦山县"},{value:"511803",label:"名山区"},{value:"511824",label:"石棉县"},{value:"511825",label:"天全县"},{value:"511822",label:"荥经县"},{value:"511802",label:"雨城区"}]},{value:"5115",label:"宜宾市",children:[{value:"511502",label:"翠屏区"},{value:"511525",label:"高县"},{value:"511526",label:"珙县"},{value:"511523",label:"江安县"},{value:"511503",label:"南溪区"},{value:"511529",label:"屏山县"},{value:"511528",label:"兴文县"},{value:"511504",label:"叙州区"},{value:"511527",label:"筠连县"},{value:"511524",label:"长宁县"}]},{value:"5120",label:"资阳市",children:[{value:"512021",label:"安岳县"},{value:"512022",label:"乐至县"},{value:"512002",label:"雁江区"}]},{value:"5103",label:"自贡市",children:[{value:"510304",label:"大安区"},{value:"510322",label:"富顺县"},{value:"510303",label:"贡井区"},{value:"510321",label:"荣县"},{value:"510311",label:"沿滩区"},{value:"510302",label:"自流井区"}]}]},{value:"12",label:"天津市",children:[{value:"1201",label:"市辖区",children:[{value:"120115",label:"宝坻区"},{value:"120113",label:"北辰区"},{value:"120116",label:"滨海新区"},{value:"120110",label:"东丽区"},{value:"120101",label:"和平区"},{value:"120105",label:"河北区"},{value:"120102",label:"河东区"},{value:"120103",label:"河西区"},{value:"120106",label:"红桥区"},{value:"120119",label:"蓟州区"},{value:"120112",label:"津南区"},{value:"120118",label:"静海区"},{value:"120104",label:"南开区"},{value:"120117",label:"宁河区"},{value:"120114",label:"武清区"},{value:"120111",label:"西青区"}]}]},{value:"54",label:"西藏自治区",children:[{value:"5425",label:"阿里地区",children:[{value:"542527",label:"措勤县"},{value:"542523",label:"噶尔县"},{value:"542526",label:"改则县"},{value:"542525",label:"革吉县"},{value:"542521",label:"普兰县"},{value:"542524",label:"日土县"},{value:"542522",label:"札达县"}]},{value:"5403",label:"昌都市",children:[{value:"540326",label:"八宿县"},{value:"540330",label:"边坝县"},{value:"540325",label:"察雅县"},{value:"540324",label:"丁青县"},{value:"540322",label:"贡觉县"},{value:"540321",label:"江达县"},{value:"540302",label:"卡若区"},{value:"540323",label:"类乌齐县"},{value:"540329",label:"洛隆县"},{value:"540328",label:"芒康县"},{value:"540327",label:"左贡县"}]},{value:"5401",label:"拉萨市",children:[{value:"540102",label:"城关区"},{value:"540174",label:"达孜工业园区"},{value:"540104",label:"达孜区"},{value:"540122",label:"当雄县"},{value:"540103",label:"堆龙德庆区"},{value:"540171",label:"格尔木藏青工业园区"},{value:"540172",label:"拉萨经济技术开发区"},{value:"540121",label:"林周县"},{value:"540127",label:"墨竹工卡县"},{value:"540123",label:"尼木县"},{value:"540124",label:"曲水县"},{value:"540173",label:"西藏文化旅游创意园区"}]},{value:"5404",label:"林芝市",children:[{value:"540402",label:"巴宜区"},{value:"540424",label:"波密县"},{value:"540425",label:"察隅县"},{value:"540421",label:"工布江达县"},{value:"540426",label:"朗县"},{value:"540481",label:"米林市"},{value:"540423",label:"墨脱县"}]},{value:"5406",label:"那曲市",children:[{value:"540624",label:"安多县"},{value:"540628",label:"巴青县"},{value:"540627",label:"班戈县"},{value:"540622",label:"比如县"},{value:"540621",label:"嘉黎县"},{value:"540629",label:"尼玛县"},{value:"540623",label:"聂荣县"},{value:"540602",label:"色尼区"},{value:"540625",label:"申扎县"},{value:"540630",label:"双湖县"},{value:"540626",label:"索县"}]},{value:"5402",label:"日喀则市",children:[{value:"540226",label:"昂仁县"},{value:"540228",label:"白朗县"},{value:"540231",label:"定结县"},{value:"540223",label:"定日县"},{value:"540237",label:"岗巴县"},{value:"540234",label:"吉隆县"},{value:"540222",label:"江孜县"},{value:"540230",label:"康马县"},{value:"540225",label:"拉孜县"},{value:"540221",label:"南木林县"},{value:"540235",label:"聂拉木县"},{value:"540229",label:"仁布县"},{value:"540236",label:"萨嘎县"},{value:"540224",label:"萨迦县"},{value:"540202",label:"桑珠孜区"},{value:"540227",label:"谢通门县"},{value:"540233",label:"亚东县"},{value:"540232",label:"仲巴县"}]},{value:"5405",label:"山南市",children:[{value:"540526",label:"措美县"},{value:"540581",label:"错那市"},{value:"540522",label:"贡嘎县"},{value:"540528",label:"加查县"},{value:"540531",label:"浪卡子县"},{value:"540529",label:"隆子县"},{value:"540527",label:"洛扎县"},{value:"540502",label:"乃东区"},{value:"540524",label:"琼结县"},{value:"540525",label:"曲松县"},{value:"540523",label:"桑日县"},{value:"540521",label:"扎囊县"}]}]},{value:"65",label:"新疆维吾尔自治区",children:[{value:"6529",label:"阿克苏地区",children:[{value:"652901",label:"阿克苏市"},{value:"652928",label:"阿瓦提县"},{value:"652926",label:"拜城县"},{value:"652929",label:"柯坪县"},{value:"652902",label:"库车市"},{value:"652924",label:"沙雅县"},{value:"652922",label:"温宿县"},{value:"652927",label:"乌什县"},{value:"652925",label:"新和县"}]},{value:"6543",label:"阿勒泰地区",children:[{value:"654301",label:"阿勒泰市"},{value:"654321",label:"布尔津县"},{value:"654323",label:"福海县"},{value:"654322",label:"富蕴县"},{value:"654324",label:"哈巴河县"},{value:"654326",label:"吉木乃县"},{value:"654325",label:"青河县"}]},{value:"6528",label:"巴音郭楞蒙古自治州",children:[{value:"652829",label:"博湖县"},{value:"652827",label:"和静县"},{value:"652828",label:"和硕县"},{value:"652801",label:"库尔勒市"},{value:"652822",label:"轮台县"},{value:"652825",label:"且末县"},{value:"652824",label:"若羌县"},{value:"652823",label:"尉犁县"},{value:"652826",label:"焉耆回族自治县"}]},{value:"6527",label:"博尔塔拉蒙古自治州",children:[{value:"652702",label:"阿拉山口市"},{value:"652701",label:"博乐市"},{value:"652722",label:"精河县"},{value:"652723",label:"温泉县"}]},{value:"6523",label:"昌吉回族自治州",children:[{value:"652301",label:"昌吉市"},{value:"652302",label:"阜康市"},{value:"652323",label:"呼图壁县"},{value:"652327",label:"吉木萨尔县"},{value:"652324",label:"玛纳斯县"},{value:"652328",label:"木垒哈萨克自治县"},{value:"652325",label:"奇台县"}]},{value:"6505",label:"哈密市",children:[{value:"650521",label:"巴里坤哈萨克自治县"},{value:"650522",label:"伊吾县"},{value:"650502",label:"伊州区"}]},{value:"6532",label:"和田地区",children:[{value:"653225",label:"策勒县"},{value:"653201",label:"和田市"},{value:"653221",label:"和田县"},{value:"653224",label:"洛浦县"},{value:"653227",label:"民丰县"},{value:"653222",label:"墨玉县"},{value:"653223",label:"皮山县"},{value:"653226",label:"于田县"}]},{value:"6531",label:"喀什地区",children:[{value:"653130",label:"巴楚县"},{value:"653129",label:"伽师县"},{value:"653101",label:"喀什市"},{value:"653127",label:"麦盖提县"},{value:"653125",label:"莎车县"},{value:"653121",label:"疏附县"},{value:"653122",label:"疏勒县"},{value:"653131",label:"塔什库尔干塔吉克自治县"},{value:"653126",label:"叶城县"},{value:"653123",label:"英吉沙县"},{value:"653128",label:"岳普湖县"},{value:"653124",label:"泽普县"}]},{value:"6502",label:"克拉玛依市",children:[{value:"650204",label:"白碱滩区"},{value:"650202",label:"独山子区"},{value:"650203",label:"克拉玛依区"},{value:"650205",label:"乌尔禾区"}]},{value:"6530",label:"克孜勒苏柯尔克孜自治州",children:[{value:"653023",label:"阿合奇县"},{value:"653022",label:"阿克陶县"},{value:"653001",label:"阿图什市"},{value:"653024",label:"乌恰县"}]},{value:"6542",label:"塔城地区",children:[{value:"654221",label:"额敏县"},{value:"654226",label:"和布克赛尔蒙古自治县"},{value:"654203",label:"沙湾市"},{value:"654201",label:"塔城市"},{value:"654224",label:"托里县"},{value:"654202",label:"乌苏市"},{value:"654225",label:"裕民县"}]},{value:"6504",label:"吐鲁番市",children:[{value:"650402",label:"高昌区"},{value:"650421",label:"鄯善县"},{value:"650422",label:"托克逊县"}]},{value:"6501",label:"乌鲁木齐市",children:[{value:"650107",label:"达坂城区"},{value:"650109",label:"米东区"},{value:"650103",label:"沙依巴克区"},{value:"650105",label:"水磨沟区"},{value:"650102",label:"天山区"},{value:"650106",label:"头屯河区"},{value:"650121",label:"乌鲁木齐县"},{value:"650104",label:"新市区"}]},{value:"6540",label:"伊犁哈萨克自治州",children:[{value:"654022",label:"察布查尔锡伯自治县"},{value:"654024",label:"巩留县"},{value:"654023",label:"霍城县"},{value:"654004",label:"霍尔果斯市"},{value:"654003",label:"奎屯市"},{value:"654028",label:"尼勒克县"},{value:"654027",label:"特克斯县"},{value:"654025",label:"新源县"},{value:"654002",label:"伊宁市"},{value:"654021",label:"伊宁县"},{value:"654026",label:"昭苏县"}]},{value:"6590",label:"自治区直辖县级行政区划",children:[{value:"659002",label:"阿拉尔市"},{value:"659012",label:"白杨市"},{value:"659005",label:"北屯市"},{value:"659010",label:"胡杨河市"},{value:"659008",label:"可克达拉市"},{value:"659009",label:"昆玉市"},{value:"659001",label:"石河子市"},{value:"659007",label:"双河市"},{value:"659006",label:"铁门关市"},{value:"659003",label:"图木舒克市"},{value:"659004",label:"五家渠市"},{value:"659011",label:"新星市"}]}]},{value:"53",label:"云南省",children:[{value:"5305",label:"保山市",children:[{value:"530524",label:"昌宁县"},{value:"530523",label:"龙陵县"},{value:"530502",label:"隆阳区"},{value:"530521",label:"施甸县"},{value:"530581",label:"腾冲市"}]},{value:"5323",label:"楚雄彝族自治州",children:[{value:"532301",label:"楚雄市"},{value:"532326",label:"大姚县"},{value:"532302",label:"禄丰市"},{value:"532323",label:"牟定县"},{value:"532324",label:"南华县"},{value:"532322",label:"双柏县"},{value:"532329",label:"武定县"},{value:"532325",label:"姚安县"},{value:"532327",label:"永仁县"},{value:"532328",label:"元谋县"}]},{value:"5329",label:"大理白族自治州",children:[{value:"532924",label:"宾川县"},{value:"532901",label:"大理市"},{value:"532930",label:"洱源县"},{value:"532932",label:"鹤庆县"},{value:"532931",label:"剑川县"},{value:"532925",label:"弥渡县"},{value:"532926",label:"南涧彝族自治县"},{value:"532927",label:"巍山彝族回族自治县"},{value:"532923",label:"祥云县"},{value:"532922",label:"漾濞彝族自治县"},{value:"532928",label:"永平县"},{value:"532929",label:"云龙县"}]},{value:"5331",label:"德宏傣族景颇族自治州",children:[{value:"533122",label:"梁河县"},{value:"533124",label:"陇川县"},{value:"533103",label:"芒市"},{value:"533102",label:"瑞丽市"},{value:"533123",label:"盈江县"}]},{value:"5334",label:"迪庆藏族自治州",children:[{value:"533422",label:"德钦县"},{value:"533423",label:"维西傈僳族自治县"},{value:"533401",label:"香格里拉市"}]},{value:"5325",label:"红河哈尼族彝族自治州",children:[{value:"532501",label:"个旧市"},{value:"532532",label:"河口瑶族自治县"},{value:"532529",label:"红河县"},{value:"532524",label:"建水县"},{value:"532530",label:"金平苗族瑶族傣族自治县"},{value:"532502",label:"开远市"},{value:"532527",label:"泸西县"},{value:"532531",label:"绿春县"},{value:"532503",label:"蒙自市"},{value:"532504",label:"弥勒市"},{value:"532523",label:"屏边苗族自治县"},{value:"532525",label:"石屏县"},{value:"532528",label:"元阳县"}]},{value:"5301",label:"昆明市",children:[{value:"530181",label:"安宁市"},{value:"530114",label:"呈贡区"},{value:"530113",label:"东川区"},{value:"530124",label:"富民县"},{value:"530111",label:"官渡区"},{value:"530115",label:"晋宁区"},{value:"530128",label:"禄劝彝族苗族自治县"},{value:"530103",label:"盘龙区"},{value:"530126",label:"石林彝族自治县"},{value:"530127",label:"嵩明县"},{value:"530102",label:"五华区"},{value:"530112",label:"西山区"},{value:"530129",label:"寻甸回族彝族自治县"},{value:"530125",label:"宜良县"}]},{value:"5307",label:"丽江市",children:[{value:"530702",label:"古城区"},{value:"530723",label:"华坪县"},{value:"530724",label:"宁蒗彝族自治县"},{value:"530722",label:"永胜县"},{value:"530721",label:"玉龙纳西族自治县"}]},{value:"5309",label:"临沧市",children:[{value:"530927",label:"沧源佤族自治县"},{value:"530921",label:"凤庆县"},{value:"530926",label:"耿马傣族佤族自治县"},{value:"530902",label:"临翔区"},{value:"530925",label:"双江拉祜族佤族布朗族傣族自治县"},{value:"530923",label:"永德县"},{value:"530922",label:"云县"},{value:"530924",label:"镇康县"}]},{value:"5333",label:"怒江傈僳族自治州",children:[{value:"533323",label:"福贡县"},{value:"533324",label:"贡山独龙族怒族自治县"},{value:"533325",label:"兰坪白族普米族自治县"},{value:"533301",label:"泸水市"}]},{value:"5308",label:"普洱市",children:[{value:"530826",label:"江城哈尼族彝族自治县"},{value:"530823",label:"景东彝族自治县"},{value:"530824",label:"景谷傣族彝族自治县"},{value:"530828",label:"澜沧拉祜族自治县"},{value:"530827",label:"孟连傣族拉祜族佤族自治县"},{value:"530822",label:"墨江哈尼族自治县"},{value:"530821",label:"宁洱哈尼族彝族自治县"},{value:"530802",label:"思茅区"},{value:"530829",label:"西盟佤族自治县"},{value:"530825",label:"镇沅彝族哈尼族拉祜族自治县"}]},{value:"5303",label:"曲靖市",children:[{value:"530325",label:"富源县"},{value:"530326",label:"会泽县"},{value:"530322",label:"陆良县"},{value:"530324",label:"罗平县"},{value:"530304",label:"马龙区"},{value:"530302",label:"麒麟区"},{value:"530323",label:"师宗县"},{value:"530381",label:"宣威市"},{value:"530303",label:"沾益区"}]},{value:"5326",label:"文山壮族苗族自治州",children:[{value:"532628",label:"富宁县"},{value:"532627",label:"广南县"},{value:"532624",label:"麻栗坡县"},{value:"532625",label:"马关县"},{value:"532626",label:"丘北县"},{value:"532601",label:"文山市"},{value:"532623",label:"西畴县"},{value:"532622",label:"砚山县"}]},{value:"5328",label:"西双版纳傣族自治州",children:[{value:"532801",label:"景洪市"},{value:"532822",label:"勐海县"},{value:"532823",label:"勐腊县"}]},{value:"5304",label:"玉溪市",children:[{value:"530481",label:"澄江市"},{value:"530426",label:"峨山彝族自治县"},{value:"530402",label:"红塔区"},{value:"530424",label:"华宁县"},{value:"530403",label:"江川区"},{value:"530423",label:"通海县"},{value:"530427",label:"新平彝族傣族自治县"},{value:"530425",label:"易门县"},{value:"530428",label:"元江哈尼族彝族傣族自治县"}]},{value:"5306",label:"昭通市",children:[{value:"530624",label:"大关县"},{value:"530621",label:"鲁甸县"},{value:"530622",label:"巧家县"},{value:"530681",label:"水富市"},{value:"530626",label:"绥江县"},{value:"530629",label:"威信县"},{value:"530623",label:"盐津县"},{value:"530628",label:"彝良县"},{value:"530625",label:"永善县"},{value:"530602",label:"昭阳区"},{value:"530627",label:"镇雄县"}]}]},{value:"33",label:"浙江省",children:[{value:"3301",label:"杭州市",children:[{value:"330108",label:"滨江区"},{value:"330127",label:"淳安县"},{value:"330111",label:"富阳区"},{value:"330105",label:"拱墅区"},{value:"330182",label:"建德市"},{value:"330112",label:"临安区"},{value:"330113",label:"临平区"},{value:"330114",label:"钱塘区"},{value:"330102",label:"上城区"},{value:"330122",label:"桐庐县"},{value:"330106",label:"西湖区"},{value:"330109",label:"萧山区"},{value:"330110",label:"余杭区"}]},{value:"3305",label:"湖州市",children:[{value:"330523",label:"安吉县"},{value:"330521",label:"德清县"},{value:"330503",label:"南浔区"},{value:"330502",label:"吴兴区"},{value:"330522",label:"长兴县"}]},{value:"3304",label:"嘉兴市",children:[{value:"330481",label:"海宁市"},{value:"330424",label:"海盐县"},{value:"330421",label:"嘉善县"},{value:"330402",label:"南湖区"},{value:"330482",label:"平湖市"},{value:"330483",label:"桐乡市"},{value:"330411",label:"秀洲区"}]},{value:"3307",label:"金华市",children:[{value:"330783",label:"东阳市"},{value:"330703",label:"金东区"},{value:"330781",label:"兰溪市"},{value:"330727",label:"磐安县"},{value:"330726",label:"浦江县"},{value:"330723",label:"武义县"},{value:"330702",label:"婺城区"},{value:"330782",label:"义乌市"},{value:"330784",label:"永康市"}]},{value:"3311",label:"丽水市",children:[{value:"331122",label:"缙云县"},{value:"331127",label:"景宁畲族自治县"},{value:"331102",label:"莲都区"},{value:"331181",label:"龙泉市"},{value:"331121",label:"青田县"},{value:"331126",label:"庆元县"},{value:"331124",label:"松阳县"},{value:"331123",label:"遂昌县"},{value:"331125",label:"云和县"}]},{value:"3302",label:"宁波市",children:[{value:"330206",label:"北仑区"},{value:"330282",label:"慈溪市"},{value:"330213",label:"奉化区"},{value:"330203",label:"海曙区"},{value:"330205",label:"江北区"},{value:"330226",label:"宁海县"},{value:"330225",label:"象山县"},{value:"330212",label:"鄞州区"},{value:"330281",label:"余姚市"},{value:"330211",label:"镇海区"}]},{value:"3308",label:"衢州市",children:[{value:"330822",label:"常山县"},{value:"330881",label:"江山市"},{value:"330824",label:"开化县"},{value:"330802",label:"柯城区"},{value:"330825",label:"龙游县"},{value:"330803",label:"衢江区"}]},{value:"3306",label:"绍兴市",children:[{value:"330603",label:"柯桥区"},{value:"330604",label:"上虞区"},{value:"330683",label:"嵊州市"},{value:"330624",label:"新昌县"},{value:"330602",label:"越城区"},{value:"330681",label:"诸暨市"}]},{value:"3310",label:"台州市",children:[{value:"331003",label:"黄岩区"},{value:"331002",label:"椒江区"},{value:"331082",label:"临海市"},{value:"331004",label:"路桥区"},{value:"331022",label:"三门县"},{value:"331023",label:"天台县"},{value:"331081",label:"温岭市"},{value:"331024",label:"仙居县"},{value:"331083",label:"玉环市"}]},{value:"3303",label:"温州市",children:[{value:"330327",label:"苍南县"},{value:"330305",label:"洞头区"},{value:"330382",label:"乐清市"},{value:"330383",label:"龙港市"},{value:"330303",label:"龙湾区"},{value:"330302",label:"鹿城区"},{value:"330304",label:"瓯海区"},{value:"330326",label:"平阳县"},{value:"330381",label:"瑞安市"},{value:"330329",label:"泰顺县"},{value:"330328",label:"文成县"},{value:"330324",label:"永嘉县"}]},{value:"3309",label:"舟山市",children:[{value:"330921",label:"岱山县"},{value:"330902",label:"定海区"},{value:"330903",label:"普陀区"},{value:"330922",label:"嵊泗县"}]}]}],gn=["tabindex"],mn={class:"flex items-center gap-2 flex-1 overflow-hidden"},fn={key:0,class:"truncate"},hn={key:1,class:"text-gray-400"},pn={key:0,class:"absolute z-[9999] mt-1 bg-white border border-gray-300 rounded-md shadow-lg",style:{minWidth:"100%",width:"max-content"}},yn={key:0,class:"p-3 border-b border-gray-200"},kn={class:"relative"},Cn=["placeholder"],wn={key:0,class:"mt-2 text-xs text-gray-500 flex items-center gap-1"},xn={class:"font-medium"},En={key:1,class:"max-h-80 overflow-y-auto",style:{"min-width":"600px"}},Sn={class:"px-3 py-2 text-xs text-gray-500 bg-gray-50 sticky top-0"},Bn=["onClick"],$n={class:"flex items-center justify-between"},Mn={class:"flex-1"},Vn=["innerHTML"],Nn={class:"ml-2 text-xs text-gray-400"},Pn={key:0,class:"text-xs text-gray-500 mt-1"},jn={key:2,class:"flex",style:{"min-width":"600px"}},Tn=["onClick","innerHTML"],Dn=["onClick","innerHTML"],Ln=["onClick","innerHTML"],zn={key:3,class:"px-4 py-8 text-center text-gray-400"},_n={key:4,class:"px-4 py-8 text-center text-gray-400"},An=e.defineComponent({__name:"index",props:{modelValue:{default:()=>[]},placeholder:{default:"请选择地区"},disabled:{type:Boolean,default:!1},customClass:{default:""},separator:{default:" / "},maxLevel:{default:3},searchable:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(a,{expose:f,emit:u}){const l=a,b=u,o=e.ref(!1),i=e.ref(),r=e.ref(),c=e.ref(),t=e.ref(),n=e.ref(),d=e.ref(),k=e.ref(),m=e.ref(),h=e.ref(!1),s=e.ref(""),v=e.ref([]),p=e.ref(!1);let y=null;const C=new Map,w=e.ref(null),S=e.ref(null),N=e.ref(null),$=e.ref([]),g=e.ref([]),B=e.ref([]),V=e.computed(()=>{const E=[];return w.value&&E.push(w.value.label),S.value&&E.push(S.value.label),N.value&&E.push(N.value.label),E.length>0?E.join(l.separator):""}),D=e.computed(()=>"搜索省/市/区,支持智能定位..."),A=e.computed(()=>{const E=[];return w.value&&E.push(w.value.label),S.value&&E.push(S.value.label),N.value&&E.push(N.value.label),E.length>0?E.join(" > "):""}),I=e.computed(()=>{if(!s.value.trim())return $.value;const E=s.value.toLowerCase().trim();return $.value.filter(T=>T.label.toLowerCase().includes(E)||T.value.includes(E))}),R=e.computed(()=>{if(!s.value.trim())return g.value;const E=s.value.toLowerCase().trim();return g.value.filter(T=>T.label.toLowerCase().includes(E)||T.value.includes(E))}),H=e.computed(()=>{if(!s.value.trim())return B.value;const E=s.value.toLowerCase().trim();return B.value.filter(T=>T.label.toLowerCase().includes(E)||T.value.includes(E))});function Y(E,T){if(!T||!T.trim())return E;const L=T.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),X=new RegExp(`(${L})`,"gi");return E.replace(X,'<span class="bg-yellow-200 font-semibold">$1</span>')}function W(E){return new Promise(T=>{if(!y||!h.value){T([]);return}if(C.has(E)){T(C.get(E));return}const L=X=>{var F;if(((F=X.data)==null?void 0:F.type)==="children"&&X.data.parent===E){const Z=X.data.list||[];C.set(E,Z),T(Z),y.removeEventListener("message",L)}};y.addEventListener("message",L),y.postMessage({type:"children",payload:{parent:E}}),setTimeout(()=>{y.removeEventListener("message",L),T([])},5e3)})}function M(){return new Promise(E=>{if(!y||!h.value){E([]);return}const T=L=>{var X;if(((X=L.data)==null?void 0:X.type)==="roots"){const F=L.data.list||[];E(F),y.removeEventListener("message",T)}};y.addEventListener("message",T),y.postMessage({type:"roots"}),setTimeout(()=>{y.removeEventListener("message",T),E([])},5e3)})}const x=async()=>{l.disabled||(o.value=!o.value,o.value&&($.value.length===0&&($.value=await M()),await P(),l.searchable&&setTimeout(()=>{var E;(E=r.value)==null||E.focus()},100)))},P=async()=>{if(w.value&&l.maxLevel>=2){const E=await W(w.value.value);g.value=E,console.log("[RegionCascader] 恢复省份选择,加载城市:",E.length),await e.nextTick(),q()}if(S.value&&l.maxLevel>=3){const E=await W(S.value.value);B.value=E,console.log("[RegionCascader] 恢复城市选择,加载区县:",E.length),await e.nextTick(),se()}N.value&&l.maxLevel>=3&&(await e.nextTick(),j())},_=(E,T,L)=>{if(!T||!E)return;const X=E.clientHeight,F=T.offsetTop,Z=T.clientHeight,ie=F-X/2+Z/2;E.scrollTo({top:Math.max(0,ie),behavior:"auto"}),console.log("[RegionCascader] 滚动到:",L)},q=()=>{var E;_(c.value,d.value,((E=w.value)==null?void 0:E.label)||"")},se=()=>{var E;_(t.value,k.value,((E=S.value)==null?void 0:E.label)||"")},j=()=>{var E;_(n.value,m.value,((E=N.value)==null?void 0:E.label)||"")},z=()=>{o.value=!1,s.value=""};let O=null;const Q=()=>{O&&clearTimeout(O),O=setTimeout(()=>{J()},300)},J=()=>{const E=s.value.trim();if(!E){v.value=[],p.value=!1;return}if(p.value=!0,y&&h.value){const T=L=>{var X;((X=L.data)==null?void 0:X.type)==="searchResults"&&L.data.keyword===E&&(v.value=L.data.results||[],p.value=!1,y.removeEventListener("message",T))};y.addEventListener("message",T),y.postMessage({type:"search",payload:{keyword:E,parentValue:null}}),setTimeout(()=>{y.removeEventListener("message",T),p.value=!1},3e3)}else p.value=!1},le=()=>{var E;s.value="",v.value=[],p.value=!1,(E=r.value)==null||E.focus()},ne=async E=>{if(console.log("[RegionCascader] 选择省份:",E.label,"maxLevel:",l.maxLevel),w.value=E,S.value=null,N.value=null,g.value=[],B.value=[],s.value="",e.nextTick(()=>{q()}),l.maxLevel===1){console.log("[RegionCascader] maxLevel=1,关闭下拉框"),ee(),z();return}if(!E.leaf&&l.maxLevel>=2){console.log("[RegionCascader] 加载城市列表...");const T=await W(E.value);g.value=T,console.log("[RegionCascader] 城市列表加载完成:",T.length,"个城市"),console.log("[RegionCascader] 下拉框状态 isOpen:",o.value),l.searchable&&setTimeout(()=>{var L;(L=r.value)==null||L.focus()},100)}else console.log("[RegionCascader] 省份是叶子节点或maxLevel<2,关闭下拉框"),ee(),z()},oe=async E=>{if(S.value=E,N.value=null,B.value=[],s.value="",e.nextTick(()=>{se()}),l.maxLevel===2){ee(),z();return}!E.leaf&&l.maxLevel>=3?(B.value=await W(E.value),l.searchable&&setTimeout(()=>{var T;(T=r.value)==null||T.focus()},100)):(ee(),z())},ue=E=>{N.value=E,e.nextTick(()=>{j()}),ee(),z()},ve=async E=>{if(!E.path||!E.pathLabels)return;s.value="",v.value=[];const T=E.path,L=E.pathLabels,X=E.level||T.length;if($.value.length===0&&($.value=await M()),X===1){const F={value:T[0],label:L[0],leaf:!1};await ne(F)}else if(X===2){w.value={value:T[0],label:L[0],leaf:!1},g.value=await W(T[0]);const F={value:T[1],label:L[1],leaf:!1};await oe(F)}else if(X===3){w.value={value:T[0],label:L[0],leaf:!1},g.value=await W(T[0]),S.value={value:T[1],label:L[1],leaf:!1},B.value=await W(T[1]);const F={value:T[2],label:L[2],leaf:!0};ue(F)}},ee=()=>{const E=[],T=[];w.value&&(E.push(w.value.value),T.push(w.value.label)),S.value&&(E.push(S.value.value),T.push(S.value.label)),N.value&&(E.push(N.value.value),T.push(N.value.label)),b("update:modelValue",E),b("change",E,T)},ce=()=>{try{y=new Worker(new URL("/assets/areas.worker-DsqyaTvS.js",typeof document>"u"?require("url").pathToFileURL(__filename).href:fe&&fe.tagName.toUpperCase()==="SCRIPT"&&fe.src||new URL("index.js",document.baseURI).href),{type:"module"}),y.onmessage=E=>{var T,L;((T=E.data)==null?void 0:T.type)==="ready"?(h.value=!0,console.log("[RegionCascader] Worker初始化完成")):((L=E.data)==null?void 0:L.type)==="error"&&console.error("[RegionCascader] Worker错误:",E.data.error)},y.onerror=E=>{console.error("[RegionCascader] Worker error:",E)},y.postMessage({type:"init",payload:{root:bn}})}catch(E){console.error("[RegionCascader] Failed to create worker:",E)}};e.onMounted(async()=>{ce();const E=T=>{i.value&&!i.value.contains(T.target)&&z()};document.addEventListener("click",E),e.onUnmounted(()=>{document.removeEventListener("click",E),y&&(y.terminate(),y=null)})});async function re(E){var T,L,X;if(!E||E.length===0){w.value=null,S.value=null,N.value=null,$.value=[],g.value=[],B.value=[];return}console.log("[RegionCascader] 恢复选中状态:",E);try{if($.value.length===0&&($.value=await M()),E[0]){const F=$.value.find(Z=>Z.value===E[0]);if(F){if(w.value=F,E[1]&&l.maxLevel>=2){g.value=await W(E[0]);const Z=g.value.find(ie=>ie.value===E[1]);if(Z&&(S.value=Z,E[2]&&l.maxLevel>=3)){B.value=await W(E[1]);const ie=B.value.find(ge=>ge.value===E[2]);ie&&(N.value=ie)}}}else console.warn("[RegionCascader] 未找到省份代码:",E[0])}console.log("[RegionCascader] 恢复完成:",{province:(T=w.value)==null?void 0:T.label,city:(L=S.value)==null?void 0:L.label,district:(X=N.value)==null?void 0:X.label})}catch(F){console.error("[RegionCascader] 恢复选中状态失败:",F)}}return e.watch(()=>l.modelValue,async E=>{console.log("[RegionCascader] modelValue changed:",E),await re(E)},{deep:!0,immediate:!1}),e.watch(h,async E=>{E&&l.modelValue&&l.modelValue.length>0&&(console.log("[RegionCascader] Worker就绪,开始恢复初始值:",l.modelValue),await re(l.modelValue))},{immediate:!0}),f({worker:y,workerReady:h,loadChildren:W,clearCache:()=>C.clear()}),(E,T)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"containerRef",ref:i,class:"region-cascader-container relative"},[e.createElementVNode("div",{onClick:x,class:e.normalizeClass(["w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-[#1a1a1a] focus:border-[#1a1a1a] transition-colors duration-200 cursor-pointer bg-white flex items-center justify-between",a.customClass,{"opacity-60 cursor-not-allowed":a.disabled}]),tabindex:a.disabled?-1:0,onKeydown:[e.withKeys(x,["enter"]),e.withKeys(x,["space"]),e.withKeys(z,["escape"])]},[e.createElementVNode("div",mn,[V.value?(e.openBlock(),e.createElementBlock("span",fn,e.toDisplayString(V.value),1)):(e.openBlock(),e.createElementBlock("span",hn,e.toDisplayString(a.placeholder),1))]),(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass(["w-5 h-5 text-gray-400 transition-transform duration-200 flex-shrink-0",{"rotate-180":o.value}]),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[...T[2]||(T[2]=[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"},null,-1)])],2))],42,gn),o.value&&!a.disabled?(e.openBlock(),e.createElementBlock("div",pn,[a.searchable?(e.openBlock(),e.createElementBlock("div",yn,[e.createElementVNode("div",kn,[e.withDirectives(e.createElementVNode("input",{ref_key:"searchInputRef",ref:r,"onUpdate:modelValue":T[0]||(T[0]=L=>s.value=L),type:"text",placeholder:D.value,class:"w-full px-3 py-2 pl-9 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-[#1a1a1a] focus:border-[#1a1a1a] transition-colors",onInput:Q,onKeydown:T[1]||(T[1]=e.withModifiers(()=>{},["stop"]))},null,40,Cn),[[e.vModelText,s.value]]),T[4]||(T[4]=e.createElementVNode("svg",{class:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})],-1)),s.value?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:le,class:"absolute right-3 top-1/2 -translate-y-1/2 text-gray-400 hover:text-gray-600"},[...T[3]||(T[3]=[e.createElementVNode("svg",{class:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)])])):e.createCommentVNode("",!0)]),A.value?(e.openBlock(),e.createElementBlock("div",wn,[T[5]||(T[5]=e.createElementVNode("span",null,"当前:",-1)),e.createElementVNode("span",xn,e.toDisplayString(A.value),1)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),a.searchable&&s.value&&v.value.length>0?(e.openBlock(),e.createElementBlock("div",En,[e.createElementVNode("div",Sn," 找到 "+e.toDisplayString(v.value.length)+" 个结果(点击自动定位) ",1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,L=>(e.openBlock(),e.createElementBlock("div",{key:L.value,onClick:e.withModifiers(X=>ve(L),["stop"]),class:"px-3 py-2 hover:bg-gray-50 cursor-pointer transition-colors border-b border-gray-100"},[e.createElementVNode("div",$n,[e.createElementVNode("div",Mn,[e.createElementVNode("span",{innerHTML:Y(L.label,s.value),class:"font-medium"},null,8,Vn),e.createElementVNode("span",Nn,e.toDisplayString(["","省","市","区"][L.level||0]),1)])]),L.pathLabels&&L.pathLabels.length>1?(e.openBlock(),e.createElementBlock("div",Pn,e.toDisplayString(L.pathLabels.slice(0,-1).join(" > ")),1)):e.createCommentVNode("",!0)],8,Bn))),128))])):e.createCommentVNode("",!0),!a.searchable||!s.value||v.value.length===0?(e.openBlock(),e.createElementBlock("div",jn,[e.createElementVNode("div",{ref_key:"provinceListRef",ref:c,class:"flex-1 border-r border-gray-200 max-h-60 overflow-y-auto min-w-[200px]"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I.value,L=>{var X;return e.openBlock(),e.createElementBlock("div",{key:L.value,ref_for:!0,ref:F=>{var Z;((Z=w.value)==null?void 0:Z.value)===L.value&&(d.value=F)},onClick:e.withModifiers(F=>ne(L),["stop"]),class:e.normalizeClass(["px-3 py-2 hover:bg-gray-50 cursor-pointer transition-colors whitespace-nowrap",{"bg-blue-50 text-blue-600":((X=w.value)==null?void 0:X.value)===L.value}]),innerHTML:Y(L.label,s.value)},null,10,Tn)}),128))],512),R.value.length>0?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"cityListRef",ref:t,class:"flex-1 border-r border-gray-200 max-h-60 overflow-y-auto min-w-[200px]"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(R.value,L=>{var X;return e.openBlock(),e.createElementBlock("div",{key:L.value,ref_for:!0,ref:F=>{var Z;((Z=S.value)==null?void 0:Z.value)===L.value&&(k.value=F)},onClick:e.withModifiers(F=>oe(L),["stop"]),class:e.normalizeClass(["px-3 py-2 hover:bg-gray-50 cursor-pointer transition-colors whitespace-nowrap",{"bg-blue-50 text-blue-600":((X=S.value)==null?void 0:X.value)===L.value}]),innerHTML:Y(L.label,s.value)},null,10,Dn)}),128))],512)):e.createCommentVNode("",!0),H.value.length>0?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"districtListRef",ref:n,class:"flex-1 border-r border-gray-200 max-h-60 overflow-y-auto min-w-[200px]"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(H.value,L=>{var X;return e.openBlock(),e.createElementBlock("div",{key:L.value,ref_for:!0,ref:F=>{var Z;((Z=N.value)==null?void 0:Z.value)===L.value&&(m.value=F)},onClick:e.withModifiers(F=>ue(L),["stop"]),class:e.normalizeClass(["px-3 py-2 hover:bg-gray-50 cursor-pointer transition-colors whitespace-nowrap",{"bg-blue-50 text-blue-600":((X=N.value)==null?void 0:X.value)===L.value}]),innerHTML:Y(L.label,s.value)},null,10,Ln)}),128))],512)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),h.value?$.value.length===0?(e.openBlock(),e.createElementBlock("div",_n,[...T[7]||(T[7]=[e.createElementVNode("div",{class:"mb-2"},"暂无数据",-1)])])):e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",zn,[...T[6]||(T[6]=[e.createElementVNode("div",{class:"mb-2"},"正在初始化地区数据...",-1),e.createElementVNode("div",{class:"text-xs"},"请稍候",-1)])]))])):e.createCommentVNode("",!0),o.value&&!a.disabled?(e.openBlock(),e.createElementBlock("div",{key:1,class:"fixed inset-0 z-[9998]",onClick:z})):e.createCommentVNode("",!0)],512))}}),In=K(An,[["__scopeId","data-v-a14f703f"]]),Yn=e.defineComponent({__name:"fireworks",setup(a){const f=e.ref([]);let u=0;const l=b=>{const o=b.currentTarget.getBoundingClientRect(),i=b.clientX-o.left,r=b.clientY-o.top,c={x:i,y:r,id:u++};f.value.push(c),setTimeout(()=>{const t=f.value.findIndex(n=>n.id===c.id);t>-1&&f.value.splice(t,1)},1250)};return(b,o)=>(e.openBlock(),e.createElementBlock("div",{class:"fireworks-wrapper",onClick:l},[e.renderSlot(b.$slots,"default",{},void 0,!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value,(i,r)=>(e.openBlock(),e.createElementBlock("div",{key:r,class:"firework-effect",style:e.normalizeStyle({left:`${i.x}px`,top:`${i.y}px`})},[...o[0]||(o[0]=[e.createElementVNode("div",{class:"firework-particle"},null,-1)])],4))),128))]))}}),On=K(Yn,[["__scopeId","data-v-3d86407c"]]),Xn={class:"glow-button-wrapper"},Rn={class:"text"},Fn={"aria-hidden":"true",class:"particle-pen"},Hn=e.defineComponent({__name:"glow",props:{text:{default:"Button"},color:{default:"#8b5cf6"},size:{default:"medium"}},emits:["click"],setup(a,{emit:f}){const u=a,l=f,b=t=>{t=t.replace("#","");const n=parseInt(t.substring(0,2),16)/255,d=parseInt(t.substring(2,4),16)/255,k=parseInt(t.substring(4,6),16)/255,m=Math.max(n,d,k),h=Math.min(n,d,k);let s=0,v=0;const p=(m+h)/2;if(m!==h){const y=m-h;switch(v=p>.5?y/(2-m-h):y/(m+h),m){case n:s=((d-k)/y+(d<k?6:0))/6;break;case d:s=((k-n)/y+2)/6;break;case k:s=((n-d)/y+4)/6;break}}return{h:Math.round(s*360),s:Math.round(v*100),l:Math.round(p*100)}},o=e.computed(()=>b(u.color)),i={small:"0.9rem",medium:"1.2rem",large:"1.5rem"},r=e.computed(()=>({"--hue":o.value.h,"--saturation":`${o.value.s}%`,"--lightness":`${o.value.l}%`,"--font-size":i[u.size]})),c=t=>{l("click",t)};return(t,n)=>(e.openBlock(),e.createElementBlock("div",Xn,[e.createElementVNode("button",{class:"glow-button",style:e.normalizeStyle(r.value),onClick:c},[n[0]||(n[0]=e.createStaticVNode('<span class="spark" data-v-0c48f8a7></span><span class="backdrop" data-v-0c48f8a7></span><svg class="sparkle" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-0c48f8a7><path d="M14.187 8.096L15 5.25L15.813 8.096C16.0231 8.83114 16.4171 9.50062 16.9577 10.0413C17.4984 10.5819 18.1679 10.9759 18.903 11.186L21.75 12L18.904 12.813C18.1689 13.0231 17.4994 13.4171 16.9587 13.9577C16.4181 14.4984 16.0241 15.1679 15.814 15.903L15 18.75L14.187 15.904C13.9769 15.1689 13.5829 14.4994 13.0423 13.9587C12.5016 13.4181 11.8321 13.0241 11.097 12.814L8.25 12L11.096 11.187C11.8311 10.9769 12.5006 10.5829 13.0413 10.0423C13.5819 9.50162 13.9759 8.83214 14.186 8.097L14.187 8.096Z" fill="currentColor" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" data-v-0c48f8a7></path><path d="M6 14.25L5.741 15.285C5.59267 15.8785 5.28579 16.4206 4.85319 16.8532C4.42059 17.2858 3.87853 17.5927 3.285 17.741L2.25 18L3.285 18.259C3.87853 18.4073 4.42059 18.7142 4.85319 19.1468C5.28579 19.5794 5.59267 20.1215 5.741 20.715L6 21.75L6.259 20.715C6.40725 20.1216 6.71398 19.5796 7.14639 19.147C7.5788 18.7144 8.12065 18.4075 8.714 18.259L9.75 18L8.714 17.741C8.12065 17.5925 7.5788 17.2856 7.14639 16.853C6.71398 16.4204 6.40725 15.8784 6.259 15.285L6 14.25Z" fill="currentColor" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" data-v-0c48f8a7></path><path d="M6.5 4L6.303 4.5915C6.24777 4.75718 6.15472 4.90774 6.03123 5.03123C5.90774 5.15472 5.75718 5.24777 5.5915 5.303L5 5.5L5.5915 5.697C5.75718 5.75223 5.90774 5.84528 6.03123 5.96877C6.15472 6.09226 6.24777 6.24282 6.303 6.4085L6.5 7L6.697 6.4085C6.75223 6.24282 6.84528 6.09226 6.96877 5.96877C7.09226 5.84528 7.24282 5.75223 7.4085 5.697L8 5.5L7.4085 5.303C7.24282 5.24777 7.09226 5.15472 6.96877 5.03123C6.84528 4.90774 6.75223 4.75718 6.697 4.5915L6.5 4Z" fill="currentColor" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" data-v-0c48f8a7></path></svg>',3)),e.createElementVNode("span",Rn,[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(a.text),1)],!0)])],4),n[2]||(n[2]=e.createElementVNode("div",{class:"bodydrop"},null,-1)),e.createElementVNode("span",Fn,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(20,d=>e.createElementVNode("svg",{key:d,class:"particle",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[...n[1]||(n[1]=[e.createElementVNode("path",{d:"M6.937 3.846L7.75 1L8.563 3.846C8.77313 4.58114 9.1671 5.25062 9.70774 5.79126C10.2484 6.3319 10.9179 6.72587 11.653 6.936L14.5 7.75L11.654 8.563C10.9189 8.77313 10.2494 9.1671 9.70874 9.70774C9.1681 10.2484 8.77413 10.9179 8.564 11.653L7.75 14.5L6.937 11.654C6.72687 10.9189 6.3329 10.2494 5.79226 9.70874C5.25162 9.1681 4.58214 8.77413 3.847 8.564L1 7.75L3.846 6.937C4.58114 6.72687 5.25062 6.3329 5.79126 5.79226C6.3319 5.25162 6.72587 4.58214 6.936 3.847L6.937 3.846Z",fill:"currentColor",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])])),64))])]))}}),Wn=K(Hn,[["__scopeId","data-v-0c48f8a7"]]),Gn=["onMouseenter"],Kn={__name:"index",props:{cols:{type:Number,default:3},rows:{type:Number,default:3},width:{type:String,default:"500px"},height:{type:String,default:"500px"},gap:{type:String,default:"10px"},dynamic:{type:Boolean,default:!1},disableColor:{type:Boolean,default:!1},contentFill:{type:Boolean,default:!1},lockGrid:{type:Boolean,default:!1}},setup(a){const f=a,u=e.ref(null),l=e.ref(0),b=e.computed(()=>{const d={width:f.width,height:f.height,display:"grid",gap:f.gap,"--grid-cols":f.cols,"--grid-rows":f.rows};if(f.lockGrid)return{...d,gridTemplateColumns:`repeat(${f.cols}, 1fr)`,gridTemplateRows:`repeat(${f.rows}, 1fr)`};if(l.value>0){const k=Math.floor((l.value-1)/f.cols)+1,m=(l.value-1)%f.cols+1,h=Array.from({length:f.cols},(v,p)=>p+1===m?"2fr":"1fr").join(" "),s=Array.from({length:f.rows},(v,p)=>p+1===k?"2fr":"1fr").join(" ");return{...d,gridTemplateColumns:h,gridTemplateRows:s}}return{...d,gridTemplateColumns:`repeat(${f.cols}, 1fr)`,gridTemplateRows:`repeat(${f.rows}, 1fr)`}}),o=e.computed(()=>f.dynamic),i=e.computed(()=>Math.max(1,f.rows*f.cols));function r(d){if(!l.value)return!1;const k=Math.floor((d-1)/f.cols),m=(d-1)%f.cols,h=Math.floor((l.value-1)/f.cols),s=(l.value-1)%f.cols;return k===h&&Math.abs(m-s)===1||m===s&&Math.abs(k-h)===1}function c(d){return l.value?f.dynamic?{dim:l.value!==d&&!r(d),active:l.value===d,neighbor:r(d)}:{dim:l.value!==d&&!r(d),active:l.value===d,neighbor:r(d)}:f.dynamic?void 0:""}function t(d){l.value=d}function n(){l.value=0}return(d,k)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"containerRef",ref:u,class:e.normalizeClass(["container",[{dynamic:o.value},{"no-color":a.disableColor},{"content-fill":a.contentFill}]]),style:e.normalizeStyle(b.value)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,m=>(e.openBlock(),e.createElementBlock("div",{key:m,class:e.normalizeClass(["item",c(m)]),onMouseenter:h=>t(m),onMouseleave:n},[e.renderSlot(d.$slots,"default",{index:m},void 0,!0)],42,Gn))),128))],6))}},je=K(Kn,[["__scopeId","data-v-00fdffcb"]]),Un=e.defineComponent({__name:"index",props:{cols:{default:3},rows:{},gap:{default:"16px"},colWidth:{default:"1fr"},rowHeight:{default:"auto"},items:{default:()=>[]},minColWidth:{},justifyItems:{default:"stretch"},alignItems:{default:"stretch"},width:{default:"100%"},height:{default:"auto"}},setup(a){const f=a,u=e.computed(()=>{const b={gap:f.gap,justifyItems:f.justifyItems,alignItems:f.alignItems,width:f.width,height:f.height};return f.minColWidth?b.gridTemplateColumns=`repeat(auto-fit, minmax(${f.minColWidth}, 1fr))`:b.gridTemplateColumns=`repeat(${f.cols}, ${f.colWidth})`,f.rows&&(b.gridTemplateRows=`repeat(${f.rows}, ${f.rowHeight})`),b}),l=e.computed(()=>({}));return(b,o)=>(e.openBlock(),e.createElementBlock("div",{class:"x-grid",style:e.normalizeStyle(u.value)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.items,(i,r)=>(e.openBlock(),e.createElementBlock("div",{key:r,class:"x-grid-item",style:e.normalizeStyle(l.value)},[e.renderSlot(b.$slots,"item",{item:i,index:r},()=>[e.createTextVNode(e.toDisplayString(i),1)],!0)],4))),128))],4))}}),qn=K(Un,[["__scopeId","data-v-f83cff5e"]]),Zn=["width","height"],Qn={key:0,class:"x-qrcode-loading"},Jn={key:0,class:"x-qrcode-loading-text"},eo={key:1,class:"x-qrcode-error"},lo={key:0,class:"x-qrcode-error-text"},ao=e.defineComponent({__name:"index",props:{value:{},options:{},logo:{},logoSize:{default:40},size:{default:200},backgroundColor:{default:"#ffffff"},foregroundColor:{default:"#1a1a1a"},errorCorrectionLevel:{default:"H"},type:{default:"normal"},bordered:{type:Boolean,default:!0},borderColor:{default:"#d9d9d9"},borderWidth:{default:1},loadingText:{default:"生成中..."},errorText:{default:"生成失败"}},emits:["success","error"],setup(a,{expose:f,emit:u}){const l=a,b=u,o=e.computed(()=>{var p,y,C,w,S,N,$,g,B,V,D,A;return{size:((p=l.options)==null?void 0:p.size)??l.size,logoSize:((y=l.options)==null?void 0:y.logoSize)??l.logoSize,backgroundColor:((C=l.options)==null?void 0:C.backgroundColor)??l.backgroundColor,foregroundColor:((w=l.options)==null?void 0:w.foregroundColor)??l.foregroundColor,errorCorrectionLevel:((S=l.options)==null?void 0:S.errorCorrectionLevel)??l.errorCorrectionLevel,type:((N=l.options)==null?void 0:N.type)??l.type,logo:(($=l.options)==null?void 0:$.logo)??l.logo,bordered:((g=l.options)==null?void 0:g.bordered)??l.bordered,borderColor:((B=l.options)==null?void 0:B.borderColor)??l.borderColor,borderWidth:((V=l.options)==null?void 0:V.borderWidth)??l.borderWidth,loadingText:((D=l.options)==null?void 0:D.loadingText)??l.loadingText,errorText:((A=l.options)==null?void 0:A.errorText)??l.errorText}}),i=e.ref(),r=e.ref(!1),c=e.ref(!1),t=e.computed(()=>o.value.size),n=e.computed(()=>o.value.bordered?o.value.size+o.value.borderWidth*2:o.value.size),d=e.computed(()=>["x-qrcode",{"x-qrcode-bordered":o.value.bordered,"x-qrcode-loading":r.value,"x-qrcode-error":c.value}]),k=e.computed(()=>({width:`${n.value}px`,height:`${n.value}px`})),m=e.computed(()=>({width:`${o.value.size}px`,height:`${o.value.size}px`,border:o.value.bordered?`${o.value.borderWidth}px solid ${o.value.borderColor}`:"none",borderRadius:"4px"}));async function h(p,y){try{const C=(await import("qrcode")).default,w=i.value;if(!w)throw new Error("Canvas not found");const S=o.value,N={errorCorrectionLevel:S.errorCorrectionLevel,margin:1},$=C.create(p,N);S.type==="normal"?await C.toCanvas(w,p,{width:y,margin:1,color:{dark:S.foregroundColor.startsWith("gradient")?"#000000":S.foregroundColor,light:S.backgroundColor},errorCorrectionLevel:S.errorCorrectionLevel}):s($,w,y)}catch(C){throw new Error(`Failed to generate QR code: ${C}`)}}function s(p,y,C){const w=y.getContext("2d");if(!w)return;const S=o.value,N=p.modules,$=N.size,g=1,B=$+g*2,V=C/B;w.fillStyle=S.backgroundColor,w.fillRect(0,0,C,C),w.fillStyle=S.foregroundColor;for(let D=0;D<$;D++)for(let A=0;A<$;A++)if(N.get(D,A)){const R=(A+g)*V,H=(D+g)*V;if(S.type==="dots")w.beginPath(),w.arc(R+V/2,H+V/2,V*.46,0,Math.PI*2),w.fill();else if(S.type==="rounded"){const Y=Math.min(V*.28,3),W=V*.03,M=R+W,x=H+W,P=V-W*2,_=V-W*2;w.beginPath(),w.moveTo(M+Y,x),w.lineTo(M+P-Y,x),w.arcTo(M+P,x,M+P,x+Y,Y),w.lineTo(M+P,x+_-Y),w.arcTo(M+P,x+_,M+P-Y,x+_,Y),w.lineTo(M+Y,x+_),w.arcTo(M,x+_,M,x+_-Y,Y),w.lineTo(M,x+Y),w.arcTo(M,x,M+Y,x,Y),w.closePath(),w.fill()}}}async function v(){if(!l.value){c.value=!0,b("error",new Error("Value is required"));return}r.value=!0,c.value=!1;try{await h(l.value,o.value.size),r.value=!1,b("success")}catch(p){r.value=!1,c.value=!0,b("error",p)}}return e.watch(()=>[l.value,l.options,l.size,l.backgroundColor,l.foregroundColor,l.logo,l.logoSize,l.type],()=>{e.nextTick(()=>{v()})},{deep:!0}),e.onMounted(()=>{v()}),f({refresh:v}),(p,y)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(d.value),style:e.normalizeStyle(k.value)},[e.createElementVNode("canvas",{ref_key:"canvasRef",ref:i,width:t.value,height:t.value,style:e.normalizeStyle(m.value)},null,12,Zn),r.value?(e.openBlock(),e.createElementBlock("div",Qn,[y[0]||(y[0]=e.createElementVNode("div",{class:"x-qrcode-spinner"},null,-1)),o.value.loadingText?(e.openBlock(),e.createElementBlock("span",Jn,e.toDisplayString(o.value.loadingText),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),c.value?(e.openBlock(),e.createElementBlock("div",eo,[y[1]||(y[1]=e.createElementVNode("div",{class:"x-qrcode-error-icon"},"⚠️",-1)),o.value.errorText?(e.openBlock(),e.createElementBlock("span",lo,e.toDisplayString(o.value.errorText),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],6))}}),to=K(ao,[["__scopeId","data-v-b73833d2"]]),no=["value","checked","disabled","name","onChange"],oo=["data-icon"],uo={key:1,class:"label"},so=e.defineComponent({__name:"index",props:{modelValue:{},options:{},direction:{default:"vertical"},size:{default:"medium"},block:{type:Boolean,default:!1},name:{default:"segmented"},iconInvert:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(a,{emit:f}){const u=a,l=f,b=e.computed(()=>u.options.findIndex(c=>c.value===u.modelValue)),o=e.computed(()=>{const c=b.value;if(c===-1)return{};const t=u.options[c],n=u.size==="small"?3:u.size==="large"?6:4;return u.direction==="horizontal"?{transform:`translateX(calc(${c} * (100% + ${n}px)))`,backgroundColor:t.color||i(c)}:{transform:`translateY(calc(${c} * (100% + ${n}px)))`,backgroundColor:t.color||i(c)}}),i=c=>{const t=["#000000","#1f9cf1","#ff9801","#10b981","#8b5cf6","#ef4444"];return t[c%t.length]},r=c=>{l("update:modelValue",c),l("change",c)};return e.onMounted(()=>{if(typeof window<"u"&&!document.querySelector("#iconify-script")){const c=document.createElement("script");c.id="iconify-script",c.src="https://code.iconify.design/3/3.1.0/iconify.min.js",document.head.appendChild(c)}}),(c,t)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["x-segmented",[`direction-${a.direction}`,`size-${a.size}`,{block:a.block},{"icon-invert":a.iconInvert}]]),style:e.normalizeStyle({"--option-count":a.options.length})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.options,n=>(e.openBlock(),e.createElementBlock("label",{key:n.value,class:e.normalizeClass({disabled:n.disabled})},[e.createElementVNode("input",{value:n.value,checked:a.modelValue===n.value,disabled:n.disabled,name:a.name,type:"radio",onChange:d=>r(n.value)},null,40,no),n.icon?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["icon",`iconify ${n.icon}`]),"data-icon":n.icon},null,10,oo)):e.createCommentVNode("",!0),n.label?(e.openBlock(),e.createElementBlock("span",uo,e.toDisplayString(n.label),1)):e.createCommentVNode("",!0)],2))),128)),e.createElementVNode("span",{class:"selection",style:e.normalizeStyle(o.value)},null,4)],6))}}),co=K(so,[["__scopeId","data-v-30b3ebe1"]]),ro={key:0,class:"x-form__footer"},io=e.defineComponent({__name:"index",props:{model:{},rules:{},labelPosition:{default:"right"},labelWidth:{default:"100px"},inline:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["submit","validate"],setup(a,{expose:f,emit:u}){const l=a,b=u,o=e.reactive(new Map),i=e.reactive(new Map),r=(h,s)=>{o.set(h,s)},c=h=>{o.delete(h),i.delete(h)},t=async h=>{var y;const s=(y=l.rules)==null?void 0:y[h];if(!s)return!0;const v=l.model[h],p=Array.isArray(s)?s:[s];for(const C of p){if(C.required&&(!v||typeof v=="string"&&!v.trim()))return i.set(h,C.message||`${h}是必填项`),!1;if(C.pattern&&!C.pattern.test(String(v)))return i.set(h,C.message||`${h}格式不正确`),!1;if(C.min&&String(v).length<C.min)return i.set(h,C.message||`${h}最少${C.min}个字符`),!1;if(C.max&&String(v).length>C.max)return i.set(h,C.message||`${h}最多${C.max}个字符`),!1;if(C.validator&&!await C.validator(v))return i.set(h,C.message||`${h}验证失败`),!1}return i.delete(h),!0},n=async()=>{const h=Array.from(o.keys()).map(y=>t(y)),v=(await Promise.all(h)).every(y=>y),p={};return i.forEach((y,C)=>{p[C]=y}),b("validate",v,p),v},d=()=>{i.clear(),o.forEach((h,s)=>{l.model[s]!==void 0&&(l.model[s]=Array.isArray(l.model[s])?[]:"")})},k=h=>{if(!h){i.clear();return}(Array.isArray(h)?h:[h]).forEach(v=>i.delete(v))},m=async()=>{await n()&&b("submit",l.model)};return e.provide("xForm",{props:l,registerField:r,unregisterField:c,validateField:t,errors:i}),f({validate:n,validateField:t,resetFields:d,clearValidate:k}),(h,s)=>(e.openBlock(),e.createElementBlock("form",{class:e.normalizeClass(["x-form",[`x-form--label-${a.labelPosition}`,{"x-form--inline":a.inline}]]),onSubmit:e.withModifiers(m,["prevent"])},[e.renderSlot(h.$slots,"default",{},void 0,!0),h.$slots.footer?(e.openBlock(),e.createElementBlock("div",ro,[e.renderSlot(h.$slots,"footer",{},void 0,!0)])):e.createCommentVNode("",!0)],34))}}),vo=K(io,[["__scopeId","data-v-1102bb21"]]),bo={key:0,class:"x-form-item__asterisk"},go={class:"x-form-item__content"},mo={key:0,class:"x-form-item__error"},fo=e.defineComponent({__name:"index",props:{label:{},prop:{},required:{type:Boolean},rules:{}},setup(a,{expose:f}){const u=a,l=e.inject("xForm",null),b=e.ref(!1),o=e.ref(""),i=e.computed(()=>{if(u.required)return!0;if(!u.prop||!(l!=null&&l.props.rules))return!1;const n=l.props.rules[u.prop];return n?(Array.isArray(n)?n:[n]).some(k=>k.required):!1}),r=e.computed(()=>!u.prop||!l?!1:l.errors.has(u.prop)),c=e.computed(()=>l?{width:l.props.labelWidth}:{});e.watch(()=>l==null?void 0:l.errors.get(u.prop),n=>{o.value=n||""});const t=async n=>{var h;if(!u.prop||!l)return!0;const d=(h=l.props.rules)==null?void 0:h[u.prop];if(!d||!(Array.isArray(d)?d:[d]).some(s=>!s.trigger||s.trigger===n||n==="submit"))return!0;b.value=!0;try{return await l.validateField(u.prop)}finally{b.value=!1}};return e.onMounted(()=>{u.prop&&l&&l.registerField(u.prop,{validate:t})}),e.onUnmounted(()=>{u.prop&&l&&l.unregisterField(u.prop)}),f({validate:t}),(n,d)=>{var k;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["x-form-item",{"x-form-item--error":r.value,"x-form-item--required":i.value,"x-form-item--validating":b.value,"x-form-item--inline":(k=e.unref(l))==null?void 0:k.props.inline}])},[a.label?(e.openBlock(),e.createElementBlock("label",{key:0,class:"x-form-item__label",style:e.normalizeStyle(c.value)},[i.value?(e.openBlock(),e.createElementBlock("span",bo,"*")):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(a.label),1)],4)):e.createCommentVNode("",!0),e.createElementVNode("div",go,[e.renderSlot(n.$slots,"default",{},void 0,!0),e.createVNode(e.Transition,{name:"x-form-error"},{default:e.withCtx(()=>[r.value?(e.openBlock(),e.createElementBlock("div",mo,[d[0]||(d[0]=e.createElementVNode("span",{class:"x-form-item__error-icon"},"!",-1)),e.createTextVNode(" "+e.toDisplayString(o.value),1)])):e.createCommentVNode("",!0)]),_:1})])],2)}}}),ho=K(fo,[["__scopeId","data-v-bb52398b"]]),po={class:"x-color-picker"},yo=["value"],ko=["aria-label","disabled","onClick"],Co={key:0,class:"x-color-tooltip"},wo=e.defineComponent({__name:"index",props:{modelValue:{},colors:{},showInput:{type:Boolean,default:!0},showTooltips:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},defaultColor:{default:"#3b82f6"}},emits:["update:modelValue","change"],setup(a,{emit:f}){const u=a,l=f,b=["#e11d48","#f472b6","#fb923c","#facc15","#84cc16","#10b981","#0ea5e9","#3b82f6","#8b5cf6","#a78bfa"],o=e.computed(()=>u.colors||b),i=c=>{u.disabled||(l("update:modelValue",c),l("change",c))},r=c=>{if(u.disabled)return;const t=c.target.value;l("update:modelValue",t),l("change",t)};return(c,t)=>(e.openBlock(),e.createElementBlock("div",po,[a.showInput?(e.openBlock(),e.createElementBlock("input",{key:0,type:"color",value:a.modelValue||a.defaultColor,class:"x-color-input",onInput:r},null,40,yo)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["x-color-container",{"show-tooltips":a.showTooltips}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,n=>(e.openBlock(),e.createElementBlock("button",{key:n,class:e.normalizeClass(["x-color-item",{active:a.modelValue===n}]),style:e.normalizeStyle({"--color":n}),"aria-label":n,disabled:a.disabled,onClick:d=>i(n)},[a.showTooltips?(e.openBlock(),e.createElementBlock("span",Co,e.toDisplayString(n),1)):e.createCommentVNode("",!0)],14,ko))),128))],2)]))}}),xo=K(wo,[["__scopeId","data-v-3fef4ec1"]]),Eo={key:0,class:"x-badge__text"},So=e.defineComponent({__name:"index",props:{value:{default:0},max:{default:99},dot:{type:Boolean,default:!1},color:{default:"#ff4d4f"},hidden:{type:Boolean,default:!1},animated:{type:Boolean}},setup(a){const f=a,u=e.computed(()=>f.hidden?!1:f.dot?!0:Number(f.value)>0),l=e.computed(()=>{if(f.dot)return"";const o=Number(f.value);return o>f.max?`${f.max}+`:o.toString()}),b=e.computed(()=>({backgroundColor:f.color}));return(o,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["x-badge",{"x-badge--dot":a.dot}])},[e.renderSlot(o.$slots,"default",{},void 0,!0),u.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["x-badge__content",{"x-badge__content--dot":a.dot,"x-badge__content--number":!a.dot}]),style:e.normalizeStyle(b.value)},[a.dot?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",Eo,e.toDisplayString(l.value),1))],6)):e.createCommentVNode("",!0)],2))}}),Bo=K(So,[["__scopeId","data-v-a32e118e"]]),$o={key:0,class:"x-chat-header"},Mo={class:"x-chat-header-info"},Vo={key:0,class:"x-chat-avatar"},No=["src"],Po={class:"x-chat-header-text"},jo={class:"x-chat-service-name"},To={key:0,class:"x-chat-empty"},Do={key:0,class:"x-chat-time-divider"},Lo={key:0,class:"x-chat-system-message"},zo={key:0,class:"x-chat-message-avatar"},_o=["src","alt"],Ao={class:"x-chat-message-content"},Io={class:"x-chat-message-bubble"},Yo={key:0,class:"x-chat-message-text"},Oo={key:1,class:"x-chat-message-image"},Xo=["src","alt","onClick"],Ro=["onClick"],Fo=["src","alt"],Ho={class:"x-chat-product-info"},Wo={class:"x-chat-product-name"},Go={class:"x-chat-product-price"},Ko={class:"x-chat-message-status"},Uo={key:0,class:"x-chat-message-loading"},qo=["onClick"],Zo={key:2,class:"x-chat-message-time"},Qo={key:3,class:"x-chat-message-time"},Jo={key:0,class:"x-chat-message x-chat-message--service"},eu={key:0,class:"x-chat-message-avatar"},lu=["src"],au={key:1,class:"x-chat-input-wrapper"},tu={key:0,class:"x-chat-quick-replies"},nu={class:"x-chat-input-container"},ou={key:0,class:"x-chat-toolbar"},uu=["title"],su={class:"x-chat-input-area"},cu=["placeholder","disabled","maxlength","onKeydown"],ru={key:0,class:"x-chat-word-count"},iu={key:0,class:"x-chat-emoji-picker"},vu=["onClick"],du=e.defineComponent({__name:"index",props:{messages:{default:()=>[]},height:{default:"500px"},showHeader:{type:Boolean,default:!0},serviceName:{default:"客服小助手"},serviceAvatar:{default:""},serviceOnline:{type:Boolean,default:!0},showInput:{type:Boolean,default:!0},placeholder:{default:"请输入消息..."},disabled:{type:Boolean,default:!1},maxLength:{default:500},showWordCount:{type:Boolean,default:!1},sendOnEnter:{type:Boolean,default:!0},showToolbar:{type:Boolean,default:!0},enableProduct:{type:Boolean,default:!1},isTyping:{type:Boolean,default:!1},quickReplies:{default:()=>[]},showQuickReplies:{type:Boolean,default:!0},emptyText:{default:"暂无消息"},compact:{type:Boolean,default:!1},userAvatar:{default:""},inputMaxHeight:{default:200},productProvider:{},enableImage:{type:Boolean,default:!1}},emits:["send-message","send-image","select-product","send-product","click-product","click-image","resend","input","focus","blur"],setup(a,{expose:f,emit:u}){const l=a,b=u,o=e.ref(),i=e.ref(""),r=e.ref("hidden"),c=e.computed(()=>({maxHeight:`${l.inputMaxHeight}px`,overflowY:r.value})),t=e.ref(),n=e.ref(),d=e.ref(!1),k=["😀","😃","😄","😁","😊","😇","🙂","🙃","😉","😌","😍","🥰","😘","😗","😙","😚","😋","😛","😝","😜","🤪","🤨","🧐","🤓","😎","🤩","🥳","😏","😒","😞","😔","😟","😕","🙁","☹️","😣","😖","😫","😩","🥺","😢","😭","😤","😠","😡","🤬","🤯","😳","🥵","🥶","👍","👎","👏","🙌","👐","🤝","🙏","✨","💖","❤️"],m=e.computed(()=>i.value.trim().length>0&&!l.disabled),h=()=>{if(!m.value)return;const M=i.value.trim();b("send-message",M),i.value="",o.value&&(o.value.style.height="auto")},s=M=>{l.sendOnEnter&&(M.preventDefault(),h())},v=M=>{if(!l.sendOnEnter)M.preventDefault(),h();else{const x=o.value;if(x){const P=x.selectionStart,_=x.selectionEnd,q=i.value;i.value=q.substring(0,P)+`
|
|
2
|
+
`+q.substring(_),e.nextTick(()=>{x.selectionStart=x.selectionEnd=P+1})}}},p=()=>{if(b("input",i.value),o.value){o.value.style.height="auto";const M=l.inputMaxHeight,x=Math.min(o.value.scrollHeight,M);o.value.style.height=x+"px",r.value=o.value.scrollHeight>M?"auto":"hidden"}},y=()=>{b("focus")},C=()=>{b("blur")},w=()=>{d.value=!d.value},S=M=>{if(o.value){const x=o.value.selectionStart,P=o.value.selectionEnd,_=i.value;i.value=_.substring(0,x)+M+_.substring(P),e.nextTick(()=>{if(o.value){o.value.focus();const q=x+M.length;o.value.selectionStart=o.value.selectionEnd=q}})}else i.value+=M},N=()=>{var M;(M=t.value)==null||M.click()},$=M=>{var _;const x=M.target,P=(_=x.files)==null?void 0:_[0];P&&(b("send-image",P),x.value="")},g=async()=>{if(b("select-product"),l.productProvider){try{const x=await l.productProvider();x&&b("send-product",x)}catch{}return}const M={id:Date.now(),name:"示例商品 · 舒适棉质T恤",price:199,image:`https://picsum.photos/seed/${Date.now()%1e3}/200/200`};b("send-product",M)},B=M=>{i.value=M,h()},V=M=>{b("click-product",M)},D=M=>{b("click-image",M)},A=M=>{b("resend",M)},I=M=>{const x=new Date(M),P=new Date,_=P.getTime()-x.getTime();if(_<6e4)return"刚刚";if(_<36e5)return`${Math.floor(_/6e4)}分钟前`;if(x.toDateString()===P.toDateString())return`今天 ${x.getHours().toString().padStart(2,"0")}:${x.getMinutes().toString().padStart(2,"0")}`;const q=new Date(P);return q.setDate(q.getDate()-1),x.toDateString()===q.toDateString()?`昨天 ${x.getHours().toString().padStart(2,"0")}:${x.getMinutes().toString().padStart(2,"0")}`:`${x.getMonth()+1}月${x.getDate()}日 ${x.getHours().toString().padStart(2,"0")}:${x.getMinutes().toString().padStart(2,"0")}`},R=M=>{const x=new Date(M);return`${x.getHours().toString().padStart(2,"0")}:${x.getMinutes().toString().padStart(2,"0")}`},H=(M,x)=>{if(x===0)return!0;const P=l.messages[x-1];return P?new Date(M.timestamp).getTime()-new Date(P.timestamp).getTime()>3e5:!0},Y=(M=!0)=>{e.nextTick(()=>{n.value&&n.value.scrollTo({top:n.value.scrollHeight,behavior:M?"smooth":"auto"})})};e.watch(()=>l.messages,()=>{Y()},{deep:!0}),e.watch(()=>l.isTyping,M=>{M&&Y()});const W=M=>{const x=M.target;d.value&&!x.closest(".x-chat-emoji-picker")&&!x.closest(".x-chat-tool-btn")&&(d.value=!1)};return e.onMounted(()=>{Y(!1),document.addEventListener("click",W)}),e.onUnmounted(()=>{document.removeEventListener("click",W)}),f({scrollToBottom:Y,focus:()=>{var M;return(M=o.value)==null?void 0:M.focus()},clear:()=>{i.value=""}}),(M,x)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["x-chat",{"x-chat--compact":a.compact}]),style:e.normalizeStyle({height:a.height})},[a.showHeader?(e.openBlock(),e.createElementBlock("div",$o,[e.createElementVNode("div",Mo,[a.serviceAvatar?(e.openBlock(),e.createElementBlock("div",Vo,[e.createElementVNode("img",{src:a.serviceAvatar,alt:"客服"},null,8,No)])):e.createCommentVNode("",!0),e.createElementVNode("div",Po,[e.createElementVNode("div",jo,e.toDisplayString(a.serviceName),1),e.createElementVNode("div",{class:e.normalizeClass(["x-chat-service-status",{"x-chat-service-status--online":a.serviceOnline}])},[x[1]||(x[1]=e.createElementVNode("span",{class:"x-chat-status-dot"},null,-1)),e.createTextVNode(" "+e.toDisplayString(a.serviceOnline?"在线":"离线"),1)],2)])]),e.renderSlot(M.$slots,"header-extra",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{ref_key:"messagesContainer",ref:n,class:"x-chat-messages",style:e.normalizeStyle({height:a.height})},[a.messages.length===0?(e.openBlock(),e.createElementBlock("div",To,[e.createVNode(e.unref(U.Icon),{icon:"mdi:chat-outline"}),e.createElementVNode("p",null,e.toDisplayString(a.emptyText),1)])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.messages,(P,_)=>(e.openBlock(),e.createElementBlock("div",{key:P.id||_,class:"x-chat-message-wrapper"},[H(P,_)?(e.openBlock(),e.createElementBlock("div",Do,[e.createElementVNode("span",null,e.toDisplayString(I(P.timestamp)),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["x-chat-message",{"x-chat-message--user":P.type==="user","x-chat-message--service":P.type==="service","x-chat-message--system":P.type==="system"}])},[P.type==="system"?(e.openBlock(),e.createElementBlock("div",Lo,e.toDisplayString(P.content),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[P.avatar?(e.openBlock(),e.createElementBlock("div",zo,[e.createElementVNode("img",{src:P.avatar,alt:P.type},null,8,_o)])):e.createCommentVNode("",!0),e.createElementVNode("div",Ao,[e.createElementVNode("div",Io,[P.content?(e.openBlock(),e.createElementBlock("div",Yo,e.toDisplayString(P.content),1)):e.createCommentVNode("",!0),P.image?(e.openBlock(),e.createElementBlock("div",Oo,[e.createElementVNode("img",{src:P.image,alt:P.content,onClick:q=>D(P.image)},null,8,Xo)])):e.createCommentVNode("",!0),P.product?(e.openBlock(),e.createElementBlock("div",{key:2,class:"x-chat-product-card",onClick:q=>V(P.product)},[e.createElementVNode("img",{src:P.product.image,alt:P.product.name,class:"x-chat-product-image"},null,8,Fo),e.createElementVNode("div",Ho,[e.createElementVNode("div",Wo,e.toDisplayString(P.product.name),1),e.createElementVNode("div",Go,"¥"+e.toDisplayString(P.product.price),1)])],8,Ro)):e.createCommentVNode("",!0)]),e.createElementVNode("div",Ko,[P.status==="sending"?(e.openBlock(),e.createElementBlock("span",Uo,[e.createVNode(e.unref(U.Icon),{icon:"eos-icons:loading"})])):P.status==="failed"?(e.openBlock(),e.createElementBlock("span",{key:1,class:"x-chat-message-failed",onClick:q=>A(P)},[e.createVNode(e.unref(U.Icon),{icon:"mdi:alert-circle"}),x[2]||(x[2]=e.createTextVNode(" 重发 ",-1))],8,qo)):P.status==="sent"&&P.type==="user"?(e.openBlock(),e.createElementBlock("span",Zo,e.toDisplayString(R(P.timestamp)),1)):(e.openBlock(),e.createElementBlock("span",Qo,e.toDisplayString(R(P.timestamp)),1))])])],64))],2)]))),128)),e.createVNode(e.Transition,{name:"x-chat-typing"},{default:e.withCtx(()=>[a.isTyping?(e.openBlock(),e.createElementBlock("div",Jo,[a.serviceAvatar?(e.openBlock(),e.createElementBlock("div",eu,[e.createElementVNode("img",{src:a.serviceAvatar,alt:"客服"},null,8,lu)])):e.createCommentVNode("",!0),x[3]||(x[3]=e.createElementVNode("div",{class:"x-chat-message-content"},[e.createElementVNode("div",{class:"x-chat-message-bubble"},[e.createElementVNode("div",{class:"x-chat-typing-indicator"},[e.createElementVNode("span"),e.createElementVNode("span"),e.createElementVNode("span")])])],-1))])):e.createCommentVNode("",!0)]),_:1})],4),a.showInput?(e.openBlock(),e.createElementBlock("div",au,[a.quickReplies.length>0&&a.showQuickReplies?(e.openBlock(),e.createElementBlock("div",tu,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.quickReplies,(P,_)=>(e.openBlock(),e.createBlock(de,{key:_,size:"small",type:"text",onClick:q=>B(P)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(P),1)]),_:2},1032,["onClick"]))),128))])):e.createCommentVNode("",!0),e.createElementVNode("div",nu,[a.showToolbar?(e.openBlock(),e.createElementBlock("div",ou,[e.createElementVNode("button",{class:"x-chat-tool-btn",onClick:w,title:d.value?"关闭表情":"选择表情"},[e.createVNode(e.unref(U.Icon),{icon:"mdi:emoticon-happy-outline"})],8,uu),a.enableImage?(e.openBlock(),e.createElementBlock("button",{key:0,class:"x-chat-tool-btn",onClick:N,title:"发送图片"},[e.createVNode(e.unref(U.Icon),{icon:"mdi:image-outline"})])):e.createCommentVNode("",!0),a.enableProduct?(e.openBlock(),e.createElementBlock("button",{key:1,class:"x-chat-tool-btn",onClick:g,title:"发送商品"},[e.createVNode(e.unref(U.Icon),{icon:"mdi:package-variant"})])):e.createCommentVNode("",!0),e.createElementVNode("input",{ref_key:"fileInput",ref:t,type:"file",accept:"image/*",style:{display:"none"},onChange:$},null,544)])):e.createCommentVNode("",!0),e.createElementVNode("div",su,[e.withDirectives(e.createElementVNode("textarea",{ref_key:"inputRef",ref:o,"onUpdate:modelValue":x[0]||(x[0]=P=>i.value=P),class:"x-chat-input",rows:"1",style:e.normalizeStyle(c.value),placeholder:a.placeholder,disabled:a.disabled,maxlength:a.maxLength,onKeydown:[e.withKeys(e.withModifiers(s,["exact"]),["enter"]),e.withKeys(e.withModifiers(v,["ctrl","exact"]),["enter"])],onInput:p,onFocus:y,onBlur:C},null,44,cu),[[e.vModelText,i.value]]),a.showWordCount?(e.openBlock(),e.createElementBlock("div",ru,e.toDisplayString(i.value.length)+"/"+e.toDisplayString(a.maxLength),1)):e.createCommentVNode("",!0)]),e.createVNode(de,{type:"primary",disabled:!m.value,onClick:h,icon:"mdi:send",title:a.sendOnEnter?"Enter发送,Ctrl+Enter换行":"Ctrl+Enter发送",class:"x-chat-send-btn"},null,8,["disabled","title"])]),e.createVNode(e.Transition,{name:"x-chat-emoji"},{default:e.withCtx(()=>[d.value?(e.openBlock(),e.createElementBlock("div",iu,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(k,P=>e.createElementVNode("button",{key:P,class:"x-chat-emoji-btn",onClick:_=>S(P)},e.toDisplayString(P),9,vu)),64))])):e.createCommentVNode("",!0)]),_:1})])):e.createCommentVNode("",!0)],6))}}),bu=K(du,[["__scopeId","data-v-beb389a2"]]),gu=["src","alt"],mu={class:"x-image-preview"},fu={key:0,class:"x-image-counter"},hu=["disabled"],pu=["src","alt"],yu=["disabled"],ku=e.defineComponent({__name:"index",props:{src:{},alt:{default:""},width:{default:"100%"},height:{default:"auto"},radius:{default:"8px"},fit:{default:"cover"},hoverZoom:{type:Boolean,default:!0},preview:{type:Boolean,default:!1},previewList:{default:()=>[]},previewIndex:{default:0}},emits:["error","load","open","close","change"],setup(a,{emit:f}){const u=a,l=f,b=e.ref(!0),o=e.ref(!1),i=e.computed(()=>({width:u.width,height:u.height,borderRadius:u.radius})),r=e.computed(()=>({objectFit:u.fit}));function c(S){b.value=!1,l("load",S)}function t(S){b.value=!1,o.value=!0,l("error",S)}const n=e.ref(!1),d=e.ref(u.previewIndex),k=e.computed(()=>u.previewList&&u.previewList.length>0),m=e.computed(()=>k.value?u.previewList[d.value]:u.src),h=e.computed(()=>k.value&&d.value>0),s=e.computed(()=>k.value&&d.value<u.previewList.length-1);function v(){u.preview&&(n.value=!0,l("open",d.value))}function p(){n.value=!1,l("close")}function y(){h.value&&(d.value-=1,l("change",d.value))}function C(){s.value&&(d.value+=1,l("change",d.value))}function w(S){n.value&&(S.key==="Escape"&&p(),S.key==="ArrowLeft"&&y(),S.key==="ArrowRight"&&C())}return e.onMounted(()=>{window.addEventListener("keydown",w)}),e.onUnmounted(()=>{window.removeEventListener("keydown",w)}),e.watch(()=>u.previewIndex,S=>{typeof S=="number"&&(d.value=S)}),(S,N)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["x-image",[{"is-loading":b.value},{"is-error":o.value},{"hover-zoom":a.hoverZoom},{"can-preview":a.preview}]]),style:e.normalizeStyle(i.value)},[o.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:"x-image-fallback",onClick:v},[e.renderSlot(S.$slots,"error",{},()=>[N[0]||(N[0]=e.createTextVNode("图片加载失败",-1))],!0)])):(e.openBlock(),e.createElementBlock("img",{key:0,src:a.src,alt:a.alt,style:e.normalizeStyle(r.value),onLoad:c,onError:t,onClick:v},null,44,gu)),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[n.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"x-image-preview-mask",onClick:e.withModifiers(p,["self"])},[e.createElementVNode("div",mu,[k.value?(e.openBlock(),e.createElementBlock("div",fu,e.toDisplayString(d.value+1)+" / "+e.toDisplayString(u.previewList.length),1)):e.createCommentVNode("",!0),e.createElementVNode("button",{class:"x-image-prev",onClick:e.withModifiers(y,["stop"]),disabled:!h.value},"‹",8,hu),e.createElementVNode("img",{src:m.value,alt:a.alt},null,8,pu),e.createElementVNode("button",{class:"x-image-next",onClick:e.withModifiers(C,["stop"]),disabled:!s.value},"›",8,yu),e.createElementVNode("button",{class:"x-image-close",onClick:e.withModifiers(p,["stop"])},"✕")])])):e.createCommentVNode("",!0)]))],6))}}),Cu=K(ku,[["__scopeId","data-v-9ed43670"]]),he=()=>{const a=()=>{let t=document.getElementById("xl-message-container");return t||(t=document.createElement("div"),t.id="xl-message-container",t.style.cssText=`
|
|
3
3
|
position: fixed;
|
|
4
4
|
top: 20px;
|
|
5
5
|
right: 20px;
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-direction: column;
|
|
9
9
|
gap: 10px;
|
|
10
|
-
`,document.body.appendChild(
|
|
11
|
-
background-color: ${
|
|
12
|
-
border: 1px solid ${
|
|
13
|
-
color: ${
|
|
10
|
+
`,document.body.appendChild(t)),t},f=t=>{const n={success:{bgColor:"#f0fdf4",borderColor:"#86efac",textColor:"#166534",iconColor:"#22c55e",iconSvg:'<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>'},error:{bgColor:"#fef2f2",borderColor:"#fca5a5",textColor:"#991b1b",iconColor:"#ef4444",iconSvg:'<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/></svg>'},warning:{bgColor:"#fefce8",borderColor:"#fde047",textColor:"#854d0e",iconColor:"#eab308",iconSvg:'<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor"><path d="M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"/></svg>'},info:{bgColor:"#f8fafc",borderColor:"#cbd5e1",textColor:"#1e293b",iconColor:"#64748b",iconSvg:'<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/></svg>'}};return n[t]||n.info},u=t=>{const n=a(),d=t.type||"info",k=t.duration!==void 0?t.duration:3e3,m=f(d),h=`xl-msg-${Date.now()}-${Math.random().toString(36).substr(2,9)}`,s=document.createElement("div");s.id=h,s.style.cssText=`
|
|
11
|
+
background-color: ${m.bgColor};
|
|
12
|
+
border: 1px solid ${m.borderColor};
|
|
13
|
+
color: ${m.textColor};
|
|
14
14
|
border-radius: 12px;
|
|
15
15
|
padding: 16px;
|
|
16
16
|
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
|
|
@@ -19,29 +19,29 @@
|
|
|
19
19
|
opacity: 0;
|
|
20
20
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
21
21
|
pointer-events: auto;
|
|
22
|
-
`,
|
|
22
|
+
`,s.innerHTML=`
|
|
23
23
|
<div style="display: flex; align-items: flex-start; gap: 12px;">
|
|
24
|
-
<div style="flex-shrink: 0; color: ${
|
|
25
|
-
${
|
|
24
|
+
<div style="flex-shrink: 0; color: ${m.iconColor}; margin-top: 2px;">
|
|
25
|
+
${m.iconSvg}
|
|
26
26
|
</div>
|
|
27
27
|
<div style="flex: 1; min-width: 0;">
|
|
28
|
-
<div style="font-size: 14px; font-weight: 500; line-height: 1.5; color: ${
|
|
29
|
-
${
|
|
28
|
+
<div style="font-size: 14px; font-weight: 500; line-height: 1.5; color: ${m.textColor};">
|
|
29
|
+
${t.title}
|
|
30
30
|
</div>
|
|
31
|
-
${
|
|
31
|
+
${t.content?`<div style="margin-top: 4px; font-size: 13px; line-height: 1.5; color: ${m.textColor}; opacity: 0.8;">${t.content}</div>`:""}
|
|
32
32
|
</div>
|
|
33
33
|
<button
|
|
34
|
-
style="flex-shrink: 0; background: none; border: none; padding: 4px; cursor: pointer; color: ${
|
|
34
|
+
style="flex-shrink: 0; background: none; border: none; padding: 4px; cursor: pointer; color: ${m.textColor}; opacity: 0.5; border-radius: 4px; transition: all 0.15s; display: flex; align-items: center; justify-content: center;"
|
|
35
35
|
onmouseover="this.style.opacity='1'; this.style.backgroundColor='rgba(0,0,0,0.05)';"
|
|
36
36
|
onmouseout="this.style.opacity='0.5'; this.style.backgroundColor='transparent';"
|
|
37
|
-
onclick="document.getElementById('${
|
|
37
|
+
onclick="document.getElementById('${h}')?.remove()"
|
|
38
38
|
>
|
|
39
39
|
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round">
|
|
40
40
|
<path d="M18 6L6 18M6 6l12 12"/>
|
|
41
41
|
</svg>
|
|
42
42
|
</button>
|
|
43
43
|
</div>
|
|
44
|
-
`,
|
|
44
|
+
`,n.appendChild(s),requestAnimationFrame(()=>{requestAnimationFrame(()=>{s.style.transform="translateX(0)",s.style.opacity="1"})}),k>0&&setTimeout(()=>{l(h)},k)},l=t=>{const n=document.getElementById(t);n&&(n.style.transform="translateX(100%)",n.style.opacity="0",setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n)},300))};return{show:u,confirm:t=>{const n=t.type||"info",d=f(n),k=`xl-confirm-${Date.now()}`,m=document.createElement("div");m.id=k,m.style.cssText=`
|
|
45
45
|
position: fixed;
|
|
46
46
|
inset: 0;
|
|
47
47
|
z-index: 9999;
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
opacity: 0;
|
|
53
53
|
transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
54
54
|
backdrop-filter: blur(4px);
|
|
55
|
-
`;const
|
|
55
|
+
`;const h=`
|
|
56
56
|
<div class="xl-confirm-dialog" style="
|
|
57
57
|
background-color: white;
|
|
58
58
|
border-radius: 12px;
|
|
@@ -66,17 +66,17 @@
|
|
|
66
66
|
">
|
|
67
67
|
<div style="padding: 24px;">
|
|
68
68
|
<div style="display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px;">
|
|
69
|
-
<div style="flex-shrink: 0; color: ${
|
|
70
|
-
${
|
|
69
|
+
<div style="flex-shrink: 0; color: ${d.iconColor}; margin-top: 2px;">
|
|
70
|
+
${d.iconSvg}
|
|
71
71
|
</div>
|
|
72
72
|
<div style="flex: 1;">
|
|
73
73
|
<h3 style="font-size: 18px; font-weight: 600; color: #1a1a1a; line-height: 1.5; margin: 0;">
|
|
74
|
-
${
|
|
74
|
+
${t.title}
|
|
75
75
|
</h3>
|
|
76
76
|
</div>
|
|
77
77
|
</div>
|
|
78
78
|
<div style="font-size: 14px; color: #64748b; line-height: 1.6; margin-bottom: 24px; padding-left: 36px;">
|
|
79
|
-
${
|
|
79
|
+
${t.content}
|
|
80
80
|
</div>
|
|
81
81
|
<div style="display: flex; justify-content: flex-end; gap: 12px;">
|
|
82
82
|
<button class="xl-confirm-cancel" style="
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
onmouseout="this.style.backgroundColor='white'; this.style.borderColor='#cacaca'; this.style.color='#1a1a1a'; this.style.boxShadow='0 1px 2px rgba(26, 26, 26, 0.05)'; this.style.transform='translateY(0)';"
|
|
100
100
|
onmousedown="this.style.transform='translateY(1px)'; this.style.boxShadow='0 2px 4px rgba(0, 0, 0, 0.1)';"
|
|
101
101
|
onmouseup="this.style.transform='translateY(-2px)';">
|
|
102
|
-
${
|
|
102
|
+
${t.cancelText||"取消"}
|
|
103
103
|
</button>
|
|
104
104
|
<button class="xl-confirm-ok" style="
|
|
105
105
|
padding: 8px 16px;
|
|
@@ -121,12 +121,12 @@
|
|
|
121
121
|
onmouseout="this.style.background='linear-gradient(135deg, #1a1a1a 0%, #3a3a3a 100%)'; this.style.boxShadow='0 4px 12px rgba(26, 26, 26, 0.3)'; this.style.transform='translateY(0)';"
|
|
122
122
|
onmousedown="this.style.transform='translateY(1px)'; this.style.boxShadow='0 2px 4px rgba(0, 0, 0, 0.1)';"
|
|
123
123
|
onmouseup="this.style.transform='translateY(-2px)';">
|
|
124
|
-
${
|
|
124
|
+
${t.confirmText||"确认"}
|
|
125
125
|
</button>
|
|
126
126
|
</div>
|
|
127
127
|
</div>
|
|
128
128
|
</div>
|
|
129
|
-
`;
|
|
129
|
+
`;m.innerHTML=h,document.body.appendChild(m),requestAnimationFrame(()=>{m.style.opacity="1";const C=m.querySelector(".xl-confirm-dialog");C&&requestAnimationFrame(()=>{C.style.transform="scale(1)",C.style.opacity="1"})});const s=m.querySelector(".xl-confirm-ok"),v=m.querySelector(".xl-confirm-cancel"),p=()=>{const C=m.querySelector(".xl-confirm-dialog");C&&(C.style.transform="scale(0.95)",C.style.opacity="0"),m.style.opacity="0",setTimeout(()=>{m.parentNode&&m.parentNode.removeChild(m)},300)};s==null||s.addEventListener("click",()=>{var C;(C=t.onConfirm)==null||C.call(t),p()}),v==null||v.addEventListener("click",()=>{var C;(C=t.onCancel)==null||C.call(t),p()}),m.addEventListener("click",C=>{var w;C.target===m&&((w=t.onCancel)==null||w.call(t),p())});const y=C=>{var w;C.key==="Escape"&&((w=t.onCancel)==null||w.call(t),p(),document.removeEventListener("keydown",y))};document.addEventListener("keydown",y)},success:(t,n,d)=>{u({title:t,content:n,type:"success",duration:d})},error:(t,n,d)=>{u({title:t,content:n,type:"error",duration:d})},warning:(t,n,d)=>{u({title:t,content:n,type:"warning",duration:d})},info:(t,n,d)=>{u({title:t,content:n,type:"info",duration:d})},remove:l}},pe=()=>{const a=()=>{let c=document.getElementById("xl-alert-container");return c||(c=document.createElement("div"),c.id="xl-alert-container",c.style.cssText=`
|
|
130
130
|
position: fixed;
|
|
131
131
|
top: 5%;
|
|
132
132
|
left: 50%;
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
gap: 12px;
|
|
138
138
|
max-width: 90%;
|
|
139
139
|
width: 500px;
|
|
140
|
-
`,document.body.appendChild(
|
|
140
|
+
`,document.body.appendChild(c)),c},f=c=>{const t={success:{bgColor:"rgb(240, 253, 244)",darkBgColor:"rgb(20, 83, 45)",borderColor:"rgb(134, 239, 172)",darkBorderColor:"rgb(22, 101, 52)",textColor:"rgb(22, 101, 52)",darkTextColor:"rgb(187, 247, 208)",iconColor:"rgb(34, 197, 94)",iconSvg:`<svg stroke="currentColor" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
141
141
|
<path d="M13 16h-1v-4h1m0-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"></path>
|
|
142
142
|
</svg>`},error:{bgColor:"rgb(254, 242, 242)",darkBgColor:"rgb(127, 29, 29)",borderColor:"rgb(252, 165, 165)",darkBorderColor:"rgb(153, 27, 27)",textColor:"rgb(153, 27, 27)",darkTextColor:"rgb(254, 202, 202)",iconColor:"rgb(239, 68, 68)",iconSvg:`<svg stroke="currentColor" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
143
143
|
<path d="M13 16h-1v-4h1m0-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"></path>
|
|
@@ -145,10 +145,10 @@
|
|
|
145
145
|
<path d="M13 16h-1v-4h1m0-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"></path>
|
|
146
146
|
</svg>`},info:{bgColor:"rgb(239, 246, 255)",darkBgColor:"rgb(30, 58, 138)",borderColor:"rgb(147, 197, 253)",darkBorderColor:"rgb(29, 78, 216)",textColor:"rgb(30, 64, 175)",darkTextColor:"rgb(191, 219, 254)",iconColor:"rgb(59, 130, 246)",iconSvg:`<svg stroke="currentColor" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
147
147
|
<path d="M13 16h-1v-4h1m0-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"></path>
|
|
148
|
-
</svg>`}};return
|
|
149
|
-
background-color: ${
|
|
150
|
-
border-left: 4px solid ${
|
|
151
|
-
color: ${
|
|
148
|
+
</svg>`}};return t[c]||t.info},u=()=>window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,l=c=>{const t=a(),n=c.type||"info",d=c.duration!==void 0?c.duration:5e3,k=c.closable!==void 0?c.closable:!0,m=f(n),h=u(),s=`xl-alert-${Date.now()}-${Math.random().toString(36).substr(2,9)}`,v=document.createElement("div");v.id=s,v.setAttribute("role","alert"),v.style.cssText=`
|
|
149
|
+
background-color: ${h?m.darkBgColor:m.bgColor};
|
|
150
|
+
border-left: 4px solid ${h?m.darkBorderColor:m.borderColor};
|
|
151
|
+
color: ${h?m.darkTextColor:m.textColor};
|
|
152
152
|
padding: 16px;
|
|
153
153
|
border-radius: 12px;
|
|
154
154
|
display: flex;
|
|
@@ -158,21 +158,21 @@
|
|
|
158
158
|
transform: scale(0.8);
|
|
159
159
|
opacity: 0;
|
|
160
160
|
position: relative;
|
|
161
|
-
`;let
|
|
162
|
-
<div style="color: ${
|
|
163
|
-
${
|
|
161
|
+
`;let p=`
|
|
162
|
+
<div style="color: ${m.iconColor}; width: 20px; height: 20px; flex-shrink: 0; margin-right: 12px;">
|
|
163
|
+
${m.iconSvg}
|
|
164
164
|
</div>
|
|
165
165
|
<div style="flex: 1;">
|
|
166
|
-
${
|
|
167
|
-
<p style="font-size: ${
|
|
166
|
+
${c.title?`<p style="font-weight: 600; font-size: 14px; margin-bottom: 4px;">${c.title}</p>`:""}
|
|
167
|
+
<p style="font-size: ${c.title?"13px":"14px"}; font-weight: ${c.title?"400":"600"};">${c.content}</p>
|
|
168
168
|
</div>
|
|
169
|
-
`;
|
|
169
|
+
`;k&&(p+=`
|
|
170
170
|
<button
|
|
171
171
|
class="xl-alert-close"
|
|
172
172
|
style="
|
|
173
173
|
background: transparent;
|
|
174
174
|
border: none;
|
|
175
|
-
color: ${
|
|
175
|
+
color: ${h?m.darkTextColor:m.textColor};
|
|
176
176
|
cursor: pointer;
|
|
177
177
|
padding: 4px;
|
|
178
178
|
margin-left: 8px;
|
|
@@ -193,4 +193,4 @@
|
|
|
193
193
|
<line x1="6" y1="6" x2="18" y2="18"></line>
|
|
194
194
|
</svg>
|
|
195
195
|
</button>
|
|
196
|
-
`),v.innerHTML=
|
|
196
|
+
`),v.innerHTML=p;const y=()=>{v.style.transform="scale(0.8)",v.style.opacity="0",setTimeout(()=>{v.parentNode&&t.removeChild(v),t.children.length===0&&document.body.removeChild(t)},300)};if(k){const C=v.querySelector(".xl-alert-close");C&&C.addEventListener("click",y)}return t.appendChild(v),setTimeout(()=>{v.style.transform="scale(1)",v.style.opacity="1"},10),d>0&&setTimeout(y,d),{close:y}};return{show:l,success:(c,t)=>l({content:c,type:"success",...t}),error:(c,t)=>l({content:c,type:"error",...t}),warning:(c,t)=>l({content:c,type:"warning",...t}),info:(c,t)=>l({content:c,type:"info",...t})}},wu=he(),xu=pe(),Eu=be();exports.Alert=xu;exports.DateTime=Eu;exports.Msg=wu;exports.XAccordion=ia;exports.XAdvancedGrid=je;exports.XBadge=Bo;exports.XButton=de;exports.XCard=hl;exports.XChat=bu;exports.XCheckboxes=ta;exports.XColor=xo;exports.XCountrySelect=Bl;exports.XDateTimePicker=dn;exports.XDynamicMech=je;exports.XFirework=On;exports.XForm=vo;exports.XFormItem=ho;exports.XGButton=Wn;exports.XGrid=qn;exports.XImage=Cu;exports.XInput=Kl;exports.XModal=Sa;exports.XQrcode=to;exports.XRadio=ot;exports.XRegionCascader=In;exports.XScore=Ha;exports.XSegmented=co;exports.XSelect=Fl;exports.XSkeleton=pa;exports.XSwitch=Aa;exports.XThumbnailContainer=fa;exports.XTooltips=Pa;exports.useAlert=pe;exports.useCountdown=Nt;exports.useDateRange=Vt;exports.useDateTime=be;exports.useDateTimeDefault=be;exports.useMsg=he;exports.xlAlert=pe;exports.xlMsg=he;
|