(()=>{"use strict";var e={n:r=>{var t=r&&r.__esModule?()=>r.default:()=>r;return e.d(t,{a:t}),t},d:(r,t)=>{for(var n in t)e.o(t,n)&&!e.o(r,n)&&Object.defineProperty(r,n,{enumerable:!0,get:t[n]})},o:(e,r)=>Object.prototype.hasOwnProperty.call(e,r)};const r=window.ReactDOM,t=window.React;var n=e.n(t),a="C:\\Users\\Shamim bPlugins\\Local Sites\\shamim-bplugins\\app\\public\\wp-content\\plugins\\panorama\\src\\admin\\components\\FieldObserver.js",i=void 0;function l(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}const u=function(){var e,r,u=(e=(0,t.useState)({}),r=2,function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,a,i,l,u=[],o=!0,c=!1;try{if(i=(t=t.call(e)).next,0===r){if(Object(t)!==t)return;o=!1}else for(;!(o=(n=i.call(t)).done)&&(u.push(n.value),u.length!==r);o=!0);}catch(e){c=!0,a=e}finally{try{if(!o&&null!=t.return&&(l=t.return(),Object(l)!==l))return}finally{if(c)throw a}}return u}}(e,r)||function(e,r){if(e){if("string"==typeof e)return l(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?l(e,r):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=u[0],c=u[1];return(0,t.useEffect)((function(){var e=document.querySelector("#_bppivimages_");if(e){var r=new MutationObserver((function(){var r,t;r=e.querySelectorAll("input, select"),t={},r.forEach((function(e){var r=e.name,n="number"===e.type?parseFloat(e.value)||0:e.value;t[r]=n})),c(t)}));return r.observe(e,{attributes:!0,childList:!0,subtree:!0}),function(){r.disconnect()}}}),[]),(0,t.useEffect)((function(){}),[o]),n().createElement("div",{__self:i,__source:{fileName:a,lineNumber:53,columnNumber:5}},n().createElement("h3",{__self:i,__source:{fileName:a,lineNumber:54,columnNumber:7}},"Field Observer"),n().createElement("pre",{__self:i,__source:{fileName:a,lineNumber:55,columnNumber:7}},JSON.stringify(o,null,2)))};var o="C:\\Users\\Shamim bPlugins\\Local Sites\\shamim-bplugins\\app\\public\\wp-content\\plugins\\panorama\\src\\admin\\classic-editor-preview.js";function c(){return n().createElement(n().Fragment,null,"View")}document.addEventListener("DOMContentLoaded",(function(){var e=this;setTimeout((function(){var t=document.querySelector(".bppivimages_preview");t&&(0,r.createRoot)(t).render(n().createElement(n().Fragment,null,n().createElement(c,{__self:e,__source:{fileName:o,lineNumber:15,columnNumber:9}}),n().createElement(u,{__self:e,__source:{fileName:o,lineNumber:16,columnNumber:9}})))}),50)}))})();