JezK
Edit File: bundle.js
/*! For license information please see bundle.js.LICENSE.txt */ !function(){"use strict";var e,o={20:function(e,o,t){var n=t(816),i=Symbol.for("react.element"),r=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function d(e,o,t){var n,d={},l=null,c=null;for(n in void 0!==t&&(l=""+t),void 0!==o.key&&(l=""+o.key),void 0!==o.ref&&(c=o.ref),o)r.call(o,n)&&!a.hasOwnProperty(n)&&(d[n]=o[n]);if(e&&e.defaultProps)for(n in o=e.defaultProps)void 0===d[n]&&(d[n]=o[n]);return{$$typeof:i,type:e,key:l,ref:c,props:d,_owner:s.current}}o.jsx=d,o.jsxs=d},848:function(e,o,t){e.exports=t(20)},914:function(e,o,t){var n={};t.r(n),t.d(n,{component:function(){return oe},name:function(){return Z},viewBox:function(){return ee}});var i={};t.r(i),t.d(i,{component:function(){return ie},name:function(){return te},viewBox:function(){return ne}});var r={};t.r(r),t.d(r,{component:function(){return ae},name:function(){return re},viewBox:function(){return se}});var s={};t.r(s),t.d(s,{component:function(){return ce},name:function(){return de},viewBox:function(){return le}});var a={};t.r(a),t.d(a,{component:function(){return ve},name:function(){return pe},viewBox:function(){return ue}});var d=lodash,l=vendor.wp.hooks,c=divi.moduleLibrary,p=JSON.parse('{"module":{"advanced":{"text":{"text":{"desktop":{"value":{"orientation":""}}}}},"meta":{"adminLabel":{"desktop":{"value":"Single Review"}}}},"shortcode":{"advanced":{"className":{"desktop":{"value":""}},"hide":{"desktop":{"value":[]}},"id":{"desktop":{"value":""}},"post_id":{"desktop":{"value":""}}}},"design":{"decoration":{"ratingColor":{"desktop":{"value":{"color":"#faca15"}}}}}}'),u=JSON.parse('{"name":"glsr-divi/review","d4Shortcode":"","title":"Single Review","titles":"Single Reviews","moduleIcon":"site-reviews/review","folder":"site-reviews","category":"module","videos":[{"id":"H5HdMCXvuq8","name":"An introduction to Site Reviews"}],"attributes":{"module":{"type":"object","selector":"{{selector}}","styleProps":{},"settings":{"advanced":{"htmlAttributes":{},"text":{}},"decoration":{"animation":{},"background":{},"border":{},"boxShadow":{},"conditions":{},"disabledOn":{},"filters":{},"interactions":{},"overflow":{},"order":{},"position":{},"scroll":{},"sizing":{},"spacing":{},"sticky":{},"transform":{},"transition":{},"zIndex":{}},"meta":{"adminLabel":{}}}},"shortcode":{"type":"object","selector":"{{selector}} .glsr","settings":{"advanced":{"post_id":{"groupType":"group-item","item":{"groupSlug":"contentGeneral","attrName":"shortcode.advanced.post_id","label":"Review Post ID","description":"Search for a review to display.","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/select","type":"field","props":{"emptyLabel":"Search Reviews...","searchable":true}}}},"hide":{"groupType":"group-item","item":{"groupSlug":"contentHide","attrName":"shortcode.advanced.hide","description":"Choose which fields you would like to hide.","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/checkboxes","type":"field","props":{"options":[]}}}},"className":{"groupType":"group-item","item":{"groupSlug":"contentAdvanced","attrName":"shortcode.advanced.className","description":"","label":"Class","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/text","type":"field"}}},"id":{"groupType":"group-item","item":{"groupSlug":"contentAdvanced","attrName":"shortcode.advanced.id","description":"This should be a unique value.","label":"Custom ID","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/text","type":"field"}}}}}},"design":{"type":"object","selector":"#page-container {{selector}} .glsr-review","settings":{"decoration":{"ratingColor":{"groupType":"group-item","item":{"groupSlug":"designGeneral","attrName":"design.decoration.ratingColor","label":"Rating Color","priority":10,"render":true,"visible":true,"subName":"color","features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/color-picker","type":"field"}}}}}}},"customCssFields":{},"settings":{"advanced":"auto","groups":{"contentGeneral":{"panel":"content","priority":10,"render":true,"groupName":"contentGeneral","component":{"name":"divi/composite","props":{"groupLabel":"General"}}},"contentDisplay":{"panel":"content","priority":20,"render":true,"groupName":"contentDisplay","component":{"name":"divi/composite","props":{"groupLabel":"Display"}}},"contentHide":{"panel":"content","priority":30,"render":true,"groupName":"contentHide","component":{"name":"divi/composite","props":{"groupLabel":"Hide"}}},"contentAdvanced":{"panel":"content","priority":40,"render":true,"groupName":"contentAdvanced","component":{"name":"divi/composite","props":{"groupLabel":"Advanced"}}},"designGeneral":{"panel":"design","priority":10,"render":true,"groupName":"designGeneral","component":{"name":"divi/composite","props":{"groupLabel":"Review"}}}}},"mousetrap":{"inner":{"edited":true}},"script":["site-reviews"],"style":["site-reviews","site-reviews-review-style"]}'),v=divi.module;const m=({attrs:e,classnamesInstance:o})=>{var t,n,i,r,s,a,l,c,p,u,m;if(o.add((0,v.textOptionsClassnames)(null===(n=null===(t=null==e?void 0:e.module)||void 0===t?void 0:t.advanced)||void 0===n?void 0:n.text)),(0,d.isEmpty)(null===(a=null===(s=null===(r=null===(i=null==e?void 0:e.shortcode)||void 0===i?void 0:i.advanced)||void 0===r?void 0:r.theme)||void 0===s?void 0:s.desktop)||void 0===a?void 0:a.value)){const t=null===(m=null===(u=null===(p=null===(c=null===(l=null==e?void 0:e.design)||void 0===l?void 0:l.decoration)||void 0===c?void 0:c.ratingColor)||void 0===p?void 0:p.desktop)||void 0===u?void 0:u.value)||void 0===m?void 0:m.color;o.add("has-rating-color",(0,d.isString)(t)&&""!==t)}};var g=t(848),f=t(816),y=Object.prototype.hasOwnProperty;function h(e,o,t){for(t of e.keys())if(b(t,o))return t}function b(e,o){var t,n,i;if(e===o)return!0;if(e&&o&&(t=e.constructor)===o.constructor){if(t===Date)return e.getTime()===o.getTime();if(t===RegExp)return e.toString()===o.toString();if(t===Array){if((n=e.length)===o.length)for(;n--&&b(e[n],o[n]););return-1===n}if(t===Set){if(e.size!==o.size)return!1;for(n of e){if((i=n)&&"object"==typeof i&&!(i=h(o,i)))return!1;if(!o.has(i))return!1}return!0}if(t===Map){if(e.size!==o.size)return!1;for(n of e){if((i=n[0])&&"object"==typeof i&&!(i=h(o,i)))return!1;if(!b(n[1],o.get(i)))return!1}return!0}if(t===ArrayBuffer)e=new Uint8Array(e),o=new Uint8Array(o);else if(t===DataView){if((n=e.byteLength)===o.byteLength)for(;n--&&e.getInt8(n)===o.getInt8(n););return-1===n}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===o.byteLength)for(;n--&&e[n]===o[n];);return-1===n}if(!t||"object"==typeof e){for(t in n=0,e){if(y.call(e,t)&&++n&&!y.call(o,t))return!1;if(!(t in o)||!b(e[t],o[t]))return!1}return Object.keys(o).length===n}}return e!=e&&o!=o}var w=divi.moduleUtils,S=divi.uiLibrary;function k({children:e,...o}){let t="";return f.Children.toArray(e).forEach(e=>{"string"==typeof e&&""!==e.trim()&&(t+=e)}),(0,f.createElement)("div",{dangerouslySetInnerHTML:{__html:t},...o})}var A=divi.rest;const C=e=>{const o=(0,l.applyFilters)("site-reviews.divi.module_edit",e),{attrs:t,elements:n,id:i,isFirst:r,isLast:s,name:a,moduleClassnames:c,ModuleScriptData:p,ModuleStyles:u}=o,{abort:m,fetch:y,isLoading:h,response:{rendered:C}}=(0,A.useFetch)({rendered:""}),x=a.replace("glsr-divi","site-reviews"),N=(0,f.useRef)(null),_=(0,d.omitBy)((()=>{var e,o,i,r,s;const a=(null===(e=null==t?void 0:t.shortcode)||void 0===e?void 0:e.advanced)||{},d=Object.keys((null===(s=null===(r=null===(i=null===(o=null==n?void 0:n.moduleMetadata)||void 0===o?void 0:o.attributes)||void 0===i?void 0:i.shortcode)||void 0===r?void 0:r.settings)||void 0===s?void 0:s.advanced)||a),l=Object.keys(a),c={context:"edit"};return l.forEach(e=>{let o=(0,w.getAttrByMode)(a[e]);Array.isArray(o)&&o.every(e=>void 0!==(null==e?void 0:e.value))&&(o=o.map(e=>e.value)),["on","off"].includes(o)&&(o="on"===o?1:0),d.includes(e)||(o=null),c[`attributes[${e}]`]=o}),c})(),d.isNil),T=(0,d.debounce)(()=>{y({data:_,method:"GET",restRoute:`/wp/v2/block-renderer/${x}`}).catch(e=>{"AbortError"!==e.name&&console.error(e)})},300);var L,R,j,D,G;return L=()=>(T(),()=>{m(),T.cancel()}),R=[_],f.useEffect(L,(j=R,D=f.useRef(j),G=f.useRef(0),b(j,D.current)||(D.current=j,G.current+=1),f.useMemo(function(){return D.current},[G.current]))),(0,f.useEffect)(()=>{(null===window||void 0===window?void 0:window.GLSR_init)&&window.GLSR_init(`block:${x}`)},[C]),(0,g.jsxs)(v.ModuleContainer,{attrs:t,classnamesFunction:c,domRef:N,elements:n,id:i,isFirst:r,isLast:s,name:a,scriptDataComponent:p,stylesComponent:u,children:[n.styleComponents({attrName:"module"}),h?(0,g.jsx)(S.Loading,{}):null,h?null:(0,g.jsx)(k,{children:C})]})},x=({elements:e})=>e.scriptData({attrName:"module"});var N=divi.styleLibrary;const _=({attrValue:e})=>{var o;const{alignment:t}=e,n=new N.StyleDeclarations({important:!1,returnType:"string"}),i=null!==(o={default:"",left:"start",center:"center",right:"end"}[null!=t?t:"default"])&&void 0!==o?o:"start";return n.add("display","flex"),n.add("justify-content",i),n.value};var T=divi.iconLibrary;const L=({attrValue:e})=>{const{enable:o,icon:t}=e,n=new N.StyleDeclarations({important:{content:!0,"line-height":!0,"margin-left":!0,"margin-right":!0,padding:!0},returnType:"string"});if("off"===o)return n.value;if(n.add("line-height","1"),(0,d.isEmpty)(null==t?void 0:t.settings))"left"===(null==t?void 0:t.placement)?(n.add("margin-left","-1.3em"),n.add("padding","0 0 0 0.3em")):(n.add("margin-right","-1.3em"),n.add("padding","0 0.3em 0 0"));else{const e=(0,T.escapeFontIcon)((0,T.processFontIcon)(null==t?void 0:t.settings));n.add("content",`'${e}'`),"left"===(null==t?void 0:t.placement)?(n.add("margin-left","-1.5em"),n.add("padding","0 0.5em 0 0")):(n.add("margin-right","-1.5em"),n.add("padding","0 0 0 0.2em"))}return n.value},R=e=>({attrValue:o})=>{const{color:t}=o,n=new N.StyleDeclarations({important:!1,returnType:"string"});return t&&e.forEach(e=>n.add(e,t)),n.value},j=({attrValue:e})=>{const{orientation:o}=e,t=new N.StyleDeclarations({important:!0,returnType:"string"});return o&&(t.add("display","flex"),t.add("justify-content",o)),t.value},D=e=>{var o,t,n,i,r,s;const{attrs:a,defaultPrintedStyleAttrs:d,elements:l,mode:c,noStyleTag:p,orderClass:u,settings:m,state:f}=e,y="#page-container";return(0,g.jsxs)(v.StyleContainer,{mode:c,state:f,noStyleTag:p,children:[l.style({attrName:"module",styleProps:{advancedStyles:[{componentName:"divi/text",props:{attr:null===(t=null===(o=null==a?void 0:a.module)||void 0===o?void 0:o.advanced)||void 0===t?void 0:t.text,propertySelectors:{textShadow:{desktop:{value:{"text-shadow":u}}}}}}],defaultPrintedStyleAttrs:null===(n=null==d?void 0:d.module)||void 0===n?void 0:n.decoration,disabledOn:{disabledModuleVisibility:null==m?void 0:m.disabledModuleVisibility}}}),l.style({styleProps:{advancedStyles:[{componentName:"divi/common",props:{attr:null===(r=null===(i=null==a?void 0:a.design)||void 0===i?void 0:i.decoration)||void 0===r?void 0:r.ratingColor,declarationFunction:R(["--glsr-review-star-bg"]),selector:[`${y} ${u}.has-custom-color .glsr-review`,`${y} ${u}.has-rating-color .glsr-review`].join(",")}}]}}),(0,g.jsx)(v.CssStyle,{selector:u,attr:null==a?void 0:a.css,orderClass:u,cssFields:null===(s=null==l?void 0:l.moduleMetadata)||void 0===s?void 0:s.customCssFields})]})};const G=(e,o)=>{const[t,n]=(0,f.useState)([]),i=e=>({label:e.title,value:String(e.id)});return(0,f.useEffect)(()=>{var t,r,s,a;t=void 0,r=void 0,a=function*(){try{const t=yield(0,A.loggedFetch)({data:{option:o},method:"GET",restRoute:`/site-reviews/v1/shortcode/${e}`});n(t.map(i))}catch(e){"AbortError"!==e.name&&console.error("Failed to fetch options:",e),n([])}},new((s=void 0)||(s=Promise))(function(e,o){function n(e){try{d(a.next(e))}catch(e){o(e)}}function i(e){try{d(a.throw(e))}catch(e){o(e)}}function d(o){var t;o.done?e(o.value):(t=o.value,t instanceof s?t:new s(function(e){e(t)})).then(n,i)}d((a=a.apply(t,r||[])).next())})},[]),{options:t}};const P=(e,o,t)=>{const[n,i]=(0,f.useState)({}),[r,s]=(0,f.useState)(""),a=()=>{return n=void 0,s=void 0,l=function*(){try{const s=yield(0,A.loggedFetch)((()=>{const n=Object.assign(Object.assign({},Object.fromEntries(new URLSearchParams(`option=${o}`))),{include:t.join(","),search:r});return{data:(0,d.pickBy)(n,e=>""!==e),method:"GET",restRoute:`/site-reviews/v1/shortcode/${e}`}})());i((n=s,Object.fromEntries(n.map(e=>[e.id.toString(),{label:e.title}]))))}catch(e){"AbortError"!==e.name&&console.error("Failed to fetch options:",e),i({})}var n},new((a=void 0)||(a=Promise))(function(e,o){function t(e){try{r(l.next(e))}catch(e){o(e)}}function i(e){try{r(l.throw(e))}catch(e){o(e)}}function r(o){var n;o.done?e(o.value):(n=o.value,n instanceof a?n:new a(function(e){e(n)})).then(t,i)}r((l=l.apply(n,s||[])).next())});var n,s,a,l},l=(0,f.useCallback)(()=>{s("")},[]),c=(0,f.useCallback)(e=>{s(e)},[]);return(0,f.useEffect)(()=>{a()},[r,o]),{onSearchChange:c,onDropdownClose:l,options:n}},O="site_review",$=e=>{var o,t,n;const{groupConfiguration:i}=e,r=(0,d.cloneDeep)(i);for(let e in r)e.startsWith("design")&&((null===(n=null===(t=null===(o=r[e])||void 0===o?void 0:o.component)||void 0===t?void 0:t.props)||void 0===n?void 0:n.fields)||(0,d.unset)(r,[e]));return(0,g.jsx)(v.ModuleGroups,{groups:r})},F={defaultAttrs:p,defaultPrintedStyleAttrs:{},metadata:u,placeholderContent:{},renderers:{edit:e=>C(Object.assign(Object.assign({},e),{moduleClassnames:m,ModuleScriptData:x,ModuleStyles:D}))},settings:{content:e=>{var o,t,n,i,r,s,a,l,c,p;const{attrs:u,groupConfiguration:m}=e,f=(0,d.cloneDeep)(m),y=[null!==(r=null===(i=null===(n=null===(t=null===(o=null==u?void 0:u.shortcode)||void 0===o?void 0:o.advanced)||void 0===t?void 0:t.post_id)||void 0===n?void 0:n.desktop)||void 0===i?void 0:i.value)&&void 0!==r?r:""].filter(e=>""!==e),h=P(O,"post_id",y),b=G(O,"hide");(null===(s=null==f?void 0:f.contentGeneral)||void 0===s?void 0:s.component)&&((0,d.set)(f,["contentGeneral","component","props","fields","shortcodeAdvancedPost_id","component","props","options"],h.options),(0,d.set)(f,["contentGeneral","component","props","fields","shortcodeAdvancedPost_id","component","props","updateSearchQuery"],h.onSearchChange)),(null===(a=null==f?void 0:f.contentHide)||void 0===a?void 0:a.component)&&(0,d.set)(f,["contentHide","component","props","fields","shortcodeAdvancedHide","component","props","options"],b.options);for(let e in f)e.startsWith("content")&&((null===(p=null===(c=null===(l=f[e])||void 0===l?void 0:l.component)||void 0===c?void 0:c.props)||void 0===p?void 0:p.fields)||(0,d.unset)(f,[e]));return(0,g.jsx)(v.ModuleGroups,{groups:f})},design:$}},H=({attrs:e,classnamesInstance:o})=>{var t,n,i,r,s,a,l,c,p,u,m,g,f,y;if(o.add((0,v.textOptionsClassnames)(null===(n=null===(t=null==e?void 0:e.module)||void 0===t?void 0:t.advanced)||void 0===n?void 0:n.text)),o.add((0,v.getBackgroundLayoutClassnames)(null!==(s=null===(r=null===(i=null==e?void 0:e.module)||void 0===i?void 0:i.advanced)||void 0===r?void 0:r.text)&&void 0!==s?s:{text:{desktop:{value:{color:"light"}}}})),(0,d.isEmpty)(null===(p=null===(c=null===(l=null===(a=null==e?void 0:e.shortcode)||void 0===a?void 0:a.advanced)||void 0===l?void 0:l.theme)||void 0===c?void 0:c.desktop)||void 0===p?void 0:p.value)){const t=null===(y=null===(f=null===(g=null===(m=null===(u=null==e?void 0:e.design)||void 0===u?void 0:u.decoration)||void 0===m?void 0:m.ratingColor)||void 0===g?void 0:g.desktop)||void 0===f?void 0:f.value)||void 0===y?void 0:y.color;o.add("has-rating-color",(0,d.isString)(t)&&""!==t)}},M=({elements:e})=>e.scriptData({attrName:"module"}),z=e=>{var o,t,n,i,r,s,a,d,l,c,p,u,m,f,y,h,b;const{attrs:w,defaultPrintedStyleAttrs:S,elements:k,mode:A,noStyleTag:C,orderClass:x,settings:N,state:T}=e,j="#page-container",D="left"===(null!==(a=null===(s=null===(r=null===(i=null===(n=null===(t=null===(o=null==w?void 0:w.button)||void 0===o?void 0:o.decoration)||void 0===t?void 0:t.button)||void 0===n?void 0:n.desktop)||void 0===i?void 0:i.value)||void 0===r?void 0:r.icon)||void 0===s?void 0:s.placement)&&void 0!==a?a:"right")?"before":"after";return(0,g.jsxs)(v.StyleContainer,{mode:A,state:T,noStyleTag:C,children:[k.style({attrName:"module",styleProps:{advancedStyles:[{componentName:"divi/text",props:{attr:null===(l=null===(d=null==w?void 0:w.module)||void 0===d?void 0:d.advanced)||void 0===l?void 0:l.text,propertySelectors:{textShadow:{desktop:{value:{"text-shadow":x}}}}}}],defaultPrintedStyleAttrs:null===(c=null==S?void 0:S.module)||void 0===c?void 0:c.decoration,disabledOn:{disabledModuleVisibility:null==N?void 0:N.disabledModuleVisibility}}}),k.style({styleProps:{advancedStyles:[{componentName:"divi/common",props:{attr:null===(u=null===(p=null==w?void 0:w.design)||void 0===p?void 0:p.decoration)||void 0===u?void 0:u.ratingColor,declarationFunction:R(["--glsr-review-star-bg"]),selector:[`${j} ${x}.has-custom-color .glsr-reviews`,`${j} ${x}.has-rating-color .glsr-reviews`].join(",")}}]}}),k.style({attrName:"button",styleProps:{advancedStyles:[{componentName:"divi/common",props:{attr:null===(f=null===(m=null==w?void 0:w.button)||void 0===m?void 0:m.decoration)||void 0===f?void 0:f.button,declarationFunction:_,selector:`${j} ${x} .glsr-button_wrapper`}},{componentName:"divi/common",props:{attr:null===(h=null===(y=null==w?void 0:w.button)||void 0===y?void 0:y.decoration)||void 0===h?void 0:h.button,declarationFunction:L,selector:`${j} ${x} .glsr-button::${D}`}}]}}),(0,g.jsx)(v.CssStyle,{selector:x,attr:null==w?void 0:w.css,orderClass:x,cssFields:null===(b=null==k?void 0:k.moduleMetadata)||void 0===b?void 0:b.customCssFields})]})},I="site_reviews",V={defaultAttrs:JSON.parse('{"module":{"advanced":{"text":{"text":{"desktop":{"value":{"color":"light","orientation":""}}}}},"meta":{"adminLabel":{"desktop":{"value":"Latest Reviews"}}}},"shortcode":{"advanced":{"assigned_posts":{"desktop":{"value":[]}},"assigned_terms":{"desktop":{"value":[]}},"assigned_users":{"desktop":{"value":[]}},"author":{"desktop":{"value":""}},"className":{"desktop":{"value":""}},"display":{"desktop":{"value":10}},"hide":{"desktop":{"value":[]}},"id":{"desktop":{"value":""}},"pagination":{"desktop":{"value":""}},"rating":{"desktop":{"value":0}},"schema":{"desktop":{"value":"off"}},"terms":{"desktop":{"value":""}},"type":{"desktop":{"value":""}},"verified":{"desktop":{"value":""}}}},"design":{"decoration":{"ratingColor":{"desktop":{"value":{"color":"#faca15"}}}}},"button":{"decoration":{"button":{"desktop":{"value":{"alignment":"left","enable":"on"}}}}}}'),defaultPrintedStyleAttrs:{},metadata:JSON.parse('{"name":"glsr-divi/reviews","d4Shortcode":"","title":"Latest Reviews","titles":"Latest Reviews","moduleIcon":"site-reviews/reviews","folder":"site-reviews","category":"module","videos":[{"id":"H5HdMCXvuq8","name":"An introduction to Site Reviews"}],"attributes":{"module":{"type":"object","selector":"{{selector}}","styleProps":{},"settings":{"advanced":{"htmlAttributes":{},"text":{}},"decoration":{"animation":{},"background":{},"border":{},"boxShadow":{},"conditions":{},"disabledOn":{},"filters":{},"interactions":{},"overflow":{},"order":{},"position":{},"scroll":{},"sizing":{},"spacing":{},"sticky":{},"transform":{},"transition":{},"zIndex":{}},"meta":{"adminLabel":{}}}},"shortcode":{"type":"object","selector":"{{selector}} .glsr","settings":{"advanced":{"assigned_posts":{"groupType":"group-item","item":{"groupSlug":"contentGeneral","attrName":"shortcode.advanced.assigned_posts","label":"Assigned Pages","description":"Limit Reviews by Assigned Pages","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/tag-input","type":"field","props":{"allowCustomTags":false,"outputFormat":"simple","placeholder":"Search Pages...","searchPosition":"dropdown","showDropdownIcon":false}}}},"assigned_terms":{"groupType":"group-item","item":{"groupSlug":"contentGeneral","attrName":"shortcode.advanced.assigned_terms","label":"Assigned Categories","description":"Limit Reviews by Assigned Categories","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/tag-input","type":"field","props":{"allowCustomTags":false,"outputFormat":"simple","placeholder":"Search Categories...","searchPosition":"dropdown","showDropdownIcon":false}}}},"assigned_users":{"groupType":"group-item","item":{"groupSlug":"contentGeneral","attrName":"shortcode.advanced.assigned_users","label":"Assigned Users","description":"Limit Reviews by Assigned Users","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/tag-input","type":"field","props":{"allowCustomTags":false,"outputFormat":"simple","placeholder":"Search Users...","searchPosition":"dropdown","showDropdownIcon":false}}}},"author":{"groupType":"group-item","item":{"groupSlug":"contentGeneral","attrName":"shortcode.advanced.author","label":"Review Author","description":"Limit Reviews by Review Author","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/select","type":"field","props":{"emptyLabel":"Search Users...","searchable":true}}}},"terms":{"groupType":"group-item","item":{"groupSlug":"contentGeneral","attrName":"shortcode.advanced.terms","label":"Terms Accepted","description":"Limit Reviews by Accepted Terms","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/select","type":"field","props":{"emptyLabel":"Select Review Terms..."}}}},"type":{"groupType":"group-item","item":{"groupSlug":"contentGeneral","attrName":"shortcode.advanced.type","label":"Review Type","description":"Limit Reviews by Review Type","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/select","type":"field","props":{"emptyLabel":"Select a Review Type..."}}}},"verified":{"groupType":"group-item","item":{"groupSlug":"contentGeneral","attrName":"shortcode.advanced.verified","label":"Verified","description":"Limit Reviews by Verified Status","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/select","type":"field","props":{"emptyLabel":"Select Verified Status..."}}}},"pagination":{"groupType":"group-item","item":{"groupSlug":"contentDisplay","attrName":"shortcode.advanced.pagination","label":"Pagination Type","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/select","type":"field","props":{"emptyLabel":"Select Pagination..."}}}},"display":{"groupType":"group-item","item":{"groupSlug":"contentDisplay","attrName":"shortcode.advanced.display","label":"Reviews Per Page","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/range","type":"field","props":{"defaultUnit":"","defaultValue":10,"max":50,"maxLimit":50,"minLimit":1,"min":1}}}},"rating":{"groupType":"group-item","item":{"groupSlug":"contentDisplay","attrName":"shortcode.advanced.rating","label":"Minimum Rating","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/range","type":"field","props":{"defaultUnit":"","defaultValue":0,"max":5,"maxLimit":5,"minLimit":0,"min":0}}}},"hide":{"groupType":"group-item","item":{"groupSlug":"contentHide","attrName":"shortcode.advanced.hide","description":"Choose which fields you would like to hide.","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/checkboxes","type":"field","props":{"options":[]}}}},"schema":{"groupType":"group-item","item":{"groupSlug":"contentGeneral","attrName":"shortcode.advanced.schema","description":"The schema should only be enabled once on your page.","label":"Enable the Schema?","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/toggle","type":"field"}}},"className":{"groupType":"group-item","item":{"groupSlug":"contentAdvanced","attrName":"shortcode.advanced.className","description":"","label":"Class","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/text","type":"field"}}},"id":{"groupType":"group-item","item":{"groupSlug":"contentAdvanced","attrName":"shortcode.advanced.id","description":"This should be a unique value.","label":"Custom ID","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/text","type":"field"}}}}}},"design":{"type":"object","selector":"#page-container {{selector}} .glsr-reviews","settings":{"decoration":{"ratingColor":{"groupType":"group-item","item":{"groupSlug":"designGeneral","attrName":"design.decoration.ratingColor","label":"Rating Color","priority":10,"render":true,"visible":true,"subName":"color","features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/color-picker","type":"field"}}}}}},"button":{"elementProps":{"hasWrapper":true},"elementType":"button","type":"object","selector":"#page-container {{selector}} .glsr-button","settings":{"decoration":{"button":{"component":{"props":{"fields":{"fontGroup":{"component":{"props":{"fields":{"lineHeight":{"render":false},"textAlign":{"render":false}}}}},"alignment":{"visible":true}}}}}}}}},"customCssFields":{},"settings":{"advanced":"auto","groups":{"contentGeneral":{"panel":"content","priority":10,"render":true,"groupName":"contentGeneral","component":{"name":"divi/composite","props":{"groupLabel":"General"}}},"contentDisplay":{"panel":"content","priority":20,"render":true,"groupName":"contentDisplay","component":{"name":"divi/composite","props":{"groupLabel":"Display"}}},"contentHide":{"panel":"content","priority":30,"render":true,"groupName":"contentHide","component":{"name":"divi/composite","props":{"groupLabel":"Hide"}}},"contentAdvanced":{"panel":"content","priority":40,"render":true,"groupName":"contentAdvanced","component":{"name":"divi/composite","props":{"groupLabel":"Advanced"}}},"designGeneral":{"panel":"design","priority":10,"render":true,"groupName":"designGeneral","component":{"name":"divi/composite","props":{"groupLabel":"Review"}}}}},"mousetrap":{"inner":{"edited":true}},"script":["site-reviews"],"style":["site-reviews","site-reviews-reviews-style"]}'),placeholderContent:{},renderers:{edit:e=>C(Object.assign(Object.assign({},e),{moduleClassnames:H,ModuleScriptData:M,ModuleStyles:z}))},settings:{content:e=>{var o,t,n,i,r,s,a,l,c,p,u,m,f,y,h,b,w,S,k,A,C,x,N,_,T,L;const{attrs:R,groupConfiguration:j}=e,D=(0,d.cloneDeep)(j),O=Array.from(null!==(r=null===(i=null===(n=null===(t=null===(o=null==R?void 0:R.shortcode)||void 0===o?void 0:o.advanced)||void 0===t?void 0:t.assigned_posts)||void 0===n?void 0:n.desktop)||void 0===i?void 0:i.value)&&void 0!==r?r:[]).map(e=>e.value),$=Array.from(null!==(p=null===(c=null===(l=null===(a=null===(s=null==R?void 0:R.shortcode)||void 0===s?void 0:s.advanced)||void 0===a?void 0:a.assigned_terms)||void 0===l?void 0:l.desktop)||void 0===c?void 0:c.value)&&void 0!==p?p:[]).map(e=>e.value),F=Array.from(null!==(h=null===(y=null===(f=null===(m=null===(u=null==R?void 0:R.shortcode)||void 0===u?void 0:u.advanced)||void 0===m?void 0:m.assigned_users)||void 0===f?void 0:f.desktop)||void 0===y?void 0:y.value)&&void 0!==h?h:[]).map(e=>e.value),H=[null!==(A=null===(k=null===(S=null===(w=null===(b=null==R?void 0:R.shortcode)||void 0===b?void 0:b.advanced)||void 0===w?void 0:w.author)||void 0===S?void 0:S.desktop)||void 0===k?void 0:k.value)&&void 0!==A?A:""].filter(e=>""!==e),M=P(I,"assigned_posts",O),z=P(I,"assigned_terms",$),V=P(I,"assigned_users",F),E=P(I,"author",H),U=G(I,"hide"),B=P(I,"pagination",[]),W=P(I,"terms",[]),q=P(I,"type",[]),J=P(I,"verified",[]);if(null===(C=null==D?void 0:D.contentGeneral)||void 0===C?void 0:C.component){const e=["contentGeneral","component","props","fields"];(0,d.set)(D,[...e,"shortcodeAdvancedAssigned_posts","component","props","onDropdownClose"],M.onDropdownClose),(0,d.set)(D,[...e,"shortcodeAdvancedAssigned_posts","component","props","onSearchChange"],M.onSearchChange),(0,d.set)(D,[...e,"shortcodeAdvancedAssigned_posts","component","props","options"],M.options),(0,d.set)(D,[...e,"shortcodeAdvancedAssigned_terms","component","props","onDropdownClose"],z.onDropdownClose),(0,d.set)(D,[...e,"shortcodeAdvancedAssigned_terms","component","props","onSearchChange"],z.onSearchChange),(0,d.set)(D,[...e,"shortcodeAdvancedAssigned_terms","component","props","options"],z.options),(0,d.set)(D,[...e,"shortcodeAdvancedAssigned_users","component","props","onDropdownClose"],V.onDropdownClose),(0,d.set)(D,[...e,"shortcodeAdvancedAssigned_users","component","props","onSearchChange"],V.onSearchChange),(0,d.set)(D,[...e,"shortcodeAdvancedAssigned_users","component","props","options"],V.options),(0,d.set)(D,[...e,"shortcodeAdvancedAuthor","component","props","options"],E.options),(0,d.set)(D,[...e,"shortcodeAdvancedAuthor","component","props","updateSearchQuery"],E.onSearchChange),(0,d.set)(D,[...e,"shortcodeAdvancedTerms","component","props","options"],W.options),(0,d.set)(D,[...e,"shortcodeAdvancedVerified","component","props","options"],J.options),Object.keys(q.options).length?(0,d.set)(D,[...e,"shortcodeAdvancedType","component","props","options"],q.options):(0,d.unset)(D,[...e,"shortcodeAdvancedType"])}(null===(x=null==D?void 0:D.contentDisplay)||void 0===x?void 0:x.component)&&(0,d.set)(D,["contentDisplay","component","props","fields","shortcodeAdvancedPagination","component","props","options"],B.options),(null===(N=null==D?void 0:D.contentHide)||void 0===N?void 0:N.component)&&(0,d.set)(D,["contentHide","component","props","fields","shortcodeAdvancedHide","component","props","options"],U.options);for(let e in D)e.startsWith("content")&&((null===(L=null===(T=null===(_=D[e])||void 0===_?void 0:_.component)||void 0===T?void 0:T.props)||void 0===L?void 0:L.fields)||(0,d.unset)(D,[e]));return(0,g.jsx)(v.ModuleGroups,{groups:D})},design:$}},E=({attrs:e,classnamesInstance:o})=>{var t,n,i,r,s,a,l,c,p,u,m,g,f,y;if(o.add((0,v.textOptionsClassnames)(null===(n=null===(t=null==e?void 0:e.module)||void 0===t?void 0:t.advanced)||void 0===n?void 0:n.text)),o.add((0,v.getBackgroundLayoutClassnames)(null!==(s=null===(r=null===(i=null==e?void 0:e.module)||void 0===i?void 0:i.advanced)||void 0===r?void 0:r.text)&&void 0!==s?s:{text:{desktop:{value:{color:"light"}}}})),(0,d.isEmpty)(null===(p=null===(c=null===(l=null===(a=null==e?void 0:e.shortcode)||void 0===a?void 0:a.advanced)||void 0===l?void 0:l.theme)||void 0===c?void 0:c.desktop)||void 0===p?void 0:p.value)){const t=null===(y=null===(f=null===(g=null===(m=null===(u=null==e?void 0:e.design)||void 0===u?void 0:u.decoration)||void 0===m?void 0:m.ratingColor)||void 0===g?void 0:g.desktop)||void 0===f?void 0:f.value)||void 0===y?void 0:y.color;o.add("has-rating-color",(0,d.isString)(t)&&""!==t)}},U=({elements:e})=>e.scriptData({attrName:"module"}),B=e=>{var o,t,n,i,r,s,a,d,l,c,p,u,m,f,y,h,b,w,S,k;const{attrs:A,defaultPrintedStyleAttrs:C,elements:x,mode:N,noStyleTag:T,orderClass:D,settings:G,state:P}=e,O="#page-container",$="left"===(null!==(a=null===(s=null===(r=null===(i=null===(n=null===(t=null===(o=null==A?void 0:A.button)||void 0===o?void 0:o.decoration)||void 0===t?void 0:t.button)||void 0===n?void 0:n.desktop)||void 0===i?void 0:i.value)||void 0===r?void 0:r.icon)||void 0===s?void 0:s.placement)&&void 0!==a?a:"right")?"before":"after";return(0,g.jsxs)(v.StyleContainer,{mode:N,state:P,noStyleTag:T,children:[x.style({attrName:"module",styleProps:{advancedStyles:[{componentName:"divi/common",props:{attr:null===(c=null===(l=null===(d=null==A?void 0:A.module)||void 0===d?void 0:d.advanced)||void 0===l?void 0:l.text)||void 0===c?void 0:c.text,declarationFunction:j,selector:[`${O} ${D} .glsr-field:not(.glsr-layout-inline) .glsr-field-subgroup > *`,`${O} ${D} .glsr-layout-inline .glsr-field-subgroup`,`${O} ${D} .glsr-range-options input:checked + label`,`${O} ${D} .glsr-range-options:not(:has(input:checked))::after`,`${O} ${D} .glsr-star-rating`].join(",")}},{componentName:"divi/text",props:{attr:null===(u=null===(p=null==A?void 0:A.module)||void 0===p?void 0:p.advanced)||void 0===u?void 0:u.text,propertySelectors:{textShadow:{desktop:{value:{"text-shadow":[`${O} ${D} .glsr-field`,`${O} ${D} .glsr-input`,`${O} ${D} .glsr-select`,`${O} ${D} .glsr-textarea`].join(",")}}}}}}],defaultPrintedStyleAttrs:null===(m=null==C?void 0:C.module)||void 0===m?void 0:m.decoration,disabledOn:{disabledModuleVisibility:null==G?void 0:G.disabledModuleVisibility}}}),x.style({styleProps:{advancedStyles:[{componentName:"divi/common",props:{attr:null===(y=null===(f=null==A?void 0:A.design)||void 0===f?void 0:f.decoration)||void 0===y?void 0:y.ratingColor,declarationFunction:R(["--glsr-form-star-bg"]),selector:[`${O} ${D}.has-custom-color .glsr-form`,`${O} ${D}.has-rating-color .glsr-form`].join(",")}}]}}),x.style({attrName:"button",styleProps:{advancedStyles:[{componentName:"divi/common",props:{attr:null===(b=null===(h=null==A?void 0:A.button)||void 0===h?void 0:h.decoration)||void 0===b?void 0:b.button,declarationFunction:_,selector:`${O} ${D} .glsr-button_wrapper`}},{componentName:"divi/common",props:{attr:null===(S=null===(w=null==A?void 0:A.button)||void 0===w?void 0:w.decoration)||void 0===S?void 0:S.button,declarationFunction:L,selector:`${O} ${D} .glsr-button::${$}`}}]}}),(0,g.jsx)(v.CssStyle,{selector:D,attr:null==A?void 0:A.css,orderClass:D,cssFields:null===(k=null==x?void 0:x.moduleMetadata)||void 0===k?void 0:k.customCssFields})]})},W="site_reviews_form",q={defaultAttrs:JSON.parse('{"module":{"advanced":{"text":{"text":{"desktop":{"value":{"color":"light"}}}}},"meta":{"adminLabel":{"desktop":{"value":"Review Form"}}}},"shortcode":{"advanced":{"assigned_posts":{"desktop":{"value":[]}},"assigned_terms":{"desktop":{"value":[]}},"assigned_users":{"desktop":{"value":[]}},"className":{"desktop":{"value":""}},"hide":{"desktop":{"value":[]}},"id":{"desktop":{"value":""}},"reviews_id":{"desktop":{"value":""}},"summary_id":{"desktop":{"value":""}}}},"design":{"decoration":{"ratingColor":{"desktop":{"value":{"color":"#faca15"}}}}},"button":{"decoration":{"button":{"desktop":{"value":{"alignment":"left","enable":"on"}}}}}}'),defaultPrintedStyleAttrs:{},metadata:JSON.parse('{"name":"glsr-divi/form","d4Shortcode":"","title":"Review Form","titles":"Review Forms","moduleIcon":"site-reviews/form","folder":"site-reviews","category":"module","videos":[{"id":"H5HdMCXvuq8","name":"An introduction to Site Reviews"}],"attributes":{"module":{"type":"object","selector":"{{selector}}","settings":{"advanced":{"htmlAttributes":{},"text":{}},"decoration":{"animation":{},"background":{},"border":{},"boxShadow":{},"conditions":{},"disabledOn":{},"filters":{},"interactions":{},"overflow":{},"order":{},"position":{},"scroll":{},"sizing":{},"spacing":{},"sticky":{},"transform":{},"transition":{},"zIndex":{}},"meta":{"adminLabel":{}}}},"shortcode":{"type":"object","selector":"{{selector}} .glsr","settings":{"advanced":{"assigned_posts":{"groupType":"group-item","item":{"groupSlug":"contentGeneral","attrName":"shortcode.advanced.assigned_posts","label":"Assign Reviews to Pages","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/tag-input","type":"field","props":{"allowCustomTags":false,"outputFormat":"simple","placeholder":"Search Pages...","searchPosition":"dropdown","showDropdownIcon":false}}}},"assigned_terms":{"groupType":"group-item","item":{"groupSlug":"contentGeneral","attrName":"shortcode.advanced.assigned_terms","label":"Assign Reviews to Categories","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/tag-input","type":"field","props":{"allowCustomTags":false,"outputFormat":"simple","placeholder":"Search Categories...","searchPosition":"dropdown","showDropdownIcon":false}}}},"assigned_users":{"groupType":"group-item","item":{"groupSlug":"contentGeneral","attrName":"shortcode.advanced.assigned_users","label":"Assign Reviews to Users","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/tag-input","type":"field","props":{"allowCustomTags":false,"outputFormat":"simple","placeholder":"Search Users...","searchPosition":"dropdown","showDropdownIcon":false}}}},"hide":{"groupType":"group-item","item":{"groupSlug":"contentHide","attrName":"shortcode.advanced.hide","description":"Choose which fields you would like to hide.","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/checkboxes","type":"field","props":{"options":[]}}}},"className":{"groupType":"group-item","item":{"groupSlug":"contentAdvanced","attrName":"shortcode.advanced.className","description":"","label":"Class","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/text","type":"field"}}},"id":{"groupType":"group-item","item":{"groupSlug":"contentAdvanced","attrName":"shortcode.advanced.id","description":"This should be a unique value.","label":"Custom ID","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/text","type":"field"}}},"reviews_id":{"groupType":"group-item","item":{"groupSlug":"contentAdvanced","attrName":"shortcode.advanced.reviews_id","label":"Latest Reviews ID","description":"Enter the Custom ID of a Latest Reviews block where the review should be displayed after submission.","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/text","type":"field","props":{}}}},"summary_id":{"groupType":"group-item","item":{"groupSlug":"contentAdvanced","attrName":"shortcode.advanced.summary_id","label":"Rating Summary ID","description":"Enter the Custom ID of a Rating Summary block where the rating values should be updated after submission.","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/text","type":"field","props":{}}}}}}},"design":{"type":"object","selector":"#page-container {{selector}} .glsr-field","settings":{"decoration":{"ratingColor":{"groupType":"group-item","item":{"attrName":"design.decoration.ratingColor","component":{"name":"divi/color-picker","type":"field"},"features":{"dynamicContent":{"type":"color"},"hover":false,"responsive":false,"sticky":false},"groupSlug":"designGeneral","label":"Rating Color","subName":"color","priority":10,"render":true,"visible":true}}}}},"button":{"elementProps":{"hasWrapper":true},"elementType":"button","type":"object","selector":"#page-container {{selector}} .glsr-button","settings":{"decoration":{"button":{"component":{"props":{"fields":{"fontGroup":{"component":{"props":{"fields":{"lineHeight":{"render":false},"textAlign":{"render":false}}}}},"alignment":{"visible":true}}}}}}}}},"customCssFields":{},"settings":{"advanced":"auto","groups":{"contentGeneral":{"panel":"content","priority":10,"render":true,"groupName":"contentGeneral","component":{"name":"divi/composite","props":{"groupLabel":"General"}}},"contentDisplay":{"panel":"content","priority":20,"render":true,"groupName":"contentDisplay","component":{"name":"divi/composite","props":{"groupLabel":"Display"}}},"contentHide":{"panel":"content","priority":30,"render":true,"groupName":"contentHide","component":{"name":"divi/composite","props":{"groupLabel":"Hide"}}},"contentAdvanced":{"panel":"content","priority":40,"render":true,"groupName":"contentAdvanced","component":{"name":"divi/composite","props":{"groupLabel":"Advanced"}}},"designGeneral":{"panel":"design","priority":10,"render":true,"groupName":"designGeneral","component":{"name":"divi/composite","props":{"clipboardCategory":"style","groupLabel":"Form"}}},"designFormField":{"panel":"design","priority":10,"render":true,"groupName":"designFormField","component":{"name":"divi/composite","props":{"clipboardCategory":"style","groupLabel":"Field"}}}}},"mousetrap":{"inner":{"edited":true}},"script":["site-reviews"],"style":["site-reviews","site-reviews-form-style"]}'),placeholderContent:{},renderers:{edit:e=>C(Object.assign(Object.assign({},e),{moduleClassnames:E,ModuleScriptData:U,ModuleStyles:B}))},settings:{content:e=>{var o,t,n,i,r,s,a,l,c,p,u,m,f,y,h,b,w,S,k,A;const{attrs:C,groupConfiguration:x}=e,N=(0,d.cloneDeep)(x),_=Array.from(null!==(r=null===(i=null===(n=null===(t=null===(o=null==C?void 0:C.shortcode)||void 0===o?void 0:o.advanced)||void 0===t?void 0:t.assigned_posts)||void 0===n?void 0:n.desktop)||void 0===i?void 0:i.value)&&void 0!==r?r:[]).map(e=>e.value),T=Array.from(null!==(p=null===(c=null===(l=null===(a=null===(s=null==C?void 0:C.shortcode)||void 0===s?void 0:s.advanced)||void 0===a?void 0:a.assigned_terms)||void 0===l?void 0:l.desktop)||void 0===c?void 0:c.value)&&void 0!==p?p:[]).map(e=>e.value),L=Array.from(null!==(h=null===(y=null===(f=null===(m=null===(u=null==C?void 0:C.shortcode)||void 0===u?void 0:u.advanced)||void 0===m?void 0:m.assigned_users)||void 0===f?void 0:f.desktop)||void 0===y?void 0:y.value)&&void 0!==h?h:[]).map(e=>e.value),R=P(W,"assigned_posts",_),j=P(W,"assigned_terms",T),D=P(W,"assigned_users",L),O=G(W,"hide");if(null===(b=null==N?void 0:N.contentGeneral)||void 0===b?void 0:b.component){const e=["contentGeneral","component","props","fields"];(0,d.set)(N,[...e,"shortcodeAdvancedAssigned_posts","component","props","onDropdownClose"],R.onDropdownClose),(0,d.set)(N,[...e,"shortcodeAdvancedAssigned_posts","component","props","onSearchChange"],R.onSearchChange),(0,d.set)(N,[...e,"shortcodeAdvancedAssigned_posts","component","props","options"],R.options),(0,d.set)(N,[...e,"shortcodeAdvancedAssigned_terms","component","props","onDropdownClose"],j.onDropdownClose),(0,d.set)(N,[...e,"shortcodeAdvancedAssigned_terms","component","props","onSearchChange"],j.onSearchChange),(0,d.set)(N,[...e,"shortcodeAdvancedAssigned_terms","component","props","options"],j.options),(0,d.set)(N,[...e,"shortcodeAdvancedAssigned_users","component","props","onDropdownClose"],D.onDropdownClose),(0,d.set)(N,[...e,"shortcodeAdvancedAssigned_users","component","props","onSearchChange"],D.onSearchChange),(0,d.set)(N,[...e,"shortcodeAdvancedAssigned_users","component","props","options"],D.options)}(null===(w=null==N?void 0:N.contentHide)||void 0===w?void 0:w.component)&&(0,d.set)(N,["contentHide","component","props","fields","shortcodeAdvancedHide","component","props","options"],O.options);for(let e in N)e.startsWith("content")&&((null===(A=null===(k=null===(S=N[e])||void 0===S?void 0:S.component)||void 0===k?void 0:k.props)||void 0===A?void 0:A.fields)||(0,d.unset)(N,[e]));return(0,g.jsx)(v.ModuleGroups,{groups:N})},design:$}},J=({attrs:e,classnamesInstance:o})=>{var t,n,i,r,s,a,l,c,p,u,m,g,f,y,h,b,w,S,k,A,C,x;o.add((0,v.textOptionsClassnames)(null===(n=null===(t=null==e?void 0:e.module)||void 0===t?void 0:t.advanced)||void 0===n?void 0:n.text));const N=null===(l=null===(a=null===(s=null===(r=null===(i=null==e?void 0:e.design)||void 0===i?void 0:i.decoration)||void 0===r?void 0:r.barColor)||void 0===s?void 0:s.desktop)||void 0===a?void 0:a.value)||void 0===l?void 0:l.color;if(o.add("has-bar-color",(0,d.isString)(N)&&""!==N),(0,d.isEmpty)(null===(m=null===(u=null===(p=null===(c=null==e?void 0:e.shortcode)||void 0===c?void 0:c.advanced)||void 0===p?void 0:p.theme)||void 0===u?void 0:u.desktop)||void 0===m?void 0:m.value)){const t=null===(b=null===(h=null===(y=null===(f=null===(g=null==e?void 0:e.design)||void 0===g?void 0:g.decoration)||void 0===f?void 0:f.ratingColor)||void 0===y?void 0:y.desktop)||void 0===h?void 0:h.value)||void 0===b?void 0:b.color;o.add("has-rating-color",(0,d.isString)(t)&&""!==t)}const _=null===(C=null===(A=null===(k=null===(S=null===(w=null==e?void 0:e.module)||void 0===w?void 0:w.decoration)||void 0===S?void 0:S.sizing)||void 0===k?void 0:k.desktop)||void 0===A?void 0:A.value)||void 0===C?void 0:C.alignSelf;if(!(0,d.isEmpty)(_)){const e=_.replace(/^flex-/,"").toLowerCase(),t=null!==(x={end:"right",start:"left"}[e])&&void 0!==x?x:e;o.add(`items-justified-${t}`)}},X=({elements:e})=>e.scriptData({attrName:"module"}),Q=e=>{var o,t,n,i,r,s,a,l,c,p;const{attrs:u,defaultPrintedStyleAttrs:m,elements:f,mode:y,noStyleTag:h,orderClass:b,settings:w,state:S}=e,k="#page-container";return(0,g.jsxs)(v.StyleContainer,{mode:y,state:S,noStyleTag:h,children:[f.style({attrName:"module",styleProps:{advancedStyles:[{componentName:"divi/text",props:{attr:null===(t=null===(o=null==u?void 0:u.module)||void 0===o?void 0:o.advanced)||void 0===t?void 0:t.text,propertySelectors:{textShadow:{desktop:{value:{"text-shadow":b}}}}}},{componentName:"divi/common",props:{attr:null===(i=null===(n=null==u?void 0:u.module)||void 0===n?void 0:n.decoration)||void 0===i?void 0:i.sizing,declarationFunction:({attrValue:{maxWidth:e=""}})=>(0,d.isEmpty)(e)?"":"--glsr-max-w:none;",selector:`${k} ${b} .glsr`}}],defaultPrintedStyleAttrs:null===(r=null==m?void 0:m.module)||void 0===r?void 0:r.decoration,disabledOn:{disabledModuleVisibility:null==w?void 0:w.disabledModuleVisibility}}}),f.style({styleProps:{advancedStyles:[{componentName:"divi/common",props:{attr:null===(a=null===(s=null==u?void 0:u.design)||void 0===s?void 0:s.decoration)||void 0===a?void 0:a.ratingColor,declarationFunction:R(["--glsr-summary-star-bg"]),selector:[`${k} ${b}.has-custom-color .glsr-summary`,`${k} ${b}.has-rating-color .glsr-summary`].join(",")}},{componentName:"divi/common",props:{attr:null===(c=null===(l=null==u?void 0:u.design)||void 0===l?void 0:l.decoration)||void 0===c?void 0:c.barColor,declarationFunction:R(["--glsr-bar-bg"]),selector:`${k} ${b} .glsr-summary`}}]}}),(0,g.jsx)(v.CssStyle,{selector:b,attr:null==u?void 0:u.css,orderClass:b,cssFields:null===(p=null==f?void 0:f.moduleMetadata)||void 0===p?void 0:p.customCssFields})]})},Y="site_reviews_summary",K={defaultAttrs:JSON.parse('{"module":{"decoration":{"sizing":{"desktop":{"value":{"maxWidth":"48ch"}}}},"meta":{"adminLabel":{"desktop":{"value":"Rating Summary"}}}},"shortcode":{"advanced":{"assigned_posts":{"desktop":{"value":[]}},"assigned_terms":{"desktop":{"value":[]}},"assigned_users":{"desktop":{"value":[]}},"author":{"desktop":{"value":""}},"className":{"desktop":{"value":""}},"hide":{"desktop":{"value":[]}},"id":{"desktop":{"value":""}},"labels":{"desktop":{"value":""}},"rating":{"desktop":{"value":0}},"rating_field":{"desktop":{"value":""}},"schema":{"desktop":{"value":"off"}},"terms":{"desktop":{"value":""}},"text":{"desktop":{"value":""}},"type":{"desktop":{"value":""}},"verified":{"desktop":{"value":""}}}},"design":{"decoration":{"barColor":{"desktop":{"value":{"color":"#faca15"}}},"ratingColor":{"desktop":{"value":{"color":"#faca15"}}}}}}'),defaultPrintedStyleAttrs:{},metadata:JSON.parse('{"name":"glsr-divi/summary","d4Shortcode":"","title":"Rating Summary","titles":"Rating Summaries","moduleIcon":"site-reviews/summary","folder":"site-reviews","category":"module","videos":[{"id":"H5HdMCXvuq8","name":"An introduction to Site Reviews"}],"attributes":{"module":{"type":"object","selector":"{{selector}}","styleProps":{},"settings":{"advanced":{"htmlAttributes":{},"text":{"component":{"props":{"fields":{"orientation":{"render":false}}}}}},"decoration":{"animation":{},"background":{},"border":{},"boxShadow":{},"conditions":{},"disabledOn":{},"filters":{},"interactions":{},"overflow":{},"order":{},"position":{},"scroll":{},"sizing":{},"spacing":{},"sticky":{},"transform":{},"transition":{},"zIndex":{}},"meta":{"adminLabel":{}}}},"shortcode":{"type":"object","selector":"{{selector}} .glsr","settings":{"advanced":{"assigned_posts":{"groupType":"group-item","item":{"groupSlug":"contentGeneral","attrName":"shortcode.advanced.assigned_posts","label":"Assigned Pages","description":"Limit Reviews by Assigned Pages","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/tag-input","type":"field","props":{"allowCustomTags":false,"outputFormat":"simple","placeholder":"Search Pages...","searchPosition":"dropdown","showDropdownIcon":false}}}},"assigned_terms":{"groupType":"group-item","item":{"groupSlug":"contentGeneral","attrName":"shortcode.advanced.assigned_terms","label":"Assigned Categories","description":"Limit Reviews by Assigned Categories","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/tag-input","type":"field","props":{"allowCustomTags":false,"outputFormat":"simple","placeholder":"Search Categories...","searchPosition":"dropdown","showDropdownIcon":false}}}},"assigned_users":{"groupType":"group-item","item":{"groupSlug":"contentGeneral","attrName":"shortcode.advanced.assigned_users","label":"Assigned Users","description":"Limit Reviews by Assigned Users","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/tag-input","type":"field","props":{"allowCustomTags":false,"outputFormat":"simple","placeholder":"Search Users...","searchPosition":"dropdown","showDropdownIcon":false}}}},"author":{"groupType":"group-item","item":{"groupSlug":"contentGeneral","attrName":"shortcode.advanced.author","label":"Review Author","description":"Limit Reviews by Review Author","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/select","type":"field","props":{"emptyLabel":"Search Users...","searchable":true}}}},"type":{"groupType":"group-item","item":{"groupSlug":"contentGeneral","attrName":"shortcode.advanced.type","label":"Review Type","description":"Limit Reviews by Review Type","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/select","type":"field","props":{"emptyLabel":"Select a Review Type..."}}}},"terms":{"groupType":"group-item","item":{"groupSlug":"contentGeneral","attrName":"shortcode.advanced.terms","label":"Terms Accepted","description":"Limit Reviews by Accepted Terms","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/select","type":"field","props":{"emptyLabel":"Select Review Terms..."}}}},"verified":{"groupType":"group-item","item":{"groupSlug":"contentGeneral","attrName":"shortcode.advanced.verified","label":"Verified","description":"Limit Reviews by Verified Status","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/select","type":"field","props":{"emptyLabel":"Select Verified Status..."}}}},"schema":{"groupType":"group-item","item":{"groupSlug":"contentGeneral","attrName":"shortcode.advanced.schema","description":"The schema should only be enabled once on your page.","label":"Enable the Schema?","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/toggle","type":"field"}}},"rating":{"groupType":"group-item","item":{"groupSlug":"contentDisplay","attrName":"shortcode.advanced.rating","label":"Minimum Rating","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/range","type":"field","props":{"defaultUnit":"","defaultValue":0,"max":5,"maxLimit":5,"minLimit":0,"min":0}}}},"rating_field":{"groupType":"group-item","item":{"groupSlug":"contentDisplay","attrName":"shortcode.advanced.rating_field","label":"Custom Rating Field Name","description":"Use the Review Forms addon to add custom rating fields.","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/text","type":"field"}}},"hide":{"groupType":"group-item","item":{"groupSlug":"contentHide","attrName":"shortcode.advanced.hide","description":"Choose which fields you would like to hide.","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/checkboxes","type":"field","props":{"options":[]}}}},"text":{"groupType":"group-item","item":{"groupSlug":"contentText","attrName":"shortcode.advanced.text","label":"Summary Text","description":"Use {num} to display the number of reviews, {rating} to display the average rating, and {max} to display the maximum rating value.","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/text","type":"field"}}},"labels":{"groupType":"group-item","item":{"groupSlug":"contentText","attrName":"shortcode.advanced.labels","label":"Summary Labels","description":"Enter custom labels for the percentage bar levels (from high to low) and separate them with a comma.","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/text","type":"field"}}},"className":{"groupType":"group-item","item":{"groupSlug":"contentAdvanced","attrName":"shortcode.advanced.className","description":"","label":"Class","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/text","type":"field"}}},"id":{"groupType":"group-item","item":{"groupSlug":"contentAdvanced","attrName":"shortcode.advanced.id","description":"This should be a unique value.","label":"Custom ID","priority":10,"render":true,"features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/text","type":"field"}}}}}},"design":{"type":"object","selector":"#page-container {{selector}} .glsr-summary","settings":{"decoration":{"ratingColor":{"groupType":"group-item","item":{"groupSlug":"designGeneral","attrName":"design.decoration.ratingColor","label":"Rating Color","priority":10,"render":true,"visible":true,"subName":"color","features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/color-picker","type":"field"}}},"barColor":{"groupType":"group-item","item":{"groupSlug":"designGeneral","attrName":"design.decoration.barColor","label":"Bar Color","priority":10,"render":true,"visible":true,"subName":"color","features":{"hover":false,"responsive":false,"sticky":false},"component":{"name":"divi/color-picker","type":"field"}}}}}}},"customCssFields":{},"settings":{"advanced":"auto","groups":{"contentGeneral":{"panel":"content","priority":10,"render":true,"groupName":"contentGeneral","component":{"name":"divi/composite","props":{"groupLabel":"General"}}},"contentDisplay":{"panel":"content","priority":20,"render":true,"groupName":"contentDisplay","component":{"name":"divi/composite","props":{"groupLabel":"Display"}}},"contentHide":{"panel":"content","priority":30,"render":true,"groupName":"contentHide","component":{"name":"divi/composite","props":{"groupLabel":"Hide"}}},"contentText":{"panel":"content","priority":40,"render":true,"groupName":"contentText","component":{"name":"divi/composite","props":{"groupLabel":"Text"}},"features":{"aiContent":false}},"contentAdvanced":{"panel":"content","priority":50,"render":true,"groupName":"contentAdvanced","component":{"name":"divi/composite","props":{"groupLabel":"Advanced"}}},"designGeneral":{"panel":"design","priority":10,"render":true,"groupName":"designGeneral","component":{"name":"divi/composite","props":{"groupLabel":"Summary"}}}}},"mousetrap":{"inner":{"edited":true}},"script":["site-reviews"],"style":["site-reviews","site-reviews-summary-style"]}'),placeholderContent:{},renderers:{edit:e=>C(Object.assign(Object.assign({},e),{moduleClassnames:J,ModuleScriptData:X,ModuleStyles:Q}))},settings:{content:e=>{var o,t,n,i,r,s,a,l,c,p,u,m,f,y,h,b,w,S,k,A,C,x,N,_,T;const{attrs:L,groupConfiguration:R}=e,j=(0,d.cloneDeep)(R),D=Array.from(null!==(r=null===(i=null===(n=null===(t=null===(o=null==L?void 0:L.shortcode)||void 0===o?void 0:o.advanced)||void 0===t?void 0:t.assigned_posts)||void 0===n?void 0:n.desktop)||void 0===i?void 0:i.value)&&void 0!==r?r:[]).map(e=>e.value),O=Array.from(null!==(p=null===(c=null===(l=null===(a=null===(s=null==L?void 0:L.shortcode)||void 0===s?void 0:s.advanced)||void 0===a?void 0:a.assigned_terms)||void 0===l?void 0:l.desktop)||void 0===c?void 0:c.value)&&void 0!==p?p:[]).map(e=>e.value),$=Array.from(null!==(h=null===(y=null===(f=null===(m=null===(u=null==L?void 0:L.shortcode)||void 0===u?void 0:u.advanced)||void 0===m?void 0:m.assigned_users)||void 0===f?void 0:f.desktop)||void 0===y?void 0:y.value)&&void 0!==h?h:[]).map(e=>e.value),F=[null!==(A=null===(k=null===(S=null===(w=null===(b=null==L?void 0:L.shortcode)||void 0===b?void 0:b.advanced)||void 0===w?void 0:w.author)||void 0===S?void 0:S.desktop)||void 0===k?void 0:k.value)&&void 0!==A?A:""].filter(e=>""!==e),H=P(Y,"assigned_posts",D),M=P(Y,"assigned_terms",O),z=P(Y,"assigned_users",$),I=P(Y,"author",F),V=G(Y,"hide"),E=P(Y,"terms",[]),U=P(Y,"type",[]),B=P(Y,"verified",[]);if(null===(C=null==j?void 0:j.contentGeneral)||void 0===C?void 0:C.component){const e=["contentGeneral","component","props","fields"];(0,d.set)(j,[...e,"shortcodeAdvancedAssigned_posts","component","props","onDropdownClose"],H.onDropdownClose),(0,d.set)(j,[...e,"shortcodeAdvancedAssigned_posts","component","props","onSearchChange"],H.onSearchChange),(0,d.set)(j,[...e,"shortcodeAdvancedAssigned_posts","component","props","options"],H.options),(0,d.set)(j,[...e,"shortcodeAdvancedAssigned_terms","component","props","onDropdownClose"],M.onDropdownClose),(0,d.set)(j,[...e,"shortcodeAdvancedAssigned_terms","component","props","onSearchChange"],M.onSearchChange),(0,d.set)(j,[...e,"shortcodeAdvancedAssigned_terms","component","props","options"],M.options),(0,d.set)(j,[...e,"shortcodeAdvancedAssigned_users","component","props","onDropdownClose"],z.onDropdownClose),(0,d.set)(j,[...e,"shortcodeAdvancedAssigned_users","component","props","onSearchChange"],z.onSearchChange),(0,d.set)(j,[...e,"shortcodeAdvancedAssigned_users","component","props","options"],z.options),(0,d.set)(j,[...e,"shortcodeAdvancedAuthor","component","props","options"],I.options),(0,d.set)(j,[...e,"shortcodeAdvancedAuthor","component","props","updateSearchQuery"],I.onSearchChange),(0,d.set)(j,[...e,"shortcodeAdvancedTerms","component","props","options"],E.options),(0,d.set)(j,[...e,"shortcodeAdvancedVerified","component","props","options"],B.options),Object.keys(U.options).length?(0,d.set)(j,[...e,"shortcodeAdvancedType","component","props","options"],U.options):(0,d.unset)(j,[...e,"shortcodeAdvancedType"])}(null===(x=null==j?void 0:j.contentHide)||void 0===x?void 0:x.component)&&(0,d.set)(j,["contentHide","component","props","fields","shortcodeAdvancedHide","component","props","options"],V.options);for(let e in j)e.startsWith("content")&&((null===(T=null===(_=null===(N=j[e])||void 0===N?void 0:N.component)||void 0===_?void 0:_.props)||void 0===T?void 0:T.fields)||(0,d.unset)(j,[e]));return(0,g.jsx)(v.ModuleGroups,{groups:j})},design:$}},Z="site-reviews/form",ee="0 0 16 16",oe=()=>(0,g.jsx)("path",{d:"M12.587 11.682H9.322c-.228 0-.413.154-.413.344v.687c0 .19.185.344.413.344h3.264c.228 0 .413-.154.413-.344v-.687c0-.19-.185-.344-.413-.344zm.024-3.953H3.39c-.215 0-.39.173-.39.387v2.32c0 .214.174.387.39.387h9.221c.215 0 .39-.173.39-.387v-2.32c0-.214-.174-.387-.39-.387zm0-1.604H3.39c-.215 0-.39.187-.39.417V6.51c0 .23.174.417.39.417h9.221c.215 0 .39-.187.39-.417v.032c0-.23-.174-.417-.39-.417zM4.729 2c.036-.001.068.021.08.055l.419 1.011 1.002.08 1.002-.08.417-1.011c.012-.031.042-.053.074-.055h.057c.036-.001.068.021.08.055l.419 1.011 1.002.08 1.002-.08.417-1.011c.012-.031.042-.053.074-.055h.057c.036-.001.068.021.08.055l.419 1.011 1.088.088c.035.002.065.026.075.06l.014.043c.012.033.001.07-.026.093l-.821.711.252 1.066c.008.034-.004.07-.032.091l-.049.027c-.029.02-.067.02-.095 0l-.926-.567-.931.572c-.029.02-.067.02-.095 0l-.037-.026c-.028-.021-.041-.057-.032-.091l.245-1.073-.675-.586-.674.586.252 1.066c.008.034-.004.07-.032.091l-.049.027c-.029.02-.067.02-.095 0l-.926-.567-.931.572c-.029.02-.067.02-.095 0l-.037-.026c-.028-.021-.041-.057-.032-.091l.245-1.073-.675-.585-.674.585.252 1.066c.008.034-.004.07-.032.091l-.049.027c-.029.02-.067.02-.095 0l-.926-.567-.931.572c-.029.02-.067.02-.095 0l-.037-.026c-.028-.021-.041-.057-.032-.091l.245-1.073-.821-.711c-.029-.021-.041-.058-.031-.093l.014-.043c.01-.034.04-.058.075-.06l1.088-.088.417-1.011c.012-.031.042-.053.074-.055h.057z"}),te="site-reviews/logo",ne="0 0 16 16",ie=()=>(0,g.jsx)("path",{d:"M5.553 2.001L12.085 2c.573 0 .843.052 1.124.202a1.42 1.42 0 0 1 .59.592l.032.064c.116.241.163.5.168.978v6.518c0 .573-.052.843-.202 1.124a1.45 1.45 0 0 1-.197.283l-.054.057-1.727 1.726-.083.077-.047.039-.071.052-.07.045-.071.041c-.281.15-.551.202-1.124.202H3.913l-.155-.002c-.467-.01-.71-.064-.966-.2-.175-.093-.328-.221-.454-.38l-.037-.05c-.036-.051-.069-.104-.098-.159-.098-.183-.15-.35-.179-.598l-.005-.052L2 12.164V5.646c0-.573.052-.843.202-1.124.071-.133.16-.251.263-.351L4.18 2.457a1.43 1.43 0 0 1 .343-.255c.206-.11.395-.164.701-.188l.104-.007.054-.003.171-.004zm6.645.801H5.533c-.342 0-.483.025-.628.102-.036.019-.073.043-.094.061l-.026.022a.67.67 0 0 0-.143.175l-.022.043c-.064.137-.087.282-.087.597v6.662l.003.167c.008.227.034.341.1.465a.64.64 0 0 0 .257.262l.042.022c.129.06.259.083.519.086l6.74.001.167-.003c.226-.008.341-.034.461-.098a.66.66 0 0 0 .266-.258l.022-.043c.06-.129.083-.259.086-.519l.001-6.743c0-.343-.025-.483-.103-.629a.64.64 0 0 0-.257-.262l-.043-.022c-.137-.064-.282-.087-.597-.087zm-8.419 8.239l-1.134 1.133.014.32.004.044c.019.164.046.254.107.367l.016.027 1.27-1.27a1.43 1.43 0 0 1-.123-.194 1.47 1.47 0 0 1-.153-.428zm-.043-1.423l-1.092 1.093v.899l1.093-1.093v-.899zm0-1.464L2.642 9.247v.899l1.092-1.092v-.9zm0-1.464L2.642 7.782v.9l1.092-1.093V6.69zm0-1.464L2.642 6.318v.899l1.092-1.092v-.899zm0-1.416l-.822.822a.78.78 0 0 0-.144.193c-.094.176-.126.352-.126.821v.108l1.092-1.093v-.85zm2.734 4.762a.16.16 0 0 0 .16.16h4.474a.16.16 0 0 0 .16-.16v-.506c0-.074.06-.133.133-.133h.533c.074 0 .133.06.133.133v.533c0 .074-.06.133-.133.133h-.506a.16.16 0 0 0-.16.16v.506c0 .074-.06.133-.133.133H6.602c-.074 0-.133-.06-.133-.133v-.506a.16.16 0 0 0-.16-.16h-.506c-.074 0-.133-.06-.133-.133v-.533c0-.074.06-.133.133-.133h.533c.074 0 .133.06.133.133v.506zm3.329-4.101h.533c.074 0 .133.06.133.133v2.397c0 .074-.06.133-.133.133h-.533c-.074 0-.133-.06-.133-.133V4.605c0-.074.06-.133.133-.133zM12.085 2c.573 0 .843.052 1.124.202a1.42 1.42 0 0 1 .59.592l.032.064c.116.241.163.5.168.978v6.518c0 .573-.052.843-.202 1.124a1.45 1.45 0 0 1-.197.283l-.054.057-1.727 1.726-.083.077-.047.039-.071.052-.07.045-.071.041c-.281.15-.551.202-1.124.202H3.913l-.155-.002c-.467-.01-.71-.064-.966-.2-.175-.093-.328-.221-.454-.38l-.037-.05c-.036-.051-.069-.104-.098-.159-.098-.183-.15-.35-.179-.598l-.005-.052L2 12.164V5.646c0-.573.052-.843.202-1.124.071-.133.16-.251.263-.351L4.18 2.457a1.43 1.43 0 0 1 .343-.255c.206-.11.395-.164.701-.188l.104-.007.054-.003.171-.004L12.085 2zm0 .8l-6.532.001h.02l-.153.004-.039.002-.093.006c-.195.016-.28.039-.39.098-.055.029-.106.067-.153.114L3.022 4.745c-.044.042-.083.094-.115.154-.08.15-.108.302-.108.747l-.001 6.481.015.352.004.042a.75.75 0 0 0 .089.311l.035.059.024.033a.63.63 0 0 0 .202.17c.135.072.262.099.597.106l.147.002h6.441c.445 0 .597-.028.726-.097l.034-.018.032-.019.038-.026.008-.005.063-.058 1.711-1.71.036-.038c.037-.042.066-.083.091-.129.08-.149.108-.301.108-.746v-6.51c-.004-.366-.03-.518-.081-.623l-.025-.05a.62.62 0 0 0-.262-.264c-.15-.08-.302-.108-.746-.108zM7.933 4.472c.074 0 .133.06.133.133v2.397c0 .074-.06.133-.133.133h-.533c-.074 0-.133-.06-.133-.133V4.605c0-.074.06-.133.133-.133h.533z"}),re="site-reviews/review",se="0 0 16 16",ae=()=>(0,g.jsx)("path",{d:"M11.591 3.5a1.86 1.86 0 0 1 .958.259c.29.171.522.403.692.693a1.86 1.86 0 0 1 .259.957v4.382a1.89 1.89 0 0 1-.258.96c-.17.294-.403.529-.694.7a1.86 1.86 0 0 1-.958.259H8.198l-.035.028-3.32 2.65c-.212.164-.528.142-.734-.036a.64.64 0 0 1-.182-.665l.744-2.018h-.262a1.86 1.86 0 0 1-.847-.199l-.111-.061c-.29-.171-.522-.403-.692-.693a1.86 1.86 0 0 1-.259-.957V5.409a1.86 1.86 0 0 1 .259-.957c.17-.29.403-.522.692-.693a1.86 1.86 0 0 1 .958-.259h7.182zm0 .809H4.409a1.05 1.05 0 0 0-.546.147c-.171.101-.304.234-.405.405s-.147.348-.147.548v4.352c0 .199.049.38.147.548s.234.305.405.405a1.05 1.05 0 0 0 .546.147h1.424l-.201.544-.689 1.868.056-.044.555-.443.721-.575 1.386-1.107.142-.113.111-.089h3.678a1.05 1.05 0 0 0 .546-.147c.17-.1.303-.234.404-.408a1.08 1.08 0 0 0 .149-.555V5.409c0-.199-.049-.38-.147-.548s-.234-.305-.405-.405a1.05 1.05 0 0 0-.546-.147zM8.466 5.385V8.49c0 .047-.015.24-.021.319v.033l.737-.023v.631H6.817v-.563l.372-.007.22-.016c.046-.011.091-.023.125-.057s.057-.079.08-.148a.55.55 0 0 0 .019-.074V6.604h-.815v-.406c.448-.122.815-.447 1.059-.813h.591z"}),de="site-reviews/reviews",le="0 0 16 16",ce=()=>(0,g.jsx)("path",{d:"M11.591 3.5a1.86 1.86 0 0 1 .958.259c.29.171.522.403.692.693a1.86 1.86 0 0 1 .259.957v4.382a1.89 1.89 0 0 1-.258.96c-.17.294-.403.529-.694.7a1.86 1.86 0 0 1-.958.259H8.198l-.035.028-3.32 2.65c-.212.164-.528.142-.734-.036a.64.64 0 0 1-.182-.665l.744-2.018h-.262a1.86 1.86 0 0 1-.847-.199l-.111-.061c-.29-.171-.522-.403-.692-.693a1.86 1.86 0 0 1-.259-.957V5.409a1.86 1.86 0 0 1 .259-.957c.17-.29.403-.522.692-.693a1.86 1.86 0 0 1 .958-.259h7.182zm0 .809H4.409a1.05 1.05 0 0 0-.546.147c-.171.101-.304.234-.405.405s-.147.348-.147.548v4.352c0 .199.049.38.147.548s.234.305.405.405a1.05 1.05 0 0 0 .546.147h1.424l-.201.544-.689 1.868.056-.044.555-.443.721-.575 1.386-1.107.142-.113.111-.089h3.678a1.05 1.05 0 0 0 .546-.147c.17-.1.303-.234.404-.408a1.08 1.08 0 0 0 .149-.555V5.409c0-.199-.049-.38-.147-.548s-.234-.305-.405-.405a1.05 1.05 0 0 0-.546-.147zm-3.557.755c.051-.001.097.03.114.078l.598 1.428 1.552.124c.05.003.093.037.107.085l.019.061c.017.047.002.099-.036.131L9.218 7.974l.36 1.506c.012.048-.006.099-.046.129l-.07.039c-.041.028-.095.028-.136 0l-1.322-.8-1.329.807c-.041.028-.095.028-.136 0l-.053-.036c-.04-.03-.058-.08-.046-.129l.35-1.515L5.617 6.97c-.041-.03-.059-.082-.044-.131l.019-.061c.014-.048.057-.082.107-.085l1.552-.124.595-1.428c.018-.044.059-.074.106-.078h.081z"}),pe="site-reviews/summary",ue="0 0 16 16",ve=()=>(0,g.jsx)("path",{d:"M12.61 11.42c.215 0 .39.177.39.395v.79c0 .218-.174.395-.39.395H3.39c-.215 0-.39-.177-.39-.395v-.79c0-.218.174-.395.39-.395h9.221zm-.272.564H5.025c-.052 0-.093.034-.093.075v.301c0 .042.042.075.093.075h7.313c.052 0 .093-.034.093-.075v-.301c0-.042-.042-.075-.093-.075zm.272-2.596c.215 0 .39.177.39.395v.79c0 .218-.174.395-.39.395H3.39c-.215 0-.39-.177-.39-.395v-.79c0-.218.174-.395.39-.395h9.221zm-.279.626H6.396c-.056 0-.101.034-.101.075v.301c0 .042.045.075.101.075h5.935c.056 0 .101-.034.101-.075v-.301c0-.042-.045-.075-.101-.075zm.279-2.657c.215 0 .39.177.39.395v.79c0 .218-.174.395-.39.395H3.39c-.215 0-.39-.177-.39-.395v-.79c0-.218.174-.395.39-.395h9.221zm-.292.564h-1.364c-.063 0-.114.034-.114.075v.301c0 .042.051.075.114.075h1.364c.063 0 .114-.034.114-.075v-.301c0-.042-.051-.075-.114-.075zm-7-5.267l-.044.884-1.725.033v.971c.044-.022.088-.044.143-.055l.176-.044.092-.015.042-.005.041-.002c.055 0 .121-.011.176-.011.231 0 .429.033.593.098s.297.153.407.273a1.15 1.15 0 0 1 .253.393 1.34 1.34 0 0 1 .077.458c0 .207-.033.393-.11.557s-.187.295-.33.404-.275.186-.451.24-.341.076-.516.076c-.187 0-.352-.022-.484-.065s-.264-.109-.363-.175-.165-.153-.22-.24A.48.48 0 0 1 3 6.169c0-.055.011-.109.033-.164s.044-.087.077-.131.077-.065.121-.098.099-.033.154-.033a.37.37 0 0 1 .165.033.43.43 0 0 1 .11.087c.018.017.029.038.037.06l.018.06c.011.044.022.076.022.12 0 .033 0 .065-.011.109s-.033.076-.055.109c.011.033.044.065.066.087s.077.044.11.065.088.033.132.044.088.011.121.011a.58.58 0 0 0 .286-.065c.077-.044.132-.109.187-.186s.077-.153.099-.24a1.18 1.18 0 0 0 .033-.284v-.186c0-.065-.011-.131-.033-.196-.011-.076-.033-.142-.055-.207a.5.5 0 0 0-.121-.175c-.044-.044-.11-.098-.176-.131s-.165-.055-.275-.055c-.077 0-.176.022-.286.044s-.242.087-.374.164l-.231-.186-.022-1.823H4.56c.066 0 .121 0 .165-.011s.099-.022.143-.055.055-.055.077-.109a.45.45 0 0 0 .033-.175h.341zM8.078 2.5c.049-.001.093.029.11.074l.575 1.366 1.492.118c.048.003.089.035.103.081l.019.058c.016.045.002.095-.035.125l-1.126.96.346 1.441c.011.046-.006.095-.044.123l-.068.037c-.04.027-.091.027-.131 0l-1.27-.765-1.277.772c-.04.027-.091.027-.131 0l-.051-.035c-.038-.028-.056-.077-.044-.123l.336-1.45-1.126-.96c-.039-.029-.056-.079-.042-.125l.019-.058c.014-.046.055-.078.103-.081l1.492-.118.572-1.366c.017-.043.057-.071.102-.074h.078z"});(0,l.addFilter)("divi.iconLibrary.icon.map","site-reviews/divi",e=>Object.assign(Object.assign({},e),{[Z]:n,[te]:i,[re]:r,[de]:s,[pe]:a})),(0,l.addAction)("divi.moduleLibrary.registerModuleLibraryStore.after","site-reviews/divi",()=>{(0,c.registerFolder)({category:"module",icon:te,name:"site-reviews",path:"",title:"Site Reviews"}),(0,c.registerModule)(F.metadata,(0,d.omit)(F,"metadata")),(0,c.registerModule)(V.metadata,(0,d.omit)(V,"metadata")),(0,c.registerModule)(q.metadata,(0,d.omit)(q,"metadata")),(0,c.registerModule)(K.metadata,(0,d.omit)(K,"metadata"))})},816:function(e){e.exports=vendor.React}},t={};function n(e){var i=t[e];if(void 0!==i)return i.exports;var r=t[e]={exports:{}};return o[e](r,r.exports,n),r.exports}n.m=o,e=[],n.O=function(o,t,i,r){if(!t){var s=1/0;for(c=0;c<e.length;c++){t=e[c][0],i=e[c][1],r=e[c][2];for(var a=!0,d=0;d<t.length;d++)(!1&r||s>=r)&&Object.keys(n.O).every(function(e){return n.O[e](t[d])})?t.splice(d--,1):(a=!1,r<s&&(s=r));if(a){e.splice(c--,1);var l=i();void 0!==l&&(o=l)}}return o}r=r||0;for(var c=e.length;c>0&&e[c-1][2]>r;c--)e[c]=e[c-1];e[c]=[t,i,r]},n.d=function(e,o){if(Array.isArray(o))for(var t=0;t<o.length;){var i=o[t++],r=o[t++];n.o(e,i)?0===r&&t++:0===r?Object.defineProperty(e,i,{enumerable:!0,value:o[t++]}):Object.defineProperty(e,i,{enumerable:!0,get:r})}else for(var i in o)n.o(o,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:o[i]})},n.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e={23:0,935:0};n.O.j=function(o){return 0===e[o]};var o=function(o,t){var i,r,s=t[0],a=t[1],d=t[2],l=0;if(s.some(function(o){return 0!==e[o]})){for(i in a)n.o(a,i)&&(n.m[i]=a[i]);if(d)var c=d(n)}for(o&&o(t);l<s.length;l++)r=s[l],n.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return n.O(c)},t=self.webpackChunk=self.webpackChunk||[];t.forEach(o.bind(null,0)),t.push=o.bind(null,t.push.bind(t))}();var i=n.O(void 0,[935],function(){return n(914)});i=n.O(i)}();