import t from"@babel/runtime/helpers/defineProperty";import{useCallback as r}from"react";import{Action as e}from"../../types.js";import{updateTemplate as o}from"../utils.js";import{useGet as n}from"./sharedHooks.js";function c(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,o)}return e}function i(r){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?c(Object(o),!0).forEach((function(e){t(r,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):c(Object(o)).forEach((function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(o,t))}))}return r}var p=function(){var t=n("get"),c=n("set");return r((function(r,n){return o(t,c,r,(function(t){return{metadata:i(i({},t.metadata),n)}}),e.UpdateMetadata)}),[t,c])};export{p as useUpdateTemplateIcon};
//# sourceMappingURL=useUpdateTemplateIcon.js.map
