__useblocks__.define(`static/core/510315e7.js`,[`require`,`exports`,`module`,`static/core/4dc58c63.js`,`static/core/cb14142e.js`,`static/core/604497f2.js`,`react`],function(e,t,n){let r=e("./4dc58c63.js"),i=e("./604497f2.js"),a=e("./cb14142e.js"),o=e("react");o=r.l(o);function s(e){let t=e.length;for(;t>0&&e[t-1]===`/`;)t--;return e.slice(0,t)}function c(e){let t=0;for(;t<e.length&&e[t]===`/`;)t++;return e.slice(t)}function l(e,t){return e?t?`${s(e)}/${c(t)}`:e:t}function u(e){let t=i.r();if(e&&/^[a-zA-Z][a-zA-Z\d+\-.]*?:/.test(e))return e;let n=l(t,e||``);return n&&!n.startsWith(`/`)&&!/^[a-zA-Z][a-zA-Z\d+\-.]*?:/.test(n)&&(n=`/`+n),n}function d(e,t){if(/^[a-zA-Z][a-zA-Z\d+\-.]*?:/.test(t))return t;let n=l(u(e),t||``);return n&&!n.startsWith(`/`)&&!/^[a-zA-Z][a-zA-Z\d+\-.]*?:/.test(n)?`/`+n:n}function f(e,t){return e!=null&&Object.prototype.hasOwnProperty.call(e,t)}function p(e,t,n){let r={...e,id:`FM_${e.id}`},i=(e,r)=>{let i=t.normalizeId(e);return n?n.pathForId(i,r,!0):i};if(f(r.data,`itemId`)&&typeof r.data.itemId==`string`&&(r.data.itemId=i(r.data.itemId,!1)),f(r.data,`itemIds`)&&Array.isArray(r.data.itemIds)&&(r.data.itemIds=r.data.itemIds.map(e=>typeof e==`string`?i(e,!1):e)),f(r.data,`folderId`)){let e=r.data.folderId;typeof e==`string`?r.data.folderId=i(e,!0):e??(r.data.folderId=i(``,!0))}return r}function m(e){if(e){if(typeof e==`function`)return e;if(typeof e==`string`){let t=e,n=e=>{let{className:n,style:r,onClick:i,...s}=e,c=a.h(t);return o.default.createElement(`span`,{role:`img`,className:n?`anticon ${n}`:`anticon`,style:r,onClick:i,dangerouslySetInnerHTML:{__html:c},...s})};return n.displayName=`IconFromSource`,n}}}function h(e){if(!e)return;let t={};for(let[n,r]of Object.entries(e)){let e=m(r);e&&(t[n]=e)}return Object.keys(t).length>0?t:void 0}Object.defineProperty(t,"n",{enumerable:!0,get:function(){return h}}),Object.defineProperty(t,"r",{enumerable:!0,get:function(){return p}}),Object.defineProperty(t,"t",{enumerable:!0,get:function(){return d}})});