import{b as p}from"./chunk-LJGFHF3K.mjs";import{getInitialValues as P}from"@baseapp-frontend/utils";function i(r){"@babel/helpers - typeof";return i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(r)}function v(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable})),t.push.apply(t,n)}return t}function y(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?v(Object(t),!0).forEach(function(n){s(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):v(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function s(r,e,t){return(e=d(e))in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function d(r){var e=O(r,"string");return i(e)=="symbol"?e:e+""}function O(r,e){if(i(r)!="object"||!r)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var n=t.call(r,e||"default");if(i(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}var _="+1",w=function(e){var t,n,o,u,l,a,b,c,f,m=y(y({},e),{},{phoneNumber:(t=e==null||(n=e.owner)===null||n===void 0?void 0:n.phoneNumber)!==null&&t!==void 0?t:_,image:(o=e==null||(u=e.image)===null||u===void 0?void 0:u.url)!==null&&o!==void 0?o:"",bannerImage:(l=e==null||(a=e.bannerImage)===null||a===void 0?void 0:a.url)!==null&&l!==void 0?l:"",urlPath:(b=e==null||(c=e.urlPath)===null||c===void 0?void 0:c.path)!==null&&b!==void 0?b:"",biography:(f=e?.biography)!==null&&f!==void 0?f:""}),g=P({current:m,initial:p});return g},$=function(e){return typeof e=="string"?e:e instanceof Blob?URL.createObjectURL(e):""};export{_ as a,w as b,$ as c};
//# sourceMappingURL=chunk-J3EMCHGB.mjs.map