@budibase/server 3.13.17 → 3.13.18

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.
@@ -1039,7 +1039,7 @@ Use Save As... to download, then click back to return to this page.`)&&(location
1039
1039
  from.
1040
1040
  `),eo=element("br"),no=text(`
1041
1041
  Please ensure you have enabled row selection in the table settings.`)},m(ro,oo){insert$1(ro,ue,oo),insert$1(ro,eo,oo),insert$1(ro,no,oo)},p:noop$5,d(ro){ro&&(detach(ue),detach(eo),detach(no))}}}function create_default_slot_2$1X(to){let ue;return{c(){ue=text("Table")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot_1$2D(to){let ue;return{c(){ue=text("Export as")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot$3D(to){let ue;return{c(){ue=text("Export columns")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_fragment$5L(to){let ue,eo,no,ro,oo,io,so,ao,lo,uo,co,fo,po,mo,_o,ho,go,bo,vo,$o,wo,ko,So;eo=new Body({props:{size:"S",$$slots:{default:[create_default_slot_3$1A]},$$scope:{ctx:to}}}),oo=new Label({props:{small:!0,$$slots:{default:[create_default_slot_2$1X]},$$scope:{ctx:to}}});function To(Do){to[8](Do)}let Io={options:to[2]};to[0].tableComponentId!==void 0&&(Io.value=to[0].tableComponentId),so=new Select_1$1({props:Io}),binding_callbacks.push(()=>bind$2(so,"value",To)),so.$on("change",to[9]),fo=new Label({props:{small:!0,$$slots:{default:[create_default_slot_1$2D]},$$scope:{ctx:to}}});function Ao(Do){to[10](Do)}let Eo={options:to[3]};to[0].type!==void 0&&(Eo.value=to[0].type),mo=new Select_1$1({props:Eo}),binding_callbacks.push(()=>bind$2(mo,"value",Ao));function Lo(Do){to[11](Do)}let No={placeholder:null,options:to[4],disabled:to[0].type!=="csv"};return to[0].delimiter!==void 0&&(No.value=to[0].delimiter),go=new Select_1$1({props:No}),binding_callbacks.push(()=>bind$2(go,"value",Lo)),$o=new Label({props:{small:!0,$$slots:{default:[create_default_slot$3D]},$$scope:{ctx:to}}}),ko=new ColumnEditor({props:{value:to[0].columns,allowCellEditing:!1,componentInstance:to[1]}}),ko.$on("change",to[12]),{c(){ue=element("div"),create_component(eo.$$.fragment),no=space$1(),ro=element("div"),create_component(oo.$$.fragment),io=space$1(),create_component(so.$$.fragment),lo=space$1(),uo=element("span"),co=space$1(),create_component(fo.$$.fragment),po=space$1(),create_component(mo.$$.fragment),ho=space$1(),create_component(go.$$.fragment),vo=space$1(),create_component($o.$$.fragment),wo=space$1(),create_component(ko.$$.fragment),attr(ro,"class","params svelte-6p4bog"),attr(ue,"class","root svelte-6p4bog")},m(Do,Po){insert$1(Do,ue,Po),mount_component(eo,ue,null),append$2(ue,no),append$2(ue,ro),mount_component(oo,ro,null),append$2(ro,io),mount_component(so,ro,null),append$2(ro,lo),append$2(ro,uo),append$2(ro,co),mount_component(fo,ro,null),append$2(ro,po),mount_component(mo,ro,null),append$2(ro,ho),mount_component(go,ro,null),append$2(ro,vo),mount_component($o,ro,null),append$2(ro,wo),mount_component(ko,ro,null),So=!0},p(Do,[Po]){const Mo={};Po&8192&&(Mo.$$scope={dirty:Po,ctx:Do}),eo.$set(Mo);const Uo={};Po&8192&&(Uo.$$scope={dirty:Po,ctx:Do}),oo.$set(Uo);const Vo={};Po&4&&(Vo.options=Do[2]),!ao&&Po&1&&(ao=!0,Vo.value=Do[0].tableComponentId,add_flush_callback(()=>ao=!1)),so.$set(Vo);const Wo={};Po&8192&&(Wo.$$scope={dirty:Po,ctx:Do}),fo.$set(Wo);const Zo={};!_o&&Po&1&&(_o=!0,Zo.value=Do[0].type,add_flush_callback(()=>_o=!1)),mo.$set(Zo);const Yo={};Po&1&&(Yo.disabled=Do[0].type!=="csv"),!bo&&Po&1&&(bo=!0,Yo.value=Do[0].delimiter,add_flush_callback(()=>bo=!1)),go.$set(Yo);const xo={};Po&8192&&(xo.$$scope={dirty:Po,ctx:Do}),$o.$set(xo);const Go={};Po&1&&(Go.value=Do[0].columns),Po&2&&(Go.componentInstance=Do[1]),ko.$set(Go)},i(Do){So||(transition_in(eo.$$.fragment,Do),transition_in(oo.$$.fragment,Do),transition_in(so.$$.fragment,Do),transition_in(fo.$$.fragment,Do),transition_in(mo.$$.fragment,Do),transition_in(go.$$.fragment,Do),transition_in($o.$$.fragment,Do),transition_in(ko.$$.fragment,Do),So=!0)},o(Do){transition_out(eo.$$.fragment,Do),transition_out(oo.$$.fragment,Do),transition_out(so.$$.fragment,Do),transition_out(fo.$$.fragment,Do),transition_out(mo.$$.fragment,Do),transition_out(go.$$.fragment,Do),transition_out($o.$$.fragment,Do),transition_out(ko.$$.fragment,Do),So=!1},d(Do){Do&&detach(ue),destroy_component(eo),destroy_component(oo),destroy_component(so),destroy_component(fo),destroy_component(mo),destroy_component(go),destroy_component($o),destroy_component(ko)}}}function instance$5K(to,ue,eo){let no,ro,oo,io,so;component_subscribe(to,selectedScreen,ho=>eo(7,so=ho));let{parameters:ao}=ue;const lo=[{label:"CSV",value:"csv"},{label:"JSON",value:"json"}],uo=[{label:",",value:","},{label:";",value:";"},{label:":",value:":"},{label:"|",value:"|"},{label:"~",value:"~"},{label:"[tab]",value:" "},{label:"[space]",value:" "}];onMount(()=>{ao.type||eo(0,ao.type="csv",ao),ao.delimiter||eo(0,ao.delimiter=",",ao)});function co(ho){to.$$.not_equal(ao.tableComponentId,ho)&&(ao.tableComponentId=ho,eo(0,ao))}const fo=()=>eo(0,ao.columns=[],ao);function po(ho){to.$$.not_equal(ao.type,ho)&&(ao.type=ho,eo(0,ao))}function mo(ho){to.$$.not_equal(ao.delimiter,ho)&&(ao.delimiter=ho,eo(0,ao))}const _o=ho=>{const go=ho.detail;eo(0,ao.columns=go,ao),eo(0,ao.customHeaders=go.reduce((bo,vo)=>({[vo.name]:vo.displayName,...bo}),{}),ao)};return to.$$set=ho=>{"parameters"in ho&&eo(0,ao=ho.parameters)},to.$$.update=()=>{var ho;to.$$.dirty&128&&eo(6,no=findAllMatchingComponents(so==null?void 0:so.props,go=>{const bo=go._component;return bo.endsWith("/table")||bo.endsWith("/tableblock")||bo.endsWith("/gridblock")})),to.$$.dirty&64&&eo(2,ro=no.map(go=>({label:go._instanceName,value:go._component.endsWith("/tableblock")?`${go._id}-table`:go._id}))),to.$$.dirty&1&&eo(0,ao.rows=`{{ literal [${ao.tableComponentId}].[selectedRows] }}`,ao),to.$$.dirty&1&&eo(5,oo=(ho=ao.tableComponentId)!=null&&ho.includes("-")?ao.tableComponentId.split("-")[0]:ao.tableComponentId),to.$$.dirty&96&&eo(1,io=no.find(go=>go._id===oo))},[ao,io,ro,lo,uo,oo,no,so,co,fo,po,mo,_o]}class ExportData extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5K,create_fragment$5L,safe_not_equal,{parameters:0})}}const ContinueIf_svelte_svelte_type_style_lang="";function create_default_slot$3C(to){let ue;return{c(){ue=text(`Configure a condition to be evaluated which can stop further actions from
1042
- being executed.`)},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_fragment$5K(to){let ue,eo,no,ro,oo,io,so,ao,lo,uo,co,fo,po,mo;eo=new Body({props:{size:"S",$$slots:{default:[create_default_slot$3C]},$$scope:{ctx:to}}});function _o(wo){to[4](wo)}let ho={options:to[2],placeholder:null};to[0].type!==void 0&&(ho.value=to[0].type),ro=new Select_1$1({props:ho}),binding_callbacks.push(()=>bind$2(ro,"value",_o)),so=new DrawerBindableInput({props:{placeholder:"Value",value:to[0].value,bindings:to[1]}}),so.$on("change",to[5]);function go(wo){to[6](wo)}let bo={options:to[3],placeholder:null};to[0].operator!==void 0&&(bo.value=to[0].operator),lo=new Select_1$1({props:bo}),binding_callbacks.push(()=>bind$2(lo,"value",go));function vo(wo){to[7](wo)}let $o={placeholder:"Reference value",bindings:to[1]};return to[0].referenceValue!==void 0&&($o.value=to[0].referenceValue),fo=new DrawerBindableInput({props:$o}),binding_callbacks.push(()=>bind$2(fo,"value",vo)),fo.$on("change",to[8]),{c(){ue=element("div"),create_component(eo.$$.fragment),no=space$1(),create_component(ro.$$.fragment),io=space$1(),create_component(so.$$.fragment),ao=space$1(),create_component(lo.$$.fragment),co=space$1(),create_component(fo.$$.fragment),attr(ue,"class","root svelte-1yfkfsp")},m(wo,ko){insert$1(wo,ue,ko),mount_component(eo,ue,null),append$2(ue,no),mount_component(ro,ue,null),append$2(ue,io),mount_component(so,ue,null),append$2(ue,ao),mount_component(lo,ue,null),append$2(ue,co),mount_component(fo,ue,null),mo=!0},p(wo,[ko]){const So={};ko&512&&(So.$$scope={dirty:ko,ctx:wo}),eo.$set(So);const To={};!oo&&ko&1&&(oo=!0,To.value=wo[0].type,add_flush_callback(()=>oo=!1)),ro.$set(To);const Io={};ko&1&&(Io.value=wo[0].value),ko&2&&(Io.bindings=wo[1]),so.$set(Io);const Ao={};!uo&&ko&1&&(uo=!0,Ao.value=wo[0].operator,add_flush_callback(()=>uo=!1)),lo.$set(Ao);const Eo={};ko&2&&(Eo.bindings=wo[1]),!po&&ko&1&&(po=!0,Eo.value=wo[0].referenceValue,add_flush_callback(()=>po=!1)),fo.$set(Eo)},i(wo){mo||(transition_in(eo.$$.fragment,wo),transition_in(ro.$$.fragment,wo),transition_in(so.$$.fragment,wo),transition_in(lo.$$.fragment,wo),transition_in(fo.$$.fragment,wo),mo=!0)},o(wo){transition_out(eo.$$.fragment,wo),transition_out(ro.$$.fragment,wo),transition_out(so.$$.fragment,wo),transition_out(lo.$$.fragment,wo),transition_out(fo.$$.fragment,wo),mo=!1},d(wo){wo&&detach(ue),destroy_component(eo),destroy_component(ro),destroy_component(so),destroy_component(lo),destroy_component(fo)}}}function instance$5J(to,ue,eo){let{parameters:no}=ue,{bindings:ro}=ue;const oo=[{label:"Continue if",value:"continue"},{label:"Stop if",value:"stop"}],io=[{label:"Equals",value:"equal"},{label:"Not equals",value:"notEqual"}];onMount(()=>{no.type||eo(0,no.type="continue",no),no.operator||eo(0,no.operator="equal",no)});function so(fo){to.$$.not_equal(no.type,fo)&&(no.type=fo,eo(0,no))}const ao=fo=>eo(0,no.value=fo.detail,no);function lo(fo){to.$$.not_equal(no.operator,fo)&&(no.operator=fo,eo(0,no))}function uo(fo){to.$$.not_equal(no.referenceValue,fo)&&(no.referenceValue=fo,eo(0,no))}const co=fo=>eo(0,no.referenceValue=fo.detail,no);return to.$$set=fo=>{"parameters"in fo&&eo(0,no=fo.parameters),"bindings"in fo&&eo(1,ro=fo.bindings)},[no,ro,oo,io,so,ao,lo,uo,co]}class ContinueIf extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5J,create_fragment$5K,safe_not_equal,{parameters:0,bindings:1})}}const UpdateFieldValue_svelte_svelte_type_style_lang="";function create_default_slot_3$1z(to){let ue;return{c(){ue=text("Form")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot_2$1W(to){let ue;return{c(){ue=text("Type")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot_1$2C(to){let ue;return{c(){ue=text("Field")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_if_block$2P(to){let ue,eo,no,ro;return ue=new Label({props:{small:!0,$$slots:{default:[create_default_slot$3B]},$$scope:{ctx:to}}}),no=new DrawerBindableInput({props:{title:"Field value",bindings:to[1],value:to[0].value}}),no.$on("change",to[13]),{c(){create_component(ue.$$.fragment),eo=space$1(),create_component(no.$$.fragment)},m(oo,io){mount_component(ue,oo,io),insert$1(oo,eo,io),mount_component(no,oo,io),ro=!0},p(oo,io){const so={};io&32768&&(so.$$scope={dirty:io,ctx:oo}),ue.$set(so);const ao={};io&2&&(ao.bindings=oo[1]),io&1&&(ao.value=oo[0].value),no.$set(ao)},i(oo){ro||(transition_in(ue.$$.fragment,oo),transition_in(no.$$.fragment,oo),ro=!0)},o(oo){transition_out(ue.$$.fragment,oo),transition_out(no.$$.fragment,oo),ro=!1},d(oo){oo&&detach(eo),destroy_component(ue,oo),destroy_component(no,oo)}}}function create_default_slot$3B(to){let ue;return{c(){ue=text("Value")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_fragment$5J(to){let ue,eo,no,ro,oo,io,so,ao,lo,uo,co,fo,po,mo,_o,ho,go;eo=new Label({props:{small:!0,$$slots:{default:[create_default_slot_3$1z]},$$scope:{ctx:to}}});function bo(Io){to[10](Io)}let vo={options:to[2],getOptionLabel:func$k,getOptionValue:func_1$g};to[0].componentId!==void 0&&(vo.value=to[0].componentId),ro=new Select_1$1({props:vo}),binding_callbacks.push(()=>bind$2(ro,"value",bo)),so=new Label({props:{small:!0,$$slots:{default:[create_default_slot_2$1W]},$$scope:{ctx:to}}});function $o(Io){to[11](Io)}let wo={placeholder:null,options:to[4]};to[0].type!==void 0&&(wo.value=to[0].type),lo=new Select_1$1({props:wo}),binding_callbacks.push(()=>bind$2(lo,"value",$o)),fo=new Label({props:{small:!0,$$slots:{default:[create_default_slot_1$2C]},$$scope:{ctx:to}}});function ko(Io){to[12](Io)}let So={options:to[3]};to[0].field!==void 0&&(So.value=to[0].field),mo=new Combobox_1({props:So}),binding_callbacks.push(()=>bind$2(mo,"value",ko));let To=to[0].type==="set"&&create_if_block$2P(to);return{c(){ue=element("div"),create_component(eo.$$.fragment),no=space$1(),create_component(ro.$$.fragment),io=space$1(),create_component(so.$$.fragment),ao=space$1(),create_component(lo.$$.fragment),co=space$1(),create_component(fo.$$.fragment),po=space$1(),create_component(mo.$$.fragment),ho=space$1(),To&&To.c(),attr(ue,"class","root svelte-ss4wgk")},m(Io,Ao){insert$1(Io,ue,Ao),mount_component(eo,ue,null),append$2(ue,no),mount_component(ro,ue,null),append$2(ue,io),mount_component(so,ue,null),append$2(ue,ao),mount_component(lo,ue,null),append$2(ue,co),mount_component(fo,ue,null),append$2(ue,po),mount_component(mo,ue,null),append$2(ue,ho),To&&To.m(ue,null),go=!0},p(Io,[Ao]){const Eo={};Ao&32768&&(Eo.$$scope={dirty:Ao,ctx:Io}),eo.$set(Eo);const Lo={};Ao&4&&(Lo.options=Io[2]),!oo&&Ao&1&&(oo=!0,Lo.value=Io[0].componentId,add_flush_callback(()=>oo=!1)),ro.$set(Lo);const No={};Ao&32768&&(No.$$scope={dirty:Ao,ctx:Io}),so.$set(No);const Do={};!uo&&Ao&1&&(uo=!0,Do.value=Io[0].type,add_flush_callback(()=>uo=!1)),lo.$set(Do);const Po={};Ao&32768&&(Po.$$scope={dirty:Ao,ctx:Io}),fo.$set(Po);const Mo={};Ao&8&&(Mo.options=Io[3]),!_o&&Ao&1&&(_o=!0,Mo.value=Io[0].field,add_flush_callback(()=>_o=!1)),mo.$set(Mo),Io[0].type==="set"?To?(To.p(Io,Ao),Ao&1&&transition_in(To,1)):(To=create_if_block$2P(Io),To.c(),transition_in(To,1),To.m(ue,null)):To&&(group_outros(),transition_out(To,1,1,()=>{To=null}),check_outros())},i(Io){go||(transition_in(eo.$$.fragment,Io),transition_in(ro.$$.fragment,Io),transition_in(so.$$.fragment,Io),transition_in(lo.$$.fragment,Io),transition_in(fo.$$.fragment,Io),transition_in(mo.$$.fragment,Io),transition_in(To),go=!0)},o(Io){transition_out(eo.$$.fragment,Io),transition_out(ro.$$.fragment,Io),transition_out(so.$$.fragment,Io),transition_out(lo.$$.fragment,Io),transition_out(fo.$$.fragment,Io),transition_out(mo.$$.fragment,Io),transition_out(To),go=!1},d(Io){Io&&detach(ue),destroy_component(eo),destroy_component(ro),destroy_component(so),destroy_component(lo),destroy_component(fo),destroy_component(mo),To&&To.d()}}}const func$k=to=>to.readableBinding,func_1$g=to=>to.runtimeBinding;function instance$5I(to,ue,eo){let no,ro,oo,io,so,ao;component_subscribe(to,componentStore,bo=>eo(8,so=bo)),component_subscribe(to,selectedScreen,bo=>eo(9,ao=bo));let{parameters:lo}=ue,{bindings:uo=[]}=ue,{nested:co}=ue;const fo=[{label:"Set value",value:"set"},{label:"Reset to default value",value:"reset"}],po=(bo,vo)=>{let $o=findComponent(bo,vo);return $o||(vo!=null&&vo.includes("-")?findComponent(bo,vo.split("-")[0]):null)};onMount(()=>{lo.type||eo(0,lo.type="set",lo)});function mo(bo){to.$$.not_equal(lo.componentId,bo)&&(lo.componentId=bo,eo(0,lo))}function _o(bo){to.$$.not_equal(lo.type,bo)&&(lo.type=bo,eo(0,lo))}function ho(bo){to.$$.not_equal(lo.field,bo)&&(lo.field=bo,eo(0,lo))}const go=bo=>eo(0,lo.value=bo.detail,lo);return to.$$set=bo=>{"parameters"in bo&&eo(0,lo=bo.parameters),"bindings"in bo&&eo(1,uo=bo.bindings),"nested"in bo&&eo(5,co=bo.nested)},to.$$.update=()=>{to.$$.dirty&513&&eo(7,no=po(ao.props,lo.componentId)),to.$$.dirty&128&&eo(6,ro=buildFormSchema(no)),to.$$.dirty&64&&eo(3,oo=Object.keys(ro||{})),to.$$.dirty&800&&eo(2,io=getActionProviders(ao,so.selectedComponentId,"ValidateForm",{includeSelf:co}))},[lo,uo,io,oo,fo,co,ro,no,so,ao,mo,_o,ho,go]}class UpdateFieldValue extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5I,create_fragment$5J,safe_not_equal,{parameters:0,bindings:1,nested:5})}}const ScrollTo_svelte_svelte_type_style_lang="";function create_default_slot_1$2B(to){let ue;return{c(){ue=text("Form")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot$3A(to){let ue;return{c(){ue=text("Field")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_fragment$5I(to){let ue,eo,no,ro,oo,io,so,ao,lo,uo,co;eo=new Label({props:{small:!0,$$slots:{default:[create_default_slot_1$2B]},$$scope:{ctx:to}}});function fo(ho){to[8](ho)}let po={options:to[1],getOptionLabel:func$j,getOptionValue:func_1$f};to[0].componentId!==void 0&&(po.value=to[0].componentId),ro=new Select_1$1({props:po}),binding_callbacks.push(()=>bind$2(ro,"value",fo)),so=new Label({props:{small:!0,$$slots:{default:[create_default_slot$3A]},$$scope:{ctx:to}}});function mo(ho){to[9](ho)}let _o={options:to[2]};return to[0].field!==void 0&&(_o.value=to[0].field),lo=new Combobox_1({props:_o}),binding_callbacks.push(()=>bind$2(lo,"value",mo)),{c(){ue=element("div"),create_component(eo.$$.fragment),no=space$1(),create_component(ro.$$.fragment),io=space$1(),create_component(so.$$.fragment),ao=space$1(),create_component(lo.$$.fragment),attr(ue,"class","root svelte-ijgk9v")},m(ho,go){insert$1(ho,ue,go),mount_component(eo,ue,null),append$2(ue,no),mount_component(ro,ue,null),append$2(ue,io),mount_component(so,ue,null),append$2(ue,ao),mount_component(lo,ue,null),co=!0},p(ho,[go]){const bo={};go&2048&&(bo.$$scope={dirty:go,ctx:ho}),eo.$set(bo);const vo={};go&2&&(vo.options=ho[1]),!oo&&go&1&&(oo=!0,vo.value=ho[0].componentId,add_flush_callback(()=>oo=!1)),ro.$set(vo);const $o={};go&2048&&($o.$$scope={dirty:go,ctx:ho}),so.$set($o);const wo={};go&4&&(wo.options=ho[2]),!uo&&go&1&&(uo=!0,wo.value=ho[0].field,add_flush_callback(()=>uo=!1)),lo.$set(wo)},i(ho){co||(transition_in(eo.$$.fragment,ho),transition_in(ro.$$.fragment,ho),transition_in(so.$$.fragment,ho),transition_in(lo.$$.fragment,ho),co=!0)},o(ho){transition_out(eo.$$.fragment,ho),transition_out(ro.$$.fragment,ho),transition_out(so.$$.fragment,ho),transition_out(lo.$$.fragment,ho),co=!1},d(ho){ho&&detach(ue),destroy_component(eo),destroy_component(ro),destroy_component(so),destroy_component(lo)}}}const func$j=to=>to.readableBinding,func_1$f=to=>to.runtimeBinding;function instance$5H(to,ue,eo){let no,ro,oo,io,so,ao;component_subscribe(to,componentStore,mo=>eo(6,so=mo)),component_subscribe(to,selectedScreen,mo=>eo(7,ao=mo));let{parameters:lo}=ue,{nested:uo}=ue;const co=(mo,_o)=>{let ho=findComponent(mo,_o);return ho||(_o!=null&&_o.includes("-")?findComponent(mo,_o.split("-")[0]):null)};function fo(mo){to.$$.not_equal(lo.componentId,mo)&&(lo.componentId=mo,eo(0,lo))}function po(mo){to.$$.not_equal(lo.field,mo)&&(lo.field=mo,eo(0,lo))}return to.$$set=mo=>{"parameters"in mo&&eo(0,lo=mo.parameters),"nested"in mo&&eo(3,uo=mo.nested)},to.$$.update=()=>{to.$$.dirty&129&&eo(5,no=co(ao.props,lo.componentId)),to.$$.dirty&32&&eo(4,ro=buildFormSchema(no)),to.$$.dirty&16&&eo(2,oo=Object.keys(ro||{})),to.$$.dirty&200&&eo(1,io=getActionProviders(ao,so.selectedComponentId,"ScrollTo",{includeSelf:uo}))},[lo,io,oo,uo,ro,no,so,ao,fo,po]}class ScrollTo extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5H,create_fragment$5I,safe_not_equal,{parameters:0,nested:3})}}const ShowNotification_svelte_svelte_type_style_lang="";function create_default_slot_2$1V(to){let ue;return{c(){ue=text("Type")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot_1$2A(to){let ue;return{c(){ue=text("Message")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_if_block$2O(to){let ue,eo,no,ro;return ue=new Label({props:{$$slots:{default:[create_default_slot$3z]},$$scope:{ctx:to}}}),no=new DrawerBindableInput({props:{title:"Duration",bindings:to[1],value:to[0].duration,placeholder:"3000"}}),no.$on("change",to[3]),{c(){create_component(ue.$$.fragment),eo=space$1(),create_component(no.$$.fragment)},m(oo,io){mount_component(ue,oo,io),insert$1(oo,eo,io),mount_component(no,oo,io),ro=!0},p(oo,io){const so={};io&128&&(so.$$scope={dirty:io,ctx:oo}),ue.$set(so);const ao={};io&2&&(ao.bindings=oo[1]),io&1&&(ao.value=oo[0].duration),no.$set(ao)},i(oo){ro||(transition_in(ue.$$.fragment,oo),transition_in(no.$$.fragment,oo),ro=!0)},o(oo){transition_out(ue.$$.fragment,oo),transition_out(no.$$.fragment,oo),ro=!1},d(oo){oo&&detach(eo),destroy_component(ue,oo),destroy_component(no,oo)}}}function create_default_slot$3z(to){let ue;return{c(){ue=text("Duration (ms)")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_fragment$5H(to){let ue,eo,no,ro,oo,io,so,ao,lo,uo,co,fo,po,mo,_o,ho;eo=new Label({props:{$$slots:{default:[create_default_slot_2$1V]},$$scope:{ctx:to}}});function go(ko){to[4](ko)}let bo={options:to[2],placeholder:null};to[0].type!==void 0&&(bo.value=to[0].type),ro=new Select_1$1({props:bo}),binding_callbacks.push(()=>bind$2(ro,"value",go)),so=new Label({props:{$$slots:{default:[create_default_slot_1$2A]},$$scope:{ctx:to}}}),lo=new DrawerBindableInput({props:{title:"Message",bindings:to[1],value:to[0].message}}),lo.$on("change",to[5]),co=new Label({});function vo(ko){to[6](ko)}let $o={text:"Auto dismiss"};to[0].autoDismiss!==void 0&&($o.value=to[0].autoDismiss),po=new Checkbox_1({props:$o}),binding_callbacks.push(()=>bind$2(po,"value",vo));let wo=to[0].autoDismiss&&create_if_block$2O(to);return{c(){ue=element("div"),create_component(eo.$$.fragment),no=space$1(),create_component(ro.$$.fragment),io=space$1(),create_component(so.$$.fragment),ao=space$1(),create_component(lo.$$.fragment),uo=space$1(),create_component(co.$$.fragment),fo=space$1(),create_component(po.$$.fragment),_o=space$1(),wo&&wo.c(),attr(ue,"class","root svelte-ss4wgk")},m(ko,So){insert$1(ko,ue,So),mount_component(eo,ue,null),append$2(ue,no),mount_component(ro,ue,null),append$2(ue,io),mount_component(so,ue,null),append$2(ue,ao),mount_component(lo,ue,null),append$2(ue,uo),mount_component(co,ue,null),append$2(ue,fo),mount_component(po,ue,null),append$2(ue,_o),wo&&wo.m(ue,null),ho=!0},p(ko,[So]){const To={};So&128&&(To.$$scope={dirty:So,ctx:ko}),eo.$set(To);const Io={};!oo&&So&1&&(oo=!0,Io.value=ko[0].type,add_flush_callback(()=>oo=!1)),ro.$set(Io);const Ao={};So&128&&(Ao.$$scope={dirty:So,ctx:ko}),so.$set(Ao);const Eo={};So&2&&(Eo.bindings=ko[1]),So&1&&(Eo.value=ko[0].message),lo.$set(Eo);const Lo={};!mo&&So&1&&(mo=!0,Lo.value=ko[0].autoDismiss,add_flush_callback(()=>mo=!1)),po.$set(Lo),ko[0].autoDismiss?wo?(wo.p(ko,So),So&1&&transition_in(wo,1)):(wo=create_if_block$2O(ko),wo.c(),transition_in(wo,1),wo.m(ue,null)):wo&&(group_outros(),transition_out(wo,1,1,()=>{wo=null}),check_outros())},i(ko){ho||(transition_in(eo.$$.fragment,ko),transition_in(ro.$$.fragment,ko),transition_in(so.$$.fragment,ko),transition_in(lo.$$.fragment,ko),transition_in(co.$$.fragment,ko),transition_in(po.$$.fragment,ko),transition_in(wo),ho=!0)},o(ko){transition_out(eo.$$.fragment,ko),transition_out(ro.$$.fragment,ko),transition_out(so.$$.fragment,ko),transition_out(lo.$$.fragment,ko),transition_out(co.$$.fragment,ko),transition_out(po.$$.fragment,ko),transition_out(wo),ho=!1},d(ko){ko&&detach(ue),destroy_component(eo),destroy_component(ro),destroy_component(so),destroy_component(lo),destroy_component(co),destroy_component(po),wo&&wo.d()}}}const MAX_DURATION=12e4;function instance$5G(to,ue,eo){let{parameters:no}=ue,{bindings:ro=[]}=ue;const oo=[{label:"Success",value:"success"},{label:"Warning",value:"warning"},{label:"Error",value:"error"},{label:"Info",value:"info"}];onMount(()=>{no.type||eo(0,no.type="success",no),no.autoDismiss==null&&eo(0,no.autoDismiss=!0,no)});function io(uo){let co=uo.detail;co>MAX_DURATION&&(co=MAX_DURATION),eo(0,no.duration=co,no)}function so(uo){to.$$.not_equal(no.type,uo)&&(no.type=uo,eo(0,no))}const ao=uo=>eo(0,no.message=uo.detail,no);function lo(uo){to.$$.not_equal(no.autoDismiss,uo)&&(no.autoDismiss=uo,eo(0,no))}return to.$$set=uo=>{"parameters"in uo&&eo(0,no=uo.parameters),"bindings"in uo&&eo(1,ro=uo.bindings)},[no,ro,oo,io,so,ao,lo]}class ShowNotification extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5G,create_fragment$5H,safe_not_equal,{parameters:0,bindings:1})}}const PromptUser_svelte_svelte_type_style_lang="";function create_default_slot_4$1c(to){let ue;return{c(){ue=text("Enter the message you wish to display to the user.")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot_3$1y(to){let ue;return{c(){ue=text("Title")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot_2$1U(to){let ue;return{c(){ue=text("Message")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot_1$2z(to){let ue;return{c(){ue=text("Confirm Text")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot$3y(to){let ue;return{c(){ue=text("Cancel Text")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_fragment$5G(to){let ue,eo,no,ro,oo,io,so,ao,lo,uo,co,fo,po,mo,_o,ho,go,bo,vo,$o;return eo=new Body({props:{size:"S",$$slots:{default:[create_default_slot_4$1c]},$$scope:{ctx:to}}}),oo=new Label({props:{small:!0,$$slots:{default:[create_default_slot_3$1y]},$$scope:{ctx:to}}}),so=new DrawerBindableInput({props:{placeholder:"Prompt User",value:to[0].customTitleText,bindings:to[1]}}),so.$on("change",to[2]),lo=new Label({props:{small:!0,$$slots:{default:[create_default_slot_2$1U]},$$scope:{ctx:to}}}),co=new DrawerBindableInput({props:{placeholder:"Are you sure you want to continue?",value:to[0].confirmText,bindings:to[1]}}),co.$on("change",to[3]),po=new Label({props:{small:!0,$$slots:{default:[create_default_slot_1$2z]},$$scope:{ctx:to}}}),_o=new DrawerBindableInput({props:{placeholder:"Confirm",value:to[0].confirmButtonText,bindings:to[1]}}),_o.$on("change",to[4]),go=new Label({props:{small:!0,$$slots:{default:[create_default_slot$3y]},$$scope:{ctx:to}}}),vo=new DrawerBindableInput({props:{placeholder:"Cancel",value:to[0].cancelButtonText,bindings:to[1]}}),vo.$on("change",to[5]),{c(){ue=element("div"),create_component(eo.$$.fragment),no=space$1(),ro=element("div"),create_component(oo.$$.fragment),io=space$1(),create_component(so.$$.fragment),ao=space$1(),create_component(lo.$$.fragment),uo=space$1(),create_component(co.$$.fragment),fo=space$1(),create_component(po.$$.fragment),mo=space$1(),create_component(_o.$$.fragment),ho=space$1(),create_component(go.$$.fragment),bo=space$1(),create_component(vo.$$.fragment),attr(ro,"class","params svelte-hvj292"),attr(ue,"class","root svelte-hvj292")},m(wo,ko){insert$1(wo,ue,ko),mount_component(eo,ue,null),append$2(ue,no),append$2(ue,ro),mount_component(oo,ro,null),append$2(ro,io),mount_component(so,ro,null),append$2(ro,ao),mount_component(lo,ro,null),append$2(ro,uo),mount_component(co,ro,null),append$2(ro,fo),mount_component(po,ro,null),append$2(ro,mo),mount_component(_o,ro,null),append$2(ro,ho),mount_component(go,ro,null),append$2(ro,bo),mount_component(vo,ro,null),$o=!0},p(wo,[ko]){const So={};ko&64&&(So.$$scope={dirty:ko,ctx:wo}),eo.$set(So);const To={};ko&64&&(To.$$scope={dirty:ko,ctx:wo}),oo.$set(To);const Io={};ko&1&&(Io.value=wo[0].customTitleText),ko&2&&(Io.bindings=wo[1]),so.$set(Io);const Ao={};ko&64&&(Ao.$$scope={dirty:ko,ctx:wo}),lo.$set(Ao);const Eo={};ko&1&&(Eo.value=wo[0].confirmText),ko&2&&(Eo.bindings=wo[1]),co.$set(Eo);const Lo={};ko&64&&(Lo.$$scope={dirty:ko,ctx:wo}),po.$set(Lo);const No={};ko&1&&(No.value=wo[0].confirmButtonText),ko&2&&(No.bindings=wo[1]),_o.$set(No);const Do={};ko&64&&(Do.$$scope={dirty:ko,ctx:wo}),go.$set(Do);const Po={};ko&1&&(Po.value=wo[0].cancelButtonText),ko&2&&(Po.bindings=wo[1]),vo.$set(Po)},i(wo){$o||(transition_in(eo.$$.fragment,wo),transition_in(oo.$$.fragment,wo),transition_in(so.$$.fragment,wo),transition_in(lo.$$.fragment,wo),transition_in(co.$$.fragment,wo),transition_in(po.$$.fragment,wo),transition_in(_o.$$.fragment,wo),transition_in(go.$$.fragment,wo),transition_in(vo.$$.fragment,wo),$o=!0)},o(wo){transition_out(eo.$$.fragment,wo),transition_out(oo.$$.fragment,wo),transition_out(so.$$.fragment,wo),transition_out(lo.$$.fragment,wo),transition_out(co.$$.fragment,wo),transition_out(po.$$.fragment,wo),transition_out(_o.$$.fragment,wo),transition_out(go.$$.fragment,wo),transition_out(vo.$$.fragment,wo),$o=!1},d(wo){wo&&detach(ue),destroy_component(eo),destroy_component(oo),destroy_component(so),destroy_component(lo),destroy_component(co),destroy_component(po),destroy_component(_o),destroy_component(go),destroy_component(vo)}}}function instance$5F(to,ue,eo){let{parameters:no}=ue,{bindings:ro}=ue;onMount(()=>{no.confirm||eo(0,no.confirm=!0,no)});const oo=lo=>eo(0,no.customTitleText=lo.detail,no),io=lo=>eo(0,no.confirmText=lo.detail,no),so=lo=>eo(0,no.confirmButtonText=lo.detail,no),ao=lo=>eo(0,no.cancelButtonText=lo.detail,no);return to.$$set=lo=>{"parameters"in lo&&eo(0,no=lo.parameters),"bindings"in lo&&eo(1,ro=lo.bindings)},[no,ro,oo,io,so,ao]}class PromptUser extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5F,create_fragment$5G,safe_not_equal,{parameters:0,bindings:1})}}const OpenSidePanel_svelte_svelte_type_style_lang="";function create_default_slot$3x(to){let ue;return{c(){ue=text("Side Panel")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_fragment$5F(to){let ue,eo,no,ro,oo,io;eo=new Label({props:{small:!0,$$slots:{default:[create_default_slot$3x]},$$scope:{ctx:to}}});function so(lo){to[3](lo)}let ao={options:to[1]};return to[0].id!==void 0&&(ao.value=to[0].id),ro=new Select_1$1({props:ao}),binding_callbacks.push(()=>bind$2(ro,"value",so)),{c(){ue=element("div"),create_component(eo.$$.fragment),no=space$1(),create_component(ro.$$.fragment),attr(ue,"class","root svelte-ss4wgk")},m(lo,uo){insert$1(lo,ue,uo),mount_component(eo,ue,null),append$2(ue,no),mount_component(ro,ue,null),io=!0},p(lo,[uo]){const co={};uo&32&&(co.$$scope={dirty:uo,ctx:lo}),eo.$set(co);const fo={};uo&2&&(fo.options=lo[1]),!oo&&uo&1&&(oo=!0,fo.value=lo[0].id,add_flush_callback(()=>oo=!1)),ro.$set(fo)},i(lo){io||(transition_in(eo.$$.fragment,lo),transition_in(ro.$$.fragment,lo),io=!0)},o(lo){transition_out(eo.$$.fragment,lo),transition_out(ro.$$.fragment,lo),io=!1},d(lo){lo&&detach(ue),destroy_component(eo),destroy_component(ro)}}}function instance$5E(to,ue,eo){let no,ro;component_subscribe(to,selectedScreen,ao=>eo(2,ro=ao));let{parameters:oo}=ue;const io=ao=>findAllMatchingComponents(ao.props,uo=>uo._component.endsWith("/sidepanel")).map(uo=>({label:uo._instanceName,value:uo._id}));function so(ao){to.$$.not_equal(oo.id,ao)&&(oo.id=ao,eo(0,oo))}return to.$$set=ao=>{"parameters"in ao&&eo(0,oo=ao.parameters)},to.$$.update=()=>{to.$$.dirty&4&&eo(1,no=io(ro))},[oo,no,ro,so]}class OpenSidePanel extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5E,create_fragment$5F,safe_not_equal,{parameters:0})}}const CloseSidePanel_svelte_svelte_type_style_lang="";function create_fragment$5E(to){let ue;return{c(){ue=element("div"),ue.textContent="This action doesn't require any settings.",attr(ue,"class","root svelte-1kwxn4d")},m(eo,no){insert$1(eo,ue,no)},p:noop$5,i:noop$5,o:noop$5,d(eo){eo&&detach(ue)}}}class CloseSidePanel extends SvelteComponent{constructor(ue){super(),init$3(this,ue,null,create_fragment$5E,safe_not_equal,{})}}const OpenModal_svelte_svelte_type_style_lang="";function create_default_slot$3w(to){let ue;return{c(){ue=text("Modal")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_fragment$5D(to){let ue,eo,no,ro,oo,io;eo=new Label({props:{small:!0,$$slots:{default:[create_default_slot$3w]},$$scope:{ctx:to}}});function so(lo){to[3](lo)}let ao={options:to[1]};return to[0].id!==void 0&&(ao.value=to[0].id),ro=new Select_1$1({props:ao}),binding_callbacks.push(()=>bind$2(ro,"value",so)),{c(){ue=element("div"),create_component(eo.$$.fragment),no=space$1(),create_component(ro.$$.fragment),attr(ue,"class","root svelte-ss4wgk")},m(lo,uo){insert$1(lo,ue,uo),mount_component(eo,ue,null),append$2(ue,no),mount_component(ro,ue,null),io=!0},p(lo,[uo]){const co={};uo&32&&(co.$$scope={dirty:uo,ctx:lo}),eo.$set(co);const fo={};uo&2&&(fo.options=lo[1]),!oo&&uo&1&&(oo=!0,fo.value=lo[0].id,add_flush_callback(()=>oo=!1)),ro.$set(fo)},i(lo){io||(transition_in(eo.$$.fragment,lo),transition_in(ro.$$.fragment,lo),io=!0)},o(lo){transition_out(eo.$$.fragment,lo),transition_out(ro.$$.fragment,lo),io=!1},d(lo){lo&&detach(ue),destroy_component(eo),destroy_component(ro)}}}function instance$5D(to,ue,eo){let no,ro;component_subscribe(to,selectedScreen,ao=>eo(2,ro=ao));let{parameters:oo}=ue;const io=ao=>findAllMatchingComponents(ao.props,uo=>uo._component.endsWith("/modal")).map(uo=>({label:uo._instanceName,value:uo._id}));function so(ao){to.$$.not_equal(oo.id,ao)&&(oo.id=ao,eo(0,oo))}return to.$$set=ao=>{"parameters"in ao&&eo(0,oo=ao.parameters)},to.$$.update=()=>{to.$$.dirty&4&&eo(1,no=io(ro))},[oo,no,ro,so]}class OpenModal extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5D,create_fragment$5D,safe_not_equal,{parameters:0})}}const CloseModal_svelte_svelte_type_style_lang="";function create_fragment$5C(to){let ue;return{c(){ue=element("div"),ue.textContent="This action doesn't require any settings.",attr(ue,"class","root svelte-1kwxn4d")},m(eo,no){insert$1(eo,ue,no)},p:noop$5,i:noop$5,o:noop$5,d(eo){eo&&detach(ue)}}}class CloseModal extends SvelteComponent{constructor(ue){super(),init$3(this,ue,null,create_fragment$5C,safe_not_equal,{})}}const ClearRowSelection_svelte_svelte_type_style_lang="";function create_default_slot_1$2y(to){let ue;return{c(){ue=text("Clear the row selection from the selected table.")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot$3v(to){let ue;return{c(){ue=text("Table")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_fragment$5B(to){let ue,eo,no,ro,oo,io,so,ao,lo,uo,co;eo=new Body({props:{size:"S",$$slots:{default:[create_default_slot_1$2y]},$$scope:{ctx:to}}}),oo=new Label({props:{small:!0,$$slots:{default:[create_default_slot$3v]},$$scope:{ctx:to}}});function fo(mo){to[5](mo)}let po={options:to[1]};return to[0].componentId!==void 0&&(po.value=to[0].componentId),so=new Select_1$1({props:po}),binding_callbacks.push(()=>bind$2(so,"value",fo)),uo=new InlineAlert({props:{header:"Legacy action",message:"This action is only compatible with the (deprecated) Table Block. Please see the documentation for further info.",link:"https://docs.budibase.com/docs/data-actions#clear-row-selection",linkText:"Budibase Documentation"}}),{c(){ue=element("div"),create_component(eo.$$.fragment),no=space$1(),ro=element("div"),create_component(oo.$$.fragment),io=space$1(),create_component(so.$$.fragment),lo=space$1(),create_component(uo.$$.fragment),attr(ro,"class","params svelte-zv65u9"),attr(ue,"class","root svelte-zv65u9")},m(mo,_o){insert$1(mo,ue,_o),mount_component(eo,ue,null),append$2(ue,no),append$2(ue,ro),mount_component(oo,ro,null),append$2(ro,io),mount_component(so,ro,null),append$2(ue,lo),mount_component(uo,ue,null),co=!0},p(mo,[_o]){const ho={};_o&64&&(ho.$$scope={dirty:_o,ctx:mo}),eo.$set(ho);const go={};_o&64&&(go.$$scope={dirty:_o,ctx:mo}),oo.$set(go);const bo={};_o&2&&(bo.options=mo[1]),!ao&&_o&1&&(ao=!0,bo.value=mo[0].componentId,add_flush_callback(()=>ao=!1)),so.$set(bo)},i(mo){co||(transition_in(eo.$$.fragment,mo),transition_in(oo.$$.fragment,mo),transition_in(so.$$.fragment,mo),transition_in(uo.$$.fragment,mo),co=!0)},o(mo){transition_out(eo.$$.fragment,mo),transition_out(oo.$$.fragment,mo),transition_out(so.$$.fragment,mo),transition_out(uo.$$.fragment,mo),co=!1},d(mo){mo&&detach(ue),destroy_component(eo),destroy_component(oo),destroy_component(so),destroy_component(uo)}}}function instance$5C(to,ue,eo){let no,ro,oo,io;component_subscribe(to,selectedScreen,lo=>eo(4,io=lo));let{parameters:so}=ue;function ao(lo){to.$$.not_equal(so.componentId,lo)&&(so.componentId=lo,eo(0,so))}return to.$$set=lo=>{"parameters"in lo&&eo(0,so=lo.parameters)},to.$$.update=()=>{to.$$.dirty&16&&eo(3,no=findAllMatchingComponents(io==null?void 0:io.props,lo=>lo._component.endsWith("table")).map(lo=>({label:lo._instanceName,value:lo._id}))),to.$$.dirty&16&&eo(2,ro=findAllMatchingComponents(io==null?void 0:io.props,lo=>lo._component.endsWith("tableblock")).map(lo=>({label:lo._instanceName,value:`${lo._id}-table`}))),to.$$.dirty&12&&eo(1,oo=no.concat(ro))},[so,oo,ro,no,io,ao]}class ClearRowSelection extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5C,create_fragment$5B,safe_not_equal,{parameters:0})}}const DownloadFile_svelte_svelte_type_style_lang="";function create_default_slot_5$$(to){let ue;return{c(){ue=text("File")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_else_block$17(to){let ue,eo,no,ro,oo,io,so,ao;return ue=new Label({props:{small:!0,$$slots:{default:[create_default_slot_4$1b]},$$scope:{ctx:to}}}),no=new DrawerBindableInput({props:{title:"URL",bindings:to[1],value:to[0].url}}),no.$on("change",to[14]),oo=new Label({props:{small:!0,$$slots:{default:[create_default_slot_3$1x]},$$scope:{ctx:to}}}),so=new DrawerBindableInput({props:{title:"File name",bindings:to[1],value:to[0].fileName}}),so.$on("change",to[15]),{c(){create_component(ue.$$.fragment),eo=space$1(),create_component(no.$$.fragment),ro=space$1(),create_component(oo.$$.fragment),io=space$1(),create_component(so.$$.fragment)},m(lo,uo){mount_component(ue,lo,uo),insert$1(lo,eo,uo),mount_component(no,lo,uo),insert$1(lo,ro,uo),mount_component(oo,lo,uo),insert$1(lo,io,uo),mount_component(so,lo,uo),ao=!0},p(lo,uo){const co={};uo&65536&&(co.$$scope={dirty:uo,ctx:lo}),ue.$set(co);const fo={};uo&2&&(fo.bindings=lo[1]),uo&1&&(fo.value=lo[0].url),no.$set(fo);const po={};uo&65536&&(po.$$scope={dirty:uo,ctx:lo}),oo.$set(po);const mo={};uo&2&&(mo.bindings=lo[1]),uo&1&&(mo.value=lo[0].fileName),so.$set(mo)},i(lo){ao||(transition_in(ue.$$.fragment,lo),transition_in(no.$$.fragment,lo),transition_in(oo.$$.fragment,lo),transition_in(so.$$.fragment,lo),ao=!0)},o(lo){transition_out(ue.$$.fragment,lo),transition_out(no.$$.fragment,lo),transition_out(oo.$$.fragment,lo),transition_out(so.$$.fragment,lo),ao=!1},d(lo){lo&&(detach(eo),detach(ro),detach(io)),destroy_component(ue,lo),destroy_component(no,lo),destroy_component(oo,lo),destroy_component(so,lo)}}}function create_if_block$2N(to){var vo,$o,wo;let ue,eo,no,ro,oo,io,so,ao,lo,uo,co,fo,po,mo;ue=new Label({props:{$$slots:{default:[create_default_slot_2$1T]},$$scope:{ctx:to}}});function _o(ko){to[11](ko)}let ho={placeholder:null,options:to[2],getOptionLabel:func$i,getOptionValue:func_1$e};to[0].tableId!==void 0&&(ho.value=to[0].tableId),no=new Select_1$1({props:ho}),binding_callbacks.push(()=>bind$2(no,"value",_o)),io=new Label({props:{small:!0,$$slots:{default:[create_default_slot_1$2x]},$$scope:{ctx:to}}});function go(ko){to[12](ko)}let bo={disabled:!((vo=to[3])!=null&&vo.length),placeholder:to[0].tableId&&!(($o=to[3])!=null&&$o.length)?"This table has no attachment columns":void 0,options:(wo=to[3])==null?void 0:wo.map(func_2$1)};return to[0].attachmentColumn!==void 0&&(bo.value=to[0].attachmentColumn),ao=new Select_1$1({props:bo}),binding_callbacks.push(()=>bind$2(ao,"value",go)),co=new Label({props:{small:!0,$$slots:{default:[create_default_slot$3u]},$$scope:{ctx:to}}}),po=new DrawerBindableInput({props:{bindings:to[1],title:"Row ID",value:to[0].rowId}}),po.$on("change",to[13]),{c(){create_component(ue.$$.fragment),eo=space$1(),create_component(no.$$.fragment),oo=space$1(),create_component(io.$$.fragment),so=space$1(),create_component(ao.$$.fragment),uo=space$1(),create_component(co.$$.fragment),fo=space$1(),create_component(po.$$.fragment)},m(ko,So){mount_component(ue,ko,So),insert$1(ko,eo,So),mount_component(no,ko,So),insert$1(ko,oo,So),mount_component(io,ko,So),insert$1(ko,so,So),mount_component(ao,ko,So),insert$1(ko,uo,So),mount_component(co,ko,So),insert$1(ko,fo,So),mount_component(po,ko,So),mo=!0},p(ko,So){var Do,Po,Mo;const To={};So&65536&&(To.$$scope={dirty:So,ctx:ko}),ue.$set(To);const Io={};So&4&&(Io.options=ko[2]),!ro&&So&1&&(ro=!0,Io.value=ko[0].tableId,add_flush_callback(()=>ro=!1)),no.$set(Io);const Ao={};So&65536&&(Ao.$$scope={dirty:So,ctx:ko}),io.$set(Ao);const Eo={};So&8&&(Eo.disabled=!((Do=ko[3])!=null&&Do.length)),So&9&&(Eo.placeholder=ko[0].tableId&&!((Po=ko[3])!=null&&Po.length)?"This table has no attachment columns":void 0),So&8&&(Eo.options=(Mo=ko[3])==null?void 0:Mo.map(func_2$1)),!lo&&So&1&&(lo=!0,Eo.value=ko[0].attachmentColumn,add_flush_callback(()=>lo=!1)),ao.$set(Eo);const Lo={};So&65536&&(Lo.$$scope={dirty:So,ctx:ko}),co.$set(Lo);const No={};So&2&&(No.bindings=ko[1]),So&1&&(No.value=ko[0].rowId),po.$set(No)},i(ko){mo||(transition_in(ue.$$.fragment,ko),transition_in(no.$$.fragment,ko),transition_in(io.$$.fragment,ko),transition_in(ao.$$.fragment,ko),transition_in(co.$$.fragment,ko),transition_in(po.$$.fragment,ko),mo=!0)},o(ko){transition_out(ue.$$.fragment,ko),transition_out(no.$$.fragment,ko),transition_out(io.$$.fragment,ko),transition_out(ao.$$.fragment,ko),transition_out(co.$$.fragment,ko),transition_out(po.$$.fragment,ko),mo=!1},d(ko){ko&&(detach(eo),detach(oo),detach(so),detach(uo),detach(fo)),destroy_component(ue,ko),destroy_component(no,ko),destroy_component(io,ko),destroy_component(ao,ko),destroy_component(co,ko),destroy_component(po,ko)}}}function create_default_slot_4$1b(to){let ue;return{c(){ue=text("URL")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot_3$1x(to){let ue;return{c(){ue=text("File name")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot_2$1T(to){let ue;return{c(){ue=text("Table")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot_1$2x(to){let ue;return{c(){ue=text("Column")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot$3u(to){let ue;return{c(){ue=text("Row ID")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_fragment$5A(to){let ue,eo,no,ro,oo,io,so,ao,lo;eo=new Label({props:{small:!0,$$slots:{default:[create_default_slot_5$$]},$$scope:{ctx:to}}});function uo(_o){to[10](_o)}let co={placeholder:null,options:to[4]};to[0].type!==void 0&&(co.value=to[0].type),ro=new Select_1$1({props:co}),binding_callbacks.push(()=>bind$2(ro,"value",uo));const fo=[create_if_block$2N,create_else_block$17],po=[];function mo(_o,ho){return _o[0].type==="attachment"?0:1}return so=mo(to),ao=po[so]=fo[so](to),{c(){ue=element("div"),create_component(eo.$$.fragment),no=space$1(),create_component(ro.$$.fragment),io=space$1(),ao.c(),attr(ue,"class","root svelte-dlpmjc")},m(_o,ho){insert$1(_o,ue,ho),mount_component(eo,ue,null),append$2(ue,no),mount_component(ro,ue,null),append$2(ue,io),po[so].m(ue,null),lo=!0},p(_o,[ho]){const go={};ho&65536&&(go.$$scope={dirty:ho,ctx:_o}),eo.$set(go);const bo={};!oo&&ho&1&&(oo=!0,bo.value=_o[0].type,add_flush_callback(()=>oo=!1)),ro.$set(bo);let vo=so;so=mo(_o),so===vo?po[so].p(_o,ho):(group_outros(),transition_out(po[vo],1,1,()=>{po[vo]=null}),check_outros(),ao=po[so],ao?ao.p(_o,ho):(ao=po[so]=fo[so](_o),ao.c()),transition_in(ao,1),ao.m(ue,null))},i(_o){lo||(transition_in(eo.$$.fragment,_o),transition_in(ro.$$.fragment,_o),transition_in(ao),lo=!0)},o(_o){transition_out(eo.$$.fragment,_o),transition_out(ro.$$.fragment,_o),transition_out(ao),lo=!1},d(_o){_o&&detach(ue),destroy_component(eo),destroy_component(ro),po[so].d()}}}const func$i=to=>to.label,func_1$e=to=>to.resourceId,func_2$1=to=>to.name;function instance$5B(to,ue,eo){let no,ro,oo,io,so,ao,lo;component_subscribe(to,viewsV2,vo=>eo(8,ao=vo)),component_subscribe(to,tables,vo=>eo(9,lo=vo));let{parameters:uo}=ue,{bindings:co=[]}=ue;const fo=[{label:"Attachment",value:"attachment"},{label:"URL",value:"url"}];onMount(()=>{uo.type||eo(0,uo.type="attachment",uo)});function po(vo){to.$$.not_equal(uo.type,vo)&&(uo.type=vo,eo(0,uo))}function mo(vo){to.$$.not_equal(uo.tableId,vo)&&(uo.tableId=vo,eo(0,uo))}function _o(vo){to.$$.not_equal(uo.attachmentColumn,vo)&&(uo.attachmentColumn=vo,eo(0,uo))}const ho=vo=>eo(0,uo.rowId=vo.detail,uo),go=vo=>eo(0,uo.url=vo.detail,uo),bo=vo=>eo(0,uo.fileName=vo.detail,uo);return to.$$set=vo=>{"parameters"in vo&&eo(0,uo=vo.parameters),"bindings"in vo&&eo(1,co=vo.bindings)},to.$$.update=()=>{to.$$.dirty&512&&eo(7,no=lo.list.map(vo=>({label:vo.name,resourceId:vo._id,schema:vo.schema}))),to.$$.dirty&256&&eo(6,ro=ao.list.map(vo=>({label:vo.name,resourceId:vo.id,schema:vo.schema}))),to.$$.dirty&192&&eo(2,oo=[...no||[],...ro||[]]),to.$$.dirty&5&&eo(5,io=uo.tableId&&oo.find(vo=>vo.resourceId===uo.tableId)),to.$$.dirty&32&&eo(3,so=io&&Object.values(io.schema).filter(vo=>[FieldType.ATTACHMENTS,FieldType.ATTACHMENT_SINGLE].includes(vo.type)))},[uo,co,oo,so,fo,io,ro,no,ao,lo,po,mo,_o,ho,go,bo]}class DownloadFile extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5B,create_fragment$5A,safe_not_equal,{parameters:0,bindings:1})}}const RowAction_svelte_svelte_type_style_lang="";function create_default_slot_6$S(to){let ue;return{c(){ue=text("Table or view")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot_5$_(to){let ue;return{c(){ue=text("Row ID")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot_4$1a(to){let ue;return{c(){ue=text("Row action")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_if_block$2M(to){let ue,eo,no,ro,oo,io,so,ao,lo,uo,co,fo,po,mo,_o,ho;return ue=new Label({props:{small:!0,$$slots:{default:[create_default_slot_3$1w]},$$scope:{ctx:to}}}),no=new DrawerBindableInput({props:{placeholder:"Prompt User",value:to[0].customTitleText,bindings:to[1]}}),no.$on("change",to[17]),oo=new Label({props:{small:!0,$$slots:{default:[create_default_slot_2$1S]},$$scope:{ctx:to}}}),so=new DrawerBindableInput({props:{placeholder:"Are you sure you want to continue?",value:to[0].confirmText,bindings:to[1]}}),so.$on("change",to[18]),lo=new Label({props:{small:!0,$$slots:{default:[create_default_slot_1$2w]},$$scope:{ctx:to}}}),co=new DrawerBindableInput({props:{placeholder:"Confirm",value:to[0].confirmButtonText,bindings:to[1]}}),co.$on("change",to[19]),po=new Label({props:{small:!0,$$slots:{default:[create_default_slot$3t]},$$scope:{ctx:to}}}),_o=new DrawerBindableInput({props:{placeholder:"Cancel",value:to[0].cancelButtonText,bindings:to[1]}}),_o.$on("change",to[20]),{c(){create_component(ue.$$.fragment),eo=space$1(),create_component(no.$$.fragment),ro=space$1(),create_component(oo.$$.fragment),io=space$1(),create_component(so.$$.fragment),ao=space$1(),create_component(lo.$$.fragment),uo=space$1(),create_component(co.$$.fragment),fo=space$1(),create_component(po.$$.fragment),mo=space$1(),create_component(_o.$$.fragment)},m(go,bo){mount_component(ue,go,bo),insert$1(go,eo,bo),mount_component(no,go,bo),insert$1(go,ro,bo),mount_component(oo,go,bo),insert$1(go,io,bo),mount_component(so,go,bo),insert$1(go,ao,bo),mount_component(lo,go,bo),insert$1(go,uo,bo),mount_component(co,go,bo),insert$1(go,fo,bo),mount_component(po,go,bo),insert$1(go,mo,bo),mount_component(_o,go,bo),ho=!0},p(go,bo){const vo={};bo&2097152&&(vo.$$scope={dirty:bo,ctx:go}),ue.$set(vo);const $o={};bo&1&&($o.value=go[0].customTitleText),bo&2&&($o.bindings=go[1]),no.$set($o);const wo={};bo&2097152&&(wo.$$scope={dirty:bo,ctx:go}),oo.$set(wo);const ko={};bo&1&&(ko.value=go[0].confirmText),bo&2&&(ko.bindings=go[1]),so.$set(ko);const So={};bo&2097152&&(So.$$scope={dirty:bo,ctx:go}),lo.$set(So);const To={};bo&1&&(To.value=go[0].confirmButtonText),bo&2&&(To.bindings=go[1]),co.$set(To);const Io={};bo&2097152&&(Io.$$scope={dirty:bo,ctx:go}),po.$set(Io);const Ao={};bo&1&&(Ao.value=go[0].cancelButtonText),bo&2&&(Ao.bindings=go[1]),_o.$set(Ao)},i(go){ho||(transition_in(ue.$$.fragment,go),transition_in(no.$$.fragment,go),transition_in(oo.$$.fragment,go),transition_in(so.$$.fragment,go),transition_in(lo.$$.fragment,go),transition_in(co.$$.fragment,go),transition_in(po.$$.fragment,go),transition_in(_o.$$.fragment,go),ho=!0)},o(go){transition_out(ue.$$.fragment,go),transition_out(no.$$.fragment,go),transition_out(oo.$$.fragment,go),transition_out(so.$$.fragment,go),transition_out(lo.$$.fragment,go),transition_out(co.$$.fragment,go),transition_out(po.$$.fragment,go),transition_out(_o.$$.fragment,go),ho=!1},d(go){go&&(detach(eo),detach(ro),detach(io),detach(ao),detach(uo),detach(fo),detach(mo)),destroy_component(ue,go),destroy_component(no,go),destroy_component(oo,go),destroy_component(so,go),destroy_component(lo,go),destroy_component(co,go),destroy_component(po,go),destroy_component(_o,go)}}}function create_default_slot_3$1w(to){let ue;return{c(){ue=text("Title")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot_2$1S(to){let ue;return{c(){ue=text("Text")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot_1$2w(to){let ue;return{c(){ue=text("Confirm Text")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot$3t(to){let ue;return{c(){ue=text("Cancel Text")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_fragment$5z(to){let ue,eo,no,ro,oo,io,so,ao,lo,uo,co,fo,po,mo,_o,ho,go,bo,vo,$o,wo,ko;no=new Label({props:{$$slots:{default:[create_default_slot_6$S]},$$scope:{ctx:to}}});function So(Do){to[13](Do)}let To={options:to[3],getOptionLabel:func$h,getOptionValue:func_1$d};to[0].resourceId!==void 0&&(To.value=to[0].resourceId),oo=new Select_1$1({props:To}),binding_callbacks.push(()=>bind$2(oo,"value",So)),ao=new Label({props:{small:!0,$$slots:{default:[create_default_slot_5$_]},$$scope:{ctx:to}}}),uo=new DrawerBindableInput({props:{bindings:to[1],title:"Row ID",value:to[0].rowId}}),uo.$on("change",to[14]),fo=new Label({props:{small:!0,$$slots:{default:[create_default_slot_4$1a]},$$scope:{ctx:to}}});function Io(Do){to[15](Do)}let Ao={options:to[2]};to[0].rowActionId!==void 0&&(Ao.value=to[0].rowActionId),mo=new Select_1$1({props:Ao}),binding_callbacks.push(()=>bind$2(mo,"value",Io));function Eo(Do){to[16](Do)}let Lo={text:"Require confirmation"};to[0].confirm!==void 0&&(Lo.value=to[0].confirm),vo=new Checkbox_1({props:Lo}),binding_callbacks.push(()=>bind$2(vo,"value",Eo));let No=to[0].confirm&&create_if_block$2M(to);return{c(){ue=element("div"),eo=element("div"),create_component(no.$$.fragment),ro=space$1(),create_component(oo.$$.fragment),so=space$1(),create_component(ao.$$.fragment),lo=space$1(),create_component(uo.$$.fragment),co=space$1(),create_component(fo.$$.fragment),po=space$1(),create_component(mo.$$.fragment),ho=space$1(),go=element("br"),bo=space$1(),create_component(vo.$$.fragment),wo=space$1(),No&&No.c(),attr(eo,"class","params svelte-wowcwj"),attr(ue,"class","root svelte-wowcwj")},m(Do,Po){insert$1(Do,ue,Po),append$2(ue,eo),mount_component(no,eo,null),append$2(eo,ro),mount_component(oo,eo,null),append$2(eo,so),mount_component(ao,eo,null),append$2(eo,lo),mount_component(uo,eo,null),append$2(eo,co),mount_component(fo,eo,null),append$2(eo,po),mount_component(mo,eo,null),append$2(eo,ho),append$2(eo,go),append$2(eo,bo),mount_component(vo,eo,null),append$2(eo,wo),No&&No.m(eo,null),ko=!0},p(Do,[Po]){const Mo={};Po&2097152&&(Mo.$$scope={dirty:Po,ctx:Do}),no.$set(Mo);const Uo={};Po&8&&(Uo.options=Do[3]),!io&&Po&1&&(io=!0,Uo.value=Do[0].resourceId,add_flush_callback(()=>io=!1)),oo.$set(Uo);const Vo={};Po&2097152&&(Vo.$$scope={dirty:Po,ctx:Do}),ao.$set(Vo);const Wo={};Po&2&&(Wo.bindings=Do[1]),Po&1&&(Wo.value=Do[0].rowId),uo.$set(Wo);const Zo={};Po&2097152&&(Zo.$$scope={dirty:Po,ctx:Do}),fo.$set(Zo);const Yo={};Po&4&&(Yo.options=Do[2]),!_o&&Po&1&&(_o=!0,Yo.value=Do[0].rowActionId,add_flush_callback(()=>_o=!1)),mo.$set(Yo);const xo={};!$o&&Po&1&&($o=!0,xo.value=Do[0].confirm,add_flush_callback(()=>$o=!1)),vo.$set(xo),Do[0].confirm?No?(No.p(Do,Po),Po&1&&transition_in(No,1)):(No=create_if_block$2M(Do),No.c(),transition_in(No,1),No.m(eo,null)):No&&(group_outros(),transition_out(No,1,1,()=>{No=null}),check_outros())},i(Do){ko||(transition_in(no.$$.fragment,Do),transition_in(oo.$$.fragment,Do),transition_in(ao.$$.fragment,Do),transition_in(uo.$$.fragment,Do),transition_in(fo.$$.fragment,Do),transition_in(mo.$$.fragment,Do),transition_in(vo.$$.fragment,Do),transition_in(No),ko=!0)},o(Do){transition_out(no.$$.fragment,Do),transition_out(oo.$$.fragment,Do),transition_out(ao.$$.fragment,Do),transition_out(uo.$$.fragment,Do),transition_out(fo.$$.fragment,Do),transition_out(mo.$$.fragment,Do),transition_out(vo.$$.fragment,Do),transition_out(No),ko=!1},d(Do){Do&&detach(ue),destroy_component(no),destroy_component(oo),destroy_component(ao),destroy_component(uo),destroy_component(fo),destroy_component(mo),destroy_component(vo),No&&No.d()}}}const func$h=to=>to.label,func_1$d=to=>to.resourceId;function instance$5A(to,ue,eo){let no,ro,oo,io,so,ao,lo,uo,co,fo,po;component_subscribe(to,rowActions,To=>eo(9,uo=To)),component_subscribe(to,tables,To=>eo(10,co=To)),component_subscribe(to,viewsV2,To=>eo(11,fo=To)),component_subscribe(to,datasources,To=>eo(12,po=To));let{parameters:mo}=ue,{bindings:_o=[]}=ue;function ho(To){to.$$.not_equal(mo.resourceId,To)&&(mo.resourceId=To,eo(0,mo))}const go=To=>eo(0,mo.rowId=To.detail,mo);function bo(To){to.$$.not_equal(mo.rowActionId,To)&&(mo.rowActionId=To,eo(0,mo))}function vo(To){to.$$.not_equal(mo.confirm,To)&&(mo.confirm=To,eo(0,mo))}const $o=To=>eo(0,mo.customTitleText=To.detail,mo),wo=To=>eo(0,mo.confirmText=To.detail,mo),ko=To=>eo(0,mo.confirmButtonText=To.detail,mo),So=To=>eo(0,mo.cancelButtonText=To.detail,mo);return to.$$set=To=>{"parameters"in To&&eo(0,mo=To.parameters),"bindings"in To&&eo(1,_o=To.bindings)},to.$$.update=()=>{to.$$.dirty&4096&&eo(8,no=Object.fromEntries((po.list||[]).map(To=>[To._id,To.name]))),to.$$.dirty&1280&&eo(7,ro=co.list.map(To=>({label:`${no[To.sourceId]||"Unknown"} - ${To.name}`,resourceId:To._id}))),to.$$.dirty&3328&&eo(6,oo=fo.list.map(To=>{const Io=co.list.find(Eo=>Eo._id===To.tableId);return{label:`${no[Io.sourceId]||"Unknown"} - ${To.name}`,resourceId:To.id}})),to.$$.dirty&192&&eo(3,io=[...ro||[],...oo||[]]),to.$$.dirty&1&&eo(5,so=mo.resourceId),to.$$.dirty&32&&rowActions.refreshRowActions(so),to.$$.dirty&544&&eo(4,ao=uo[so]||[]),to.$$.dirty&16&&eo(2,lo=ao.map(To=>({label:To.name,value:To.id})))},[mo,_o,lo,io,ao,so,oo,ro,no,uo,co,fo,po,ho,go,bo,vo,$o,wo,ko,So]}class RowAction extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5A,create_fragment$5z,safe_not_equal,{parameters:0,bindings:1})}}const CopyToClipboard_svelte_svelte_type_style_lang="";function create_default_slot_1$2v(to){let ue;return{c(){ue=text("Text to copy")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_if_block$2L(to){let ue,eo,no,ro;return ue=new Label({props:{$$slots:{default:[create_default_slot$3s]},$$scope:{ctx:to}}}),no=new DrawerBindableInput({props:{title:"Notification message",bindings:to[1],value:to[0].notificationMessage,placeholder:"Copied to clipboard"}}),no.$on("change",to[4]),{c(){create_component(ue.$$.fragment),eo=space$1(),create_component(no.$$.fragment)},m(oo,io){mount_component(ue,oo,io),insert$1(oo,eo,io),mount_component(no,oo,io),ro=!0},p(oo,io){const so={};io&32&&(so.$$scope={dirty:io,ctx:oo}),ue.$set(so);const ao={};io&2&&(ao.bindings=oo[1]),io&1&&(ao.value=oo[0].notificationMessage),no.$set(ao)},i(oo){ro||(transition_in(ue.$$.fragment,oo),transition_in(no.$$.fragment,oo),ro=!0)},o(oo){transition_out(ue.$$.fragment,oo),transition_out(no.$$.fragment,oo),ro=!1},d(oo){oo&&detach(eo),destroy_component(ue,oo),destroy_component(no,oo)}}}function create_default_slot$3s(to){let ue;return{c(){ue=text("Notification message")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_fragment$5y(to){let ue,eo,no,ro,oo,io,so,ao,lo,uo,co;eo=new Label({props:{$$slots:{default:[create_default_slot_1$2v]},$$scope:{ctx:to}}}),ro=new DrawerBindableInput({props:{title:"Text to copy",bindings:to[1],value:to[0].textToCopy}}),ro.$on("change",to[2]),io=new Label({});function fo(_o){to[3](_o)}let po={text:"Show notification"};to[0].showNotification!==void 0&&(po.value=to[0].showNotification),ao=new Checkbox_1({props:po}),binding_callbacks.push(()=>bind$2(ao,"value",fo));let mo=to[0].showNotification&&create_if_block$2L(to);return{c(){ue=element("div"),create_component(eo.$$.fragment),no=space$1(),create_component(ro.$$.fragment),oo=space$1(),create_component(io.$$.fragment),so=space$1(),create_component(ao.$$.fragment),uo=space$1(),mo&&mo.c(),attr(ue,"class","root svelte-omr0ht")},m(_o,ho){insert$1(_o,ue,ho),mount_component(eo,ue,null),append$2(ue,no),mount_component(ro,ue,null),append$2(ue,oo),mount_component(io,ue,null),append$2(ue,so),mount_component(ao,ue,null),append$2(ue,uo),mo&&mo.m(ue,null),co=!0},p(_o,[ho]){const go={};ho&32&&(go.$$scope={dirty:ho,ctx:_o}),eo.$set(go);const bo={};ho&2&&(bo.bindings=_o[1]),ho&1&&(bo.value=_o[0].textToCopy),ro.$set(bo);const vo={};!lo&&ho&1&&(lo=!0,vo.value=_o[0].showNotification,add_flush_callback(()=>lo=!1)),ao.$set(vo),_o[0].showNotification?mo?(mo.p(_o,ho),ho&1&&transition_in(mo,1)):(mo=create_if_block$2L(_o),mo.c(),transition_in(mo,1),mo.m(ue,null)):mo&&(group_outros(),transition_out(mo,1,1,()=>{mo=null}),check_outros())},i(_o){co||(transition_in(eo.$$.fragment,_o),transition_in(ro.$$.fragment,_o),transition_in(io.$$.fragment,_o),transition_in(ao.$$.fragment,_o),transition_in(mo),co=!0)},o(_o){transition_out(eo.$$.fragment,_o),transition_out(ro.$$.fragment,_o),transition_out(io.$$.fragment,_o),transition_out(ao.$$.fragment,_o),transition_out(mo),co=!1},d(_o){_o&&detach(ue),destroy_component(eo),destroy_component(ro),destroy_component(io),destroy_component(ao),mo&&mo.d()}}}function instance$5z(to,ue,eo){let{parameters:no}=ue,{bindings:ro=[]}=ue;const oo=ao=>eo(0,no.textToCopy=ao.detail,no);function io(ao){to.$$.not_equal(no.showNotification,ao)&&(no.showNotification=ao,eo(0,no))}const so=ao=>eo(0,no.notificationMessage=ao.detail,no);return to.$$set=ao=>{"parameters"in ao&&eo(0,no=ao.parameters),"bindings"in ao&&eo(1,ro=ao.bindings)},[no,ro,oo,io,so]}class CopyToClipboard extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5z,create_fragment$5y,safe_not_equal,{parameters:0,bindings:1})}}const ActionComponents=Object.freeze(Object.defineProperty({__proto__:null,ChangeFormStep,ClearForm,ClearRowSelection,CloseModal,CloseScreenModal,CloseSidePanel,ContinueIf,CopyToClipboard,DeleteRow,DownloadFile,DuplicateRow,ExecuteQuery,ExportData,FetchRow,LogOut,NavigateTo,OpenModal,OpenSidePanel,PromptUser,RefreshDataProvider,RowAction,S3Upload,SaveRow,ScrollTo,ShowNotification,TriggerAutomation,UpdateFieldValue,UpdateState,ValidateForm},Symbol.toStringTag,{value:"Module"})),getAvailableActions=(to=!1)=>ActionDefinitions.actions.filter(ue=>{var eo;return to||!ue.dependsOnFeature?!0:((eo=get_store_value(appStore).clientFeatures)==null?void 0:eo[ue.dependsOnFeature])===!0}).map(ue=>({...ue,component:ActionComponents[ue.component]})).filter(ue=>ue.component!=null),ButtonActionDrawer_svelte_svelte_type_style_lang="";function get_each_context$18(to,ue,eo){const no=to.slice();return no[30]=ue[eo],no[32]=eo,no}function get_each_context_1$l(to,ue,eo){const no=to.slice();return no[33]=ue[eo][0],no[34]=ue[eo][1],no[36]=eo,no}function get_each_context_2$8(to,ue,eo){const no=to.slice();return no[37]=ue[eo],no}function create_if_block_3$K(to){let ue=(to[3].id,to[4]),eo,no,ro=create_key_block$8(to);return{c(){ro.c(),eo=empty$4()},m(oo,io){ro.m(oo,io),insert$1(oo,eo,io),no=!0},p(oo,io){io[0]&24&&safe_not_equal(ue,ue=(oo[3].id,oo[4]))?(group_outros(),transition_out(ro,1,1,noop$5),check_outros(),ro=create_key_block$8(oo),ro.c(),transition_in(ro,1),ro.m(eo.parentNode,eo)):ro.p(oo,io)},i(oo){no||(transition_in(ro),no=!0)},o(oo){transition_out(ro),no=!1},d(oo){oo&&detach(eo),ro.d(oo)}}}function create_key_block$8(to){let ue,eo,no,ro;function oo(ao){to[24](ao)}var io=to[6];function so(ao,lo){let uo={bindings:ao[7],nested:ao[1]};return ao[3].parameters!==void 0&&(uo.parameters=ao[3].parameters),{props:uo}}return io&&(eo=construct_svelte_component(io,so(to)),binding_callbacks.push(()=>bind$2(eo,"parameters",oo))),{c(){ue=element("div"),eo&&create_component(eo.$$.fragment),attr(ue,"class","selected-action-container")},m(ao,lo){insert$1(ao,ue,lo),eo&&mount_component(eo,ue,null),ro=!0},p(ao,lo){if(lo[0]&64&&io!==(io=ao[6])){if(eo){group_outros();const uo=eo;transition_out(uo.$$.fragment,1,0,()=>{destroy_component(uo,1)}),check_outros()}io?(eo=construct_svelte_component(io,so(ao)),binding_callbacks.push(()=>bind$2(eo,"parameters",oo)),create_component(eo.$$.fragment),transition_in(eo.$$.fragment,1),mount_component(eo,ue,null)):eo=null}else if(io){const uo={};lo[0]&128&&(uo.bindings=ao[7]),lo[0]&2&&(uo.nested=ao[1]),!no&&lo[0]&8&&(no=!0,uo.parameters=ao[3].parameters,add_flush_callback(()=>no=!1)),eo.$set(uo)}},i(ao){ro||(eo&&transition_in(eo.$$.fragment,ao),ro=!0)},o(ao){eo&&transition_out(eo.$$.fragment,ao),ro=!1},d(ao){ao&&detach(ue),eo&&destroy_component(eo)}}}function create_default_slot_4$19(to){let ue,eo,no=to[6]&&!to[5]&&create_if_block_3$K(to);return{c(){no&&no.c(),ue=empty$4()},m(ro,oo){no&&no.m(ro,oo),insert$1(ro,ue,oo),eo=!0},p(ro,oo){ro[6]&&!ro[5]?no?(no.p(ro,oo),oo[0]&96&&transition_in(no,1)):(no=create_if_block_3$K(ro),no.c(),transition_in(no,1),no.m(ue.parentNode,ue)):no&&(group_outros(),transition_out(no,1,1,()=>{no=null}),check_outros())},i(ro){eo||(transition_in(no),eo=!0)},o(ro){transition_out(no),eo=!1},d(ro){ro&&detach(ue),no&&no.d(ro)}}}function create_default_slot_3$1v(to){let ue,eo;return ue=new Layout$o({props:{noPadding:!0,$$slots:{default:[create_default_slot_4$19]},$$scope:{ctx:to}}}),{c(){create_component(ue.$$.fragment)},m(no,ro){mount_component(ue,no,ro),eo=!0},p(no,ro){const oo={};ro[0]&250|ro[1]&512&&(oo.$$scope={dirty:ro,ctx:no}),ue.$set(oo)},i(no){eo||(transition_in(ue.$$.fragment,no),eo=!0)},o(no){transition_out(ue.$$.fragment,no),eo=!1},d(no){destroy_component(ue,no)}}}function create_if_block_1$1w(to){var po;let ue,eo,no,ro,oo,io,so,ao=((po=to[0])==null?void 0:po.length)>0&&create_if_block_2$10(to);function lo(mo){to[22](mo)}let uo={placeholder:"Search"};to[2]!==void 0&&(uo.value=to[2]),ro=new Search_1({props:uo}),binding_callbacks.push(()=>bind$2(ro,"value",lo));let co=ensure_array_like(Object.entries(to[8])),fo=[];for(let mo=0;mo<co.length;mo+=1)fo[mo]=create_each_block_1$l(get_each_context_1$l(to,co,mo));return{c(){ue=element("div"),ao&&ao.c(),eo=space$1(),no=element("div"),create_component(ro.$$.fragment),io=space$1();for(let mo=0;mo<fo.length;mo+=1)fo[mo].c();attr(no,"class","search-wrap svelte-1ww641a"),attr(ue,"class","actions-list svelte-1ww641a")},m(mo,_o){insert$1(mo,ue,_o),ao&&ao.m(ue,null),append$2(ue,eo),append$2(ue,no),mount_component(ro,no,null),append$2(ue,io);for(let ho=0;ho<fo.length;ho+=1)fo[ho]&&fo[ho].m(ue,null);so=!0},p(mo,_o){var go;((go=mo[0])==null?void 0:go.length)>0?ao?(ao.p(mo,_o),_o[0]&1&&transition_in(ao,1)):(ao=create_if_block_2$10(mo),ao.c(),transition_in(ao,1),ao.m(ue,eo)):ao&&(group_outros(),transition_out(ao,1,1,()=>{ao=null}),check_outros());const ho={};if(!oo&&_o[0]&4&&(oo=!0,ho.value=mo[2],add_flush_callback(()=>oo=!1)),ro.$set(ho),_o[0]&4352){co=ensure_array_like(Object.entries(mo[8]));let bo;for(bo=0;bo<co.length;bo+=1){const vo=get_each_context_1$l(mo,co,bo);fo[bo]?fo[bo].p(vo,_o):(fo[bo]=create_each_block_1$l(vo),fo[bo].c(),fo[bo].m(ue,null))}for(;bo<fo.length;bo+=1)fo[bo].d(1);fo.length=co.length}},i(mo){so||(transition_in(ao),transition_in(ro.$$.fragment,mo),so=!0)},o(mo){transition_out(ao),transition_out(ro.$$.fragment,mo),so=!1},d(mo){mo&&detach(ue),ao&&ao.d(),destroy_component(ro),destroy_each(fo,mo)}}}function create_if_block_2$10(to){let ue,eo,no;return eo=new ActionButton({props:{secondary:!0,icon:"ArrowLeft",$$slots:{default:[create_default_slot_2$1R]},$$scope:{ctx:to}}}),eo.$on("click",to[10]),{c(){ue=element("div"),create_component(eo.$$.fragment),attr(ue,"class","svelte-1ww641a")},m(ro,oo){insert$1(ro,ue,oo),mount_component(eo,ue,null),no=!0},p(ro,oo){const io={};oo[1]&512&&(io.$$scope={dirty:oo,ctx:ro}),eo.$set(io)},i(ro){no||(transition_in(eo.$$.fragment,ro),no=!0)},o(ro){transition_out(eo.$$.fragment,ro),no=!1},d(ro){ro&&detach(ue),destroy_component(eo)}}}function create_default_slot_2$1R(to){let ue;return{c(){ue=text("Back")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_each_block_2$8(to){let ue,eo,no=(to[37].displayName||to[37].name)+"",ro,oo,io;return{c(){ue=element("li"),eo=element("span"),ro=text(no),attr(eo,"class","action-name svelte-1ww641a"),attr(ue,"class","svelte-1ww641a")},m(so,ao){insert$1(so,ue,ao),append$2(ue,eo),append$2(eo,ro),oo||(io=listen(ue,"click",function(){is_function(to[12](to[37]))&&to[12](to[37]).apply(this,arguments)}),oo=!0)},p(so,ao){to=so,ao[0]&256&&no!==(no=(to[37].displayName||to[37].name)+"")&&set_data(ro,no)},d(so){so&&detach(ue),oo=!1,io()}}}function create_each_block_1$l(to){let ue,eo=to[33]+"",no,ro,oo,io,so=ensure_array_like(to[34]),ao=[];for(let lo=0;lo<so.length;lo+=1)ao[lo]=create_each_block_2$8(get_each_context_2$8(to,so,lo));return{c(){ue=element("div"),no=text(eo),ro=space$1(),oo=element("ul");for(let lo=0;lo<ao.length;lo+=1)ao[lo].c();io=space$1(),attr(ue,"class","heading svelte-1ww641a"),toggle_class(ue,"top-entry",to[36]===0),attr(oo,"class","svelte-1ww641a")},m(lo,uo){insert$1(lo,ue,uo),append$2(ue,no),insert$1(lo,ro,uo),insert$1(lo,oo,uo);for(let co=0;co<ao.length;co+=1)ao[co]&&ao[co].m(oo,null);append$2(oo,io)},p(lo,uo){if(uo[0]&256&&eo!==(eo=lo[33]+"")&&set_data(no,eo),uo[0]&4352){so=ensure_array_like(lo[34]);let co;for(co=0;co<so.length;co+=1){const fo=get_each_context_2$8(lo,so,co);ao[co]?ao[co].p(fo,uo):(ao[co]=create_each_block_2$8(fo),ao[co].c(),ao[co].m(oo,io))}for(;co<ao.length;co+=1)ao[co].d(1);ao.length=so.length}},d(lo){lo&&(detach(ue),detach(ro),detach(oo)),destroy_each(ao,lo)}}}function create_if_block$2K(to){let ue,eo,no,ro,oo=[],io=new Map,so,ao,lo,uo;eo=new Button({props:{secondary:!0,$$slots:{default:[create_default_slot_1$2u]},$$scope:{ctx:to}}}),eo.$on("click",to[10]);let co=ensure_array_like(to[0]);const fo=po=>po[30].id;for(let po=0;po<co.length;po+=1){let mo=get_each_context$18(to,co,po),_o=fo(mo);io.set(_o,oo[po]=create_each_block$18(_o,mo))}return{c(){ue=element("div"),create_component(eo.$$.fragment),no=space$1(),ro=element("div");for(let po=0;po<oo.length;po+=1)oo[po].c();attr(ro,"class","actions svelte-1ww641a")},m(po,mo){insert$1(po,ue,mo),mount_component(eo,ue,null),insert$1(po,no,mo),insert$1(po,ro,mo);for(let _o=0;_o<oo.length;_o+=1)oo[_o]&&oo[_o].m(ro,null);ao=!0,lo||(uo=[action_destroyer(so=dndzone.call(null,ro,{items:to[0],flipDurationMs:flipDurationMs$2,dropTargetStyle:{outline:"none"}})),listen(ro,"consider",to[13]),listen(ro,"finalize",to[14])],lo=!0)},p(po,mo){const _o={};if(mo[1]&512&&(_o.$$scope={dirty:mo,ctx:po}),eo.$set(_o),mo[0]&35337){co=ensure_array_like(po[0]),group_outros();for(let ho=0;ho<oo.length;ho+=1)oo[ho].r();oo=update_keyed_each(oo,mo,fo,1,po,co,io,ro,fix_and_outro_and_destroy_block,create_each_block$18,null,get_each_context$18);for(let ho=0;ho<oo.length;ho+=1)oo[ho].a();check_outros()}so&&is_function(so.update)&&mo[0]&1&&so.update.call(null,{items:po[0],flipDurationMs:flipDurationMs$2,dropTargetStyle:{outline:"none"}})},i(po){if(!ao){transition_in(eo.$$.fragment,po);for(let mo=0;mo<co.length;mo+=1)transition_in(oo[mo]);ao=!0}},o(po){transition_out(eo.$$.fragment,po);for(let mo=0;mo<oo.length;mo+=1)transition_out(oo[mo]);ao=!1},d(po){po&&(detach(ue),detach(no),detach(ro)),destroy_component(eo);for(let mo=0;mo<oo.length;mo+=1)oo[mo].d();lo=!1,run_all(uo)}}}function create_default_slot_1$2u(to){let ue;return{c(){ue=text("Add Action")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_each_block$18(to,ue){let eo,no,ro,oo,io=ue[32]+1+"",so,ao,lo=ue[15](ue[30][EVENT_TYPE_KEY])+"",uo,co,fo,po,mo,_o=noop$5,ho,go,bo;no=new Icon({props:{name:"dots-six-vertical",size:"L",color:"var(--spectrum-global-color-gray-600)",hoverable:"true",hovercolor:"var(--spectrum-global-color-gray-800)"}});function vo(){return ue[23](ue[32])}return fo=new Icon({props:{name:"x",hoverable:!0,size:"S"}}),fo.$on("click",vo),{key:to,first:null,c(){eo=element("div"),create_component(no.$$.fragment),ro=space$1(),oo=element("div"),so=text(io),ao=text(". "),uo=text(lo),co=space$1(),create_component(fo.$$.fragment),po=space$1(),attr(oo,"class","action-header svelte-1ww641a"),attr(eo,"class","action-container svelte-1ww641a"),toggle_class(eo,"selected",ue[30]===ue[3]),this.first=eo},m($o,wo){insert$1($o,eo,wo),mount_component(no,eo,null),append$2(eo,ro),append$2(eo,oo),append$2(oo,so),append$2(oo,ao),append$2(oo,uo),append$2(eo,co),mount_component(fo,eo,null),append$2(eo,po),ho=!0,go||(bo=listen(eo,"click",function(){is_function(ue[11](ue[30]))&&ue[11](ue[30]).apply(this,arguments)}),go=!0)},p($o,wo){ue=$o,(!ho||wo[0]&1)&&io!==(io=ue[32]+1+"")&&set_data(so,io),(!ho||wo[0]&1)&&lo!==(lo=ue[15](ue[30][EVENT_TYPE_KEY])+"")&&set_data(uo,lo),(!ho||wo[0]&9)&&toggle_class(eo,"selected",ue[30]===ue[3])},r(){mo=eo.getBoundingClientRect()},f(){fix_position(eo),_o()},a(){_o(),_o=create_animation(eo,mo,flip,{duration:flipDurationMs$2})},i($o){ho||(transition_in(no.$$.fragment,$o),transition_in(fo.$$.fragment,$o),ho=!0)},o($o){transition_out(no.$$.fragment,$o),transition_out(fo.$$.fragment,$o),ho=!1},d($o){$o&&detach(eo),destroy_component(no),destroy_component(fo),go=!1,bo()}}}function create_default_slot$3r(to){var io;let ue,eo,no,ro=(to[5]||!((io=to[0])!=null&&io.length))&&create_if_block_1$1w(to),oo=to[0]&&to[0].length>0&&!to[5]&&create_if_block$2K(to);return{c(){ro&&ro.c(),ue=space$1(),oo&&oo.c(),eo=empty$4()},m(so,ao){ro&&ro.m(so,ao),insert$1(so,ue,ao),oo&&oo.m(so,ao),insert$1(so,eo,ao),no=!0},p(so,ao){var lo;so[5]||!((lo=so[0])!=null&&lo.length)?ro?(ro.p(so,ao),ao[0]&33&&transition_in(ro,1)):(ro=create_if_block_1$1w(so),ro.c(),transition_in(ro,1),ro.m(ue.parentNode,ue)):ro&&(group_outros(),transition_out(ro,1,1,()=>{ro=null}),check_outros()),so[0]&&so[0].length>0&&!so[5]?oo?(oo.p(so,ao),ao[0]&33&&transition_in(oo,1)):(oo=create_if_block$2K(so),oo.c(),transition_in(oo,1),oo.m(eo.parentNode,eo)):oo&&(group_outros(),transition_out(oo,1,1,()=>{oo=null}),check_outros())},i(so){no||(transition_in(ro),transition_in(oo),no=!0)},o(so){transition_out(ro),transition_out(oo),no=!1},d(so){so&&(detach(ue),detach(eo)),ro&&ro.d(so),oo&&oo.d(so)}}}function create_sidebar_slot(to){let ue,eo;return ue=new Layout$o({props:{noPadding:!0,gap:"S",slot:"sidebar",$$slots:{default:[create_default_slot$3r]},$$scope:{ctx:to}}}),{c(){create_component(ue.$$.fragment)},m(no,ro){mount_component(ue,no,ro),eo=!0},p(no,ro){const oo={};ro[0]&301|ro[1]&512&&(oo.$$scope={dirty:ro,ctx:no}),ue.$set(oo)},i(no){eo||(transition_in(ue.$$.fragment,no),eo=!0)},o(no){transition_out(ue.$$.fragment,no),eo=!1},d(no){destroy_component(ue,no)}}}function create_fragment$5x(to){let ue,eo;return ue=new DrawerContent({props:{$$slots:{sidebar:[create_sidebar_slot],default:[create_default_slot_3$1v]},$$scope:{ctx:to}}}),{c(){create_component(ue.$$.fragment)},m(no,ro){mount_component(ue,no,ro),eo=!0},p(no,ro){const oo={};ro[0]&511|ro[1]&512&&(oo.$$scope={dirty:ro,ctx:no}),ue.$set(oo)},i(no){eo||(transition_in(ue.$$.fragment,no),eo=!0)},o(no){transition_out(ue.$$.fragment,no),eo=!1},d(no){destroy_component(ue,no)}}}const flipDurationMs$2=150,EVENT_TYPE_KEY="##eventHandlerType";function instance$5y(to,ue,eo){let no,ro,oo,io,so,ao,lo;const uo=getAvailableActions();let{key:co}=ue,{actions:fo}=ue,{bindings:po=[]}=ue,{nested:mo}=ue,{componentInstance:_o}=ue,ho,go=fo!=null&&fo.length?fo[0]:null,bo,$o=(Uo=>Uo?fp$1.cloneDeep(Uo).filter(Vo=>{var Wo;return Vo[EVENT_TYPE_KEY]==="Update State"&&((Wo=Vo.parameters)==null?void 0:Wo.type)==="set"&&Vo.parameters.key}).reduce((Vo,Wo)=>(Vo[Wo.id]=Wo,Vo),{}):[])(fo);const wo=Uo=>{const Vo=fo.indexOf(go),Wo=Uo===Vo;fo.splice(Uo,1),eo(0,fo),Wo&&eo(3,go=fo!=null&&fo.length?fo[0]:null),updateReferencesInObject({obj:fo,modifiedIndex:Uo,action:"delete",label:"actions"})},ko=()=>{eo(2,ho=null),eo(5,ro=!ro)},So=Uo=>{const Vo={parameters:{},[EVENT_TYPE_KEY]:Uo.name,id:shortid.generate()};fo||eo(0,fo=[]),eo(0,fo=[...fo,Vo]),eo(3,go=Vo)},To=Uo=>()=>{eo(3,go=Uo),eo(4,bo=fo.findIndex(Vo=>Vo.id===Uo.id))},Io=Uo=>{So(Uo),ko()};function Ao(Uo){eo(0,fo=Uo.detail.items),Uo.detail.info.trigger==="draggedEntered"&&eo(4,bo=fo.findIndex(Vo=>Vo.id===Uo.detail.info.id))}function Eo(Uo){eo(0,fo=Uo.detail.items),updateReferencesInObject({obj:fo,modifiedIndex:fo.findIndex(Vo=>Vo.id===Uo.detail.info.id),action:"move",label:"actions",originalIndex:bo}),eo(4,bo=-1)}const Lo=(Uo,Vo,Wo)=>{let Zo=[],Yo=fp$1.cloneDeep(Uo);if(!Wo)return[];Wo.filter(Xo=>{var as;return Xo[EVENT_TYPE_KEY]==="Update State"&&((as=Xo.parameters)==null?void 0:as.type)==="set"&&Xo.parameters.key}).forEach(Xo=>{const as=makeStateBinding(Xo.parameters.key);if(!Uo.some(ls=>ls.runtimeBinding===as.runtimeBinding)){let ls=$o[Xo.id];if(ls){const Jo=makeStateBinding(ls.parameters.key);Yo=Yo.filter(hs=>hs.runtimeBinding!==Jo.runtimeBinding)}Zo.push(as)}});const xo=Wo.map((Xo,as)=>{var Ko;if(Xo[EVENT_TYPE_KEY]==="Trigger Automation"&&!((Ko=Xo.parameters)!=null&&Ko.synchronous))return as}).filter(Xo=>Xo!==void 0);return Zo=(xo?Vo.filter((Xo,as)=>!xo.includes(as)):Vo).concat(Yo).concat(Zo),Zo},No=Uo=>{const Vo=uo.find(Wo=>Wo.name==Uo);return(Vo==null?void 0:Vo.displayName)||(Vo==null?void 0:Vo.name)};function Do(Uo){ho=Uo,eo(2,ho)}const Po=Uo=>wo(Uo);function Mo(Uo){to.$$.not_equal(go.parameters,Uo)&&(go.parameters=Uo,eo(3,go),eo(0,fo))}return to.$$set=Uo=>{"key"in Uo&&eo(16,co=Uo.key),"actions"in Uo&&eo(0,fo=Uo.actions),"bindings"in Uo&&eo(17,po=Uo.bindings),"nested"in Uo&&eo(1,mo=Uo.nested),"componentInstance"in Uo&&eo(18,_o=Uo.componentInstance)},to.$$.update=()=>{var Uo;to.$$.dirty[0]&8&&go&&!go.parameters&&eo(3,go.parameters={},go),to.$$.dirty[0]&4&&eo(21,no=typeof ho=="string"?ho.toLowerCase().trim():""),to.$$.dirty[0]&1&&eo(5,ro=!(fo!=null&&fo.length)),to.$$.dirty[0]&2097152&&eo(8,oo=uo.reduce((Vo,Wo)=>{let Zo=Wo.name.toLowerCase().trim();return no.length&&Zo.indexOf(no)<0||(Vo[Wo.type]=Vo[Wo.type]||[],Vo[Wo.type].push(Wo)),Vo},{})),to.$$.dirty[0]&327680&&eo(20,io=getEventContextBindings({componentInstance:_o,settingKey:co})),to.$$.dirty[0]&9&&go&&!(fo!=null&&fo.includes(go))&&eo(3,go=fo==null?void 0:fo[0]),to.$$.dirty[0]&9&&eo(19,so=getActionBindings(fo,go==null?void 0:go.id)),to.$$.dirty[0]&1703937&&eo(7,ao=Lo(po,[...io,...so],fo)),to.$$.dirty[0]&1&&fo&&fo.forEach(Vo=>{Vo.id||(Vo.id=shortid.generate())}),to.$$.dirty[0]&8&&eo(6,lo=go&&((Uo=uo.find(Vo=>Vo.name===go[EVENT_TYPE_KEY]))==null?void 0:Uo.component))},[fo,mo,ho,go,bo,ro,lo,ao,oo,wo,ko,To,Io,Ao,Eo,No,co,po,_o,so,io,no,Do,Po,Mo]}class ButtonActionDrawer extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5y,create_fragment$5x,safe_not_equal,{key:16,actions:0,bindings:17,nested:1,componentInstance:18},null,[-1,-1])}}const ButtonActionEditor_svelte_svelte_type_style_lang="";function create_default_slot_1$2t(to){let ue;return{c(){ue=text(to[9])},m(eo,no){insert$1(eo,ue,no)},p(eo,no){no&512&&set_data(ue,eo[9])},d(eo){eo&&detach(ue)}}}function create_description_slot$4(to){let ue;return{c(){ue=text("Define what actions to run.")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot$3q(to){let ue;return{c(){ue=text("Save")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_buttons_slot$b(to){let ue,eo;return ue=new Button({props:{cta:!0,slot:"buttons",$$slots:{default:[create_default_slot$3q]},$$scope:{ctx:to}}}),ue.$on("click",to[11]),{c(){create_component(ue.$$.fragment)},m(no,ro){mount_component(ue,no,ro),eo=!0},p(no,ro){const oo={};ro&1048576&&(oo.$$scope={dirty:ro,ctx:no}),ue.$set(oo)},i(no){eo||(transition_in(ue.$$.fragment,no),eo=!0)},o(no){transition_out(ue.$$.fragment,no),eo=!1},d(no){destroy_component(ue,no)}}}function create_body_slot$a(to){let ue,eo,no;function ro(io){to[14](io)}let oo={slot:"body",eventType:to[1],bindings:to[2],key:to[0],nested:to[3],componentInstance:to[4]};return to[7]!==void 0&&(oo.actions=to[7]),ue=new ButtonActionDrawer({props:oo}),binding_callbacks.push(()=>bind$2(ue,"actions",ro)),{c(){create_component(ue.$$.fragment)},m(io,so){mount_component(ue,io,so),no=!0},p(io,so){const ao={};so&2&&(ao.eventType=io[1]),so&4&&(ao.bindings=io[2]),so&1&&(ao.key=io[0]),so&8&&(ao.nested=io[3]),so&16&&(ao.componentInstance=io[4]),!eo&&so&128&&(eo=!0,ao.actions=io[7],add_flush_callback(()=>eo=!1)),ue.$set(ao)},i(io){no||(transition_in(ue.$$.fragment,io),no=!0)},o(io){transition_out(ue.$$.fragment,io),no=!1},d(io){destroy_component(ue,io)}}}function create_fragment$5w(to){let ue,eo,no,ro,oo;eo=new ActionButton({props:{active:to[8],$$slots:{default:[create_default_slot_1$2t]},$$scope:{ctx:to}}}),eo.$on("click",to[10]);let io={title:to[5],$$slots:{body:[create_body_slot$a],buttons:[create_buttons_slot$b],description:[create_description_slot$4]},$$scope:{ctx:to}};return ro=new Drawer({props:io}),to[15](ro),ro.$on("drawerHide",to[16]),ro.$on("drawerShow",to[17]),{c(){ue=element("div"),create_component(eo.$$.fragment),no=space$1(),create_component(ro.$$.fragment),attr(ue,"class","action-editor svelte-g1wuu0")},m(so,ao){insert$1(so,ue,ao),mount_component(eo,ue,null),insert$1(so,no,ao),mount_component(ro,so,ao),oo=!0},p(so,[ao]){const lo={};ao&256&&(lo.active=so[8]),ao&1049088&&(lo.$$scope={dirty:ao,ctx:so}),eo.$set(lo);const uo={};ao&32&&(uo.title=so[5]),ao&1048735&&(uo.$$scope={dirty:ao,ctx:so}),ro.$set(uo)},i(so){oo||(transition_in(eo.$$.fragment,so),transition_in(ro.$$.fragment,so),oo=!0)},o(so){transition_out(eo.$$.fragment,so),transition_out(ro.$$.fragment,so),oo=!1},d(so){so&&(detach(ue),detach(no)),destroy_component(eo),to[15](null),destroy_component(ro,so)}}}function instance$5x(to,ue,eo){let no,ro,oo;const io=createEventDispatcher();let{key:so}=ue,{value:ao=[]}=ue,{name:lo}=ue,{bindings:uo}=ue,{nested:co}=ue,{componentInstance:fo}=ue,{title:po="Actions"}=ue,mo,_o;const ho=()=>{eo(7,_o=fp$1.cloneDeep(ao)),mo.show()},go=async()=>{io("change",_o),notifications.success("Component actions saved."),mo.hide()},bo=So=>So!=null&&So.length?"active":"";function vo(So){_o=So,eo(7,_o)}function $o(So){binding_callbacks[So?"unshift":"push"](()=>{mo=So,eo(6,mo)})}function wo(So){bubble.call(this,to,So)}function ko(So){bubble.call(this,to,So)}return to.$$set=So=>{"key"in So&&eo(0,so=So.key),"value"in So&&eo(12,ao=So.value),"name"in So&&eo(1,lo=So.name),"bindings"in So&&eo(2,uo=So.bindings),"nested"in So&&eo(3,co=So.nested),"componentInstance"in So&&eo(4,fo=So.componentInstance),"title"in So&&eo(5,po=So.title)},to.$$.update=()=>{to.$$.dirty&4096&&eo(13,no=ao==null?void 0:ao.length),to.$$.dirty&8192&&eo(9,ro=`${no||"No"} action${no!==1?"s":""} set`),to.$$.dirty&4096&&eo(8,oo=bo(ao))},[so,lo,uo,co,fo,po,mo,_o,oo,ro,ho,go,ao,no,vo,$o,wo,ko]}class ButtonActionEditor extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5x,create_fragment$5w,safe_not_equal,{key:0,value:12,name:1,bindings:2,nested:3,componentInstance:4,title:5})}}const TableSelect_svelte_svelte_type_style_lang="";function create_if_block$2J(to){let ue,eo;return ue=new DataSourceCategory({props:{dividerState:!0,heading:"Views",dataSet:to[2],value:to[0],onSelect:to[6]}}),{c(){create_component(ue.$$.fragment)},m(no,ro){mount_component(ue,no,ro),eo=!0},p(no,ro){const oo={};ro&4&&(oo.dataSet=no[2]),ro&1&&(oo.value=no[0]),ue.$set(oo)},i(no){eo||(transition_in(ue.$$.fragment,no),eo=!0)},o(no){transition_out(ue.$$.fragment,no),eo=!1},d(no){destroy_component(ue,no)}}}function create_default_slot$3p(to){var io;let ue,eo,no,ro;eo=new DataSourceCategory({props:{heading:"Tables",dataSet:to[1],value:to[0],onSelect:to[6]}});let oo=((io=to[2])==null?void 0:io.length)&&create_if_block$2J(to);return{c(){ue=element("div"),create_component(eo.$$.fragment),no=space$1(),oo&&oo.c(),attr(ue,"class","dropdown svelte-12zftoo")},m(so,ao){insert$1(so,ue,ao),mount_component(eo,ue,null),append$2(ue,no),oo&&oo.m(ue,null),ro=!0},p(so,ao){var uo;const lo={};ao&2&&(lo.dataSet=so[1]),ao&1&&(lo.value=so[0]),eo.$set(lo),(uo=so[2])!=null&&uo.length?oo?(oo.p(so,ao),ao&4&&transition_in(oo,1)):(oo=create_if_block$2J(so),oo.c(),transition_in(oo,1),oo.m(ue,null)):oo&&(group_outros(),transition_out(oo,1,1,()=>{oo=null}),check_outros())},i(so){ro||(transition_in(eo.$$.fragment,so),transition_in(oo),ro=!0)},o(so){transition_out(eo.$$.fragment,so),transition_out(oo),ro=!1},d(so){so&&detach(ue),destroy_component(eo),oo&&oo.d()}}}function create_fragment$5v(to){let ue,eo,no,ro,oo;eo=new Select_1$1({props:{readonly:!0,value:to[5],options:[to[5]]}}),eo.$on("click",function(){is_function(to[4].show)&&to[4].show.apply(this,arguments)});let io={anchor:to[3],$$slots:{default:[create_default_slot$3p]},$$scope:{ctx:to}};return ro=new Popover({props:io}),to[11](ro),{c(){ue=element("div"),create_component(eo.$$.fragment),no=space$1(),create_component(ro.$$.fragment),attr(ue,"class","container svelte-12zftoo")},m(so,ao){insert$1(so,ue,ao),mount_component(eo,ue,null),to[10](ue),insert$1(so,no,ao),mount_component(ro,so,ao),oo=!0},p(so,[ao]){to=so;const lo={};ao&32&&(lo.value=to[5]),ao&32&&(lo.options=[to[5]]),eo.$set(lo);const uo={};ao&8&&(uo.anchor=to[3]),ao&16391&&(uo.$$scope={dirty:ao,ctx:to}),ro.$set(uo)},i(so){oo||(transition_in(eo.$$.fragment,so),transition_in(ro.$$.fragment,so),oo=!0)},o(so){transition_out(eo.$$.fragment,so),transition_out(ro.$$.fragment,so),oo=!1},d(so){so&&(detach(ue),detach(no)),destroy_component(eo),to[10](null),to[11](null),destroy_component(ro,so)}}}function instance$5w(to,ue,eo){let no,ro,oo,io,so,ao,lo;component_subscribe(to,datasources,go=>eo(7,so=go)),component_subscribe(to,viewsV2,go=>eo(8,ao=go)),component_subscribe(to,tables,go=>eo(9,lo=go));let{value:uo}=ue,co,fo;const po=createEventDispatcher(),mo=go=>{po("change",oo.find(bo=>bo.resourceId===go.resourceId)),fo.hide()};onMount(()=>{if(uo&&!uo.resourceId){const go=ro.find(vo=>vo.resourceId===uo.id),bo=no.find(vo=>vo.resourceId===uo.tableId);po("change",go||bo)}});function _o(go){binding_callbacks[go?"unshift":"push"](()=>{co=go,eo(3,co)})}function ho(go){binding_callbacks[go?"unshift":"push"](()=>{fo=go,eo(4,fo)})}return to.$$set=go=>{"value"in go&&eo(0,uo=go.value)},to.$$.update=()=>{to.$$.dirty&640&&eo(1,no=sortAndFormat.tables(lo.list,so.list)),to.$$.dirty&384&&eo(2,ro=sortAndFormat.viewsV2(ao.list,so.list)),to.$$.dirty&6&&(oo=[...no||[],...ro||[]]),to.$$.dirty&1&&eo(5,io=(uo==null?void 0:uo.label)??"Choose an option")},[uo,no,ro,co,fo,io,mo,so,ao,lo,_o,ho]}class TableSelect extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5w,create_fragment$5v,safe_not_equal,{value:0})}}function create_fragment$5u(to){let ue,eo;return ue=new ColorPicker({props:{value:to[0],spectrumTheme:to[1].theme}}),ue.$on("change",to[2]),{c(){create_component(ue.$$.fragment)},m(no,ro){mount_component(ue,no,ro),eo=!0},p(no,[ro]){const oo={};ro&1&&(oo.value=no[0]),ro&2&&(oo.spectrumTheme=no[1].theme),ue.$set(oo)},i(no){eo||(transition_in(ue.$$.fragment,no),eo=!0)},o(no){transition_out(ue.$$.fragment,no),eo=!1},d(no){destroy_component(ue,no)}}}function instance$5v(to,ue,eo){let no;component_subscribe(to,themeStore,io=>eo(1,no=io));let{value:ro}=ue;function oo(io){bubble.call(this,to,io)}return to.$$set=io=>{"value"in io&&eo(0,ro=io.value)},[ro,no,oo]}class ColorPicker_1 extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5v,create_fragment$5u,safe_not_equal,{value:0})}}const iconData={Buildings:{home:["house","房子","家","主页"],"home-2":["house","房子","家","主页"],"home-3":["house","房子","家","主页"],"home-4":["house","房子","家","主页"],"home-5":["house","房子","家","主页"],"home-6":["house","房子","家","主页"],"home-7":["house","房子","家","主页"],"home-8":["house","房子","家","主页"],"home-gear":["house","房子","工厂"],"home-wifi":["smart home","房子","家具","智能家居"],"home-smile":["house","smart home","smile","房子","智能家居","微笑"],"home-smile-2":["house","smart home","smile","房子","智能家居","微笑"],"home-heart":["house","心","房子","家","主页","孤儿院"],building:["city","office","enterprise","建筑","城市","楼","办公楼","写字楼","企业"],"building-2":["city","office","construction","enterprise","城市","建筑","楼","企业"],"building-3":["factory","plant","enterprise","工厂","建筑","楼","企业"],"building-4":["city","office","enterprise","建筑","城市","楼","办公楼","写字楼","企业"],hotel:["building","hotel","office","enterprise","tavern","建筑","酒店","楼","办公楼","写字楼","企业"],community:["building","hotel","社区","建筑","酒店"],government:["building","政府","建筑","大会堂"],bank:["bank","finance","savings","banking","银行","交易所"],store:["shop","mall","supermarket","商店","超市","店铺","商家"],"store-2":["shop","mall","supermarket","商店","超市","店铺","商家"],"store-3":["shop","mall","supermarket","商店","超市","店铺","商家"],hospital:["medical","health","医院"],"ancient-gate":["historical","genre","scenic","trip","travel","旅行","旅游","城门","古代","历史","景区"],"ancient-pavilion":["historical","genre","scenic","trip","travel","旅行","旅游","凉亭","古代","历史","景区"]},Business:{mail:["envelope","email","inbox","信封","邮箱","邮件","收件箱"],"mail-open":["envelope","email","inbox","信封","邮箱","邮件","收件箱"],"mail-send":["envelope","email","inbox","信封","邮箱","邮件","发送","发件箱"],"mail-unread":["envelope","email","inbox","信封","邮箱","邮件","未读"],"mail-add":["envelope","email","inbox","add","信封","邮箱","邮件","新增","添加"],"mail-check":["envelope","email","inbox","read","信封","邮箱","邮件","已读"],"mail-close":["envelope","email","inbox","failed","x","信封","邮箱","邮件","失败"],"mail-download":["envelope","email","inbox","download","信封","邮箱","邮件","下载"],"mail-forbid":["envelope","email","inbox","privacy","信封","邮箱","邮件","禁止"],"mail-lock":["envelope","email","inbox","lock","信封","邮箱","邮件","加密"],"mail-settings":["envelope","email","inbox","settings","信封","邮箱","邮件","设置"],"mail-star":["envelope","email","inbox","favorite","信封","邮箱","邮件","收藏","喜欢"],"mail-volume":["envelope","email","inbox","promotional email","email campaign","subscription","信封","邮箱","邮件","收件箱","推广","订阅"],inbox:["收件箱"],"inbox-archive":["收件箱","归档","收纳"],"inbox-unarchive":["unzip","unpack","extract","收件箱","取消归档","还原","解压缩"],cloud:["weather","云端"],"cloud-off":["offline-mode","connection-fail","slash","weather","云端","断网","无信号","连接失败"],attachment:["annex","paperclip","附件","曲别针"],profile:["id","档案","资料","身份证","证件"],archive:["box","收纳","归档","存档","盒子","纸箱"],"archive-drawer":["night table","收纳","抽屉","归档","存档","床头柜"],at:["@","mention","提到","在"],award:["medal","achievement","badge","成就","奖牌","金牌","勋章"],medal:["award","achievement","badge","成就","奖牌","金牌","勋章"],"medal-2":["award","achievement","badge","成就","奖牌","金牌","勋章"],"bar-chart":["statistics","rhythm","柱状图","统计","韵律","节奏"],"bar-chart-horizontal":["statistics","rhythm","柱状图","统计","韵律","节奏"],"bar-chart-2":["statistics","rhythm","柱状图","统计","排行","节奏"],"bar-chart-box":["statistics","rhythm","柱状图","统计","节奏"],"bar-chart-grouped":["statistics","rhythm","柱状图","统计","分组"],"bubble-chart":["data","analysis","statistics","气泡图","统计"],"pie-chart":["data","analysis","饼图","饼状图","数据","分析"],"pie-chart-2":["data","analysis","饼图","饼状图","数据","分析"],"pie-chart-box":["data","analysis","饼图","饼状图","数据","分析"],"donut-chart":["data","analysis","环形图","数据","分析"],"line-chart":["data","analysis","stats","折线图","数据","分析"],bookmark:["tag","书签","标记"],"bookmark-2":["tag","书签","标记"],"bookmark-3":["tag","书签","标记","荣誉"],briefcase:["bag","baggage","公文包","行李箱","旅行箱","皮包"],"briefcase-2":["bag","baggage","公文包","行李箱","旅行箱","皮包"],"briefcase-3":["bag","baggage","公文包","行李箱","旅行箱","皮包"],"briefcase-4":["bag","baggage","公文包","行李箱","旅行箱","皮包"],"briefcase-5":["bag","baggage","公文包","行李箱","旅行箱","皮包"],calculator:["计算器","计算机"],calendar:["date","plan","schedule","agenda","日历","日期","月份","计划","日程","时间表"],"calendar-2":["date","plan","schedule","agenda","日历","日期","月份","计划","日程","时间表"],"calendar-event":["date","plan","schedule","agenda","日历","日期","月份","计划","日程","时间表"],"calendar-todo":["date","plan","schedule","agenda","日历","日期","月份","计划","日程","时间表"],"calendar-check":["date","plan","schedule","agenda","check-in","punch","日历","日期","月份","计划","日程","时间表","签到","打卡"],"customer-service":["headset","客服","售后","耳机","耳麦"],"customer-service-2":["headset","客服","售后","耳机","耳麦"],flag:["banner","pin","旗帜","旗子","国旗","标记"],"flag-2":["banner","pin","旗帜","旗子","国旗","标记"],global:["earth","union","world","language","地球","联合","世界","全球","语言"],honour:["honor","glory","锦旗","荣誉","荣耀","军衔"],links:["connection","address","联系","链接","地址"],printer:["打印机"],"printer-cloud":["打印机","云打印"],"record-mail":["voice mail","tape","录音","留言","语音信箱","磁带"],reply:["forward","回复全部","回复所有"],"reply-all":["forward","回复","答复","留言","转发"],"send-plane":["发送","纸飞机"],"send-plane-2":["发送","纸飞机"],projector:["projection","meeting","投影仪","会议室"],"projector-2":["projection","meeting","投影仪","会议室","极米"],slideshow:["presentation","meeting","PPT","keynote","投影","放映","演示","演讲","幻灯片","会议室"],"slideshow-2":["presentation","meeting","投影","放映","演示","演讲","幻灯片","会议室"],"slideshow-3":["presentation","meeting","投影","放映","演示","演讲","视频会议","幻灯片","会议室"],"slideshow-4":["presentation","meeting","投影","放映","演示","演讲","可视对讲","幻灯片","会议室"],window:["browser","program","web","窗口","浏览器","程序","网站"],"window-2":["browser","program","web","窗口","浏览器","程序","网站"],stack:["layers","图层","叠加","堆栈"],service:["heart","handshake","cooperation","服务","握手","心","合作"],registered:["注册","商标"],trademark:["注册","商标"],advertisement:["ad","广告","推广"],copyleft:["著佐权"],copyright:["版权"],"creative-commons":["知识共享"],"creative-commons-by":["attribution","copyright","版权","知识共享","署名"],"creative-commons-nc":["noncommercial","copyright","版权","知识共享","非商业用途"],"creative-commons-nd":["no derivative works","copyright","版权","知识共享","禁止演绎"],"creative-commons-sa":["share alike","copyright","版权","知识共享","相同方式共享"],"creative-commons-zero":["cc0","copyright","版权","知识共享"]},Communication:{"chat-1":["message","reply","comment","消息","聊天","回复","评论"],"chat-2":["message","reply","comment","消息","聊天","回复","评论"],"chat-3":["message","reply","comment","消息","聊天","回复","评论"],"chat-4":["message","reply","comment","消息","聊天","回复","评论"],message:["chat","comment","reply","消息","聊天","回复","评论"],"message-2":["chat","reply","comment","消息","聊天","回复","评论"],"message-3":["chat","reply","comment","消息","聊天","回复","评论"],"chat-check":["message","reply","comment","消息","聊天","回复","评论","已阅"],"chat-delete":["message","comment","消息","聊天","回复","评论","清除","删除"],"chat-forward":["message","comment","消息","聊天","转发"],"chat-upload":["message","comment","消息","聊天","上传"],"chat-download":["message","comment","消息","下载"],"chat-new":["message","reply","comment","消息","聊天","回复","评论"],"chat-settings":["message","comment","消息","聊天","回复","评论","设置"],"chat-smile":["message","reply","comment","消息","聊天","回复","评论"],"chat-smile-2":["message","reply","comment","消息","聊天","回复","评论"],"chat-smile-3":["message","reply","comment","消息","聊天","回复","评论"],"chat-heart":["message","reply","comment","消息","聊天","回复","评论","心","点赞","收藏"],"chat-off":["message","reply","comment","slash","消息","聊天","回复","评论","禁止","关闭"],feedback:["message","comment","消息","聊天","回复","评论","反馈"],discuss:["message","reply","comment","消息","聊天","回复","评论","讨论","群聊"],"question-answer":["message","reply","comment","消息","聊天","回复","评论","讨论","群聊"],questionnaire:["message","comment","help","消息","聊天","回复","评论","讨论","调查问卷","帮助"],"video-chat":["message","comment","消息","视频聊天"],"chat-voice":["message","comment","消息","语音消息"],"chat-quote":["message","reply","comment","消息","引用回复"],"chat-follow-up":["message","reply","comment","消息","+1","跟帖"],"chat-poll":["message","vote","questionnaire","消息","投票","问卷调查"],"chat-history":["message","历史消息","消息记录"],"chat-private":["message","私密消息","密聊"]},Design:{pencil:["edit","铅笔","编辑"],edit:["pencil","铅笔","编辑"],"edit-2":["pencil","铅笔","编辑"],"ball-pen":["圆珠笔"],"quill-pen":["羽毛笔","钢笔","编辑"],"pen-nib":["钢笔","笔尖"],"ink-bottle":["墨水瓶"],"mark-pen":["马克笔"],markup:["标记","马克"],"edit-box":["编辑"],"edit-circle":["编辑"],sip:["吸管","取色器"],brush:["笔刷","画笔","刷子"],"brush-2":["刷子"],"brush-3":["刷子"],"brush-4":["刷子"],"paint-brush":["填色","填充","刷子"],contrast:["brightness","tonalit","对比度","亮度","色调"],"contrast-2":["moon","dark","brightness","tonalit","月亮","夜间","对比度","亮度","色调"],drop:["water","blur","模糊","水","滴"],"blur-off":["water","drop","slash","模糊","水","滴","禁止","关闭"],"contrast-drop":["water","brightness","tonalit","水","对比度","亮度","色调","滴"],"contrast-drop-2":["water","brightness","tonalit","水","对比度","亮度","色调","滴"],compasses:["圆规"],"compasses-2":["圆规"],scissors:["剪刀","裁剪"],"scissors-cut":["剪刀","裁剪"],"scissors-2":["剪刀","裁剪","截屏"],slice:["knife","切图","切片","刀"],eraser:["remove formatting","橡皮","擦除","清除格式"],ruler:["尺子"],"ruler-2":["尺子"],"pencil-ruler":["design","铅笔","尺子","文具","设计"],"pencil-ruler-2":["design","铅笔","尺子","文具","设计"],"t-box":["文字","字体","字号"],"input-method":["输入法","文字"],artboard:["grid","crop","画板","裁切"],"artboard-2":["画板"],crop:["裁切"],"crop-2":["裁切"],screenshot:["capture","屏幕截图","截屏"],"screenshot-2":["capture","屏幕截图","截屏"],"drag-move":["arrow","拖拽","移动","箭头"],"drag-move-2":["arrow","拖拽","移动","箭头"],focus:["aim","target","焦点","聚焦","目标","靶心"],"focus-2":["aim","target","bullseye","焦点","聚焦","目标","靶心"],"focus-3":["aim","target","bullseye","焦点","聚焦","目标","靶心"],paint:["填色","填充","油漆桶"],palette:["调色盘","色板"],pantone:["色板","潘通色","色号"],shape:["border","形状","描边","边框"],"shape-2":["border","形状","描边","边框"],magic:["fantasy","magic stick","beautify","魔法棒","美化","幻想","魔幻"],anticlockwise:["rotate","left","左翻转","左旋转"],"anticlockwise-2":["rotate","left","左翻转","左旋转"],clockwise:["rotate","right","右翻转","右旋转"],"clockwise-2":["rotate","right","右翻转","右旋转"],hammer:["锤子"],tools:["settings","工具","设置"],"drag-drop":["drag and drop","mouse","拖拽","鼠标"],table:["表格"],"table-alt":["表格"],layout:["布局"],"layout-2":["collage","布局","拼贴画"],"layout-3":["collage","布局","拼贴画"],"layout-4":["collage","布局","拼贴画"],"layout-5":["collage","布局","拼贴画"],"layout-6":["collage","布局","拼贴画"],"layout-column":["左右布局"],"layout-row":["上下布局"],"layout-top":["顶部布局","顶部导航"],"layout-right":["右侧布局","右侧导航"],"layout-bottom":["底部布局","底部导航"],"layout-left":["左侧布局","左侧导航"],"layout-top-2":["顶部布局","顶部导航"],"layout-right-2":["右侧布局","右侧导航"],"layout-bottom-2":["底部布局","底部导航"],"layout-left-2":["左侧布局","左侧导航"],"layout-grid":["卡片布局","网格"],"layout-masonry":["collage","瀑布流布局","拼贴画"],collage:["瀑布流布局","拼贴画"],grid:["table","网格","表格"]},Development:{bug:["虫子"],"bug-2":["虫子"],code:["代码","编程"],"code-s":["代码","编程"],"code-s-slash":["代码","编程"],"code-box":["代码","编程"],"terminal-box":["code","command line","终端","代码","命令行"],terminal:["code","command line","终端","代码","命令行"],"terminal-window":["code","command line","终端","代码","命令行"],parentheses:["code","math","小括号"],brackets:["code","math","中括号"],braces:["code","math","大括号","花括号"],command:["apple key","花键","苹果键"],cursor:["mouse","指针","鼠标"],"git-commit":["node","提交"],"git-pull-request":["合并申请"],"git-merge":["合并"],"git-branch":["分支"],"git-repository":["仓库"],"git-repository-commits":["仓库","提交"],"git-repository-private":["私密仓库","私人仓库"],html5:["html","h5"],css3:["css"]},Device:{tv:["电视"],"tv-2":["monitor","电视","显示器"],computer:["monitor","电脑","显示器"],mac:["monitor","显示器"],macbook:["laptop","笔记本"],cellphone:["手机","电话"],smartphone:["mobile","手机"],tablet:["平板电脑"],device:["设备"],phone:["电话"],database:["storage","数据库","存储"],"database-2":["storage","数据库","存储"],server:["服务器"],"hard-drive":["disc","storage","硬盘","存储"],"hard-drive-2":["disc","server","storage","硬盘","服务器","存储"],install:["安装"],uninstall:["卸载"],save:["floppy","保存","软盘"],"save-2":["floppy","保存","软盘"],"save-3":["floppy","保存","软盘"],"sd-card":["内存卡"],"sd-card-mini":["内存卡"],"sim-card":["电话卡"],"sim-card-2":["电话卡"],"dual-sim-1":["sim card","电话卡","卡槽","双卡双待"],"dual-sim-2":["sim card","电话卡","卡槽","双卡双待"],"u-disk":["U盘","优盘"],battery:["电池"],"battery-charge":["电池","充电"],"battery-low":["电池","低电量"],"battery-2":["电池"],"battery-2-charge":["电池","充电"],"battery-saver":["电池","省电模式"],"battery-share":["电池共享","共享电量"],cast:["mirroring","投屏","无线","广播"],airplay:["mirroring","投屏","无线"],cpu:["中央处理器"],gradienter:["水平仪"],keyboard:["input","键盘","输入"],"keyboard-box":["input","键盘","输入"],mouse:["鼠标"],sensor:["capacitor","传感器","电容器"],router:["wifi","signal tower","radio","station","路由器","信号塔","广播","基站","流量"],radar:["satellite receiver","雷达","卫星接收器","锅"],gamepad:["consoles","controller","游戏手柄"],"remote-control":["controller","遥控器"],"remote-control-2":["controller","遥控器"],"device-recover":["恢复出厂设置"],hotspot:["手机热点"],"phone-find":["找回手机"],"phone-lock":["锁定手机"],"rotate-lock":["锁定旋转屏幕"],restart:["reload","refresh","重启"],"shut-down":["power off","关机"],fingerprint:["指纹"],"fingerprint-2":["指纹"],barcode:["scan","扫码","条形码","条码"],"barcode-box":["scan","扫码","条形码","条码"],"qr-code":["二维码"],"qr-scan":["二维码","扫描"],"qr-scan-2":["二维码","扫描"],scan:["扫描"],"scan-2":["扫描"],rss:["feed","subscribe","订阅"],gps:["signal","定位","信号"],"base-station":["wifi","signal tower","router","cast","基站","信号塔","路由器","广播","流量"],bluetooth:["wireless","蓝牙","无线"],"bluetooth-connect":["wireless","蓝牙","连接","无线"],wifi:["无线网"],"wifi-off":["slash","offline","connection-fail","无线网","关闭","断网","链接失败"],"signal-wifi":["cellular","strength","无线网","信号"],"signal-wifi-1":["cellular","strength","无线网","信号"],"signal-wifi-2":["cellular","strength","无线网","信号"],"signal-wifi-3":["cellular","strength","无线网","信号"],"signal-wifi-error":["cellular","offline","connection-fail","无线网","断网","链接失败","无信号"],"signal-wifi-off":["cellular","slash","offline","connection-fail","无线网","关闭","断网","链接失败"],"wireless-charging":["power","flash","无线充电","闪充"],"dashboard-2":["仪表盘"],"dashboard-3":["仪表盘"],usb:["优盘"]},Document:{file:["new","paper","文件","文档","新建"],"file-2":["new","paper","文件","文档","新建"],"file-3":["new","paper","文件","文档","新建"],"file-4":["new","paper","文件","文档","新建"],"sticky-note":["new","paper","文件","文档","新建","便签纸","便利贴"],"sticky-note-2":["new","paper","文件","文档","新建","便签纸","便利贴"],"file-edit":["文件","文档","编辑"],draft:["草稿箱","文件","文档","编辑"],"file-paper":["文件","文档","纸","谱"],"file-paper-2":["文件","文档","纸","谱"],"file-text":["文件","文档","文本"],"file-list":["清单","列表"],"file-list-2":["清单","列表"],"file-list-3":["newspaper","清单","列表","报纸"],bill:["账单"],"file-copy":["duplicate","clone","复制","克隆"],"file-copy-2":["duplicate","clone","复制","克隆"],clipboard:["copy","复制","剪切板"],survey:["research","questionnaire","调查","问卷","调研"],article:["newspaper","文章","报纸"],newspaper:["报纸"],"file-zip":["7z","rar","压缩包"],"file-mark":["文件","文档","标记"],task:["todo","任务","待办"],todo:["待办"],book:["read","dictionary","booklet","书","阅读","字典","小册子"],"book-mark":["read","dictionary","booklet","书","阅读","字典","小册子","书签"],"book-2":["read","dictionary","booklet","书","阅读","字典","小册子"],"book-3":["read","dictionary","booklet","书","阅读","字典","小册子"],"book-open":["read","booklet","magazine","书","阅读","小册子","杂志"],"book-read":["booklet","magazine","书","阅读","小册子","杂志"],"contacts-book":["通讯录","联系人"],"contacts-book-2":["通讯录","联系人"],"contacts-book-upload":["upload","通讯录","联系人","上传"],booklet:["notebook","手册","笔记本","小册子"],"file-code":["config","文件","文档","代码","脚本","配置文件"],"file-pdf":["文件","文档"],"file-word":["文档"],"file-ppt":["文件","文档"],"file-excel":["文档","表单"],"file-word-2":["文档"],"file-ppt-2":["文件","文档"],"file-excel-2":["文档","表单"],"file-hwp":["文件","文档","hangul word processor"],keynote:["演示文稿","幻灯片","讲演"],numbers:["表格"],pages:["文稿"],"file-search":["文件","文档","搜索"],"file-add":["new","文件","文档","新建"],"file-reduce":["文件","文档","减"],"file-settings":["文件","文档","设置"],"file-upload":["文件","文档","上传"],"file-transfer":["文件","文档","传输"],"file-download":["文件","文档","下载"],"file-lock":["文件","文档","锁"],"file-chart":["report","文件","文档","柱状图","报表"],"file-chart-2":["report","文件","文档","饼图","报表"],"file-music":["文件","文档","音乐"],"file-gif":["文件","文档","动图"],"file-forbid":["文件","文档","禁用"],"file-info":["文件","文档","信息"],"file-warning":["alert","文件","文档","警告","提醒"],"file-unknow":["文件","文档","未知","问号"],"file-user":["文件","文档","用户"],"file-shield":["protected","secured","文件","文档","盾牌","保护","安全"],"file-shield-2":["protected","secured","文件","文档","盾牌","保护","安全"],"file-damage":["breakdown","broken","文件","文档","损坏","破损","破裂"],"file-history":["record","文件","文档","记录","历史"],"file-shred":["shredder","shred","destroy","cut","文档","销毁","碎纸机","破裂","粉碎"],"file-cloud":["文件","文档","云"],folder:["directory","file","文件夹","目录","文档"],"folder-2":["directory","file","文件夹","目录","文档"],"folder-3":["directory","file","文件夹","目录","文档"],"folder-4":["directory","file","文件夹","目录","文档"],"folder-5":["directory","file","文件夹","目录","文档"],folders:["directory","file","文件夹","目录","文档","批量"],"folder-add":["directory","file","文件夹","目录","文档","添加"],"folder-reduce":["directory","file","文件夹","目录","文档","减"],"folder-settings":["directory","file","文件夹","目录","文档","设置"],"folder-upload":["directory","file","文件夹","目录","文档","上传"],"folder-transfer":["directory","file","文件夹","目录","文档","传输"],"folder-download":["directory","file","文件夹","目录","文档","下载"],"folder-lock":["directory","file","文件夹","目录","文档","锁"],"folder-chart":["report","文件夹","目录","文档","柱状图","报表"],"folder-chart-2":["report","文件夹","目录","文档","饼图","报表"],"folder-music":["directory","file","文件夹","目录","文档","音乐"],"folder-forbid":["directory","file","文件夹","目录","文档","禁用"],"folder-info":["directory","file","文件夹","目录","文档","信息"],"folder-warning":["alert","directory","file","文件夹","目录","文档","警告","提醒"],"folder-unknow":["directory","file","文件夹","目录","文档","未知"],"folder-user":["directory","file","文件夹","目录","文档","用户"],"folder-shield":["directory","file","protected","secured","文件夹","目录","文档","保护","盾牌","安全"],"folder-shield-2":["directory","file","protected","secured","文件夹","目录","文档","保护","盾牌","安全"],"folder-shared":["directory","file","文件夹","目录","文档","分享"],"folder-received":["directory","file","文件夹","目录","文档","接收"],"folder-open":["directory","file","文件夹","目录","文档","打开"],"folder-keyhole":["directory","encryption","file","文件夹","目录","文档","打开","加密文档"],"folder-zip":["directory","file","文件夹","目录","文档","打开","压缩"],"folder-history":["directory","file","record","文件夹","目录","文档","记录","历史"],markdown:["arrow","箭头","下"]},Editor:{bold:["加粗"],italic:["斜体"],heading:["标题"],text:["字体"],"font-color":["文字色"],"font-size":["字号","字体大小"],"font-size-2":["字号","字体大小"],underline:["下划线"],emphasis:["着重号"],"emphasis-cn":["着重号"],strikethrough:["remove formatting","删除线"],"strikethrough-2":["remove formatting","删除线"],"format-clear":["remove formatting","清除格式"],"align-left":["左对齐"],"align-center":["居中对齐"],"align-right":["右对齐"],"align-justify":["排列对齐"],"align-top":["顶部对齐"],"align-vertically":["垂直对齐"],"align-bottom":["底部对齐"],"list-check":["check list","清单列表"],"list-check-2":["check list","清单列表"],"list-ordered":["number list","有序列表"],"list-unordered":["bullet list","无序列表"],"indent-decrease":["indent more","缩进"],"indent-increase":["indent less","缩进"],"line-height":["行高"],"text-spacing":["字间距"],"text-wrap":["文本换行"],"attachment-2":["annex","paperclip","附件","曲别针"],link:["connection","address","联系","链接","地址"],"link-unlink":["connection","remove address","去除链接"],"link-m":["connection","address","联系","链接","地址"],"link-unlink-m":["connection","remove address","去除链接"],separator:["分割线"],space:["空格"],"page-separator":["insert","分页符","插入"],"code-view":["代码视图"],"double-quotes-l":["left","quotation marks","双引号"],"double-quotes-r":["right","quotation marks","双引号"],"single-quotes-l":["left","quotation marks","单引号"],"single-quotes-r":["right","quotation marks","单引号"],"table-2":["表格"],subscript:["角标","下标","脚注"],"subscript-2":["角标","下标","脚注"],superscript:["角标","上标"],"superscript-2":["角标","上标"],paragraph:["段落"],"text-direction-l":["文本左对齐"],"text-direction-r":["文本左对齐"],functions:["功能"],omega:["Ω","特殊符号"],hashtag:["#","井号"],asterisk:["*","星号"],"question-mark":["问号"],translate:["translator","翻译"],"translate-2":["translator","翻译"],"a-b":["a/b testing","ab testing","ab测试"],"english-input":["英文输入法"],"pinyin-input":["拼音输入法"],"wubi-input":["五笔输入法"],"input-cursor-move":["移动输入光标"],"number-1":["1","一","数字"],"number-2":["2","二","数字"],"number-3":["3","三","数字"],"number-4":["4","四","数字"],"number-5":["5","五","数字"],"number-6":["6","六","数字"],"number-7":["7","七","数字"],"number-8":["8","八","数字"],"number-9":["9","九","数字"],"number-0":["0","零","数字"],"sort-asc":["ranking","ordering","sorting","ascending","descending","升序排列","排序"],"sort-desc":["ranking","ordering","降序排列","排序"],"bring-forward":["arrange","层级","向上一层"],"send-backward":["arrange","层级","向下一层"],"bring-to-front":["arrange","层级","移到最前面"],"send-to-back":["arrange","层级","移到最后面"],"h-1":["heading","一级标题"],"h-2":["heading","一级标题"],"h-3":["heading","一级标题"],"h-4":["heading","一级标题"],"h-5":["heading","一级标题"],"h-6":["heading","一级标题"],"insert-column-left":["添加列","左侧"],"insert-column-right":["添加列","右侧"],"insert-row-top":["添加行","顶部"],"insert-row-bottom":["添加行","底部"],"delete-column":["删除列","底部"],"delete-row":["添加行","底部"],"merge-cells-horizontal":["合并单元格"],"merge-cells-vertical":["合并单元格"],"split-cells-horizontal":["拆分单元格"],"split-cells-vertical":["拆分单元格"],"flow-chart":["流程图"],"mind-map":["mindmap","脑图","思维导图"],"node-tree":["节点","层级关系图"],"organization-chart":["组织架构图","局域网"],"rounded-corner":["圆角"]},Finance:{wallet:["钱包","卡包"],"wallet-2":["钱包","卡包"],"wallet-3":["钱包","卡包"],"bank-card":["credit","purchase","payment","cc","银行卡","信用卡","购买","消费","支付"],"bank-card-2":["credit","purchase","payment","cc","银行卡","信用卡","购买","消费","支付"],"secure-payment":["credit","purchase","payment","cc","银行卡","信用卡","购买","消费","支付","安全"],refund:["credit card","repayment","cc","银行卡","信用卡还款"],"refund-2":["credit card","repayment","cc","银行卡","信用卡还款"],safe:["保险柜","保险箱"],"safe-2":["保险柜","保险箱"],"price-tag":["label","标签","价签"],"price-tag-2":["label","标签","价签"],"price-tag-3":["label","标签","价签"],ticket:["coupon","票","优惠券","代金券"],"ticket-2":["coupon","票","优惠券","代金券"],coupon:["ticket","票","优惠券","代金券"],"coupon-2":["ticket","票","优惠券","代金券"],"coupon-3":["ticket","票","优惠券","代金券"],"coupon-4":["优惠券","代金券"],"coupon-5":["优惠券","代金券"],"shopping-bag":["purse","购物袋","购买","消费","商城"],"shopping-bag-2":["购物袋","购买","消费","商城"],"shopping-bag-3":["购物袋","购买","消费","商城"],"shopping-basket":["购物篮","购买","消费","商城"],"shopping-basket-2":["购物篮","购买","消费","商城"],"shopping-cart":["购物车","购买","消费","商城"],"shopping-cart-2":["购物车","购买","消费","商城"],vip:["会员"],"vip-crown":["king","queen","皇冠","会员","国王","女王","王后"],"vip-crown-2":["king","queen","皇冠","会员","国王","女王","王后"],"vip-diamond":["钻石","会员"],trophy:["奖品","奖杯","金杯"],exchange:["swap","交换","换算","兑换"],"exchange-box":["swap","交换","换算","兑换"],swap:["exchange","交换","换算","兑换"],"swap-box":["exchange","交换","换算","兑换"],"exchange-dollar":["swap","transfer","交换","换算","兑换","美元","转账"],"exchange-cny":["swap","transfer","交换","换算","兑换","人民币","转账"],"exchange-funds":["swap","transfer","交换","换算","兑换","基金","股票","转账"],"increase-decrease":["计算器"],percent:["百分之","百分比"],"copper-coin":["currency","payment","铜币","硬币","货币","钱","支付"],"copper-diamond":["currency","coins","金币","钻石","货币","钱","支付"],"money-cny-box":["currency","payment","货币","钱","支付","人民币"],"money-cny-circle":["currency","coins","金币","payment","货币","钱","支付","人民币"],"money-dollar-box":["currency","payment","货币","钱","支付","美元"],"money-dollar-circle":["currency","coins","金币","payment","cent","penny","货币","钱","支付","美元","美分","便士"],"money-euro-box":["currency","payment","货币","钱","支付","欧元"],"money-euro-circle":["currency","coins","金币","payment","货币","钱","支付","欧元"],"money-pound-box":["currency","payment","货币","钱","支付","英镑"],"money-pound-circle":["currency","coins","金币","payment","货币","钱","支付","英镑"],"bit-coin":["currency","payment","货币","钱","比特币"],coin:["金币","硬币"],coins:["金币","硬币"],currency:["cash","payment","货币","钱"],funds:["foundation","stock","基金","股票"],"funds-box":["foundation","stock","基金","股票"],"red-packet":["红包"],"water-flash":["水电费"],stock:["股票"],auction:["hammer","拍卖","锤子"],gift:["present","礼物"],"gift-2":["present","礼物"],"hand-coin":["donate","business","捐赠"],"hand-heart":["help","donate","volunteer","welfare","帮助","爱心","捐赠","志愿者","公益"],"24-hours":["last","24小时营业"]},"Health & Medical":{heart:["like","love","favorite","心","喜欢","爱","收藏"],"heart-2":["like","love","favorite","心","喜欢","爱","收藏"],"heart-3":["like","love","favorite","心","喜欢","爱","收藏"],"heart-add":["like","love","favorite","心","喜欢","爱","收藏"],dislike:["like","love","remove favorite","心","不喜欢","取消收藏"],hearts:["romance","爱情","浪漫","心"],"heart-pulse":["heart rate","脉搏","心率"],pulse:["wave","heart rate","脉搏","心率","波"],empathize:["care","heart","同理心","关爱","心"],nurse:["doctors","医生","护士"],dossier:["病例"],"health-book":["健康手册","医疗手册"],"first-aid-kit":["case","急救箱"],capsule:["medicine"," 胶囊","药"],"medicine-bottle":["药瓶"],flask:["testing","experimental","experiment","烧瓶","实验","试验"],"test-tube":["testing","experimental","experiment","试管","实验","试验"],microscope:["testing","experimental","experiment","显微镜","实验","试验"],"hand-sanitizer":["alcohol","酒精消毒洗手液"],"mental-health":["心理健康"],psychotherapy:["心理治疗"],stethoscope:["听诊器"],syringe:["注射器"],thermometer:["体温计"],"infrared-thermometer":["红外线体温计","体温枪"],"surgical-mask":["外科医用口罩"],virus:["病毒"],lungs:["肺部"],"rest-time":["close","休息时间","打烊"],zzz:["睡觉"]},Logos:{alipay:["zhifubao","支付宝"],amazon:["亚马逊"],android:["applications","安卓","应用"],angularjs:["angular","programming framework"],"app-store":["applications","苹果应用商店"],apple:["苹果"],baidu:["du","claw","百度","爪"],behance:["behance"],bilibili:["哔哩哔哩"],centos:["linux","system","系统"],chrome:["谷歌浏览器"],codepen:["代码笔"],coreos:["linux","system","系统"],dingding:["钉钉"],discord:["game","chat"],disqus:["comments"],douban:["豆瓣"],dribbble:["追波"],drive:["google drive","谷歌云端硬盘"],dropbox:["多宝箱"],edge:["microsoft edge","edge浏览器"],evernote:["印象笔记"],facebook:["脸书"],"facebook-circle":["脸书"],"facebook-box":["脸书"],finder:["macintosh","仿达"],firefox:["火狐浏览器"],flutter:["google"],gatsby:["gatsby"],github:["github"],gitlab:["gitlab"],google:["谷歌"],"google-play":["applications","谷歌应用商店"],"honor-of-kings":["game","王者荣耀"],ie:["internet explorer","浏览器"],instagram:["照片墙"],invision:["invision"],"kakao-talk":["kakao talk","chat"],line:["连我"],linkedin:["领英"],"linkedin-box":["领英"],mastercard:["bank card","银行卡"],mastodon:["mastodon","长毛象"],medium:["媒体"],messenger:["facebook","脸书","信使"],microsoft:["windows","窗户","微软"],"mini-program":["微信小程序"],"netease-cloud-music":["netease cloud music","网易云音乐"],netflix:["网飞"],npmjs:["npm","nodejs"],"open-source":["opensource","开源"],opera:["欧朋浏览器"],patreon:["donate","money","捐赠","打赏"],paypal:["贝宝"],pinterest:["拼趣"],pixelfed:["photography","pixelfed"],playstation:["ps"],"product-hunt":["product hunt"],qq:["penguin","tencent","腾讯","企鹅"],reactjs:["react","programming framework","facebook"],reddit:["reddit"],remixicon:["remix icon","图标"],safari:["safari浏览器"],skype:["skype"],slack:["slack"],snapchat:["ghost","色拉布","幽灵"],soundcloud:["声云"],spectrum:["spectrum"],spotify:["music","音乐"],"stack-overflow":["stack overflow"],stackshare:["share","分享","技术栈"],steam:["game","store"],switch:["nintendo","任天堂"],taobao:["淘宝"],telegram:["telegram"],trello:["trello"],tumblr:["汤博乐"],twitch:["twitch"],twitter:["推特"],ubuntu:["linux","system","系统"],unsplash:["photos"],vimeo:["视频"],visa:["bank card","银行卡"],vuejs:["vue","programming framework"],wechat:["微信"],"wechat-2":["微信"],"wechat-pay":["微信支付"],weibo:["新浪微博"],whatsapp:["瓦次艾普"],windows:["microsoft","窗户","微软"],xbox:["xbox"],xing:["xing"],youtube:["优兔","油管"],zcool:["zcool","站酷"],zhihu:["知乎"]},Map:{"map-pin":["location","navigation","地图","坐标","定位","导航","位置"],"map-pin-2":["location","navigation","地图","坐标","定位","导航","位置"],"map-pin-3":["location","navigation","地图","坐标","定位","导航","位置"],"map-pin-4":["location","navigation","地图","坐标","定位","导航","位置"],"map-pin-5":["location","navigation","地图","坐标","定位","导航","位置"],"map-pin-add":["location","navigation","地图","坐标","定位","导航","位置","新增","添加"],"map-pin-range":["location","navigation","地图","坐标","定位","导航","位置","范围"],"map-pin-time":["location","navigation","地图","坐标","定位","导航","位置","时间"],"map-pin-user":["location","navigation","地图","坐标","定位","导航","位置","用户"],"pin-distance":["坐标","距离"],pushpin:["图钉"],"pushpin-2":["图钉"],compass:["navigation","safari","direction","discover","指南针","导航","方向","发现","探索"],"compass-2":["navigation","direction","discover","指南针","导航","方向","发现","探索"],"compass-3":["navigation","safari","direction","discover","指南针","导航","方向","发现","探索"],"compass-4":["navigation","direction","discover","指南针","导航","方向","发现","探索"],"compass-discover":["navigation","direction","指南针","导航","方向","发现","探索"],anchor:["锚"],"china-railway":["中铁","铁路","火车"],"space-ship":["太空飞船"],rocket:["火箭"],"rocket-2":["space ship","火箭","太空飞船"],map:["navigation","travel","地图","导航","旅行"],"map-2":["location","navigation","travel","地图","定位","导航","旅行"],"treasure-map":["thriller","adventure","地图","藏宝图"],"road-map":["navigation","travel","地图","导航","旅行"],earth:["global","union","world","language","地球","全球","联合","世界","语言"],globe:["earth","地球仪"],parking:["停车场"],"parking-box":["停车场"],route:["path","路线"],guide:["path","指引","路线"],"gas-station":["加气站","加油站"],"charging-pile":["充电桩"],"charging-pile-2":["充电桩"],car:["汽车"],"car-washing":["汽车","洗车"],roadster:["car","汽车","跑车"],taxi:["car","出租车","汽车"],"taxi-wifi":["car","出租车","汽车"],"police-car":["汽车","警车"],bus:["大巴","巴士"],"bus-2":["大巴","巴士"],"bus-wifi":["大巴","巴士"],truck:["van","delivery","卡车","货车","运输"],train:["火车"],"train-wifi":["火车"],subway:["地铁"],"subway-wifi":["地铁"],"flight-takeoff":["airplane","plane","origin","起飞","出发","始发","起点","飞机"],"flight-land":["airplane","plane","destination","着陆","到达","抵达","终点","飞机"],plane:["fight","飞机","航班"],sailboat:["帆船"],ship:["轮船","航海","海运"],"ship-2":["轮船"],bike:["自行车"],"e-bike":["take out","takeaway","电动车","外卖"],"e-bike-2":["take out","takeaway","电动车","外卖"],takeaway:["take out","takeaway","电动车","外卖"],motorbike:["摩托车"],caravan:["房车"],walk:["步行"],run:["奔跑","跑步"],riding:["bike","骑行","自行车"],barricade:["路障"],footprint:["脚印","足迹"],"traffic-light":["交通","信号灯"],"signal-tower":["base station","antenna","信号塔","基站","天线"],restaurant:["餐厅","饭店"],"restaurant-2":["餐厅","饭店"],cup:["tea","coffee","杯子","咖啡","茶"],goblet:["cup","wine glass","高脚杯","酒杯"],"hotel-bed":["酒店","床"],navigation:["gps","导航"],oil:["汽油","机油"],direction:["right","方向","右转"],steering:["drive","方向盘","驾车"],"steering-2":["drive","方向盘","驾车"],lifebuoy:["life ring","救生圈"],passport:["passports","护照"],suitcase:["travel","旅行","行李箱"],"suitcase-2":["travel","旅行","行李箱","拉杆箱"],"suitcase-3":["travel","旅行","boarding case","行李箱","拉杆箱","登机箱"],"luggage-deposit":["consignment","行李箱","行李寄存","托运"],"luggage-cart":["行李车"]},Media:{image:["picture","photo","图片","照片"],"image-2":["picture","photo","图片","照片"],"image-add":["picture","photo","图片","照片","添加"],"image-edit":["picture","photo","图片","照片","编辑"],landscape:["picture","image","photo","图片","照片"],gallery:["picture","image","图片","相册"],"gallery-upload":["picture","image","图片","相册","上传"],video:["视频"],movie:["film","video","电影","硬盘","视频"],"movie-2":["film","video","电影","硬盘","视频"],film:["movie","video","影片","电影","视频"],clapperboard:["movie","film","场记板","电影"],vidicon:["video","camera","摄像机","摄影机","视频"],"vidicon-2":["camera","摄像机","摄影机"],live:["video","camera","摄像机","摄影机","视频","直播"],"video-add":["camera","摄像机","摄影机","视频","添加"],"video-upload":["camera","摄像机","摄影机","视频","上传"],"video-download":["camera","摄像机","摄影机","视频","下载"],dv:["vidicon","camera","摄像机","摄影机"],camera:["photo","照相机","拍照","照片"],"camera-off":["photo","slash","照相机","拍照","照片","禁止","关闭"],"camera-2":["photo","照相机","拍照","照片"],"camera-3":["photo","照相机","拍照","照片"],"camera-lens":["aperture","photo","照相机","拍照","照片","朋友圈"],"camera-switch":["照相机","拍照","翻转"],polaroid:["camera","相机","宝丽来"],"polaroid-2":["camera","相机","宝丽来"],"phone-camera":["手机相机","手机摄像头"],webcam:["摄像头"],mv:["music video","音乐"],music:["音乐"],"music-2":["音乐"],disc:["music","album","音乐","唱片"],album:["music","唱片","音乐"],dvd:["cd","dvd","record","光盘","刻录"],headphone:["music","headset","耳机","音乐"],radio:["收音机","电台"],"radio-2":["收音机","电台"],tape:["录音","磁带"],mic:["record","voice","话筒","语音","录音","声音"],"mic-2":["record","voice","话筒","语音","录音","声音"],"mic-off":["record","voice","slash","关闭话筒","关闭语音","录音","关闭声音","静音","禁止"],"volume-down":["trumpet","sound","speaker","音量低","喇叭","声音","扬声器"],"volume-mute":["trumpet","sound","off","音量低","喇叭","声音","静音"],"volume-up":["trumpet","sound","speaker","音量高","喇叭","声音","扬声器"],"volume-vibrate":["trumpet","sound","speaker","喇叭","声音","扬声器","震动模式"],"volume-off-vibrate":["trumpet","sound","speaker","静音","喇叭","声音","扬声器","静音模式"],speaker:["音响"],"speaker-2":["音响"],"speaker-3":["音响"],"surround-sound":["环绕立体声"],broadcast:["广播"],notification:["bell","alarm","通知","铃铛","提醒"],"notification-2":["bell","alarm","通知","铃铛","提醒"],"notification-3":["bell","alarm","通知","铃铛","提醒"],"notification-4":["bell","alarm","通知","铃铛","提醒"],"notification-off":["bell","alarm","silent","slash","通知","铃铛","提醒","免打扰","静音","关闭","禁止"],"play-circle":["start","播放","开始"],"pause-circle":["暂停"],"record-circle":["录音"],"stop-circle":["停止"],eject:["推出"],play:["start","播放","开始"],pause:["暂停"],stop:["停止"],rewind:["fast","快退"],speed:["fast","快进"],"skip-back":["上一曲"],"skip-forward":["下一曲"],"play-mini":["播放"],"pause-mini":["暂停"],"stop-mini":["停止"],"rewind-mini":["fast","快退"],"speed-mini":["fast","快进"],"skip-back-mini":["上一曲"],"skip-forward-mini":["下一曲"],repeat:["循环播放"],"repeat-2":["循环播放"],"repeat-one":["单曲循环"],"order-play":["顺序播放"],shuffle:["随机播放"],"play-list":["播放列表"],"play-list-2":["播放列表"],"play-list-add":["列表","添加"],fullscreen:["maximize","全屏","最大化"],"fullscreen-exit":["minimize","退出全屏","最小化"],equalizer:["sliders","controls","settings","filter","均衡器","控制器","设置","筛选"],"sound-module":["sliders","controls","settings","filter","均衡器","控制器","设置","筛选"],rhythm:["节奏","韵律"],voiceprint:["声纹"],hq:["high quality","高质量","高品质"],hd:["high definition","高清晰度"],"4k":["high definition","high quality","高清晰度","高品质","超清"],"closed-captioning":["隐藏字幕"],"aspect-ratio":["宽高比","比例"],"picture-in-picture":["画中画","小窗"],"picture-in-picture-2":["画中画","小窗"],"picture-in-picture-exit":["退出画中画","退出小窗"]},System:{apps:["应用"],"apps-2":["应用"],function:["layout","功能","应用","卡片布局"],dashboard:["仪表盘"],menu:["navigation","hamburger","导航","菜单","汉堡包"],"menu-2":["navigation","hamburger","导航","菜单","汉堡包"],"menu-3":["navigation","hamburger","导航","菜单","汉堡包"],"menu-4":["navigation","hamburger","导航","菜单","汉堡包"],"menu-5":["navigation","hamburger","导航","菜单","汉堡包"],"menu-add":["navigation","hamburger","导航","菜单","汉堡包","添加"],"menu-fold":["navigation","hamburger","导航","菜单","汉堡包","展开"],more:["ellipsis","更多","省略"],"more-2":["ellipsis","更多","省略"],star:["favorite","like","mark","星星","星标","喜欢"],"star-s":["favorite","like","mark","星星","星标","喜欢","半星"],"star-half":["favorite","like","mark","星星","星标","喜欢"],"star-half-s":["favorite","like","mark","星星","星标","喜欢","半星"],settings:["edit","gear","preferences","偏好设置","编辑","齿轮"],"settings-2":["edit","gear","preferences","偏好设置","编辑","齿轮"],"settings-3":["edit","gear","preferences","偏好设置","编辑","齿轮"],"settings-4":["edit","gear","preferences","偏好设置","编辑","齿轮"],"settings-5":["edit","gear","preferences","偏好设置","编辑","齿轮"],"settings-6":["edit","gear","preferences","偏好设置","编辑","齿轮"],"list-settings":["列表","设置"],forbid:["slash","ban","禁止","禁用"],"forbid-2":["slash","ban","禁止","禁用"],information:["信息"],"error-warning":["alert","警告","错误"],question:["help","问号","帮助"],alert:["提醒","警告"],spam:["alert","垃圾邮件","警告"],"spam-2":["alert","垃圾邮件","警告"],"spam-3":["alert","垃圾邮件","警告"],"checkbox-blank":["复选框","空"],checkbox:["复选框"],"checkbox-indeterminate":["复选框"],"add-box":["plus","new","复选框","添加","加号","新增"],"checkbox-blank-circle":["复选框","空"],"checkbox-circle":["复选框"],"indeterminate-circle":["slash","ban","复选框","禁"],"add-circle":["plus","new","复选框","添加","加号","新增"],"close-circle":["cancel","remove","delete","empty","x","关闭","取消","移除","删除","清空"],"radio-button":["单选框"],"checkbox-multiple-blank":["复选框","空"],"checkbox-multiple":["复选框","空"],check:["对勾"],"check-double":["read","done","double-tick","双对勾","已读"],close:["cancel","remove","delete","empty","x","关闭","取消","移除","删除","清空"],add:["plus","new","添加","新增","加号"],subtract:["减"],divide:["除以"],"arrow-left-up":["corner","左上"],"arrow-up":["箭头","向上"],"arrow-right-up":["corner","右上"],"arrow-right":["forward","箭头","向右"],"arrow-right-down":["corner","右下"],"arrow-down":["箭头","向下"],"arrow-left-down":["corner","箭头","左下"],"arrow-left":["backward","箭头","向左","返回"],"arrow-up-circle":["箭头","向上"],"arrow-right-circle":["forward","箭头","向右"],"arrow-down-circle":["箭头","向下","下载"],"arrow-left-circle":["backward","箭头","向左","返回"],"arrow-up-s":["箭头","向上"],"arrow-down-s":["箭头","向下"],"arrow-right-s":["forward","箭头","向右"],"arrow-left-s":["backward","箭头","向左","返回"],"arrow-drop-up":["箭头","向上"],"arrow-drop-right":["forward","箭头","向右"],"arrow-drop-down":["箭头","向下"],"arrow-drop-left":["backward","箭头","向左","返回"],"arrow-left-right":["exchange","swap","箭头","左右","交换","换算","兑换"],"arrow-up-down":["exchange","swap","箭头","上下","交换","换算","兑换"],"arrow-go-back":["undo","箭头","返回","撤销","撤回"],"arrow-go-forward":["redo","箭头","重做","撤回"],download:["下载"],upload:["上传"],"download-2":["下载"],"upload-2":["上传"],"download-cloud":["下载","云"],"download-cloud-2":["下载","云"],"upload-cloud":["上传","云"],"upload-cloud-2":["上传","云"],"login-box":["sign in","登录"],"logout-box":["sign out","登出","注销"],"logout-box-r":["sign out","登出","注销"],"login-circle":["sign in","登录"],"logout-circle":["sign out","登出","注销"],"logout-circle-r":["sign out","登出","注销"],refresh:["synchronization","reload","restart","spinner","loader","ajax","update","刷新","同步"],shield:["safety","protect","盾牌","卫士","安全","防御"],"shield-cross":["safety","protect","盾牌","卫士","安全","防御","闪电"],"shield-flash":["safety","protect","盾牌","卫士","安全","防御"],"shield-star":["safety","protect","盾牌","卫士","安全","防御","星星"],"shield-user":["safety","protect","user protected","guarantor","盾牌","卫士","安全","防御","用户"],"shield-keyhole":["safety","protect","guarantor","盾牌","卫士","安全","防御","钥匙孔"],"shield-check":["safety","protect","盾牌","卫士","安全","防御"],"delete-back":["backspace","删除","退格"],"delete-back-2":["backspace","删除","退格"],"delete-bin":["trash","remove","ash-bin","garbage","dustbin","uninstall","卸载","删除","垃圾桶"],"delete-bin-2":["trash","remove","ash-bin","garbage","dustbin","uninstall","卸载","删除","垃圾桶"],"delete-bin-3":["trash","remove","ash-bin","garbage","dustbin","uninstall","卸载","删除","垃圾桶"],"delete-bin-4":["trash","remove","ash-bin","garbage","dustbin","uninstall","卸载","删除","垃圾桶"],"delete-bin-5":["trash","remove","ash-bin","garbage","dustbin","uninstall","卸载","删除","垃圾桶"],"delete-bin-6":["trash","remove","ash-bin","garbage","dustbin","uninstall","卸载","删除","垃圾桶"],"delete-bin-7":["trash","remove","ash-bin","garbage","dustbin","uninstall","卸载","删除","垃圾桶"],lock:["security","password","锁子","安全","密码"],"lock-2":["security","password","锁子","安全","密码"],"lock-password":["security","锁子","安全","密码"],"lock-unlock":["security","password","锁子","安全","密码"],eye:["watch","view","眼睛","查看"],"eye-off":["slash","眼睛","不可见","关闭","禁止"],"eye-2":["watch","view","眼睛","查看"],"eye-close":["x","闭眼"],search:["搜索","放大镜"],"search-2":["搜索","放大镜"],"search-eye":["搜索","放大镜","眼睛"],"zoom-in":["放大","放大镜"],"zoom-out":["缩小","放大镜"],"find-replace":["查找","搜索","替换"],share:["分享","转发"],"share-box":["分享","转发"],"share-circle":["分享","转发"],"share-forward":["分享","转发"],"share-forward-2":["分享","转发"],"share-forward-box":["分享","转发"],"side-bar":["侧边栏"],time:["clock","时间","时钟","钟表"],timer:["chronograph","stopwatch","秒表","计时器"],"timer-2":["chronograph","stopwatch","秒表","计时器"],"timer-flash":["chronograph","stopwatch","秒表","计时器","闪电"],alarm:["闹钟"],history:["record","recent","time machine","历史记录","最近"],"thumb-down":["dislike","bad","不喜欢","不好"],"thumb-up":["like","good","喜欢","好"],"alarm-warning":["alert","report","police light","告警","举报","警灯"],"notification-badge":["red dot","通知","小红点"],toggle:["switch","开关","触发器"],filter:["filtration","筛选","过滤"],"filter-2":["filtration","筛选","过滤"],"filter-3":["filtration","筛选","过滤"],"filter-off":["filtration","clear-filter","筛选","过滤"],loader:["loader","spinner","ajax","waiting","delay","加载中","载入中","正在加载"],"loader-2":["loader","spinner","ajax","waiting","delay","加载中","载入中","正在加载"],"loader-3":["loader","spinner","ajax","waiting","delay","加载中","载入中","正在加载"],"loader-4":["loader","spinner","ajax","waiting","delay","加载中","载入中","正在加载"],"loader-5":["loader","spinner","ajax","waiting","delay","加载中","载入中","正在加载"],"external-link":["外链"]},"User & Faces":{user:["用户"],"user-2":["用户"],"user-3":["用户"],"user-4":["用户"],"user-5":["用户"],"user-6":["用户"],"user-smile":["用户","微笑"],"account-box":["用户","账户"],"account-circle":["用户","账户"],"account-pin-box":["用户","账户"],"account-pin-circle":["用户","账户"],"user-add":["用户","添加","新增"],"user-follow":["关注"],"user-unfollow":["用户","取消关注"],"user-shared":["transfer","用户","我分享的","发送"],"user-shared-2":["transfer","用户","我分享的","发送"],"user-received":["用户","我接收的","收取"],"user-received-2":["用户","我接收的","收取"],"user-location":["用户","定位"],"user-search":["用户","查找"],"user-settings":["admin","用户","设置","管理员"],"user-star":["用户","关注"],"user-heart":["用户","关注"],admin:["admin","用户","管理员"],contacts:["联系人"],group:["team","团队","群组"],"group-2":["team","团队","群组"],team:["团队","小组","群主"],"user-voice":["用户","录音","演讲"],emotion:["表情","笑脸"],"emotion-2":["表情","笑脸"],"emotion-happy":["表情","开心"],"emotion-normal":["表情","一般"],"emotion-unhappy":["表情","不开心"],"emotion-laugh":["comedy","happy","表情","大笑","笑脸","开心","喜剧"],"emotion-sad":["drama","tears","悲剧","哭泣","泪"],skull:["ghost","骷髅","鬼怪"],"skull-2":["ghost","horror","thriller","骷髅","鬼怪","恐惧","恐怖"],men:["gender","man","male","男人","男性"],women:["gender","woman","female","女人","女性"],travesti:["女人","女性"],genderless:["女人","女性"],"open-arm":["张开双臂"],"body-scan":["gesture recognition","body","扫描身体","体态识别","动作之别","手势识别"],parent:["patriarch","父母","亲子","家长"],robot:["mechanic","机器人"],aliens:["science fiction","ET","外星人","科幻小说"],"bear-smile":["cartoon","anime","cartoon","小熊","微笑","儿童","动画片","卡通","动漫"],mickey:["cartoon","disney","迪士尼","米老鼠","微笑","儿童","动画片"],criminal:["horror","thriller","罪犯","犯罪","恐怖"],ghost:["horror","thriller","鬼怪","恐怖","恐惧"],"ghost-2":["horror","鬼怪","恐怖","恐惧"],"ghost-smile":["鬼怪","笑"],"star-smile":["animation","动画","微笑","星星"],spy:["incognito mode","detective","secret","间谍","侦探","无痕模式","隐私模式"]},Weather:{sun:["light mode","sunny","太阳","白天模式","晴天"],moon:["dark mode","night","月亮","夜间模式","月牙"],flashlight:["闪电"],cloudy:["多云"],"cloudy-2":["多云"],mist:["雾气","雾霾"],foggy:["大雾"],"cloud-windy":["风"],windy:["大风","刮风"],rainy:["下雨","雨天"],drizzle:["小雨"],showers:["中雨"],"heavy-showers":["大雨"],thunderstorms:["雷暴","雷阵雨"],hail:["冰雹"],snowy:["下雪","雪天"],"sun-cloudy":["晴转多云"],"moon-cloudy":["夜间多云"],tornado:["龙卷风"],typhoon:["cyclone","tornado","龙卷风","旋风","台风"],haze:["阴霾","薄雾"],"haze-2":["阴霾","薄雾"],"sun-foggy":["薄雾"],"moon-foggy":["薄雾"],"moon-clear":["夜间模式","夜间无云"],"temp-hot":["temperature","温度","高温","热"],"temp-cold":["temperature","温度","低温","冷"],celsius:["temperature","温度","摄氏度"],fahrenheit:["temperature","温度","华氏度"],fire:["hot","火","热门"],blaze:["火灾"],earthquake:["地震"],flood:["洪水"],meteor:["流星","陨石"],rainbow:["彩虹"]},Others:{basketball:["sports","运动","篮球"],bell:["cartoon","anime","doraemon","铃铛","哆啦A梦","卡通","动漫"],billiards:["sports","运动","台球","8"],boxing:["sports","运动","拳击"],cake:["anniversary","蛋糕"],"cake-2":["anniversary","蛋糕"],"cake-3":["蛋糕"],"door-lock":["门锁"],"door-lock-box":["门锁"],football:["sports","运动","足球"],game:["pac man","游戏","吃豆人"],handbag:["fashion","时尚","手提包","女包"],key:["password","钥匙","密码"],"key-2":["password","钥匙","密码"],knife:["刀"],"knife-blood":["crime","刀","犯罪","血","杀人"],lightbulb:["energy","creativity","灯泡","能源"],"lightbulb-flash":["energy","creativity","灯泡","能源","闪电"],outlet:["插座"],"outlet-2":["插座"],"ping-pong":["sports","table tennis","运动","乒乓球"],plug:["二脚插头"],"plug-2":["三脚插头"],reserved:["已预定"],shirt:["clothes","衬衫","衣服"],sword:["war","刀剑","战争","战斗","玄幻"],"t-shirt":["skin","theme","T恤","皮肤","主题"],"t-shirt-2":["skin","theme","T恤","皮肤","主题"],"t-shirt-air":["dry","T恤","风干","烘干"],umbrella:["protect","雨伞","保护"],"character-recognition":["ocr","文字识别"],"voice-recognition":["asr","语音识别"],leaf:["energy","ecology","树叶","节能","环保","语音识别"],plant:["植物"],seedling:["树苗","植物"],recycle:["recyclable","可回收"],scales:["balance","称","天平","天秤"],"scales-2":["厨房称"],"scales-3":["balance","称","天平","天秤"],fridge:["refrigerator","电冰箱"],wheelchair:["accessbility","轮椅","可访问性","辅助功能"],cactus:["desertr","仙人掌","沙漠"],door:["门"],"door-open":["开门"],"door-closed":["关门"]}},IconSelect_svelte_svelte_type_style_lang="";function get_each_context$17(to,ue,eo){const no=to.slice();return no[32]=ue[eo],no}function get_each_context_1$k(to,ue,eo){const no=to.slice();return no[35]=ue[eo],no[37]=eo,no}function create_default_slot_3$1u(to){let ue;return{c(){ue=text(to[8])},m(eo,no){insert$1(eo,ue,no)},p(eo,no){no[0]&256&&set_data(ue,eo[8])},d(eo){eo&&detach(ue)}}}function create_if_block_3$J(to){let ue;return{c(){ue=element("span"),ue.textContent="-"},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_each_block_1$k(to){let ue,eo,no,ro,oo;function io(){return to[21](to[35])}let so=to[37]!==to[9].length-1&&create_if_block_3$J();return{c(){ue=element("span"),ue.textContent=`${to[35]}`,eo=space$1(),so&&so.c(),no=empty$4(),attr(ue,"class","letter svelte-cthb51"),toggle_class(ue,"letter-selected",to[35]===to[2])},m(ao,lo){insert$1(ao,ue,lo),insert$1(ao,eo,lo),so&&so.m(ao,lo),insert$1(ao,no,lo),ro||(oo=listen(ue,"click",io),ro=!0)},p(ao,lo){to=ao,lo[0]&516&&toggle_class(ue,"letter-selected",to[35]===to[2])},d(ao){ao&&(detach(ue),detach(eo),detach(no)),so&&so.d(ao),ro=!1,oo()}}}function create_default_slot_2$1Q(to){let ue;return{c(){ue=text("Search")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_if_block_2$$(to){let ue,eo;return ue=new Button({props:{primary:!0,$$slots:{default:[create_default_slot_1$2s]},$$scope:{ctx:to}}}),ue.$on("click",to[24]),{c(){create_component(ue.$$.fragment)},m(no,ro){mount_component(ue,no,ro),eo=!0},p(no,ro){const oo={};ro[1]&128&&(oo.$$scope={dirty:ro,ctx:no}),ue.$set(oo)},i(no){eo||(transition_in(ue.$$.fragment,no),eo=!0)},o(no){transition_out(ue.$$.fragment,no),eo=!1},d(no){destroy_component(ue,no)}}}function create_default_slot_1$2s(to){let ue;return{c(){ue=text("Clear")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_else_block$16(to){let ue;return{c(){ue=element("div"),ue.textContent="No icons found",attr(ue,"class","no-icons svelte-cthb51")},m(eo,no){insert$1(eo,ue,no)},p:noop$5,d(eo){eo&&detach(ue)}}}function create_if_block$2I(to){let ue,eo=!to[5]&&create_if_block_1$1v(to);return{c(){ue=element("div"),eo&&eo.c(),attr(ue,"class","icon-area svelte-cthb51")},m(no,ro){insert$1(no,ue,ro),eo&&eo.m(ue,null)},p(no,ro){no[5]?eo&&(eo.d(1),eo=null):eo?eo.p(no,ro):(eo=create_if_block_1$1v(no),eo.c(),eo.m(ue,null))},d(no){no&&detach(ue),eo&&eo.d()}}}function create_if_block_1$1v(to){let ue,eo=ensure_array_like(to[7]),no=[];for(let ro=0;ro<eo.length;ro+=1)no[ro]=create_each_block$17(get_each_context$17(to,eo,ro));return{c(){for(let ro=0;ro<no.length;ro+=1)no[ro].c();ue=empty$4()},m(ro,oo){for(let io=0;io<no.length;io+=1)no[io]&&no[io].m(ro,oo);insert$1(ro,ue,oo)},p(ro,oo){if(oo[0]&16513){eo=ensure_array_like(ro[7]);let io;for(io=0;io<eo.length;io+=1){const so=get_each_context$17(ro,eo,io);no[io]?no[io].p(so,oo):(no[io]=create_each_block$17(so),no[io].c(),no[io].m(ue.parentNode,ue))}for(;io<no.length;io+=1)no[io].d(1);no.length=eo.length}},d(ro){ro&&detach(ue),destroy_each(no,ro)}}}function create_each_block$17(to){let ue,eo,no,ro,oo,io,so=to[32]+"",ao,lo,uo,co,fo,po,mo,_o,ho,go=to[32]+"",bo,vo,$o,wo,ko;function So(){return to[27](to[32])}function To(){return to[28](to[32])}return{c(){ue=element("div"),eo=element("div"),no=element("i"),oo=space$1(),io=element("div"),ao=text(so),lo=text("-fill"),uo=space$1(),co=element("div"),fo=element("div"),po=element("i"),_o=space$1(),ho=element("div"),bo=text(go),vo=text("-line"),$o=space$1(),attr(no,"class",ro=null_to_empty(`ri-${to[32]}-fill ri-xl`)+" svelte-cthb51"),attr(eo,"class","icon-preview svelte-cthb51"),attr(io,"class","icon-label svelte-cthb51"),attr(ue,"class","icon-container svelte-cthb51"),toggle_class(ue,"selected",to[0]===`ri-${to[32]}-fill`),attr(po,"class",mo=null_to_empty(`ri-${to[32]}-line ri-xl`)+" svelte-cthb51"),attr(fo,"class","icon-preview svelte-cthb51"),attr(ho,"class","icon-label svelte-cthb51"),attr(co,"class","icon-container svelte-cthb51"),toggle_class(co,"selected",to[0]===`ri-${to[32]}-line`)},m(Io,Ao){insert$1(Io,ue,Ao),append$2(ue,eo),append$2(eo,no),append$2(ue,oo),append$2(ue,io),append$2(io,ao),append$2(io,lo),insert$1(Io,uo,Ao),insert$1(Io,co,Ao),append$2(co,fo),append$2(fo,po),append$2(co,_o),append$2(co,ho),append$2(ho,bo),append$2(ho,vo),append$2(co,$o),wo||(ko=[listen(ue,"click",So),listen(co,"click",To)],wo=!0)},p(Io,Ao){to=Io,Ao[0]&128&&ro!==(ro=null_to_empty(`ri-${to[32]}-fill ri-xl`)+" svelte-cthb51")&&attr(no,"class",ro),Ao[0]&128&&so!==(so=to[32]+"")&&set_data(ao,so),Ao[0]&129&&toggle_class(ue,"selected",to[0]===`ri-${to[32]}-fill`),Ao[0]&128&&mo!==(mo=null_to_empty(`ri-${to[32]}-line ri-xl`)+" svelte-cthb51")&&attr(po,"class",mo),Ao[0]&128&&go!==(go=to[32]+"")&&set_data(bo,go),Ao[0]&129&&toggle_class(co,"selected",to[0]===`ri-${to[32]}-line`)},d(Io){Io&&(detach(ue),detach(uo),detach(co)),wo=!1,run_all(ko)}}}function create_default_slot$3o(to){let ue,eo,no,ro,oo,io,so,ao,lo,uo,co,fo,po,mo,_o,ho,go,bo,vo,$o,wo,ko,So=ensure_array_like(to[9]),To=[];for(let Po=0;Po<So.length;Po+=1)To[Po]=create_each_block_1$k(get_each_context_1$k(to,So,Po));function Io(Po){to[22](Po)}let Ao={thin:!0,placeholder:"Search icons"};to[1]!==void 0&&(Ao.value=to[1]),oo=new Input$5({props:Ao}),binding_callbacks.push(()=>bind$2(oo,"value",Io)),oo.$on("keyup",to[23]),ao=new Button({props:{secondary:!0,$$slots:{default:[create_default_slot_2$1Q]},$$scope:{ctx:to}}}),ao.$on("click",to[13]);let Eo=to[0]&&create_if_block_2$$(to);function Lo(Po,Mo){return Po[7].length>0?create_if_block$2I:create_else_block$16}let No=Lo(to),Do=No(to);return{c(){ue=element("div"),eo=element("div");for(let Po=0;Po<To.length;Po+=1)To[Po].c();no=space$1(),ro=element("div"),create_component(oo.$$.fragment),so=space$1(),create_component(ao.$$.fragment),lo=space$1(),Eo&&Eo.c(),uo=space$1(),co=element("div"),fo=element("div"),po=element("i"),mo=space$1(),_o=element("span"),ho=text(to[6]),go=space$1(),bo=element("i"),vo=space$1(),Do.c(),attr(eo,"class","alphabet-area svelte-cthb51"),attr(ro,"class","search-input svelte-cthb51"),attr(po,"class","page-btn ri-arrow-left-line ri-sm svelte-cthb51"),attr(bo,"class","page-btn ri-arrow-right-line ri-sm svelte-cthb51"),attr(fo,"class","pager svelte-cthb51"),attr(co,"class","page-area svelte-cthb51"),attr(ue,"class","container svelte-cthb51")},m(Po,Mo){insert$1(Po,ue,Mo),append$2(ue,eo);for(let Uo=0;Uo<To.length;Uo+=1)To[Uo]&&To[Uo].m(eo,null);append$2(ue,no),append$2(ue,ro),mount_component(oo,ro,null),append$2(ro,so),mount_component(ao,ro,null),append$2(ro,lo),Eo&&Eo.m(ro,null),append$2(ue,uo),append$2(ue,co),append$2(co,fo),append$2(fo,po),append$2(fo,mo),append$2(fo,_o),append$2(_o,ho),append$2(fo,go),append$2(fo,bo),append$2(ue,vo),Do.m(ue,null),$o=!0,wo||(ko=[listen(po,"click",to[25]),listen(bo,"click",to[26])],wo=!0)},p(Po,Mo){if(Mo[0]&1540){So=ensure_array_like(Po[9]);let Wo;for(Wo=0;Wo<So.length;Wo+=1){const Zo=get_each_context_1$k(Po,So,Wo);To[Wo]?To[Wo].p(Zo,Mo):(To[Wo]=create_each_block_1$k(Zo),To[Wo].c(),To[Wo].m(eo,null))}for(;Wo<To.length;Wo+=1)To[Wo].d(1);To.length=So.length}const Uo={};!io&&Mo[0]&2&&(io=!0,Uo.value=Po[1],add_flush_callback(()=>io=!1)),oo.$set(Uo);const Vo={};Mo[1]&128&&(Vo.$$scope={dirty:Mo,ctx:Po}),ao.$set(Vo),Po[0]?Eo?(Eo.p(Po,Mo),Mo[0]&1&&transition_in(Eo,1)):(Eo=create_if_block_2$$(Po),Eo.c(),transition_in(Eo,1),Eo.m(ro,null)):Eo&&(group_outros(),transition_out(Eo,1,1,()=>{Eo=null}),check_outros()),(!$o||Mo[0]&64)&&set_data(ho,Po[6]),No===(No=Lo(Po))&&Do?Do.p(Po,Mo):(Do.d(1),Do=No(Po),Do&&(Do.c(),Do.m(ue,null)))},i(Po){$o||(transition_in(oo.$$.fragment,Po),transition_in(ao.$$.fragment,Po),transition_in(Eo),$o=!0)},o(Po){transition_out(oo.$$.fragment,Po),transition_out(ao.$$.fragment,Po),transition_out(Eo),$o=!1},d(Po){Po&&detach(ue),destroy_each(To,Po),destroy_component(oo),destroy_component(ao),Eo&&Eo.d(),Do.d(),wo=!1,run_all(ko)}}}function create_fragment$5t(to){let ue,eo,no,ro,oo;eo=new ActionButton({props:{$$slots:{default:[create_default_slot_3$1u]},$$scope:{ctx:to}}}),eo.$on("click",function(){is_function(to[4].show)&&to[4].show.apply(this,arguments)});let io={anchor:to[3],resizable:!1,$$slots:{default:[create_default_slot$3o]},$$scope:{ctx:to}};return ro=new Popover({props:io}),to[29](ro),ro.$on("open",to[11]),{c(){ue=element("div"),create_component(eo.$$.fragment),no=space$1(),create_component(ro.$$.fragment)},m(so,ao){insert$1(so,ue,ao),mount_component(eo,ue,null),to[20](ue),insert$1(so,no,ao),mount_component(ro,so,ao),oo=!0},p(so,ao){to=so;const lo={};ao[0]&256|ao[1]&128&&(lo.$$scope={dirty:ao,ctx:to}),eo.$set(lo);const uo={};ao[0]&8&&(uo.anchor=to[3]),ao[0]&231|ao[1]&128&&(uo.$$scope={dirty:ao,ctx:to}),ro.$set(uo)},i(so){oo||(transition_in(eo.$$.fragment,so),transition_in(ro.$$.fragment,so),oo=!0)},o(so){transition_out(eo.$$.fragment,so),transition_out(ro.$$.fragment,so),oo=!1},d(so){so&&(detach(ue),detach(no)),destroy_component(eo),to[20](null),to[29](null),destroy_component(ro,so)}}}const icons=Object.keys(iconData).reduce((to,ue)=>[...to,...Object.keys(iconData[ue])],[]);function findIconByTerm(to){const ue=new RegExp(`^${to}`,"i");return icons.filter(eo=>ue.test(eo))}function instance$5u(to,ue,eo){let no,ro,oo,io,so;const ao=createEventDispatcher();let{value:lo=""}=ue,{maxIconsPerPage:uo=10}=ue,co="",fo="A",po=1,mo=findIconByTerm(fo);const _o=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];let ho,go,bo=!1;async function vo(Wo){eo(16,po=1),eo(1,co=""),eo(5,bo=!0),eo(2,fo=Wo),eo(17,mo=findIconByTerm(Wo)),await tick(),eo(5,bo=!1)}async function $o(){eo(5,bo=!0);const Wo=mo.findIndex(Zo=>Zo.value===lo);Wo!==-1&&eo(16,po=Math.ceil(Wo/uo)),await tick(),eo(5,bo=!1)}async function wo(){if(lo){const Wo=no.substring(0,1);await vo(Wo),await $o()}}async function ko(Wo){eo(5,bo=!0),Wo&&po<ro?eo(16,po++,po):!Wo&&po>1&&eo(16,po--,po),await tick(),eo(5,bo=!1)}async function So(){eo(16,po=1),eo(5,bo=!0),eo(17,mo=findIconByTerm(co)),await tick(),eo(5,bo=!1)}const To=Wo=>{eo(0,lo=Wo),ao("change",Wo)};function Io(Wo){binding_callbacks[Wo?"unshift":"push"](()=>{ho=Wo,eo(3,ho)})}const Ao=Wo=>vo(Wo);function Eo(Wo){co=Wo,eo(1,co)}const Lo=Wo=>{Wo.key==="Enter"&&So()},No=()=>To(null),Do=()=>ko(!1),Po=()=>ko(!0),Mo=Wo=>To(`ri-${Wo}-fill`),Uo=Wo=>To(`ri-${Wo}-line`);function Vo(Wo){binding_callbacks[Wo?"unshift":"push"](()=>{go=Wo,eo(4,go)})}return to.$$set=Wo=>{"value"in Wo&&eo(0,lo=Wo.value),"maxIconsPerPage"in Wo&&eo(15,uo=Wo.maxIconsPerPage)},to.$$.update=()=>{to.$$.dirty[0]&1&&eo(8,no=lo?lo.substring(3):"Pick icon"),to.$$.dirty[0]&163840&&eo(18,ro=Math.max(1,Math.ceil(mo.length/uo))),to.$$.dirty[0]&98304&&eo(19,oo=uo*po),to.$$.dirty[0]&688128&&eo(7,io=mo.slice(oo-uo,oo)),to.$$.dirty[0]&327680&&eo(6,so=`Page ${po} of ${ro}`)},[lo,co,fo,ho,go,bo,so,io,no,_o,vo,wo,ko,So,To,uo,po,mo,ro,oo,Io,Ao,Eo,Lo,No,Do,Po,Mo,Uo,Vo]}class IconSelect extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5u,create_fragment$5t,safe_not_equal,{value:0,maxIconsPerPage:15},null,[-1,-1])}}const Subject_svelte_svelte_type_style_lang="",get_heading_slot_changes$1=to=>({}),get_heading_slot_context$1=to=>({});function fallback_block$4(to){let ue;return{c(){ue=text(to[0])},m(eo,no){insert$1(eo,ue,no)},p(eo,no){no&1&&set_data(ue,eo[0])},d(eo){eo&&detach(ue)}}}function create_fragment$5s(to){let ue,eo,no,ro,oo,io,so;const ao=to[3].heading,lo=create_slot(ao,to,to[2],get_heading_slot_context$1),uo=lo||fallback_block$4(to),co=to[3].default,fo=create_slot(co,to,to[2],null);return{c(){ue=element("div"),eo=element("span"),uo&&uo.c(),no=space$1(),ro=element("div"),oo=space$1(),io=element("div"),fo&&fo.c(),attr(eo,"class","heading svelte-pw7k0m"),attr(ue,"class","heading svelte-pw7k0m"),attr(ro,"class","divider svelte-pw7k0m"),attr(io,"class","body svelte-pw7k0m")},m(po,mo){insert$1(po,ue,mo),append$2(ue,eo),uo&&uo.m(eo,null),insert$1(po,no,mo),insert$1(po,ro,mo),insert$1(po,oo,mo),insert$1(po,io,mo),fo&&fo.m(io,null),to[4](io),so=!0},p(po,[mo]){lo?lo.p&&(!so||mo&4)&&update_slot_base(lo,ao,po,po[2],so?get_slot_changes(ao,po[2],mo,get_heading_slot_changes$1):get_all_dirty_from_scope(po[2]),get_heading_slot_context$1):uo&&uo.p&&(!so||mo&1)&&uo.p(po,so?mo:-1),fo&&fo.p&&(!so||mo&4)&&update_slot_base(fo,co,po,po[2],so?get_slot_changes(co,po[2],mo,null):get_all_dirty_from_scope(po[2]),null)},i(po){so||(transition_in(uo,po),transition_in(fo,po),so=!0)},o(po){transition_out(uo,po),transition_out(fo,po),so=!1},d(po){po&&(detach(ue),detach(no),detach(ro),detach(oo),detach(io)),uo&&uo.d(po),fo&&fo.d(po),to[4](null)}}}function instance$5t(to,ue,eo){let{$$slots:no={},$$scope:ro}=ue,{heading:oo=""}=ue,io;const so=lo=>{io&&io.scrollTo({top:io.scrollTop+lo.deltaY,behavior:"smooth"})};onMount(()=>(window.addEventListener("wheel",so),()=>{window.removeEventListener("wheel",so)}));function ao(lo){binding_callbacks[lo?"unshift":"push"](()=>{io=lo,eo(1,io)})}return to.$$set=lo=>{"heading"in lo&&eo(0,oo=lo.heading),"$$scope"in lo&&eo(2,ro=lo.$$scope)},[oo,io,ro,no,ao]}class Subject extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5t,create_fragment$5s,safe_not_equal,{heading:0})}}const Property_svelte_svelte_type_style_lang="",get_name_slot_changes=to=>({}),get_name_slot_context=to=>({});function fallback_block_1$1(to){let ue;return{c(){ue=text(to[0])},m(eo,no){insert$1(eo,ue,no)},p(eo,no){no&1&&set_data(ue,eo[0])},d(eo){eo&&detach(ue)}}}function fallback_block$3(to){let ue;return{c(){ue=text(to[1])},m(eo,no){insert$1(eo,ue,no)},p(eo,no){no&2&&set_data(ue,eo[1])},d(eo){eo&&detach(ue)}}}function create_fragment$5r(to){let ue,eo,no,ro,oo,io,so;const ao=to[4].name,lo=create_slot(ao,to,to[3],get_name_slot_context),uo=lo||fallback_block_1$1(to),co=to[4].default,fo=create_slot(co,to,to[3],null),po=fo||fallback_block$3(to);return{c(){ue=element("div"),eo=element("span"),uo&&uo.c(),no=space$1(),ro=element("span"),ro.textContent="-",oo=space$1(),io=element("span"),po&&po.c(),attr(eo,"class","propertyName svelte-b5xl53"),attr(ro,"class","propertyDivider svelte-b5xl53"),attr(io,"class","propertyValue svelte-b5xl53"),attr(ue,"class","property svelte-b5xl53"),toggle_class(ue,"truncate",to[2])},m(mo,_o){insert$1(mo,ue,_o),append$2(ue,eo),uo&&uo.m(eo,null),append$2(ue,no),append$2(ue,ro),append$2(ue,oo),append$2(ue,io),po&&po.m(io,null),so=!0},p(mo,[_o]){lo?lo.p&&(!so||_o&8)&&update_slot_base(lo,ao,mo,mo[3],so?get_slot_changes(ao,mo[3],_o,get_name_slot_changes):get_all_dirty_from_scope(mo[3]),get_name_slot_context):uo&&uo.p&&(!so||_o&1)&&uo.p(mo,so?_o:-1),fo?fo.p&&(!so||_o&8)&&update_slot_base(fo,co,mo,mo[3],so?get_slot_changes(co,mo[3],_o,null):get_all_dirty_from_scope(mo[3]),null):po&&po.p&&(!so||_o&2)&&po.p(mo,so?_o:-1),(!so||_o&4)&&toggle_class(ue,"truncate",mo[2])},i(mo){so||(transition_in(uo,mo),transition_in(po,mo),so=!0)},o(mo){transition_out(uo,mo),transition_out(po,mo),so=!1},d(mo){mo&&detach(ue),uo&&uo.d(mo),po&&po.d(mo)}}}function instance$5s(to,ue,eo){let{$$slots:no={},$$scope:ro}=ue,{name:oo}=ue,{value:io}=ue,{truncate:so=!1}=ue;return to.$$set=ao=>{"name"in ao&&eo(0,oo=ao.name),"value"in ao&&eo(1,io=ao.value),"truncate"in ao&&eo(2,so=ao.truncate),"$$scope"in ao&&eo(3,ro=ao.$$scope)},[oo,io,so,ro,no]}class Property extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5s,create_fragment$5r,safe_not_equal,{name:0,value:1,truncate:2})}}const JSONValue_svelte_svelte_type_style_lang="";function create_fragment$5q(to){let ue,eo,no,ro;return{c(){ue=element("pre"),eo=text(" "),no=text(to[0]),ro=text(`
1042
+ being executed.`)},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_fragment$5K(to){let ue,eo,no,ro,oo,io,so,ao,lo,uo,co,fo,po,mo;eo=new Body({props:{size:"S",$$slots:{default:[create_default_slot$3C]},$$scope:{ctx:to}}});function _o(wo){to[4](wo)}let ho={options:to[2],placeholder:null};to[0].type!==void 0&&(ho.value=to[0].type),ro=new Select_1$1({props:ho}),binding_callbacks.push(()=>bind$2(ro,"value",_o)),so=new DrawerBindableInput({props:{placeholder:"Value",value:to[0].value,bindings:to[1]}}),so.$on("change",to[5]);function go(wo){to[6](wo)}let bo={options:to[3],placeholder:null};to[0].operator!==void 0&&(bo.value=to[0].operator),lo=new Select_1$1({props:bo}),binding_callbacks.push(()=>bind$2(lo,"value",go));function vo(wo){to[7](wo)}let $o={placeholder:"Reference value",bindings:to[1]};return to[0].referenceValue!==void 0&&($o.value=to[0].referenceValue),fo=new DrawerBindableInput({props:$o}),binding_callbacks.push(()=>bind$2(fo,"value",vo)),fo.$on("change",to[8]),{c(){ue=element("div"),create_component(eo.$$.fragment),no=space$1(),create_component(ro.$$.fragment),io=space$1(),create_component(so.$$.fragment),ao=space$1(),create_component(lo.$$.fragment),co=space$1(),create_component(fo.$$.fragment),attr(ue,"class","root svelte-1yfkfsp")},m(wo,ko){insert$1(wo,ue,ko),mount_component(eo,ue,null),append$2(ue,no),mount_component(ro,ue,null),append$2(ue,io),mount_component(so,ue,null),append$2(ue,ao),mount_component(lo,ue,null),append$2(ue,co),mount_component(fo,ue,null),mo=!0},p(wo,[ko]){const So={};ko&512&&(So.$$scope={dirty:ko,ctx:wo}),eo.$set(So);const To={};!oo&&ko&1&&(oo=!0,To.value=wo[0].type,add_flush_callback(()=>oo=!1)),ro.$set(To);const Io={};ko&1&&(Io.value=wo[0].value),ko&2&&(Io.bindings=wo[1]),so.$set(Io);const Ao={};!uo&&ko&1&&(uo=!0,Ao.value=wo[0].operator,add_flush_callback(()=>uo=!1)),lo.$set(Ao);const Eo={};ko&2&&(Eo.bindings=wo[1]),!po&&ko&1&&(po=!0,Eo.value=wo[0].referenceValue,add_flush_callback(()=>po=!1)),fo.$set(Eo)},i(wo){mo||(transition_in(eo.$$.fragment,wo),transition_in(ro.$$.fragment,wo),transition_in(so.$$.fragment,wo),transition_in(lo.$$.fragment,wo),transition_in(fo.$$.fragment,wo),mo=!0)},o(wo){transition_out(eo.$$.fragment,wo),transition_out(ro.$$.fragment,wo),transition_out(so.$$.fragment,wo),transition_out(lo.$$.fragment,wo),transition_out(fo.$$.fragment,wo),mo=!1},d(wo){wo&&detach(ue),destroy_component(eo),destroy_component(ro),destroy_component(so),destroy_component(lo),destroy_component(fo)}}}function instance$5J(to,ue,eo){let{parameters:no}=ue,{bindings:ro}=ue;const oo=[{label:"Continue if",value:"continue"},{label:"Stop if",value:"stop"}],io=[{label:"Equals",value:"equal"},{label:"Not equals",value:"notEqual"}];onMount(()=>{no.type||eo(0,no.type="continue",no),no.operator||eo(0,no.operator="equal",no)});function so(fo){to.$$.not_equal(no.type,fo)&&(no.type=fo,eo(0,no))}const ao=fo=>eo(0,no.value=fo.detail,no);function lo(fo){to.$$.not_equal(no.operator,fo)&&(no.operator=fo,eo(0,no))}function uo(fo){to.$$.not_equal(no.referenceValue,fo)&&(no.referenceValue=fo,eo(0,no))}const co=fo=>eo(0,no.referenceValue=fo.detail,no);return to.$$set=fo=>{"parameters"in fo&&eo(0,no=fo.parameters),"bindings"in fo&&eo(1,ro=fo.bindings)},[no,ro,oo,io,so,ao,lo,uo,co]}class ContinueIf extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5J,create_fragment$5K,safe_not_equal,{parameters:0,bindings:1})}}const UpdateFieldValue_svelte_svelte_type_style_lang="";function create_default_slot_3$1z(to){let ue;return{c(){ue=text("Form")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot_2$1W(to){let ue;return{c(){ue=text("Type")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot_1$2C(to){let ue;return{c(){ue=text("Field")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_if_block$2P(to){let ue,eo,no,ro;return ue=new Label({props:{small:!0,$$slots:{default:[create_default_slot$3B]},$$scope:{ctx:to}}}),no=new DrawerBindableInput({props:{title:"Field value",bindings:to[1],value:to[0].value}}),no.$on("change",to[13]),{c(){create_component(ue.$$.fragment),eo=space$1(),create_component(no.$$.fragment)},m(oo,io){mount_component(ue,oo,io),insert$1(oo,eo,io),mount_component(no,oo,io),ro=!0},p(oo,io){const so={};io&32768&&(so.$$scope={dirty:io,ctx:oo}),ue.$set(so);const ao={};io&2&&(ao.bindings=oo[1]),io&1&&(ao.value=oo[0].value),no.$set(ao)},i(oo){ro||(transition_in(ue.$$.fragment,oo),transition_in(no.$$.fragment,oo),ro=!0)},o(oo){transition_out(ue.$$.fragment,oo),transition_out(no.$$.fragment,oo),ro=!1},d(oo){oo&&detach(eo),destroy_component(ue,oo),destroy_component(no,oo)}}}function create_default_slot$3B(to){let ue;return{c(){ue=text("Value")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_fragment$5J(to){let ue,eo,no,ro,oo,io,so,ao,lo,uo,co,fo,po,mo,_o,ho,go;eo=new Label({props:{small:!0,$$slots:{default:[create_default_slot_3$1z]},$$scope:{ctx:to}}});function bo(Io){to[10](Io)}let vo={options:to[2],getOptionLabel:func$k,getOptionValue:func_1$g};to[0].componentId!==void 0&&(vo.value=to[0].componentId),ro=new Select_1$1({props:vo}),binding_callbacks.push(()=>bind$2(ro,"value",bo)),so=new Label({props:{small:!0,$$slots:{default:[create_default_slot_2$1W]},$$scope:{ctx:to}}});function $o(Io){to[11](Io)}let wo={placeholder:null,options:to[4]};to[0].type!==void 0&&(wo.value=to[0].type),lo=new Select_1$1({props:wo}),binding_callbacks.push(()=>bind$2(lo,"value",$o)),fo=new Label({props:{small:!0,$$slots:{default:[create_default_slot_1$2C]},$$scope:{ctx:to}}});function ko(Io){to[12](Io)}let So={options:to[3]};to[0].field!==void 0&&(So.value=to[0].field),mo=new Combobox_1({props:So}),binding_callbacks.push(()=>bind$2(mo,"value",ko));let To=to[0].type==="set"&&create_if_block$2P(to);return{c(){ue=element("div"),create_component(eo.$$.fragment),no=space$1(),create_component(ro.$$.fragment),io=space$1(),create_component(so.$$.fragment),ao=space$1(),create_component(lo.$$.fragment),co=space$1(),create_component(fo.$$.fragment),po=space$1(),create_component(mo.$$.fragment),ho=space$1(),To&&To.c(),attr(ue,"class","root svelte-ss4wgk")},m(Io,Ao){insert$1(Io,ue,Ao),mount_component(eo,ue,null),append$2(ue,no),mount_component(ro,ue,null),append$2(ue,io),mount_component(so,ue,null),append$2(ue,ao),mount_component(lo,ue,null),append$2(ue,co),mount_component(fo,ue,null),append$2(ue,po),mount_component(mo,ue,null),append$2(ue,ho),To&&To.m(ue,null),go=!0},p(Io,[Ao]){const Eo={};Ao&32768&&(Eo.$$scope={dirty:Ao,ctx:Io}),eo.$set(Eo);const Lo={};Ao&4&&(Lo.options=Io[2]),!oo&&Ao&1&&(oo=!0,Lo.value=Io[0].componentId,add_flush_callback(()=>oo=!1)),ro.$set(Lo);const No={};Ao&32768&&(No.$$scope={dirty:Ao,ctx:Io}),so.$set(No);const Do={};!uo&&Ao&1&&(uo=!0,Do.value=Io[0].type,add_flush_callback(()=>uo=!1)),lo.$set(Do);const Po={};Ao&32768&&(Po.$$scope={dirty:Ao,ctx:Io}),fo.$set(Po);const Mo={};Ao&8&&(Mo.options=Io[3]),!_o&&Ao&1&&(_o=!0,Mo.value=Io[0].field,add_flush_callback(()=>_o=!1)),mo.$set(Mo),Io[0].type==="set"?To?(To.p(Io,Ao),Ao&1&&transition_in(To,1)):(To=create_if_block$2P(Io),To.c(),transition_in(To,1),To.m(ue,null)):To&&(group_outros(),transition_out(To,1,1,()=>{To=null}),check_outros())},i(Io){go||(transition_in(eo.$$.fragment,Io),transition_in(ro.$$.fragment,Io),transition_in(so.$$.fragment,Io),transition_in(lo.$$.fragment,Io),transition_in(fo.$$.fragment,Io),transition_in(mo.$$.fragment,Io),transition_in(To),go=!0)},o(Io){transition_out(eo.$$.fragment,Io),transition_out(ro.$$.fragment,Io),transition_out(so.$$.fragment,Io),transition_out(lo.$$.fragment,Io),transition_out(fo.$$.fragment,Io),transition_out(mo.$$.fragment,Io),transition_out(To),go=!1},d(Io){Io&&detach(ue),destroy_component(eo),destroy_component(ro),destroy_component(so),destroy_component(lo),destroy_component(fo),destroy_component(mo),To&&To.d()}}}const func$k=to=>to.readableBinding,func_1$g=to=>to.runtimeBinding;function instance$5I(to,ue,eo){let no,ro,oo,io,so,ao;component_subscribe(to,componentStore,bo=>eo(8,so=bo)),component_subscribe(to,selectedScreen,bo=>eo(9,ao=bo));let{parameters:lo}=ue,{bindings:uo=[]}=ue,{nested:co}=ue;const fo=[{label:"Set value",value:"set"},{label:"Reset to default value",value:"reset"}],po=(bo,vo)=>{let $o=findComponent(bo,vo);return $o||(vo!=null&&vo.includes("-")?findComponent(bo,vo.split("-")[0]):null)};onMount(()=>{lo.type||eo(0,lo.type="set",lo)});function mo(bo){to.$$.not_equal(lo.componentId,bo)&&(lo.componentId=bo,eo(0,lo))}function _o(bo){to.$$.not_equal(lo.type,bo)&&(lo.type=bo,eo(0,lo))}function ho(bo){to.$$.not_equal(lo.field,bo)&&(lo.field=bo,eo(0,lo))}const go=bo=>eo(0,lo.value=bo.detail,lo);return to.$$set=bo=>{"parameters"in bo&&eo(0,lo=bo.parameters),"bindings"in bo&&eo(1,uo=bo.bindings),"nested"in bo&&eo(5,co=bo.nested)},to.$$.update=()=>{to.$$.dirty&513&&eo(7,no=po(ao.props,lo.componentId)),to.$$.dirty&128&&eo(6,ro=buildFormSchema(no)),to.$$.dirty&64&&eo(3,oo=Object.keys(ro||{})),to.$$.dirty&800&&eo(2,io=getActionProviders(ao,so.selectedComponentId,"ValidateForm",{includeSelf:co}))},[lo,uo,io,oo,fo,co,ro,no,so,ao,mo,_o,ho,go]}class UpdateFieldValue extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5I,create_fragment$5J,safe_not_equal,{parameters:0,bindings:1,nested:5})}}const ScrollTo_svelte_svelte_type_style_lang="";function create_default_slot_1$2B(to){let ue;return{c(){ue=text("Form")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot$3A(to){let ue;return{c(){ue=text("Field")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_fragment$5I(to){let ue,eo,no,ro,oo,io,so,ao,lo,uo,co;eo=new Label({props:{small:!0,$$slots:{default:[create_default_slot_1$2B]},$$scope:{ctx:to}}});function fo(ho){to[8](ho)}let po={options:to[1],getOptionLabel:func$j,getOptionValue:func_1$f};to[0].componentId!==void 0&&(po.value=to[0].componentId),ro=new Select_1$1({props:po}),binding_callbacks.push(()=>bind$2(ro,"value",fo)),so=new Label({props:{small:!0,$$slots:{default:[create_default_slot$3A]},$$scope:{ctx:to}}});function mo(ho){to[9](ho)}let _o={options:to[2]};return to[0].field!==void 0&&(_o.value=to[0].field),lo=new Combobox_1({props:_o}),binding_callbacks.push(()=>bind$2(lo,"value",mo)),{c(){ue=element("div"),create_component(eo.$$.fragment),no=space$1(),create_component(ro.$$.fragment),io=space$1(),create_component(so.$$.fragment),ao=space$1(),create_component(lo.$$.fragment),attr(ue,"class","root svelte-ijgk9v")},m(ho,go){insert$1(ho,ue,go),mount_component(eo,ue,null),append$2(ue,no),mount_component(ro,ue,null),append$2(ue,io),mount_component(so,ue,null),append$2(ue,ao),mount_component(lo,ue,null),co=!0},p(ho,[go]){const bo={};go&2048&&(bo.$$scope={dirty:go,ctx:ho}),eo.$set(bo);const vo={};go&2&&(vo.options=ho[1]),!oo&&go&1&&(oo=!0,vo.value=ho[0].componentId,add_flush_callback(()=>oo=!1)),ro.$set(vo);const $o={};go&2048&&($o.$$scope={dirty:go,ctx:ho}),so.$set($o);const wo={};go&4&&(wo.options=ho[2]),!uo&&go&1&&(uo=!0,wo.value=ho[0].field,add_flush_callback(()=>uo=!1)),lo.$set(wo)},i(ho){co||(transition_in(eo.$$.fragment,ho),transition_in(ro.$$.fragment,ho),transition_in(so.$$.fragment,ho),transition_in(lo.$$.fragment,ho),co=!0)},o(ho){transition_out(eo.$$.fragment,ho),transition_out(ro.$$.fragment,ho),transition_out(so.$$.fragment,ho),transition_out(lo.$$.fragment,ho),co=!1},d(ho){ho&&detach(ue),destroy_component(eo),destroy_component(ro),destroy_component(so),destroy_component(lo)}}}const func$j=to=>to.readableBinding,func_1$f=to=>to.runtimeBinding;function instance$5H(to,ue,eo){let no,ro,oo,io,so,ao;component_subscribe(to,componentStore,mo=>eo(6,so=mo)),component_subscribe(to,selectedScreen,mo=>eo(7,ao=mo));let{parameters:lo}=ue,{nested:uo}=ue;const co=(mo,_o)=>{let ho=findComponent(mo,_o);return ho||(_o!=null&&_o.includes("-")?findComponent(mo,_o.split("-")[0]):null)};function fo(mo){to.$$.not_equal(lo.componentId,mo)&&(lo.componentId=mo,eo(0,lo))}function po(mo){to.$$.not_equal(lo.field,mo)&&(lo.field=mo,eo(0,lo))}return to.$$set=mo=>{"parameters"in mo&&eo(0,lo=mo.parameters),"nested"in mo&&eo(3,uo=mo.nested)},to.$$.update=()=>{to.$$.dirty&129&&eo(5,no=co(ao.props,lo.componentId)),to.$$.dirty&32&&eo(4,ro=buildFormSchema(no)),to.$$.dirty&16&&eo(2,oo=Object.keys(ro||{})),to.$$.dirty&200&&eo(1,io=getActionProviders(ao,so.selectedComponentId,"ScrollTo",{includeSelf:uo}))},[lo,io,oo,uo,ro,no,so,ao,fo,po]}class ScrollTo extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5H,create_fragment$5I,safe_not_equal,{parameters:0,nested:3})}}const ShowNotification_svelte_svelte_type_style_lang="";function create_default_slot_2$1V(to){let ue;return{c(){ue=text("Type")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot_1$2A(to){let ue;return{c(){ue=text("Message")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_if_block$2O(to){let ue,eo,no,ro;return ue=new Label({props:{$$slots:{default:[create_default_slot$3z]},$$scope:{ctx:to}}}),no=new DrawerBindableInput({props:{title:"Duration",bindings:to[1],value:to[0].duration,placeholder:"3000"}}),no.$on("change",to[3]),{c(){create_component(ue.$$.fragment),eo=space$1(),create_component(no.$$.fragment)},m(oo,io){mount_component(ue,oo,io),insert$1(oo,eo,io),mount_component(no,oo,io),ro=!0},p(oo,io){const so={};io&128&&(so.$$scope={dirty:io,ctx:oo}),ue.$set(so);const ao={};io&2&&(ao.bindings=oo[1]),io&1&&(ao.value=oo[0].duration),no.$set(ao)},i(oo){ro||(transition_in(ue.$$.fragment,oo),transition_in(no.$$.fragment,oo),ro=!0)},o(oo){transition_out(ue.$$.fragment,oo),transition_out(no.$$.fragment,oo),ro=!1},d(oo){oo&&detach(eo),destroy_component(ue,oo),destroy_component(no,oo)}}}function create_default_slot$3z(to){let ue;return{c(){ue=text("Duration (ms)")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_fragment$5H(to){let ue,eo,no,ro,oo,io,so,ao,lo,uo,co,fo,po,mo,_o,ho;eo=new Label({props:{$$slots:{default:[create_default_slot_2$1V]},$$scope:{ctx:to}}});function go(ko){to[4](ko)}let bo={options:to[2],placeholder:null};to[0].type!==void 0&&(bo.value=to[0].type),ro=new Select_1$1({props:bo}),binding_callbacks.push(()=>bind$2(ro,"value",go)),so=new Label({props:{$$slots:{default:[create_default_slot_1$2A]},$$scope:{ctx:to}}}),lo=new DrawerBindableInput({props:{title:"Message",bindings:to[1],value:to[0].message}}),lo.$on("change",to[5]),co=new Label({});function vo(ko){to[6](ko)}let $o={text:"Auto dismiss"};to[0].autoDismiss!==void 0&&($o.value=to[0].autoDismiss),po=new Checkbox_1({props:$o}),binding_callbacks.push(()=>bind$2(po,"value",vo));let wo=to[0].autoDismiss&&create_if_block$2O(to);return{c(){ue=element("div"),create_component(eo.$$.fragment),no=space$1(),create_component(ro.$$.fragment),io=space$1(),create_component(so.$$.fragment),ao=space$1(),create_component(lo.$$.fragment),uo=space$1(),create_component(co.$$.fragment),fo=space$1(),create_component(po.$$.fragment),_o=space$1(),wo&&wo.c(),attr(ue,"class","root svelte-ss4wgk")},m(ko,So){insert$1(ko,ue,So),mount_component(eo,ue,null),append$2(ue,no),mount_component(ro,ue,null),append$2(ue,io),mount_component(so,ue,null),append$2(ue,ao),mount_component(lo,ue,null),append$2(ue,uo),mount_component(co,ue,null),append$2(ue,fo),mount_component(po,ue,null),append$2(ue,_o),wo&&wo.m(ue,null),ho=!0},p(ko,[So]){const To={};So&128&&(To.$$scope={dirty:So,ctx:ko}),eo.$set(To);const Io={};!oo&&So&1&&(oo=!0,Io.value=ko[0].type,add_flush_callback(()=>oo=!1)),ro.$set(Io);const Ao={};So&128&&(Ao.$$scope={dirty:So,ctx:ko}),so.$set(Ao);const Eo={};So&2&&(Eo.bindings=ko[1]),So&1&&(Eo.value=ko[0].message),lo.$set(Eo);const Lo={};!mo&&So&1&&(mo=!0,Lo.value=ko[0].autoDismiss,add_flush_callback(()=>mo=!1)),po.$set(Lo),ko[0].autoDismiss?wo?(wo.p(ko,So),So&1&&transition_in(wo,1)):(wo=create_if_block$2O(ko),wo.c(),transition_in(wo,1),wo.m(ue,null)):wo&&(group_outros(),transition_out(wo,1,1,()=>{wo=null}),check_outros())},i(ko){ho||(transition_in(eo.$$.fragment,ko),transition_in(ro.$$.fragment,ko),transition_in(so.$$.fragment,ko),transition_in(lo.$$.fragment,ko),transition_in(co.$$.fragment,ko),transition_in(po.$$.fragment,ko),transition_in(wo),ho=!0)},o(ko){transition_out(eo.$$.fragment,ko),transition_out(ro.$$.fragment,ko),transition_out(so.$$.fragment,ko),transition_out(lo.$$.fragment,ko),transition_out(co.$$.fragment,ko),transition_out(po.$$.fragment,ko),transition_out(wo),ho=!1},d(ko){ko&&detach(ue),destroy_component(eo),destroy_component(ro),destroy_component(so),destroy_component(lo),destroy_component(co),destroy_component(po),wo&&wo.d()}}}const MAX_DURATION=12e4;function instance$5G(to,ue,eo){let{parameters:no}=ue,{bindings:ro=[]}=ue;const oo=[{label:"Success",value:"success"},{label:"Warning",value:"warning"},{label:"Error",value:"error"},{label:"Info",value:"info"}];onMount(()=>{no.type||eo(0,no.type="success",no),no.autoDismiss==null&&eo(0,no.autoDismiss=!0,no)});function io(uo){let co=uo.detail;co>MAX_DURATION&&(co=MAX_DURATION),eo(0,no.duration=co,no)}function so(uo){to.$$.not_equal(no.type,uo)&&(no.type=uo,eo(0,no))}const ao=uo=>eo(0,no.message=uo.detail,no);function lo(uo){to.$$.not_equal(no.autoDismiss,uo)&&(no.autoDismiss=uo,eo(0,no))}return to.$$set=uo=>{"parameters"in uo&&eo(0,no=uo.parameters),"bindings"in uo&&eo(1,ro=uo.bindings)},[no,ro,oo,io,so,ao,lo]}class ShowNotification extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5G,create_fragment$5H,safe_not_equal,{parameters:0,bindings:1})}}const PromptUser_svelte_svelte_type_style_lang="";function create_default_slot_4$1c(to){let ue;return{c(){ue=text("Enter the message you wish to display to the user.")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot_3$1y(to){let ue;return{c(){ue=text("Title")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot_2$1U(to){let ue;return{c(){ue=text("Message")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot_1$2z(to){let ue;return{c(){ue=text("Confirm Text")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot$3y(to){let ue;return{c(){ue=text("Cancel Text")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_fragment$5G(to){let ue,eo,no,ro,oo,io,so,ao,lo,uo,co,fo,po,mo,_o,ho,go,bo,vo,$o;return eo=new Body({props:{size:"S",$$slots:{default:[create_default_slot_4$1c]},$$scope:{ctx:to}}}),oo=new Label({props:{small:!0,$$slots:{default:[create_default_slot_3$1y]},$$scope:{ctx:to}}}),so=new DrawerBindableInput({props:{placeholder:"Prompt User",value:to[0].customTitleText,bindings:to[1]}}),so.$on("change",to[2]),lo=new Label({props:{small:!0,$$slots:{default:[create_default_slot_2$1U]},$$scope:{ctx:to}}}),co=new DrawerBindableInput({props:{placeholder:"Are you sure you want to continue?",value:to[0].confirmText,bindings:to[1]}}),co.$on("change",to[3]),po=new Label({props:{small:!0,$$slots:{default:[create_default_slot_1$2z]},$$scope:{ctx:to}}}),_o=new DrawerBindableInput({props:{placeholder:"Confirm",value:to[0].confirmButtonText,bindings:to[1]}}),_o.$on("change",to[4]),go=new Label({props:{small:!0,$$slots:{default:[create_default_slot$3y]},$$scope:{ctx:to}}}),vo=new DrawerBindableInput({props:{placeholder:"Cancel",value:to[0].cancelButtonText,bindings:to[1]}}),vo.$on("change",to[5]),{c(){ue=element("div"),create_component(eo.$$.fragment),no=space$1(),ro=element("div"),create_component(oo.$$.fragment),io=space$1(),create_component(so.$$.fragment),ao=space$1(),create_component(lo.$$.fragment),uo=space$1(),create_component(co.$$.fragment),fo=space$1(),create_component(po.$$.fragment),mo=space$1(),create_component(_o.$$.fragment),ho=space$1(),create_component(go.$$.fragment),bo=space$1(),create_component(vo.$$.fragment),attr(ro,"class","params svelte-hvj292"),attr(ue,"class","root svelte-hvj292")},m(wo,ko){insert$1(wo,ue,ko),mount_component(eo,ue,null),append$2(ue,no),append$2(ue,ro),mount_component(oo,ro,null),append$2(ro,io),mount_component(so,ro,null),append$2(ro,ao),mount_component(lo,ro,null),append$2(ro,uo),mount_component(co,ro,null),append$2(ro,fo),mount_component(po,ro,null),append$2(ro,mo),mount_component(_o,ro,null),append$2(ro,ho),mount_component(go,ro,null),append$2(ro,bo),mount_component(vo,ro,null),$o=!0},p(wo,[ko]){const So={};ko&64&&(So.$$scope={dirty:ko,ctx:wo}),eo.$set(So);const To={};ko&64&&(To.$$scope={dirty:ko,ctx:wo}),oo.$set(To);const Io={};ko&1&&(Io.value=wo[0].customTitleText),ko&2&&(Io.bindings=wo[1]),so.$set(Io);const Ao={};ko&64&&(Ao.$$scope={dirty:ko,ctx:wo}),lo.$set(Ao);const Eo={};ko&1&&(Eo.value=wo[0].confirmText),ko&2&&(Eo.bindings=wo[1]),co.$set(Eo);const Lo={};ko&64&&(Lo.$$scope={dirty:ko,ctx:wo}),po.$set(Lo);const No={};ko&1&&(No.value=wo[0].confirmButtonText),ko&2&&(No.bindings=wo[1]),_o.$set(No);const Do={};ko&64&&(Do.$$scope={dirty:ko,ctx:wo}),go.$set(Do);const Po={};ko&1&&(Po.value=wo[0].cancelButtonText),ko&2&&(Po.bindings=wo[1]),vo.$set(Po)},i(wo){$o||(transition_in(eo.$$.fragment,wo),transition_in(oo.$$.fragment,wo),transition_in(so.$$.fragment,wo),transition_in(lo.$$.fragment,wo),transition_in(co.$$.fragment,wo),transition_in(po.$$.fragment,wo),transition_in(_o.$$.fragment,wo),transition_in(go.$$.fragment,wo),transition_in(vo.$$.fragment,wo),$o=!0)},o(wo){transition_out(eo.$$.fragment,wo),transition_out(oo.$$.fragment,wo),transition_out(so.$$.fragment,wo),transition_out(lo.$$.fragment,wo),transition_out(co.$$.fragment,wo),transition_out(po.$$.fragment,wo),transition_out(_o.$$.fragment,wo),transition_out(go.$$.fragment,wo),transition_out(vo.$$.fragment,wo),$o=!1},d(wo){wo&&detach(ue),destroy_component(eo),destroy_component(oo),destroy_component(so),destroy_component(lo),destroy_component(co),destroy_component(po),destroy_component(_o),destroy_component(go),destroy_component(vo)}}}function instance$5F(to,ue,eo){let{parameters:no}=ue,{bindings:ro}=ue;onMount(()=>{no.confirm||eo(0,no.confirm=!0,no)});const oo=lo=>eo(0,no.customTitleText=lo.detail,no),io=lo=>eo(0,no.confirmText=lo.detail,no),so=lo=>eo(0,no.confirmButtonText=lo.detail,no),ao=lo=>eo(0,no.cancelButtonText=lo.detail,no);return to.$$set=lo=>{"parameters"in lo&&eo(0,no=lo.parameters),"bindings"in lo&&eo(1,ro=lo.bindings)},[no,ro,oo,io,so,ao]}class PromptUser extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5F,create_fragment$5G,safe_not_equal,{parameters:0,bindings:1})}}const OpenSidePanel_svelte_svelte_type_style_lang="";function create_default_slot$3x(to){let ue;return{c(){ue=text("Side Panel")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_fragment$5F(to){let ue,eo,no,ro,oo,io;eo=new Label({props:{small:!0,$$slots:{default:[create_default_slot$3x]},$$scope:{ctx:to}}});function so(lo){to[3](lo)}let ao={options:to[1]};return to[0].id!==void 0&&(ao.value=to[0].id),ro=new Select_1$1({props:ao}),binding_callbacks.push(()=>bind$2(ro,"value",so)),{c(){ue=element("div"),create_component(eo.$$.fragment),no=space$1(),create_component(ro.$$.fragment),attr(ue,"class","root svelte-ss4wgk")},m(lo,uo){insert$1(lo,ue,uo),mount_component(eo,ue,null),append$2(ue,no),mount_component(ro,ue,null),io=!0},p(lo,[uo]){const co={};uo&32&&(co.$$scope={dirty:uo,ctx:lo}),eo.$set(co);const fo={};uo&2&&(fo.options=lo[1]),!oo&&uo&1&&(oo=!0,fo.value=lo[0].id,add_flush_callback(()=>oo=!1)),ro.$set(fo)},i(lo){io||(transition_in(eo.$$.fragment,lo),transition_in(ro.$$.fragment,lo),io=!0)},o(lo){transition_out(eo.$$.fragment,lo),transition_out(ro.$$.fragment,lo),io=!1},d(lo){lo&&detach(ue),destroy_component(eo),destroy_component(ro)}}}function instance$5E(to,ue,eo){let no,ro;component_subscribe(to,selectedScreen,ao=>eo(2,ro=ao));let{parameters:oo}=ue;const io=ao=>findAllMatchingComponents(ao.props,uo=>uo._component.endsWith("/sidepanel")).map(uo=>({label:uo._instanceName,value:uo._id}));function so(ao){to.$$.not_equal(oo.id,ao)&&(oo.id=ao,eo(0,oo))}return to.$$set=ao=>{"parameters"in ao&&eo(0,oo=ao.parameters)},to.$$.update=()=>{to.$$.dirty&4&&eo(1,no=io(ro))},[oo,no,ro,so]}class OpenSidePanel extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5E,create_fragment$5F,safe_not_equal,{parameters:0})}}const CloseSidePanel_svelte_svelte_type_style_lang="";function create_fragment$5E(to){let ue;return{c(){ue=element("div"),ue.textContent="This action doesn't require any settings.",attr(ue,"class","root svelte-1kwxn4d")},m(eo,no){insert$1(eo,ue,no)},p:noop$5,i:noop$5,o:noop$5,d(eo){eo&&detach(ue)}}}class CloseSidePanel extends SvelteComponent{constructor(ue){super(),init$3(this,ue,null,create_fragment$5E,safe_not_equal,{})}}const OpenModal_svelte_svelte_type_style_lang="";function create_default_slot$3w(to){let ue;return{c(){ue=text("Modal")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_fragment$5D(to){let ue,eo,no,ro,oo,io;eo=new Label({props:{small:!0,$$slots:{default:[create_default_slot$3w]},$$scope:{ctx:to}}});function so(lo){to[3](lo)}let ao={options:to[1]};return to[0].id!==void 0&&(ao.value=to[0].id),ro=new Select_1$1({props:ao}),binding_callbacks.push(()=>bind$2(ro,"value",so)),{c(){ue=element("div"),create_component(eo.$$.fragment),no=space$1(),create_component(ro.$$.fragment),attr(ue,"class","root svelte-ss4wgk")},m(lo,uo){insert$1(lo,ue,uo),mount_component(eo,ue,null),append$2(ue,no),mount_component(ro,ue,null),io=!0},p(lo,[uo]){const co={};uo&32&&(co.$$scope={dirty:uo,ctx:lo}),eo.$set(co);const fo={};uo&2&&(fo.options=lo[1]),!oo&&uo&1&&(oo=!0,fo.value=lo[0].id,add_flush_callback(()=>oo=!1)),ro.$set(fo)},i(lo){io||(transition_in(eo.$$.fragment,lo),transition_in(ro.$$.fragment,lo),io=!0)},o(lo){transition_out(eo.$$.fragment,lo),transition_out(ro.$$.fragment,lo),io=!1},d(lo){lo&&detach(ue),destroy_component(eo),destroy_component(ro)}}}function instance$5D(to,ue,eo){let no,ro;component_subscribe(to,selectedScreen,ao=>eo(2,ro=ao));let{parameters:oo}=ue;const io=ao=>findAllMatchingComponents(ao.props,uo=>uo._component.endsWith("/modal")).map(uo=>({label:uo._instanceName,value:uo._id}));function so(ao){to.$$.not_equal(oo.id,ao)&&(oo.id=ao,eo(0,oo))}return to.$$set=ao=>{"parameters"in ao&&eo(0,oo=ao.parameters)},to.$$.update=()=>{to.$$.dirty&4&&eo(1,no=io(ro))},[oo,no,ro,so]}class OpenModal extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5D,create_fragment$5D,safe_not_equal,{parameters:0})}}const CloseModal_svelte_svelte_type_style_lang="";function create_fragment$5C(to){let ue;return{c(){ue=element("div"),ue.textContent="This action doesn't require any settings.",attr(ue,"class","root svelte-1kwxn4d")},m(eo,no){insert$1(eo,ue,no)},p:noop$5,i:noop$5,o:noop$5,d(eo){eo&&detach(ue)}}}class CloseModal extends SvelteComponent{constructor(ue){super(),init$3(this,ue,null,create_fragment$5C,safe_not_equal,{})}}const ClearRowSelection_svelte_svelte_type_style_lang="";function create_default_slot_1$2y(to){let ue;return{c(){ue=text("Clear the row selection from the selected table.")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot$3v(to){let ue;return{c(){ue=text("Table")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_fragment$5B(to){let ue,eo,no,ro,oo,io,so,ao,lo;eo=new Body({props:{size:"S",$$slots:{default:[create_default_slot_1$2y]},$$scope:{ctx:to}}}),oo=new Label({props:{small:!0,$$slots:{default:[create_default_slot$3v]},$$scope:{ctx:to}}});function uo(fo){to[6](fo)}let co={options:to[1]};return to[0].componentId!==void 0&&(co.value=to[0].componentId),so=new Select_1$1({props:co}),binding_callbacks.push(()=>bind$2(so,"value",uo)),{c(){ue=element("div"),create_component(eo.$$.fragment),no=space$1(),ro=element("div"),create_component(oo.$$.fragment),io=space$1(),create_component(so.$$.fragment),attr(ro,"class","params svelte-zv65u9"),attr(ue,"class","root svelte-zv65u9")},m(fo,po){insert$1(fo,ue,po),mount_component(eo,ue,null),append$2(ue,no),append$2(ue,ro),mount_component(oo,ro,null),append$2(ro,io),mount_component(so,ro,null),lo=!0},p(fo,[po]){const mo={};po&128&&(mo.$$scope={dirty:po,ctx:fo}),eo.$set(mo);const _o={};po&128&&(_o.$$scope={dirty:po,ctx:fo}),oo.$set(_o);const ho={};po&2&&(ho.options=fo[1]),!ao&&po&1&&(ao=!0,ho.value=fo[0].componentId,add_flush_callback(()=>ao=!1)),so.$set(ho)},i(fo){lo||(transition_in(eo.$$.fragment,fo),transition_in(oo.$$.fragment,fo),transition_in(so.$$.fragment,fo),lo=!0)},o(fo){transition_out(eo.$$.fragment,fo),transition_out(oo.$$.fragment,fo),transition_out(so.$$.fragment,fo),lo=!1},d(fo){fo&&detach(ue),destroy_component(eo),destroy_component(oo),destroy_component(so)}}}function instance$5C(to,ue,eo){let no,ro,oo,io,so;component_subscribe(to,selectedScreen,uo=>eo(5,so=uo));let{parameters:ao}=ue;function lo(uo){to.$$.not_equal(ao.componentId,uo)&&(ao.componentId=uo,eo(0,ao))}return to.$$set=uo=>{"parameters"in uo&&eo(0,ao=uo.parameters)},to.$$.update=()=>{to.$$.dirty&32&&eo(4,no=findAllMatchingComponents(so==null?void 0:so.props,uo=>uo._component.endsWith("table")).map(uo=>({label:uo._instanceName,value:uo._id}))),to.$$.dirty&32&&eo(3,ro=findAllMatchingComponents(so==null?void 0:so.props,uo=>uo._component.endsWith("tableblock")).map(uo=>({label:uo._instanceName,value:`${uo._id}-table`}))),to.$$.dirty&32&&eo(2,oo=findAllMatchingComponents(so==null?void 0:so.props,uo=>uo._component.endsWith("gridblock")).map(uo=>({label:uo._instanceName,value:uo._id}))),to.$$.dirty&28&&eo(1,io=no.concat(ro).concat(oo))},[ao,io,oo,ro,no,so,lo]}class ClearRowSelection extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5C,create_fragment$5B,safe_not_equal,{parameters:0})}}const DownloadFile_svelte_svelte_type_style_lang="";function create_default_slot_5$$(to){let ue;return{c(){ue=text("File")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_else_block$17(to){let ue,eo,no,ro,oo,io,so,ao;return ue=new Label({props:{small:!0,$$slots:{default:[create_default_slot_4$1b]},$$scope:{ctx:to}}}),no=new DrawerBindableInput({props:{title:"URL",bindings:to[1],value:to[0].url}}),no.$on("change",to[14]),oo=new Label({props:{small:!0,$$slots:{default:[create_default_slot_3$1x]},$$scope:{ctx:to}}}),so=new DrawerBindableInput({props:{title:"File name",bindings:to[1],value:to[0].fileName}}),so.$on("change",to[15]),{c(){create_component(ue.$$.fragment),eo=space$1(),create_component(no.$$.fragment),ro=space$1(),create_component(oo.$$.fragment),io=space$1(),create_component(so.$$.fragment)},m(lo,uo){mount_component(ue,lo,uo),insert$1(lo,eo,uo),mount_component(no,lo,uo),insert$1(lo,ro,uo),mount_component(oo,lo,uo),insert$1(lo,io,uo),mount_component(so,lo,uo),ao=!0},p(lo,uo){const co={};uo&65536&&(co.$$scope={dirty:uo,ctx:lo}),ue.$set(co);const fo={};uo&2&&(fo.bindings=lo[1]),uo&1&&(fo.value=lo[0].url),no.$set(fo);const po={};uo&65536&&(po.$$scope={dirty:uo,ctx:lo}),oo.$set(po);const mo={};uo&2&&(mo.bindings=lo[1]),uo&1&&(mo.value=lo[0].fileName),so.$set(mo)},i(lo){ao||(transition_in(ue.$$.fragment,lo),transition_in(no.$$.fragment,lo),transition_in(oo.$$.fragment,lo),transition_in(so.$$.fragment,lo),ao=!0)},o(lo){transition_out(ue.$$.fragment,lo),transition_out(no.$$.fragment,lo),transition_out(oo.$$.fragment,lo),transition_out(so.$$.fragment,lo),ao=!1},d(lo){lo&&(detach(eo),detach(ro),detach(io)),destroy_component(ue,lo),destroy_component(no,lo),destroy_component(oo,lo),destroy_component(so,lo)}}}function create_if_block$2N(to){var vo,$o,wo;let ue,eo,no,ro,oo,io,so,ao,lo,uo,co,fo,po,mo;ue=new Label({props:{$$slots:{default:[create_default_slot_2$1T]},$$scope:{ctx:to}}});function _o(ko){to[11](ko)}let ho={placeholder:null,options:to[2],getOptionLabel:func$i,getOptionValue:func_1$e};to[0].tableId!==void 0&&(ho.value=to[0].tableId),no=new Select_1$1({props:ho}),binding_callbacks.push(()=>bind$2(no,"value",_o)),io=new Label({props:{small:!0,$$slots:{default:[create_default_slot_1$2x]},$$scope:{ctx:to}}});function go(ko){to[12](ko)}let bo={disabled:!((vo=to[3])!=null&&vo.length),placeholder:to[0].tableId&&!(($o=to[3])!=null&&$o.length)?"This table has no attachment columns":void 0,options:(wo=to[3])==null?void 0:wo.map(func_2$1)};return to[0].attachmentColumn!==void 0&&(bo.value=to[0].attachmentColumn),ao=new Select_1$1({props:bo}),binding_callbacks.push(()=>bind$2(ao,"value",go)),co=new Label({props:{small:!0,$$slots:{default:[create_default_slot$3u]},$$scope:{ctx:to}}}),po=new DrawerBindableInput({props:{bindings:to[1],title:"Row ID",value:to[0].rowId}}),po.$on("change",to[13]),{c(){create_component(ue.$$.fragment),eo=space$1(),create_component(no.$$.fragment),oo=space$1(),create_component(io.$$.fragment),so=space$1(),create_component(ao.$$.fragment),uo=space$1(),create_component(co.$$.fragment),fo=space$1(),create_component(po.$$.fragment)},m(ko,So){mount_component(ue,ko,So),insert$1(ko,eo,So),mount_component(no,ko,So),insert$1(ko,oo,So),mount_component(io,ko,So),insert$1(ko,so,So),mount_component(ao,ko,So),insert$1(ko,uo,So),mount_component(co,ko,So),insert$1(ko,fo,So),mount_component(po,ko,So),mo=!0},p(ko,So){var Do,Po,Mo;const To={};So&65536&&(To.$$scope={dirty:So,ctx:ko}),ue.$set(To);const Io={};So&4&&(Io.options=ko[2]),!ro&&So&1&&(ro=!0,Io.value=ko[0].tableId,add_flush_callback(()=>ro=!1)),no.$set(Io);const Ao={};So&65536&&(Ao.$$scope={dirty:So,ctx:ko}),io.$set(Ao);const Eo={};So&8&&(Eo.disabled=!((Do=ko[3])!=null&&Do.length)),So&9&&(Eo.placeholder=ko[0].tableId&&!((Po=ko[3])!=null&&Po.length)?"This table has no attachment columns":void 0),So&8&&(Eo.options=(Mo=ko[3])==null?void 0:Mo.map(func_2$1)),!lo&&So&1&&(lo=!0,Eo.value=ko[0].attachmentColumn,add_flush_callback(()=>lo=!1)),ao.$set(Eo);const Lo={};So&65536&&(Lo.$$scope={dirty:So,ctx:ko}),co.$set(Lo);const No={};So&2&&(No.bindings=ko[1]),So&1&&(No.value=ko[0].rowId),po.$set(No)},i(ko){mo||(transition_in(ue.$$.fragment,ko),transition_in(no.$$.fragment,ko),transition_in(io.$$.fragment,ko),transition_in(ao.$$.fragment,ko),transition_in(co.$$.fragment,ko),transition_in(po.$$.fragment,ko),mo=!0)},o(ko){transition_out(ue.$$.fragment,ko),transition_out(no.$$.fragment,ko),transition_out(io.$$.fragment,ko),transition_out(ao.$$.fragment,ko),transition_out(co.$$.fragment,ko),transition_out(po.$$.fragment,ko),mo=!1},d(ko){ko&&(detach(eo),detach(oo),detach(so),detach(uo),detach(fo)),destroy_component(ue,ko),destroy_component(no,ko),destroy_component(io,ko),destroy_component(ao,ko),destroy_component(co,ko),destroy_component(po,ko)}}}function create_default_slot_4$1b(to){let ue;return{c(){ue=text("URL")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot_3$1x(to){let ue;return{c(){ue=text("File name")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot_2$1T(to){let ue;return{c(){ue=text("Table")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot_1$2x(to){let ue;return{c(){ue=text("Column")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot$3u(to){let ue;return{c(){ue=text("Row ID")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_fragment$5A(to){let ue,eo,no,ro,oo,io,so,ao,lo;eo=new Label({props:{small:!0,$$slots:{default:[create_default_slot_5$$]},$$scope:{ctx:to}}});function uo(_o){to[10](_o)}let co={placeholder:null,options:to[4]};to[0].type!==void 0&&(co.value=to[0].type),ro=new Select_1$1({props:co}),binding_callbacks.push(()=>bind$2(ro,"value",uo));const fo=[create_if_block$2N,create_else_block$17],po=[];function mo(_o,ho){return _o[0].type==="attachment"?0:1}return so=mo(to),ao=po[so]=fo[so](to),{c(){ue=element("div"),create_component(eo.$$.fragment),no=space$1(),create_component(ro.$$.fragment),io=space$1(),ao.c(),attr(ue,"class","root svelte-dlpmjc")},m(_o,ho){insert$1(_o,ue,ho),mount_component(eo,ue,null),append$2(ue,no),mount_component(ro,ue,null),append$2(ue,io),po[so].m(ue,null),lo=!0},p(_o,[ho]){const go={};ho&65536&&(go.$$scope={dirty:ho,ctx:_o}),eo.$set(go);const bo={};!oo&&ho&1&&(oo=!0,bo.value=_o[0].type,add_flush_callback(()=>oo=!1)),ro.$set(bo);let vo=so;so=mo(_o),so===vo?po[so].p(_o,ho):(group_outros(),transition_out(po[vo],1,1,()=>{po[vo]=null}),check_outros(),ao=po[so],ao?ao.p(_o,ho):(ao=po[so]=fo[so](_o),ao.c()),transition_in(ao,1),ao.m(ue,null))},i(_o){lo||(transition_in(eo.$$.fragment,_o),transition_in(ro.$$.fragment,_o),transition_in(ao),lo=!0)},o(_o){transition_out(eo.$$.fragment,_o),transition_out(ro.$$.fragment,_o),transition_out(ao),lo=!1},d(_o){_o&&detach(ue),destroy_component(eo),destroy_component(ro),po[so].d()}}}const func$i=to=>to.label,func_1$e=to=>to.resourceId,func_2$1=to=>to.name;function instance$5B(to,ue,eo){let no,ro,oo,io,so,ao,lo;component_subscribe(to,viewsV2,vo=>eo(8,ao=vo)),component_subscribe(to,tables,vo=>eo(9,lo=vo));let{parameters:uo}=ue,{bindings:co=[]}=ue;const fo=[{label:"Attachment",value:"attachment"},{label:"URL",value:"url"}];onMount(()=>{uo.type||eo(0,uo.type="attachment",uo)});function po(vo){to.$$.not_equal(uo.type,vo)&&(uo.type=vo,eo(0,uo))}function mo(vo){to.$$.not_equal(uo.tableId,vo)&&(uo.tableId=vo,eo(0,uo))}function _o(vo){to.$$.not_equal(uo.attachmentColumn,vo)&&(uo.attachmentColumn=vo,eo(0,uo))}const ho=vo=>eo(0,uo.rowId=vo.detail,uo),go=vo=>eo(0,uo.url=vo.detail,uo),bo=vo=>eo(0,uo.fileName=vo.detail,uo);return to.$$set=vo=>{"parameters"in vo&&eo(0,uo=vo.parameters),"bindings"in vo&&eo(1,co=vo.bindings)},to.$$.update=()=>{to.$$.dirty&512&&eo(7,no=lo.list.map(vo=>({label:vo.name,resourceId:vo._id,schema:vo.schema}))),to.$$.dirty&256&&eo(6,ro=ao.list.map(vo=>({label:vo.name,resourceId:vo.id,schema:vo.schema}))),to.$$.dirty&192&&eo(2,oo=[...no||[],...ro||[]]),to.$$.dirty&5&&eo(5,io=uo.tableId&&oo.find(vo=>vo.resourceId===uo.tableId)),to.$$.dirty&32&&eo(3,so=io&&Object.values(io.schema).filter(vo=>[FieldType.ATTACHMENTS,FieldType.ATTACHMENT_SINGLE].includes(vo.type)))},[uo,co,oo,so,fo,io,ro,no,ao,lo,po,mo,_o,ho,go,bo]}class DownloadFile extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5B,create_fragment$5A,safe_not_equal,{parameters:0,bindings:1})}}const RowAction_svelte_svelte_type_style_lang="";function create_default_slot_6$S(to){let ue;return{c(){ue=text("Table or view")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot_5$_(to){let ue;return{c(){ue=text("Row ID")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot_4$1a(to){let ue;return{c(){ue=text("Row action")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_if_block$2M(to){let ue,eo,no,ro,oo,io,so,ao,lo,uo,co,fo,po,mo,_o,ho;return ue=new Label({props:{small:!0,$$slots:{default:[create_default_slot_3$1w]},$$scope:{ctx:to}}}),no=new DrawerBindableInput({props:{placeholder:"Prompt User",value:to[0].customTitleText,bindings:to[1]}}),no.$on("change",to[17]),oo=new Label({props:{small:!0,$$slots:{default:[create_default_slot_2$1S]},$$scope:{ctx:to}}}),so=new DrawerBindableInput({props:{placeholder:"Are you sure you want to continue?",value:to[0].confirmText,bindings:to[1]}}),so.$on("change",to[18]),lo=new Label({props:{small:!0,$$slots:{default:[create_default_slot_1$2w]},$$scope:{ctx:to}}}),co=new DrawerBindableInput({props:{placeholder:"Confirm",value:to[0].confirmButtonText,bindings:to[1]}}),co.$on("change",to[19]),po=new Label({props:{small:!0,$$slots:{default:[create_default_slot$3t]},$$scope:{ctx:to}}}),_o=new DrawerBindableInput({props:{placeholder:"Cancel",value:to[0].cancelButtonText,bindings:to[1]}}),_o.$on("change",to[20]),{c(){create_component(ue.$$.fragment),eo=space$1(),create_component(no.$$.fragment),ro=space$1(),create_component(oo.$$.fragment),io=space$1(),create_component(so.$$.fragment),ao=space$1(),create_component(lo.$$.fragment),uo=space$1(),create_component(co.$$.fragment),fo=space$1(),create_component(po.$$.fragment),mo=space$1(),create_component(_o.$$.fragment)},m(go,bo){mount_component(ue,go,bo),insert$1(go,eo,bo),mount_component(no,go,bo),insert$1(go,ro,bo),mount_component(oo,go,bo),insert$1(go,io,bo),mount_component(so,go,bo),insert$1(go,ao,bo),mount_component(lo,go,bo),insert$1(go,uo,bo),mount_component(co,go,bo),insert$1(go,fo,bo),mount_component(po,go,bo),insert$1(go,mo,bo),mount_component(_o,go,bo),ho=!0},p(go,bo){const vo={};bo&2097152&&(vo.$$scope={dirty:bo,ctx:go}),ue.$set(vo);const $o={};bo&1&&($o.value=go[0].customTitleText),bo&2&&($o.bindings=go[1]),no.$set($o);const wo={};bo&2097152&&(wo.$$scope={dirty:bo,ctx:go}),oo.$set(wo);const ko={};bo&1&&(ko.value=go[0].confirmText),bo&2&&(ko.bindings=go[1]),so.$set(ko);const So={};bo&2097152&&(So.$$scope={dirty:bo,ctx:go}),lo.$set(So);const To={};bo&1&&(To.value=go[0].confirmButtonText),bo&2&&(To.bindings=go[1]),co.$set(To);const Io={};bo&2097152&&(Io.$$scope={dirty:bo,ctx:go}),po.$set(Io);const Ao={};bo&1&&(Ao.value=go[0].cancelButtonText),bo&2&&(Ao.bindings=go[1]),_o.$set(Ao)},i(go){ho||(transition_in(ue.$$.fragment,go),transition_in(no.$$.fragment,go),transition_in(oo.$$.fragment,go),transition_in(so.$$.fragment,go),transition_in(lo.$$.fragment,go),transition_in(co.$$.fragment,go),transition_in(po.$$.fragment,go),transition_in(_o.$$.fragment,go),ho=!0)},o(go){transition_out(ue.$$.fragment,go),transition_out(no.$$.fragment,go),transition_out(oo.$$.fragment,go),transition_out(so.$$.fragment,go),transition_out(lo.$$.fragment,go),transition_out(co.$$.fragment,go),transition_out(po.$$.fragment,go),transition_out(_o.$$.fragment,go),ho=!1},d(go){go&&(detach(eo),detach(ro),detach(io),detach(ao),detach(uo),detach(fo),detach(mo)),destroy_component(ue,go),destroy_component(no,go),destroy_component(oo,go),destroy_component(so,go),destroy_component(lo,go),destroy_component(co,go),destroy_component(po,go),destroy_component(_o,go)}}}function create_default_slot_3$1w(to){let ue;return{c(){ue=text("Title")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot_2$1S(to){let ue;return{c(){ue=text("Text")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot_1$2w(to){let ue;return{c(){ue=text("Confirm Text")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot$3t(to){let ue;return{c(){ue=text("Cancel Text")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_fragment$5z(to){let ue,eo,no,ro,oo,io,so,ao,lo,uo,co,fo,po,mo,_o,ho,go,bo,vo,$o,wo,ko;no=new Label({props:{$$slots:{default:[create_default_slot_6$S]},$$scope:{ctx:to}}});function So(Do){to[13](Do)}let To={options:to[3],getOptionLabel:func$h,getOptionValue:func_1$d};to[0].resourceId!==void 0&&(To.value=to[0].resourceId),oo=new Select_1$1({props:To}),binding_callbacks.push(()=>bind$2(oo,"value",So)),ao=new Label({props:{small:!0,$$slots:{default:[create_default_slot_5$_]},$$scope:{ctx:to}}}),uo=new DrawerBindableInput({props:{bindings:to[1],title:"Row ID",value:to[0].rowId}}),uo.$on("change",to[14]),fo=new Label({props:{small:!0,$$slots:{default:[create_default_slot_4$1a]},$$scope:{ctx:to}}});function Io(Do){to[15](Do)}let Ao={options:to[2]};to[0].rowActionId!==void 0&&(Ao.value=to[0].rowActionId),mo=new Select_1$1({props:Ao}),binding_callbacks.push(()=>bind$2(mo,"value",Io));function Eo(Do){to[16](Do)}let Lo={text:"Require confirmation"};to[0].confirm!==void 0&&(Lo.value=to[0].confirm),vo=new Checkbox_1({props:Lo}),binding_callbacks.push(()=>bind$2(vo,"value",Eo));let No=to[0].confirm&&create_if_block$2M(to);return{c(){ue=element("div"),eo=element("div"),create_component(no.$$.fragment),ro=space$1(),create_component(oo.$$.fragment),so=space$1(),create_component(ao.$$.fragment),lo=space$1(),create_component(uo.$$.fragment),co=space$1(),create_component(fo.$$.fragment),po=space$1(),create_component(mo.$$.fragment),ho=space$1(),go=element("br"),bo=space$1(),create_component(vo.$$.fragment),wo=space$1(),No&&No.c(),attr(eo,"class","params svelte-wowcwj"),attr(ue,"class","root svelte-wowcwj")},m(Do,Po){insert$1(Do,ue,Po),append$2(ue,eo),mount_component(no,eo,null),append$2(eo,ro),mount_component(oo,eo,null),append$2(eo,so),mount_component(ao,eo,null),append$2(eo,lo),mount_component(uo,eo,null),append$2(eo,co),mount_component(fo,eo,null),append$2(eo,po),mount_component(mo,eo,null),append$2(eo,ho),append$2(eo,go),append$2(eo,bo),mount_component(vo,eo,null),append$2(eo,wo),No&&No.m(eo,null),ko=!0},p(Do,[Po]){const Mo={};Po&2097152&&(Mo.$$scope={dirty:Po,ctx:Do}),no.$set(Mo);const Uo={};Po&8&&(Uo.options=Do[3]),!io&&Po&1&&(io=!0,Uo.value=Do[0].resourceId,add_flush_callback(()=>io=!1)),oo.$set(Uo);const Vo={};Po&2097152&&(Vo.$$scope={dirty:Po,ctx:Do}),ao.$set(Vo);const Wo={};Po&2&&(Wo.bindings=Do[1]),Po&1&&(Wo.value=Do[0].rowId),uo.$set(Wo);const Zo={};Po&2097152&&(Zo.$$scope={dirty:Po,ctx:Do}),fo.$set(Zo);const Yo={};Po&4&&(Yo.options=Do[2]),!_o&&Po&1&&(_o=!0,Yo.value=Do[0].rowActionId,add_flush_callback(()=>_o=!1)),mo.$set(Yo);const xo={};!$o&&Po&1&&($o=!0,xo.value=Do[0].confirm,add_flush_callback(()=>$o=!1)),vo.$set(xo),Do[0].confirm?No?(No.p(Do,Po),Po&1&&transition_in(No,1)):(No=create_if_block$2M(Do),No.c(),transition_in(No,1),No.m(eo,null)):No&&(group_outros(),transition_out(No,1,1,()=>{No=null}),check_outros())},i(Do){ko||(transition_in(no.$$.fragment,Do),transition_in(oo.$$.fragment,Do),transition_in(ao.$$.fragment,Do),transition_in(uo.$$.fragment,Do),transition_in(fo.$$.fragment,Do),transition_in(mo.$$.fragment,Do),transition_in(vo.$$.fragment,Do),transition_in(No),ko=!0)},o(Do){transition_out(no.$$.fragment,Do),transition_out(oo.$$.fragment,Do),transition_out(ao.$$.fragment,Do),transition_out(uo.$$.fragment,Do),transition_out(fo.$$.fragment,Do),transition_out(mo.$$.fragment,Do),transition_out(vo.$$.fragment,Do),transition_out(No),ko=!1},d(Do){Do&&detach(ue),destroy_component(no),destroy_component(oo),destroy_component(ao),destroy_component(uo),destroy_component(fo),destroy_component(mo),destroy_component(vo),No&&No.d()}}}const func$h=to=>to.label,func_1$d=to=>to.resourceId;function instance$5A(to,ue,eo){let no,ro,oo,io,so,ao,lo,uo,co,fo,po;component_subscribe(to,rowActions,To=>eo(9,uo=To)),component_subscribe(to,tables,To=>eo(10,co=To)),component_subscribe(to,viewsV2,To=>eo(11,fo=To)),component_subscribe(to,datasources,To=>eo(12,po=To));let{parameters:mo}=ue,{bindings:_o=[]}=ue;function ho(To){to.$$.not_equal(mo.resourceId,To)&&(mo.resourceId=To,eo(0,mo))}const go=To=>eo(0,mo.rowId=To.detail,mo);function bo(To){to.$$.not_equal(mo.rowActionId,To)&&(mo.rowActionId=To,eo(0,mo))}function vo(To){to.$$.not_equal(mo.confirm,To)&&(mo.confirm=To,eo(0,mo))}const $o=To=>eo(0,mo.customTitleText=To.detail,mo),wo=To=>eo(0,mo.confirmText=To.detail,mo),ko=To=>eo(0,mo.confirmButtonText=To.detail,mo),So=To=>eo(0,mo.cancelButtonText=To.detail,mo);return to.$$set=To=>{"parameters"in To&&eo(0,mo=To.parameters),"bindings"in To&&eo(1,_o=To.bindings)},to.$$.update=()=>{to.$$.dirty&4096&&eo(8,no=Object.fromEntries((po.list||[]).map(To=>[To._id,To.name]))),to.$$.dirty&1280&&eo(7,ro=co.list.map(To=>({label:`${no[To.sourceId]||"Unknown"} - ${To.name}`,resourceId:To._id}))),to.$$.dirty&3328&&eo(6,oo=fo.list.map(To=>{const Io=co.list.find(Eo=>Eo._id===To.tableId);return{label:`${no[Io.sourceId]||"Unknown"} - ${To.name}`,resourceId:To.id}})),to.$$.dirty&192&&eo(3,io=[...ro||[],...oo||[]]),to.$$.dirty&1&&eo(5,so=mo.resourceId),to.$$.dirty&32&&rowActions.refreshRowActions(so),to.$$.dirty&544&&eo(4,ao=uo[so]||[]),to.$$.dirty&16&&eo(2,lo=ao.map(To=>({label:To.name,value:To.id})))},[mo,_o,lo,io,ao,so,oo,ro,no,uo,co,fo,po,ho,go,bo,vo,$o,wo,ko,So]}class RowAction extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5A,create_fragment$5z,safe_not_equal,{parameters:0,bindings:1})}}const CopyToClipboard_svelte_svelte_type_style_lang="";function create_default_slot_1$2v(to){let ue;return{c(){ue=text("Text to copy")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_if_block$2L(to){let ue,eo,no,ro;return ue=new Label({props:{$$slots:{default:[create_default_slot$3s]},$$scope:{ctx:to}}}),no=new DrawerBindableInput({props:{title:"Notification message",bindings:to[1],value:to[0].notificationMessage,placeholder:"Copied to clipboard"}}),no.$on("change",to[4]),{c(){create_component(ue.$$.fragment),eo=space$1(),create_component(no.$$.fragment)},m(oo,io){mount_component(ue,oo,io),insert$1(oo,eo,io),mount_component(no,oo,io),ro=!0},p(oo,io){const so={};io&32&&(so.$$scope={dirty:io,ctx:oo}),ue.$set(so);const ao={};io&2&&(ao.bindings=oo[1]),io&1&&(ao.value=oo[0].notificationMessage),no.$set(ao)},i(oo){ro||(transition_in(ue.$$.fragment,oo),transition_in(no.$$.fragment,oo),ro=!0)},o(oo){transition_out(ue.$$.fragment,oo),transition_out(no.$$.fragment,oo),ro=!1},d(oo){oo&&detach(eo),destroy_component(ue,oo),destroy_component(no,oo)}}}function create_default_slot$3s(to){let ue;return{c(){ue=text("Notification message")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_fragment$5y(to){let ue,eo,no,ro,oo,io,so,ao,lo,uo,co;eo=new Label({props:{$$slots:{default:[create_default_slot_1$2v]},$$scope:{ctx:to}}}),ro=new DrawerBindableInput({props:{title:"Text to copy",bindings:to[1],value:to[0].textToCopy}}),ro.$on("change",to[2]),io=new Label({});function fo(_o){to[3](_o)}let po={text:"Show notification"};to[0].showNotification!==void 0&&(po.value=to[0].showNotification),ao=new Checkbox_1({props:po}),binding_callbacks.push(()=>bind$2(ao,"value",fo));let mo=to[0].showNotification&&create_if_block$2L(to);return{c(){ue=element("div"),create_component(eo.$$.fragment),no=space$1(),create_component(ro.$$.fragment),oo=space$1(),create_component(io.$$.fragment),so=space$1(),create_component(ao.$$.fragment),uo=space$1(),mo&&mo.c(),attr(ue,"class","root svelte-omr0ht")},m(_o,ho){insert$1(_o,ue,ho),mount_component(eo,ue,null),append$2(ue,no),mount_component(ro,ue,null),append$2(ue,oo),mount_component(io,ue,null),append$2(ue,so),mount_component(ao,ue,null),append$2(ue,uo),mo&&mo.m(ue,null),co=!0},p(_o,[ho]){const go={};ho&32&&(go.$$scope={dirty:ho,ctx:_o}),eo.$set(go);const bo={};ho&2&&(bo.bindings=_o[1]),ho&1&&(bo.value=_o[0].textToCopy),ro.$set(bo);const vo={};!lo&&ho&1&&(lo=!0,vo.value=_o[0].showNotification,add_flush_callback(()=>lo=!1)),ao.$set(vo),_o[0].showNotification?mo?(mo.p(_o,ho),ho&1&&transition_in(mo,1)):(mo=create_if_block$2L(_o),mo.c(),transition_in(mo,1),mo.m(ue,null)):mo&&(group_outros(),transition_out(mo,1,1,()=>{mo=null}),check_outros())},i(_o){co||(transition_in(eo.$$.fragment,_o),transition_in(ro.$$.fragment,_o),transition_in(io.$$.fragment,_o),transition_in(ao.$$.fragment,_o),transition_in(mo),co=!0)},o(_o){transition_out(eo.$$.fragment,_o),transition_out(ro.$$.fragment,_o),transition_out(io.$$.fragment,_o),transition_out(ao.$$.fragment,_o),transition_out(mo),co=!1},d(_o){_o&&detach(ue),destroy_component(eo),destroy_component(ro),destroy_component(io),destroy_component(ao),mo&&mo.d()}}}function instance$5z(to,ue,eo){let{parameters:no}=ue,{bindings:ro=[]}=ue;const oo=ao=>eo(0,no.textToCopy=ao.detail,no);function io(ao){to.$$.not_equal(no.showNotification,ao)&&(no.showNotification=ao,eo(0,no))}const so=ao=>eo(0,no.notificationMessage=ao.detail,no);return to.$$set=ao=>{"parameters"in ao&&eo(0,no=ao.parameters),"bindings"in ao&&eo(1,ro=ao.bindings)},[no,ro,oo,io,so]}class CopyToClipboard extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5z,create_fragment$5y,safe_not_equal,{parameters:0,bindings:1})}}const ActionComponents=Object.freeze(Object.defineProperty({__proto__:null,ChangeFormStep,ClearForm,ClearRowSelection,CloseModal,CloseScreenModal,CloseSidePanel,ContinueIf,CopyToClipboard,DeleteRow,DownloadFile,DuplicateRow,ExecuteQuery,ExportData,FetchRow,LogOut,NavigateTo,OpenModal,OpenSidePanel,PromptUser,RefreshDataProvider,RowAction,S3Upload,SaveRow,ScrollTo,ShowNotification,TriggerAutomation,UpdateFieldValue,UpdateState,ValidateForm},Symbol.toStringTag,{value:"Module"})),getAvailableActions=(to=!1)=>ActionDefinitions.actions.filter(ue=>{var eo;return to||!ue.dependsOnFeature?!0:((eo=get_store_value(appStore).clientFeatures)==null?void 0:eo[ue.dependsOnFeature])===!0}).map(ue=>({...ue,component:ActionComponents[ue.component]})).filter(ue=>ue.component!=null),ButtonActionDrawer_svelte_svelte_type_style_lang="";function get_each_context$18(to,ue,eo){const no=to.slice();return no[30]=ue[eo],no[32]=eo,no}function get_each_context_1$l(to,ue,eo){const no=to.slice();return no[33]=ue[eo][0],no[34]=ue[eo][1],no[36]=eo,no}function get_each_context_2$8(to,ue,eo){const no=to.slice();return no[37]=ue[eo],no}function create_if_block_3$K(to){let ue=(to[3].id,to[4]),eo,no,ro=create_key_block$8(to);return{c(){ro.c(),eo=empty$4()},m(oo,io){ro.m(oo,io),insert$1(oo,eo,io),no=!0},p(oo,io){io[0]&24&&safe_not_equal(ue,ue=(oo[3].id,oo[4]))?(group_outros(),transition_out(ro,1,1,noop$5),check_outros(),ro=create_key_block$8(oo),ro.c(),transition_in(ro,1),ro.m(eo.parentNode,eo)):ro.p(oo,io)},i(oo){no||(transition_in(ro),no=!0)},o(oo){transition_out(ro),no=!1},d(oo){oo&&detach(eo),ro.d(oo)}}}function create_key_block$8(to){let ue,eo,no,ro;function oo(ao){to[24](ao)}var io=to[6];function so(ao,lo){let uo={bindings:ao[7],nested:ao[1]};return ao[3].parameters!==void 0&&(uo.parameters=ao[3].parameters),{props:uo}}return io&&(eo=construct_svelte_component(io,so(to)),binding_callbacks.push(()=>bind$2(eo,"parameters",oo))),{c(){ue=element("div"),eo&&create_component(eo.$$.fragment),attr(ue,"class","selected-action-container")},m(ao,lo){insert$1(ao,ue,lo),eo&&mount_component(eo,ue,null),ro=!0},p(ao,lo){if(lo[0]&64&&io!==(io=ao[6])){if(eo){group_outros();const uo=eo;transition_out(uo.$$.fragment,1,0,()=>{destroy_component(uo,1)}),check_outros()}io?(eo=construct_svelte_component(io,so(ao)),binding_callbacks.push(()=>bind$2(eo,"parameters",oo)),create_component(eo.$$.fragment),transition_in(eo.$$.fragment,1),mount_component(eo,ue,null)):eo=null}else if(io){const uo={};lo[0]&128&&(uo.bindings=ao[7]),lo[0]&2&&(uo.nested=ao[1]),!no&&lo[0]&8&&(no=!0,uo.parameters=ao[3].parameters,add_flush_callback(()=>no=!1)),eo.$set(uo)}},i(ao){ro||(eo&&transition_in(eo.$$.fragment,ao),ro=!0)},o(ao){eo&&transition_out(eo.$$.fragment,ao),ro=!1},d(ao){ao&&detach(ue),eo&&destroy_component(eo)}}}function create_default_slot_4$19(to){let ue,eo,no=to[6]&&!to[5]&&create_if_block_3$K(to);return{c(){no&&no.c(),ue=empty$4()},m(ro,oo){no&&no.m(ro,oo),insert$1(ro,ue,oo),eo=!0},p(ro,oo){ro[6]&&!ro[5]?no?(no.p(ro,oo),oo[0]&96&&transition_in(no,1)):(no=create_if_block_3$K(ro),no.c(),transition_in(no,1),no.m(ue.parentNode,ue)):no&&(group_outros(),transition_out(no,1,1,()=>{no=null}),check_outros())},i(ro){eo||(transition_in(no),eo=!0)},o(ro){transition_out(no),eo=!1},d(ro){ro&&detach(ue),no&&no.d(ro)}}}function create_default_slot_3$1v(to){let ue,eo;return ue=new Layout$o({props:{noPadding:!0,$$slots:{default:[create_default_slot_4$19]},$$scope:{ctx:to}}}),{c(){create_component(ue.$$.fragment)},m(no,ro){mount_component(ue,no,ro),eo=!0},p(no,ro){const oo={};ro[0]&250|ro[1]&512&&(oo.$$scope={dirty:ro,ctx:no}),ue.$set(oo)},i(no){eo||(transition_in(ue.$$.fragment,no),eo=!0)},o(no){transition_out(ue.$$.fragment,no),eo=!1},d(no){destroy_component(ue,no)}}}function create_if_block_1$1w(to){var po;let ue,eo,no,ro,oo,io,so,ao=((po=to[0])==null?void 0:po.length)>0&&create_if_block_2$10(to);function lo(mo){to[22](mo)}let uo={placeholder:"Search"};to[2]!==void 0&&(uo.value=to[2]),ro=new Search_1({props:uo}),binding_callbacks.push(()=>bind$2(ro,"value",lo));let co=ensure_array_like(Object.entries(to[8])),fo=[];for(let mo=0;mo<co.length;mo+=1)fo[mo]=create_each_block_1$l(get_each_context_1$l(to,co,mo));return{c(){ue=element("div"),ao&&ao.c(),eo=space$1(),no=element("div"),create_component(ro.$$.fragment),io=space$1();for(let mo=0;mo<fo.length;mo+=1)fo[mo].c();attr(no,"class","search-wrap svelte-1ww641a"),attr(ue,"class","actions-list svelte-1ww641a")},m(mo,_o){insert$1(mo,ue,_o),ao&&ao.m(ue,null),append$2(ue,eo),append$2(ue,no),mount_component(ro,no,null),append$2(ue,io);for(let ho=0;ho<fo.length;ho+=1)fo[ho]&&fo[ho].m(ue,null);so=!0},p(mo,_o){var go;((go=mo[0])==null?void 0:go.length)>0?ao?(ao.p(mo,_o),_o[0]&1&&transition_in(ao,1)):(ao=create_if_block_2$10(mo),ao.c(),transition_in(ao,1),ao.m(ue,eo)):ao&&(group_outros(),transition_out(ao,1,1,()=>{ao=null}),check_outros());const ho={};if(!oo&&_o[0]&4&&(oo=!0,ho.value=mo[2],add_flush_callback(()=>oo=!1)),ro.$set(ho),_o[0]&4352){co=ensure_array_like(Object.entries(mo[8]));let bo;for(bo=0;bo<co.length;bo+=1){const vo=get_each_context_1$l(mo,co,bo);fo[bo]?fo[bo].p(vo,_o):(fo[bo]=create_each_block_1$l(vo),fo[bo].c(),fo[bo].m(ue,null))}for(;bo<fo.length;bo+=1)fo[bo].d(1);fo.length=co.length}},i(mo){so||(transition_in(ao),transition_in(ro.$$.fragment,mo),so=!0)},o(mo){transition_out(ao),transition_out(ro.$$.fragment,mo),so=!1},d(mo){mo&&detach(ue),ao&&ao.d(),destroy_component(ro),destroy_each(fo,mo)}}}function create_if_block_2$10(to){let ue,eo,no;return eo=new ActionButton({props:{secondary:!0,icon:"ArrowLeft",$$slots:{default:[create_default_slot_2$1R]},$$scope:{ctx:to}}}),eo.$on("click",to[10]),{c(){ue=element("div"),create_component(eo.$$.fragment),attr(ue,"class","svelte-1ww641a")},m(ro,oo){insert$1(ro,ue,oo),mount_component(eo,ue,null),no=!0},p(ro,oo){const io={};oo[1]&512&&(io.$$scope={dirty:oo,ctx:ro}),eo.$set(io)},i(ro){no||(transition_in(eo.$$.fragment,ro),no=!0)},o(ro){transition_out(eo.$$.fragment,ro),no=!1},d(ro){ro&&detach(ue),destroy_component(eo)}}}function create_default_slot_2$1R(to){let ue;return{c(){ue=text("Back")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_each_block_2$8(to){let ue,eo,no=(to[37].displayName||to[37].name)+"",ro,oo,io;return{c(){ue=element("li"),eo=element("span"),ro=text(no),attr(eo,"class","action-name svelte-1ww641a"),attr(ue,"class","svelte-1ww641a")},m(so,ao){insert$1(so,ue,ao),append$2(ue,eo),append$2(eo,ro),oo||(io=listen(ue,"click",function(){is_function(to[12](to[37]))&&to[12](to[37]).apply(this,arguments)}),oo=!0)},p(so,ao){to=so,ao[0]&256&&no!==(no=(to[37].displayName||to[37].name)+"")&&set_data(ro,no)},d(so){so&&detach(ue),oo=!1,io()}}}function create_each_block_1$l(to){let ue,eo=to[33]+"",no,ro,oo,io,so=ensure_array_like(to[34]),ao=[];for(let lo=0;lo<so.length;lo+=1)ao[lo]=create_each_block_2$8(get_each_context_2$8(to,so,lo));return{c(){ue=element("div"),no=text(eo),ro=space$1(),oo=element("ul");for(let lo=0;lo<ao.length;lo+=1)ao[lo].c();io=space$1(),attr(ue,"class","heading svelte-1ww641a"),toggle_class(ue,"top-entry",to[36]===0),attr(oo,"class","svelte-1ww641a")},m(lo,uo){insert$1(lo,ue,uo),append$2(ue,no),insert$1(lo,ro,uo),insert$1(lo,oo,uo);for(let co=0;co<ao.length;co+=1)ao[co]&&ao[co].m(oo,null);append$2(oo,io)},p(lo,uo){if(uo[0]&256&&eo!==(eo=lo[33]+"")&&set_data(no,eo),uo[0]&4352){so=ensure_array_like(lo[34]);let co;for(co=0;co<so.length;co+=1){const fo=get_each_context_2$8(lo,so,co);ao[co]?ao[co].p(fo,uo):(ao[co]=create_each_block_2$8(fo),ao[co].c(),ao[co].m(oo,io))}for(;co<ao.length;co+=1)ao[co].d(1);ao.length=so.length}},d(lo){lo&&(detach(ue),detach(ro),detach(oo)),destroy_each(ao,lo)}}}function create_if_block$2K(to){let ue,eo,no,ro,oo=[],io=new Map,so,ao,lo,uo;eo=new Button({props:{secondary:!0,$$slots:{default:[create_default_slot_1$2u]},$$scope:{ctx:to}}}),eo.$on("click",to[10]);let co=ensure_array_like(to[0]);const fo=po=>po[30].id;for(let po=0;po<co.length;po+=1){let mo=get_each_context$18(to,co,po),_o=fo(mo);io.set(_o,oo[po]=create_each_block$18(_o,mo))}return{c(){ue=element("div"),create_component(eo.$$.fragment),no=space$1(),ro=element("div");for(let po=0;po<oo.length;po+=1)oo[po].c();attr(ro,"class","actions svelte-1ww641a")},m(po,mo){insert$1(po,ue,mo),mount_component(eo,ue,null),insert$1(po,no,mo),insert$1(po,ro,mo);for(let _o=0;_o<oo.length;_o+=1)oo[_o]&&oo[_o].m(ro,null);ao=!0,lo||(uo=[action_destroyer(so=dndzone.call(null,ro,{items:to[0],flipDurationMs:flipDurationMs$2,dropTargetStyle:{outline:"none"}})),listen(ro,"consider",to[13]),listen(ro,"finalize",to[14])],lo=!0)},p(po,mo){const _o={};if(mo[1]&512&&(_o.$$scope={dirty:mo,ctx:po}),eo.$set(_o),mo[0]&35337){co=ensure_array_like(po[0]),group_outros();for(let ho=0;ho<oo.length;ho+=1)oo[ho].r();oo=update_keyed_each(oo,mo,fo,1,po,co,io,ro,fix_and_outro_and_destroy_block,create_each_block$18,null,get_each_context$18);for(let ho=0;ho<oo.length;ho+=1)oo[ho].a();check_outros()}so&&is_function(so.update)&&mo[0]&1&&so.update.call(null,{items:po[0],flipDurationMs:flipDurationMs$2,dropTargetStyle:{outline:"none"}})},i(po){if(!ao){transition_in(eo.$$.fragment,po);for(let mo=0;mo<co.length;mo+=1)transition_in(oo[mo]);ao=!0}},o(po){transition_out(eo.$$.fragment,po);for(let mo=0;mo<oo.length;mo+=1)transition_out(oo[mo]);ao=!1},d(po){po&&(detach(ue),detach(no),detach(ro)),destroy_component(eo);for(let mo=0;mo<oo.length;mo+=1)oo[mo].d();lo=!1,run_all(uo)}}}function create_default_slot_1$2u(to){let ue;return{c(){ue=text("Add Action")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_each_block$18(to,ue){let eo,no,ro,oo,io=ue[32]+1+"",so,ao,lo=ue[15](ue[30][EVENT_TYPE_KEY])+"",uo,co,fo,po,mo,_o=noop$5,ho,go,bo;no=new Icon({props:{name:"dots-six-vertical",size:"L",color:"var(--spectrum-global-color-gray-600)",hoverable:"true",hovercolor:"var(--spectrum-global-color-gray-800)"}});function vo(){return ue[23](ue[32])}return fo=new Icon({props:{name:"x",hoverable:!0,size:"S"}}),fo.$on("click",vo),{key:to,first:null,c(){eo=element("div"),create_component(no.$$.fragment),ro=space$1(),oo=element("div"),so=text(io),ao=text(". "),uo=text(lo),co=space$1(),create_component(fo.$$.fragment),po=space$1(),attr(oo,"class","action-header svelte-1ww641a"),attr(eo,"class","action-container svelte-1ww641a"),toggle_class(eo,"selected",ue[30]===ue[3]),this.first=eo},m($o,wo){insert$1($o,eo,wo),mount_component(no,eo,null),append$2(eo,ro),append$2(eo,oo),append$2(oo,so),append$2(oo,ao),append$2(oo,uo),append$2(eo,co),mount_component(fo,eo,null),append$2(eo,po),ho=!0,go||(bo=listen(eo,"click",function(){is_function(ue[11](ue[30]))&&ue[11](ue[30]).apply(this,arguments)}),go=!0)},p($o,wo){ue=$o,(!ho||wo[0]&1)&&io!==(io=ue[32]+1+"")&&set_data(so,io),(!ho||wo[0]&1)&&lo!==(lo=ue[15](ue[30][EVENT_TYPE_KEY])+"")&&set_data(uo,lo),(!ho||wo[0]&9)&&toggle_class(eo,"selected",ue[30]===ue[3])},r(){mo=eo.getBoundingClientRect()},f(){fix_position(eo),_o()},a(){_o(),_o=create_animation(eo,mo,flip,{duration:flipDurationMs$2})},i($o){ho||(transition_in(no.$$.fragment,$o),transition_in(fo.$$.fragment,$o),ho=!0)},o($o){transition_out(no.$$.fragment,$o),transition_out(fo.$$.fragment,$o),ho=!1},d($o){$o&&detach(eo),destroy_component(no),destroy_component(fo),go=!1,bo()}}}function create_default_slot$3r(to){var io;let ue,eo,no,ro=(to[5]||!((io=to[0])!=null&&io.length))&&create_if_block_1$1w(to),oo=to[0]&&to[0].length>0&&!to[5]&&create_if_block$2K(to);return{c(){ro&&ro.c(),ue=space$1(),oo&&oo.c(),eo=empty$4()},m(so,ao){ro&&ro.m(so,ao),insert$1(so,ue,ao),oo&&oo.m(so,ao),insert$1(so,eo,ao),no=!0},p(so,ao){var lo;so[5]||!((lo=so[0])!=null&&lo.length)?ro?(ro.p(so,ao),ao[0]&33&&transition_in(ro,1)):(ro=create_if_block_1$1w(so),ro.c(),transition_in(ro,1),ro.m(ue.parentNode,ue)):ro&&(group_outros(),transition_out(ro,1,1,()=>{ro=null}),check_outros()),so[0]&&so[0].length>0&&!so[5]?oo?(oo.p(so,ao),ao[0]&33&&transition_in(oo,1)):(oo=create_if_block$2K(so),oo.c(),transition_in(oo,1),oo.m(eo.parentNode,eo)):oo&&(group_outros(),transition_out(oo,1,1,()=>{oo=null}),check_outros())},i(so){no||(transition_in(ro),transition_in(oo),no=!0)},o(so){transition_out(ro),transition_out(oo),no=!1},d(so){so&&(detach(ue),detach(eo)),ro&&ro.d(so),oo&&oo.d(so)}}}function create_sidebar_slot(to){let ue,eo;return ue=new Layout$o({props:{noPadding:!0,gap:"S",slot:"sidebar",$$slots:{default:[create_default_slot$3r]},$$scope:{ctx:to}}}),{c(){create_component(ue.$$.fragment)},m(no,ro){mount_component(ue,no,ro),eo=!0},p(no,ro){const oo={};ro[0]&301|ro[1]&512&&(oo.$$scope={dirty:ro,ctx:no}),ue.$set(oo)},i(no){eo||(transition_in(ue.$$.fragment,no),eo=!0)},o(no){transition_out(ue.$$.fragment,no),eo=!1},d(no){destroy_component(ue,no)}}}function create_fragment$5x(to){let ue,eo;return ue=new DrawerContent({props:{$$slots:{sidebar:[create_sidebar_slot],default:[create_default_slot_3$1v]},$$scope:{ctx:to}}}),{c(){create_component(ue.$$.fragment)},m(no,ro){mount_component(ue,no,ro),eo=!0},p(no,ro){const oo={};ro[0]&511|ro[1]&512&&(oo.$$scope={dirty:ro,ctx:no}),ue.$set(oo)},i(no){eo||(transition_in(ue.$$.fragment,no),eo=!0)},o(no){transition_out(ue.$$.fragment,no),eo=!1},d(no){destroy_component(ue,no)}}}const flipDurationMs$2=150,EVENT_TYPE_KEY="##eventHandlerType";function instance$5y(to,ue,eo){let no,ro,oo,io,so,ao,lo;const uo=getAvailableActions();let{key:co}=ue,{actions:fo}=ue,{bindings:po=[]}=ue,{nested:mo}=ue,{componentInstance:_o}=ue,ho,go=fo!=null&&fo.length?fo[0]:null,bo,$o=(Uo=>Uo?fp$1.cloneDeep(Uo).filter(Vo=>{var Wo;return Vo[EVENT_TYPE_KEY]==="Update State"&&((Wo=Vo.parameters)==null?void 0:Wo.type)==="set"&&Vo.parameters.key}).reduce((Vo,Wo)=>(Vo[Wo.id]=Wo,Vo),{}):[])(fo);const wo=Uo=>{const Vo=fo.indexOf(go),Wo=Uo===Vo;fo.splice(Uo,1),eo(0,fo),Wo&&eo(3,go=fo!=null&&fo.length?fo[0]:null),updateReferencesInObject({obj:fo,modifiedIndex:Uo,action:"delete",label:"actions"})},ko=()=>{eo(2,ho=null),eo(5,ro=!ro)},So=Uo=>{const Vo={parameters:{},[EVENT_TYPE_KEY]:Uo.name,id:shortid.generate()};fo||eo(0,fo=[]),eo(0,fo=[...fo,Vo]),eo(3,go=Vo)},To=Uo=>()=>{eo(3,go=Uo),eo(4,bo=fo.findIndex(Vo=>Vo.id===Uo.id))},Io=Uo=>{So(Uo),ko()};function Ao(Uo){eo(0,fo=Uo.detail.items),Uo.detail.info.trigger==="draggedEntered"&&eo(4,bo=fo.findIndex(Vo=>Vo.id===Uo.detail.info.id))}function Eo(Uo){eo(0,fo=Uo.detail.items),updateReferencesInObject({obj:fo,modifiedIndex:fo.findIndex(Vo=>Vo.id===Uo.detail.info.id),action:"move",label:"actions",originalIndex:bo}),eo(4,bo=-1)}const Lo=(Uo,Vo,Wo)=>{let Zo=[],Yo=fp$1.cloneDeep(Uo);if(!Wo)return[];Wo.filter(Xo=>{var as;return Xo[EVENT_TYPE_KEY]==="Update State"&&((as=Xo.parameters)==null?void 0:as.type)==="set"&&Xo.parameters.key}).forEach(Xo=>{const as=makeStateBinding(Xo.parameters.key);if(!Uo.some(ls=>ls.runtimeBinding===as.runtimeBinding)){let ls=$o[Xo.id];if(ls){const Jo=makeStateBinding(ls.parameters.key);Yo=Yo.filter(hs=>hs.runtimeBinding!==Jo.runtimeBinding)}Zo.push(as)}});const xo=Wo.map((Xo,as)=>{var Ko;if(Xo[EVENT_TYPE_KEY]==="Trigger Automation"&&!((Ko=Xo.parameters)!=null&&Ko.synchronous))return as}).filter(Xo=>Xo!==void 0);return Zo=(xo?Vo.filter((Xo,as)=>!xo.includes(as)):Vo).concat(Yo).concat(Zo),Zo},No=Uo=>{const Vo=uo.find(Wo=>Wo.name==Uo);return(Vo==null?void 0:Vo.displayName)||(Vo==null?void 0:Vo.name)};function Do(Uo){ho=Uo,eo(2,ho)}const Po=Uo=>wo(Uo);function Mo(Uo){to.$$.not_equal(go.parameters,Uo)&&(go.parameters=Uo,eo(3,go),eo(0,fo))}return to.$$set=Uo=>{"key"in Uo&&eo(16,co=Uo.key),"actions"in Uo&&eo(0,fo=Uo.actions),"bindings"in Uo&&eo(17,po=Uo.bindings),"nested"in Uo&&eo(1,mo=Uo.nested),"componentInstance"in Uo&&eo(18,_o=Uo.componentInstance)},to.$$.update=()=>{var Uo;to.$$.dirty[0]&8&&go&&!go.parameters&&eo(3,go.parameters={},go),to.$$.dirty[0]&4&&eo(21,no=typeof ho=="string"?ho.toLowerCase().trim():""),to.$$.dirty[0]&1&&eo(5,ro=!(fo!=null&&fo.length)),to.$$.dirty[0]&2097152&&eo(8,oo=uo.reduce((Vo,Wo)=>{let Zo=Wo.name.toLowerCase().trim();return no.length&&Zo.indexOf(no)<0||(Vo[Wo.type]=Vo[Wo.type]||[],Vo[Wo.type].push(Wo)),Vo},{})),to.$$.dirty[0]&327680&&eo(20,io=getEventContextBindings({componentInstance:_o,settingKey:co})),to.$$.dirty[0]&9&&go&&!(fo!=null&&fo.includes(go))&&eo(3,go=fo==null?void 0:fo[0]),to.$$.dirty[0]&9&&eo(19,so=getActionBindings(fo,go==null?void 0:go.id)),to.$$.dirty[0]&1703937&&eo(7,ao=Lo(po,[...io,...so],fo)),to.$$.dirty[0]&1&&fo&&fo.forEach(Vo=>{Vo.id||(Vo.id=shortid.generate())}),to.$$.dirty[0]&8&&eo(6,lo=go&&((Uo=uo.find(Vo=>Vo.name===go[EVENT_TYPE_KEY]))==null?void 0:Uo.component))},[fo,mo,ho,go,bo,ro,lo,ao,oo,wo,ko,To,Io,Ao,Eo,No,co,po,_o,so,io,no,Do,Po,Mo]}class ButtonActionDrawer extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5y,create_fragment$5x,safe_not_equal,{key:16,actions:0,bindings:17,nested:1,componentInstance:18},null,[-1,-1])}}const ButtonActionEditor_svelte_svelte_type_style_lang="";function create_default_slot_1$2t(to){let ue;return{c(){ue=text(to[9])},m(eo,no){insert$1(eo,ue,no)},p(eo,no){no&512&&set_data(ue,eo[9])},d(eo){eo&&detach(ue)}}}function create_description_slot$4(to){let ue;return{c(){ue=text("Define what actions to run.")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot$3q(to){let ue;return{c(){ue=text("Save")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_buttons_slot$b(to){let ue,eo;return ue=new Button({props:{cta:!0,slot:"buttons",$$slots:{default:[create_default_slot$3q]},$$scope:{ctx:to}}}),ue.$on("click",to[11]),{c(){create_component(ue.$$.fragment)},m(no,ro){mount_component(ue,no,ro),eo=!0},p(no,ro){const oo={};ro&1048576&&(oo.$$scope={dirty:ro,ctx:no}),ue.$set(oo)},i(no){eo||(transition_in(ue.$$.fragment,no),eo=!0)},o(no){transition_out(ue.$$.fragment,no),eo=!1},d(no){destroy_component(ue,no)}}}function create_body_slot$a(to){let ue,eo,no;function ro(io){to[14](io)}let oo={slot:"body",eventType:to[1],bindings:to[2],key:to[0],nested:to[3],componentInstance:to[4]};return to[7]!==void 0&&(oo.actions=to[7]),ue=new ButtonActionDrawer({props:oo}),binding_callbacks.push(()=>bind$2(ue,"actions",ro)),{c(){create_component(ue.$$.fragment)},m(io,so){mount_component(ue,io,so),no=!0},p(io,so){const ao={};so&2&&(ao.eventType=io[1]),so&4&&(ao.bindings=io[2]),so&1&&(ao.key=io[0]),so&8&&(ao.nested=io[3]),so&16&&(ao.componentInstance=io[4]),!eo&&so&128&&(eo=!0,ao.actions=io[7],add_flush_callback(()=>eo=!1)),ue.$set(ao)},i(io){no||(transition_in(ue.$$.fragment,io),no=!0)},o(io){transition_out(ue.$$.fragment,io),no=!1},d(io){destroy_component(ue,io)}}}function create_fragment$5w(to){let ue,eo,no,ro,oo;eo=new ActionButton({props:{active:to[8],$$slots:{default:[create_default_slot_1$2t]},$$scope:{ctx:to}}}),eo.$on("click",to[10]);let io={title:to[5],$$slots:{body:[create_body_slot$a],buttons:[create_buttons_slot$b],description:[create_description_slot$4]},$$scope:{ctx:to}};return ro=new Drawer({props:io}),to[15](ro),ro.$on("drawerHide",to[16]),ro.$on("drawerShow",to[17]),{c(){ue=element("div"),create_component(eo.$$.fragment),no=space$1(),create_component(ro.$$.fragment),attr(ue,"class","action-editor svelte-g1wuu0")},m(so,ao){insert$1(so,ue,ao),mount_component(eo,ue,null),insert$1(so,no,ao),mount_component(ro,so,ao),oo=!0},p(so,[ao]){const lo={};ao&256&&(lo.active=so[8]),ao&1049088&&(lo.$$scope={dirty:ao,ctx:so}),eo.$set(lo);const uo={};ao&32&&(uo.title=so[5]),ao&1048735&&(uo.$$scope={dirty:ao,ctx:so}),ro.$set(uo)},i(so){oo||(transition_in(eo.$$.fragment,so),transition_in(ro.$$.fragment,so),oo=!0)},o(so){transition_out(eo.$$.fragment,so),transition_out(ro.$$.fragment,so),oo=!1},d(so){so&&(detach(ue),detach(no)),destroy_component(eo),to[15](null),destroy_component(ro,so)}}}function instance$5x(to,ue,eo){let no,ro,oo;const io=createEventDispatcher();let{key:so}=ue,{value:ao=[]}=ue,{name:lo}=ue,{bindings:uo}=ue,{nested:co}=ue,{componentInstance:fo}=ue,{title:po="Actions"}=ue,mo,_o;const ho=()=>{eo(7,_o=fp$1.cloneDeep(ao)),mo.show()},go=async()=>{io("change",_o),notifications.success("Component actions saved."),mo.hide()},bo=So=>So!=null&&So.length?"active":"";function vo(So){_o=So,eo(7,_o)}function $o(So){binding_callbacks[So?"unshift":"push"](()=>{mo=So,eo(6,mo)})}function wo(So){bubble.call(this,to,So)}function ko(So){bubble.call(this,to,So)}return to.$$set=So=>{"key"in So&&eo(0,so=So.key),"value"in So&&eo(12,ao=So.value),"name"in So&&eo(1,lo=So.name),"bindings"in So&&eo(2,uo=So.bindings),"nested"in So&&eo(3,co=So.nested),"componentInstance"in So&&eo(4,fo=So.componentInstance),"title"in So&&eo(5,po=So.title)},to.$$.update=()=>{to.$$.dirty&4096&&eo(13,no=ao==null?void 0:ao.length),to.$$.dirty&8192&&eo(9,ro=`${no||"No"} action${no!==1?"s":""} set`),to.$$.dirty&4096&&eo(8,oo=bo(ao))},[so,lo,uo,co,fo,po,mo,_o,oo,ro,ho,go,ao,no,vo,$o,wo,ko]}class ButtonActionEditor extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5x,create_fragment$5w,safe_not_equal,{key:0,value:12,name:1,bindings:2,nested:3,componentInstance:4,title:5})}}const TableSelect_svelte_svelte_type_style_lang="";function create_if_block$2J(to){let ue,eo;return ue=new DataSourceCategory({props:{dividerState:!0,heading:"Views",dataSet:to[2],value:to[0],onSelect:to[6]}}),{c(){create_component(ue.$$.fragment)},m(no,ro){mount_component(ue,no,ro),eo=!0},p(no,ro){const oo={};ro&4&&(oo.dataSet=no[2]),ro&1&&(oo.value=no[0]),ue.$set(oo)},i(no){eo||(transition_in(ue.$$.fragment,no),eo=!0)},o(no){transition_out(ue.$$.fragment,no),eo=!1},d(no){destroy_component(ue,no)}}}function create_default_slot$3p(to){var io;let ue,eo,no,ro;eo=new DataSourceCategory({props:{heading:"Tables",dataSet:to[1],value:to[0],onSelect:to[6]}});let oo=((io=to[2])==null?void 0:io.length)&&create_if_block$2J(to);return{c(){ue=element("div"),create_component(eo.$$.fragment),no=space$1(),oo&&oo.c(),attr(ue,"class","dropdown svelte-12zftoo")},m(so,ao){insert$1(so,ue,ao),mount_component(eo,ue,null),append$2(ue,no),oo&&oo.m(ue,null),ro=!0},p(so,ao){var uo;const lo={};ao&2&&(lo.dataSet=so[1]),ao&1&&(lo.value=so[0]),eo.$set(lo),(uo=so[2])!=null&&uo.length?oo?(oo.p(so,ao),ao&4&&transition_in(oo,1)):(oo=create_if_block$2J(so),oo.c(),transition_in(oo,1),oo.m(ue,null)):oo&&(group_outros(),transition_out(oo,1,1,()=>{oo=null}),check_outros())},i(so){ro||(transition_in(eo.$$.fragment,so),transition_in(oo),ro=!0)},o(so){transition_out(eo.$$.fragment,so),transition_out(oo),ro=!1},d(so){so&&detach(ue),destroy_component(eo),oo&&oo.d()}}}function create_fragment$5v(to){let ue,eo,no,ro,oo;eo=new Select_1$1({props:{readonly:!0,value:to[5],options:[to[5]]}}),eo.$on("click",function(){is_function(to[4].show)&&to[4].show.apply(this,arguments)});let io={anchor:to[3],$$slots:{default:[create_default_slot$3p]},$$scope:{ctx:to}};return ro=new Popover({props:io}),to[11](ro),{c(){ue=element("div"),create_component(eo.$$.fragment),no=space$1(),create_component(ro.$$.fragment),attr(ue,"class","container svelte-12zftoo")},m(so,ao){insert$1(so,ue,ao),mount_component(eo,ue,null),to[10](ue),insert$1(so,no,ao),mount_component(ro,so,ao),oo=!0},p(so,[ao]){to=so;const lo={};ao&32&&(lo.value=to[5]),ao&32&&(lo.options=[to[5]]),eo.$set(lo);const uo={};ao&8&&(uo.anchor=to[3]),ao&16391&&(uo.$$scope={dirty:ao,ctx:to}),ro.$set(uo)},i(so){oo||(transition_in(eo.$$.fragment,so),transition_in(ro.$$.fragment,so),oo=!0)},o(so){transition_out(eo.$$.fragment,so),transition_out(ro.$$.fragment,so),oo=!1},d(so){so&&(detach(ue),detach(no)),destroy_component(eo),to[10](null),to[11](null),destroy_component(ro,so)}}}function instance$5w(to,ue,eo){let no,ro,oo,io,so,ao,lo;component_subscribe(to,datasources,go=>eo(7,so=go)),component_subscribe(to,viewsV2,go=>eo(8,ao=go)),component_subscribe(to,tables,go=>eo(9,lo=go));let{value:uo}=ue,co,fo;const po=createEventDispatcher(),mo=go=>{po("change",oo.find(bo=>bo.resourceId===go.resourceId)),fo.hide()};onMount(()=>{if(uo&&!uo.resourceId){const go=ro.find(vo=>vo.resourceId===uo.id),bo=no.find(vo=>vo.resourceId===uo.tableId);po("change",go||bo)}});function _o(go){binding_callbacks[go?"unshift":"push"](()=>{co=go,eo(3,co)})}function ho(go){binding_callbacks[go?"unshift":"push"](()=>{fo=go,eo(4,fo)})}return to.$$set=go=>{"value"in go&&eo(0,uo=go.value)},to.$$.update=()=>{to.$$.dirty&640&&eo(1,no=sortAndFormat.tables(lo.list,so.list)),to.$$.dirty&384&&eo(2,ro=sortAndFormat.viewsV2(ao.list,so.list)),to.$$.dirty&6&&(oo=[...no||[],...ro||[]]),to.$$.dirty&1&&eo(5,io=(uo==null?void 0:uo.label)??"Choose an option")},[uo,no,ro,co,fo,io,mo,so,ao,lo,_o,ho]}class TableSelect extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5w,create_fragment$5v,safe_not_equal,{value:0})}}function create_fragment$5u(to){let ue,eo;return ue=new ColorPicker({props:{value:to[0],spectrumTheme:to[1].theme}}),ue.$on("change",to[2]),{c(){create_component(ue.$$.fragment)},m(no,ro){mount_component(ue,no,ro),eo=!0},p(no,[ro]){const oo={};ro&1&&(oo.value=no[0]),ro&2&&(oo.spectrumTheme=no[1].theme),ue.$set(oo)},i(no){eo||(transition_in(ue.$$.fragment,no),eo=!0)},o(no){transition_out(ue.$$.fragment,no),eo=!1},d(no){destroy_component(ue,no)}}}function instance$5v(to,ue,eo){let no;component_subscribe(to,themeStore,io=>eo(1,no=io));let{value:ro}=ue;function oo(io){bubble.call(this,to,io)}return to.$$set=io=>{"value"in io&&eo(0,ro=io.value)},[ro,no,oo]}class ColorPicker_1 extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5v,create_fragment$5u,safe_not_equal,{value:0})}}const iconData={Buildings:{home:["house","房子","家","主页"],"home-2":["house","房子","家","主页"],"home-3":["house","房子","家","主页"],"home-4":["house","房子","家","主页"],"home-5":["house","房子","家","主页"],"home-6":["house","房子","家","主页"],"home-7":["house","房子","家","主页"],"home-8":["house","房子","家","主页"],"home-gear":["house","房子","工厂"],"home-wifi":["smart home","房子","家具","智能家居"],"home-smile":["house","smart home","smile","房子","智能家居","微笑"],"home-smile-2":["house","smart home","smile","房子","智能家居","微笑"],"home-heart":["house","心","房子","家","主页","孤儿院"],building:["city","office","enterprise","建筑","城市","楼","办公楼","写字楼","企业"],"building-2":["city","office","construction","enterprise","城市","建筑","楼","企业"],"building-3":["factory","plant","enterprise","工厂","建筑","楼","企业"],"building-4":["city","office","enterprise","建筑","城市","楼","办公楼","写字楼","企业"],hotel:["building","hotel","office","enterprise","tavern","建筑","酒店","楼","办公楼","写字楼","企业"],community:["building","hotel","社区","建筑","酒店"],government:["building","政府","建筑","大会堂"],bank:["bank","finance","savings","banking","银行","交易所"],store:["shop","mall","supermarket","商店","超市","店铺","商家"],"store-2":["shop","mall","supermarket","商店","超市","店铺","商家"],"store-3":["shop","mall","supermarket","商店","超市","店铺","商家"],hospital:["medical","health","医院"],"ancient-gate":["historical","genre","scenic","trip","travel","旅行","旅游","城门","古代","历史","景区"],"ancient-pavilion":["historical","genre","scenic","trip","travel","旅行","旅游","凉亭","古代","历史","景区"]},Business:{mail:["envelope","email","inbox","信封","邮箱","邮件","收件箱"],"mail-open":["envelope","email","inbox","信封","邮箱","邮件","收件箱"],"mail-send":["envelope","email","inbox","信封","邮箱","邮件","发送","发件箱"],"mail-unread":["envelope","email","inbox","信封","邮箱","邮件","未读"],"mail-add":["envelope","email","inbox","add","信封","邮箱","邮件","新增","添加"],"mail-check":["envelope","email","inbox","read","信封","邮箱","邮件","已读"],"mail-close":["envelope","email","inbox","failed","x","信封","邮箱","邮件","失败"],"mail-download":["envelope","email","inbox","download","信封","邮箱","邮件","下载"],"mail-forbid":["envelope","email","inbox","privacy","信封","邮箱","邮件","禁止"],"mail-lock":["envelope","email","inbox","lock","信封","邮箱","邮件","加密"],"mail-settings":["envelope","email","inbox","settings","信封","邮箱","邮件","设置"],"mail-star":["envelope","email","inbox","favorite","信封","邮箱","邮件","收藏","喜欢"],"mail-volume":["envelope","email","inbox","promotional email","email campaign","subscription","信封","邮箱","邮件","收件箱","推广","订阅"],inbox:["收件箱"],"inbox-archive":["收件箱","归档","收纳"],"inbox-unarchive":["unzip","unpack","extract","收件箱","取消归档","还原","解压缩"],cloud:["weather","云端"],"cloud-off":["offline-mode","connection-fail","slash","weather","云端","断网","无信号","连接失败"],attachment:["annex","paperclip","附件","曲别针"],profile:["id","档案","资料","身份证","证件"],archive:["box","收纳","归档","存档","盒子","纸箱"],"archive-drawer":["night table","收纳","抽屉","归档","存档","床头柜"],at:["@","mention","提到","在"],award:["medal","achievement","badge","成就","奖牌","金牌","勋章"],medal:["award","achievement","badge","成就","奖牌","金牌","勋章"],"medal-2":["award","achievement","badge","成就","奖牌","金牌","勋章"],"bar-chart":["statistics","rhythm","柱状图","统计","韵律","节奏"],"bar-chart-horizontal":["statistics","rhythm","柱状图","统计","韵律","节奏"],"bar-chart-2":["statistics","rhythm","柱状图","统计","排行","节奏"],"bar-chart-box":["statistics","rhythm","柱状图","统计","节奏"],"bar-chart-grouped":["statistics","rhythm","柱状图","统计","分组"],"bubble-chart":["data","analysis","statistics","气泡图","统计"],"pie-chart":["data","analysis","饼图","饼状图","数据","分析"],"pie-chart-2":["data","analysis","饼图","饼状图","数据","分析"],"pie-chart-box":["data","analysis","饼图","饼状图","数据","分析"],"donut-chart":["data","analysis","环形图","数据","分析"],"line-chart":["data","analysis","stats","折线图","数据","分析"],bookmark:["tag","书签","标记"],"bookmark-2":["tag","书签","标记"],"bookmark-3":["tag","书签","标记","荣誉"],briefcase:["bag","baggage","公文包","行李箱","旅行箱","皮包"],"briefcase-2":["bag","baggage","公文包","行李箱","旅行箱","皮包"],"briefcase-3":["bag","baggage","公文包","行李箱","旅行箱","皮包"],"briefcase-4":["bag","baggage","公文包","行李箱","旅行箱","皮包"],"briefcase-5":["bag","baggage","公文包","行李箱","旅行箱","皮包"],calculator:["计算器","计算机"],calendar:["date","plan","schedule","agenda","日历","日期","月份","计划","日程","时间表"],"calendar-2":["date","plan","schedule","agenda","日历","日期","月份","计划","日程","时间表"],"calendar-event":["date","plan","schedule","agenda","日历","日期","月份","计划","日程","时间表"],"calendar-todo":["date","plan","schedule","agenda","日历","日期","月份","计划","日程","时间表"],"calendar-check":["date","plan","schedule","agenda","check-in","punch","日历","日期","月份","计划","日程","时间表","签到","打卡"],"customer-service":["headset","客服","售后","耳机","耳麦"],"customer-service-2":["headset","客服","售后","耳机","耳麦"],flag:["banner","pin","旗帜","旗子","国旗","标记"],"flag-2":["banner","pin","旗帜","旗子","国旗","标记"],global:["earth","union","world","language","地球","联合","世界","全球","语言"],honour:["honor","glory","锦旗","荣誉","荣耀","军衔"],links:["connection","address","联系","链接","地址"],printer:["打印机"],"printer-cloud":["打印机","云打印"],"record-mail":["voice mail","tape","录音","留言","语音信箱","磁带"],reply:["forward","回复全部","回复所有"],"reply-all":["forward","回复","答复","留言","转发"],"send-plane":["发送","纸飞机"],"send-plane-2":["发送","纸飞机"],projector:["projection","meeting","投影仪","会议室"],"projector-2":["projection","meeting","投影仪","会议室","极米"],slideshow:["presentation","meeting","PPT","keynote","投影","放映","演示","演讲","幻灯片","会议室"],"slideshow-2":["presentation","meeting","投影","放映","演示","演讲","幻灯片","会议室"],"slideshow-3":["presentation","meeting","投影","放映","演示","演讲","视频会议","幻灯片","会议室"],"slideshow-4":["presentation","meeting","投影","放映","演示","演讲","可视对讲","幻灯片","会议室"],window:["browser","program","web","窗口","浏览器","程序","网站"],"window-2":["browser","program","web","窗口","浏览器","程序","网站"],stack:["layers","图层","叠加","堆栈"],service:["heart","handshake","cooperation","服务","握手","心","合作"],registered:["注册","商标"],trademark:["注册","商标"],advertisement:["ad","广告","推广"],copyleft:["著佐权"],copyright:["版权"],"creative-commons":["知识共享"],"creative-commons-by":["attribution","copyright","版权","知识共享","署名"],"creative-commons-nc":["noncommercial","copyright","版权","知识共享","非商业用途"],"creative-commons-nd":["no derivative works","copyright","版权","知识共享","禁止演绎"],"creative-commons-sa":["share alike","copyright","版权","知识共享","相同方式共享"],"creative-commons-zero":["cc0","copyright","版权","知识共享"]},Communication:{"chat-1":["message","reply","comment","消息","聊天","回复","评论"],"chat-2":["message","reply","comment","消息","聊天","回复","评论"],"chat-3":["message","reply","comment","消息","聊天","回复","评论"],"chat-4":["message","reply","comment","消息","聊天","回复","评论"],message:["chat","comment","reply","消息","聊天","回复","评论"],"message-2":["chat","reply","comment","消息","聊天","回复","评论"],"message-3":["chat","reply","comment","消息","聊天","回复","评论"],"chat-check":["message","reply","comment","消息","聊天","回复","评论","已阅"],"chat-delete":["message","comment","消息","聊天","回复","评论","清除","删除"],"chat-forward":["message","comment","消息","聊天","转发"],"chat-upload":["message","comment","消息","聊天","上传"],"chat-download":["message","comment","消息","下载"],"chat-new":["message","reply","comment","消息","聊天","回复","评论"],"chat-settings":["message","comment","消息","聊天","回复","评论","设置"],"chat-smile":["message","reply","comment","消息","聊天","回复","评论"],"chat-smile-2":["message","reply","comment","消息","聊天","回复","评论"],"chat-smile-3":["message","reply","comment","消息","聊天","回复","评论"],"chat-heart":["message","reply","comment","消息","聊天","回复","评论","心","点赞","收藏"],"chat-off":["message","reply","comment","slash","消息","聊天","回复","评论","禁止","关闭"],feedback:["message","comment","消息","聊天","回复","评论","反馈"],discuss:["message","reply","comment","消息","聊天","回复","评论","讨论","群聊"],"question-answer":["message","reply","comment","消息","聊天","回复","评论","讨论","群聊"],questionnaire:["message","comment","help","消息","聊天","回复","评论","讨论","调查问卷","帮助"],"video-chat":["message","comment","消息","视频聊天"],"chat-voice":["message","comment","消息","语音消息"],"chat-quote":["message","reply","comment","消息","引用回复"],"chat-follow-up":["message","reply","comment","消息","+1","跟帖"],"chat-poll":["message","vote","questionnaire","消息","投票","问卷调查"],"chat-history":["message","历史消息","消息记录"],"chat-private":["message","私密消息","密聊"]},Design:{pencil:["edit","铅笔","编辑"],edit:["pencil","铅笔","编辑"],"edit-2":["pencil","铅笔","编辑"],"ball-pen":["圆珠笔"],"quill-pen":["羽毛笔","钢笔","编辑"],"pen-nib":["钢笔","笔尖"],"ink-bottle":["墨水瓶"],"mark-pen":["马克笔"],markup:["标记","马克"],"edit-box":["编辑"],"edit-circle":["编辑"],sip:["吸管","取色器"],brush:["笔刷","画笔","刷子"],"brush-2":["刷子"],"brush-3":["刷子"],"brush-4":["刷子"],"paint-brush":["填色","填充","刷子"],contrast:["brightness","tonalit","对比度","亮度","色调"],"contrast-2":["moon","dark","brightness","tonalit","月亮","夜间","对比度","亮度","色调"],drop:["water","blur","模糊","水","滴"],"blur-off":["water","drop","slash","模糊","水","滴","禁止","关闭"],"contrast-drop":["water","brightness","tonalit","水","对比度","亮度","色调","滴"],"contrast-drop-2":["water","brightness","tonalit","水","对比度","亮度","色调","滴"],compasses:["圆规"],"compasses-2":["圆规"],scissors:["剪刀","裁剪"],"scissors-cut":["剪刀","裁剪"],"scissors-2":["剪刀","裁剪","截屏"],slice:["knife","切图","切片","刀"],eraser:["remove formatting","橡皮","擦除","清除格式"],ruler:["尺子"],"ruler-2":["尺子"],"pencil-ruler":["design","铅笔","尺子","文具","设计"],"pencil-ruler-2":["design","铅笔","尺子","文具","设计"],"t-box":["文字","字体","字号"],"input-method":["输入法","文字"],artboard:["grid","crop","画板","裁切"],"artboard-2":["画板"],crop:["裁切"],"crop-2":["裁切"],screenshot:["capture","屏幕截图","截屏"],"screenshot-2":["capture","屏幕截图","截屏"],"drag-move":["arrow","拖拽","移动","箭头"],"drag-move-2":["arrow","拖拽","移动","箭头"],focus:["aim","target","焦点","聚焦","目标","靶心"],"focus-2":["aim","target","bullseye","焦点","聚焦","目标","靶心"],"focus-3":["aim","target","bullseye","焦点","聚焦","目标","靶心"],paint:["填色","填充","油漆桶"],palette:["调色盘","色板"],pantone:["色板","潘通色","色号"],shape:["border","形状","描边","边框"],"shape-2":["border","形状","描边","边框"],magic:["fantasy","magic stick","beautify","魔法棒","美化","幻想","魔幻"],anticlockwise:["rotate","left","左翻转","左旋转"],"anticlockwise-2":["rotate","left","左翻转","左旋转"],clockwise:["rotate","right","右翻转","右旋转"],"clockwise-2":["rotate","right","右翻转","右旋转"],hammer:["锤子"],tools:["settings","工具","设置"],"drag-drop":["drag and drop","mouse","拖拽","鼠标"],table:["表格"],"table-alt":["表格"],layout:["布局"],"layout-2":["collage","布局","拼贴画"],"layout-3":["collage","布局","拼贴画"],"layout-4":["collage","布局","拼贴画"],"layout-5":["collage","布局","拼贴画"],"layout-6":["collage","布局","拼贴画"],"layout-column":["左右布局"],"layout-row":["上下布局"],"layout-top":["顶部布局","顶部导航"],"layout-right":["右侧布局","右侧导航"],"layout-bottom":["底部布局","底部导航"],"layout-left":["左侧布局","左侧导航"],"layout-top-2":["顶部布局","顶部导航"],"layout-right-2":["右侧布局","右侧导航"],"layout-bottom-2":["底部布局","底部导航"],"layout-left-2":["左侧布局","左侧导航"],"layout-grid":["卡片布局","网格"],"layout-masonry":["collage","瀑布流布局","拼贴画"],collage:["瀑布流布局","拼贴画"],grid:["table","网格","表格"]},Development:{bug:["虫子"],"bug-2":["虫子"],code:["代码","编程"],"code-s":["代码","编程"],"code-s-slash":["代码","编程"],"code-box":["代码","编程"],"terminal-box":["code","command line","终端","代码","命令行"],terminal:["code","command line","终端","代码","命令行"],"terminal-window":["code","command line","终端","代码","命令行"],parentheses:["code","math","小括号"],brackets:["code","math","中括号"],braces:["code","math","大括号","花括号"],command:["apple key","花键","苹果键"],cursor:["mouse","指针","鼠标"],"git-commit":["node","提交"],"git-pull-request":["合并申请"],"git-merge":["合并"],"git-branch":["分支"],"git-repository":["仓库"],"git-repository-commits":["仓库","提交"],"git-repository-private":["私密仓库","私人仓库"],html5:["html","h5"],css3:["css"]},Device:{tv:["电视"],"tv-2":["monitor","电视","显示器"],computer:["monitor","电脑","显示器"],mac:["monitor","显示器"],macbook:["laptop","笔记本"],cellphone:["手机","电话"],smartphone:["mobile","手机"],tablet:["平板电脑"],device:["设备"],phone:["电话"],database:["storage","数据库","存储"],"database-2":["storage","数据库","存储"],server:["服务器"],"hard-drive":["disc","storage","硬盘","存储"],"hard-drive-2":["disc","server","storage","硬盘","服务器","存储"],install:["安装"],uninstall:["卸载"],save:["floppy","保存","软盘"],"save-2":["floppy","保存","软盘"],"save-3":["floppy","保存","软盘"],"sd-card":["内存卡"],"sd-card-mini":["内存卡"],"sim-card":["电话卡"],"sim-card-2":["电话卡"],"dual-sim-1":["sim card","电话卡","卡槽","双卡双待"],"dual-sim-2":["sim card","电话卡","卡槽","双卡双待"],"u-disk":["U盘","优盘"],battery:["电池"],"battery-charge":["电池","充电"],"battery-low":["电池","低电量"],"battery-2":["电池"],"battery-2-charge":["电池","充电"],"battery-saver":["电池","省电模式"],"battery-share":["电池共享","共享电量"],cast:["mirroring","投屏","无线","广播"],airplay:["mirroring","投屏","无线"],cpu:["中央处理器"],gradienter:["水平仪"],keyboard:["input","键盘","输入"],"keyboard-box":["input","键盘","输入"],mouse:["鼠标"],sensor:["capacitor","传感器","电容器"],router:["wifi","signal tower","radio","station","路由器","信号塔","广播","基站","流量"],radar:["satellite receiver","雷达","卫星接收器","锅"],gamepad:["consoles","controller","游戏手柄"],"remote-control":["controller","遥控器"],"remote-control-2":["controller","遥控器"],"device-recover":["恢复出厂设置"],hotspot:["手机热点"],"phone-find":["找回手机"],"phone-lock":["锁定手机"],"rotate-lock":["锁定旋转屏幕"],restart:["reload","refresh","重启"],"shut-down":["power off","关机"],fingerprint:["指纹"],"fingerprint-2":["指纹"],barcode:["scan","扫码","条形码","条码"],"barcode-box":["scan","扫码","条形码","条码"],"qr-code":["二维码"],"qr-scan":["二维码","扫描"],"qr-scan-2":["二维码","扫描"],scan:["扫描"],"scan-2":["扫描"],rss:["feed","subscribe","订阅"],gps:["signal","定位","信号"],"base-station":["wifi","signal tower","router","cast","基站","信号塔","路由器","广播","流量"],bluetooth:["wireless","蓝牙","无线"],"bluetooth-connect":["wireless","蓝牙","连接","无线"],wifi:["无线网"],"wifi-off":["slash","offline","connection-fail","无线网","关闭","断网","链接失败"],"signal-wifi":["cellular","strength","无线网","信号"],"signal-wifi-1":["cellular","strength","无线网","信号"],"signal-wifi-2":["cellular","strength","无线网","信号"],"signal-wifi-3":["cellular","strength","无线网","信号"],"signal-wifi-error":["cellular","offline","connection-fail","无线网","断网","链接失败","无信号"],"signal-wifi-off":["cellular","slash","offline","connection-fail","无线网","关闭","断网","链接失败"],"wireless-charging":["power","flash","无线充电","闪充"],"dashboard-2":["仪表盘"],"dashboard-3":["仪表盘"],usb:["优盘"]},Document:{file:["new","paper","文件","文档","新建"],"file-2":["new","paper","文件","文档","新建"],"file-3":["new","paper","文件","文档","新建"],"file-4":["new","paper","文件","文档","新建"],"sticky-note":["new","paper","文件","文档","新建","便签纸","便利贴"],"sticky-note-2":["new","paper","文件","文档","新建","便签纸","便利贴"],"file-edit":["文件","文档","编辑"],draft:["草稿箱","文件","文档","编辑"],"file-paper":["文件","文档","纸","谱"],"file-paper-2":["文件","文档","纸","谱"],"file-text":["文件","文档","文本"],"file-list":["清单","列表"],"file-list-2":["清单","列表"],"file-list-3":["newspaper","清单","列表","报纸"],bill:["账单"],"file-copy":["duplicate","clone","复制","克隆"],"file-copy-2":["duplicate","clone","复制","克隆"],clipboard:["copy","复制","剪切板"],survey:["research","questionnaire","调查","问卷","调研"],article:["newspaper","文章","报纸"],newspaper:["报纸"],"file-zip":["7z","rar","压缩包"],"file-mark":["文件","文档","标记"],task:["todo","任务","待办"],todo:["待办"],book:["read","dictionary","booklet","书","阅读","字典","小册子"],"book-mark":["read","dictionary","booklet","书","阅读","字典","小册子","书签"],"book-2":["read","dictionary","booklet","书","阅读","字典","小册子"],"book-3":["read","dictionary","booklet","书","阅读","字典","小册子"],"book-open":["read","booklet","magazine","书","阅读","小册子","杂志"],"book-read":["booklet","magazine","书","阅读","小册子","杂志"],"contacts-book":["通讯录","联系人"],"contacts-book-2":["通讯录","联系人"],"contacts-book-upload":["upload","通讯录","联系人","上传"],booklet:["notebook","手册","笔记本","小册子"],"file-code":["config","文件","文档","代码","脚本","配置文件"],"file-pdf":["文件","文档"],"file-word":["文档"],"file-ppt":["文件","文档"],"file-excel":["文档","表单"],"file-word-2":["文档"],"file-ppt-2":["文件","文档"],"file-excel-2":["文档","表单"],"file-hwp":["文件","文档","hangul word processor"],keynote:["演示文稿","幻灯片","讲演"],numbers:["表格"],pages:["文稿"],"file-search":["文件","文档","搜索"],"file-add":["new","文件","文档","新建"],"file-reduce":["文件","文档","减"],"file-settings":["文件","文档","设置"],"file-upload":["文件","文档","上传"],"file-transfer":["文件","文档","传输"],"file-download":["文件","文档","下载"],"file-lock":["文件","文档","锁"],"file-chart":["report","文件","文档","柱状图","报表"],"file-chart-2":["report","文件","文档","饼图","报表"],"file-music":["文件","文档","音乐"],"file-gif":["文件","文档","动图"],"file-forbid":["文件","文档","禁用"],"file-info":["文件","文档","信息"],"file-warning":["alert","文件","文档","警告","提醒"],"file-unknow":["文件","文档","未知","问号"],"file-user":["文件","文档","用户"],"file-shield":["protected","secured","文件","文档","盾牌","保护","安全"],"file-shield-2":["protected","secured","文件","文档","盾牌","保护","安全"],"file-damage":["breakdown","broken","文件","文档","损坏","破损","破裂"],"file-history":["record","文件","文档","记录","历史"],"file-shred":["shredder","shred","destroy","cut","文档","销毁","碎纸机","破裂","粉碎"],"file-cloud":["文件","文档","云"],folder:["directory","file","文件夹","目录","文档"],"folder-2":["directory","file","文件夹","目录","文档"],"folder-3":["directory","file","文件夹","目录","文档"],"folder-4":["directory","file","文件夹","目录","文档"],"folder-5":["directory","file","文件夹","目录","文档"],folders:["directory","file","文件夹","目录","文档","批量"],"folder-add":["directory","file","文件夹","目录","文档","添加"],"folder-reduce":["directory","file","文件夹","目录","文档","减"],"folder-settings":["directory","file","文件夹","目录","文档","设置"],"folder-upload":["directory","file","文件夹","目录","文档","上传"],"folder-transfer":["directory","file","文件夹","目录","文档","传输"],"folder-download":["directory","file","文件夹","目录","文档","下载"],"folder-lock":["directory","file","文件夹","目录","文档","锁"],"folder-chart":["report","文件夹","目录","文档","柱状图","报表"],"folder-chart-2":["report","文件夹","目录","文档","饼图","报表"],"folder-music":["directory","file","文件夹","目录","文档","音乐"],"folder-forbid":["directory","file","文件夹","目录","文档","禁用"],"folder-info":["directory","file","文件夹","目录","文档","信息"],"folder-warning":["alert","directory","file","文件夹","目录","文档","警告","提醒"],"folder-unknow":["directory","file","文件夹","目录","文档","未知"],"folder-user":["directory","file","文件夹","目录","文档","用户"],"folder-shield":["directory","file","protected","secured","文件夹","目录","文档","保护","盾牌","安全"],"folder-shield-2":["directory","file","protected","secured","文件夹","目录","文档","保护","盾牌","安全"],"folder-shared":["directory","file","文件夹","目录","文档","分享"],"folder-received":["directory","file","文件夹","目录","文档","接收"],"folder-open":["directory","file","文件夹","目录","文档","打开"],"folder-keyhole":["directory","encryption","file","文件夹","目录","文档","打开","加密文档"],"folder-zip":["directory","file","文件夹","目录","文档","打开","压缩"],"folder-history":["directory","file","record","文件夹","目录","文档","记录","历史"],markdown:["arrow","箭头","下"]},Editor:{bold:["加粗"],italic:["斜体"],heading:["标题"],text:["字体"],"font-color":["文字色"],"font-size":["字号","字体大小"],"font-size-2":["字号","字体大小"],underline:["下划线"],emphasis:["着重号"],"emphasis-cn":["着重号"],strikethrough:["remove formatting","删除线"],"strikethrough-2":["remove formatting","删除线"],"format-clear":["remove formatting","清除格式"],"align-left":["左对齐"],"align-center":["居中对齐"],"align-right":["右对齐"],"align-justify":["排列对齐"],"align-top":["顶部对齐"],"align-vertically":["垂直对齐"],"align-bottom":["底部对齐"],"list-check":["check list","清单列表"],"list-check-2":["check list","清单列表"],"list-ordered":["number list","有序列表"],"list-unordered":["bullet list","无序列表"],"indent-decrease":["indent more","缩进"],"indent-increase":["indent less","缩进"],"line-height":["行高"],"text-spacing":["字间距"],"text-wrap":["文本换行"],"attachment-2":["annex","paperclip","附件","曲别针"],link:["connection","address","联系","链接","地址"],"link-unlink":["connection","remove address","去除链接"],"link-m":["connection","address","联系","链接","地址"],"link-unlink-m":["connection","remove address","去除链接"],separator:["分割线"],space:["空格"],"page-separator":["insert","分页符","插入"],"code-view":["代码视图"],"double-quotes-l":["left","quotation marks","双引号"],"double-quotes-r":["right","quotation marks","双引号"],"single-quotes-l":["left","quotation marks","单引号"],"single-quotes-r":["right","quotation marks","单引号"],"table-2":["表格"],subscript:["角标","下标","脚注"],"subscript-2":["角标","下标","脚注"],superscript:["角标","上标"],"superscript-2":["角标","上标"],paragraph:["段落"],"text-direction-l":["文本左对齐"],"text-direction-r":["文本左对齐"],functions:["功能"],omega:["Ω","特殊符号"],hashtag:["#","井号"],asterisk:["*","星号"],"question-mark":["问号"],translate:["translator","翻译"],"translate-2":["translator","翻译"],"a-b":["a/b testing","ab testing","ab测试"],"english-input":["英文输入法"],"pinyin-input":["拼音输入法"],"wubi-input":["五笔输入法"],"input-cursor-move":["移动输入光标"],"number-1":["1","一","数字"],"number-2":["2","二","数字"],"number-3":["3","三","数字"],"number-4":["4","四","数字"],"number-5":["5","五","数字"],"number-6":["6","六","数字"],"number-7":["7","七","数字"],"number-8":["8","八","数字"],"number-9":["9","九","数字"],"number-0":["0","零","数字"],"sort-asc":["ranking","ordering","sorting","ascending","descending","升序排列","排序"],"sort-desc":["ranking","ordering","降序排列","排序"],"bring-forward":["arrange","层级","向上一层"],"send-backward":["arrange","层级","向下一层"],"bring-to-front":["arrange","层级","移到最前面"],"send-to-back":["arrange","层级","移到最后面"],"h-1":["heading","一级标题"],"h-2":["heading","一级标题"],"h-3":["heading","一级标题"],"h-4":["heading","一级标题"],"h-5":["heading","一级标题"],"h-6":["heading","一级标题"],"insert-column-left":["添加列","左侧"],"insert-column-right":["添加列","右侧"],"insert-row-top":["添加行","顶部"],"insert-row-bottom":["添加行","底部"],"delete-column":["删除列","底部"],"delete-row":["添加行","底部"],"merge-cells-horizontal":["合并单元格"],"merge-cells-vertical":["合并单元格"],"split-cells-horizontal":["拆分单元格"],"split-cells-vertical":["拆分单元格"],"flow-chart":["流程图"],"mind-map":["mindmap","脑图","思维导图"],"node-tree":["节点","层级关系图"],"organization-chart":["组织架构图","局域网"],"rounded-corner":["圆角"]},Finance:{wallet:["钱包","卡包"],"wallet-2":["钱包","卡包"],"wallet-3":["钱包","卡包"],"bank-card":["credit","purchase","payment","cc","银行卡","信用卡","购买","消费","支付"],"bank-card-2":["credit","purchase","payment","cc","银行卡","信用卡","购买","消费","支付"],"secure-payment":["credit","purchase","payment","cc","银行卡","信用卡","购买","消费","支付","安全"],refund:["credit card","repayment","cc","银行卡","信用卡还款"],"refund-2":["credit card","repayment","cc","银行卡","信用卡还款"],safe:["保险柜","保险箱"],"safe-2":["保险柜","保险箱"],"price-tag":["label","标签","价签"],"price-tag-2":["label","标签","价签"],"price-tag-3":["label","标签","价签"],ticket:["coupon","票","优惠券","代金券"],"ticket-2":["coupon","票","优惠券","代金券"],coupon:["ticket","票","优惠券","代金券"],"coupon-2":["ticket","票","优惠券","代金券"],"coupon-3":["ticket","票","优惠券","代金券"],"coupon-4":["优惠券","代金券"],"coupon-5":["优惠券","代金券"],"shopping-bag":["purse","购物袋","购买","消费","商城"],"shopping-bag-2":["购物袋","购买","消费","商城"],"shopping-bag-3":["购物袋","购买","消费","商城"],"shopping-basket":["购物篮","购买","消费","商城"],"shopping-basket-2":["购物篮","购买","消费","商城"],"shopping-cart":["购物车","购买","消费","商城"],"shopping-cart-2":["购物车","购买","消费","商城"],vip:["会员"],"vip-crown":["king","queen","皇冠","会员","国王","女王","王后"],"vip-crown-2":["king","queen","皇冠","会员","国王","女王","王后"],"vip-diamond":["钻石","会员"],trophy:["奖品","奖杯","金杯"],exchange:["swap","交换","换算","兑换"],"exchange-box":["swap","交换","换算","兑换"],swap:["exchange","交换","换算","兑换"],"swap-box":["exchange","交换","换算","兑换"],"exchange-dollar":["swap","transfer","交换","换算","兑换","美元","转账"],"exchange-cny":["swap","transfer","交换","换算","兑换","人民币","转账"],"exchange-funds":["swap","transfer","交换","换算","兑换","基金","股票","转账"],"increase-decrease":["计算器"],percent:["百分之","百分比"],"copper-coin":["currency","payment","铜币","硬币","货币","钱","支付"],"copper-diamond":["currency","coins","金币","钻石","货币","钱","支付"],"money-cny-box":["currency","payment","货币","钱","支付","人民币"],"money-cny-circle":["currency","coins","金币","payment","货币","钱","支付","人民币"],"money-dollar-box":["currency","payment","货币","钱","支付","美元"],"money-dollar-circle":["currency","coins","金币","payment","cent","penny","货币","钱","支付","美元","美分","便士"],"money-euro-box":["currency","payment","货币","钱","支付","欧元"],"money-euro-circle":["currency","coins","金币","payment","货币","钱","支付","欧元"],"money-pound-box":["currency","payment","货币","钱","支付","英镑"],"money-pound-circle":["currency","coins","金币","payment","货币","钱","支付","英镑"],"bit-coin":["currency","payment","货币","钱","比特币"],coin:["金币","硬币"],coins:["金币","硬币"],currency:["cash","payment","货币","钱"],funds:["foundation","stock","基金","股票"],"funds-box":["foundation","stock","基金","股票"],"red-packet":["红包"],"water-flash":["水电费"],stock:["股票"],auction:["hammer","拍卖","锤子"],gift:["present","礼物"],"gift-2":["present","礼物"],"hand-coin":["donate","business","捐赠"],"hand-heart":["help","donate","volunteer","welfare","帮助","爱心","捐赠","志愿者","公益"],"24-hours":["last","24小时营业"]},"Health & Medical":{heart:["like","love","favorite","心","喜欢","爱","收藏"],"heart-2":["like","love","favorite","心","喜欢","爱","收藏"],"heart-3":["like","love","favorite","心","喜欢","爱","收藏"],"heart-add":["like","love","favorite","心","喜欢","爱","收藏"],dislike:["like","love","remove favorite","心","不喜欢","取消收藏"],hearts:["romance","爱情","浪漫","心"],"heart-pulse":["heart rate","脉搏","心率"],pulse:["wave","heart rate","脉搏","心率","波"],empathize:["care","heart","同理心","关爱","心"],nurse:["doctors","医生","护士"],dossier:["病例"],"health-book":["健康手册","医疗手册"],"first-aid-kit":["case","急救箱"],capsule:["medicine"," 胶囊","药"],"medicine-bottle":["药瓶"],flask:["testing","experimental","experiment","烧瓶","实验","试验"],"test-tube":["testing","experimental","experiment","试管","实验","试验"],microscope:["testing","experimental","experiment","显微镜","实验","试验"],"hand-sanitizer":["alcohol","酒精消毒洗手液"],"mental-health":["心理健康"],psychotherapy:["心理治疗"],stethoscope:["听诊器"],syringe:["注射器"],thermometer:["体温计"],"infrared-thermometer":["红外线体温计","体温枪"],"surgical-mask":["外科医用口罩"],virus:["病毒"],lungs:["肺部"],"rest-time":["close","休息时间","打烊"],zzz:["睡觉"]},Logos:{alipay:["zhifubao","支付宝"],amazon:["亚马逊"],android:["applications","安卓","应用"],angularjs:["angular","programming framework"],"app-store":["applications","苹果应用商店"],apple:["苹果"],baidu:["du","claw","百度","爪"],behance:["behance"],bilibili:["哔哩哔哩"],centos:["linux","system","系统"],chrome:["谷歌浏览器"],codepen:["代码笔"],coreos:["linux","system","系统"],dingding:["钉钉"],discord:["game","chat"],disqus:["comments"],douban:["豆瓣"],dribbble:["追波"],drive:["google drive","谷歌云端硬盘"],dropbox:["多宝箱"],edge:["microsoft edge","edge浏览器"],evernote:["印象笔记"],facebook:["脸书"],"facebook-circle":["脸书"],"facebook-box":["脸书"],finder:["macintosh","仿达"],firefox:["火狐浏览器"],flutter:["google"],gatsby:["gatsby"],github:["github"],gitlab:["gitlab"],google:["谷歌"],"google-play":["applications","谷歌应用商店"],"honor-of-kings":["game","王者荣耀"],ie:["internet explorer","浏览器"],instagram:["照片墙"],invision:["invision"],"kakao-talk":["kakao talk","chat"],line:["连我"],linkedin:["领英"],"linkedin-box":["领英"],mastercard:["bank card","银行卡"],mastodon:["mastodon","长毛象"],medium:["媒体"],messenger:["facebook","脸书","信使"],microsoft:["windows","窗户","微软"],"mini-program":["微信小程序"],"netease-cloud-music":["netease cloud music","网易云音乐"],netflix:["网飞"],npmjs:["npm","nodejs"],"open-source":["opensource","开源"],opera:["欧朋浏览器"],patreon:["donate","money","捐赠","打赏"],paypal:["贝宝"],pinterest:["拼趣"],pixelfed:["photography","pixelfed"],playstation:["ps"],"product-hunt":["product hunt"],qq:["penguin","tencent","腾讯","企鹅"],reactjs:["react","programming framework","facebook"],reddit:["reddit"],remixicon:["remix icon","图标"],safari:["safari浏览器"],skype:["skype"],slack:["slack"],snapchat:["ghost","色拉布","幽灵"],soundcloud:["声云"],spectrum:["spectrum"],spotify:["music","音乐"],"stack-overflow":["stack overflow"],stackshare:["share","分享","技术栈"],steam:["game","store"],switch:["nintendo","任天堂"],taobao:["淘宝"],telegram:["telegram"],trello:["trello"],tumblr:["汤博乐"],twitch:["twitch"],twitter:["推特"],ubuntu:["linux","system","系统"],unsplash:["photos"],vimeo:["视频"],visa:["bank card","银行卡"],vuejs:["vue","programming framework"],wechat:["微信"],"wechat-2":["微信"],"wechat-pay":["微信支付"],weibo:["新浪微博"],whatsapp:["瓦次艾普"],windows:["microsoft","窗户","微软"],xbox:["xbox"],xing:["xing"],youtube:["优兔","油管"],zcool:["zcool","站酷"],zhihu:["知乎"]},Map:{"map-pin":["location","navigation","地图","坐标","定位","导航","位置"],"map-pin-2":["location","navigation","地图","坐标","定位","导航","位置"],"map-pin-3":["location","navigation","地图","坐标","定位","导航","位置"],"map-pin-4":["location","navigation","地图","坐标","定位","导航","位置"],"map-pin-5":["location","navigation","地图","坐标","定位","导航","位置"],"map-pin-add":["location","navigation","地图","坐标","定位","导航","位置","新增","添加"],"map-pin-range":["location","navigation","地图","坐标","定位","导航","位置","范围"],"map-pin-time":["location","navigation","地图","坐标","定位","导航","位置","时间"],"map-pin-user":["location","navigation","地图","坐标","定位","导航","位置","用户"],"pin-distance":["坐标","距离"],pushpin:["图钉"],"pushpin-2":["图钉"],compass:["navigation","safari","direction","discover","指南针","导航","方向","发现","探索"],"compass-2":["navigation","direction","discover","指南针","导航","方向","发现","探索"],"compass-3":["navigation","safari","direction","discover","指南针","导航","方向","发现","探索"],"compass-4":["navigation","direction","discover","指南针","导航","方向","发现","探索"],"compass-discover":["navigation","direction","指南针","导航","方向","发现","探索"],anchor:["锚"],"china-railway":["中铁","铁路","火车"],"space-ship":["太空飞船"],rocket:["火箭"],"rocket-2":["space ship","火箭","太空飞船"],map:["navigation","travel","地图","导航","旅行"],"map-2":["location","navigation","travel","地图","定位","导航","旅行"],"treasure-map":["thriller","adventure","地图","藏宝图"],"road-map":["navigation","travel","地图","导航","旅行"],earth:["global","union","world","language","地球","全球","联合","世界","语言"],globe:["earth","地球仪"],parking:["停车场"],"parking-box":["停车场"],route:["path","路线"],guide:["path","指引","路线"],"gas-station":["加气站","加油站"],"charging-pile":["充电桩"],"charging-pile-2":["充电桩"],car:["汽车"],"car-washing":["汽车","洗车"],roadster:["car","汽车","跑车"],taxi:["car","出租车","汽车"],"taxi-wifi":["car","出租车","汽车"],"police-car":["汽车","警车"],bus:["大巴","巴士"],"bus-2":["大巴","巴士"],"bus-wifi":["大巴","巴士"],truck:["van","delivery","卡车","货车","运输"],train:["火车"],"train-wifi":["火车"],subway:["地铁"],"subway-wifi":["地铁"],"flight-takeoff":["airplane","plane","origin","起飞","出发","始发","起点","飞机"],"flight-land":["airplane","plane","destination","着陆","到达","抵达","终点","飞机"],plane:["fight","飞机","航班"],sailboat:["帆船"],ship:["轮船","航海","海运"],"ship-2":["轮船"],bike:["自行车"],"e-bike":["take out","takeaway","电动车","外卖"],"e-bike-2":["take out","takeaway","电动车","外卖"],takeaway:["take out","takeaway","电动车","外卖"],motorbike:["摩托车"],caravan:["房车"],walk:["步行"],run:["奔跑","跑步"],riding:["bike","骑行","自行车"],barricade:["路障"],footprint:["脚印","足迹"],"traffic-light":["交通","信号灯"],"signal-tower":["base station","antenna","信号塔","基站","天线"],restaurant:["餐厅","饭店"],"restaurant-2":["餐厅","饭店"],cup:["tea","coffee","杯子","咖啡","茶"],goblet:["cup","wine glass","高脚杯","酒杯"],"hotel-bed":["酒店","床"],navigation:["gps","导航"],oil:["汽油","机油"],direction:["right","方向","右转"],steering:["drive","方向盘","驾车"],"steering-2":["drive","方向盘","驾车"],lifebuoy:["life ring","救生圈"],passport:["passports","护照"],suitcase:["travel","旅行","行李箱"],"suitcase-2":["travel","旅行","行李箱","拉杆箱"],"suitcase-3":["travel","旅行","boarding case","行李箱","拉杆箱","登机箱"],"luggage-deposit":["consignment","行李箱","行李寄存","托运"],"luggage-cart":["行李车"]},Media:{image:["picture","photo","图片","照片"],"image-2":["picture","photo","图片","照片"],"image-add":["picture","photo","图片","照片","添加"],"image-edit":["picture","photo","图片","照片","编辑"],landscape:["picture","image","photo","图片","照片"],gallery:["picture","image","图片","相册"],"gallery-upload":["picture","image","图片","相册","上传"],video:["视频"],movie:["film","video","电影","硬盘","视频"],"movie-2":["film","video","电影","硬盘","视频"],film:["movie","video","影片","电影","视频"],clapperboard:["movie","film","场记板","电影"],vidicon:["video","camera","摄像机","摄影机","视频"],"vidicon-2":["camera","摄像机","摄影机"],live:["video","camera","摄像机","摄影机","视频","直播"],"video-add":["camera","摄像机","摄影机","视频","添加"],"video-upload":["camera","摄像机","摄影机","视频","上传"],"video-download":["camera","摄像机","摄影机","视频","下载"],dv:["vidicon","camera","摄像机","摄影机"],camera:["photo","照相机","拍照","照片"],"camera-off":["photo","slash","照相机","拍照","照片","禁止","关闭"],"camera-2":["photo","照相机","拍照","照片"],"camera-3":["photo","照相机","拍照","照片"],"camera-lens":["aperture","photo","照相机","拍照","照片","朋友圈"],"camera-switch":["照相机","拍照","翻转"],polaroid:["camera","相机","宝丽来"],"polaroid-2":["camera","相机","宝丽来"],"phone-camera":["手机相机","手机摄像头"],webcam:["摄像头"],mv:["music video","音乐"],music:["音乐"],"music-2":["音乐"],disc:["music","album","音乐","唱片"],album:["music","唱片","音乐"],dvd:["cd","dvd","record","光盘","刻录"],headphone:["music","headset","耳机","音乐"],radio:["收音机","电台"],"radio-2":["收音机","电台"],tape:["录音","磁带"],mic:["record","voice","话筒","语音","录音","声音"],"mic-2":["record","voice","话筒","语音","录音","声音"],"mic-off":["record","voice","slash","关闭话筒","关闭语音","录音","关闭声音","静音","禁止"],"volume-down":["trumpet","sound","speaker","音量低","喇叭","声音","扬声器"],"volume-mute":["trumpet","sound","off","音量低","喇叭","声音","静音"],"volume-up":["trumpet","sound","speaker","音量高","喇叭","声音","扬声器"],"volume-vibrate":["trumpet","sound","speaker","喇叭","声音","扬声器","震动模式"],"volume-off-vibrate":["trumpet","sound","speaker","静音","喇叭","声音","扬声器","静音模式"],speaker:["音响"],"speaker-2":["音响"],"speaker-3":["音响"],"surround-sound":["环绕立体声"],broadcast:["广播"],notification:["bell","alarm","通知","铃铛","提醒"],"notification-2":["bell","alarm","通知","铃铛","提醒"],"notification-3":["bell","alarm","通知","铃铛","提醒"],"notification-4":["bell","alarm","通知","铃铛","提醒"],"notification-off":["bell","alarm","silent","slash","通知","铃铛","提醒","免打扰","静音","关闭","禁止"],"play-circle":["start","播放","开始"],"pause-circle":["暂停"],"record-circle":["录音"],"stop-circle":["停止"],eject:["推出"],play:["start","播放","开始"],pause:["暂停"],stop:["停止"],rewind:["fast","快退"],speed:["fast","快进"],"skip-back":["上一曲"],"skip-forward":["下一曲"],"play-mini":["播放"],"pause-mini":["暂停"],"stop-mini":["停止"],"rewind-mini":["fast","快退"],"speed-mini":["fast","快进"],"skip-back-mini":["上一曲"],"skip-forward-mini":["下一曲"],repeat:["循环播放"],"repeat-2":["循环播放"],"repeat-one":["单曲循环"],"order-play":["顺序播放"],shuffle:["随机播放"],"play-list":["播放列表"],"play-list-2":["播放列表"],"play-list-add":["列表","添加"],fullscreen:["maximize","全屏","最大化"],"fullscreen-exit":["minimize","退出全屏","最小化"],equalizer:["sliders","controls","settings","filter","均衡器","控制器","设置","筛选"],"sound-module":["sliders","controls","settings","filter","均衡器","控制器","设置","筛选"],rhythm:["节奏","韵律"],voiceprint:["声纹"],hq:["high quality","高质量","高品质"],hd:["high definition","高清晰度"],"4k":["high definition","high quality","高清晰度","高品质","超清"],"closed-captioning":["隐藏字幕"],"aspect-ratio":["宽高比","比例"],"picture-in-picture":["画中画","小窗"],"picture-in-picture-2":["画中画","小窗"],"picture-in-picture-exit":["退出画中画","退出小窗"]},System:{apps:["应用"],"apps-2":["应用"],function:["layout","功能","应用","卡片布局"],dashboard:["仪表盘"],menu:["navigation","hamburger","导航","菜单","汉堡包"],"menu-2":["navigation","hamburger","导航","菜单","汉堡包"],"menu-3":["navigation","hamburger","导航","菜单","汉堡包"],"menu-4":["navigation","hamburger","导航","菜单","汉堡包"],"menu-5":["navigation","hamburger","导航","菜单","汉堡包"],"menu-add":["navigation","hamburger","导航","菜单","汉堡包","添加"],"menu-fold":["navigation","hamburger","导航","菜单","汉堡包","展开"],more:["ellipsis","更多","省略"],"more-2":["ellipsis","更多","省略"],star:["favorite","like","mark","星星","星标","喜欢"],"star-s":["favorite","like","mark","星星","星标","喜欢","半星"],"star-half":["favorite","like","mark","星星","星标","喜欢"],"star-half-s":["favorite","like","mark","星星","星标","喜欢","半星"],settings:["edit","gear","preferences","偏好设置","编辑","齿轮"],"settings-2":["edit","gear","preferences","偏好设置","编辑","齿轮"],"settings-3":["edit","gear","preferences","偏好设置","编辑","齿轮"],"settings-4":["edit","gear","preferences","偏好设置","编辑","齿轮"],"settings-5":["edit","gear","preferences","偏好设置","编辑","齿轮"],"settings-6":["edit","gear","preferences","偏好设置","编辑","齿轮"],"list-settings":["列表","设置"],forbid:["slash","ban","禁止","禁用"],"forbid-2":["slash","ban","禁止","禁用"],information:["信息"],"error-warning":["alert","警告","错误"],question:["help","问号","帮助"],alert:["提醒","警告"],spam:["alert","垃圾邮件","警告"],"spam-2":["alert","垃圾邮件","警告"],"spam-3":["alert","垃圾邮件","警告"],"checkbox-blank":["复选框","空"],checkbox:["复选框"],"checkbox-indeterminate":["复选框"],"add-box":["plus","new","复选框","添加","加号","新增"],"checkbox-blank-circle":["复选框","空"],"checkbox-circle":["复选框"],"indeterminate-circle":["slash","ban","复选框","禁"],"add-circle":["plus","new","复选框","添加","加号","新增"],"close-circle":["cancel","remove","delete","empty","x","关闭","取消","移除","删除","清空"],"radio-button":["单选框"],"checkbox-multiple-blank":["复选框","空"],"checkbox-multiple":["复选框","空"],check:["对勾"],"check-double":["read","done","double-tick","双对勾","已读"],close:["cancel","remove","delete","empty","x","关闭","取消","移除","删除","清空"],add:["plus","new","添加","新增","加号"],subtract:["减"],divide:["除以"],"arrow-left-up":["corner","左上"],"arrow-up":["箭头","向上"],"arrow-right-up":["corner","右上"],"arrow-right":["forward","箭头","向右"],"arrow-right-down":["corner","右下"],"arrow-down":["箭头","向下"],"arrow-left-down":["corner","箭头","左下"],"arrow-left":["backward","箭头","向左","返回"],"arrow-up-circle":["箭头","向上"],"arrow-right-circle":["forward","箭头","向右"],"arrow-down-circle":["箭头","向下","下载"],"arrow-left-circle":["backward","箭头","向左","返回"],"arrow-up-s":["箭头","向上"],"arrow-down-s":["箭头","向下"],"arrow-right-s":["forward","箭头","向右"],"arrow-left-s":["backward","箭头","向左","返回"],"arrow-drop-up":["箭头","向上"],"arrow-drop-right":["forward","箭头","向右"],"arrow-drop-down":["箭头","向下"],"arrow-drop-left":["backward","箭头","向左","返回"],"arrow-left-right":["exchange","swap","箭头","左右","交换","换算","兑换"],"arrow-up-down":["exchange","swap","箭头","上下","交换","换算","兑换"],"arrow-go-back":["undo","箭头","返回","撤销","撤回"],"arrow-go-forward":["redo","箭头","重做","撤回"],download:["下载"],upload:["上传"],"download-2":["下载"],"upload-2":["上传"],"download-cloud":["下载","云"],"download-cloud-2":["下载","云"],"upload-cloud":["上传","云"],"upload-cloud-2":["上传","云"],"login-box":["sign in","登录"],"logout-box":["sign out","登出","注销"],"logout-box-r":["sign out","登出","注销"],"login-circle":["sign in","登录"],"logout-circle":["sign out","登出","注销"],"logout-circle-r":["sign out","登出","注销"],refresh:["synchronization","reload","restart","spinner","loader","ajax","update","刷新","同步"],shield:["safety","protect","盾牌","卫士","安全","防御"],"shield-cross":["safety","protect","盾牌","卫士","安全","防御","闪电"],"shield-flash":["safety","protect","盾牌","卫士","安全","防御"],"shield-star":["safety","protect","盾牌","卫士","安全","防御","星星"],"shield-user":["safety","protect","user protected","guarantor","盾牌","卫士","安全","防御","用户"],"shield-keyhole":["safety","protect","guarantor","盾牌","卫士","安全","防御","钥匙孔"],"shield-check":["safety","protect","盾牌","卫士","安全","防御"],"delete-back":["backspace","删除","退格"],"delete-back-2":["backspace","删除","退格"],"delete-bin":["trash","remove","ash-bin","garbage","dustbin","uninstall","卸载","删除","垃圾桶"],"delete-bin-2":["trash","remove","ash-bin","garbage","dustbin","uninstall","卸载","删除","垃圾桶"],"delete-bin-3":["trash","remove","ash-bin","garbage","dustbin","uninstall","卸载","删除","垃圾桶"],"delete-bin-4":["trash","remove","ash-bin","garbage","dustbin","uninstall","卸载","删除","垃圾桶"],"delete-bin-5":["trash","remove","ash-bin","garbage","dustbin","uninstall","卸载","删除","垃圾桶"],"delete-bin-6":["trash","remove","ash-bin","garbage","dustbin","uninstall","卸载","删除","垃圾桶"],"delete-bin-7":["trash","remove","ash-bin","garbage","dustbin","uninstall","卸载","删除","垃圾桶"],lock:["security","password","锁子","安全","密码"],"lock-2":["security","password","锁子","安全","密码"],"lock-password":["security","锁子","安全","密码"],"lock-unlock":["security","password","锁子","安全","密码"],eye:["watch","view","眼睛","查看"],"eye-off":["slash","眼睛","不可见","关闭","禁止"],"eye-2":["watch","view","眼睛","查看"],"eye-close":["x","闭眼"],search:["搜索","放大镜"],"search-2":["搜索","放大镜"],"search-eye":["搜索","放大镜","眼睛"],"zoom-in":["放大","放大镜"],"zoom-out":["缩小","放大镜"],"find-replace":["查找","搜索","替换"],share:["分享","转发"],"share-box":["分享","转发"],"share-circle":["分享","转发"],"share-forward":["分享","转发"],"share-forward-2":["分享","转发"],"share-forward-box":["分享","转发"],"side-bar":["侧边栏"],time:["clock","时间","时钟","钟表"],timer:["chronograph","stopwatch","秒表","计时器"],"timer-2":["chronograph","stopwatch","秒表","计时器"],"timer-flash":["chronograph","stopwatch","秒表","计时器","闪电"],alarm:["闹钟"],history:["record","recent","time machine","历史记录","最近"],"thumb-down":["dislike","bad","不喜欢","不好"],"thumb-up":["like","good","喜欢","好"],"alarm-warning":["alert","report","police light","告警","举报","警灯"],"notification-badge":["red dot","通知","小红点"],toggle:["switch","开关","触发器"],filter:["filtration","筛选","过滤"],"filter-2":["filtration","筛选","过滤"],"filter-3":["filtration","筛选","过滤"],"filter-off":["filtration","clear-filter","筛选","过滤"],loader:["loader","spinner","ajax","waiting","delay","加载中","载入中","正在加载"],"loader-2":["loader","spinner","ajax","waiting","delay","加载中","载入中","正在加载"],"loader-3":["loader","spinner","ajax","waiting","delay","加载中","载入中","正在加载"],"loader-4":["loader","spinner","ajax","waiting","delay","加载中","载入中","正在加载"],"loader-5":["loader","spinner","ajax","waiting","delay","加载中","载入中","正在加载"],"external-link":["外链"]},"User & Faces":{user:["用户"],"user-2":["用户"],"user-3":["用户"],"user-4":["用户"],"user-5":["用户"],"user-6":["用户"],"user-smile":["用户","微笑"],"account-box":["用户","账户"],"account-circle":["用户","账户"],"account-pin-box":["用户","账户"],"account-pin-circle":["用户","账户"],"user-add":["用户","添加","新增"],"user-follow":["关注"],"user-unfollow":["用户","取消关注"],"user-shared":["transfer","用户","我分享的","发送"],"user-shared-2":["transfer","用户","我分享的","发送"],"user-received":["用户","我接收的","收取"],"user-received-2":["用户","我接收的","收取"],"user-location":["用户","定位"],"user-search":["用户","查找"],"user-settings":["admin","用户","设置","管理员"],"user-star":["用户","关注"],"user-heart":["用户","关注"],admin:["admin","用户","管理员"],contacts:["联系人"],group:["team","团队","群组"],"group-2":["team","团队","群组"],team:["团队","小组","群主"],"user-voice":["用户","录音","演讲"],emotion:["表情","笑脸"],"emotion-2":["表情","笑脸"],"emotion-happy":["表情","开心"],"emotion-normal":["表情","一般"],"emotion-unhappy":["表情","不开心"],"emotion-laugh":["comedy","happy","表情","大笑","笑脸","开心","喜剧"],"emotion-sad":["drama","tears","悲剧","哭泣","泪"],skull:["ghost","骷髅","鬼怪"],"skull-2":["ghost","horror","thriller","骷髅","鬼怪","恐惧","恐怖"],men:["gender","man","male","男人","男性"],women:["gender","woman","female","女人","女性"],travesti:["女人","女性"],genderless:["女人","女性"],"open-arm":["张开双臂"],"body-scan":["gesture recognition","body","扫描身体","体态识别","动作之别","手势识别"],parent:["patriarch","父母","亲子","家长"],robot:["mechanic","机器人"],aliens:["science fiction","ET","外星人","科幻小说"],"bear-smile":["cartoon","anime","cartoon","小熊","微笑","儿童","动画片","卡通","动漫"],mickey:["cartoon","disney","迪士尼","米老鼠","微笑","儿童","动画片"],criminal:["horror","thriller","罪犯","犯罪","恐怖"],ghost:["horror","thriller","鬼怪","恐怖","恐惧"],"ghost-2":["horror","鬼怪","恐怖","恐惧"],"ghost-smile":["鬼怪","笑"],"star-smile":["animation","动画","微笑","星星"],spy:["incognito mode","detective","secret","间谍","侦探","无痕模式","隐私模式"]},Weather:{sun:["light mode","sunny","太阳","白天模式","晴天"],moon:["dark mode","night","月亮","夜间模式","月牙"],flashlight:["闪电"],cloudy:["多云"],"cloudy-2":["多云"],mist:["雾气","雾霾"],foggy:["大雾"],"cloud-windy":["风"],windy:["大风","刮风"],rainy:["下雨","雨天"],drizzle:["小雨"],showers:["中雨"],"heavy-showers":["大雨"],thunderstorms:["雷暴","雷阵雨"],hail:["冰雹"],snowy:["下雪","雪天"],"sun-cloudy":["晴转多云"],"moon-cloudy":["夜间多云"],tornado:["龙卷风"],typhoon:["cyclone","tornado","龙卷风","旋风","台风"],haze:["阴霾","薄雾"],"haze-2":["阴霾","薄雾"],"sun-foggy":["薄雾"],"moon-foggy":["薄雾"],"moon-clear":["夜间模式","夜间无云"],"temp-hot":["temperature","温度","高温","热"],"temp-cold":["temperature","温度","低温","冷"],celsius:["temperature","温度","摄氏度"],fahrenheit:["temperature","温度","华氏度"],fire:["hot","火","热门"],blaze:["火灾"],earthquake:["地震"],flood:["洪水"],meteor:["流星","陨石"],rainbow:["彩虹"]},Others:{basketball:["sports","运动","篮球"],bell:["cartoon","anime","doraemon","铃铛","哆啦A梦","卡通","动漫"],billiards:["sports","运动","台球","8"],boxing:["sports","运动","拳击"],cake:["anniversary","蛋糕"],"cake-2":["anniversary","蛋糕"],"cake-3":["蛋糕"],"door-lock":["门锁"],"door-lock-box":["门锁"],football:["sports","运动","足球"],game:["pac man","游戏","吃豆人"],handbag:["fashion","时尚","手提包","女包"],key:["password","钥匙","密码"],"key-2":["password","钥匙","密码"],knife:["刀"],"knife-blood":["crime","刀","犯罪","血","杀人"],lightbulb:["energy","creativity","灯泡","能源"],"lightbulb-flash":["energy","creativity","灯泡","能源","闪电"],outlet:["插座"],"outlet-2":["插座"],"ping-pong":["sports","table tennis","运动","乒乓球"],plug:["二脚插头"],"plug-2":["三脚插头"],reserved:["已预定"],shirt:["clothes","衬衫","衣服"],sword:["war","刀剑","战争","战斗","玄幻"],"t-shirt":["skin","theme","T恤","皮肤","主题"],"t-shirt-2":["skin","theme","T恤","皮肤","主题"],"t-shirt-air":["dry","T恤","风干","烘干"],umbrella:["protect","雨伞","保护"],"character-recognition":["ocr","文字识别"],"voice-recognition":["asr","语音识别"],leaf:["energy","ecology","树叶","节能","环保","语音识别"],plant:["植物"],seedling:["树苗","植物"],recycle:["recyclable","可回收"],scales:["balance","称","天平","天秤"],"scales-2":["厨房称"],"scales-3":["balance","称","天平","天秤"],fridge:["refrigerator","电冰箱"],wheelchair:["accessbility","轮椅","可访问性","辅助功能"],cactus:["desertr","仙人掌","沙漠"],door:["门"],"door-open":["开门"],"door-closed":["关门"]}},IconSelect_svelte_svelte_type_style_lang="";function get_each_context$17(to,ue,eo){const no=to.slice();return no[32]=ue[eo],no}function get_each_context_1$k(to,ue,eo){const no=to.slice();return no[35]=ue[eo],no[37]=eo,no}function create_default_slot_3$1u(to){let ue;return{c(){ue=text(to[8])},m(eo,no){insert$1(eo,ue,no)},p(eo,no){no[0]&256&&set_data(ue,eo[8])},d(eo){eo&&detach(ue)}}}function create_if_block_3$J(to){let ue;return{c(){ue=element("span"),ue.textContent="-"},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_each_block_1$k(to){let ue,eo,no,ro,oo;function io(){return to[21](to[35])}let so=to[37]!==to[9].length-1&&create_if_block_3$J();return{c(){ue=element("span"),ue.textContent=`${to[35]}`,eo=space$1(),so&&so.c(),no=empty$4(),attr(ue,"class","letter svelte-cthb51"),toggle_class(ue,"letter-selected",to[35]===to[2])},m(ao,lo){insert$1(ao,ue,lo),insert$1(ao,eo,lo),so&&so.m(ao,lo),insert$1(ao,no,lo),ro||(oo=listen(ue,"click",io),ro=!0)},p(ao,lo){to=ao,lo[0]&516&&toggle_class(ue,"letter-selected",to[35]===to[2])},d(ao){ao&&(detach(ue),detach(eo),detach(no)),so&&so.d(ao),ro=!1,oo()}}}function create_default_slot_2$1Q(to){let ue;return{c(){ue=text("Search")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_if_block_2$$(to){let ue,eo;return ue=new Button({props:{primary:!0,$$slots:{default:[create_default_slot_1$2s]},$$scope:{ctx:to}}}),ue.$on("click",to[24]),{c(){create_component(ue.$$.fragment)},m(no,ro){mount_component(ue,no,ro),eo=!0},p(no,ro){const oo={};ro[1]&128&&(oo.$$scope={dirty:ro,ctx:no}),ue.$set(oo)},i(no){eo||(transition_in(ue.$$.fragment,no),eo=!0)},o(no){transition_out(ue.$$.fragment,no),eo=!1},d(no){destroy_component(ue,no)}}}function create_default_slot_1$2s(to){let ue;return{c(){ue=text("Clear")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_else_block$16(to){let ue;return{c(){ue=element("div"),ue.textContent="No icons found",attr(ue,"class","no-icons svelte-cthb51")},m(eo,no){insert$1(eo,ue,no)},p:noop$5,d(eo){eo&&detach(ue)}}}function create_if_block$2I(to){let ue,eo=!to[5]&&create_if_block_1$1v(to);return{c(){ue=element("div"),eo&&eo.c(),attr(ue,"class","icon-area svelte-cthb51")},m(no,ro){insert$1(no,ue,ro),eo&&eo.m(ue,null)},p(no,ro){no[5]?eo&&(eo.d(1),eo=null):eo?eo.p(no,ro):(eo=create_if_block_1$1v(no),eo.c(),eo.m(ue,null))},d(no){no&&detach(ue),eo&&eo.d()}}}function create_if_block_1$1v(to){let ue,eo=ensure_array_like(to[7]),no=[];for(let ro=0;ro<eo.length;ro+=1)no[ro]=create_each_block$17(get_each_context$17(to,eo,ro));return{c(){for(let ro=0;ro<no.length;ro+=1)no[ro].c();ue=empty$4()},m(ro,oo){for(let io=0;io<no.length;io+=1)no[io]&&no[io].m(ro,oo);insert$1(ro,ue,oo)},p(ro,oo){if(oo[0]&16513){eo=ensure_array_like(ro[7]);let io;for(io=0;io<eo.length;io+=1){const so=get_each_context$17(ro,eo,io);no[io]?no[io].p(so,oo):(no[io]=create_each_block$17(so),no[io].c(),no[io].m(ue.parentNode,ue))}for(;io<no.length;io+=1)no[io].d(1);no.length=eo.length}},d(ro){ro&&detach(ue),destroy_each(no,ro)}}}function create_each_block$17(to){let ue,eo,no,ro,oo,io,so=to[32]+"",ao,lo,uo,co,fo,po,mo,_o,ho,go=to[32]+"",bo,vo,$o,wo,ko;function So(){return to[27](to[32])}function To(){return to[28](to[32])}return{c(){ue=element("div"),eo=element("div"),no=element("i"),oo=space$1(),io=element("div"),ao=text(so),lo=text("-fill"),uo=space$1(),co=element("div"),fo=element("div"),po=element("i"),_o=space$1(),ho=element("div"),bo=text(go),vo=text("-line"),$o=space$1(),attr(no,"class",ro=null_to_empty(`ri-${to[32]}-fill ri-xl`)+" svelte-cthb51"),attr(eo,"class","icon-preview svelte-cthb51"),attr(io,"class","icon-label svelte-cthb51"),attr(ue,"class","icon-container svelte-cthb51"),toggle_class(ue,"selected",to[0]===`ri-${to[32]}-fill`),attr(po,"class",mo=null_to_empty(`ri-${to[32]}-line ri-xl`)+" svelte-cthb51"),attr(fo,"class","icon-preview svelte-cthb51"),attr(ho,"class","icon-label svelte-cthb51"),attr(co,"class","icon-container svelte-cthb51"),toggle_class(co,"selected",to[0]===`ri-${to[32]}-line`)},m(Io,Ao){insert$1(Io,ue,Ao),append$2(ue,eo),append$2(eo,no),append$2(ue,oo),append$2(ue,io),append$2(io,ao),append$2(io,lo),insert$1(Io,uo,Ao),insert$1(Io,co,Ao),append$2(co,fo),append$2(fo,po),append$2(co,_o),append$2(co,ho),append$2(ho,bo),append$2(ho,vo),append$2(co,$o),wo||(ko=[listen(ue,"click",So),listen(co,"click",To)],wo=!0)},p(Io,Ao){to=Io,Ao[0]&128&&ro!==(ro=null_to_empty(`ri-${to[32]}-fill ri-xl`)+" svelte-cthb51")&&attr(no,"class",ro),Ao[0]&128&&so!==(so=to[32]+"")&&set_data(ao,so),Ao[0]&129&&toggle_class(ue,"selected",to[0]===`ri-${to[32]}-fill`),Ao[0]&128&&mo!==(mo=null_to_empty(`ri-${to[32]}-line ri-xl`)+" svelte-cthb51")&&attr(po,"class",mo),Ao[0]&128&&go!==(go=to[32]+"")&&set_data(bo,go),Ao[0]&129&&toggle_class(co,"selected",to[0]===`ri-${to[32]}-line`)},d(Io){Io&&(detach(ue),detach(uo),detach(co)),wo=!1,run_all(ko)}}}function create_default_slot$3o(to){let ue,eo,no,ro,oo,io,so,ao,lo,uo,co,fo,po,mo,_o,ho,go,bo,vo,$o,wo,ko,So=ensure_array_like(to[9]),To=[];for(let Po=0;Po<So.length;Po+=1)To[Po]=create_each_block_1$k(get_each_context_1$k(to,So,Po));function Io(Po){to[22](Po)}let Ao={thin:!0,placeholder:"Search icons"};to[1]!==void 0&&(Ao.value=to[1]),oo=new Input$5({props:Ao}),binding_callbacks.push(()=>bind$2(oo,"value",Io)),oo.$on("keyup",to[23]),ao=new Button({props:{secondary:!0,$$slots:{default:[create_default_slot_2$1Q]},$$scope:{ctx:to}}}),ao.$on("click",to[13]);let Eo=to[0]&&create_if_block_2$$(to);function Lo(Po,Mo){return Po[7].length>0?create_if_block$2I:create_else_block$16}let No=Lo(to),Do=No(to);return{c(){ue=element("div"),eo=element("div");for(let Po=0;Po<To.length;Po+=1)To[Po].c();no=space$1(),ro=element("div"),create_component(oo.$$.fragment),so=space$1(),create_component(ao.$$.fragment),lo=space$1(),Eo&&Eo.c(),uo=space$1(),co=element("div"),fo=element("div"),po=element("i"),mo=space$1(),_o=element("span"),ho=text(to[6]),go=space$1(),bo=element("i"),vo=space$1(),Do.c(),attr(eo,"class","alphabet-area svelte-cthb51"),attr(ro,"class","search-input svelte-cthb51"),attr(po,"class","page-btn ri-arrow-left-line ri-sm svelte-cthb51"),attr(bo,"class","page-btn ri-arrow-right-line ri-sm svelte-cthb51"),attr(fo,"class","pager svelte-cthb51"),attr(co,"class","page-area svelte-cthb51"),attr(ue,"class","container svelte-cthb51")},m(Po,Mo){insert$1(Po,ue,Mo),append$2(ue,eo);for(let Uo=0;Uo<To.length;Uo+=1)To[Uo]&&To[Uo].m(eo,null);append$2(ue,no),append$2(ue,ro),mount_component(oo,ro,null),append$2(ro,so),mount_component(ao,ro,null),append$2(ro,lo),Eo&&Eo.m(ro,null),append$2(ue,uo),append$2(ue,co),append$2(co,fo),append$2(fo,po),append$2(fo,mo),append$2(fo,_o),append$2(_o,ho),append$2(fo,go),append$2(fo,bo),append$2(ue,vo),Do.m(ue,null),$o=!0,wo||(ko=[listen(po,"click",to[25]),listen(bo,"click",to[26])],wo=!0)},p(Po,Mo){if(Mo[0]&1540){So=ensure_array_like(Po[9]);let Wo;for(Wo=0;Wo<So.length;Wo+=1){const Zo=get_each_context_1$k(Po,So,Wo);To[Wo]?To[Wo].p(Zo,Mo):(To[Wo]=create_each_block_1$k(Zo),To[Wo].c(),To[Wo].m(eo,null))}for(;Wo<To.length;Wo+=1)To[Wo].d(1);To.length=So.length}const Uo={};!io&&Mo[0]&2&&(io=!0,Uo.value=Po[1],add_flush_callback(()=>io=!1)),oo.$set(Uo);const Vo={};Mo[1]&128&&(Vo.$$scope={dirty:Mo,ctx:Po}),ao.$set(Vo),Po[0]?Eo?(Eo.p(Po,Mo),Mo[0]&1&&transition_in(Eo,1)):(Eo=create_if_block_2$$(Po),Eo.c(),transition_in(Eo,1),Eo.m(ro,null)):Eo&&(group_outros(),transition_out(Eo,1,1,()=>{Eo=null}),check_outros()),(!$o||Mo[0]&64)&&set_data(ho,Po[6]),No===(No=Lo(Po))&&Do?Do.p(Po,Mo):(Do.d(1),Do=No(Po),Do&&(Do.c(),Do.m(ue,null)))},i(Po){$o||(transition_in(oo.$$.fragment,Po),transition_in(ao.$$.fragment,Po),transition_in(Eo),$o=!0)},o(Po){transition_out(oo.$$.fragment,Po),transition_out(ao.$$.fragment,Po),transition_out(Eo),$o=!1},d(Po){Po&&detach(ue),destroy_each(To,Po),destroy_component(oo),destroy_component(ao),Eo&&Eo.d(),Do.d(),wo=!1,run_all(ko)}}}function create_fragment$5t(to){let ue,eo,no,ro,oo;eo=new ActionButton({props:{$$slots:{default:[create_default_slot_3$1u]},$$scope:{ctx:to}}}),eo.$on("click",function(){is_function(to[4].show)&&to[4].show.apply(this,arguments)});let io={anchor:to[3],resizable:!1,$$slots:{default:[create_default_slot$3o]},$$scope:{ctx:to}};return ro=new Popover({props:io}),to[29](ro),ro.$on("open",to[11]),{c(){ue=element("div"),create_component(eo.$$.fragment),no=space$1(),create_component(ro.$$.fragment)},m(so,ao){insert$1(so,ue,ao),mount_component(eo,ue,null),to[20](ue),insert$1(so,no,ao),mount_component(ro,so,ao),oo=!0},p(so,ao){to=so;const lo={};ao[0]&256|ao[1]&128&&(lo.$$scope={dirty:ao,ctx:to}),eo.$set(lo);const uo={};ao[0]&8&&(uo.anchor=to[3]),ao[0]&231|ao[1]&128&&(uo.$$scope={dirty:ao,ctx:to}),ro.$set(uo)},i(so){oo||(transition_in(eo.$$.fragment,so),transition_in(ro.$$.fragment,so),oo=!0)},o(so){transition_out(eo.$$.fragment,so),transition_out(ro.$$.fragment,so),oo=!1},d(so){so&&(detach(ue),detach(no)),destroy_component(eo),to[20](null),to[29](null),destroy_component(ro,so)}}}const icons=Object.keys(iconData).reduce((to,ue)=>[...to,...Object.keys(iconData[ue])],[]);function findIconByTerm(to){const ue=new RegExp(`^${to}`,"i");return icons.filter(eo=>ue.test(eo))}function instance$5u(to,ue,eo){let no,ro,oo,io,so;const ao=createEventDispatcher();let{value:lo=""}=ue,{maxIconsPerPage:uo=10}=ue,co="",fo="A",po=1,mo=findIconByTerm(fo);const _o=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];let ho,go,bo=!1;async function vo(Wo){eo(16,po=1),eo(1,co=""),eo(5,bo=!0),eo(2,fo=Wo),eo(17,mo=findIconByTerm(Wo)),await tick(),eo(5,bo=!1)}async function $o(){eo(5,bo=!0);const Wo=mo.findIndex(Zo=>Zo.value===lo);Wo!==-1&&eo(16,po=Math.ceil(Wo/uo)),await tick(),eo(5,bo=!1)}async function wo(){if(lo){const Wo=no.substring(0,1);await vo(Wo),await $o()}}async function ko(Wo){eo(5,bo=!0),Wo&&po<ro?eo(16,po++,po):!Wo&&po>1&&eo(16,po--,po),await tick(),eo(5,bo=!1)}async function So(){eo(16,po=1),eo(5,bo=!0),eo(17,mo=findIconByTerm(co)),await tick(),eo(5,bo=!1)}const To=Wo=>{eo(0,lo=Wo),ao("change",Wo)};function Io(Wo){binding_callbacks[Wo?"unshift":"push"](()=>{ho=Wo,eo(3,ho)})}const Ao=Wo=>vo(Wo);function Eo(Wo){co=Wo,eo(1,co)}const Lo=Wo=>{Wo.key==="Enter"&&So()},No=()=>To(null),Do=()=>ko(!1),Po=()=>ko(!0),Mo=Wo=>To(`ri-${Wo}-fill`),Uo=Wo=>To(`ri-${Wo}-line`);function Vo(Wo){binding_callbacks[Wo?"unshift":"push"](()=>{go=Wo,eo(4,go)})}return to.$$set=Wo=>{"value"in Wo&&eo(0,lo=Wo.value),"maxIconsPerPage"in Wo&&eo(15,uo=Wo.maxIconsPerPage)},to.$$.update=()=>{to.$$.dirty[0]&1&&eo(8,no=lo?lo.substring(3):"Pick icon"),to.$$.dirty[0]&163840&&eo(18,ro=Math.max(1,Math.ceil(mo.length/uo))),to.$$.dirty[0]&98304&&eo(19,oo=uo*po),to.$$.dirty[0]&688128&&eo(7,io=mo.slice(oo-uo,oo)),to.$$.dirty[0]&327680&&eo(6,so=`Page ${po} of ${ro}`)},[lo,co,fo,ho,go,bo,so,io,no,_o,vo,wo,ko,So,To,uo,po,mo,ro,oo,Io,Ao,Eo,Lo,No,Do,Po,Mo,Uo,Vo]}class IconSelect extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5u,create_fragment$5t,safe_not_equal,{value:0,maxIconsPerPage:15},null,[-1,-1])}}const Subject_svelte_svelte_type_style_lang="",get_heading_slot_changes$1=to=>({}),get_heading_slot_context$1=to=>({});function fallback_block$4(to){let ue;return{c(){ue=text(to[0])},m(eo,no){insert$1(eo,ue,no)},p(eo,no){no&1&&set_data(ue,eo[0])},d(eo){eo&&detach(ue)}}}function create_fragment$5s(to){let ue,eo,no,ro,oo,io,so;const ao=to[3].heading,lo=create_slot(ao,to,to[2],get_heading_slot_context$1),uo=lo||fallback_block$4(to),co=to[3].default,fo=create_slot(co,to,to[2],null);return{c(){ue=element("div"),eo=element("span"),uo&&uo.c(),no=space$1(),ro=element("div"),oo=space$1(),io=element("div"),fo&&fo.c(),attr(eo,"class","heading svelte-pw7k0m"),attr(ue,"class","heading svelte-pw7k0m"),attr(ro,"class","divider svelte-pw7k0m"),attr(io,"class","body svelte-pw7k0m")},m(po,mo){insert$1(po,ue,mo),append$2(ue,eo),uo&&uo.m(eo,null),insert$1(po,no,mo),insert$1(po,ro,mo),insert$1(po,oo,mo),insert$1(po,io,mo),fo&&fo.m(io,null),to[4](io),so=!0},p(po,[mo]){lo?lo.p&&(!so||mo&4)&&update_slot_base(lo,ao,po,po[2],so?get_slot_changes(ao,po[2],mo,get_heading_slot_changes$1):get_all_dirty_from_scope(po[2]),get_heading_slot_context$1):uo&&uo.p&&(!so||mo&1)&&uo.p(po,so?mo:-1),fo&&fo.p&&(!so||mo&4)&&update_slot_base(fo,co,po,po[2],so?get_slot_changes(co,po[2],mo,null):get_all_dirty_from_scope(po[2]),null)},i(po){so||(transition_in(uo,po),transition_in(fo,po),so=!0)},o(po){transition_out(uo,po),transition_out(fo,po),so=!1},d(po){po&&(detach(ue),detach(no),detach(ro),detach(oo),detach(io)),uo&&uo.d(po),fo&&fo.d(po),to[4](null)}}}function instance$5t(to,ue,eo){let{$$slots:no={},$$scope:ro}=ue,{heading:oo=""}=ue,io;const so=lo=>{io&&io.scrollTo({top:io.scrollTop+lo.deltaY,behavior:"smooth"})};onMount(()=>(window.addEventListener("wheel",so),()=>{window.removeEventListener("wheel",so)}));function ao(lo){binding_callbacks[lo?"unshift":"push"](()=>{io=lo,eo(1,io)})}return to.$$set=lo=>{"heading"in lo&&eo(0,oo=lo.heading),"$$scope"in lo&&eo(2,ro=lo.$$scope)},[oo,io,ro,no,ao]}class Subject extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5t,create_fragment$5s,safe_not_equal,{heading:0})}}const Property_svelte_svelte_type_style_lang="",get_name_slot_changes=to=>({}),get_name_slot_context=to=>({});function fallback_block_1$1(to){let ue;return{c(){ue=text(to[0])},m(eo,no){insert$1(eo,ue,no)},p(eo,no){no&1&&set_data(ue,eo[0])},d(eo){eo&&detach(ue)}}}function fallback_block$3(to){let ue;return{c(){ue=text(to[1])},m(eo,no){insert$1(eo,ue,no)},p(eo,no){no&2&&set_data(ue,eo[1])},d(eo){eo&&detach(ue)}}}function create_fragment$5r(to){let ue,eo,no,ro,oo,io,so;const ao=to[4].name,lo=create_slot(ao,to,to[3],get_name_slot_context),uo=lo||fallback_block_1$1(to),co=to[4].default,fo=create_slot(co,to,to[3],null),po=fo||fallback_block$3(to);return{c(){ue=element("div"),eo=element("span"),uo&&uo.c(),no=space$1(),ro=element("span"),ro.textContent="-",oo=space$1(),io=element("span"),po&&po.c(),attr(eo,"class","propertyName svelte-b5xl53"),attr(ro,"class","propertyDivider svelte-b5xl53"),attr(io,"class","propertyValue svelte-b5xl53"),attr(ue,"class","property svelte-b5xl53"),toggle_class(ue,"truncate",to[2])},m(mo,_o){insert$1(mo,ue,_o),append$2(ue,eo),uo&&uo.m(eo,null),append$2(ue,no),append$2(ue,ro),append$2(ue,oo),append$2(ue,io),po&&po.m(io,null),so=!0},p(mo,[_o]){lo?lo.p&&(!so||_o&8)&&update_slot_base(lo,ao,mo,mo[3],so?get_slot_changes(ao,mo[3],_o,get_name_slot_changes):get_all_dirty_from_scope(mo[3]),get_name_slot_context):uo&&uo.p&&(!so||_o&1)&&uo.p(mo,so?_o:-1),fo?fo.p&&(!so||_o&8)&&update_slot_base(fo,co,mo,mo[3],so?get_slot_changes(co,mo[3],_o,null):get_all_dirty_from_scope(mo[3]),null):po&&po.p&&(!so||_o&2)&&po.p(mo,so?_o:-1),(!so||_o&4)&&toggle_class(ue,"truncate",mo[2])},i(mo){so||(transition_in(uo,mo),transition_in(po,mo),so=!0)},o(mo){transition_out(uo,mo),transition_out(po,mo),so=!1},d(mo){mo&&detach(ue),uo&&uo.d(mo),po&&po.d(mo)}}}function instance$5s(to,ue,eo){let{$$slots:no={},$$scope:ro}=ue,{name:oo}=ue,{value:io}=ue,{truncate:so=!1}=ue;return to.$$set=ao=>{"name"in ao&&eo(0,oo=ao.name),"value"in ao&&eo(1,io=ao.value),"truncate"in ao&&eo(2,so=ao.truncate),"$$scope"in ao&&eo(3,ro=ao.$$scope)},[oo,io,so,ro,no]}class Property extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5s,create_fragment$5r,safe_not_equal,{name:0,value:1,truncate:2})}}const JSONValue_svelte_svelte_type_style_lang="";function create_fragment$5q(to){let ue,eo,no,ro;return{c(){ue=element("pre"),eo=text(" "),no=text(to[0]),ro=text(`
1043
1043
  `),attr(ue,"class","pre svelte-1sp1r75")},m(oo,io){insert$1(oo,ue,io),append$2(ue,eo),append$2(ue,no),append$2(ue,ro)},p(oo,[io]){io&1&&set_data(no,oo[0])},i:noop$5,o:noop$5,d(oo){oo&&detach(ue)}}}function instance$5r(to,ue,eo){let{value:no}=ue;return to.$$set=ro=>{"value"in ro&&eo(0,no=ro.value)},[no]}class JSONValue extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5r,create_fragment$5q,safe_not_equal,{value:0})}}const BindingValue_svelte_svelte_type_style_lang="";function create_fragment$5p(to){let ue,eo,no;return eo=new CodeEditor({props:{readonly:!0,readonlyLineNumbers:!0,value:to[0]?decodeJSBinding(to[1]):to[1],jsBindingWrapping:to[0],mode:to[0]?EditorModes$1.JS:EditorModes$1.Handlebars}}),{c(){ue=element("div"),create_component(eo.$$.fragment),attr(ue,"class","editor svelte-1qezt58")},m(ro,oo){insert$1(ro,ue,oo),mount_component(eo,ue,null),no=!0},p(ro,[oo]){const io={};oo&3&&(io.value=ro[0]?decodeJSBinding(ro[1]):ro[1]),oo&1&&(io.jsBindingWrapping=ro[0]),oo&1&&(io.mode=ro[0]?EditorModes$1.JS:EditorModes$1.Handlebars),eo.$set(io)},i(ro){no||(transition_in(eo.$$.fragment,ro),no=!0)},o(ro){transition_out(eo.$$.fragment,ro),no=!1},d(ro){ro&&detach(ue),destroy_component(eo)}}}function instance$5q(to,ue,eo){let no,ro,oo,io,so,ao,lo,uo,co;component_subscribe(to,tables,po=>eo(7,lo=po)),component_subscribe(to,selectedComponent,po=>eo(8,uo=po)),component_subscribe(to,selectedScreen,po=>eo(9,co=po));let{value:fo}=ue;return to.$$set=po=>{"value"in po&&eo(2,fo=po.value)},to.$$.update=()=>{var po,mo;to.$$.dirty&768&&eo(6,no=getDatasourceForProvider(co,uo)),to.$$.dirty&64&&eo(5,ro=no.tableId),to.$$.dirty&160&&eo(4,oo=(po=lo==null?void 0:lo.list)==null?void 0:po.find(_o=>_o._id===ro)),to.$$.dirty&16&&eo(3,io=getBindings({table:oo})),to.$$.dirty&12&&eo(1,so=runtimeToReadableBinding(io,fo)),to.$$.dirty&4&&eo(0,ao=(mo=fo==null?void 0:fo.startsWith)==null?void 0:mo.call(fo,"{{ js "))},[ao,so,fo,io,oo,ro,no,lo,uo,co]}class BindingValue extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5q,create_fragment$5p,safe_not_equal,{value:2})}}const Section_svelte_svelte_type_style_lang="";function create_fragment$5o(to){let ue,eo;const no=to[1].default,ro=create_slot(no,to,to[0],null);return{c(){ue=element("div"),ro&&ro.c(),attr(ue,"class","section svelte-1xlc6ej")},m(oo,io){insert$1(oo,ue,io),ro&&ro.m(ue,null),eo=!0},p(oo,[io]){ro&&ro.p&&(!eo||io&1)&&update_slot_base(ro,no,oo,oo[0],eo?get_slot_changes(no,oo[0],io,null):get_all_dirty_from_scope(oo[0]),null)},i(oo){eo||(transition_in(ro,oo),eo=!0)},o(oo){transition_out(ro,oo),eo=!1},d(oo){oo&&detach(ue),ro&&ro.d(oo)}}}function instance$5p(to,ue,eo){let{$$slots:no={},$$scope:ro}=ue;return to.$$set=oo=>{"$$scope"in oo&&eo(0,ro=oo.$$scope)},[ro,no]}class Section extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5p,create_fragment$5o,safe_not_equal,{})}}const Block_svelte_svelte_type_style_lang="";function create_fragment$5n(to){let ue,eo;const no=to[3].default,ro=create_slot(no,to,to[2],null);return{c(){ue=element("span"),ro&&ro.c(),attr(ue,"class","block svelte-1ggjq9g"),toggle_class(ue,"truncate",to[0]),toggle_class(ue,"noShrink",to[1])},m(oo,io){insert$1(oo,ue,io),ro&&ro.m(ue,null),eo=!0},p(oo,[io]){ro&&ro.p&&(!eo||io&4)&&update_slot_base(ro,no,oo,oo[2],eo?get_slot_changes(no,oo[2],io,null):get_all_dirty_from_scope(oo[2]),null),(!eo||io&1)&&toggle_class(ue,"truncate",oo[0]),(!eo||io&2)&&toggle_class(ue,"noShrink",oo[1])},i(oo){eo||(transition_in(ro,oo),eo=!0)},o(oo){transition_out(ro,oo),eo=!1},d(oo){oo&&detach(ue),ro&&ro.d(oo)}}}function instance$5o(to,ue,eo){let{$$slots:no={},$$scope:ro}=ue,{truncate:oo=!1}=ue,{noShrink:io=!1}=ue;return to.$$set=so=>{"truncate"in so&&eo(0,oo=so.truncate),"noShrink"in so&&eo(1,io=so.noShrink),"$$scope"in so&&eo(2,ro=so.$$scope)},[oo,io,ro,no]}class Block extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5o,create_fragment$5n,safe_not_equal,{truncate:0,noShrink:1})}}const ExampleSection_svelte_svelte_type_style_lang="",get_heading_slot_changes=to=>({}),get_heading_slot_context=to=>({});function fallback_block$2(to){let ue;return{c(){ue=text(to[0])},m(eo,no){insert$1(eo,ue,no)},p(eo,no){no&1&&set_data(ue,eo[0])},d(eo){eo&&detach(ue)}}}function create_default_slot$3n(to){let ue,eo,no,ro;const oo=to[1].heading,io=create_slot(oo,to,to[2],get_heading_slot_context),so=io||fallback_block$2(to),ao=to[1].default,lo=create_slot(ao,to,to[2],null);return{c(){ue=element("span"),so&&so.c(),eo=space$1(),no=element("ul"),lo&&lo.c(),attr(ue,"class","exampleSectionHeading svelte-1w9f3kt"),attr(no,"class","svelte-1w9f3kt")},m(uo,co){insert$1(uo,ue,co),so&&so.m(ue,null),insert$1(uo,eo,co),insert$1(uo,no,co),lo&&lo.m(no,null),ro=!0},p(uo,co){io?io.p&&(!ro||co&4)&&update_slot_base(io,oo,uo,uo[2],ro?get_slot_changes(oo,uo[2],co,get_heading_slot_changes):get_all_dirty_from_scope(uo[2]),get_heading_slot_context):so&&so.p&&(!ro||co&1)&&so.p(uo,ro?co:-1),lo&&lo.p&&(!ro||co&4)&&update_slot_base(lo,ao,uo,uo[2],ro?get_slot_changes(ao,uo[2],co,null):get_all_dirty_from_scope(uo[2]),null)},i(uo){ro||(transition_in(so,uo),transition_in(lo,uo),ro=!0)},o(uo){transition_out(so,uo),transition_out(lo,uo),ro=!1},d(uo){uo&&(detach(ue),detach(eo),detach(no)),so&&so.d(uo),lo&&lo.d(uo)}}}function create_fragment$5m(to){let ue,eo;return ue=new Section({props:{$$slots:{default:[create_default_slot$3n]},$$scope:{ctx:to}}}),{c(){create_component(ue.$$.fragment)},m(no,ro){mount_component(ue,no,ro),eo=!0},p(no,[ro]){const oo={};ro&5&&(oo.$$scope={dirty:ro,ctx:no}),ue.$set(oo)},i(no){eo||(transition_in(ue.$$.fragment,no),eo=!0)},o(no){transition_out(ue.$$.fragment,no),eo=!1},d(no){destroy_component(ue,no)}}}function instance$5n(to,ue,eo){let{$$slots:no={},$$scope:ro}=ue,{heading:oo}=ue;return to.$$set=io=>{"heading"in io&&eo(0,oo=io.heading),"$$scope"in io&&eo(2,ro=io.$$scope)},[oo,no,ro]}class ExampleSection extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5n,create_fragment$5m,safe_not_equal,{heading:0})}}const ExampleLine_svelte_svelte_type_style_lang="";function create_fragment$5l(to){let ue,eo,no;const ro=to[1].default,oo=create_slot(ro,to,to[0],null);return{c(){ue=element("li"),eo=element("div"),oo&&oo.c(),attr(eo,"class","exampleLine svelte-mxe9j0")},m(io,so){insert$1(io,ue,so),append$2(ue,eo),oo&&oo.m(eo,null),no=!0},p(io,[so]){oo&&oo.p&&(!no||so&1)&&update_slot_base(oo,ro,io,io[0],no?get_slot_changes(ro,io[0],so,null):get_all_dirty_from_scope(io[0]),null)},i(io){no||(transition_in(oo,io),no=!0)},o(io){transition_out(oo,io),no=!1},d(io){io&&detach(ue),oo&&oo.d(io)}}}function instance$5m(to,ue,eo){let{$$slots:no={},$$scope:ro}=ue;return to.$$set=oo=>{"$$scope"in oo&&eo(0,ro=oo.$$scope)},[ro,no]}class ExampleLine extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5m,create_fragment$5l,safe_not_equal,{})}}const Column_svelte_svelte_type_style_lang="";function get_each_context_1$j(to,ue,eo){const no=to.slice();return no[5]=ue[eo],no[7]=eo,no}function get_each_context$16(to,ue,eo){const no=to.slice();return no[5]=ue[eo],no[7]=eo,no}function create_if_block_8$7(to){var no;let ue,eo;return ue=new Property({props:{name:"Allow multiple users",value:((no=to[0])==null?void 0:no.relationshipType)==="many-to-many"?"Yes":"No"}}),{c(){create_component(ue.$$.fragment)},m(ro,oo){mount_component(ue,ro,oo),eo=!0},p(ro,oo){var so;const io={};oo&1&&(io.value=((so=ro[0])==null?void 0:so.relationshipType)==="many-to-many"?"Yes":"No"),ue.$set(io)},i(ro){eo||(transition_in(ue.$$.fragment,ro),eo=!0)},o(ro){transition_out(ue.$$.fragment,ro),eo=!1},d(ro){destroy_component(ue,ro)}}}function create_if_block_7$a(to){var so,ao,lo,uo,co;let ue,eo,no,ro,oo,io;return ue=new Property({props:{name:"Type",value:(so=to[0])==null?void 0:so.relationshipType}}),no=new Property({props:{name:"Related Table",value:(uo=(lo=(ao=to[2])==null?void 0:ao.list)==null?void 0:lo.find(to[4]))==null?void 0:uo.name}}),oo=new Property({props:{name:"Column in Related Table",value:(co=to[0])==null?void 0:co.fieldName}}),{c(){create_component(ue.$$.fragment),eo=space$1(),create_component(no.$$.fragment),ro=space$1(),create_component(oo.$$.fragment)},m(fo,po){mount_component(ue,fo,po),insert$1(fo,eo,po),mount_component(no,fo,po),insert$1(fo,ro,po),mount_component(oo,fo,po),io=!0},p(fo,po){var go,bo,vo,$o,wo;const mo={};po&1&&(mo.value=(go=fo[0])==null?void 0:go.relationshipType),ue.$set(mo);const _o={};po&5&&(_o.value=($o=(vo=(bo=fo[2])==null?void 0:bo.list)==null?void 0:vo.find(fo[4]))==null?void 0:$o.name),no.$set(_o);const ho={};po&1&&(ho.value=(wo=fo[0])==null?void 0:wo.fieldName),oo.$set(ho)},i(fo){io||(transition_in(ue.$$.fragment,fo),transition_in(no.$$.fragment,fo),transition_in(oo.$$.fragment,fo),io=!0)},o(fo){transition_out(ue.$$.fragment,fo),transition_out(no.$$.fragment,fo),transition_out(oo.$$.fragment,fo),io=!1},d(fo){fo&&(detach(eo),detach(ro)),destroy_component(ue,fo),destroy_component(no,fo),destroy_component(oo,fo)}}}function create_if_block_6$d(to){var oo;let ue,eo,no,ro;return ue=new Property({props:{name:"Formula",$$slots:{default:[create_default_slot_6$R]},$$scope:{ctx:to}}}),no=new Property({props:{name:"Formula type",value:((oo=to[0])==null?void 0:oo.formulaType)==="dynamic"?"Dynamic":"Static"}}),{c(){create_component(ue.$$.fragment),eo=space$1(),create_component(no.$$.fragment)},m(io,so){mount_component(ue,io,so),insert$1(io,eo,so),mount_component(no,io,so),ro=!0},p(io,so){var uo;const ao={};so&513&&(ao.$$scope={dirty:so,ctx:io}),ue.$set(ao);const lo={};so&1&&(lo.value=((uo=io[0])==null?void 0:uo.formulaType)==="dynamic"?"Dynamic":"Static"),no.$set(lo)},i(io){ro||(transition_in(ue.$$.fragment,io),transition_in(no.$$.fragment,io),ro=!0)},o(io){transition_out(ue.$$.fragment,io),transition_out(no.$$.fragment,io),ro=!1},d(io){io&&detach(eo),destroy_component(ue,io),destroy_component(no,io)}}}function create_if_block_5$l(to){let ue,eo;return ue=new Property({props:{name:"Schema",$$slots:{default:[create_default_slot_5$Z]},$$scope:{ctx:to}}}),{c(){create_component(ue.$$.fragment)},m(no,ro){mount_component(ue,no,ro),eo=!0},p(no,ro){const oo={};ro&513&&(oo.$$scope={dirty:ro,ctx:no}),ue.$set(oo)},i(no){eo||(transition_in(ue.$$.fragment,no),eo=!0)},o(no){transition_out(ue.$$.fragment,no),eo=!1},d(no){destroy_component(ue,no)}}}function create_if_block_4$t(to){var io,so;let ue,eo,no=ensure_array_like(((so=(io=to[0])==null?void 0:io.constraints)==null?void 0:so.inclusion)??[]),ro=[];for(let ao=0;ao<no.length;ao+=1)ro[ao]=create_each_block_1$j(get_each_context_1$j(to,no,ao));const oo=ao=>transition_out(ro[ao],1,1,()=>{ro[ao]=null});return{c(){for(let ao=0;ao<ro.length;ao+=1)ro[ao].c();ue=empty$4()},m(ao,lo){for(let uo=0;uo<ro.length;uo+=1)ro[uo]&&ro[uo].m(ao,lo);insert$1(ao,ue,lo),eo=!0},p(ao,lo){var uo,co;if(lo&1){no=ensure_array_like(((co=(uo=ao[0])==null?void 0:uo.constraints)==null?void 0:co.inclusion)??[]);let fo;for(fo=0;fo<no.length;fo+=1){const po=get_each_context_1$j(ao,no,fo);ro[fo]?(ro[fo].p(po,lo),transition_in(ro[fo],1)):(ro[fo]=create_each_block_1$j(po),ro[fo].c(),transition_in(ro[fo],1),ro[fo].m(ue.parentNode,ue))}for(group_outros(),fo=no.length;fo<ro.length;fo+=1)oo(fo);check_outros()}},i(ao){if(!eo){for(let lo=0;lo<no.length;lo+=1)transition_in(ro[lo]);eo=!0}},o(ao){ro=ro.filter(Boolean);for(let lo=0;lo<ro.length;lo+=1)transition_out(ro[lo]);eo=!1},d(ao){ao&&detach(ue),destroy_each(ro,ao)}}}function create_if_block_3$I(to){var io,so;let ue,eo,no=ensure_array_like(((so=(io=to[0])==null?void 0:io.constraints)==null?void 0:so.inclusion)??[]),ro=[];for(let ao=0;ao<no.length;ao+=1)ro[ao]=create_each_block$16(get_each_context$16(to,no,ao));const oo=ao=>transition_out(ro[ao],1,1,()=>{ro[ao]=null});return{c(){for(let ao=0;ao<ro.length;ao+=1)ro[ao].c();ue=empty$4()},m(ao,lo){for(let uo=0;uo<ro.length;uo+=1)ro[uo]&&ro[uo].m(ao,lo);insert$1(ao,ue,lo),eo=!0},p(ao,lo){var uo,co;if(lo&1){no=ensure_array_like(((co=(uo=ao[0])==null?void 0:uo.constraints)==null?void 0:co.inclusion)??[]);let fo;for(fo=0;fo<no.length;fo+=1){const po=get_each_context$16(ao,no,fo);ro[fo]?(ro[fo].p(po,lo),transition_in(ro[fo],1)):(ro[fo]=create_each_block$16(po),ro[fo].c(),transition_in(ro[fo],1),ro[fo].m(ue.parentNode,ue))}for(group_outros(),fo=no.length;fo<ro.length;fo+=1)oo(fo);check_outros()}},i(ao){if(!eo){for(let lo=0;lo<no.length;lo+=1)transition_in(ro[lo]);eo=!0}},o(ao){ro=ro.filter(Boolean);for(let lo=0;lo<ro.length;lo+=1)transition_out(ro[lo]);eo=!1},d(ao){ao&&detach(ue),destroy_each(ro,ao)}}}function create_if_block_2$_(to){var oo,io,so,ao,lo,uo,co,fo,po,mo,_o,ho;let ue,eo,no,ro;return ue=new Property({props:{name:"Min Value",value:[null,void 0,""].includes((so=(io=(oo=to[0])==null?void 0:oo.constraints)==null?void 0:io.numericality)==null?void 0:so.greaterThanOrEqualTo)?"None":(uo=(lo=(ao=to[0])==null?void 0:ao.constraints)==null?void 0:lo.numericality)==null?void 0:uo.greaterThanOrEqualTo}}),no=new Property({props:{name:"Max Value",value:[null,void 0,""].includes((po=(fo=(co=to[0])==null?void 0:co.constraints)==null?void 0:fo.numericality)==null?void 0:po.lessThanOrEqualTo)?"None":(ho=(_o=(mo=to[0])==null?void 0:mo.constraints)==null?void 0:_o.numericality)==null?void 0:ho.lessThanOrEqualTo}}),{c(){create_component(ue.$$.fragment),eo=space$1(),create_component(no.$$.fragment)},m(go,bo){mount_component(ue,go,bo),insert$1(go,eo,bo),mount_component(no,go,bo),ro=!0},p(go,bo){var wo,ko,So,To,Io,Ao,Eo,Lo,No,Do,Po,Mo;const vo={};bo&1&&(vo.value=[null,void 0,""].includes((So=(ko=(wo=go[0])==null?void 0:wo.constraints)==null?void 0:ko.numericality)==null?void 0:So.greaterThanOrEqualTo)?"None":(Ao=(Io=(To=go[0])==null?void 0:To.constraints)==null?void 0:Io.numericality)==null?void 0:Ao.greaterThanOrEqualTo),ue.$set(vo);const $o={};bo&1&&($o.value=[null,void 0,""].includes((No=(Lo=(Eo=go[0])==null?void 0:Eo.constraints)==null?void 0:Lo.numericality)==null?void 0:No.lessThanOrEqualTo)?"None":(Mo=(Po=(Do=go[0])==null?void 0:Do.constraints)==null?void 0:Po.numericality)==null?void 0:Mo.lessThanOrEqualTo),no.$set($o)},i(go){ro||(transition_in(ue.$$.fragment,go),transition_in(no.$$.fragment,go),ro=!0)},o(go){transition_out(ue.$$.fragment,go),transition_out(no.$$.fragment,go),ro=!1},d(go){go&&detach(eo),destroy_component(ue,go),destroy_component(no,go)}}}function create_if_block_1$1u(to){var lo,uo,co,fo,po,mo,_o,ho;let ue,eo,no,ro,oo,io,so,ao;return ue=new Property({props:{name:"Earliest",value:to[3]((co=(uo=(lo=to[0])==null?void 0:lo.constraints)==null?void 0:uo.datetime)==null?void 0:co.earliest)}}),no=new Property({props:{name:"Latest",value:to[3]((mo=(po=(fo=to[0])==null?void 0:fo.constraints)==null?void 0:po.datetime)==null?void 0:mo.latest)}}),oo=new Property({props:{name:"Ignore time zones",value:((_o=to[0])==null?void 0:_o.ignoreTimeZones)===!0?"Yes":"No"}}),so=new Property({props:{name:"Date only",value:((ho=to[0])==null?void 0:ho.dateOnly)===!0?"Yes":"No"}}),{c(){create_component(ue.$$.fragment),eo=space$1(),create_component(no.$$.fragment),ro=space$1(),create_component(oo.$$.fragment),io=space$1(),create_component(so.$$.fragment)},m(go,bo){mount_component(ue,go,bo),insert$1(go,eo,bo),mount_component(no,go,bo),insert$1(go,ro,bo),mount_component(oo,go,bo),insert$1(go,io,bo),mount_component(so,go,bo),ao=!0},p(go,bo){var So,To,Io,Ao,Eo,Lo,No,Do;const vo={};bo&1&&(vo.value=go[3]((Io=(To=(So=go[0])==null?void 0:So.constraints)==null?void 0:To.datetime)==null?void 0:Io.earliest)),ue.$set(vo);const $o={};bo&1&&($o.value=go[3]((Lo=(Eo=(Ao=go[0])==null?void 0:Ao.constraints)==null?void 0:Eo.datetime)==null?void 0:Lo.latest)),no.$set($o);const wo={};bo&1&&(wo.value=((No=go[0])==null?void 0:No.ignoreTimeZones)===!0?"Yes":"No"),oo.$set(wo);const ko={};bo&1&&(ko.value=((Do=go[0])==null?void 0:Do.dateOnly)===!0?"Yes":"No"),so.$set(ko)},i(go){ao||(transition_in(ue.$$.fragment,go),transition_in(no.$$.fragment,go),transition_in(oo.$$.fragment,go),transition_in(so.$$.fragment,go),ao=!0)},o(go){transition_out(ue.$$.fragment,go),transition_out(no.$$.fragment,go),transition_out(oo.$$.fragment,go),transition_out(so.$$.fragment,go),ao=!1},d(go){go&&(detach(eo),detach(ro),detach(io)),destroy_component(ue,go),destroy_component(no,go),destroy_component(oo,go),destroy_component(so,go)}}}function create_if_block$2H(to){var no,ro,oo;let ue,eo;return ue=new Property({props:{name:"Max Length",value:((oo=(ro=(no=to[0])==null?void 0:no.constraints)==null?void 0:ro.length)==null?void 0:oo.maximum)??"None"}}),{c(){create_component(ue.$$.fragment)},m(io,so){mount_component(ue,io,so),eo=!0},p(io,so){var lo,uo,co;const ao={};so&1&&(ao.value=((co=(uo=(lo=io[0])==null?void 0:lo.constraints)==null?void 0:uo.length)==null?void 0:co.maximum)??"None"),ue.$set(ao)},i(io){eo||(transition_in(ue.$$.fragment,io),eo=!0)},o(io){transition_out(ue.$$.fragment,io),eo=!1},d(io){destroy_component(ue,io)}}}function create_default_slot_6$R(to){var no;let ue,eo;return ue=new BindingValue({props:{value:(no=to[0])==null?void 0:no.formula}}),{c(){create_component(ue.$$.fragment)},m(ro,oo){mount_component(ue,ro,oo),eo=!0},p(ro,oo){var so;const io={};oo&1&&(io.value=(so=ro[0])==null?void 0:so.formula),ue.$set(io)},i(ro){eo||(transition_in(ue.$$.fragment,ro),eo=!0)},o(ro){transition_out(ue.$$.fragment,ro),eo=!1},d(ro){destroy_component(ue,ro)}}}function create_default_slot_5$Z(to){var no;let ue,eo;return ue=new JSONValue({props:{value:JSON.stringify(((no=to[0])==null?void 0:no.schema)??{},null,2)}}),{c(){create_component(ue.$$.fragment)},m(ro,oo){mount_component(ue,ro,oo),eo=!0},p(ro,oo){var so;const io={};oo&1&&(io.value=JSON.stringify(((so=ro[0])==null?void 0:so.schema)??{},null,2)),ue.$set(io)},i(ro){eo||(transition_in(ue.$$.fragment,ro),eo=!0)},o(ro){transition_out(ue.$$.fragment,ro),eo=!1},d(ro){destroy_component(ue,ro)}}}function create_default_slot_4$18(to){let ue,eo=to[5]+"",no,ro;return{c(){var oo,io;ue=element("span"),no=text(eo),ro=space$1(),attr(ue,"class","optionCircle svelte-1dhtekj"),set_style(ue,"background-color",(io=(oo=to[0])==null?void 0:oo.optionColors)==null?void 0:io[to[5]])},m(oo,io){insert$1(oo,ue,io),insert$1(oo,no,io),insert$1(oo,ro,io)},p(oo,io){var so,ao;io&1&&set_style(ue,"background-color",(ao=(so=oo[0])==null?void 0:so.optionColors)==null?void 0:ao[oo[5]]),io&1&&eo!==(eo=oo[5]+"")&&set_data(no,eo)},d(oo){oo&&(detach(ue),detach(no),detach(ro))}}}function create_each_block_1$j(to){let ue,eo;return ue=new Property({props:{name:`Option ${to[7]+1}`,truncate:!0,$$slots:{default:[create_default_slot_4$18]},$$scope:{ctx:to}}}),{c(){create_component(ue.$$.fragment)},m(no,ro){mount_component(ue,no,ro),eo=!0},p(no,ro){const oo={};ro&513&&(oo.$$scope={dirty:ro,ctx:no}),ue.$set(oo)},i(no){eo||(transition_in(ue.$$.fragment,no),eo=!0)},o(no){transition_out(ue.$$.fragment,no),eo=!1},d(no){destroy_component(ue,no)}}}function create_default_slot_3$1t(to){let ue,eo=to[5]+"",no,ro;return{c(){var oo,io;ue=element("span"),no=text(eo),ro=space$1(),attr(ue,"class","optionCircle svelte-1dhtekj"),set_style(ue,"background-color",(io=(oo=to[0])==null?void 0:oo.optionColors)==null?void 0:io[to[5]])},m(oo,io){insert$1(oo,ue,io),insert$1(oo,no,io),insert$1(oo,ro,io)},p(oo,io){var so,ao;io&1&&set_style(ue,"background-color",(ao=(so=oo[0])==null?void 0:so.optionColors)==null?void 0:ao[oo[5]]),io&1&&eo!==(eo=oo[5]+"")&&set_data(no,eo)},d(oo){oo&&(detach(ue),detach(no),detach(ro))}}}function create_each_block$16(to){let ue,eo;return ue=new Property({props:{name:`Option ${to[7]+1}`,truncate:!0,$$slots:{default:[create_default_slot_3$1t]},$$scope:{ctx:to}}}),{c(){create_component(ue.$$.fragment)},m(no,ro){mount_component(ue,no,ro),eo=!0},p(no,ro){const oo={};ro&513&&(oo.$$scope={dirty:ro,ctx:no}),ue.$set(oo)},i(no){eo||(transition_in(ue.$$.fragment,no),eo=!0)},o(no){transition_out(ue.$$.fragment,no),eo=!1},d(no){destroy_component(ue,no)}}}function create_default_slot_2$1P(to){var lo,uo,co;let ue,eo,no,ro,oo;const io=[create_if_block$2H,create_if_block_1$1u,create_if_block_2$_,create_if_block_3$I,create_if_block_4$t,create_if_block_5$l,create_if_block_6$d,create_if_block_7$a,create_if_block_8$7],so=[];function ao(fo,po){return fo[0].type==="string"?0:fo[0].type==="datetime"?1:fo[0].type==="number"?2:fo[0].type==="array"?3:fo[0].type==="options"?4:fo[0].type==="json"?5:fo[0].type==="formula"?6:fo[0].type==="link"?7:fo[0].type==="bb_reference"?8:-1}return~(ue=ao(to))&&(eo=so[ue]=io[ue](to)),ro=new Property({props:{name:"Required",value:((co=(uo=(lo=to[0])==null?void 0:lo.constraints)==null?void 0:uo.presence)==null?void 0:co.allowEmpty)===!1?"Yes":"No"}}),{c(){eo&&eo.c(),no=space$1(),create_component(ro.$$.fragment)},m(fo,po){~ue&&so[ue].m(fo,po),insert$1(fo,no,po),mount_component(ro,fo,po),oo=!0},p(fo,po){var ho,go,bo;let mo=ue;ue=ao(fo),ue===mo?~ue&&so[ue].p(fo,po):(eo&&(group_outros(),transition_out(so[mo],1,1,()=>{so[mo]=null}),check_outros()),~ue?(eo=so[ue],eo?eo.p(fo,po):(eo=so[ue]=io[ue](fo),eo.c()),transition_in(eo,1),eo.m(no.parentNode,no)):eo=null);const _o={};po&1&&(_o.value=((bo=(go=(ho=fo[0])==null?void 0:ho.constraints)==null?void 0:go.presence)==null?void 0:bo.allowEmpty)===!1?"Yes":"No"),ro.$set(_o)},i(fo){oo||(transition_in(eo),transition_in(ro.$$.fragment,fo),oo=!0)},o(fo){transition_out(eo),transition_out(ro.$$.fragment,fo),oo=!1},d(fo){fo&&detach(no),~ue&&so[ue].d(fo),destroy_component(ro,fo)}}}function create_default_slot_1$2r(to){let ue,eo;return ue=new Section({props:{$$slots:{default:[create_default_slot_2$1P]},$$scope:{ctx:to}}}),{c(){create_component(ue.$$.fragment)},m(no,ro){mount_component(ue,no,ro),eo=!0},p(no,ro){const oo={};ro&517&&(oo.$$scope={dirty:ro,ctx:no}),ue.$set(oo)},i(no){eo||(transition_in(ue.$$.fragment,no),eo=!0)},o(no){transition_out(ue.$$.fragment,no),eo=!1},d(no){destroy_component(ue,no)}}}function create_default_slot$3m(to){let ue;return{c(){ue=text(to[1])},m(eo,no){insert$1(eo,ue,no)},p(eo,no){no&2&&set_data(ue,eo[1])},d(eo){eo&&detach(ue)}}}function create_heading_slot(to){let ue,eo,no,ro;return no=new Block({props:{$$slots:{default:[create_default_slot$3m]},$$scope:{ctx:to}}}),{c(){ue=element("div"),eo=text("Column Overview for "),create_component(no.$$.fragment),attr(ue,"class","heading svelte-1dhtekj"),attr(ue,"slot","heading")},m(oo,io){insert$1(oo,ue,io),append$2(ue,eo),mount_component(no,ue,null),ro=!0},p(oo,io){const so={};io&514&&(so.$$scope={dirty:io,ctx:oo}),no.$set(so)},i(oo){ro||(transition_in(no.$$.fragment,oo),ro=!0)},o(oo){transition_out(no.$$.fragment,oo),ro=!1},d(oo){oo&&detach(ue),destroy_component(no)}}}function create_fragment$5k(to){let ue,eo;return ue=new Subject({props:{$$slots:{heading:[create_heading_slot],default:[create_default_slot_1$2r]},$$scope:{ctx:to}}}),{c(){create_component(ue.$$.fragment)},m(no,ro){mount_component(ue,no,ro),eo=!0},p(no,[ro]){const oo={};ro&519&&(oo.$$scope={dirty:ro,ctx:no}),ue.$set(oo)},i(no){eo||(transition_in(ue.$$.fragment,no),eo=!0)},o(no){transition_out(ue.$$.fragment,no),eo=!1},d(no){destroy_component(ue,no)}}}function instance$5l(to,ue,eo){let no;component_subscribe(to,tables,ao=>eo(2,no=ao));let{schema:ro}=ue,{columnName:oo}=ue;const io=ao=>{if([null,void 0,""].includes(ao))return"None";const lo=Date.parse(ao);return new Date(lo).toLocaleString()},so=ao=>ao._id===(ro==null?void 0:ro.tableId);return to.$$set=ao=>{"schema"in ao&&eo(0,ro=ao.schema),"columnName"in ao&&eo(1,oo=ao.columnName)},[ro,oo,no,io,so]}let Column$1=class extends SvelteComponent{constructor(ue){super(),init$3(this,ue,instance$5l,create_fragment$5k,safe_not_equal,{schema:0,columnName:1})}};function create_default_slot_2$1O(to){let ue;return{c(){ue=text("required")},m(eo,no){insert$1(eo,ue,no)},d(eo){eo&&detach(ue)}}}function create_default_slot_1$2q(to){let ue,eo,no,ro;return eo=new Block({props:{$$slots:{default:[create_default_slot_2$1O]},$$scope:{ctx:to}}}),{c(){ue=text("A "),create_component(eo.$$.fragment),no=text(` constraint can be applied to columns to ensure a value
1044
1044
  is always present. If a column doesn't have this constraint, then its value for
1045
1045
  a particular row could he missing.`)},m(oo,io){insert$1(oo,ue,io),mount_component(eo,oo,io),insert$1(oo,no,io),ro=!0},p(oo,io){const so={};io&1&&(so.$$scope={dirty:io,ctx:oo}),eo.$set(so)},i(oo){ro||(transition_in(eo.$$.fragment,oo),ro=!0)},o(oo){transition_out(eo.$$.fragment,oo),ro=!1},d(oo){oo&&(detach(ue),detach(no)),destroy_component(eo,oo)}}}function create_default_slot$3l(to){let ue,eo;return ue=new Section({props:{$$slots:{default:[create_default_slot_1$2q]},$$scope:{ctx:to}}}),{c(){create_component(ue.$$.fragment)},m(no,ro){mount_component(ue,no,ro),eo=!0},p(no,ro){const oo={};ro&1&&(oo.$$scope={dirty:ro,ctx:no}),ue.$set(oo)},i(no){eo||(transition_in(ue.$$.fragment,no),eo=!0)},o(no){transition_out(ue.$$.fragment,no),eo=!1},d(no){destroy_component(ue,no)}}}function create_fragment$5j(to){let ue,eo;return ue=new Subject({props:{heading:"Required Constraint",$$slots:{default:[create_default_slot$3l]},$$scope:{ctx:to}}}),{c(){create_component(ue.$$.fragment)},m(no,ro){mount_component(ue,no,ro),eo=!0},p(no,[ro]){const oo={};ro&1&&(oo.$$scope={dirty:ro,ctx:no}),ue.$set(oo)},i(no){eo||(transition_in(ue.$$.fragment,no),eo=!0)},o(no){transition_out(ue.$$.fragment,no),eo=!1},d(no){destroy_component(ue,no)}}}let NotRequired$1=class extends SvelteComponent{constructor(ue){super(),init$3(this,ue,null,create_fragment$5j,safe_not_equal,{})}};const StringsAsNumbers_svelte_svelte_type_style_lang="";function create_default_slot_20$a(to){let ue;return{c(){ue=text(`Text can be used in place of numbers in certain scenarios, but care needs to