1import{S as E,i as F,s as G,F as B,G as I,H,B as d,O as S,f as v,D as k,I as O,J,E as q,p,q as T,c as C,m as j,o as _,t as b,l as w,v as y,a2 as z,b as A,a as K,g as L,h as M,k as P,n as Q,j as R,x as U}from"./index.42794ed1.js";/* empty css *//* empty css */import{B as V}from"./Block.11222543.js";import{I as W}from"./Info.bc3d1944.js";/* empty css */import"./Button.aae63f02.js";function X(l){let e,t,a,s,f,c,r;return{c(){e=B("label"),t=B("input"),a=I(),s=B("span"),f=H(l[2]),t.disabled=l[1],d(t,"type","checkbox"),d(t,"name","test"),d(t,"data-testid","checkbox"),d(t,"class","svelte-1623jum"),d(s,"class","ml-2 svelte-1623jum"),d(e,"class","svelte-1623jum"),S(e,"disabled",l[1])},m(u,n){v(u,e,n),k(e,t),t.checked=l[0],k(e,a),k(e,s),k(s,f),c||(r=O(t,"change",l[3]),c=!0)},p(u,[n]){n&2&&(t.disabled=u[1]),n&1&&(t.checked=u[0]),n&4&&J(f,u[2]),n&2&&S(e,"disabled",u[1])},i:q,o:q,d(u){u&&p(e),c=!1,r()}}}function Y(l,e,t){let{value:a}=e,{disabled:s=!1}=e,{label:f}=e;const c=T();function r(n){c("change",n)}function u(){a=this.checked,t(0,a)}return l.$$set=n=>{"value"in n&&t(0,a=n.value),"disabled"in n&&t(1,s=n.disabled),"label"in n&&t(2,f=n.label)},l.$$.update=()=>{l.$$.dirty&1&&r(a)},[a,s,f,u]}
1class Z extends E{constructor(e){super(),F(this,e,Y,X,G,{value:0,disabled:1,label:2})}}function D(l){let e,t;return e=new W({props:{$$slots:{default:[x]},$$scope:{ctx:l}}}),{c(){C(e.$$.fragment)},m(a,s){j(e,a,s),t=!0},p(a,s){const f={};s&1040&&(f.$$scope={dirty:s,ctx:a}),e.$set(f)},i(a){t||(_(e.$$.fragment,a),t=!0)},o(a){b(e.$$.fragment,a),t=!1},d(a){w(e,a)}}}function x(l){let e;return{c(){e=H(l[4])},m(t,a){v(t,e,a)},p(t,a){a&16&&J(e,t[4])},d(t){t&&p(e)}}}function $(l){let e,t,a,s,f,c;const r=[l[7]];let u={};for(let i=0;i<r.length;i+=1)u=y(u,r[i]);e=new z({props:u});let n=l[4]&&D(l);function m(i){l[8](i)}let g={label:l[3],disabled:l[5]==="static"};return l[0]!==void 0&&(g.value=l[0]),s=new Z({props:g}),A.push(()=>K(s,"value",m)),s.$on("change",l[9]),{c(){C(e.$$.fragment),t=I(),n&&n.c(),a=I(),C(s.$$.fragment)},m(i,o){j(e,i,o),v(i,t,o),n&&n.m(i,o),v(i,a,o),j(s,i,o),c=!0},p(i,o){const N=o&128?L(r,[M(i[7])]):{};e.$set(N),i[4]?n?(n.p(i,o),o&16&&_(n,1)):(n=D(i),n.c(),_(n,1),n.m(a.parentNode,a)):n&&(P(),b(n,1,1,()=>{n=null}),Q());const h={};o&8&&(h.label=i[3]),o&32&&(h.disabled=i[5]==="static"),!f&&o&1&&(f=!0,h.value=i[0],R(()=>f=!1)),s.$set(h)},i(i){c||(_(e.$$.fragment,i),_(n),_(s.$$.fragment,i),c=!0)},o(i){b(e.$$.fragment,i),b(n),b(s.$$.fragment,i),c=!1},d(i){w(e,i),i&&p(t),n&&n.d(i),i&&p(a),w(s,i)}}}function ee(l){let e,t;return e=new V({props:{visible:l[2],elem_id:l[1],disable:typeof l[6].container=="boolean"&&!l[6].container,$$slots:{default:[$]},$$scope:{ctx:l}}}),{c(){C(e.$$.fragment)},m(a,s){j(e,a,s),t=!0},p(a,[s]){const f={};s&4&&(f.visible=a[2]),s&2&&(f.elem_id=a[1]),s&64&&(f.disable=typeof a[6].container=="boolean"&&!a[6].container),s&1209&&(f.$$scope={dirty:s,ctx:a}),e.$set(f)},i(a){t||(_(e.$$.fragment,a),t=!0)},o(a){b(e.$$.fragment,a),t=!1},d(a){w(e,a)}}}function te(l,e,t){let{elem_id:a=""}=e,{visible:s=!0}=e,{value:f=!1}=e,{label:c="Checkbox"}=e,{info:r=void 0}=e,{mode:u}=e,{style:n={}}=e,{loading_status:m}=e;function g(o){f=o,t(0,f)}function i(o){U.call(this,l,o)}return l.$$set=o=>{"elem_id"in o&&t(1,a=o.elem_id),"visible"in o&&t(2,s=o.visible),"value"in o&&t(0,f=o.value),"label"in o&&t(3,c=o.label),"info"in o&&t(4,r=o.info),"mode"in o&&t(5,u=o.mode),"style"in o&&t(6,n=o.style),"loading_status"in o&&t(7,m=o.loading_status)},[f,a,s,c,r,u,n,m,g,i]}class ae extends E{constructor(e){super(),F(this,e,te,ee,G,{elem_id:1,visible:2,value:0,label:3,info:4,mode:5,style:6,loading_status:7})}}var ce=ae;const re=["static","dynamic"],_e=l=>({type:{payload:"boolean"},description:{payload:"checked status"},example_data:l.value});export{ce as Component,_e as document,re as modes}; 2//# sourceMappingURL=index.4568d337.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.