import{eL as n}from"./outputWidgets.52d47f16.js";import"./index.a2414b78.js";import{M as b}from"./Modal.4734ef4e.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="e7ecf24c-a9ab-4fed-beb7-af8567cd6f03",e._sentryDebugIdIdentifier="sentry-dbid-e7ecf24c-a9ab-4fed-beb7-af8567cd6f03")}catch{}})();function c(e){return n.exports.isArray(e)?e.length===0?"[ ]":"[ ... ]":n.exports.isObject(e)?Object.keys(e).length===0?"{ }":"{ ... }":n.exports.isString(e)?`'${e}'`:n.exports.isUndefined(e)||n.exports.isNull(e)?"None":e===!0?"True":e===!1?"False":`${e}`}function o(e){if(n.exports.isArray(e))return"array";if(n.exports.isObject(e))return"object";throw new Error("treeKey called with non-object and non-array")}function u(e,r=[],t){const s=t?`'${t}': ${c(e)}`:c(e);if(n.exports.isArray(e)){const i=o(e);return[{title:s,key:[...r,i].join("/"),children:e.flatMap((f,l)=>u(f,[...r,i,`${l}`]))}]}else if(n.exports.isObject(e)){const i=o(e);return[{title:s,key:[...r,i].join("/"),children:Object.entries(e).flatMap(([f,l])=>u(l,[...r,i,f],f))}]}else return[{title:s,key:r.join("/"),children:[]}]}function j(e,r){return new Promise(t=>{b.confirm({title:e,onOk:()=>t(!0),okText:r==null?void 0:r.okText,onCancel:()=>t(!1),cancelText:r==null?void 0:r.cancelText})})}export{j as a,u as t};
//# sourceMappingURL=ant-design.ea71154e.js.map
