!function(){"use strict";var e,t={7005:function(e,t,r){var n=r(1609),o=Symbol.for("react.element"),a=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),l=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};t.jsx=function(e,t,r){var n,i={},s=null,u=null;for(n in void 0!==r&&(s=""+r),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,n)&&!c.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===i[n]&&(i[n]=t[n]);return{$$typeof:o,type:e,key:s,ref:u,props:i,_owner:l.current}}},9255:function(e,t,r){e.exports=r(7005)},3295:function(e,t,r){var n=window.wp.blocks,o=window.wp.primitives,a=r(9255),l=(0,a.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(o.Path,{d:"M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"})}),c=window.wp.blockEditor,i=window.wp.i18n,s=window.wp.components;const u=[["surecart/product-review-list-filter-tags",{layout:{type:"flex",orientation:"vertical"}}],["surecart/product-review-list-filter-checkboxes",{layout:{type:"flex",orientation:"vertical"}}]];var p=JSON.parse('{"UU":"surecart/product-review-list-sidebar"}');(0,n.registerBlockType)(p.UU,{icon:l,edit:e=>{let{attributes:{open:t,label:r},setAttributes:n,__unstableLayoutClassNames:o}=e;const a=(0,c.useBlockProps)({className:`${o}`}),l=(0,c.useInnerBlocksProps)(a,{template:u,templateLock:!1});return React.createElement(React.Fragment,null,React.createElement(c.InspectorControls,null,React.createElement(s.PanelBody,{title:(0,i.__)("Settings","surecart")},React.createElement(s.ToggleControl,{label:(0,i.__)("Open by default","surecart"),help:(0,i.__)("Do you want sidebar to be open by default?","surecart"),checked:t,onChange:e=>n({open:e})}),React.createElement(s.TextControl,{label:(0,i.__)("Mobile Label","surecart"),value:r,onChange:e=>n({label:e})}))),React.createElement("div",l))},save:function(){return React.createElement(c.InnerBlocks.Content,null)}})},1609:function(e){e.exports=window.React}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var a=r[e]={exports:{}};return t[e](a,a.exports,n),a.exports}n.m=t,e=[],n.O=function(t,r,o,a){if(!r){var l=1/0;for(u=0;u<e.length;u++){r=e[u][0],o=e[u][1],a=e[u][2];for(var c=!0,i=0;i<r.length;i++)(!1&a||l>=a)&&Object.keys(n.O).every((function(e){return n.O[e](r[i])}))?r.splice(i--,1):(c=!1,a<l&&(l=a));if(c){e.splice(u--,1);var s=o();void 0!==s&&(t=s)}}return t}a=a||0;for(var u=e.length;u>0&&e[u-1][2]>a;u--)e[u]=e[u-1];e[u]=[r,o,a]},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={9577:0,269:0};n.O.j=function(t){return 0===e[t]};var t=function(t,r){var o,a,l=r[0],c=r[1],i=r[2],s=0;if(l.some((function(t){return 0!==e[t]}))){for(o in c)n.o(c,o)&&(n.m[o]=c[o]);if(i)var u=i(n)}for(t&&t(r);s<l.length;s++)a=l[s],n.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return n.O(u)},r=self.webpackChunk_surecart_blocks_next=self.webpackChunk_surecart_blocks_next||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))}();var o=n.O(void 0,[269],(function(){return n(3295)}));o=n.O(o)}();