!function(){"use strict";var e,r,t,o,n,i,s={7005:function(e,r,t){var o=t(1609),n=Symbol.for("react.element"),i=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),s=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};r.jsx=function(e,r,t){var o,a={},p=null,u=null;for(o in void 0!==t&&(p=""+t),void 0!==r.key&&(p=""+r.key),void 0!==r.ref&&(u=r.ref),r)i.call(r,o)&&!c.hasOwnProperty(o)&&(a[o]=r[o]);if(e&&e.defaultProps)for(o in r=e.defaultProps)void 0===a[o]&&(a[o]=r[o]);return{$$typeof:n,type:e,key:p,ref:u,props:a,_owner:s.current}}},9255:function(e,r,t){e.exports=t(7005)},1609:function(e){e.exports=window.React}},c={};e=window.wp.blocks,r=window.wp.primitives,t=function e(r){var t=c[r];if(void 0!==t)return t.exports;var o=c[r]={exports:{}};return s[r](o,o.exports,e),o.exports}(9255),o=(0,t.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,t.jsx)(r.Path,{d:"m19 7-3-3-8.5 8.5-1 4 4-1L19 7Zm-7 11.5H5V20h7v-1.5Z"})}),n=window.wp.blockEditor,i=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"surecart/product-review-form-template","title":"Form","description":"Template for the review form content. Shown when editing the form.","version":"1.0.0","category":"surecart-product-page","parent":["surecart/product-review-form"],"usesContext":["surecart/editingView"],"supports":{"inserter":false,"html":false,"spacing":{"margin":true,"padding":true,"blockGap":true},"typography":{"fontSize":true,"lineHeight":true},"__experimentalLayout":{"default":{"type":"constrained"}}},"textdomain":"surecart","editorScript":"file:./index.js"}'),(0,e.registerBlockType)(i,{icon:o,edit:function(e){let{context:r}=e;const t="form"===(r["surecart/editingView"]||"form"),o=(0,n.useBlockProps)({style:{display:t?"block":"none"}}),i=(0,n.useInnerBlocksProps)(o);return React.createElement("div",i)},save:function(){const e=n.useBlockProps.save(),r=n.useInnerBlocksProps.save(e);return React.createElement("div",r)}})}();