import{c as s,d as t,b as o,D as e,o as n,e as r,f as a,E as c,p as $,g as i,h as l,i as m,j as f,k as p,F as h,l as g,m as u,A as d,y as j,G as w,a as k}from"./chunk.82446879.js";import{i as v}from"./chunk.f5a3f321.js";import"./chunk.e8a2e241.js";import{a as b}from"./chunk.4b4ee497.js";import"./chunk.b01e898f.js";import{a as x}from"./chunk.fb378401.js";import{a as P}from"./chunk.94a6e723.js";function C(s){let t,o;const n=new v({props:{color:I,switchs:!1}});return n.$on("change",V),{c(){t=r("div"),e(n.$$.fragment),this.h()},l(s){t=i(s,"DIV",{slot:!0});var o=l(t);c(n.$$.fragment,o),o.forEach(f),this.h()},h(){p(t,"slot","preview")},m(s,e){g(s,t,e),h(n,t,null),o=!0},p:k,i(s){o||(d(n.$$.fragment,s),o=!0)},o(s){j(n.$$.fragment,s),o=!1},d(s){s&&f(t),w(n)}}}function E(s){let t,o;const n=new v({props:{color:I,mode:"2"}});return{c(){t=r("div"),e(n.$$.fragment),this.h()},l(s){t=i(s,"DIV",{slot:!0});var o=l(t);c(n.$$.fragment,o),o.forEach(f),this.h()},h(){p(t,"slot","preview")},m(s,e){g(s,t,e),h(n,t,null),o=!0},p:k,i(s){o||(d(n.$$.fragment,s),o=!0)},o(s){j(n.$$.fragment,s),o=!1},d(s){s&&f(t),w(n)}}}function y(s){let t,o,k,v,y,D,I,V,A;const F=new b({props:{title:"ColorPicker",subtitle:"拾色器"}}),G=new x({props:{code:"