shell bypass 403
!function(){"use strict";var e,t={373:function(e,t,o){o.d(t,{cR:function(){return x},zZ:function(){return k},fS:function(){return f},JC:function(){return w},Aw:function(){return C},k2:function(){return S},_b:function(){return T},HZ:function(){return g.A},BS:function(){return A},ux:function(){return L},fW:function(){return R.A},Kl:function(){return N.A},Cu:function(){return l.C},R7:function(){return I},PJ:function(){return O.A},$T:function(){return s.A},Ky:function(){return H},k3:function(){return V.A},dS:function(){return E},Rd:function(){return $.R},T$:function(){return J},ax:function(){return Z},l:function(){return m.A}});var l=o(2453),s=o(1749),a=o(7723),i=o(6427),r=o(7143),n=window.wp.htmlEntities,c=o(790),d=o(7650),b=o(6087),u=o(3349),p=o(4715),h=o(9491),g=o(5669),m=o(7711);const y=({backgroundType:e,backgroundColor:t,image:o,gradient:l,backgroundAttachment:s,backgroundRepeat:r,backgroundSize:n,focalPoint:d,changeImage:k,changeColor:x,removeImage:f,changeBackgroundType:v,changeGradient:_,changeBackgroundAttachment:w,changeBackgroundRepeat:C,changeBackgroundSize:j,changeFocalPoint:S})=>{const T=`inspector-background-selector-control-${(0,h.useInstanceId)(y)}`;return(0,c.jsxs)("div",{id:T,className:"components-base-control o-background-selector-control",children:[(0,c.jsx)(m.A,{value:e,options:[{label:(0,a.__)("Color","otter-blocks"),value:"color"},{label:(0,a.__)("Image","otter-blocks"),value:"image"},{label:(0,a.__)("Gradient","otter-blocks"),value:"gradient"}],onChange:v}),("color"===e||void 0===e)&&(0,c.jsx)(p.__experimentalColorGradientControl,{label:(0,a.__)("Background Color","otter-blocks"),colorValue:t,onColorChange:x}),"image"===e&&(o?.url?(0,c.jsxs)(b.Fragment,{children:[(0,c.jsx)(i.FocalPointPicker,{label:(0,a.__)("Focal point picker","otter-blocks"),url:o.url,value:d,onDragStart:S,onDrag:S,onChange:S}),(0,c.jsx)("div",{className:"o-background-image-manage",children:(0,c.jsx)(p.MediaReplaceFlow,{name:(0,a.__)("Manage Image","otter-blocks"),mediaURL:o.url,mediaId:o?.id,accept:"image/*",allowedTypes:["image"],onSelect:k,children:(0,c.jsx)(i.MenuItem,{icon:u.A,onClick:f,children:(0,a.__)("Clear Image","otter-blocks")})})}),(0,c.jsxs)(g.A,{label:(0,a.__)("Background Settings","otter-blocks"),children:[(0,c.jsx)(i.SelectControl,{label:(0,a.__)("Background Attachment","otter-blocks"),value:s,options:[{label:(0,a.__)("Scroll","otter-blocks"),value:"scroll"},{label:(0,a.__)("Fixed","otter-blocks"),value:"fixed"},{label:(0,a.__)("Local","otter-blocks"),value:"local"}],onChange:w}),(0,c.jsx)(i.SelectControl,{label:(0,a.__)("Background Repeat","otter-blocks"),value:r,options:[{label:(0,a.__)("Repeat","otter-blocks"),value:"repeat"},{label:(0,a.__)("No-repeat","otter-blocks"),value:"no-repeat"}],onChange:C}),(0,c.jsx)(i.SelectControl,{label:(0,a.__)("Background Size","otter-blocks"),value:n,options:[{label:(0,a.__)("Auto","otter-blocks"),value:"auto"},{label:(0,a.__)("Cover","otter-blocks"),value:"cover"},{label:(0,a.__)("Contain","otter-blocks"),value:"contain"}],onChange:j})]})]}):(0,c.jsxs)(b.Fragment,{children:[(0,c.jsx)("br",{}),(0,c.jsx)(p.MediaPlaceholder,{icon:"format-image",labels:{title:(0,a.__)("Background Image","otter-blocks"),name:(0,a.__)("an image","otter-blocks")},value:o?.id,onSelect:k,accept:"image/*",allowedTypes:["image"]})]})),"gradient"===e&&(0,c.jsx)(p.__experimentalColorGradientControl,{label:(0,a.__)("Background Gradient","otter-blocks"),gradientValue:l,disableCustomColors:!0,onGradientChange:_,clearable:!1})]})};var k=y,x=({backgroundType:e,backgroundColor:t,image:o,gradient:l,backgroundAttachment:s,backgroundRepeat:r,backgroundSize:n,focalPoint:d,backgroundOpacity:u,backgroundFilterBlur:p,backgroundFilterBrightness:h,backgroundFilterContrast:m,backgroundFilterGrayscale:y,backgroundFilterHue:x,backgroundFilterSaturate:f,backgroundBlend:v,changeImage:_,changeColor:w,removeImage:C,changeBackgroundType:j,changeGradient:S,changeBackgroundAttachment:T,changeBackgroundRepeat:B,changeBackgroundSize:M,changeFocalPoint:P,changeOpacity:z,changeFilterBlur:A,changeFilterBrightness:F,changeFilterContrast:L,changeFilterGrayscale:R,changeFilterHue:N,changeFilterSaturate:I,changeBlend:O})=>(0,c.jsxs)(b.Fragment,{children:[(0,c.jsx)(k,{backgroundType:e,backgroundColor:t,image:o,gradient:l,focalPoint:d,backgroundAttachment:s,backgroundRepeat:r,backgroundSize:n,changeBackgroundType:j,changeImage:_,removeImage:C,changeColor:w,changeGradient:S,changeBackgroundAttachment:T,changeBackgroundRepeat:B,changeFocalPoint:P,changeBackgroundSize:M}),(0,c.jsx)(i.RangeControl,{label:(0,a.__)("Overlay Opacity","otter-blocks"),value:u,onChange:z,min:0,max:100}),(0,c.jsx)(i.SelectControl,{label:(0,a.__)("Blend Mode","otter-blocks"),value:v,options:[{label:(0,a.__)("Normal","otter-blocks"),value:"normal"},{label:(0,a.__)("Multiply","otter-blocks"),value:"multiply"},{label:(0,a.__)("Screen","otter-blocks"),value:"screen"},{label:(0,a.__)("Overlay","otter-blocks"),value:"overlay"},{label:(0,a.__)("Darken","otter-blocks"),value:"darken"},{label:(0,a.__)("Lighten","otter-blocks"),value:"lighten"},{label:(0,a.__)("Color Dodge","otter-blocks"),value:"color-dodge"},{label:(0,a.__)("Color Burn","otter-blocks"),value:"color-burn"},{label:(0,a.__)("Hard Light","otter-blocks"),value:"hard-light"},{label:(0,a.__)("Soft Light","otter-blocks"),value:"soft-light"},{label:(0,a.__)("Difference","otter-blocks"),value:"difference"},{label:(0,a.__)("Exclusion","otter-blocks"),value:"exclusion"},{label:(0,a.__)("Hue","otter-blocks"),value:"hue"},{label:(0,a.__)("Saturation","otter-blocks"),value:"saturation"},{label:(0,a.__)("Color","otter-blocks"),value:"color"},{label:(0,a.__)("Luminosity","otter-blocks"),value:"luminosity"}],onChange:O}),(0,c.jsxs)(g.A,{label:(0,a.__)("Opacity & Filters","otter-blocks"),children:[(0,c.jsx)(i.RangeControl,{label:(0,a.__)("Blur","otter-blocks"),value:p,onChange:A,min:0,max:100}),(0,c.jsx)(i.RangeControl,{label:(0,a.__)("Brightness","otter-blocks"),value:h,onChange:F,min:0,max:100}),(0,c.jsx)(i.RangeControl,{label:(0,a.__)("Contrast","otter-blocks"),value:m,onChange:L,min:0,max:100}),(0,c.jsx)(i.RangeControl,{label:(0,a.__)("Grayscale","otter-blocks"),value:y,onChange:R,min:0,max:100}),(0,c.jsx)(i.RangeControl,{label:(0,a.__)("Hue","otter-blocks"),value:x,onChange:N,min:0,max:360}),(0,c.jsx)(i.RangeControl,{label:(0,a.__)("Saturation","otter-blocks"),value:f,onChange:I,min:0,max:100})]})]}),f=({boxShadow:e,onChange:t})=>(0,c.jsx)(g.A,{label:(0,a.__)("Shadow Settings","otter-blocks"),attributes:e,setAttributes:t,resetValues:{active:!1,color:void 0,colorOpacity:50,blur:5,spread:1,horizontal:0,vertical:0},onClick:()=>t({active:!0}),children:(0,c.jsxs)(b.Fragment,{children:[(0,c.jsx)(p.__experimentalColorGradientControl,{label:(0,a.__)("Shadow Color","otter-blocks"),colorValue:e.color,onColorChange:e=>t({color:e})}),(0,c.jsx)(i.RangeControl,{label:(0,a.__)("Opacity","otter-blocks"),value:e.colorOpacity,onChange:e=>t({colorOpacity:e}),min:0,max:100}),(0,c.jsx)(i.RangeControl,{label:(0,a.__)("Blur","otter-blocks"),value:e.blur,onChange:e=>t({blur:e}),min:0,max:100}),(0,c.jsx)(i.RangeControl,{label:(0,a.__)("Spread","otter-blocks"),value:e.spread,onChange:e=>t({spread:e}),min:-100,max:100}),(0,c.jsx)(i.RangeControl,{label:(0,a.__)("Horizontal","otter-blocks"),value:e.horizontal,onChange:e=>t({horizontal:e}),min:-100,max:100}),(0,c.jsx)(i.RangeControl,{label:(0,a.__)("Vertical","otter-blocks"),value:e.vertical,onChange:e=>t({vertical:e}),min:-100,max:100})]})}),v=o(6942),_=o.n(v),w=({label:e,indicator:t,children:o})=>(0,c.jsx)(i.Dropdown,{popoverProps:{placement:"left-start",offset:36,shift:!0},className:"o-button-dropdown-control",contentClassName:"o-button-dropdown-control-content",renderToggle:({isOpen:o,onToggle:l})=>(0,c.jsxs)(i.Button,{className:_()("o-button-dropdown-control-button",{"is-open":o}),onClick:l,"aria-expanded":o,children:[(0,c.jsx)(i.ColorIndicator,{colorValue:t}),e]}),renderContent:()=>(0,c.jsx)("div",{className:"block-editor-block-inspector",children:o})}),C=({label:e,help:t,options:o,value:l,onChange:s})=>(0,c.jsx)(i.BaseControl,{label:e,help:t,children:(0,c.jsx)("div",{className:"o-button-toggle",children:o.map((e=>(0,c.jsx)(i.Button,{className:_()("o-button-toggle__item",{"is-active":e.value===l}),variant:"secondary",label:e.label,"aria-current":e.value===l,onClick:()=>s(e.value),children:e.label},e.value)))})}),j=o(8468),S=({values:e,setAttributes:t})=>(0,c.jsx)("div",{className:"o-clear-button",children:(0,c.jsx)(i.Button,{isSmall:!0,isSecondary:!0,onClick:()=>{const o=((0,j.isArray)(e)?e:[e]).map((e=>{if((0,j.isString)(e))return e;if((0,j.isObject)(e)){const t=Object.keys(e);if(1===t.length)return e[t[0]]?t[0]:void 0}})).filter(j.isString).reduce(((e,t)=>(e[t]=void 0,e)),{});t(o)},children:(0,a.__)("Clear","otter-blocks")})}),T=({label:e,colorValue:t,gradientValue:o,onColorChange:l,onGradientChange:s,className:a})=>(0,c.jsx)(i.Dropdown,{popoverProps:{placement:"left-start",offset:36,shift:!0},className:_()("o-color-dropdown-control",a),contentClassName:"o-color-dropdown-control-content",renderToggle:({isOpen:l,onToggle:s})=>(0,c.jsxs)(i.Button,{className:_()("o-color-dropdown-control-button",{"is-open":l}),onClick:s,"aria-expanded":l,children:[(0,c.jsx)(i.ColorIndicator,{colorValue:null!=t?t:o}),e]}),renderContent:()=>(0,c.jsx)(p.__experimentalColorGradientControl,{colorValue:t,onColorChange:l,gradientValue:o,onGradientChange:s})}),B=o(832),M=o.n(B),P=o(5617);const z=({label:e,value:t,valueVariant:o,valueStyle:l,valueTransform:s,isSelect:r=!1,onChangeFontFamily:n,onChangeFontVariant:d,onChangeFontStyle:u,onChangeTextTransform:p})=>{const g=(0,h.useInstanceId)(z);(0,b.useEffect)((()=>{P.A.afterLoading().then((e=>{y(e.fonts),t&&x(e.getVariants(t))}))}),[]);const[m,y]=(0,b.useState)(null),[k,x]=(0,b.useState)(null),[f,v]=(0,b.useState)(""),w=`inspector-google-fonts-control-${g}`;return(0,c.jsxs)("div",{className:"o-gfont-control",children:[(0,c.jsx)(i.BaseControl,{label:e,id:w,children:null!==m?r?(0,c.jsx)(i.SelectControl,{value:t||"",id:w,options:[{label:(0,a.__)("Default","otter-blocks"),value:""},...m.map((e=>({label:e.family,value:e.family})))],onChange:e=>{let t=[];if(loadFontToPage(e,"regular",m),""===e)return t=[{label:(0,a.__)("Regular","otter-blocks"),value:"regular"},{label:(0,a.__)("Italic","otter-blocks"),value:"italic"}],n(void 0),void x(t);n(e),t=m.find((t=>e===t.family)).variants.filter((e=>!1===e.includes("italic"))).map((e=>({label:(0,j.startCase)((0,j.toLower)(e)),value:e}))),x(t)}}):(0,c.jsx)(i.Dropdown,{contentClassName:"o-gfont-popover",position:"bottom center",renderToggle:({isOpen:e,onToggle:o})=>(0,c.jsx)(i.Button,{className:"o-gfont-button",id:w,onClick:o,"aria-expanded":e,children:t||(0,a.__)("Select Font Family","otter-blocks")}),renderContent:({onToggle:e})=>(0,c.jsxs)(i.MenuGroup,{label:(0,a.__)("Google Fonts","otter-blocks"),children:[(0,c.jsx)(i.TextControl,{value:f,onChange:e=>v(e)}),(0,c.jsxs)("div",{className:"components-popover__items",children:[(0,c.jsx)(i.MenuItem,{onClick:()=>{e(),n(void 0),x([]),v("")},children:(0,a.__)("Default","otter-blocks")}),m.map(((o,l)=>!f||o.family.toLowerCase().includes(f.toLowerCase())?(0,c.jsx)(i.MenuItem,{className:_()({"is-selected":o.family===t}),onClick:()=>{e(),n(o.family);const t=o.variants.filter((e=>!1===e.includes("italic"))).map((e=>({label:(0,j.startCase)((0,j.toLower)(e)),value:e})));x(t),v("")},children:(0,c.jsx)(M(),{onChange:e=>{e&&P.A.addPreviewFont(o.family,o.family)},children:(0,c.jsx)("div",{style:{fontFamily:o.family},children:o.family})})},l):null))]})]})}):(0,a.__)("Loading…","otter-blocks")}),k&&(0,c.jsx)(i.SelectControl,{label:(0,a.__)("Font Weight","otter-blocks"),value:o||"regular",options:k,onChange:d}),(0,c.jsx)(i.SelectControl,{label:(0,a.__)("Font Style","otter-blocks"),value:l,options:[{label:(0,a.__)("Regular","otter-blocks"),value:"normal"},{label:(0,a.__)("Italic","otter-blocks"),value:"italic"}],onChange:u}),(0,c.jsx)(i.SelectControl,{label:(0,a.__)("Font Transform","otter-blocks"),value:s,options:[{label:(0,a.__)("Default","otter-blocks"),value:"none"},{label:(0,a.__)("Uppercase","otter-blocks"),value:"uppercase"},{label:(0,a.__)("Lowercase","otter-blocks"),value:"lowercase"},{label:(0,a.__)("Capitalize","otter-blocks"),value:"capitalize"}],onChange:p})]})};var A=z;const F=({value:e,onChange:t})=>{const o=(0,h.useInstanceId)(F);(0,b.useEffect)((()=>n(e)),[e]);const[l,s]=(0,b.useState)(!1),[r,n]=(0,b.useState)(null),d=void 0!==window.themeisleGutenberg.blockIDs&&e!==r&&window.themeisleGutenberg.blockIDs.includes(r);return(0,c.jsxs)(p.InspectorAdvancedControls,{children:[(0,c.jsx)(i.BaseControl,{label:(0,a.__)("HTML Anchor","otter-blocks"),help:(0,a.__)("Anchors lets you link directly to a section on a page.","otter-blocks"),id:`o-html-anchor-control-${o}`,children:(0,c.jsxs)("div",{className:"o-html-anchor-control",children:[(0,c.jsx)("input",{type:"text",className:"o-html-anchor-control-input",readOnly:!l&&"readonly",value:l?r:e,onChange:e=>n(e.target.value),onClick:e=>e.target.select()}),(0,c.jsx)(i.Button,{icon:l?"yes":"edit",label:l?(0,a.__)("Save","otter-blocks"):(0,a.__)("Edit","otter-blocks"),showTooltip:!0,disabled:d||!r,className:_()("o-html-anchor-control-button",{"is-saved":!l}),onClick:()=>{if(l&&e!==r){const o=window.themeisleGutenberg.blockIDs.findIndex((t=>t===e));window.themeisleGutenberg.blockIDs[o]=r,t(r)}s(!l)}})]})}),d&&(0,c.jsx)(i.Notice,{status:"warning",isDismissible:!1,className:"o-html-anchor-control-notice",children:(0,a.__)("This ID has already been used in this page. Please consider using a different ID to avoid conflict.","otter-blocks")}),!r&&(0,c.jsx)(i.Notice,{status:"warning",isDismissible:!1,className:"o-html-anchor-control-notice",children:(0,a.__)("Please enter an ID to use as an anchor.","otter-blocks")})]})};var L=F,R=o(2049),N=o(9476),I=({value:e,options:t,onChange:o})=>(0,c.jsx)(i.PanelBody,{className:"o-inspector-header",children:t.map(((t,l)=>(0,c.jsx)(i.Button,{className:_()({"is-active":t.value===e}),onClick:()=>o(t.value),children:t.label},l)))}),O=o(5198),H=({label:e,onDelete:t,children:o,initialOpen:l=!1})=>{const[s,r]=(0,b.useState)(l);return(0,c.jsxs)("div",{className:"o-panel-tab",children:[(0,c.jsxs)("div",{className:"o-panel-tab__header",children:[(0,c.jsx)("div",{className:"o-panel-tab__header__label",children:e}),(0,c.jsx)(i.Button,{icon:s?"arrow-up-alt2":"arrow-down-alt2",label:s?(0,a.__)("Close Settings","otter-blocks"):(0,a.__)("Open Settings","otter-blocks"),showTooltip:!0,onClick:()=>r(!s)}),(0,c.jsx)(i.Button,{icon:"no-alt",label:(0,a.__)("Delete","otter-blocks"),showTooltip:!0,onClick:t})]}),s&&(0,c.jsx)("div",{className:"o-panel-tab__content",children:o})]})},V=o(9815),D=o(5317);const G=({label:e,value:t,onChange:o,help:l="",allowRawHTML:s=!1,area:a=""})=>{const r=(0,h.useInstanceId)(G),n=(0,b.useRef)(null),d=()=>{void 0!==n?.current?.id&&wp.oldEditor.remove(n.current.id)};(0,b.useEffect)((()=>{const e={classic_block_editor:!0,plugins:"lists,media,paste,tabfocus,wordpress,wpautoresize,wpeditimage,wpgallery,wplink,wpdialogs,wptextpattern,wpview",toolbar1:"formatselect,bold,italic,bullist,numlist,alignleft,aligncenter,alignright,link,unlink,spellchecker,wp_add_media"};s&&(e.force_p_newlines=!1,e.forced_root_block=""),wp.oldEditor.initialize(n.current.id,{tinymce:{...e}});const t=window.tinymce.get(n.current.id);return t.on("change",(()=>{o(s?(0,D.Lt)(t.getContent()):t.getContent())})),d}),[]);const u=`inspector-textarea-control-${r}-${a}`;return(0,c.jsx)(i.BaseControl,{id:u,label:e,help:l,children:(0,c.jsx)("textarea",{id:u,className:"components-textarea-control__input",rows:4,value:t,onChange:e=>o(e.target.value),ref:n})})};var E=G,$=o(3050),W=o(8169),U=o(8351);const q=()=>{};var Z=({isSynced:e=[],options:t,setAttributes:o})=>{const{enableComplementaryArea:l}=(0,r.useDispatch)("core/interface");return 0===t.length?null:(0,c.jsxs)(i.__experimentalHStack,{className:"o-sync-manage-control",children:[(0,c.jsx)(i.__experimentalHeading,{children:(0,a.__)("Sync with Global Defaults","otter-blocks")}),(0,c.jsx)(i.DropdownMenu,{icon:W.A,label:(0,a.__)("View options","otter-blocks"),toggleProps:{isSmall:!0},children:({onClose:s=q})=>(0,c.jsxs)(b.Fragment,{children:[(0,c.jsx)(i.MenuGroup,{children:t.filter((e=>!e?.isHidden)).map((t=>{const l=e.includes(t.value);return(0,c.jsx)(i.MenuItem,{icon:l&&U.A,isSelected:l,label:t.label,onClick:()=>(t=>{let l=[...e||[]];const s=e?.includes(t);if(s){const e=l.indexOf(t);-1!==e&&l.splice(e,1)}else l.push(t);0===l.length&&(l=void 0),o({isSynced:l})})(t.value),role:"menuitemcheckbox",children:t.label},t.value)}))}),(0,c.jsxs)(i.MenuGroup,{children:[(0,c.jsx)(i.MenuItem,{onClick:()=>l("core/edit-post","themeisle-blocks/otter-options"),children:(0,a.__)("Manage Global Defaults","otter-blocks")}),(0,c.jsx)(i.MenuItem,{variant:"tertiary",onClick:()=>{(()=>{const l=[...e||[]];t.forEach((t=>{e?.includes(t.value)||l.push(t.value)})),o({isSynced:l})})(),s()},children:(0,a.__)("Apply all","otter-blocks")}),(0,c.jsx)(i.MenuItem,{variant:"tertiary",onClick:()=>{(()=>{let l=[...e||[]];t.forEach((t=>{if(e?.includes(t.value)){const e=l?.indexOf(t.value);void 0!==e&&-1!==e&&l?.splice(e,1)}})),0===l.length&&(l=void 0),o({isSynced:l})})(),s()},children:(0,a.__)("Reset all","otter-blocks")})]})]})})]})},J=e=>{const{label:t,initialOpen:o=!1,isSynced:l,options:s,setAttributes:a,children:r}=e;return(0,c.jsxs)(i.PanelBody,{title:t,initialOpen:o,className:"o-sync-color-panel",children:[(0,c.jsx)(Z,{isSynced:l,options:s?.map((e=>({label:e.label,value:e.slug}))),setAttributes:a}),s.map(((e,t)=>(0,c.jsx)(i.Disabled,{isDisabled:l?.includes(e.slug)||!1,className:"o-disabled",children:(0,c.jsx)(T,{label:e.label,colorValue:e.value,onColorChange:t=>a({[e.slug]:t}),className:_()("is-list",{"is-first":0===t})})},t))),r]})};o(8619),window.otterComponents={},window.otterComponents.SelectProducts=({label:e,value:t,onChange:o,...l})=>{const{results:s,status:d,isLoading:b}=(0,r.useSelect)((e=>{let t=[],o="loading";const{COLLECTIONS_STORE_KEY:l}=window.wc.wcBlocksData;var s;return e(l).getCollectionError("/wc/store","products",{per_page:0})?o="error":(t="error"===o?[]:(null!==(s=e(l).getCollection?.("/wc/store","products",{per_page:0}))&&void 0!==s?s:[])?.map((e=>({value:e.id,label:(0,n.decodeEntities)(e.name)}))),o="loaded",t=[{value:0,label:(0,a.__)("None","otter-blocks")},...t]),{results:t,status:o,isLoading:e(l).isResolving("getCollection",["/wc/store","products",{per_page:0}])}}),[]);return b?(0,c.jsx)(i.Placeholder,{children:(0,c.jsx)(i.Spinner,{})}):"error"===d?(0,c.jsx)("p",{children:(0,a.__)("There seems to have been an error","otter-blocks")}):(0,c.jsx)(i.SelectControl,{label:e,value:Number(t),options:s,onChange:e=>o(Number(e)),...l})},window.otterComponents.Notice=s.A,window.otterComponents.useInspectorSlot=l.F,window.otterComponents.CategoriesFieldToken=d.M},790:function(e){e.exports=window.ReactJSXRuntime},876:function(e){e.exports=window.wp.richText},886:function(e,t,o){var l=o(5863),s=o.n(l),a=o(7723),i=o(7143),r=o(6087);let n={};t.A=()=>{const{createNotice:e}=(0,i.dispatch)("core/notices"),[t,o]=(0,r.useState)("loading"),[l,c]=(0,r.useState)({});return(0,i.useSelect)((e=>{if(Object.keys(l).length)return;const{getEntityRecord:t}=e("core"),s=t("root","site");s&&(o("loaded"),c(s))}),[l]),[e=>n?.[e]||l?.[e],(t,l,i=(0,a.__)("Settings saved.","otter-blocks"),r=void 0,d=()=>{},b=()=>{})=>{o("saving");const u=new(s().models.Settings)({[t]:l}).save();u.success(((t,l)=>{"success"===l&&(o("loaded"),e("success",i,{isDismissible:!0,type:"snackbar",id:r})),"error"===l&&(o("error"),e("error",(0,a.__)("An unknown error occurred.","otter-blocks"),{isDismissible:!0,type:"snackbar",id:r})),n=t,c(t),d?.(t)})),u.error((t=>{var l;o("error"),e("error",null!==(l=t?.responseJSON?.message)&&void 0!==l?l:(0,a.__)("An unknown error occurred.","otter-blocks"),{isDismissible:!0,type:"snackbar",id:r}),b?.(t)}))},t]}},1187:function(e,t,o){o.r(t),o.d(t,{StarFilled:function(){return H},StarHalf:function(){return V},accordionIcon:function(){return d},accordionItemIcon:function(){return b},aiGeneration:function(){return be},aiLayoutGeneratorIcon:function(){return he},alignBottom:function(){return ae},alignCenter:function(){return ie},alignTop:function(){return re},businessHoursIcon:function(){return O},buttonIcon:function(){return h},buttonsIcon:function(){return p},cartIcon:function(){return I},check:function(){return D},circleIcon:function(){return g},close:function(){return G},cols112:function(){return Z},cols12:function(){return W},cols121:function(){return K},cols131:function(){return Y},cols21:function(){return U},cols211:function(){return J},cols2Equal:function(){return $},cols2Grid:function(){return le},cols3Equal:function(){return q},cols3Grid:function(){return se},cols4Equal:function(){return Q},cols5Equal:function(){return X},cols6Equal:function(){return oe},colsCollapsed:function(){return ee},colsFull:function(){return E},columnIcon:function(){return z},columnsIcon:function(){return P},comparisonTableIcon:function(){return ge},contentAiGenerationIcon:function(){return pe},countdownIcon:function(){return m},faIcon:function(){return k},flipIcon:function(){return y},formAiGeneration:function(){return ue},formFieldIcon:function(){return f},formIcon:function(){return x},googleMapIcon:function(){return v},headingIcon:function(){return u},heartFilledIcon:function(){return ye},heartIcon:function(){return me},iconListIcon:function(){return _},iconListItemIcon:function(){return w},lottieIcon:function(){return j},mapIcon:function(){return C},otterIcon:function(){return n},otterIconColored:function(){return c},popupIcon:function(){return S},popupScratch:function(){return ne},popupWithForm:function(){return ce},popupWithImageAndText:function(){return de},postsIcon:function(){return T},progressIcon:function(){return B},reviewIcon:function(){return M},rowsCollapsed:function(){return te},searchIcon:function(){return N},sharingIcon:function(){return A},sliderIcon:function(){return F},tabsIcon:function(){return L},tabsItemIcon:function(){return R},timelineIcon:function(){return ke}});var l=o(6942),s=o.n(l),a=o(5573),i=o(6427),r=o(790);const n=({className:e})=>(0,r.jsxs)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 29 32",width:"20",height:"20",className:s()("otter-icon",e),children:[(0,r.jsx)(a.Path,{d:"M19.831 7.877c0.001-0.003 0.001-0.005 0.001-0.009s-0-0.006-0.001-0.009l0 0c-0.047-0.081-0.092-0.164-0.132-0.247l-0.057-0.115c-0.277-0.498-0.381-0.99-1.033-1.064h-0.045c-0.001 0-0.002 0-0.003 0-0.486 0-0.883 0.382-0.908 0.862l-0 0.002c0.674 0.126 1.252 0.278 1.813 0.468l-0.092-0.027 0.283 0.096 0.147 0.053s0.028 0 0.028-0.011z"}),(0,r.jsx)(a.Path,{d:"M23.982 13.574c-0.008-2.41-0.14-4.778-0.39-7.112l0.026 0.299 0.070-0.019c0.459-0.139 0.787-0.558 0.787-1.053 0-0.479-0.307-0.887-0.735-1.037l-0.008-0.002h-0.026c-0.479-0.164-0.874-0.468-1.149-0.861l-0.005-0.007c-2.7-3.96-8.252-3.781-8.252-3.781s-5.55-0.179-8.25 3.781c-0.28 0.401-0.676 0.704-1.14 0.862l-0.016 0.005c-0.441 0.148-0.754 0.557-0.754 1.040 0 0.009 0 0.017 0 0.026l-0-0.001c-0 0.010-0.001 0.022-0.001 0.034 0 0.493 0.335 0.907 0.789 1.029l0.007 0.002 0.045 0.011c-0.224 2.034-0.356 4.403-0.364 6.801l-0 0.012s-9.493 13.012-1.277 17.515c4.733 2.431 6.881-0.769 6.881-0.769s1.397-1.661-1.784-3.355v-4.609c0.006-0.344 0.282-0.621 0.625-0.628h1.212v-0.59c0-0.275 0.223-0.498 0.498-0.498v0h1.665c0.274 0.001 0.496 0.224 0.496 0.498 0 0 0 0 0 0v0 0.59h2.721v-0.59c0-0.275 0.223-0.498 0.498-0.498v0h1.665c0.271 0.005 0.49 0.226 0.49 0.498 0 0 0 0 0 0v0 0.59h1.209c0 0 0 0 0 0 0.349 0 0.633 0.28 0.639 0.627v4.584c-3.193 1.703-1.784 3.355-1.784 3.355s2.148 3.193 6.879 0.769c8.222-4.503-1.269-17.515-1.269-17.515zM22.586 10.261c-0.097 1.461-0.67 2.772-1.563 3.797l0.007-0.008c-1.703 2.010-4.407 3.249-6.721 4.432v0c-2.325-1.177-5.026-2.416-6.736-4.432-0.883-1.019-1.455-2.329-1.555-3.769l-0.001-0.020c-0.126-2.22 0.583-5.929 3.044-6.74 2.416-0.788 3.947 1.288 4.494 2.227 0.152 0.258 0.429 0.428 0.745 0.428s0.593-0.17 0.743-0.424l0.002-0.004c0.551-0.932 2.080-3.008 4.494-2.22 2.474 0.805 3.174 4.513 3.046 6.734z"}),(0,r.jsx)(a.Path,{d:"M19.463 10.087h-0.028c-0.192 0.026-0.121 0.251-0.047 0.356 0.254 0.349 0.407 0.787 0.407 1.26 0 0.006-0 0.012-0 0.018v-0.001c-0.001 0.469-0.255 0.878-0.633 1.1l-0.006 0.003c-0.739 0.426-1.377-0.145-2.054-0.398-0.72-0.269-1.552-0.434-2.42-0.455l-0.009-0v-1.033c1.020-0.233 1.894-0.76 2.551-1.486l0.004-0.004c0.151-0.163 0.244-0.383 0.244-0.623 0-0.316-0.159-0.595-0.402-0.76l-0.003-0.002c-0.768-0.551-1.728-0.881-2.764-0.881-1.054 0-2.029 0.341-2.819 0.92l0.013-0.009c-0.224 0.166-0.367 0.429-0.367 0.726 0 0.226 0.083 0.433 0.221 0.591l-0.001-0.001c0.665 0.751 1.55 1.295 2.553 1.53l0.033 0.007v1.050c-0.742 0.021-1.448 0.14-2.118 0.343l0.057-0.015c-0.341 0.103-0.631 0.219-0.908 0.358l0.033-0.015c-0.519 0.26-1.037 0.436-1.58 0.121-0.371-0.213-0.617-0.607-0.617-1.058 0-0.002 0-0.004 0-0.007v0c0-0.002 0-0.004 0-0.007 0-0.47 0.153-0.905 0.411-1.257l-0.004 0.006c0.047-0.068 0.089-0.17 0.026-0.241s-0.189 0-0.27 0.030c-0.189 0.099-0.348 0.227-0.479 0.381l-0.002 0.002c-0.245 0.296-0.394 0.679-0.394 1.097 0 0.004 0 0.007 0 0.011v-0.001c0.008 0.706 0.393 1.321 0.964 1.651l0.009 0.005c0.296 0.178 0.654 0.283 1.036 0.283 0.364 0 0.706-0.095 1.001-0.263l-0.010 0.005c0.877-0.461 1.917-0.731 3.019-0.731 0.069 0 0.137 0.001 0.206 0.003l-0.010-0h0.030c1.277 0 2.382 0.266 3.266 0.775 0.27 0.159 0.594 0.253 0.94 0.253 0.001 0 0.002 0 0.003 0h-0c0.355-0.002 0.688-0.098 0.974-0.265l-0.009 0.005c0.606-0.357 1.007-1.007 1.007-1.75 0-0.001 0-0.003 0-0.004v0c0.001-0.026 0.002-0.056 0.002-0.086 0-0.625-0.34-1.171-0.846-1.462l-0.008-0.004c-0.056-0.040-0.125-0.065-0.199-0.070l-0.001-0zM13.101 8.831c-0.238 0.213-0.468 0.581-0.832 0.345-0.061-0.041-0.114-0.086-0.161-0.136l-0-0c-0.063-0.063-0.101-0.15-0.101-0.247 0-0.133 0.074-0.248 0.182-0.308l0.002-0.001c0.594-0.309 1.203-0.543 1.884-0.49-0.324 0.281-0.649 0.56-0.973 0.837z"}),(0,r.jsx)(a.Path,{d:"M15.89 13.578c-0.367 0.483-0.941 0.792-1.588 0.792s-1.221-0.309-1.585-0.787l-0.004-0.005c-0.064-0.103-0.177-0.171-0.306-0.171-0.199 0-0.36 0.161-0.36 0.36 0 0.091 0.034 0.174 0.090 0.238l-0-0c0.499 0.659 1.283 1.080 2.164 1.080s1.665-0.421 2.159-1.073l0.005-0.007c0.043-0.059 0.068-0.132 0.068-0.212 0-0.116-0.055-0.22-0.14-0.286l-0.001-0.001c-0.059-0.045-0.134-0.072-0.215-0.072-0.117 0-0.221 0.056-0.286 0.143l-0.001 0.001z"}),(0,r.jsx)(a.Path,{d:"M18.507 11.707c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),(0,r.jsx)(a.Path,{d:"M17.389 11.049c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),(0,r.jsx)(a.Path,{d:"M10.798 11.707c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),(0,r.jsx)(a.Path,{d:"M11.918 11.049c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),(0,r.jsx)(a.Path,{d:"M8.773 7.877c-0.001-0.003-0.002-0.005-0.002-0.009s0.001-0.006 0.002-0.009l-0 0c0.047-0.081 0.089-0.164 0.132-0.247 0.019-0.038 0.036-0.079 0.057-0.115 0.275-0.498 0.379-0.99 1.033-1.064h0.045c0 0 0.001 0 0.001 0 0.487 0 0.884 0.382 0.91 0.862l0 0.002c-0.678 0.124-1.261 0.277-1.827 0.468l0.092-0.027-0.275 0.096-0.1 0.036-0.045 0.017s-0.023 0-0.023-0.011z"})]}),c=({className:e})=>(0,r.jsxs)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",className:s()("otter-icon",e),children:[(0,r.jsxs)(a.G,{children:[(0,r.jsx)(a.Path,{d:"M19.9877 9.42008C19.6369 9.61724 19.3785 10.0999 19.1922 10.38C19.3704 10.3719 19.6396 10.38 19.9061 10.3474C19.5651 12.7604 18.4405 14.9944 16.7053 16.7054C15.6732 17.7477 14.448 18.5791 13.098 19.1529C10.5336 20.2407 7.70811 20.2883 5.31094 19.2576C4.29167 18.8247 3.36554 18.1991 2.58336 17.4152C1.21259 16.0355 0.334714 14.2424 0.0855683 12.3136C0.478525 12.149 0.765424 11.6092 0.961223 11.3101C0.642655 11.3103 0.324535 11.334 0.00942443 11.3808C-0.100712 8.55259 1.00745 5.57482 3.29177 3.29186C6.55508 0.0285557 11.2379 -0.836221 14.8779 0.823987C14.7269 1.02115 14.6059 1.2319 14.4999 1.38827C14.7936 1.37195 15.3157 1.39643 15.6978 1.2523C16.0056 1.43293 16.3009 1.63418 16.5816 1.85465C16.515 1.95935 16.4456 2.05589 16.398 2.13747C16.534 2.13747 16.7135 2.13747 16.9106 2.12115C17.0833 2.26664 17.2533 2.42301 17.4151 2.58481C19.248 4.41906 20.0978 6.89102 19.9877 9.42008Z",fill:"#E8D3C9"}),(0,r.jsx)(a.Path,{d:"M4.32515 5.25665C3.92192 6.11059 3.77512 7.06318 3.90255 7.99889C4.02998 8.93461 4.42617 9.81325 5.04307 10.5283C5.78956 11.3645 6.80118 11.907 7.79105 12.4318C8.1473 12.6208 8.51714 12.8153 8.92097 12.8506C9.44718 12.8969 9.95843 12.6671 10.4167 12.406C11.5996 11.7357 12.6615 10.8016 13.3047 9.60365C13.9478 8.40574 14.1314 6.92774 13.6174 5.66864C13.3523 5.04048 12.9456 4.48207 12.429 4.03699C11.486 3.2291 10.2823 2.79004 9.04063 2.80101C8.43429 2.81396 7.83536 2.93698 7.273 3.16406C6.72912 3.36529 6.19611 3.39385 5.69166 3.70794C5.10339 4.08984 4.63083 4.62542 4.32515 5.25665Z",fill:"#D6AF99"}),(0,r.jsx)(a.Path,{d:"M13.1008 19.1488C12.6689 19.3318 12.2256 19.4867 11.7738 19.6125C11.5236 19.6832 11.2707 19.7485 11.0137 19.7933C10.9838 19.7933 10.9579 19.8042 10.928 19.8124C10.9172 19.811 10.9062 19.811 10.8954 19.8124C10.0118 19.9817 9.10938 20.0306 8.21268 19.9578C7.92865 19.9366 7.64591 19.9008 7.36558 19.8504C7.31397 19.8449 7.26269 19.8368 7.21193 19.826H7.19561L7.07732 19.8015C6.83665 19.7525 6.60006 19.6941 6.36483 19.6261C6.00688 19.5234 5.65582 19.398 5.31377 19.2508C5.24487 18.9778 5.20971 18.6975 5.20907 18.4159C5.15469 17.2072 5.10302 16.0024 5.05271 14.7937C5.01716 14.4481 5.04154 14.0989 5.12477 13.7616C5.18474 13.5696 5.28262 13.3916 5.41263 13.238C5.54264 13.0845 5.70213 12.9587 5.88165 12.8679C6.06118 12.7771 6.2571 12.7233 6.4578 12.7096C6.65851 12.6959 6.85992 12.7226 7.05012 12.7881C8.63555 12.5297 10.2726 12.2809 11.8336 12.6521C12.1926 12.7378 12.5692 12.8751 12.7772 13.181C12.9472 13.434 12.9689 13.7521 12.988 14.0567C13.0605 15.3104 13.133 16.5649 13.2055 17.8204C13.2327 18.2759 13.2545 18.7368 13.1008 19.1488Z",fill:"#F4816B"}),(0,r.jsx)(a.Path,{d:"M12.6452 8.15827C12.7187 7.47841 12.0361 6.85431 11.3535 6.93453C11.1316 6.97029 10.9165 7.04 10.7158 7.14121C10.5294 7.21597 10.3327 7.26182 10.1325 7.27718C9.81839 7.34244 9.5179 7.47841 9.2038 7.49745C8.93186 7.52056 8.57698 7.5532 8.31183 7.46346L7.57351 7.21599L7.40218 7.15344C7.2061 7.06715 6.99944 7.00725 6.7876 6.97532C6.01528 6.89782 5.30551 7.71228 5.5489 8.471C5.79229 9.22972 6.72777 9.36841 7.39403 9.18621C7.67413 9.11007 7.93791 8.99313 8.22345 8.92651C8.711 8.83154 9.21264 8.83523 9.69874 8.93739C10.1869 9.02169 10.6669 9.1495 11.1577 9.20933C11.7981 9.29363 12.4916 8.91563 12.6289 8.24801C12.6344 8.22082 12.6452 8.1909 12.6452 8.15827Z",fill:"#E8D3C9"}),(0,r.jsx)(a.Path,{d:"M8.21258 15.6802V19.966C7.92855 19.9448 7.64581 19.9089 7.36548 19.8586V15.6802C7.3657 15.5064 7.40363 15.3347 7.47663 15.1769C7.54964 15.0192 7.65599 14.8791 7.78835 14.7665C7.9211 14.8789 8.0278 15.0189 8.10106 15.1766C8.17432 15.3344 8.21237 15.5062 8.21258 15.6802Z",fill:"#D87768"}),(0,r.jsx)(a.Path,{d:"M11.7737 17.3839V19.6152C11.5235 19.6859 11.2706 19.7512 11.0136 19.7961C10.9837 19.7961 10.9579 19.8069 10.928 19.8151V17.3839C10.9282 16.9735 11.0787 16.5774 11.3508 16.2703C11.6236 16.5771 11.7741 16.9734 11.7737 17.3839Z",fill:"#F59085"}),(0,r.jsx)(a.Path,{d:"M7.89865 6.5035C7.82719 6.54284 7.76612 6.59863 7.72049 6.66625C7.67485 6.73387 7.64597 6.81138 7.63623 6.89238C7.6383 6.94844 7.65369 7.00321 7.68111 7.05215C7.70854 7.10109 7.74722 7.1428 7.79396 7.17384C7.88831 7.23528 7.99969 7.26527 8.11213 7.2595C8.30157 7.24621 8.4826 7.17608 8.63154 7.05826C8.78032 6.94126 8.91698 6.80962 9.03945 6.6653C9.0742 6.63585 9.10242 6.59948 9.12232 6.55851C9.14222 6.51754 9.15336 6.47287 9.15503 6.42736C9.12783 6.20164 8.78791 6.24379 8.62746 6.24243C8.36436 6.257 8.11116 6.3477 7.89865 6.5035Z",fill:"#E8D3C9"}),(0,r.jsx)(a.Path,{d:"M12.0756 6.35666C12.0763 6.35353 12.0763 6.35027 12.0756 6.34714C12.0498 6.30227 12.0253 6.2574 12.0035 6.21117C11.9926 6.19077 11.9831 6.16902 11.9709 6.14862C11.82 5.87668 11.7629 5.60473 11.4066 5.56666H11.3808C11.2524 5.56576 11.1286 5.61423 11.035 5.70204C10.9413 5.78986 10.885 5.91031 10.8777 6.03848C11.1999 6.09813 11.5179 6.17898 11.8295 6.28051L11.9845 6.33354L12.0389 6.35258L12.0647 6.36209C12.0658 6.36252 12.0669 6.36271 12.0681 6.36266C12.0692 6.36261 12.0703 6.36232 12.0714 6.36181C12.0724 6.36129 12.0733 6.36057 12.074 6.35968C12.0748 6.35879 12.0753 6.35776 12.0756 6.35666Z",fill:"#53484A"}),(0,r.jsx)(a.Path,{d:"M14.3489 9.47719C14.3489 9.47719 14.3489 7.40363 14.1504 5.75023C14.1631 5.74517 14.1763 5.74153 14.1898 5.73935C14.3124 5.70316 14.4203 5.62893 14.4979 5.52739C14.5755 5.42585 14.6188 5.30226 14.6215 5.17449C14.6242 5.04673 14.5862 4.92141 14.513 4.81665C14.4398 4.71189 14.3352 4.63313 14.2143 4.59175H14.198C13.942 4.50432 13.7209 4.33703 13.5671 4.11449C12.8791 3.10015 11.8498 2.58346 10.9496 2.31831C10.3317 2.13562 9.69042 2.04401 9.04604 2.04637C8.35768 2.04746 7.67354 2.15384 7.01735 2.36182C6.14986 2.63377 5.18174 3.15182 4.52364 4.11721C4.36993 4.33921 4.14865 4.50564 3.89274 4.59175C3.77192 4.63227 3.6672 4.71031 3.59382 4.8145C3.52045 4.91869 3.48226 5.04358 3.48482 5.17099C3.48245 5.30229 3.52435 5.43057 3.60378 5.53516C3.6832 5.63974 3.79553 5.71454 3.92265 5.74751L3.94712 5.75566C3.88186 6.28187 3.83835 6.84343 3.81115 7.37916C3.74997 8.51724 3.74997 9.48263 3.74997 9.48263C3.74997 9.48263 1.42214 12.6535 1.22362 15.5007C1.12028 16.9216 1.54723 18.2596 3.04564 19.0795C5.63725 20.4106 6.81612 18.658 6.81612 18.658C6.81612 18.658 7.58163 17.747 5.83712 16.8196V14.3042C5.83784 14.213 5.87455 14.1259 5.93924 14.0617C6.00393 13.9975 6.09136 13.9615 6.18249 13.9615H6.84467V13.6379C6.84467 13.5658 6.87332 13.4966 6.92432 13.4456C6.97532 13.3946 7.04449 13.366 7.11661 13.366H8.02762C8.09974 13.366 8.16891 13.3946 8.21991 13.4456C8.27091 13.4966 8.29956 13.5658 8.29956 13.6379V13.9615H9.78981V13.6379C9.78981 13.5658 9.81846 13.4966 9.86946 13.4456C9.92046 13.3946 9.98962 13.366 10.0617 13.366H10.9728C11.0449 13.366 11.114 13.3946 11.165 13.4456C11.216 13.4966 11.2447 13.5658 11.2447 13.6379V13.9615H11.9082C11.9989 13.9619 12.0857 13.9981 12.1496 14.0624C12.2136 14.1266 12.2495 14.2135 12.2495 14.3042V16.8169C10.5077 17.7442 11.2746 18.6552 11.2746 18.6552C11.2746 18.6552 12.4494 20.4079 15.0437 19.0768C19.5512 16.6089 14.3489 9.47719 14.3489 9.47719ZM13.5861 7.66198C13.5354 8.43053 13.2351 9.16149 12.7309 9.7437C11.7954 10.8437 10.3187 11.5236 9.04876 12.1708C7.77607 11.5236 6.29535 10.8437 5.35715 9.7437C4.8555 9.16014 4.5564 8.42977 4.50461 7.66198C4.4339 6.4464 4.82006 4.41363 6.17433 3.97036C7.49733 3.53661 8.33627 4.67469 8.63541 5.1941C8.67753 5.26489 8.73721 5.32361 8.80867 5.36458C8.88013 5.40555 8.96096 5.42739 9.04333 5.42797C9.12588 5.42833 9.20708 5.4069 9.2787 5.36584C9.35032 5.32477 9.40984 5.26553 9.45124 5.1941C9.75717 4.67469 10.5934 3.53525 11.9178 3.97036C13.2707 4.41363 13.6541 6.4464 13.5861 7.66198Z",fill:"#87574C"}),(0,r.jsx)(a.Path,{d:"M11.9763 7.60351C11.946 7.58302 11.9108 7.57083 11.8743 7.56816H11.858C11.7533 7.58176 11.7927 7.70413 11.8335 7.7626C11.9807 7.96822 12.0583 8.21546 12.0551 8.46829C12.0541 8.59201 12.02 8.71319 11.9564 8.81932C11.8928 8.92546 11.802 9.01269 11.6935 9.072C11.2855 9.30451 10.9415 8.9945 10.569 8.85445C10.144 8.70162 9.69741 8.61762 9.24598 8.60562V8.03182C9.78596 7.91128 10.2753 7.62625 10.6465 7.21599C10.695 7.1622 10.7316 7.09864 10.7536 7.02959C10.7756 6.96053 10.7825 6.88757 10.774 6.8156C10.7655 6.74362 10.7418 6.67429 10.7043 6.61226C10.6668 6.55023 10.6165 6.49692 10.5567 6.45591C10.1115 6.14086 9.57875 5.97303 9.03329 5.97596C8.48782 5.97889 7.95695 6.15242 7.51507 6.47223C7.4601 6.51237 7.41409 6.5635 7.37994 6.62238C7.34579 6.68125 7.32427 6.74659 7.31672 6.81423C7.30918 6.88187 7.31578 6.95034 7.33612 7.01529C7.35645 7.08024 7.39007 7.14026 7.43484 7.19152C7.80594 7.6164 8.30264 7.91214 8.85302 8.0359V8.6097C8.47005 8.61985 8.09011 8.68066 7.7231 8.79054C7.55681 8.83782 7.39487 8.89923 7.23904 8.9741C6.9535 9.11007 6.66932 9.21205 6.37291 9.03937C6.26953 8.98066 6.18374 8.89535 6.12444 8.7923C6.06515 8.68925 6.03451 8.57222 6.0357 8.45333C6.03418 8.20663 6.11081 7.96578 6.25461 7.76532C6.28181 7.72725 6.30356 7.67014 6.26821 7.62935C6.23286 7.58856 6.16351 7.62935 6.12 7.64566C6.02013 7.69831 5.93146 7.7699 5.85894 7.85642C5.71284 8.02755 5.63405 8.24602 5.6373 8.47101C5.63957 8.65652 5.69034 8.8382 5.78456 8.99802C5.87878 9.15783 6.01317 9.29022 6.17439 9.38202C6.34253 9.48028 6.5333 9.5332 6.72804 9.53558C6.92277 9.53797 7.11478 9.48974 7.28527 9.39561C7.8313 9.11543 8.43948 8.97836 9.0529 8.99722C9.05781 8.99848 9.06295 8.99848 9.06786 8.99722C9.6917 8.98021 10.3091 9.12695 10.8586 9.42281C11.0173 9.51459 11.1974 9.56292 11.3807 9.56292C11.5641 9.56292 11.7442 9.51459 11.9029 9.42281C12.072 9.32549 12.2124 9.18519 12.3098 9.01612C12.4072 8.84706 12.4582 8.65525 12.4576 8.46013C12.4667 8.28643 12.4262 8.11374 12.341 7.96211C12.2558 7.81047 12.1293 7.68613 11.9763 7.60351ZM8.388 6.88014C8.25203 6.99028 8.13102 7.1956 7.9325 7.06915C7.90018 7.04675 7.87012 7.02124 7.84276 6.993C7.8218 6.97182 7.80603 6.94607 7.79669 6.91778C7.78734 6.88948 7.78467 6.85941 7.78888 6.82991C7.7931 6.80041 7.80408 6.77229 7.82098 6.74774C7.83787 6.7232 7.86022 6.70289 7.88627 6.68843C8.1967 6.4998 8.55521 6.40533 8.91829 6.41648L8.388 6.88014Z",fill:"#53484A"}),(0,r.jsx)(a.Path,{d:"M9.915 9.48126C9.81366 9.6161 9.68234 9.72552 9.53143 9.80088C9.38052 9.87624 9.21415 9.91547 9.04547 9.91547C8.87679 9.91547 8.71042 9.87624 8.55951 9.80088C8.4086 9.72552 8.27728 9.6161 8.17593 9.48126C8.14456 9.43925 8.09778 9.41142 8.04589 9.4039C7.994 9.39638 7.94124 9.40978 7.89923 9.44115C7.85722 9.47253 7.82939 9.5193 7.82187 9.5712C7.81435 9.62309 7.82775 9.67584 7.85912 9.71785C7.99751 9.90144 8.17663 10.0504 8.38238 10.1529C8.58814 10.2555 8.81489 10.3089 9.04479 10.3089C9.27469 10.3089 9.50144 10.2555 9.7072 10.1529C9.91295 10.0504 10.0921 9.90144 10.2305 9.71785C10.246 9.69714 10.2573 9.67357 10.2637 9.64849C10.2701 9.62341 10.2716 9.59731 10.2679 9.57168C10.2642 9.54605 10.2556 9.52139 10.2424 9.49911C10.2292 9.47683 10.2117 9.45737 10.191 9.44183C10.1703 9.4263 10.1467 9.41499 10.1217 9.40857C10.0966 9.40214 10.0705 9.40072 10.0448 9.40438C10.0192 9.40804 9.99456 9.41672 9.97228 9.42991C9.95 9.4431 9.93054 9.46055 9.915 9.48126Z",fill:"#53484A"}),(0,r.jsx)(a.Path,{d:"M11.1577 8.64913C11.2643 8.64913 11.3508 8.56268 11.3508 8.45605C11.3508 8.34941 11.2643 8.26297 11.1577 8.26297C11.051 8.26297 10.9646 8.34941 10.9646 8.45605C10.9646 8.56268 11.051 8.64913 11.1577 8.64913Z",fill:"#53484A"}),(0,r.jsx)(a.Path,{d:"M10.5446 8.28743C10.6513 8.28743 10.7377 8.20099 10.7377 8.09435C10.7377 7.98772 10.6513 7.90128 10.5446 7.90128C10.438 7.90128 10.3516 7.98772 10.3516 8.09435C10.3516 8.20099 10.438 8.28743 10.5446 8.28743Z",fill:"#53484A"}),(0,r.jsx)(a.Path,{d:"M6.93307 8.64913C7.0397 8.64913 7.12615 8.56268 7.12615 8.45605C7.12615 8.34941 7.0397 8.26297 6.93307 8.26297C6.82643 8.26297 6.73999 8.34941 6.73999 8.45605C6.73999 8.56268 6.82643 8.64913 6.93307 8.64913Z",fill:"#53484A"}),(0,r.jsx)(a.Path,{d:"M7.54635 8.28743C7.65299 8.28743 7.73943 8.20099 7.73943 8.09435C7.73943 7.98772 7.65299 7.90128 7.54635 7.90128C7.43972 7.90128 7.35327 7.98772 7.35327 8.09435C7.35327 8.20099 7.43972 8.28743 7.54635 8.28743Z",fill:"#53484A"}),(0,r.jsx)(a.Path,{d:"M6.01525 6.35664C6.01445 6.35352 6.01445 6.35025 6.01525 6.34713C6.04109 6.30226 6.06556 6.25739 6.08868 6.21115C6.09955 6.19076 6.10907 6.169 6.11995 6.14861C6.27088 5.87667 6.32799 5.60472 6.68559 5.56665H6.71007C6.83819 5.56646 6.96151 5.61543 7.05461 5.70347C7.1477 5.7915 7.20348 5.91189 7.21044 6.03983C6.88812 6.09915 6.57014 6.18 6.25864 6.28186L6.10227 6.33489L6.04789 6.35392L6.02341 6.36344C6.02341 6.36344 6.01525 6.36208 6.01525 6.35664Z",fill:"#53484A"}),(0,r.jsx)(a.Path,{d:"M13.3525 15.1282C13.3523 15.3089 13.323 15.4884 13.2655 15.6598C13.2118 15.8229 13.1363 15.9779 13.0411 16.1207C13.0003 16.1903 12.9548 16.2571 12.9051 16.3206C12.8496 16.3777 12.7911 16.4317 12.7297 16.4824L12.7066 16.5042C12.6386 16.5627 12.5625 16.617 12.4904 16.6714L12.4659 16.6905L12.436 16.7081C12.4143 16.7217 12.3966 16.7353 12.3748 16.7462C12.3531 16.7571 12.3341 16.7734 12.315 16.7843L12.2824 16.8033L12.2525 16.8196C12.2497 16.7825 12.2497 16.7453 12.2525 16.7081V15.8162C12.2525 15.4762 12.2525 15.1363 12.2525 14.7937V14.3042C12.2525 14.2135 12.2166 14.1266 12.1526 14.0624C12.0886 13.9981 12.0018 13.9619 11.9112 13.9615H11.2463V13.6379C11.2463 13.5658 11.2176 13.4966 11.1666 13.4456C11.1156 13.3946 11.0465 13.366 10.9743 13.366H10.062C9.98985 13.366 9.92068 13.3946 9.86968 13.4456C9.81868 13.4966 9.79003 13.5658 9.79003 13.6379V13.9615H8.30115V13.6379C8.30115 13.5658 8.27249 13.4966 8.2215 13.4456C8.1705 13.3946 8.10133 13.366 8.0292 13.366H7.1182C7.04607 13.366 6.9769 13.3946 6.9259 13.4456C6.8749 13.4966 6.84625 13.5658 6.84625 13.6379V13.9615H6.18271C6.13754 13.9613 6.09277 13.9701 6.05096 13.9872C6.00916 14.0043 5.97114 14.0295 5.93907 14.0613C5.907 14.0931 5.88151 14.131 5.86405 14.1726C5.8466 14.2143 5.83753 14.259 5.83735 14.3042V16.6714C5.8412 16.7167 5.8412 16.7622 5.83735 16.8074C5.62372 16.6941 5.42806 16.5498 5.25675 16.3791C5.17926 16.3062 5.11161 16.2234 5.05551 16.133C5.16311 15.994 5.26298 15.8492 5.35465 15.6992C5.22956 15.7074 5.03648 15.6992 4.8502 15.7264C4.77619 15.5342 4.73794 15.3301 4.73734 15.1241C4.7369 15.0596 4.74053 14.9951 4.74822 14.931C4.86978 14.7846 4.97936 14.6286 5.07591 14.4646H4.86923C5.34105 13.3252 7.03389 12.4699 9.04627 12.4699C10.0345 12.4547 11.0113 12.6826 11.8908 13.1335C11.8201 13.2327 11.7548 13.3333 11.7099 13.4054C11.8991 13.4057 12.0881 13.3929 12.2756 13.3673C12.9446 13.8419 13.3525 14.4551 13.3525 15.1282Z",fill:"#775049"}),(0,r.jsx)(a.Path,{d:"M4.56173 9.71378C3.03477 10.9334 1.76752 13.589 1.22363 15.5007C1.42215 12.6535 3.74182 9.47719 3.74182 9.47719C3.74182 9.47719 3.74182 8.5118 3.80301 7.37372C3.84176 7.88946 3.96677 8.39504 4.17285 8.8694C4.05771 9.01407 3.95232 9.16624 3.85739 9.32491C3.98113 9.31675 4.17829 9.3249 4.36185 9.29771C4.42983 9.43912 4.49646 9.57917 4.56173 9.71378Z",fill:"#775049"}),(0,r.jsx)(a.Path,{d:"M9.04627 2.03956C8.35791 2.04065 7.67377 2.14703 7.01758 2.35501C7.22969 2.45427 7.42549 2.55897 7.60905 2.66639C7.51251 2.79284 7.43229 2.93833 7.36566 3.03079C7.60034 3.03533 7.83478 3.01344 8.06456 2.96552C8.1611 3.03623 8.24812 3.10965 8.3365 3.18172C8.29163 3.2497 8.2522 3.31769 8.21684 3.368C8.29707 3.368 8.40448 3.368 8.52006 3.35712C8.61198 3.45013 8.69654 3.55014 8.77297 3.65626C8.79314 3.68406 8.81962 3.70669 8.85022 3.7223C8.88083 3.73791 8.91469 3.74604 8.94905 3.74604C8.9834 3.74604 9.01727 3.73791 9.04787 3.7223C9.07848 3.70669 9.10496 3.68406 9.12513 3.65626C9.46914 3.16404 10.1014 2.70446 10.9539 2.31694C10.335 2.13201 9.69228 2.03857 9.04627 2.03956Z",fill:"#775049"}),(0,r.jsx)(a.Path,{d:"M16.107 12.6372C16.035 12.4672 15.9615 12.2972 15.884 12.1354C15.6814 11.6935 15.4652 11.2856 15.2613 10.928C15.1688 10.7635 15.0804 10.6126 14.9893 10.4725C14.6209 9.85655 14.3421 9.47719 14.3421 9.47719C14.3421 9.47719 14.3421 8.5118 14.2809 7.37372C14.2211 8.31192 13.8404 9.04888 13.5222 9.71378C13.6754 9.83888 13.8268 9.97485 13.9764 10.1217C14.1123 10.2577 14.2483 10.4072 14.3748 10.5636C14.4346 10.6316 14.4876 10.6996 14.5447 10.7744C14.4455 10.9035 14.3639 11.0463 14.2973 11.1401C14.4237 11.132 14.6127 11.1401 14.7976 11.117C15.0714 11.5 15.3211 11.8997 15.5455 12.3136C15.412 12.4654 15.2936 12.6297 15.1919 12.8044C15.3894 12.805 15.5866 12.7913 15.7821 12.7636C16.2263 13.6403 16.5873 14.5566 16.8603 15.5007C16.7978 14.538 16.4878 13.5373 16.107 12.6372Z",fill:"#775049"})]}),(0,r.jsx)(a.Defs,{children:(0,r.jsx)("clipPath",{children:(0,r.jsx)(a.Rect,{width:"20",height:"19.9986",fill:"white"})})})]}),d=()=>(0,r.jsx)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M20 10H4v5h16v-5ZM4 9a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H4Zm16-4H4v2h16V5ZM4 4a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H4Zm16 14H4v2h16v-2ZM4 17a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H4Z",clipRule:"evenodd"})}),b=()=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,r.jsx)(a.Path,{d:"M3 10a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-4Z"}),(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M20 10H4v4h16v-4ZM4 9a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1H4Zm16-4H4v2h16V5ZM4 4a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H4Zm16 13H4v2h16v-2ZM4 16a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H4Z",clipRule:"evenodd"})]}),u=()=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,r.jsx)(a.Path,{d:"M15.999 6.455v12.39h.651c.364 0 .546.133.546.399v.357c0 .266-.182.399-.546.399h-2.541c-.364 0-.546-.133-.546-.399v-.357c0-.266.182-.399.546-.399h.651v-5.88H6.843v5.88h.651c.364 0 .546.133.546.399v.357c0 .266-.182.399-.546.399H4.953c-.364 0-.546-.133-.546-.399v-.357c0-.266.182-.399.546-.399h.651V6.455h-.651c-.364 0-.546-.133-.546-.399v-.357c0-.266.182-.399.546-.399h2.541c.364 0 .546.133.546.399v.357c0 .266-.182.399-.546.399h-.651v5.355h7.917V6.455h-.651c-.364 0-.546-.133-.546-.399v-.357c0-.266.182-.399.546-.399h2.541c.364 0 .546.133.546.399v.357c0 .266-.182.399-.546.399h-.651Z"}),(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M17.5 3a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5Z",clipRule:"evenodd"}),(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M20 5.5a.5.5 0 0 1-.5-.5V1a.5.5 0 0 1 1 0v4a.5.5 0 0 1-.5.5Z",clipRule:"evenodd"})]}),p=()=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M20 5H4v5h16V5ZM4 4a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H4Z",clipRule:"evenodd"}),(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M5.5 7a.5.5 0 0 0 0 1h13a.5.5 0 0 0 0-1h-13ZM20 14H4v5h16v-5ZM4 13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H4Z",clipRule:"evenodd"}),(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M5.618 16a.5.5 0 0 0 0 1h12.764a.5.5 0 0 0 0-1H5.618Z",clipRule:"evenodd"})]}),h=()=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M20 9H4v5h16V9ZM4 8a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1H4Z",clipRule:"evenodd"}),(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M5.618 11a.5.5 0 0 0 0 1h12.764a.5.5 0 0 0 0-1H5.618Z",clipRule:"evenodd"})]}),g=()=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Zm0-1.346a7.654 7.654 0 1 1 0-15.308 7.654 7.654 0 0 1 0 15.308ZM12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Zm0-3.346a6.654 6.654 0 1 1 0-13.308 6.654 6.654 0 0 1 0 13.308Z",clipRule:"evenodd"}),(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M6.005 18.713a9 9 0 0 1-2.115-2.81.355.355 0 0 1 .01-.335.615.615 0 0 1 .378-.296c.316-.091.812.079 1.128.615a7.655 7.655 0 1 0 8.1-11.392c-.61-.122-.934-.535-.951-.864a.615.615 0 0 1 .155-.454.355.355 0 0 1 .314-.119 9 9 0 1 1-7.019 15.655Zm-3.016-2.377c-.4-.832.123-1.768 1.011-2.025.888-.256 1.798.272 2.267 1.068a6.655 6.655 0 1 0 7.042-9.903c-.905-.182-1.703-.869-1.753-1.791-.049-.923.664-1.725 1.581-1.62A10 10 0 1 1 2.99 16.337Z",clipRule:"evenodd"}),(0,r.jsx)(a.Path,{d:"M4.182 14.868c-.867.318-1.324 1.289-.866 2.091A10 10 0 1 0 13.921 2.186c-.906-.177-1.68.566-1.704 1.49-.024.923.717 1.671 1.606 1.924a6.654 6.654 0 1 1-7.304 10.174c-.524-.761-1.47-1.224-2.337-.906Z"}),(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M6.36 19.013a9 9 0 0 1-2.175-2.55.355.355 0 0 1-.015-.335.615.615 0 0 1 .357-.321c.308-.114.816.021 1.168.534a7.653 7.653 0 1 0 8.402-11.703c-.599-.17-.889-.607-.88-.936a.615.615 0 0 1 .19-.441.355.355 0 0 1 .322-.093 9 9 0 1 1-7.37 15.845ZM3.315 16.96c-.458-.802-.001-1.773.866-2.091.868-.318 1.813.145 2.337.906A6.655 6.655 0 1 0 13.823 5.6c-.889-.253-1.63-1-1.606-1.924.024-.924.798-1.667 1.704-1.49A10 10 0 1 1 3.316 16.96Z",clipRule:"evenodd"})]}),m=()=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M9 9H3v6h6V9ZM3 8a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1H3Zm18 1h-6v6h6V9Zm-6-1a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1h-6Z",clipRule:"evenodd"}),(0,r.jsx)(a.Path,{d:"M11 10a1 1 0 1 1 2 0 1 1 0 1 1-2 0Zm0 4a1 1 0 1 1 2 0 1 1 0 1 1-2 0Z"})]}),y=()=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M11.5 7V4h1v3A2.5 2.5 0 0 0 15 9.5h4v1h-4A3.5 3.5 0 0 1 11.5 7Z",clipRule:"evenodd"}),(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M11 4H5v16h14v-8a8 8 0 0 0-8-8ZM5 3a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-8a9 9 0 0 0-9-9H5Z",clipRule:"evenodd"})]}),k=()=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M20 4H4v16h16V4ZM4 3a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H4Z",clipRule:"evenodd"}),(0,r.jsx)(a.Path,{d:"M11.776 7.454a.25.25 0 0 1 .448 0l1.187 2.406a.25.25 0 0 0 .189.136l2.654.386a.25.25 0 0 1 .139.427l-1.921 1.872a.25.25 0 0 0-.072.221l.453 2.644a.25.25 0 0 1-.362.263l-2.375-1.248a.25.25 0 0 0-.232 0L9.509 15.81a.25.25 0 0 1-.362-.263l.453-2.644a.25.25 0 0 0-.072-.221l-1.92-1.872a.25.25 0 0 1 .138-.427l2.654-.386a.25.25 0 0 0 .189-.136l1.187-2.406Z"})]}),x=()=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M19 3H5v18h14V3ZM5 2a1 1 0 0 0-1 1v18a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H5Z",clipRule:"evenodd"}),(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M17 5H7v2h10V5ZM7 4a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H7Zm10 7H7v1h10v-1ZM7 10a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1H7Zm10 5H7v4h10v-4ZM7 14a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1H7Z",clipRule:"evenodd"})]}),f=()=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M19 10H5v4h14v-4ZM5 9a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1H5Z",clipRule:"evenodd"}),(0,r.jsx)(a.Path,{d:"M6 12.5a.5.5 0 0 1 .5-.5h8a.5.5 0 0 1 0 1h-8a.5.5 0 0 1-.5-.5Z"})]}),v=()=>(0,r.jsx)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M16.453 13.552C17.429 11.962 18 10.499 18 9.125 18 5.725 15.297 3 12 3S6 5.726 6 9.125c0 1.374.57 2.837 1.547 4.427.975 1.586 2.285 3.19 3.648 4.859l.004.004.801.983c.267-.33.535-.657.801-.983l.004-.004c1.363-1.669 2.673-3.273 3.648-4.86Zm-3.813 6.645c.31-.384.624-.769.939-1.153C16.286 15.732 19 12.412 19 9.125 19 5.19 15.866 2 12 2S5 5.19 5 9.125c0 3.287 2.714 6.607 5.421 9.919.315.384.629.769.939 1.153.216.268.43.535.64.803.21-.268.424-.535.64-.803ZM15.5 9a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Zm-1 0a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z",clipRule:"evenodd"})}),_=()=>(0,r.jsx)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M20 6H9v2h11V6ZM9 5a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H9Zm11 6H9v2h11v-2ZM9 10a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H9Zm11 6H9v2h11v-2ZM9 15a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H9ZM6 6H4v2h2V6ZM4 5a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4Zm2 6H4v2h2v-2Zm-2-1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H4Zm2 6H4v2h2v-2Zm-2-1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H4Z",clipRule:"evenodd"})}),w=()=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M20 6H9v2h11V6ZM9 5a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H9Z",clipRule:"evenodd"}),(0,r.jsx)(a.Path,{d:"M8 11a1 1 0 0 1 1-1h11a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1v-2Z"}),(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M20 11H9v2h11v-2ZM9 10a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H9Zm11 6H9v2h11v-2ZM9 15a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H9ZM6 6H4v2h2V6ZM4 5a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4Z",clipRule:"evenodd"}),(0,r.jsx)(a.Path,{d:"M3 11a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-2Z"}),(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M6 11H4v2h2v-2Zm-2-1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H4Zm2 6H4v2h2v-2Zm-2-1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H4Z",clipRule:"evenodd"})]}),C=()=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M8.872 8.64a.5.5 0 0 0-.41 0l-5.667 2.55a.5.5 0 0 0-.295.457v8.806a.5.5 0 0 0 .705.456l4.846-2.18a1.5 1.5 0 0 1 1.231 0l5.846 2.63a.5.5 0 0 0 .41 0l5.667-2.55a.5.5 0 0 0 .295-.456V9.547a.5.5 0 0 0-.705-.456l-4.846 2.18a1.5 1.5 0 0 1-1.231 0l-5.846-2.63Zm-.82-.911a1.5 1.5 0 0 1 1.23 0l5.846 2.63a.5.5 0 0 0 .41 0l4.846-2.18A1.5 1.5 0 0 1 22.5 9.547v8.806a1.5 1.5 0 0 1-.884 1.368l-5.667 2.55a1.5 1.5 0 0 1-1.231 0l-5.846-2.63a.5.5 0 0 0-.41 0l-4.846 2.18A1.5 1.5 0 0 1 1.5 20.453v-8.806a1.5 1.5 0 0 1 .884-1.368l5.667-2.55Z",clipRule:"evenodd"}),(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M16.515 13.662C18.255 11.396 20 9.123 20 6.875 20 4.183 17.985 2 15.5 2S11 4.183 11 6.875c0 2.25 1.745 4.52 3.485 6.787.343.446.686.892 1.015 1.338.33-.446.672-.892 1.015-1.338ZM15.5 8.5a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm-2.4 6.2a.5.5 0 0 1 .7-.1l4 3a.5.5 0 0 1-.6.8l-4-3a.5.5 0 0 1-.1-.7Z",clipRule:"evenodd"}),(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M17.9 14.7a.5.5 0 0 0-.7-.1l-4 3a.5.5 0 0 0 .6.8l4-3a.5.5 0 0 0 .1-.7Z",clipRule:"evenodd"})]}),j=()=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M16.917 5.26c.302-.046.747-.01.58-.01a.75.75 0 0 1 .007 1.5.879.879 0 0 1-.2-.014c-.034-.006-.05-.01-.16.007-.128.02-.367.086-.71.33-.707.502-1.83 1.74-3.235 4.74-1.464 3.126-2.915 4.744-4.07 5.578-.579.418-1.078.636-1.456.747a2.858 2.858 0 0 1-.464.099 1.897 1.897 0 0 1-.2.013h-.033s-.002 0 .024-.75l-.026.75a.75.75 0 0 1 .029-1.5H7m.003 0a1.372 1.372 0 0 0 .246-.05c.21-.063.556-.203 1.001-.524.891-.644 2.2-2.03 3.591-5 1.45-3.095 2.709-4.605 3.723-5.326.517-.367.974-.531 1.353-.59",clipRule:"evenodd"}),(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M20 4H4v16h16V4ZM4 3a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H4Z",clipRule:"evenodd"})]}),S=()=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M3 9.5a.5.5 0 0 0-.5.5v11a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-3.5a.5.5 0 0 1 1 0V21a1.5 1.5 0 0 1-1.5 1.5H3A1.5 1.5 0 0 1 1.5 21V10A1.5 1.5 0 0 1 3 8.5h1.531a.5.5 0 1 1 0 1H3Z",clipRule:"evenodd"}),(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M21 3H8v11h13V3ZM8 2a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h13a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H8Z",clipRule:"evenodd"}),(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M14.45 4.55h4.5a.5.5 0 0 1 .5.5v4.5a.5.5 0 1 1-1 0V6.257l-4.096 4.097a.5.5 0 0 1-.707-.708l4.096-4.096H14.45a.5.5 0 0 1 0-1Z",clipRule:"evenodd"})]}),T=()=>(0,r.jsx)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M7 5H5v2h2V5ZM5 4a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H5Zm2 7H5v2h2v-2Zm-2-1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H5Zm2 7H5v2h2v-2Zm-2-1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H5Zm8-11h-2v2h2V5Zm-2-1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1h-2Zm2 7h-2v2h2v-2Zm-2-1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-2Zm2 7h-2v2h2v-2Zm-2-1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-2Zm8-11h-2v2h2V5Zm-2-1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1h-2Zm2 7h-2v2h2v-2Zm-2-1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-2Zm2 7h-2v2h2v-2Zm-2-1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-2Z",clipRule:"evenodd"})}),B=()=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M21 10H3v4h18v-4ZM3 9a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1H3Z",clipRule:"evenodd"}),(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M13 10H3v4h10a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1ZM3 9a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h10a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H3Z",clipRule:"evenodd"})]}),M=()=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M1.717 8.588a.5.5 0 0 1 .695.13l2.264 3.297a.5.5 0 1 1-.825.566L1.588 9.283a.5.5 0 0 1 .13-.695Zm20.566 0a.5.5 0 0 1 .13.695l-2.264 3.298a.5.5 0 1 1-.825-.566l2.264-3.298a.5.5 0 0 1 .695-.13Z",clipRule:"evenodd"}),(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M19 13H5v7h14v-7ZM5 12a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-7a1 1 0 0 0-1-1H5Z",clipRule:"evenodd"}),(0,r.jsx)(a.Path,{d:"M11.776 3.454a.25.25 0 0 1 .448 0l1.04 2.108a.25.25 0 0 0 .189.137l2.326.338a.25.25 0 0 1 .138.426l-1.683 1.64a.25.25 0 0 0-.072.222l.397 2.316a.25.25 0 0 1-.362.264l-2.08-1.094a.25.25 0 0 0-.233 0l-2.08 1.094a.25.25 0 0 1-.363-.264l.397-2.316a.25.25 0 0 0-.072-.221L8.083 6.463a.25.25 0 0 1 .139-.426l2.325-.338a.25.25 0 0 0 .189-.137l1.04-2.108Z"})]}),P=()=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M21 4H3v16h18V4ZM3 3a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H3Z",clipRule:"evenodd"}),(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M19 15H5v3h14v-3ZM5 14a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1H5Zm5-8H5v6h5V6ZM5 5a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H5Zm14 1h-5v1h5V6Zm-5-1a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-5Zm5 5h-5v2h5v-2Zm-5-1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-5Z",clipRule:"evenodd"})]}),z=()=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M21 4H3v16h18V4ZM3 3a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H3Z",clipRule:"evenodd"}),(0,r.jsx)(a.Path,{d:"M4 6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V6Z"}),(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M7 6H5v12h2V6ZM5 5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H5Zm8 1h-2v12h2V6Zm-2-1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2Zm8 1h-2v12h2V6Zm-2-1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2Z",clipRule:"evenodd"})]}),A=()=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"m14.69 6.154-6.715 4.268a.5.5 0 0 1-.537-.844l6.716-4.268.536.844Zm-7.122 7.094a.5.5 0 0 1 .684-.18l6.432 3.752-.504.864-6.432-3.752a.5.5 0 0 1-.18-.684Z",clipRule:"evenodd"}),(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M17 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm0 12a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 0 0-6 3 3 0 0 0 0 6ZM6 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",clipRule:"evenodd"})]}),F=()=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M2 5H1a1 1 0 0 0-1 1v13a1 1 0 0 0 1 1h1v-1H1V6h1V5Zm20 14h1V6h-1V5h1a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-1v-1Zm-6.5-8a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm0 1a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Zm-8-3.87v8.37h9.207L7.5 8.13Zm-1-.904a.6.6 0 0 1 1.004-.444l10.64 9.674a.6.6 0 0 1-.403 1.044H7.1a.6.6 0 0 1-.6-.6V7.226Z",clipRule:"evenodd"}),(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M3 3v18a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1Zm1 0v18h16V3H4Z",clipRule:"evenodd"})]}),L=()=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M11.726 4.722c-1.033-.345-2.398-.243-3.628.003a.5.5 0 0 1-.196-.98c1.27-.255 2.851-.403 4.14.028.658.22 1.257.596 1.688 1.199.431.602.663 1.386.663 2.366a.5.5 0 0 1-1 0c0-.821-.193-1.388-.476-1.784-.283-.396-.688-.664-1.191-.832Z",clipRule:"evenodd"}),(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M15.726 4.722c-1.033-.345-2.398-.243-3.628.003a.5.5 0 0 1-.196-.98c1.27-.255 2.851-.403 4.14.028.658.22 1.257.596 1.688 1.199.431.602.663 1.386.663 2.366a.5.5 0 0 1-1 0c0-.821-.192-1.388-.476-1.784-.283-.396-.688-.664-1.192-.832Z",clipRule:"evenodd"}),(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"m8.449 7.878-.091-.9-.035-.365c-.073-.795-.126-1.366-.5-1.83C7.468 4.338 6.57 3.763 4 3.887v16.01h16V7.877H8.449ZM3 3.866v16.03a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V7.878a1 1 0 0 0-1-1H9.353l-.03-.33C9.182 4.893 8.99 2.632 3.91 2.891a.968.968 0 0 0-.91.975Z",clipRule:"evenodd"})]}),R=()=>(0,r.jsx)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"m8.449 8.002-.091-.9-.035-.365c-.073-.793-.126-1.362-.499-1.826C7.467 4.468 6.57 3.893 4 4.017V20h16V8.002H8.449ZM3 3.996V20a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V8.002a1 1 0 0 0-1-1H9.353l-.03-.33C9.182 5.02 8.99 2.762 3.91 3.02a.968.968 0 0 0-.91.976Z",clipRule:"evenodd"})}),N=()=>(0,r.jsx)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M13.5 6C10.5 6 8 8.5 8 11.5c0 1.1.3 2.1.9 3l-3.4 3 1 1.1 3.4-2.9c1 .9 2.2 1.4 3.6 1.4 3 0 5.5-2.5 5.5-5.5C19 8.5 16.5 6 13.5 6zm0 9.5c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4z",clipRule:"evenodd"})}),I=()=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,r.jsx)("path",{d:"M11 18.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm6 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"}),(0,r.jsx)("path",{fillRule:"evenodd",d:"M2.5 4a.5.5 0 0 1 .5-.5h.78a1.5 1.5 0 0 1 1.422 1.026L6.36 8h12.286a1.5 1.5 0 0 1 1.434 1.941l-1.385 4.5a1.5 1.5 0 0 1-1.434 1.059H8.74a1.5 1.5 0 0 1-1.434-1.059L5.524 8.653l-1.27-3.811a.5.5 0 0 0-.475-.342H3a.5.5 0 0 1-.5-.5Zm4.177 5 1.584 5.147a.5.5 0 0 0 .478.353h8.522a.5.5 0 0 0 .478-.353l1.385-4.5A.5.5 0 0 0 18.646 9H6.677Z",clipRule:"evenodd"})]}),O=()=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"o-block-icon",width:"24",height:"24",children:[(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M16.347 8.36a.477.477 0 0 1-.694 0l-3.12-3.243L9.415 8.36a.477.477 0 0 1-.693 0 .524.524 0 0 1 0-.72l3.466-3.604a.48.48 0 0 1 .693 0l3.467 3.604a.524.524 0 0 1 0 .72Z",clipRule:"evenodd"}),(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M20 9H4v10h16V9ZM4 8h16a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1Z",clipRule:"evenodd"}),(0,r.jsx)(a.Path,{fillRule:"evenodd",d:"M8 15.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5Zm-3-3a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 0 1h-13a.5.5 0 0 1-.5-.5Z",clipRule:"evenodd"}),(0,r.jsx)(a.Path,{d:"M14 3.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"})]}),H=({className:e})=>(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:e,children:(0,r.jsx)(a.Path,{d:"M11.776 4.454a.25.25 0 01.448 0l2.069 4.192a.25.25 0 00.188.137l4.626.672a.25.25 0 01.139.426l-3.348 3.263a.25.25 0 00-.072.222l.79 4.607a.25.25 0 01-.362.263l-4.138-2.175a.25.25 0 00-.232 0l-4.138 2.175a.25.25 0 01-.363-.263l.79-4.607a.25.25 0 00-.071-.222L4.754 9.881a.25.25 0 01.139-.426l4.626-.672a.25.25 0 00.188-.137l2.069-4.192z"})}),V=({className:e})=>(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:e,children:(0,r.jsx)(a.Path,{d:"M9.518 8.783a.25.25 0 00.188-.137l2.069-4.192a.25.25 0 01.448 0l2.07 4.192a.25.25 0 00.187.137l4.626.672a.25.25 0 01.139.427l-3.347 3.262a.25.25 0 00-.072.222l.79 4.607a.25.25 0 01-.363.264l-4.137-2.176a.25.25 0 00-.233 0l-4.138 2.175a.25.25 0 01-.362-.263l.79-4.607a.25.25 0 00-.072-.222L4.753 9.882a.25.25 0 01.14-.427l4.625-.672zM12 14.533c.28 0 .559.067.814.2l1.895.997-.362-2.11a1.75 1.75 0 01.504-1.55l1.533-1.495-2.12-.308a1.75 1.75 0 01-1.317-.957L12 7.39v7.143z"})}),D=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(a.Path,{d:"M18.3 5.6L9.9 16.9l-4.6-3.4-.9 2.4 5.8 4.3 9.3-12.6z"})}),G=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(a.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"})}),E=e=>(0,r.jsx)(a.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e,children:(0,r.jsx)(a.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"})}),$=e=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e,children:[(0,r.jsx)(a.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,r.jsx)(a.Rect,{x:"22.9",y:"13",width:"2.2",height:"22"})]}),W=e=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e,children:[(0,r.jsx)(a.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,r.jsx)(a.Rect,{x:"16.9",y:"13",width:"2.2",height:"22"})]}),U=e=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e,children:[(0,r.jsx)(a.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,r.jsx)(a.Rect,{x:"28.9",y:"13",width:"2.2",height:"22"})]}),q=e=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e,children:[(0,r.jsx)(a.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,r.jsx)(a.Rect,{x:"28.9",y:"13",width:"2.2",height:"22"}),(0,r.jsx)(a.Rect,{x:"16.9",y:"13",width:"2.2",height:"22"})]}),Z=e=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e,children:[(0,r.jsx)(a.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,r.jsx)(a.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,r.jsx)(a.Rect,{x:"22.9",y:"13",width:"2.2",height:"22"}),(0,r.jsx)(a.Rect,{x:"12.9",y:"13",width:"2.2",height:"22"})]}),J=e=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e,children:[(0,r.jsx)(a.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,r.jsx)(a.Rect,{x:"22.9",y:"13",width:"2.2",height:"22"}),(0,r.jsx)(a.Rect,{x:"32.9",y:"13",width:"2.2",height:"22"})]}),K=e=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e,children:[(0,r.jsx)(a.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,r.jsx)(a.Rect,{x:"13.9",y:"13",width:"2.2",height:"22"}),(0,r.jsx)(a.Rect,{x:"31.9",y:"13",width:"2.2",height:"22"})]}),Y=e=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e,children:[(0,r.jsx)(a.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,r.jsx)(a.Rect,{x:"11.9",y:"13",width:"2.2",height:"22"}),(0,r.jsx)(a.Rect,{x:"33.9",y:"13",width:"2.2",height:"22"})]}),Q=e=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e,children:[(0,r.jsx)(a.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,r.jsx)(a.Rect,{x:"13.9",y:"13",width:"2.2",height:"22"}),(0,r.jsx)(a.Rect,{x:"32.9",y:"13",width:"2.2",height:"22"}),(0,r.jsx)(a.Rect,{x:"22.9",y:"13",width:"2.2",height:"22"})]}),X=e=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e,children:[(0,r.jsx)(a.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,r.jsx)(a.Rect,{x:"10.9",y:"13",width:"2.2",height:"22"}),(0,r.jsx)(a.Rect,{x:"34.9",y:"13",width:"2.2",height:"22"}),(0,r.jsx)(a.Rect,{x:"26.9",y:"13",width:"2.2",height:"22"}),(0,r.jsx)(a.Rect,{x:"18.9",y:"13",width:"2.2",height:"22"})]}),ee=e=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e,children:[(0,r.jsx)(a.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,r.jsx)(a.Rect,{x:"4",y:"22.9",width:"40",height:"2.2"}),(0,r.jsx)(a.Rect,{x:"22.9",y:"13",width:"2.2",height:"22"})]}),te=e=>(0,r.jsx)(a.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e,children:(0,r.jsxs)(a.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",children:[(0,r.jsx)(a.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,r.jsx)(a.Rect,{x:"6",y:"22.9",width:"36",height:"2.2"})]})}),oe=e=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e,children:[(0,r.jsx)(a.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,r.jsx)(a.Rect,{x:"10.4",y:"13",width:"2.2",height:"22"}),(0,r.jsx)(a.Rect,{x:"35.9",y:"13",width:"2.2",height:"22"}),(0,r.jsx)(a.Rect,{x:"29.4",y:"13",width:"2.2",height:"22"}),(0,r.jsx)(a.Rect,{x:"16.4",y:"13",width:"2.2",height:"22"}),(0,r.jsx)(a.Rect,{x:"22.9",y:"13",width:"2.2",height:"22"})]}),le=e=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e,children:[(0,r.jsx)(a.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,r.jsx)(a.Rect,{x:"4",y:"18.9",width:"40",height:"2.2"}),(0,r.jsx)(a.Rect,{x:"22.9",y:"13",width:"2.2",height:"22"}),(0,r.jsx)(a.Rect,{x:"4",y:"26.9",width:"40",height:"2.2"})]}),se=e=>(0,r.jsxs)(a.SVG,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink",...e,children:[(0,r.jsx)(a.Path,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),(0,r.jsx)(a.Rect,{x:"4",y:"22.9",width:"40",height:"2.2"}),(0,r.jsx)(a.Rect,{x:"28.9",y:"13",width:"2.2",height:"22"}),(0,r.jsx)(a.Rect,{x:"16.9",y:"13",width:"2.2",height:"22"})]}),ae=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(a.Path,{d:"M15 4H9v11h6V4zM4 18.5V20h16v-1.5H4z"})}),ie=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(a.Path,{d:"M20 11h-5V4H9v7H4v1.5h5V20h6v-7.5h5z"})}),re=(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(a.Path,{d:"M9 20h6V9H9v11zM4 4v1.5h16V4H4z"})}),ne=(0,r.jsxs)(a.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)(a.Rect,{x:"1.5",y:"8.5",width:"45",height:"31",rx:"0.5",stroke:"#ED6F57",fill:"none"}),(0,r.jsx)(a.Rect,{x:"42",y:"11",width:"2",height:"2",rx:"1",fill:"#ED6F57"})]}),ce=(0,r.jsxs)(a.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)(a.Rect,{x:"1.5",y:"8.5",width:"45",height:"31",rx:"0.5",stroke:"#ED6F57",fill:"none"}),(0,r.jsx)(a.Rect,{x:"42",y:"11",width:"2",height:"2",rx:"1",fill:"#ED6F57"}),(0,r.jsx)(a.Rect,{x:"16.5",y:"14.5",width:"15",height:"19",rx:"0.5",stroke:"#ED6F57",fill:"none"}),(0,r.jsx)(a.Rect,{x:"18.5",y:"16.5",width:"11",height:"3",rx:"0.5",stroke:"#ED6F57",fill:"none"}),(0,r.jsx)(a.Rect,{x:"18.5",y:"22.5",width:"11",height:"2",rx:"0.5",stroke:"#ED6F57",fill:"none"}),(0,r.jsx)(a.Rect,{x:"18.5",y:"26.5",width:"11",height:"5",rx:"0.5",stroke:"#ED6F57",fill:"none"})]}),de=(0,r.jsxs)(a.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)(i.Circle,{cx:"37.5",cy:"21.5",r:"2",stroke:"#ED6F57",fill:"none"}),(0,r.jsx)(a.Path,{d:"M29 28.9V19.2261C29 19.1392 29.103 19.0937 29.1673 19.1521L34.5 24L39.8086 28.826C39.8762 28.8875 39.8327 29 39.7413 29H34.5H29.1C29.0448 29 29 28.9552 29 28.9Z",stroke:"#ED6F57",fill:"none"}),(0,r.jsx)("mask",{id:"path-3-inside-1_3034_34948",fill:"white",children:(0,r.jsx)(a.Path,{d:"M25 16C25 15.4477 25.4477 15 26 15H42C42.5523 15 43 15.4477 43 16V32C43 32.5523 42.5523 33 42 33H26C25.4477 33 25 32.5523 25 32V16Z"})}),(0,r.jsx)(a.Path,{d:"M24 16C24 14.8954 24.8954 14 26 14H42C43.1046 14 44 14.8954 44 16H42H26H24ZM44 32C44 33.1046 43.1046 34 42 34H26C24.8954 34 24 33.1046 24 32H26H42H44ZM26 34C24.8954 34 24 33.1046 24 32V16C24 14.8954 24.8954 14 26 14V16V32V34ZM42 14C43.1046 14 44 14.8954 44 16V32C44 33.1046 43.1046 34 42 34V32V16V14Z",fill:"#ED6F57",mask:"url(#path-3-inside-1_3034_34948)"}),(0,r.jsx)(a.Path,{d:"M5 18H21",stroke:"#ED6F57",strokeLinecap:"round",fill:"none"}),(0,r.jsx)(a.Path,{d:"M5 22H21",stroke:"#ED6F57",strokeLinecap:"round",fill:"none"}),(0,r.jsx)(a.Path,{d:"M5 26H21",stroke:"#ED6F57",strokeLinecap:"round",fill:"none"}),(0,r.jsx)(a.Path,{d:"M5 30H13.8889",stroke:"#ED6F57",strokeLinecap:"round",fill:"none"}),(0,r.jsx)(a.Rect,{x:"1.5",y:"8.5",width:"45",height:"31",rx:"0.5",stroke:"#ED6F57",fill:"none"}),(0,r.jsx)(a.Rect,{x:"42",y:"11",width:"2",height:"2",rx:"1",fill:"#ED6F57"})]}),be=(0,r.jsxs)(a.SVG,{"data-target":"generator-icon",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",style:{color:"transparent"},children:[(0,r.jsx)(a.Path,{d:"M6 17V21",stroke:"url(#paint0_linear_3599_37937)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)(a.Path,{d:"M4 19H8",stroke:"url(#paint1_linear_3599_37937)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)(a.Path,{d:"M17 3V7",stroke:"url(#paint2_linear_3599_37937)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)(a.Path,{d:"M15 5H19",stroke:"url(#paint3_linear_3599_37937)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)(a.Path,{d:"M6.5 5C6.5 6.933 8.067 8.5 10 8.5",stroke:"url(#paint4_linear_3599_37937)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)(a.Path,{d:"M10 8.5C8.067 8.5 6.5 10.067 6.5 12",stroke:"url(#paint5_linear_3599_37937)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)(a.Path,{d:"M6.5 12C6.5 10.067 4.933 8.5 3 8.5",stroke:"url(#paint6_linear_3599_37937)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)(a.Path,{d:"M3 8.5C4.933 8.5 6.5 6.933 6.5 5",stroke:"url(#paint7_linear_3599_37937)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)(a.Path,{d:"M11.609 15.778C14.202 15.778 16.304 13.676 16.304 11.083",stroke:"url(#paint8_linear_3599_37937)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)(a.Path,{d:"M16.3051 11.083C16.3051 13.676 18.4071 15.778 21.0001 15.778",stroke:"url(#paint9_linear_3599_37937)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)(a.Path,{d:"M21.0001 15.7781C18.4071 15.7781 16.3051 17.8801 16.3051 20.4731",stroke:"url(#paint10_linear_3599_37937)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)(a.Path,{d:"M16.305 20.4731C16.305 17.8801 14.203 15.7781 11.61 15.7781",stroke:"url(#paint11_linear_3599_37937)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsxs)(a.Defs,{children:[(0,r.jsxs)(a.LinearGradient,{id:"paint0_linear_3599_37937",x1:"6",y1:"17",x2:"6",y2:"21",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#ED6F57"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,r.jsxs)(a.LinearGradient,{id:"paint1_linear_3599_37937",x1:"6",y1:"18.5",x2:"6",y2:"19.5",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#ED6F57"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,r.jsxs)(a.LinearGradient,{id:"paint2_linear_3599_37937",x1:"17",y1:"3",x2:"17",y2:"7",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#ED6F57"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,r.jsxs)(a.LinearGradient,{id:"paint3_linear_3599_37937",x1:"17",y1:"4.5",x2:"17",y2:"5.5",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#ED6F57"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,r.jsxs)(a.LinearGradient,{id:"paint4_linear_3599_37937",x1:"8.25",y1:"5",x2:"8.25",y2:"8.5",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#ED6F57"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,r.jsxs)(a.LinearGradient,{id:"paint5_linear_3599_37937",x1:"8.25",y1:"8.5",x2:"8.25",y2:"12",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#ED6F57"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,r.jsxs)(a.LinearGradient,{id:"paint6_linear_3599_37937",x1:"4.75",y1:"8.5",x2:"4.75",y2:"12",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#ED6F57"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,r.jsxs)(a.LinearGradient,{id:"paint7_linear_3599_37937",x1:"4.75",y1:"5",x2:"4.75",y2:"8.5",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#ED6F57"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,r.jsxs)(a.LinearGradient,{id:"paint8_linear_3599_37937",x1:"13.9565",y1:"11.083",x2:"13.9565",y2:"15.778",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#ED6F57"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,r.jsxs)(a.LinearGradient,{id:"paint9_linear_3599_37937",x1:"18.6526",y1:"11.083",x2:"18.6526",y2:"15.778",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#ED6F57"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,r.jsxs)(a.LinearGradient,{id:"paint10_linear_3599_37937",x1:"18.6526",y1:"15.7781",x2:"18.6526",y2:"20.4731",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#ED6F57"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,r.jsxs)(a.LinearGradient,{id:"paint11_linear_3599_37937",x1:"13.9575",y1:"15.7781",x2:"13.9575",y2:"20.4731",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#ED6F57"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]})]})]}),ue=(0,r.jsxs)(a.SVG,{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",style:{color:"transparent"},xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)(a.Path,{fill:"none",d:"M17.5044 8.5V20C17.5044 20.3 17.3044 20.5 17.0044 20.5H3.00439C2.70439 20.5 2.50439 20.3 2.50439 20V2C2.50439 1.7 2.70439 1.5 3.00439 1.5H12.8044",stroke:"url(#paint0_linear_3726_618)",strokeLinecap:"round"}),(0,r.jsx)(a.Path,{fill:"none",d:"M5.00439 3.5H10.0044C10.3044 3.5 10.5044 3.7 10.5044 4V6C10.5044 6.3 10.3044 6.5 10.0044 6.5H5.00439C4.70439 6.5 4.50439 6.3 4.50439 6V4C4.50439 3.7 4.70439 3.5 5.00439 3.5Z",stroke:"url(#paint1_linear_3726_618)"}),(0,r.jsx)(a.Path,{fill:"none",d:"M5.00439 9.5H13.0044C13.3044 9.5 13.5044 9.7 13.5044 10V11C13.5044 11.3 13.3044 11.5 13.0044 11.5H5.00439C4.70439 11.5 4.50439 11.3 4.50439 11V10C4.50439 9.7 4.70439 9.5 5.00439 9.5Z",stroke:"url(#paint2_linear_3726_618)"}),(0,r.jsx)(a.Path,{fill:"none",d:"M5.00439 13.5H15.0044C15.3044 13.5 15.5044 13.7 15.5044 14V18C15.5044 18.3 15.3044 18.5 15.0044 18.5H5.00439C4.70439 18.5 4.50439 18.3 4.50439 18V14C4.50439 13.7 4.70439 13.5 5.00439 13.5Z",stroke:"url(#paint3_linear_3726_618)"}),(0,r.jsx)(a.Path,{fill:"none",d:"M16.0044 7C16.0044 5.3 17.3044 4 19.0044 4C17.3044 4 16.0044 2.7 16.0044 1C16.0044 2.7 14.7044 4 13.0044 4C13.8044 4 14.6044 4.3 15.1044 4.9C15.7044 5.4 16.0044 6.2 16.0044 7Z",stroke:"url(#paint4_linear_3726_618)",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsxs)(a.Defs,{children:[(0,r.jsxs)(a.LinearGradient,{id:"paint0_linear_3726_618",x1:"10.0044",y1:"1",x2:"10.0044",y2:"21",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#ED6F57"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,r.jsxs)(a.LinearGradient,{id:"paint1_linear_3726_618",x1:"7.50439",y1:"3",x2:"7.50439",y2:"7",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#ED6F57"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,r.jsxs)(a.LinearGradient,{id:"paint2_linear_3726_618",x1:"9.00439",y1:"9",x2:"9.00439",y2:"12",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#ED6F57"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,r.jsxs)(a.LinearGradient,{id:"paint3_linear_3726_618",x1:"10.0044",y1:"13",x2:"10.0044",y2:"19",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#ED6F57"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,r.jsxs)(a.LinearGradient,{id:"paint4_linear_3726_618",x1:"16.0057",y1:"1",x2:"16.0057",y2:"7.0025",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#ED6F57"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]})]})]}),pe=(e={})=>(0,r.jsxs)(a.SVG,{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:"transparent"},...e,children:[(0,r.jsx)(a.Path,{fill:"none",d:"M17.5044 8.49112V19.9911C17.5044 20.2911 17.3044 20.4911 17.0044 20.4911H3.00439C2.70439 20.4911 2.50439 20.2911 2.50439 19.9911V1.99112C2.50439 1.69112 2.70439 1.49112 3.00439 1.49112H12.8044",stroke:"url(#paint0_linear_1006_2437)",strokeLinecap:"round"}),(0,r.jsx)(a.Path,{fill:"none",d:"M5.50439 4.49112H9.50439",stroke:"url(#paint1_linear_1006_2437)",strokeLinecap:"round"}),(0,r.jsx)(a.Path,{fill:"none",d:"M5.50439 8.49112H13.5044",stroke:"url(#paint2_linear_1006_2437)",strokeLinecap:"round"}),(0,r.jsx)(a.Path,{fill:"none",d:"M5.50439 12.4911H14.5044",stroke:"url(#paint3_linear_1006_2437)",strokeLinecap:"round"}),(0,r.jsx)(a.Path,{fill:"none",d:"M5.50439 16.4911H14.5044",stroke:"url(#paint4_linear_1006_2437)",strokeLinecap:"round"}),(0,r.jsx)(a.Path,{fill:"none",d:"M16.0044 6.99112C16.0044 5.29112 17.3044 3.99112 19.0044 3.99112C17.3044 3.99112 16.0044 2.69112 16.0044 0.991119C16.0044 2.69112 14.7044 3.99112 13.0044 3.99112C13.8044 3.99112 14.6044 4.29112 15.1044 4.89112C15.7044 5.39112 16.0044 6.19112 16.0044 6.99112Z",stroke:"url(#paint5_linear_1006_2437)",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsxs)(a.Defs,{children:[(0,r.jsxs)(a.LinearGradient,{id:"paint0_linear_1006_2437",x1:"10.0044",y1:"1.49112",x2:"10.0044",y2:"20.4911",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#ED6F57"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,r.jsxs)(a.LinearGradient,{id:"paint1_linear_1006_2437",x1:"7.50439",y1:"4.24112",x2:"7.50439",y2:"5.74112",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#ED6F57"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,r.jsxs)(a.LinearGradient,{id:"paint2_linear_1006_2437",x1:"9.50439",y1:"8.24112",x2:"9.50439",y2:"9.74112",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#ED6F57"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,r.jsxs)(a.LinearGradient,{id:"paint3_linear_1006_2437",x1:"10.0044",y1:"12.2411",x2:"10.0044",y2:"13.7411",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#ED6F57"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,r.jsxs)(a.LinearGradient,{id:"paint4_linear_1006_2437",x1:"10.0044",y1:"16.2411",x2:"10.0044",y2:"17.7411",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#ED6F57"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,r.jsxs)(a.LinearGradient,{id:"paint5_linear_1006_2437",x1:"16.0044",y1:"0.991119",x2:"16.0044",y2:"6.99112",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#ED6F57"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]})]})]}),he=(e={})=>(0,r.jsxs)(a.SVG,{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:"transparent"},...e,children:[(0,r.jsx)(a.Path,{fill:"none",d:"M19.5 8V19.5C19.5 19.8 19.3 20 19 20H1C0.7 20 0.5 19.8 0.5 19.5V1.5C0.5 1.2 0.7 1 1 1H12.8",stroke:"url(#paint0_linear_1036_1071)",strokeLinecap:"round"}),(0,r.jsx)(a.Path,{fill:"none",d:"M17 6.5C17 4.8 18.3 3.5 20 3.5C18.3 3.5 17 2.2 17 0.5C17 2.2 15.7 3.5 14 3.5C14.8 3.5 15.6 3.8 16.1 4.4C16.7 4.9 17 5.7 17 6.5Z",stroke:"url(#paint1_linear_1036_1071)",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)(a.Path,{fill:"none",d:"M3 3H10C10.3 3 10.5 3.2 10.5 3.5V9.5C10.5 9.8 10.3 10 10 10H3C2.7 10 2.5 9.8 2.5 9.5V3.5C2.5 3.2 2.7 3 3 3Z",stroke:"url(#paint2_linear_1036_1071)"}),(0,r.jsx)(a.Path,{fill:"none",d:"M3 12H10C10.3 12 10.5 12.2 10.5 12.5V17.5C10.5 17.8 10.3 18 10 18H3C2.7 18 2.5 17.8 2.5 17.5V12.5C2.5 12.2 2.7 12 3 12Z",stroke:"url(#paint3_linear_1036_1071)"}),(0,r.jsx)(a.Path,{fill:"none",d:"M13 9H17C17.3 9 17.5 9.2 17.5 9.5V17.5C17.5 17.8 17.3 18 17 18H13C12.7 18 12.5 17.8 12.5 17.5V9.5C12.5 9.2 12.7 9 13 9Z",stroke:"url(#paint4_linear_1036_1071)"}),(0,r.jsxs)(a.Defs,{children:[(0,r.jsxs)(a.LinearGradient,{id:"paint0_linear_1036_1071",x1:"10",y1:"0.99",x2:"10",y2:"19.99",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#ED6F57"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,r.jsxs)(a.LinearGradient,{id:"paint1_linear_1036_1071",x1:"17",y1:"0.49",x2:"17",y2:"6.49",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#ED6F57"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,r.jsxs)(a.LinearGradient,{id:"paint2_linear_1036_1071",x1:"6.5",y1:"2.5",x2:"6.5",y2:"10.5",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#ED6F57"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,r.jsxs)(a.LinearGradient,{id:"paint3_linear_1036_1071",x1:"6.5",y1:"11.5",x2:"6.5",y2:"18.5",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#ED6F57"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,r.jsxs)(a.LinearGradient,{id:"paint4_linear_1036_1071",x1:"15",y1:"8.5",x2:"15",y2:"18.5",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#ED6F57"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]})]})]}),ge=(e={})=>(0,r.jsxs)(a.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsxs)(a.G,{"clip-path":"url(#clip0_1028_2592)",children:[(0,r.jsx)("path",{d:"M20 3H4C3.45 3 3 3.45 3 4V19C3 19.55 3.45 20 4 20H11.502C12.052 20 12.502 19.55 12.502 19V12H20C20.55 12 21 11.55 21 11V4C21 3.45 20.55 3 20 3ZM11.502 19H4V12H11.502V19ZM4 4H20V11H12.502V3.82L11.502 3.64V11H4V4Z",fill:"url(#paint0_linear_1028_2592)"}),(0,r.jsx)("path",{d:"M16.8007 12.7084C16.8822 12.5432 17.1178 12.5432 17.1993 12.7084L18.1239 14.5818C18.1562 14.6474 18.2188 14.6929 18.2912 14.7034L20.3586 15.0038C20.5409 15.0303 20.6137 15.2543 20.4818 15.3829L18.9858 16.8411C18.9334 16.8922 18.9095 16.9657 18.9219 17.0378L19.275 19.0969C19.3062 19.2785 19.1156 19.4169 18.9526 19.3312L17.1034 18.359C17.0387 18.325 16.9613 18.325 16.8966 18.359L15.0474 19.3312C14.8844 19.4169 14.6938 19.2785 14.725 19.0969L15.0781 17.0378C15.0905 16.9657 15.0666 16.8922 15.0142 16.8411L13.5182 15.3829C13.3863 15.2543 13.4591 15.0303 13.6414 15.0038L15.7088 14.7034C15.7812 14.6929 15.8438 14.6474 15.8761 14.5818L16.8007 12.7084Z",fill:"url(#paint1_linear_1028_2592)"})]}),(0,r.jsxs)(a.Defs,{children:[(0,r.jsxs)(a.LinearGradient,{id:"paint0_linear_1028_2592",x1:"12",y1:"3",x2:"12",y2:"20",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#ED6F57"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,r.jsxs)(a.LinearGradient,{id:"paint1_linear_1028_2592",x1:"17",y1:"12.3046",x2:"17",y2:"19.5407",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#ED6F57"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F22B6C"})]}),(0,r.jsx)("clipPath",{id:"clip0_1028_2592",children:(0,r.jsx)("rect",{width:"18",height:"17",fill:"white",transform:"translate(3 3)"})})]})]}),me=(e={})=>(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",...e,children:(0,r.jsx)(a.Path,{d:"M225.8 468.2l-2.5-2.3L48.1 303.2C17.4 274.7 0 234.7 0 192.8l0-3.3c0-70.4 50-130.8 119.2-144C158.6 37.9 198.9 47 231 69.6c9 6.4 17.4 13.8 25 22.3c4.2-4.8 8.7-9.2 13.5-13.3c3.7-3.2 7.5-6.2 11.5-9c0 0 0 0 0 0C313.1 47 353.4 37.9 392.8 45.4C462 58.6 512 119.1 512 189.5l0 3.3c0 41.9-17.4 81.9-48.1 110.4L288.7 465.9l-2.5 2.3c-8.2 7.6-19 11.9-30.2 11.9s-22-4.2-30.2-11.9zM239.1 145c-.4-.3-.7-.7-1-1.1l-17.8-20-.1-.1s0 0 0 0c-23.1-25.9-58-37.7-92-31.2C81.6 101.5 48 142.1 48 189.5l0 3.3c0 28.5 11.9 55.8 32.8 75.2L256 430.7 431.2 268c20.9-19.4 32.8-46.7 32.8-75.2l0-3.3c0-47.3-33.6-88-80.1-96.9c-34-6.5-69 5.4-92 31.2c0 0 0 0-.1 .1s0 0-.1 .1l-17.8 20c-.3 .4-.7 .7-1 1.1c-4.5 4.5-10.6 7-16.9 7s-12.4-2.5-16.9-7z"})}),ye=(e={})=>(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:(0,r.jsx)(a.Path,{d:"M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9L464.4 300.4c30.4-28.3 47.6-68 47.6-109.5v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5z"})}),ke=(e={})=>(0,r.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",...e,children:(0,r.jsx)(a.Path,{fill:"#ED6F57",d:"M128 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm32 97.3c28.3-12.3 48-40.5 48-73.3c0-44.2-35.8-80-80-80S48 51.8 48 96c0 32.8 19.7 61 48 73.3L96 224l-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l256 0 0 54.7c-28.3 12.3-48 40.5-48 73.3c0 44.2 35.8 80 80 80s80-35.8 80-80c0-32.8-19.7-61-48-73.3l0-54.7 256 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-64 0 0-54.7c28.3-12.3 48-40.5 48-73.3c0-44.2-35.8-80-80-80s-80 35.8-80 80c0 32.8 19.7 61 48 73.3l0 54.7-320 0 0-54.7zM488 96a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zM320 392a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})})},1265:function(e,t,o){var l=o(8490),s=o.n(l),a=o(8205),i=o(1187),r=o(886);window.otterUtils={},window.otterUtils.blockInit=a.blockInit,window.otterUtils.icons=i,window.otterUtils.useSettings=r.A,s()((()=>{window.oTrk=window?.tiTrk?.with("otter")}))},1455:function(e){e.exports=window.wp.apiFetch},1609:function(e){e.exports=window.React},1740:function(e,t,o){o.d(t,{d:function(){return i},g:function(){return r}});var l=o(7143),s=o(6087),a=o(5317);const i=(e=()=>{})=>(0,l.useSelect)((t=>{const{getView:o}=t("themeisle-gutenberg/data"),{__experimentalGetPreviewDeviceType:l}=!!t("core/edit-post")&&t("core/edit-post"),s=l?l():o();return{responsiveSetAttributes:(0,a.Sp)(e,s),responsiveGetAttributes:(0,a.u9)(s)}}),[]),r=(e,t,o,l="has-dark-bg",i="has-light-bg")=>{(0,s.useEffect)((()=>{const s="dark"===(0,a.n0)(e),r="light"===(0,a.n0)(e);let n=t.className||"";const c=e=>{n=n.split(" "),n.push(e),n=n.join(" ").trim()},d=e=>{n=n.replace(e,"").trim()};s&&!t?.className?.includes(l)?c(l):!s&&t?.className?.includes(l)&&d(l),r&&!t?.className?.includes(i)?c(i):!r&&t?.className?.includes(i)&&d(i),o({className:n})}),[e])}},1749:function(e,t,o){var l=o(6427),s=o(8851),a=o(790);t.A=({notice:e,variant:t="default",instructions:o})=>(0,a.jsxs)("div",{className:`o-notice is-${t}`,children:[e,o&&(0,a.jsx)(l.Tooltip,{text:o,position:"bottom center",children:s.A})]})},2049:function(e,t,o){o.d(t,{u:function(){return m}});var l=o(6942),s=o.n(l),a=o(7723),i=o(4715),r=o(9491),n=o(6427),c=o(6087),d=o(8053),b=o(7039),u=o(6344),p=o(790);const h=({i:e,icon:t,prefix:o,onToggle:l})=>(0,p.jsxs)(n.MenuItem,{label:e.label,className:s()({"is-selected":e.name===t&&e.prefix===o}),onClick:l,children:[(0,p.jsx)("i",{className:s()(e.prefix,`fa-${e.name}`,"fa-fw")}),e.name]}),g=({label:e,library:t,prefix:o,icon:l,changeLibrary:m,onChange:y,allowImage:k=!1,allowThemeisleIcons:x=!0})=>{const f=(0,r.useInstanceId)(g);(0,c.useEffect)((()=>{const e=[];Object.keys(b).forEach((t=>{Object.keys(b[t].styles).forEach((o=>{let l="";switch(b[t].styles[o]){case"brands":l="fab";break;case"solid":default:l="fas";break;case"regular":l="far"}e.push({name:t,unicode:b[t].unicode,prefix:l,label:b[t].label})}))})),S(e)}),[]);const[v,_]=(0,c.useState)(!1);(0,c.useEffect)((()=>{if("image"===t)try{const e=new URL(l);"http:"!==e?.protocol&&"https:"!==e?.protocol||_(!0)}catch(e){_(!1)}}),[t,l]);const[w,C]=(0,c.useState)(""),[j,S]=(0,c.useState)(null),T="fontawesome"===t?j:u.Ay.iconsList,B=`inspector-icon-picker-control-${f}`,M=({itemIcon:e=l})=>{const t=u.Ay.icons[e];return t?(0,p.jsxs)(c.Fragment,{children:[(0,p.jsx)(t,{}),e]}):(0,p.jsx)(c.Fragment,{children:(0,a.__)("Select Icon","otter-blocks")})},P=({i:e,onToggle:t})=>(0,p.jsx)(n.MenuItem,{label:e,className:s()({"is-selected":e===l}),onClick:()=>{t(),y(e)},children:(0,p.jsx)(M,{itemIcon:e})});return(0,p.jsx)(n.BaseControl,{id:B,className:"o-icon-picker-control",children:(0,p.jsx)(n.Dropdown,{contentClassName:"o-icon-picker-popover",position:"bottom left",renderToggle:({isOpen:r,onToggle:d})=>(0,p.jsxs)(c.Fragment,{children:[(x||k)&&(0,p.jsx)(n.SelectControl,{label:(0,a.__)("Icon Library","otter-blocks"),value:t,options:[{label:(0,a.__)("Font Awesome","otter-blocks"),value:"fontawesome"},...x?[{label:(0,a.__)("ThemeIsle Icons","otter-blocks"),value:"themeisle-icons"}]:[],...k?[{label:(0,a.__)("Custom Image","otter-blocks"),value:"image"}]:[]],onChange:m}),"image"!==t?(0,p.jsx)(n.BaseControl,{label:e,children:(0,p.jsx)(n.Button,{className:"o-icon-picker-button",onClick:d,"aria-expanded":r,children:l?(0,p.jsxs)(c.Fragment,{children:["fontawesome"===t&&(o?(0,p.jsxs)(c.Fragment,{children:[(0,p.jsx)("i",{className:s()(o,`fa-${l}`,"fa-fw")}),l]}):(0,a.__)("Select Icon","otter-blocks")),"themeisle-icons"===t&&(0,p.jsx)(M,{})]}):(0,a.__)("Select Icon","otter-blocks")})}):(0,p.jsxs)(c.Fragment,{children:[l&&(0,p.jsx)(n.BaseControl,{label:(0,a.__)("Image","otter-blocks"),className:"o-icon-picker-image-control",children:(0,p.jsx)("div",{style:{width:"100%",padding:"5px",display:"flex",flexDirection:"column",alignItems:"flex-start",gap:"5px"},children:v?(0,p.jsx)("img",{src:l,width:"130px"}):(0,p.jsx)("span",{children:(0,a.__)("Please select an image.","otter-blocks")})})}),(0,p.jsx)(i.MediaPlaceholder,{labels:{title:(0,a.__)("Image","otter-blocks")},accept:"image/*",allowedTypes:["image"],value:l,onSelect:y})]})]}),renderContent:({onToggle:e})=>"image"===t?(0,p.jsx)(p.Fragment,{}):(0,p.jsxs)(n.MenuGroup,{label:"fontawesome"===t?(0,a.__)("Font Awesome Icons","otter-blocks"):(0,a.__)("ThemeIsle Icons","otter-blocks"),style:{paddingBottom:"0px"},children:[(0,p.jsx)(n.TextControl,{value:w,onChange:e=>C(e)}),(0,p.jsx)("div",{className:"components-popover__items",children:T.map(((s,a)=>"fontawesome"!==t||w&&!s.name.match(w.toLowerCase())&&!s.label.toLowerCase().match(w.toLowerCase())?"themeisle-icons"!==t||w&&!s.toLowerCase().match(w.toLowerCase())?null:(0,p.jsx)(P,{i:s,onToggle:e},a):(0,p.jsx)(h,{i:s,icon:l,prefix:o,onToggle:()=>{e(),y({name:s.name,prefix:s.prefix})}},a)))}),(0,p.jsx)("div",{style:{display:"flex",justifyContent:"flex-end",position:"absolute",top:"11px",right:"5px"},children:(0,p.jsx)(n.Button,{onClick:e,icon:d.A})})]})})})},m=({label:e,classes:t,setAttributes:o})=>{(0,c.useEffect)((()=>{const e=[];if(Object.keys(b).forEach((t=>{Object.keys(b[t].styles).forEach((o=>{let l="";switch(b[t].styles[o]){case"brands":l="fab";break;case"solid":default:l="fas";break;case"regular":l="far"}e.push({name:t,unicode:b[t].unicode,prefix:l,label:b[t].label})}))})),d(e),t){const e=t.split(" "),o=e.find((e=>e.includes("fab")||e.includes("far")||e.includes("fas")))||"fas",l=e.find((e=>e.includes("fa-")));l&&(g(o),y(l))}}),[]);const[l,i]=(0,c.useState)(""),[r,d]=(0,c.useState)(null),[u,g]=(0,c.useState)(""),[m,y]=(0,c.useState)("");return(0,p.jsx)(n.ToolbarGroup,{children:(0,p.jsx)(n.Dropdown,{contentClassName:"o-icon-picker-popover",position:"bottom center",renderToggle:({isOpen:e,onToggle:t})=>(0,p.jsx)(n.ToolbarButton,{label:(0,a.__)("Menu Icons","otter-blocks"),className:"o-icon-picker-toolbar-button",showTooltip:!0,onClick:t,children:u&&m?(0,p.jsx)("i",{className:s()(u,m,"fa-fw")}):(0,p.jsx)("i",{className:"fas fa-icons fa-fw"})}),renderContent:({onToggle:s})=>(0,p.jsxs)(n.MenuGroup,{label:e,children:[(0,p.jsx)(n.TextControl,{value:l,onChange:e=>i(e)}),(0,p.jsxs)("div",{className:"components-popover__items",children:[m&&u&&!l&&(0,p.jsxs)(n.MenuItem,{label:(0,a.__)("None","otter-blocks"),showTooltip:!0,onClick:()=>(e=>{e();let l=t?t.split(" "):[];l.splice(l.indexOf(u),1),l.splice(l.indexOf(m),1),l=l.join(" "),o({className:l}),g(""),y("")})(s),children:[(0,p.jsx)("i",{className:"fas fa-times fa-fw remove-icon"}),(0,a.__)("Remove Icon","otter-blocks")]}),r.map(((e,a)=>!l||e.name.match(l.toLowerCase())||e.label.toLowerCase().match(l.toLowerCase())?(0,p.jsx)(h,{i:e,icon:m,prefix:u,onToggle:()=>((e,l)=>{e();let s=t?t.split(" "):[];s.splice(s.indexOf(u),1),s.splice(s.indexOf(m),1),s.push(l.prefix,`fa-${l.name}`),s=s.join(" "),o({className:s}),g(l.prefix),y(`fa-${l.name}`)})(s,e)},a):null))]})]})})})};t.A=g},2453:function(e,t,o){o.d(t,{C:function(){return d},F:function(){return c}}),o(7723);var l=o(4715),s=o(6427),a=o(790);const{Fill:i,Slot:r}=(0,s.createSlotFill)("OtterInspectorExtensions"),n=["themeisle-blocks/accordion","themeisle-blocks/advanced-columns","themeisle-blocks/advanced-column","themeisle-blocks/advanced-heading","themeisle-blocks/countdown","themeisle-blocks/flip","themeisle-blocks/form","themeisle-blocks/google-map","themeisle-blocks/icon-list","themeisle-blocks/popup","themeisle-blocks/posts-grid","themeisle-blocks/review","themeisle-blocks/slider"],c=e=>n.includes(e)?i:l.InspectorControls,d=()=>(0,a.jsx)(r,{children:e=>e.length?e:null})},2619:function(e){e.exports=window.wp.hooks},3050:function(e,t,o){o.d(t,{D:function(){return u},R:function(){return b}});var l=o(6942),s=o.n(l),a=o(6427),i=o(9491),r=o(4715),n=o(6087),c=o(790);const d=({label:e,value:t,options:o,onChange:l})=>{const r=`inspector-style-switcher-control-${(0,i.useInstanceId)(d)}`;return(0,c.jsx)(a.BaseControl,{id:r,label:e,children:(0,c.jsx)("div",{className:"o-style-switcher",children:o.map((e=>(0,c.jsxs)(a.Button,{className:s()("o-style-switcher-item",{"is-active":e.value===t}),tabIndex:"0",onClick:()=>(e=>l(e))(e.value),children:[(0,c.jsx)("div",{className:"o-style-switcher-item-preview",children:(0,c.jsx)("img",{src:e.image})}),(0,c.jsx)("div",{className:"o-style-switcher-item-label",children:e.label})]},e.value)))})})},b=d,u=({label:e,value:t,options:o,onChange:l})=>(0,c.jsx)(r.BlockControls,{children:(0,c.jsx)(a.ToolbarGroup,{children:(0,c.jsx)(a.Dropdown,{contentClassName:"otter-styles-popover-content",position:"bottom center",renderToggle:({isOpen:t,onToggle:o})=>(0,c.jsx)(a.Button,{className:"components-dropdown-menu__toggle",icon:"admin-appearance",onClick:o,"aria-haspopup":"true","aria-expanded":t,label:e,showTooltip:!0,children:(0,c.jsx)("span",{className:"components-dropdown-menu__indicator"})}),renderContent:()=>(0,c.jsx)(n.Fragment,{children:(0,c.jsx)("div",{className:"o-style-switcher",children:o.map((e=>(0,c.jsxs)(a.Button,{className:s()("o-style-switcher-item",{"is-active":e.value===t}),tabIndex:"0",onClick:()=>(e=>l(e))(e.value),children:[(0,c.jsx)("div",{className:"o-style-switcher-item-preview",children:(0,c.jsx)("img",{src:e.image})}),(0,c.jsx)("div",{className:"o-style-switcher-item-label",children:e.label})]},e.value)))})})})})})},3107:function(e,t,o){var l=o(7723),s=o(4997),a=o(6427),i=o(7143),r=o(8490),n=o.n(r),c=o(6087),d=o(2619),b=o(1187),u=o(5317),p=o(8205),h=o(790);if((0,s.updateCategory)("themeisle-blocks",{icon:b.otterIconColored}),(0,s.updateCategory)("themeisle-woocommerce-blocks",{icon:b.otterIconColored}),(0,d.addFilter)("otter.poweredBy","themeisle-gutenberg/powered-by-notice",(()=>(0,h.jsxs)("div",{className:"o-is-powered",children:[(0,l.__)("Powered by Otter","otter-blocks")," ",(0,h.jsx)(a.Icon,{icon:b.otterIcon})]}))),Boolean(window.themeisleGutenberg.should_show_upsell)){const{createNotice:e}=(0,i.dispatch)("core/notices");e("info",(0,l.__)("Enjoying Otter Blocks? Enhance your site building experience with Otter Pro.","otter-blocks"),{isDismissible:!0,onDismiss:async()=>{let t,o={};await window.wp.api.loadPromise.then((()=>{t=new window.wp.api.models.Settings})),t.fetch().then((e=>{0<e.themeisle_blocks_settings_notifications.length&&(o=e.themeisle_blocks_settings_notifications)})),o.editor_upsell=!0;const s=new window.wp.api.models.Settings({themeisle_blocks_settings_notifications:o});await s.save().then((()=>{e("info",(0,l.__)("No problem! Enjoy using Otter!","otter-blocks"),{isDismissible:!0,type:"snackbar"})}))},actions:[{label:(0,l.__)("Tell me more!","otter-blocks"),variant:"link",noDefaultClasses:!0,onClick:()=>window.open((0,u.lY)(window.themeisleGutenberg.upgradeLink,"tellmemore"),"_blank")}]})}n()((()=>{if(setTimeout((()=>{(()=>{const e={"themeisle-gutenberg/masonry":"core/gallery","themeisle-gutenberg/live-search":"core/search"};((0,i.select)("core/preferences")?.get("core/edit-post","hiddenBlockTypes")||[]).forEach((t=>{if(o=t,e.hasOwnProperty(o)){const o=e[t],l=wp?.blocks?.getBlockVariations(o),s=l.find((e=>e.name===t));if(!s)return;wp?.blocks?.unregisterBlockVariation(o,t),s.scope=[],wp?.blocks?.registerBlockVariation(o,s)}var o}))})(),(()=>{if(!(0,s.getCategories)())return;const e=(0,s.getCategories)(),t=e.find((e=>"themeisle-blocks"===e.slug));t&&(e.unshift(e.splice(e.indexOf(t),1)[0]),(0,s.setCategories)(e))})()}),500),document.querySelector("svg.o-icon-gradient"))return;const e=document.createElement("DIV");e.setAttribute("style","height: 0; width: 0; overflow: hidden;"),e.setAttribute("aria-hidden","true"),document.querySelector("body").appendChild(e),(0,c.createRoot)(e).render((0,h.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"o-icon-gradient",height:"0",width:"0",style:{opacity:0},children:(0,h.jsx)("defs",{children:(0,h.jsxs)("linearGradient",{id:"o-icon-fill",children:[(0,h.jsx)("stop",{offset:"0%",stopColor:"#ED6F57",stopOpacity:"1"}),(0,h.jsx)("stop",{offset:"100%",stopColor:"#F22B6C",stopOpacity:"1"})]})})}))})),window.otterStateMemory=new p.GlobalStateMemory,window.addEventListener("themeisle:survey:loaded",(()=>{let e=!1,t=null,o=0;window.dispatchEvent(new CustomEvent("themeisle:survey:trigger:cancel")),t=wp.data.subscribe((()=>{const l=Date.now();if(l-o<2e3)return;if(o=l,e)return;const s=(0,i.select)("core/block-editor").getBlocks();if(!s||0===s.length)return;const a=e=>{for(const t of e){if(t.name.includes("themeisle-blocks"))return!0;if(t.innerBlocks&&t.innerBlocks.length>0&&a(t.innerBlocks))return!0}return!1};a(s)&&(e=!0,window.tsdk_formbricks?.init({}),t())}))}))},4715:function(e){e.exports=window.wp.blockEditor},4821:function(e,t,o){o.d(t,{_f:function(){return y},mT:function(){return h},rM:function(){return g},Se:function(){return u},Z0:function(){return p},q5:function(){return n},sJ:function(){return c},LG:function(){return m},ml:function(){return b}});var l=o(4997),s=o(1455),a=o.n(s),i=window.wp.url;function r(e){return null!=e||(e={stream:!1}),async(t,o,l)=>{const s={...o,messages:o.messages.map((e=>"user"===e.role&&e.content.includes("{INSERT_TASK}")?{role:"user",content:e.content.replace("{INSERT_TASK}",t)}:e))};try{return await a()({path:(0,i.addQueryArgs)("/otter/v1/openai/generate",{}),method:"POST",body:JSON.stringify({...null!=l?l:{},...function(e){for(const t in e)t.startsWith("otter_")&&delete e[t];return e}(s),...e})})}catch(e){var r;return{error:{code:"system",message:null!==(r=e.error?.message)&&void 0!==r?r:e.error}}}}}const n=r(),c=r({temperature:1.3,stream:!1}),d={text:"themeisle-blocks/form-input",email:"themeisle-blocks/form-input",password:"themeisle-blocks/form-input",number:"themeisle-blocks/form-input",tel:"themeisle-blocks/form-input",url:"themeisle-blocks/form-input",date:"themeisle-blocks/form-input",time:"themeisle-blocks/form-input",select:"themeisle-blocks/form-multiple-choice",checkbox:"themeisle-blocks/form-multiple-choice",radio:"themeisle-blocks/form-multiple-choice",file:"themeisle-blocks/form-file",textarea:"themeisle-blocks/form-textarea"};function b(e){try{return JSON.parse(e)}catch{return}}function u(e){if(!e)return[];const t=b(e);return t?t?.fields?.map((e=>{if(d?.[e.type])return(0,l.createBlock)(d[e.type],{label:e.label,placeholder:e.placeholder,helpText:e.helpText,options:e.choices?.join("\n"),allowedFileTypes:e.allowedFileTypes})})).filter(Boolean):[]}function p(e){return a()({path:(0,i.addQueryArgs)("/otter/v1/openai/prompt",{name:e}),method:"GET"})}function h(e,t){return{...e,messages:e.messages.map((e=>"user"===e.role&&e.content.includes("{ACTION}")?{role:"user",content:e.content.replace("{ACTION}",t)}:e))}}function g(e,t){const{messages:o}=e,l=o.map((e=>e.role)).lastIndexOf("user");return-1===l?e:{...e,messages:[...o.slice(0,l),t,...o.slice(l)]}}function m(e,t){if(!e)return t;const o=e.replace(/{text_input}/gi,(()=>t||"{text_input}"));return o===e&&t?e+" "+t:o}function y(e,t){const{messages:o}=e,l=o.map((e=>e.role)).lastIndexOf("user");return-1===l?e:{...e,messages:[...o.slice(0,l),{role:"user",content:t(o?.[l]?.content)}]}}},4997:function(e){e.exports=window.wp.blocks},5198:function(e,t,o){o.d(t,{A:function(){return b}});var l=o(9703),s=o(8483),a=o(7723),i=o(4715),r=o(6427),n=o(6087),c=window.wp.keycodes,d=o(790),b=({isSelected:e,url:t,setAttributes:o,opensInNewTab:b})=>{const[u,p]=(0,n.useState)(!1),h=!!t,g=h&&e,m=()=>(p(!0),!1),y=()=>{o({link:void 0,newTab:void 0}),p(!1)},k=u&&(0,d.jsx)(r.Popover,{position:"bottom right",onClose:()=>p(!1),children:(0,d.jsx)(i.__experimentalLinkControl,{className:"wp-block-navigation-link__inline-link-input",value:{url:t,opensInNewTab:b},onChange:({url:e="",opensInNewTab:t})=>{o({link:e}),b!==t&&o({newTab:t})},onRemove:y})});return(0,d.jsxs)(n.Fragment,{children:[(0,d.jsxs)(r.ToolbarGroup,{children:[!h&&(0,d.jsx)(r.ToolbarButton,{name:"link",icon:l.A,title:(0,a.__)("Link","otter-blocks"),shortcut:c.displayShortcut.primary("k"),onClick:m,className:"o-toolbar-icon"}),g&&(0,d.jsx)(r.ToolbarButton,{name:"link",icon:s.A,title:(0,a.__)("Unlink","otter-blocks"),shortcut:c.displayShortcut.primaryShift("k"),onClick:Boolean(window.themeisleGutenberg.isLegacyPre59)?y:m,isActive:!0,className:"o-toolbar-icon"})]}),e&&(0,d.jsx)(r.KeyboardShortcuts,{bindGlobal:!0,shortcuts:{[c.rawShortcut.primary("k")]:m,[c.rawShortcut.primaryShift("k")]:y}}),k]})}},5317:function(e,t,o){o.d(t,{BU:function(){return V},FQ:function(){return u},H8:function(){return D},JE:function(){return M},Lt:function(){return c},MZ:function(){return m},Md:function(){return h},Pw:function(){return _},SJ:function(){return I},Sp:function(){return F},Xl:function(){return w},Yq:function(){return d},_F:function(){return H},a0:function(){return B},c5:function(){return N},f0:function(){return f},hT:function(){return C},jW:function(){return g},kn:function(){return n},kp:function(){return p},kq:function(){return O},lP:function(){return E},lY:function(){return A},m:function(){return j},n0:function(){return T},n_:function(){return P},qL:function(){return R},qh:function(){return S},sO:function(){return G},tJ:function(){return x},u9:function(){return L},uL:function(){return b},ue:function(){return $},ws:function(){return k}});var l=o(8468),s=o(7723),a=o(8443),i=o(8369);const r=["wp_template","wp_template_part","wp_navigation","nav_menu_item","wp_block","attachment","sfwd-certificates","e-landing-page","piotnetforms-book","piotnetforms","piotnetforms-data","jet-menu","jet-popup","adsforwp-groups","pgc_simply_gallery","editor-story","pafe-form-booking","sfwd-assignment","sfwd-essays","pafe-formabandonment","frm_display","sfwd-transactions","jet-engine","jet-theme-core","reply","jet_options_preset","tutor_assignments","brizy_template","jet-smart-filters","pafe-fonts","pafe-form-database","ct_content_block","adsforwp","iamport_payment","tribe_events","mec_esb","elementor_library","testimonial","zion_template","popup","jet-engine-booking","tutor_quiz","piotnetforms-aban","forum","topic","sfwd-quiz","mec-events","jet-woo-builder","neve_custom_layouts","feedzy_imports","neve_cart_notices","visualizer"],n=e=>{const t=document.createElement("div");return t.innerHTML=e,void 0!==t.innerText?t.innerText:t.textContent},c=e=>{const t=document.createElement("textarea");return t.innerHTML=e,t.value},d=e=>{const t=(e=new Date(e)).getDate(),o=e.getMonth(),l=e.getFullYear();return t+" "+["January","February","March","April","May","June","July","August","September","October","November","December"][o]+", "+l},b=async()=>{const e=window.themeisleGutenberg.postTypes;if(e){const t=Object.keys(e);return(0,l.without)(t,...r)}},u=e=>{if("string"==typeof e||e instanceof String)return e[0].toUpperCase()+e.slice(1);throw"The parameter must be a string."},p=(e,t)=>{const o=[];return e?.forEach(((l,s)=>{o.push(l),s<e.length-1&&o.push(t)})),o},h=()=>{const e=60*(0,a.__experimentalGetSettings)().timezone.offset,t=0>e?"-":"+",o=Math.abs(e);return(0,s.sprintf)("%1$s%2$02d:%3$02d",t,o/60,o%60)},g=e=>!Object.keys(e).some((t=>null!==e[t])),m=e=>Object.values(e).every((e=>void 0===e)),y=(e,t)=>(0,l.isNumber)(e)?e+t:e,k=e=>y(e,"px"),x=e=>y(e,"%"),f=(e,t=void 0)=>(0,l.isNumber)(e)?(0,i.eA)(k(e)):void 0===e?t:{top:e?.top,bottom:e?.bottom,right:e?.right,left:e?.left},v={top:"flex-start",left:"flex-start",center:"center",bottom:"flex-end",right:"flex-end"},_=e=>v[e],w=e=>{-1<e.indexOf("?")&&(e=e.split("?")[1]);const t=e.split("&"),o={};return t.forEach((function(e){""!==(e=e.split("="))[0]&&(o[e[0]]=decodeURIComponent(e[1]||""))})),o},C=e=>Object.keys(e).map((t=>t+"="+e[t])).join("&"),j=e=>{var t;const o=e?.filter((e=>e?.[0]))?.[0];return null!==(t=o?.[1])&&void 0!==t?t:o?.[0]},S=(e,t=100)=>{if(e||(e="#000000"),"#"!==e[0])return e;const[o,l,s]=e.match(/\w\w/g).map((e=>parseInt(e,16)));return`rgba(${o},${l},${s},${t/100})`},T=e=>{if(!e)return!1;let t=e;if(e.startsWith("var(")&&(t=getComputedStyle(document.documentElement).getPropertyValue(e.slice(4,-1)).trim()),t.startsWith("#")&&(t=S(t)),!Boolean(t))return!1;const[o,l,s]=t.match(/\d+/g).map(Number);return 128>.299*o+.587*l+.114*s?"dark":"light"},B=(e={},t={})=>{var o,l,s,a,i,r,n,c;return null!=e||(e={}),`${null!==(o=null!==(l=e?.top)&&void 0!==l?l:t?.top)&&void 0!==o?o:"0px"} ${null!==(s=null!==(a=e?.right)&&void 0!==a?a:t?.right)&&void 0!==s?s:"0px"} ${null!==(i=null!==(r=e?.bottom)&&void 0!==r?r:t?.bottom)&&void 0!==i?i:"0px"} ${null!==(n=null!==(c=e?.left)&&void 0!==c?c:t?.left)&&void 0!==n?n:"0px"}`},M=(e,t)=>{if(void 0===t||(0,l.isEmpty)(t))return e;const o=(0,l.omitBy)(e,((e,o)=>e===t?.[o]));return(0,l.isEmpty)(o)?void 0:o},P=(e,t)=>(0,l.merge)({left:"0px",right:"0px",bottom:"0px",top:"0px"},t,e),z={Desktop:0,Tablet:1,Mobile:2},A=(e,t,o)=>{const l=new URL(e);return l.searchParams.set("utm_campaign",t),o&&l.searchParams.set("utm_content",o),l.toString()},F=(e,t)=>(o,s,a={})=>{var i,r;const n=s[null!==(i=z[t])&&void 0!==i?i:0]?.split(".")[0],c={[n]:{...a}};(0,l.set)(c,s[null!==(r=z[t])&&void 0!==r?r:0],o),e("object"==typeof c[n]&&(0,l.isEmpty)(c[n])?{[n]:void 0}:c)},L=(e,t="Desktop",o=!0)=>l=>{var s,a;return o&&!l?.[z[e]]&&e!==t?null!==(a=l?.[z[e]-1])&&void 0!==a?a:l?.[z[e]-2]:null!==(s=l?.[z[e]])&&void 0!==s?s:l?.[z[t]]},R=(e,t)=>{const o=t?.split(" ")||[],l=e.map((e=>e.value)),s=e.find((e=>e.isDefault))?.value||"";for(const e of o){if(-1===e.indexOf("is-style-"))continue;const t=e.substring(9);if(-1<l.indexOf(t))return t}return s},N=(e,t,o)=>{const l=e?.split(" ")||[],s=R(t,e),a=t.find((e=>e.isDefault))?.value||"";return s&&-1<l.indexOf(`is-style-${s}`)&&l.splice(l.indexOf(`is-style-${s}`),1),o&&o!==a&&l.push(`is-style-${o}`),l.join(" ")},I=e=>{var t;return`{\n${null!==(t=e?.map((e=>{return t=e?.[0],o=e?.[1],l=e?.[2],null==o||void 0!==l&&!("function"==typeof l?l(o):l)?void 0:`${t}: ${o};`;var t,o,l}))?.filter((e=>void 0!==e))?.join("\n"))&&void 0!==t?t:""} \n}`},O=e=>(0,l.isString)(e)?{top:e,bottom:e,right:e,left:e}:e,H=e=>{if(void 0===e)return;const t=(0,l.isString)(e)?P(O(e)):P(e);return`${t.top} ${t.right} ${t.bottom} ${t.left}`},V=e=>(e=>{if(!(0,l.isObjectLike)(e))return e;for(const t in e)(0,l.isObjectLike)(e[t])&&(e[t]=V(e[t])),(0,l.isNil)(e[t])&&delete e[t];return(0,l.isEmpty)(e)?void 0:e})((0,l.cloneDeep)(e)),D=(e,t)=>(0,l.isNumber)(e)?H(y(e,t)):H(e),G=(e,t="px")=>(0,l.isNumber)(e)?O(y(e,t)):e,E=e=>!(void 0!==e?.top&&void 0!==e?.right&&void 0!==e?.bottom&&void 0!==e?.left),$=(e,t,o=e=>e)=>{if(void 0===e||void 0===t)return[];let l=[];for(const s of e)t(s)&&l.push(s),o(s)&&(l=l.concat($(s?.innerBlocks,t)));return l}},5573:function(e){e.exports=window.wp.primitives},5617:function(e,t,o){var l=o(8468);const{getEditorIframe:s}=o(8205),a=new class{constructor(){this.fonts=[],this.status="none",this.controller=new AbortController,this.request=null,this.node=document.createElement("style"),this.node.type="text/css",this.node.setAttribute("data-generator","otter-blocks-fonts-loader"),this.isAttaching=!1,this.usedFonts=[],this.previewFonts=new Set}async afterLoading(){return await this.requestFonts(),this}getFont(e){return this.fonts.find((t=>t.family===e))}getVariants(e){const t=this.getFont(e);return t?t.variants.filter((e=>!1===e.includes("italic"))).map((e=>({label:(0,l.startCase)((0,l.toLower)(e)),value:e}))):[]}async loadFontToBrowser(e,t="regular"){if(!e)return Error("Empty font name.");"none"!==this.status&&"loading"!==this.status||await this.afterLoading();const o=this.getFont(e);return o?(this.usedFonts.find((o=>o.font.family===e&&o.variant===t))||(this.usedFonts.push({font:o,variant:t}),this.updateCSSNode()),o):Error("Font does not exists.")}async requestFonts(e=!1){return"done"===this.status?this.fonts:("none"===this.status&&(this.status="loading",this.request=new Promise((async(t,o)=>{"done"!==this.status||e||t(this.fonts),e&&this.controller.abort(),fetch("https://www.googleapis.com/webfonts/v1/webfonts?key=AIzaSyClGdkPJ1BvgLOol5JAkQY4Mv2lkLYu00k",{signal:this.controller.signal}).then((e=>e.json())).then((e=>{this.fonts=e.items,this.status="done",t(this.fonts)})).catch((e=>{this.status="error",o(e)}))}))),this.request)}updateCSSNode(){this.node.innerHTML=this.renderCSSFont()}attach(){this.isAttaching||(this.isAttaching=!0,setTimeout((()=>{var e;const t=null!==(e=s()?.contentWindow?.document)&&void 0!==e?e:document;t?.querySelector('[data-generator*="otter-blocks-fonts-loader"]')||(t?.head?.appendChild(this.node),this.previewFonts.clear()),this.isAttaching=!1}),500))}renderCSSFont(){return Array.from(this.usedFonts).map((({font:e,variant:t})=>{var o;const l=(null!==(o=e.files?.[t])&&void 0!==o?o:e.files?.regular)?.replace("http://","https://");return`\n\t\t\t\t@font-face {\n\t\t\t\t\tfont-family: "${e.family}";\n\t\t\t\t\tsrc: url('${l}'); /* IE9 Compat Modes */\n\t\t\t\t\tsrc: url('${l}') format('truetype'), /* Safari, Android, iOS */\n\t\t\t\t}\n\t\t\t`})).join("\n")}addPreviewFont(e,t){var o;if(this.previewFonts.has(e))return;this.previewFonts.add(e);const l=encodeURIComponent(t),a=`https://fonts.googleapis.com/css2?family=${e.replace(" ","+")}&text=${l}`,i=document.createElement("link");i.rel="stylesheet",i.href=a;const r=null!==(o=s()?.contentWindow?.document)&&void 0!==o?o:document;r?.body?.appendChild(i)}};Object.seal(a),t.A=a},5669:function(e,t,o){var l=o(6942),s=o.n(l),a=o(7677),i=o(3337),r=o(9214),n=o(7723),c=o(6427),d=o(9491),b=o(6087),u=o(790);const p=({label:e,attributes:t,setAttributes:o,resetValues:l,onClick:h,children:g})=>{(0,b.useEffect)((()=>{for(const e in l){if(l[e]!==t[e])return k(!0);k(!1)}}),[t]);const m=(0,d.useInstanceId)(p),[y,k]=(0,b.useState)(!1),x=`inspector-control-panel-control-${m}`;return(0,u.jsx)("div",{className:"o-control-panel-control",children:(0,u.jsx)("div",{className:"components-base-control__field",children:(0,u.jsxs)("div",{className:"components-base-control__title",children:[(0,u.jsx)("label",{className:"components-base-control__label",htmlFor:x,children:e}),(0,u.jsx)("div",{className:"floating-controls",children:(0,u.jsx)(c.Dropdown,{position:"top left",headerTitle:e,expandOnMobile:!0,renderToggle:({isOpen:t,onToggle:d})=>(0,u.jsxs)(b.Fragment,{children:[y&&(0,u.jsx)(c.Button,{icon:(0,u.jsx)(a.A,{icon:i.A}),label:(0,n.__)("Reset to default","otter-blocks"),showTooltip:!0,isTertiary:!0,onClick:()=>o({...l})}),(0,u.jsx)(c.Button,{id:x,icon:r.A,label:e,showTooltip:!0,onClick:()=>{d(),h&&h()},"aria-expanded":t,className:s()({"is-active":y})})]}),renderContent:()=>(0,u.jsx)("div",{className:"otter-popover-settings",children:g})})})]})})})};t.A=p},5795:function(e){e.exports=window.ReactDOM},5863:function(e){e.exports=window.wp.api},6087:function(e){e.exports=window.wp.element},6154:function(e){e.exports=window.moment},6304:function(e,t,o){var l=o(8468),s=o(832),a=o.n(s),i=o(7723),r=o(6427),n=o(7711),c=o(8169),d=o(8351),b=o(4596),u=o(7297),p=o(2018),h=o(3141),g=o(4152),m=o(6363),y=o(6087),k=o(9491),x=o(5617),f=o(6942),v=o.n(f),_=o(790);const w={isEnabled:{fontFamily:!1,appearance:!1,spacing:!1,decoration:!1,letterCase:!1,lineHeight:!1,variant:!1},fontSizes:[{name:(0,i.__)("14","otter-blocks"),slug:"extra-small",size:"14px"},{name:(0,i.__)("16","otter-blocks"),slug:"small",size:"16px"},{name:(0,i.__)("18","otter-blocks"),slug:"medium",size:"18px"},{name:(0,i.__)("24","otter-blocks"),slug:"large",size:"24px"},{name:(0,i.__)("28","otter-blocks"),slug:"extra-large",size:"28px"}],componentNames:{fontSize:(0,i.__)("Font Size","otter-blocks"),fontFamily:(0,i.__)("Font Family","otter-blocks"),appearance:(0,i.__)("Appearance","otter-blocks"),spacing:(0,i.__)("Spacing","otter-blocks"),decoration:(0,i.__)("Decoration","otter-blocks"),letterCase:(0,i.__)("Letter Case","otter-blocks"),lineHeight:(0,i.__)("Line Height","otter-blocks"),variant:(0,i.__)("Variant","otter-blocks")},title:(0,i.__)("Typography","otter-blocks")},C=e=>{var t,o,s,f,j,S,T,B,M;const{enableComponents:P,componentsValue:z,componentsDefaultValue:A,onChange:F,showAsDisable:L,title:R,onReset:N,allowVariants:I}=e,[O,H]=(0,y.useState)((0,l.mapValues)(null!=z?z:w.isEnabled,(e=>Boolean(e)))),V=(e,t)=>{F?.({...null!=z?z:{},[e]:t})},D=`inspector-google-fonts-control-${(0,k.useInstanceId)(C)}`,[G,E]=(0,y.useState)([]),[$,W]=(0,y.useState)([]),[U,q]=(0,y.useState)(""),[Z,J]=(0,y.useState)(!1);return(0,y.useEffect)((()=>{Boolean(e.config?.fontFamilyAsSelect)&&O?.fontFamily&&0===G.length&&(J(!0),x.A.afterLoading().then((e=>{E(e.fonts),J(!1)})))}),[O?.fontFamily,G,I,z?.fontFamily]),(0,y.useEffect)((()=>{I&&z?.fontFamily&&W(x.A.getVariants(z?.fontFamily))}),[I,z?.fontFamily]),(0,_.jsxs)("div",{className:"o-typo-component",children:[(0,_.jsxs)(r.__experimentalHStack,{className:"o-typo-header",children:[(0,_.jsx)("p",{children:null!=R?R:w.title}),(0,_.jsx)(r.DropdownMenu,{icon:c.A,label:(0,i.__)("View options","otter-blocks"),toggleProps:{isSmall:!0},children:({onClose:e=noop})=>(0,_.jsxs)(y.Fragment,{children:[(0,_.jsx)(r.MenuGroup,{children:(0,_.jsx)(r.Disabled,{children:(0,_.jsx)(r.MenuItem,{isSelected:!0,label:w.componentNames?.fontSize,icon:d.A,onClick:()=>{},role:"menuitemcheckbox",children:w.componentNames?.fontSize},"fontSize")})}),(0,_.jsx)(r.MenuGroup,{children:["fontFamily","appearance","spacing","decoration","letterCase","lineHeight","variant"].filter((e=>!("variant"===e&&!I))).map(((e,t)=>P?.[e]?(0,_.jsx)(r.MenuItem,{isSelected:Boolean(O?.[e]),label:w.componentNames?.[e],icon:Boolean(O?.[e])?d.A:void 0,onClick:()=>{H({...O,[e]:!Boolean(O?.[e])}),O?.[e]&&N?.(e)},role:"menuitemcheckbox",children:w.componentNames?.[e]},e):(0,_.jsx)(_.Fragment,{})))}),(0,_.jsx)(r.MenuGroup,{children:(0,_.jsx)(r.MenuItem,{variant:"tertiary",onClick:()=>{F?.({fontFamily:void 0,appearance:void 0,spacing:void 0,decoration:void 0,letterCase:void 0,lineHeight:void 0,variant:void 0}),H(w.isEnabled),e?.()},children:(0,i.__)("Reset all","otter-blocks")})})]})})]}),(0,_.jsx)(r.Disabled,{isDisabled:Boolean(L?.fontSize),children:(0,_.jsx)(r.__experimentalSpacer,{children:(0,_.jsx)(r.FontSizePicker,{value:null!==(t=z?.fontSize)&&void 0!==t?t:A?.fontSize,fontSizes:null!==(o=e.fontSizes)&&void 0!==o?o:w.fontSizes,onChange:e=>V("fontSize",e?.toString())})})}),O?.fontFamily&&(0,_.jsx)(r.Disabled,{isDisabled:Boolean(L?.fontFamily),children:(0,_.jsx)("div",{className:"o-gfont-control",children:(0,_.jsx)(r.BaseControl,{label:"Font Family",id:D,className:"o-no-margin",children:null!==G?Boolean(e.config?.fontFamilyAsSelect)?(0,_.jsx)(r.SelectControl,{value:null!==(s=z?.fontFamily)&&void 0!==s?s:A?.fontFamily,id:D,options:[{label:(0,i.__)("Default","otter-blocks"),value:""},...G.map((e=>({label:e.family,value:e.family})))],onChange:e=>{V("fontFamily",""!==e?e:void 0)}}):(0,_.jsx)(r.Dropdown,{contentClassName:"o-gfont-popover",position:"bottom center",renderToggle:({isOpen:e,onToggle:t})=>{var o,l;return(0,_.jsx)(r.Button,{className:"o-gfont-button",id:D,onClick:()=>{O?.fontFamily&&0===G.length&&(J(!0),x.A.afterLoading().then((e=>{E(e.fonts),J(!1),I&&z?.fontFamily&&W(e.getVariants(z?.fontFamily))}))),t?.()},"aria-expanded":e,children:null!==(o=null!==(l=z?.fontFamily)&&void 0!==l?l:A?.fontFamily)&&void 0!==o?o:(0,i.__)("Select Font Family","otter-blocks")})},renderContent:({onToggle:e})=>(0,_.jsxs)(r.MenuGroup,{label:(0,i.__)("Google Fonts","otter-blocks"),children:[(0,_.jsx)(r.TextControl,{value:U,onChange:e=>q(e)}),(0,_.jsxs)("div",{className:"components-popover__items",children:[(0,_.jsx)(r.MenuItem,{onClick:()=>{e(),V("fontFamily",void 0),q("")},children:(0,i.__)("Default","otter-blocks")}),0===G.length&&Z?(0,_.jsxs)(y.Fragment,{children:[(0,_.jsx)(r.Spinner,{}),(0,i.__)("Loading fonts.","otter-blocks")]}):"",G.map(((t,o)=>!U||t.family.toLowerCase().includes(U.toLowerCase())?(0,_.jsx)(r.MenuItem,{className:v()({"is-selected":t.family===z?.fontFamily}),onClick:()=>{var o;e(),o={fontFamily:t.family,variant:"normal"},F?.({...null!=z?z:{},...o}),q("")},children:(0,_.jsx)(a(),{onChange:e=>{e&&x.A.addPreviewFont(t.family,t.family)},children:(0,_.jsx)("div",{style:{fontFamily:t.family},children:t.family})})},o):null))]})]})}):(0,i.__)("Loading…","otter-blocks")})})}),(0,_.jsx)("div",{}),(I&&O?.variant||O?.lineHeight)&&(0,_.jsxs)(y.Fragment,{children:[I&&O?.variant&&(0,_.jsx)(r.Disabled,{isDisabled:Boolean(L?.variant),children:(0,_.jsx)(r.SelectControl,{label:(0,i.__)("Variants","otter-blocks"),value:null!==(f=z?.variant)&&void 0!==f?f:"normal",options:$,onChange:e=>V("variant",e)})}),O?.lineHeight&&(0,_.jsx)(r.Disabled,{isDisabled:Boolean(L?.lineHeight),children:(0,_.jsx)(r.__experimentalSpacer,{children:(0,_.jsx)(r.__experimentalUnitControl,{label:(0,i.__)("Line Height","otter-blocks"),value:null!==(j=z?.lineHeight)&&void 0!==j?j:A?.lineHeight,onChange:e=>V("lineHeight",e),units:[{a11yLabel:"Unitless (-)",label:"-",step:.1,value:""},{a11yLabel:"Pixels (px)",label:"px",step:.1,value:"px"},{a11yLabel:"Percentage (%)",label:"%",step:1,value:"%"}]})})})]}),(O?.appearance||O?.spacing)&&(0,_.jsxs)(y.Fragment,{children:[O?.appearance&&(0,_.jsx)(r.Disabled,{isDisabled:Boolean(L?.appearance),children:(0,_.jsx)(r.SelectControl,{label:(0,i.__)("Appearance","otter-blocks"),value:null!==(S=z?.appearance)&&void 0!==S?S:A?.appearance,options:[{label:(0,i.__)("Regular","otter-blocks"),value:"normal"},{label:(0,i.__)("Italic","otter-blocks"),value:"italic"}],onChange:e=>V("appearance",e)})}),O.spacing&&(0,_.jsx)(r.Disabled,{isDisabled:Boolean(L?.spacing),children:(0,_.jsx)(r.__experimentalUnitControl,{label:"Spacing",value:null!==(T=z?.spacing)&&void 0!==T?T:A?.spacing,onChange:e=>V("spacing",e)})})]}),O?.decoration&&(0,_.jsx)(r.Disabled,{isDisabled:Boolean(L?.decoration),children:(0,_.jsx)(r.BaseControl,{label:(0,i.__)("Decoration","otter-blocks"),id:"1",children:(0,_.jsx)(n.A,{hasIcon:!0,value:null!==(B=z?.decoration)&&void 0!==B?B:A?.decoration,options:[{label:(0,i.__)("Reset","otter-blocks"),value:"reset",icon:b.A},{label:(0,i.__)("Underline","otter-blocks"),value:"underline",icon:u.A},{label:(0,i.__)("Strikethrough","otter-blocks"),value:"strikethrough",icon:p.A}],onChange:e=>V("decoration",e)})})}),O?.letterCase&&(0,_.jsx)(r.Disabled,{isDisabled:Boolean(L?.letterCase),children:(0,_.jsx)(r.BaseControl,{label:(0,i.__)("Letter Case","otter-blocks"),id:"1",children:(0,_.jsx)(n.A,{hasIcon:!0,value:null!==(M=z?.letterCase)&&void 0!==M?M:A?.letterCase,options:[{label:(0,i.__)("None","otter-blocks"),value:"none",icon:b.A},{label:(0,i.__)("Uppercase","otter-blocks"),value:"uppercase",icon:h.A},{label:(0,i.__)("Lowercase","otter-blocks"),value:"lowercase",icon:g.A},{label:(0,i.__)("Capitalize","otter-blocks"),value:"capitalize",icon:m.A}],onChange:e=>V("letterCase",e)})})})]})};t.A=C},6344:function(e,t,o){var l=o(790);t.Ay={iconsList:["balance","battery","bookmark","briefcase","calculator","calendar","camera","chart","chartGear","check","checklist","clock","cloudDatabase","cloudDownload","cloudNetwork","compass","creditCard","database","design","diamond","disk","download","drop","favorite","fileDownload","filter","flag","folder","folders","gear","gears","gift","globe","graduation","graph","group","heart","hourglass","house","id","idea","key","lamp","link","location","lock","man","mail","medal","megaphone","message","messages","microphone","mobile","mouse","music","notification","offer","page","paperclip","pen","phone","picture","piggybank","plane","play","pointer","power","presentation","price","puzzle","refresh","repair","responsive","science","search","security","securityAlt","servers","settings","share","shield","shoppingCart","sign","siteMap","statistics","tag","telescope","trophy","university","usb","usbDrive","user","vault","wallet","warning","webpage","wifi","world","write"],icons:{balance:e=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:(0,l.jsx)("path",{d:"M1786.11,816.827c-0.656-2.722-1.644-5.309-2.966-7.695c0-0.009-0.004-0.017-0.004-0.017L1544.37,376.403 c-0.035-0.065-0.069-0.13-0.104-0.196l-0.052-0.091c-0.083-0.152-0.183-0.283-0.266-0.43c-0.073-0.122-0.152-0.244-0.222-0.365 c-0.252-0.426-0.504-0.861-0.782-1.283c-0.101-0.157-0.2-0.317-0.309-0.469c-0.191-0.283-0.404-0.544-0.604-0.813 c-0.287-0.4-0.578-0.8-0.892-1.187c-0.104-0.126-0.204-0.257-0.313-0.383c-0.257-0.313-0.535-0.604-0.805-0.9 c-0.296-0.331-0.587-0.657-0.896-0.974c-0.108-0.108-0.218-0.217-0.33-0.326c-0.331-0.326-0.679-0.635-1.022-0.943 c-0.282-0.256-0.556-0.517-0.848-0.761c-0.13-0.104-0.256-0.208-0.383-0.313c-0.404-0.326-0.821-0.626-1.234-0.93 c-0.261-0.188-0.504-0.387-0.773-0.57c-0.148-0.104-0.305-0.205-0.461-0.309c-0.435-0.283-0.883-0.543-1.331-0.804 c-0.112-0.069-0.226-0.144-0.339-0.209c-0.147-0.083-0.278-0.183-0.422-0.261c-0.013-0.009-0.03-0.013-0.043-0.021 c-0.17-0.092-0.344-0.179-0.514-0.266c-0.387-0.204-0.791-0.387-1.187-0.574c-0.526-0.248-1.052-0.496-1.591-0.717 c-0.356-0.148-0.727-0.27-1.092-0.4c-0.582-0.213-1.161-0.421-1.761-0.6c-0.392-0.117-0.791-0.204-1.183-0.305 c-0.47-0.121-0.931-0.265-1.408-0.36c-0.109-0.026-0.222-0.035-0.335-0.052c-0.426-0.087-0.861-0.139-1.291-0.2 c-0.487-0.078-0.975-0.174-1.461-0.222c0,0-0.03,0-0.044-0.004c-0.052,0-0.104,0-0.156-0.009c-0.521-0.048-1.052-0.061-1.583-0.087 c-0.443-0.018-0.882-0.057-1.321-0.057l-0.087-0.004h-0.087c-0.087,0-0.17,0-0.252,0H931.164V227.699 c46.116-13.509,79.902-56.168,79.902-106.597c0-61.246-49.829-111.075-111.075-111.075c-61.246,0-111.074,49.829-111.074,111.075 c0,50.433,33.794,93.097,79.919,106.605v132.3H283.351c0,0-0.061,0-0.091,0h-0.188h-0.043c-0.644,0-1.287,0.052-1.931,0.091 c-0.305,0.018-0.613,0.022-0.917,0.048c-0.757,0.07-1.509,0.191-2.257,0.313c-0.235,0.043-0.465,0.065-0.695,0.108 c-0.718,0.139-1.426,0.322-2.14,0.509c-0.27,0.074-0.548,0.13-0.817,0.209c-0.7,0.208-1.382,0.452-2.061,0.704 c-0.261,0.1-0.53,0.183-0.787,0.287c-0.635,0.261-1.248,0.548-1.865,0.843c-0.304,0.148-0.617,0.287-0.917,0.443 c-0.196,0.1-0.392,0.196-0.583,0.3c-0.013,0.009-0.031,0.013-0.043,0.021c-0.144,0.078-0.274,0.178-0.422,0.261 c-0.174,0.1-0.339,0.209-0.509,0.309c-0.369,0.222-0.743,0.435-1.1,0.67c-0.174,0.113-0.353,0.226-0.522,0.343 c-0.3,0.205-0.574,0.426-0.861,0.639c-0.37,0.274-0.743,0.535-1.1,0.826c-0.144,0.117-0.287,0.23-0.431,0.348 c-0.313,0.266-0.609,0.543-0.913,0.822c-0.313,0.278-0.626,0.556-0.926,0.852c-0.122,0.117-0.239,0.235-0.361,0.356 c-0.326,0.331-0.63,0.679-0.939,1.022c-0.248,0.274-0.504,0.543-0.739,0.831c-0.113,0.13-0.227,0.27-0.335,0.404 c-0.322,0.399-0.622,0.813-0.917,1.222c-0.191,0.256-0.387,0.5-0.565,0.765c-0.113,0.157-0.218,0.322-0.322,0.483 c-0.278,0.422-0.53,0.856-0.782,1.283c-0.078,0.13-0.156,0.256-0.235,0.387c-0.078,0.144-0.174,0.266-0.252,0.409l-0.052,0.091 c-0.035,0.065-0.069,0.131-0.104,0.196L16.864,809.11c-0.004,0.004-0.008,0.013-0.008,0.021c-1.322,2.387-2.309,4.974-2.965,7.695 c-0.587,2.418-0.9,4.861-0.905,7.296c0,0.013,0,0.026,0,0.039c0,148.932,121.162,270.094,270.092,270.094 c148.925,0,270.086-121.162,270.086-270.094c0-0.013-0.004-0.026-0.004-0.039c0-2.435-0.313-4.878-0.9-7.296 c-0.657-2.722-1.648-5.309-2.965-7.695c-0.004-0.009-0.004-0.017-0.004-0.017L335.862,422.336h532.974v933.441 c0,3.356,0.548,6.582,1.53,9.617c-116.218,12.348-208.584,96.527-226.327,205.889H434.676c-17.212,0-31.165,13.947-31.165,31.164 v156.36c0,17.208,13.952,31.164,31.165,31.164h930.643c17.213,0,31.164-13.956,31.164-31.164v-156.36 c0-17.217-13.951-31.164-31.164-31.164h-209.362c-17.747-109.361-110.109-193.533-226.323-205.889 c0.982-3.035,1.53-6.261,1.53-9.617V422.336h532.974L1250.715,809.11c0,0-0.005,0.013-0.009,0.021 c-1.317,2.387-2.309,4.974-2.965,7.695c-0.587,2.418-0.9,4.861-0.9,7.296c0,0.013-0.004,0.026-0.004,0.039 c0,148.932,121.161,270.094,270.086,270.094c148.931,0,270.092-121.162,270.092-270.094c0-0.013,0-0.026,0-0.039 C1787.01,821.688,1786.697,819.245,1786.11,816.827z M283.072,455.679l186.133,337.319H96.939L283.072,455.679z M283.077,1031.927 c-103.975,0-190.355-76.763-205.433-176.601h410.86C473.427,955.164,387.047,1031.927,283.077,1031.927z M851.245,121.103 c0-26.877,21.869-48.746,48.746-48.746c26.878,0,48.746,21.869,48.746,48.746c0,26.882-21.868,48.755-48.746,48.755 C873.114,169.857,851.245,147.984,851.245,121.103z M1334.155,1727.643H465.84v-94.031h206.333h455.65h206.332V1727.643z M1092.567,1571.283H707.428c18.704-83.589,97.532-145.187,192.567-145.187S1073.859,1487.694,1092.567,1571.283z M1703.061,792.998 h-372.266l186.133-337.319L1703.061,792.998z M1516.923,1031.927c-103.97,0-190.35-76.763-205.428-176.601h410.86 C1707.278,955.164,1620.898,1031.927,1516.923,1031.927z"})}),battery:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M955.577,469.95c0.991-11.551-4.471-23.208-15.062-29.614c-5.422-3.281-11.499-4.721-17.316-4.527 c-11.915,0.347-22.164,7.318-27.2,17.36L616.275,915.595c-5.874,9.714-6.063,21.831-0.487,31.72s16.044,16.004,27.394,16.004 h172.294v399.955c0,14.18,9.498,26.612,23.186,30.342c2.742,0.746,5.519,1.105,8.261,1.105c10.941,0,21.356-5.729,27.104-15.504 l309.898-526.839c5.721-9.722,5.796-21.765,0.193-31.557c-5.598-9.792-16.018-15.833-27.297-15.833H955.577V469.95z M1101.838,867.882l-223.467,379.902V931.871c0-17.373-14.079-31.449-31.447-31.449H698.957l193.726-320.252v256.265 c0,17.369,14.079,31.447,31.448,31.447H1101.838z"}),(0,l.jsx)("path",{d:"M1507.236,278.071h-346.672V33.419c0-17.369-14.078-31.447-31.447-31.447H670.883 c-17.369,0-31.447,14.079-31.447,31.447v244.652H292.764c-17.369,0-31.447,14.079-31.447,31.447v1457.061 c0,17.374,14.078,31.448,31.447,31.448h1214.473c17.369,0,31.447-14.074,31.447-31.448V309.519 C1538.684,292.15,1524.605,278.071,1507.236,278.071z M702.33,64.867h395.34v213.205H702.33V64.867z M1475.789,1735.132H324.211 v-182.095h1151.578V1735.132z M1475.789,1490.143H324.211V340.966h346.672h458.234h346.672V1490.143z"})]}),bookmark:e=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:(0,l.jsx)("path",{d:"M1711.665,9.238H88.343c-43.62,0-79.105,35.478-79.105,79.089v1623.338 c0,43.611,35.486,79.099,79.105,79.099h1623.322c43.611,0,79.099-35.487,79.099-79.099V88.327 C1790.764,44.715,1755.276,9.238,1711.665,9.238z M1209.058,73.28h220.448v608.01l-85.529-109.984 c-5.927-7.619-15.038-12.079-24.69-12.079s-18.765,4.456-24.69,12.079l-85.538,109.988V73.28z M71.796,1711.665V88.327 c0-9.112,7.423-16.53,16.547-16.53h245.4v1656.407h-245.4C79.219,1728.203,71.796,1720.785,71.796,1711.665z M504.532,1728.203 h-108.23V71.796h108.23V1728.203z M1728.203,1711.665c0,9.12-7.418,16.538-16.538,16.538H567.09V71.796h579.409v700.058 c0,17.277,13.999,31.28,31.279,31.28h0.479c9.662,0,18.773-4.459,24.7-12.079l116.328-149.594l116.319,149.594 c5.926,7.62,15.039,12.079,24.69,12.079h0.489c17.271,0,31.278-14.003,31.278-31.28V71.796h219.602 c9.12,0,16.538,7.418,16.538,16.53V1711.665z"})}),briefcase:e=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:(0,l.jsx)("path",{d:"M1709.277,268.688h-515.642c1.962-7.174,3.1-14.691,3.1-22.48v-74.93c0-47.103-38.321-85.424-85.424-85.424 H688.688c-47.103,0-85.423,38.321-85.423,85.424v74.93c0,7.789,1.137,15.306,3.1,22.48H90.723 c-47.103,0-85.424,38.321-85.424,85.424v659.412c0,47.103,38.321,85.424,85.424,85.424h43.563c-1.962,7.179-3.1,14.691-3.1,22.48 v507.295c0,47.103,38.321,85.424,85.424,85.424H1583.39c47.103,0,85.424-38.321,85.424-85.424v-507.295 c0-7.789-1.137-15.302-3.1-22.48h43.563c47.103,0,85.424-38.321,85.424-85.424V354.111 C1794.701,307.009,1756.38,268.688,1709.277,268.688z M1433.147,1036.004v62.943v54.413c0,12.395-10.085,22.479-22.479,22.479 h-47.959c-12.395,0-22.48-10.085-22.48-22.479v-54.413v-62.943v-92.919c0-12.395,10.086-22.479,22.48-22.479h47.959 c12.395,0,22.479,10.085,22.479,22.479V1036.004z M666.209,246.208v-74.93c0-12.395,10.085-22.48,22.479-22.48h422.623 c12.395,0,22.479,10.085,22.479,22.48v74.93c0,12.395-10.085,22.48-22.479,22.48H688.688 C676.294,268.688,666.209,258.602,666.209,246.208z M688.688,331.631h422.623h243.902v526.408 c-43.599,3.815-77.929,40.473-77.929,85.046v92.919H522.71v-92.919c0-44.573-34.33-81.23-77.933-85.046V331.631H688.688z M459.767,1098.947v54.413c0,12.395-10.085,22.479-22.479,22.479h-47.959c-12.395,0-22.48-10.085-22.48-22.479v-54.413v-62.943 v-92.919c0-12.395,10.085-22.479,22.48-22.479h47.959c12.395,0,22.479,10.085,22.479,22.479v92.919V1098.947z M90.723,1036.004 c-12.395,0-22.479-10.086-22.479-22.48V354.111c0-12.395,10.085-22.48,22.479-22.48h291.111v526.408 c-43.599,3.815-77.929,40.473-77.929,85.046v92.919H216.61H90.723z M1605.87,1121.428v507.295c0,12.395-10.086,22.48-22.48,22.48 H216.61c-12.395,0-22.48-10.086-22.48-22.48v-507.295c0-12.396,10.085-22.48,22.48-22.48h87.294v54.413 c0,47.103,38.321,85.424,85.424,85.424h47.959c47.102,0,85.423-38.321,85.423-85.424v-54.413h754.575v54.413 c0,47.103,38.321,85.424,85.424,85.424h47.959c47.103,0,85.423-38.321,85.423-85.424v-54.413h87.299 C1595.784,1098.947,1605.87,1109.032,1605.87,1121.428z M1731.757,1013.523c0,12.395-10.085,22.48-22.479,22.48H1583.39h-87.299 v-92.919c0-44.573-34.33-81.23-77.933-85.046V331.631h291.119c12.395,0,22.479,10.085,22.479,22.48V1013.523z"})}),calculator:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1717.649,2.667H82.359C38.418,2.667,2.67,38.411,2.67,82.343v1635.298c0,43.942,35.748,79.69,79.689,79.69 h1635.29c43.933,0,79.681-35.748,79.681-79.69V82.343C1797.33,38.411,1761.582,2.667,1717.649,2.667z M1734.311,1717.642 c0,9.188-7.474,16.671-16.661,16.671H82.359c-9.196,0-16.669-7.483-16.669-16.671V82.343c0-9.183,7.473-16.656,16.669-16.656 h1635.29c9.188,0,16.661,7.473,16.661,16.656V1717.642z"}),(0,l.jsx)("path",{d:"M1537.75,136.396H250.345c-47.159,0-85.527,38.368-85.527,85.527v249.08 c0,47.159,38.368,85.527,85.527,85.527H1537.75c47.16,0,85.527-38.368,85.527-85.527v-249.08 C1623.277,174.763,1584.91,136.396,1537.75,136.396z M1560.258,471.002c0,12.41-10.102,22.507-22.508,22.507H250.345 c-12.414,0-22.507-10.098-22.507-22.507v-249.08c0-12.41,10.093-22.507,22.507-22.507H1537.75 c12.406,0,22.508,10.097,22.508,22.507V471.002z"}),(0,l.jsx)("path",{d:"M1537.75,616.548H250.345c-47.159,0-85.527,38.368-85.527,85.527v879.276 c0,47.16,38.368,85.526,85.527,85.526H1537.75c47.16,0,85.527-38.366,85.527-85.526V702.076 C1623.277,654.916,1584.91,616.548,1537.75,616.548z M1560.258,702.076v408.13h-634.7V679.568h612.192 C1550.156,679.568,1560.258,689.666,1560.258,702.076z M250.345,679.568h612.193v430.638h-634.7v-408.13 C227.838,689.666,237.931,679.568,250.345,679.568z M227.838,1581.352v-408.126h634.7v430.633H250.345 C237.931,1603.858,227.838,1593.766,227.838,1581.352z M1537.75,1603.858H925.558v-430.633h634.7v408.126 C1560.258,1593.766,1550.156,1603.858,1537.75,1603.858z"}),(0,l.jsx)("path",{d:"M416.941,932.025H514.1v97.154c0,17.403,14.111,31.511,31.51,31.511c17.408,0,31.51-14.107,31.51-31.511 v-97.154h97.158c17.408,0,31.51-14.105,31.51-31.509s-14.102-31.51-31.51-31.51H577.12v-97.159 c0-17.403-14.103-31.509-31.51-31.509c-17.399,0-31.51,14.106-31.51,31.509v97.159h-97.159c-17.398,0-31.51,14.106-31.51,31.51 S399.542,932.025,416.941,932.025z"}),(0,l.jsx)("path",{d:"M589.586,1382.164l68.7-68.7c12.309-12.304,12.309-32.258,0-44.561c-12.3-12.305-32.257-12.305-44.561,0 l-68.704,68.703l-68.7-68.703c-12.304-12.305-32.257-12.305-44.562,0c-12.304,12.303-12.304,32.257,0,44.561l68.7,68.7 l-68.7,68.698c-12.304,12.304-12.304,32.258,0,44.562c6.15,6.154,14.217,9.228,22.283,9.228c8.062,0,16.125-3.077,22.278-9.228 l68.7-68.699l68.704,68.704c6.149,6.153,14.216,9.231,22.283,9.231c8.062,0,16.124-3.078,22.278-9.231 c12.309-12.304,12.309-32.257,0-44.562L589.586,1382.164z"}),(0,l.jsx)("path",{d:"M1115.83,932.025h257.338c17.407,0,31.51-14.105,31.51-31.509s-14.103-31.51-31.51-31.51H1115.83 c-17.398,0-31.509,14.106-31.509,31.51S1098.432,932.025,1115.83,932.025z"}),(0,l.jsx)("path",{d:"M1373.168,1309.763H1115.83c-17.398,0-31.509,14.11-31.509,31.511c0,17.407,14.11,31.51,31.509,31.51 h257.338c17.407,0,31.51-14.103,31.51-31.51C1404.678,1323.873,1390.575,1309.763,1373.168,1309.763z"}),(0,l.jsx)("path",{d:"M1373.168,1399.791H1115.83c-17.398,0-31.509,14.111-31.509,31.51c0,17.408,14.11,31.51,31.509,31.51 h257.338c17.407,0,31.51-14.102,31.51-31.51C1404.678,1413.902,1390.575,1399.791,1373.168,1399.791z"})]}),calendar:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1704.994,208.972h-323.283V92.869c0-46.782-38.061-84.844-84.844-84.844H1164.02 c-46.783,0-84.844,38.062-84.844,84.844v116.103H720.82V92.869c0-46.782-38.061-84.844-84.844-84.844H503.129 c-46.782,0-84.844,38.062-84.844,84.844v116.103H95.006c-46.935,0-85.123,38.061-85.123,84.844v265.97v1147.346 c0,46.783,38.188,84.844,85.123,84.844h1609.988c46.932,0,85.123-38.061,85.123-84.844V559.785v-265.97 C1790.117,247.032,1751.926,208.972,1704.994,208.972z M1141.692,271.488v-62.516V92.869c0-12.311,10.013-22.327,22.327-22.327 h132.848c12.307,0,22.327,10.017,22.327,22.327v116.103v62.516v107.171c0,12.311-10.021,22.327-22.327,22.327H1164.02 c-12.314,0-22.327-10.017-22.327-22.327V271.488z M480.802,271.488v-62.516V92.869c0-12.311,10.017-22.327,22.327-22.327h132.848 c12.311,0,22.327,10.017,22.327,22.327v116.103v62.516v107.171c0,12.311-10.017,22.327-22.327,22.327H503.129 c-12.311,0-22.327-10.017-22.327-22.327V271.488z M1727.601,1707.131c0,12.307-10.144,22.328-22.606,22.328H95.006 c-12.463,0-22.606-10.021-22.606-22.328V591.043h1655.201V1707.131z M1727.601,528.526H72.4V293.815 c0-12.311,10.143-22.328,22.606-22.328h323.279v107.171c0,46.782,38.062,84.844,84.844,84.844h132.848 c46.783,0,84.844-38.062,84.844-84.844V271.488h358.355v107.171c0,46.782,38.061,84.844,84.844,84.844h132.848 c46.783,0,84.844-38.062,84.844-84.844V271.488h323.283c12.463,0,22.606,10.017,22.606,22.328V528.526z"}),(0,l.jsx)("path",{d:"M378.358,914.669h125.835c35.139,0,63.729-28.592,63.729-63.731V725.101 c0-35.142-28.589-63.731-63.729-63.731H378.358c-35.144,0-63.733,28.589-63.733,63.731v125.837 C314.625,886.077,343.214,914.669,378.358,914.669z M377.142,725.101c0-0.669,0.545-1.215,1.216-1.215h125.835 c0.667,0,1.212,0.545,1.212,1.215v125.837c0,0.669-0.545,1.212-1.212,1.212H378.358c-0.671,0-1.216-0.543-1.216-1.212V725.101z"}),(0,l.jsx)("path",{d:"M837.079,914.669h125.838c35.14,0,63.729-28.592,63.729-63.731V725.101 c0-35.142-28.589-63.731-63.729-63.731H837.079c-35.144,0-63.733,28.589-63.733,63.731v125.837 C773.346,886.077,801.936,914.669,837.079,914.669z M835.863,725.101c0-0.669,0.545-1.215,1.216-1.215h125.838 c0.671,0,1.212,0.545,1.212,1.215v125.837c0,0.669-0.541,1.212-1.212,1.212H837.079c-0.671,0-1.216-0.543-1.216-1.212V725.101z"}),(0,l.jsx)("path",{d:"M1295.803,914.669h125.836c35.147,0,63.736-28.592,63.736-63.731V725.101 c0-35.142-28.589-63.731-63.736-63.731h-125.836c-35.139,0-63.729,28.589-63.729,63.731v125.837 C1232.074,886.077,1260.664,914.669,1295.803,914.669z M1294.591,725.101c0-0.669,0.54-1.215,1.212-1.215h125.836 c0.672,0,1.221,0.545,1.221,1.215v125.837c0,0.669-0.549,1.212-1.221,1.212h-125.836c-0.654,0-1.212-0.556-1.212-1.212V725.101z"}),(0,l.jsx)("path",{d:"M378.358,1278.83h125.835c35.139,0,63.729-28.589,63.729-63.729v-125.835 c0-35.147-28.589-63.737-63.729-63.737H378.358c-35.144,0-63.733,28.59-63.733,63.737v125.835 C314.625,1250.241,343.214,1278.83,378.358,1278.83z M377.142,1089.267c0-0.676,0.545-1.221,1.216-1.221h125.835 c0.667,0,1.212,0.545,1.212,1.221v125.835c0,0.668-0.545,1.213-1.212,1.213H378.358c-0.659,0-1.216-0.559-1.216-1.213V1089.267z"}),(0,l.jsx)("path",{d:"M837.079,1278.83h125.838c35.14,0,63.729-28.589,63.729-63.729v-125.835 c0-35.147-28.589-63.737-63.729-63.737H837.079c-35.144,0-63.733,28.59-63.733,63.737v125.835 C773.346,1250.241,801.936,1278.83,837.079,1278.83z M835.863,1089.267c0-0.676,0.545-1.221,1.216-1.221h125.838 c0.671,0,1.212,0.545,1.212,1.221v125.835c0,0.654-0.558,1.213-1.212,1.213H837.079c-0.658,0-1.216-0.559-1.216-1.213V1089.267z"}),(0,l.jsx)("path",{d:"M1295.803,1278.83h125.836c35.147,0,63.736-28.589,63.736-63.729v-125.835 c0-35.147-28.589-63.737-63.736-63.737h-125.836c-35.139,0-63.729,28.59-63.729,63.737v125.835 C1232.074,1250.241,1260.664,1278.83,1295.803,1278.83z M1294.591,1089.267c0-0.676,0.54-1.221,1.212-1.221h125.836 c0.672,0,1.221,0.545,1.221,1.221v125.835c0,0.654-0.559,1.213-1.221,1.213h-125.836c-0.654,0-1.212-0.559-1.212-1.213V1089.267z"}),(0,l.jsx)("path",{d:"M378.358,1642.984h125.835c35.139,0,63.729-28.59,63.729-63.729V1453.42 c0-35.14-28.589-63.729-63.729-63.729H378.358c-35.144,0-63.733,28.589-63.733,63.729v125.835 C314.625,1614.395,343.214,1642.984,378.358,1642.984z M377.142,1453.42c0-0.672,0.545-1.213,1.216-1.213h125.835 c0.667,0,1.212,0.541,1.212,1.213v125.835c0,0.672-0.545,1.212-1.212,1.212H378.358c-0.671,0-1.216-0.54-1.216-1.212V1453.42z"}),(0,l.jsx)("path",{d:"M837.079,1642.984h125.838c35.14,0,63.729-28.59,63.729-63.729V1453.42 c0-35.14-28.589-63.729-63.729-63.729H837.079c-35.144,0-63.733,28.589-63.733,63.729v125.835 C773.346,1614.395,801.936,1642.984,837.079,1642.984z M835.863,1453.42c0-0.672,0.545-1.213,1.216-1.213h125.838 c0.671,0,1.212,0.541,1.212,1.213v125.835c0,0.672-0.541,1.212-1.212,1.212H837.079c-0.671,0-1.216-0.54-1.216-1.212V1453.42z"}),(0,l.jsx)("path",{d:"M1295.803,1642.984h125.836c35.147,0,63.736-28.59,63.736-63.729V1453.42 c0-35.14-28.589-63.729-63.736-63.729h-125.836c-35.139,0-63.729,28.589-63.729,63.729v125.835 C1232.074,1614.395,1260.664,1642.984,1295.803,1642.984z M1294.591,1453.42c0-0.672,0.54-1.213,1.212-1.213h125.836 c0.672,0,1.221,0.541,1.221,1.213v125.835c0,0.672-0.549,1.212-1.221,1.212h-125.836c-0.654,0-1.212-0.553-1.212-1.212V1453.42z"})]}),camera:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M899.996,588.254c-228.728,0-414.809,186.082-414.809,414.812c0,228.723,186.082,414.813,414.809,414.813 c228.727,0,414.809-186.09,414.809-414.813C1314.805,774.335,1128.723,588.254,899.996,588.254z M899.996,1354.688 c-193.883,0-351.618-157.739-351.618-351.622c0-193.886,157.735-351.621,351.618-351.621s351.618,157.735,351.618,351.621 C1251.613,1196.948,1093.879,1354.688,899.996,1354.688z"}),(0,l.jsx)("path",{d:"M1713.521,420.761h-433.009V303.547c0-47.278-38.459-85.741-85.732-85.741H605.221 c-47.279,0-85.742,38.463-85.742,85.741v117.214H86.476c-47.552,0-86.24,44.263-86.24,98.669v964.099 c0,54.402,38.688,98.666,86.24,98.666h1627.045c47.556,0,86.243-44.264,86.243-98.666V519.43 C1799.764,465.024,1761.076,420.761,1713.521,420.761z M1736.573,1483.528c0,20.902-12.148,35.475-23.053,35.475H86.476 c-10.901,0-23.049-14.572-23.049-35.475V519.43c0-20.906,12.148-35.479,23.049-35.479h464.6c17.451,0,31.596-14.145,31.596-31.595 V303.547c0-12.435,10.116-22.55,22.55-22.55h589.558c12.43,0,22.541,10.116,22.541,22.55v148.809 c0,17.451,14.145,31.595,31.596,31.595h464.604c10.904,0,23.053,14.572,23.053,35.479V1483.528z"}),(0,l.jsx)("path",{d:"M1384.245,602.086c-29.898,0-54.141,24.239-54.141,54.142c0,29.898,24.242,54.146,54.141,54.146 c29.903,0,54.146-24.247,54.146-54.146C1438.392,626.325,1414.148,602.086,1384.245,602.086z"}),(0,l.jsx)("path",{d:"M939.926,714.252c-17.45,0-31.595,14.145-31.595,31.596s14.145,31.596,31.595,31.596 c27.104,0,74.89,15.854,115.768,50.672c31.79,27.073,69.684,74.207,69.684,144.985c0,17.455,14.146,31.596,31.596,31.596 c17.451,0,31.596-14.141,31.596-31.596C1188.568,803.154,1026.699,714.252,939.926,714.252z"})]}),chart:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1649.831,2.343H625.737c-43.374,0-78.663,35.48-78.663,79.103v180.65H150.17 c-43.387,0-78.679,35.485-78.679,79.107V1480.77v20.814v216.974c0,43.618,35.292,79.099,78.679,79.099h1024.09 c43.378,0,78.661-35.48,78.661-79.099v-51.118h396.927c43.379,0,78.662-35.476,78.662-79.099v-475.002V556.448V81.445 C1728.51,37.823,1693.217,2.343,1649.831,2.343z M1194.633,1718.558c0,11.475-9.135,20.811-20.373,20.811H150.17 c-11.243,0-20.39-9.336-20.39-20.811v-216.974v-20.814V341.203c0-11.475,9.147-20.818,20.39-20.818h396.905h58.293h359.341 v178.798c0,16.185,13.083,29.303,29.226,29.303h200.698v952.285v20.814v107.566v58.289V1718.558z M1023.178,469.88V357.213 l124.501,112.667H1023.178z M1670.218,1113.339v475.002c0,11.476-9.13,20.81-20.37,20.81h-396.927v-107.566v-20.814V500.795 v-3.021c-0.409-8.706-4.577-16.433-10.952-21.529l-47.336-42.826l-124.906-113.035l-56.201-50.853 c-5.027-4.544-11.347-7.042-17.837-7.436h-3.316H605.368V81.445c0-11.475,9.13-20.81,20.369-20.81h1024.094 c11.239,0,20.387,9.335,20.387,20.81v475.002V1113.339z"}),(0,l.jsx)("path",{d:"M442.169,1578.664H260.621c-16.099,0-29.144-13.05-29.144-29.145V602.111 c0-16.1,13.045-29.149,29.144-29.149h181.549c16.096,0,29.144,13.049,29.144,29.149v947.408 C471.313,1565.614,458.265,1578.664,442.169,1578.664z M289.765,1520.374h123.26V631.255h-123.26V1520.374z"}),(0,l.jsx)("path",{d:"M747.355,1578.664H565.801c-16.099,0-29.148-13.05-29.148-29.145v-526.985 c0-16.095,13.049-29.144,29.148-29.144h181.554c16.095,0,29.144,13.049,29.144,29.144v526.985 C776.499,1565.614,763.45,1578.664,747.355,1578.664z M594.946,1520.374H718.21v-468.696H594.946V1520.374z"}),(0,l.jsx)("path",{d:"M1052.535,1578.664H870.991c-16.1,0-29.148-13.05-29.148-29.145V808.278 c0-16.1,13.049-29.145,29.148-29.145h181.544c16.1,0,29.148,13.044,29.148,29.145v741.242 C1081.684,1565.614,1068.635,1578.664,1052.535,1578.664z M900.135,1520.374h123.256V837.426H900.135V1520.374z"})]}),chartGear:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1769.23,755.728l-192.154-30.952c-16.273-63.095-41.242-123.328-74.449-179.583l114.021-157.817 c9.064-12.537,7.685-29.796-3.253-40.737l-160.029-160.029c-10.945-10.937-28.204-12.317-40.741-3.257l-157.813,114.025 c-56.25-33.202-116.483-58.171-179.582-74.445L1044.273,30.77c-2.462-15.271-15.641-26.499-31.114-26.499h-226.32 c-15.465,0-28.644,11.227-31.105,26.499l-30.956,192.159c-63.09,16.273-123.323,41.243-179.583,74.449l-157.82-114.03 c-12.537-9.051-29.8-7.68-40.737,3.262L186.609,346.643c-10.937,10.937-12.317,28.196-3.257,40.733l114.026,157.813 c-33.189,56.232-58.167,116.479-74.445,179.586L30.77,755.728c-15.271,2.462-26.499,15.641-26.499,31.11v226.324 c0,15.47,11.227,28.648,26.499,31.11l192.163,30.956c16.278,63.104,41.252,123.35,74.445,179.582l-114.026,157.813 c-9.06,12.537-7.68,29.796,3.257,40.732l160.029,160.033c10.941,10.946,28.195,12.313,40.737,3.263l157.82-114.03 c56.25,33.197,116.483,58.171,179.583,74.444l30.956,192.163c2.461,15.271,15.641,26.499,31.105,26.499h226.32 c15.474,0,28.652-11.228,31.114-26.499l30.956-192.167c63.099-16.274,123.341-41.247,179.573-74.44l157.822,114.03 c12.546,9.055,29.805,7.68,40.741-3.258l160.029-160.029c10.938-10.941,12.317-28.199,3.253-40.736l-114.021-157.818 c33.189-56.232,58.167-116.479,74.44-179.582l192.163-30.956c15.271-2.462,26.499-15.641,26.499-31.11V786.837 C1795.729,771.368,1784.502,758.189,1769.23,755.728z M1732.71,986.32l-186.353,30.02c-12.704,2.048-22.894,11.618-25.725,24.178 c-15.931,70.629-43.669,137.557-82.459,198.919c-6.884,10.885-6.444,24.855,1.091,35.291l110.583,153.053l-122.065,122.07 l-153.066-110.588c-10.444-7.544-24.415-7.97-35.29-1.095c-61.358,38.794-128.282,66.532-198.906,82.449 c-12.555,2.831-22.13,13.021-24.178,25.729l-30.024,186.361H813.681l-30.015-186.356c-2.048-12.709-11.623-22.895-24.186-25.726 c-70.607-15.922-137.531-43.664-198.916-82.458c-10.893-6.88-24.854-6.444-35.29,1.095l-153.051,110.588l-122.07-122.075 l110.584-153.048c7.539-10.436,7.974-24.406,1.095-35.291c-38.79-61.362-66.532-128.29-82.463-198.919 c-2.831-12.56-13.016-22.13-25.725-24.178L67.291,986.32V813.679l186.352-30.015c12.709-2.048,22.895-11.619,25.725-24.177 c15.931-70.634,43.673-137.562,82.463-198.925c6.879-10.884,6.444-24.854-1.095-35.29L250.152,372.223l122.07-122.074 l153.051,110.588c10.436,7.539,24.415,7.975,35.29,1.095c61.394-38.803,128.317-66.545,198.916-82.459 c12.563-2.831,22.138-13.021,24.186-25.729l30.015-186.352h172.637l30.024,186.356c2.048,12.708,11.623,22.898,24.178,25.729 c70.624,15.917,137.548,43.656,198.915,82.454c10.875,6.875,24.846,6.449,35.29-1.095l153.058-110.584l122.065,122.07 l-110.583,153.053c-7.535,10.436-7.975,24.406-1.091,35.291c38.799,61.385,66.546,128.308,82.459,198.915 c2.831,12.56,13.021,22.134,25.725,24.182l186.353,30.015V986.32z"}),(0,l.jsx)("path",{d:"M899.999,415.369c-267.219,0-484.624,217.4-484.624,484.624s217.405,484.628,484.624,484.628 c267.229,0,484.633-217.404,484.633-484.628S1167.228,415.369,899.999,415.369z M1174.867,580.563L900.008,855.427L625.14,580.567 C699,516.919,795.086,478.389,899.999,478.389C1004.921,478.389,1101.007,516.924,1174.867,580.563z M478.396,899.993 c0-104.918,38.534-201,102.179-274.859l287.924,287.915v407.379C650.68,1304.259,478.396,1121.868,478.396,899.993z M931.518,1320.428V913.049l287.915-287.92c63.645,73.86,102.18,169.942,102.18,274.864 C1321.612,1121.868,1149.336,1304.25,931.518,1320.428z"})]}),check:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M872.831,1326.446c-1.999,0.113-3.853-0.183-5.733-0.53c-6.064-1.076-11.863-3.945-16.53-8.611 l-514.859-514.86c-5.852-5.855-9.138-13.792-9.138-22.068c0-8.275,3.287-16.212,9.142-22.067L455.5,638.535 c12.189-12.185,31.954-12.185,44.126,0l373.109,373.1l727.884-727.89c12.189-12.185,31.949-12.185,44.131,0l119.788,119.784 c5.855,5.851,9.142,13.792,9.142,22.067s-3.286,16.212-9.137,22.063l-869.649,869.645 C889.043,1323.155,881.106,1326.446,872.831,1326.446z M401.905,780.377l470.825,470.83l825.614-825.61l-75.657-75.653 l-727.885,727.889c-12.19,12.186-31.95,12.186-44.13,0L477.563,704.729L401.905,780.377z"}),(0,l.jsx)("path",{d:"M1692.376,662.67c22.568,75.209,34.758,154.872,34.758,237.334c0,456.08-371.054,827.129-827.138,827.129 c-456.08,0-827.129-371.05-827.129-827.129c0-456.084,371.049-827.138,827.129-827.138c213.186,0,407.787,81.086,554.605,214.022 l44.161-44.165C1340.604,98.513,1130.391,10.456,899.996,10.456c-490.494,0-889.54,399.051-889.54,889.548 s399.046,889.54,889.54,889.54c490.498,0,889.548-399.042,889.548-889.54c0-100.372-16.734-196.909-47.517-286.985 L1692.376,662.67z"})]}),checklist:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1506.693,279.092h-150.36v-85.277c0-17.353-14.065-31.418-31.419-31.418h-227.317 C1078.205,70.574,996.5,2.304,900.003,2.304c-96.499,0-178.202,68.27-197.595,160.092H475.091 c-17.353,0-31.419,14.065-31.419,31.418v85.277H293.307c-17.353,0-31.419,14.066-31.419,31.419v1455.764 c0,17.353,14.066,31.419,31.419,31.419h1213.386c17.354,0,31.42-14.066,31.42-31.419V310.511 C1538.113,293.158,1524.047,279.092,1506.693,279.092z M506.511,225.234h223.28c16.617,0,30.354-12.935,31.362-29.517 c4.436-73.219,65.424-130.574,138.85-130.574c73.425,0,134.413,57.355,138.849,130.574c1.009,16.582,14.746,29.517,31.363,29.517 h223.28v53.858v62.838v74.81H506.511v-74.81v-62.838V225.234z M1475.274,1734.855H324.728V341.93h118.944v106.229 c0,17.354,14.066,31.419,31.419,31.419h849.823c17.354,0,31.419-14.066,31.419-31.419V341.93h118.941V1734.855z"}),(0,l.jsx)("path",{d:"M663.633,684.019L534.366,813.291l-57.803-57.806c-12.272-12.265-32.164-12.265-44.437,0 c-12.269,12.272-12.269,32.164,0,44.437l80.021,80.022c6.136,6.132,14.176,9.201,22.219,9.201c8.043,0,16.083-3.069,22.219-9.201 l151.486-151.486c12.269-12.273,12.269-32.165,0-44.438C695.799,671.755,675.907,671.755,663.633,684.019z"}),(0,l.jsx)("path",{d:"M824.996,750.563c-17.354,0-31.419,14.066-31.419,31.419c0,17.354,14.066,31.419,31.419,31.419h520.665 c17.354,0,31.419-14.066,31.419-31.419c0-17.353-14.065-31.419-31.419-31.419H824.996z"}),(0,l.jsx)("path",{d:"M663.633,1039.925l-129.267,129.272l-57.803-57.807c-12.272-12.265-32.164-12.265-44.437,0 c-12.269,12.272-12.269,32.164,0,44.438l80.021,80.021c6.136,6.133,14.176,9.2,22.219,9.2c8.043,0,16.083-3.067,22.219-9.2 l151.486-151.486c12.269-12.272,12.269-32.163,0-44.438C695.799,1027.66,675.907,1027.66,663.633,1039.925z"}),(0,l.jsx)("path",{d:"M1345.661,1106.467H824.996c-17.354,0-31.419,14.066-31.419,31.42s14.066,31.42,31.419,31.42h520.665 c17.354,0,31.419-14.066,31.419-31.42S1363.015,1106.467,1345.661,1106.467z"}),(0,l.jsx)("path",{d:"M663.633,1395.83l-129.267,129.272l-57.803-57.808c-12.272-12.264-32.164-12.264-44.437,0 c-12.269,12.274-12.269,32.166,0,44.439l80.021,80.021c6.136,6.132,14.176,9.199,22.219,9.199c8.043,0,16.083-3.067,22.219-9.199 l151.486-151.486c12.269-12.274,12.269-32.166,0-44.438C695.799,1383.566,675.907,1383.566,663.633,1395.83z"}),(0,l.jsx)("path",{d:"M1345.661,1462.373H824.996c-17.354,0-31.419,14.066-31.419,31.42s14.066,31.418,31.419,31.418h520.665 c17.354,0,31.419-14.064,31.419-31.418S1363.015,1462.373,1345.661,1462.373z"})]}),clock:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M899.998,1797.179c-494.704,0-897.173-402.472-897.173-897.173c0-494.708,402.469-897.184,897.173-897.184 c494.708,0,897.179,402.476,897.179,897.184C1797.177,1394.707,1394.705,1797.179,899.998,1797.179z M899.998,65.818 c-459.966,0-834.176,374.215-834.176,834.188c0,459.964,374.21,834.176,834.176,834.176c459.97,0,834.183-374.212,834.183-834.176 C1734.181,440.033,1359.968,65.818,899.998,65.818z"}),(0,l.jsx)("path",{d:"M899.998,1641.189c-408.689,0-741.183-332.492-741.183-741.184c0-408.695,332.494-741.194,741.183-741.194 c408.693,0,741.19,332.499,741.19,741.194C1641.188,1308.697,1308.69,1641.189,899.998,1641.189z M899.998,221.808 c-373.955,0-678.187,304.239-678.187,678.198c0,373.954,304.232,678.186,678.187,678.186 c373.957,0,678.193-304.231,678.193-678.186C1578.19,526.047,1273.954,221.808,899.998,221.808z"}),(0,l.jsx)("path",{d:"M1408.631,842.445H973.452v-435.18c0-37.471-30.486-67.963-67.952-67.963h-7.172 c-37.457,0-67.953,30.493-67.953,67.963v503.141v7.154v0.008c0,37.476,30.496,67.963,67.953,67.963h7.172l0.052-0.009h503.079 c37.466,0,67.955-30.479,67.955-67.962v-7.154C1476.586,872.939,1446.097,842.445,1408.631,842.445z M880.452,407.265 c0-9.859,8.015-17.883,17.876-17.883h7.172c9.843,0,17.875,8.024,17.875,17.883v435.18h-25.047 c-6.178,0-12.164,0.909-17.876,2.469V407.265z M1426.508,917.56c0,9.852-8.034,17.884-17.877,17.884H970.975h-65.448h-7.199 c-9.861,0-17.876-8.032-17.876-17.884v-7.154c0-9.861,8.015-17.879,17.876-17.879h25.047h50.077h435.179 c9.843,0,17.877,8.018,17.877,17.879V917.56z"})]}),cloudDatabase:e=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:(0,l.jsx)("path",{d:"M1590.159,376.445c-14.401-99.645-62.88-191.214-137.876-259.647 c-80.549-73.5-185.007-113.977-294.123-113.977c-137.095,0-264.828,63.774-347.255,171.996 c-44.933-22.768-94.688-34.687-145.53-34.687c-138.358,0-259.688,87.511-304.327,216.061c-11.252-1.184-22.574-1.776-33.883-1.776 c-177.686,0-322.247,144.557-322.247,322.246c0,177.686,144.561,322.243,322.247,322.243c5.378,0,10.923-0.146,16.538-0.435 c0.86,0.07,1.728,0.104,2.605,0.104h106.91v196.466c0,39.389,25.645,95.509,147.825,139.187 c73.803,26.387,168.201,42.477,269.688,46.315v141.735c-51.562,11.959-92.227,52.629-104.186,104.204H350.779 c-17.367,0-31.445,14.077-31.445,31.444s14.078,31.443,31.445,31.443h415.767c14.301,61.688,69.662,107.81,135.63,107.81 c65.968,0,121.328-46.122,135.63-107.81h415.767c17.368,0,31.445-14.076,31.445-31.443s-14.077-31.444-31.445-31.444h-415.767 c-11.958-51.575-52.624-92.245-104.185-104.204v-140.959c113.528-1.386,220.136-17.955,301.623-47.092 c122.181-43.678,147.825-99.798,147.825-139.187V998.574h75.536c5.01,0.22,9.672,0.33,14.238,0.33c4.717,0,9.551-0.114,14.78-0.355 c0.06,0,0.126-0.006,0.191-0.009c172.299-7.896,307.267-149.286,307.267-321.879 C1795.082,542.664,1713.555,424.476,1590.159,376.445z M971.688,1626.481c4.36,9.603,6.852,20.228,6.852,31.444 s-2.491,21.842-6.852,31.443c-12.016,26.449-38.621,44.922-69.513,44.922s-57.497-18.473-69.512-44.922 c-4.36-9.602-6.852-20.227-6.852-31.443s2.492-21.842,6.852-31.444c12.015-26.448,38.621-44.921,69.512-44.921 S959.673,1600.033,971.688,1626.481z M1320.182,1195.04c0,50.364-156.617,123.526-402.037,123.526 c-245.422,0-402.038-73.162-402.038-123.526v-82.546c21.092,14.357,48.755,28.387,84.937,41.324 c85.187,30.457,197.798,47.227,317.102,47.227c119.301,0,231.913-16.77,317.1-47.227c36.182-12.938,63.846-26.967,84.938-41.324 V1195.04z M1320.182,1014.631c0,50.363-156.617,123.526-402.037,123.526c-245.422,0-402.038-73.163-402.038-123.526v-16.057v-60.331 c21.092,14.358,48.755,28.388,84.937,41.324c19.872,7.105,41.288,13.432,63.88,19.007c74.259,18.328,161.748,28.221,253.222,28.221 c91.472,0,178.962-9.893,253.221-28.221c22.591-5.575,44.007-11.901,63.879-19.007c36.182-12.937,63.846-26.966,84.938-41.324 v60.331V1014.631z M516.106,840.379c0-50.368,156.616-123.535,402.038-123.535c245.42,0,402.037,73.167,402.037,123.535 c0,30.523-57.608,69.398-157.564,95.307c-64.976,16.84-147.795,28.221-244.473,28.221c-96.681,0-179.498-11.381-244.475-28.221 C573.713,909.777,516.106,870.903,516.106,840.379z M1485.101,935.713c-0.062,0-0.123,0.004-0.185,0.009 c-8.662,0.395-15.533,0.395-24.152,0c-0.483-0.026-0.966-0.035-1.449-0.035h-76.245V832.141c0-4.027-0.785-7.861-2.163-11.396 c-8.242-37.038-42.625-82.721-145.662-119.561c-85.182-30.453-197.799-47.228-317.1-47.228 c-119.303,0-231.919,16.775-317.102,47.228c-122.18,43.684-147.825,99.803-147.825,139.196v95.307H350.726 c-2.124-0.304-4.281-0.387-6.462-0.245c-5.847,0.381-11.599,0.573-17.1,0.573c-143.012,0-259.357-116.345-259.357-259.354 c0-143.007,116.345-259.357,259.357-259.357c16.828,0,33.699,1.636,50.141,4.856c16.477,3.225,32.471-6.983,36.542-23.202 c28.975-115.367,132.41-195.938,251.527-195.938c48.983,0,96.697,13.734,137.985,39.722c14.458,9.103,33.542,4.992,42.973-9.26 C915.831,128.427,1032.4,65.71,1158.16,65.71c193.254,0,353.107,144.842,371.834,336.911c1.22,12.511,9.771,23.092,21.742,26.909 c107.936,34.432,180.457,133.743,180.457,247.131C1732.193,815.52,1623.674,929.277,1485.101,935.713z"})}),cloudDownload:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1591.313,488.215c-13.949-100.311-62.488-192.562-137.895-261.369 c-80.375-73.338-184.605-113.727-293.484-113.727c-137.905,0-266.314,64.672-348.487,174.261 c-45.448-23.62-96.001-36.004-147.688-36.004c-138.682,0-260.158,88.388-303.7,217.866c-12.225-1.405-24.546-2.112-36.837-2.112 c-176.729,0-320.505,143.778-320.505,320.505c0,176.725,143.776,320.501,320.505,320.501c5.427,0,11.038-0.147,16.728-0.44 c0.839,0.077,1.689,0.115,2.547,0.115h33.405c4.649-18.876,10.265-37.37,16.843-55.408h-46.121 c-1.937-0.293-3.911-0.378-5.905-0.255c-5.995,0.387-11.881,0.58-17.497,0.58c-146.172,0-265.097-118.917-265.097-265.093 c0-146.174,118.924-265.097,265.097-265.097c17.184,0,34.429,1.67,51.257,4.961c14.471,2.837,28.601-6.149,32.188-20.44 c29.617-117.917,135.335-200.274,257.093-200.274c50.078,0,98.846,14.039,141.04,40.602c12.746,8.02,29.559,4.396,37.865-8.159 c70.713-106.887,189.317-170.699,317.27-170.699c196.637,0,359.281,147.372,378.332,342.804c1.07,11.019,8.607,20.341,19.15,23.706 c110.33,35.196,184.459,136.707,184.459,252.598c0,141.925-110.92,258.198-252.551,264.788c-0.07,0.004-0.139,0.004-0.209,0.008 c-8.727,0.398-15.997,0.398-24.674,0c-0.426-0.02-0.85-0.027-1.279-0.027h-55.902c6.578,18.038,12.193,36.532,16.84,55.408h38.433 c4.962,0.217,9.632,0.325,14.246,0.325c4.754,0,9.569-0.112,14.722-0.349c0.059,0,0.119-0.008,0.182-0.008 c171.364-7.854,305.602-148.479,305.602-320.145C1797.283,653.584,1715.246,535.448,1591.313,488.215z"}),(0,l.jsx)("path",{d:"M900,786.832c-248.142,0-450.02,201.877-450.02,450.021c0,248.146,201.878,450.027,450.02,450.027 s450.023-201.882,450.023-450.027C1350.023,988.709,1148.142,786.832,900,786.832z M900,1631.473 c-217.589,0-394.611-177.029-394.611-394.619c0-217.589,177.022-394.613,394.611-394.613 c217.593,0,394.615,177.024,394.615,394.613C1294.615,1454.443,1117.593,1631.473,900,1631.473z"}),(0,l.jsx)("path",{d:"M1055.823,1255.545L927.704,1383.66V963.679c0-15.297-12.402-27.704-27.704-27.704 c-15.301,0-27.704,12.407-27.704,27.704v419.981l-128.119-128.115c-10.822-10.822-28.361-10.818-39.183,0 c-10.818,10.821-10.818,28.361,0,39.179l171.418,171.407c5.411,5.41,12.5,8.115,19.588,8.115c0.688,0,1.372-0.046,2.056-0.1 c0.646,0.047,1.287,0.1,1.944,0.1s1.299-0.053,1.944-0.1c0.684,0.054,1.368,0.1,2.056,0.1c7.089,0,14.181-2.705,19.588-8.115 l171.418-171.407c10.818-10.817,10.818-28.357,0-39.179C1084.192,1244.727,1066.646,1244.727,1055.823,1255.545z"})]}),cloudNetwork:e=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:(0,l.jsx)("path",{d:"M1635.687,1278.4c-47.769,0-88.294,31.611-101.762,75.016h-145.789v-349.629h73.367 c4.988,0.22,9.674,0.326,14.307,0.326c4.782,0,9.635-0.115,14.817-0.348c0.079-0.005,0.158-0.01,0.237-0.01 c173.133-7.938,308.756-150.018,308.756-323.454c0-134.669-81.956-253.44-205.979-301.697 c-14.456-100.161-63.179-192.209-138.563-260.994c-80.945-73.862-185.92-114.539-295.579-114.539 c-137.799,0-266.188,64.115-349.019,172.916c-45.162-22.9-95.19-34.891-146.321-34.891c-139.064,0-261.005,87.974-305.833,217.184 c-11.335-1.191-22.746-1.793-34.13-1.793C145.642,356.487,0.38,501.749,0.38,680.302c0,178.549,145.262,323.812,323.815,323.812 c5.393,0,10.958-0.146,16.592-0.436c0.875,0.074,1.758,0.109,2.65,0.109h72.515v349.629h-145.79 c-13.467-43.404-53.993-75.016-101.761-75.016c-58.735,0-106.521,47.787-106.521,106.521c0,58.735,47.786,106.521,106.521,106.521 c47.769,0,88.294-31.611,101.761-75.016h177.295c17.401,0,31.506-14.104,31.506-31.506v-381.135h194.534v586.93 c-43.404,13.463-75.016,53.988-75.016,101.762c0,58.735,47.787,106.521,106.521,106.521s106.521-47.786,106.521-106.521 c0-47.773-31.611-88.299-75.016-101.762v-586.93h331.067v586.93c-43.403,13.463-75.016,53.988-75.016,101.762 c0,58.735,47.787,106.521,106.521,106.521c58.735,0,106.522-47.786,106.522-106.521c0-47.773-31.612-88.299-75.016-101.762v-586.93 h194.534v381.135c0,17.401,14.104,31.506,31.506,31.506h177.295c13.468,43.404,53.993,75.016,101.762,75.016 c58.735,0,106.521-47.786,106.521-106.521C1742.208,1326.188,1694.422,1278.4,1635.687,1278.4z M168.401,1428.432 c-23.99,0-43.51-19.52-43.51-43.51s19.52-43.51,43.51-43.51c23.99,0,43.51,19.52,43.51,43.51S192.391,1428.432,168.401,1428.432z M705.004,1735.988c-23.99,0-43.51-19.52-43.51-43.51s19.52-43.51,43.51-43.51s43.51,19.52,43.51,43.51 S728.994,1735.988,705.004,1735.988z M1099.083,1735.988c-23.989,0-43.509-19.52-43.509-43.51s19.52-43.51,43.509-43.51 c23.99,0,43.51,19.52,43.51,43.51S1123.073,1735.988,1099.083,1735.988z M341.398,940.525c-5.886,0.382-11.674,0.575-17.204,0.575 c-143.807,0-260.803-116.996-260.803-260.799c0-143.807,116.996-260.803,260.803-260.803c16.909,0,33.875,1.644,50.428,4.883 c16.469,3.2,32.53-7.002,36.608-23.247c29.133-116.007,133.14-197.026,252.927-197.026c49.272,0,97.252,13.81,138.753,39.941 c14.479,9.116,33.615,5.006,43.062-9.279c69.877-105.629,187.079-168.687,313.525-168.687c194.314,0,355.039,145.629,373.86,338.749 c1.222,12.531,9.784,23.133,21.783,26.961c108.539,34.626,181.467,134.493,181.467,248.509c0,139.628-109.119,254.017-248.452,260.5 c-0.065,0-0.127,0.005-0.193,0.009c-8.602,0.387-15.744,0.387-24.311,0c-0.479-0.021-0.963-0.035-1.441-0.035H347.895 C345.763,940.468,343.587,940.385,341.398,940.525z M1635.687,1428.432c-23.99,0-43.51-19.52-43.51-43.51s19.52-43.51,43.51-43.51 s43.51,19.52,43.51,43.51S1659.677,1428.432,1635.687,1428.432z"})}),compass:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1378.086,379.348L767.847,755.444c-0.07,0.044-0.132,0.097-0.202,0.141 c-0.521,0.324-1.011,0.701-1.516,1.055c-0.456,0.329-0.933,0.64-1.375,0.991c-0.459,0.368-0.885,0.779-1.328,1.173 c-0.438,0.39-0.889,0.762-1.3,1.179c-0.408,0.403-0.78,0.849-1.166,1.283c-0.394,0.447-0.811,0.876-1.182,1.345 c-0.351,0.438-0.662,0.912-0.991,1.376c-0.359,0.5-0.727,0.99-1.055,1.511c-0.044,0.07-0.096,0.131-0.141,0.202l-376.101,610.235 c-7.635,12.384-5.761,28.392,4.525,38.676c6.058,6.059,14.102,9.2,22.214,9.2c5.668,0,11.371-1.528,16.466-4.67l610.24-376.093 c0.071-0.043,0.131-0.095,0.202-0.14c0.521-0.328,1.012-0.696,1.516-1.056c0.455-0.329,0.932-0.64,1.376-0.99 c0.464-0.372,0.893-0.788,1.339-1.183c0.43-0.386,0.878-0.758,1.288-1.166c0.413-0.41,0.784-0.862,1.174-1.3 c0.396-0.442,0.807-0.867,1.175-1.327c0.35-0.441,0.66-0.92,0.99-1.375c0.359-0.505,0.726-0.994,1.055-1.517 c0.044-0.071,0.097-0.131,0.141-0.201l376.101-610.24c7.635-12.385,5.761-28.391-4.526-38.681 C1406.481,373.587,1390.466,371.713,1378.086,379.348z M504.352,1296.283l285.853-463.813l177.963,177.961L504.352,1296.283z M1012.574,966.025l-177.96-177.964l463.813-285.849L1012.574,966.025z"}),(0,l.jsx)("path",{d:"M1796.481,899.244L1796.481,899.244C1796.478,405.69,1394.943,4.158,901.394,4.154h-0.002l0,0 c-0.002,0-0.004,0-0.004,0c-493.55,0-895.082,401.533-895.086,895.09l0,0l0,0v0.004c0,493.552,401.533,895.086,895.086,895.086 c0,0,0.002,0,0.004,0l0,0h0.002c493.555-0.004,895.088-401.538,895.088-895.086V899.244L1796.481,899.244z M964.073,1729.182 c-1.247-33.586-28.789-60.447-62.682-60.447s-61.436,26.861-62.681,60.447c-409.067-30.599-736.657-358.192-767.26-767.256 c33.588-1.244,60.45-28.789,60.45-62.682s-26.862-61.433-60.447-62.681C102.058,427.497,429.646,99.907,838.711,69.304 c1.245,33.588,28.788,60.45,62.681,60.45s61.435-26.862,62.682-60.448c409.063,30.604,736.653,358.195,767.256,767.257 c-33.586,1.249-60.446,28.789-60.446,62.681s26.86,61.438,60.446,62.682C1700.727,1370.989,1373.136,1698.575,964.073,1729.182z"})]}),creditCard:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M197.667,1268.735h536.292c17.423,0,31.546-14.119,31.546-31.546c0-17.421-14.123-31.547-31.546-31.547 H197.667c-17.423,0-31.546,14.126-31.546,31.547C166.121,1254.616,180.243,1268.735,197.667,1268.735z"}),(0,l.jsx)("path",{d:"M905.211,1423.088H197.667c-17.423,0-31.546,14.127-31.546,31.546c0,17.428,14.123,31.547,31.546,31.547 h707.544c17.425,0,31.547-14.119,31.547-31.547C936.758,1437.215,922.636,1423.088,905.211,1423.088z"}),(0,l.jsx)("path",{d:"M197.667,1051.29h1381.288c17.425,0,31.547-14.129,31.547-31.547c0-17.428-14.122-31.547-31.547-31.547 H197.667c-17.423,0-31.546,14.119-31.546,31.547C166.121,1037.161,180.243,1051.29,197.667,1051.29z"}),(0,l.jsx)("path",{d:"M1418.561,1141.168c-41.674,0-80.367,12.946-112.333,34.979c-31.964-22.032-70.658-34.979-112.331-34.979 c-109.409,0-198.422,89.015-198.422,198.423c0,109.411,89.013,198.417,198.422,198.417c41.673,0,80.367-12.939,112.331-34.979 c31.966,22.04,70.659,34.979,112.333,34.979c109.409,0,198.419-89.006,198.419-198.417 C1616.979,1230.183,1527.97,1141.168,1418.561,1141.168z M1306.228,1414.962c-14.511-21.556-22.995-47.485-22.995-75.371 c0-27.884,8.484-53.825,22.995-75.38c14.51,21.555,22.995,47.496,22.995,75.38 C1329.223,1367.477,1320.737,1393.406,1306.228,1414.962z M1058.568,1339.591c0-74.622,60.707-135.33,135.328-135.33 c23.75,0,46.087,6.17,65.513,16.97c-24.654,33.061-39.27,74.033-39.27,118.36c0,44.319,14.615,85.292,39.27,118.354 c-19.426,10.8-41.763,16.97-65.513,16.97C1119.275,1474.914,1058.568,1414.207,1058.568,1339.591z M1418.561,1474.914 c-23.753,0-46.09-6.17-65.515-16.97c24.655-33.062,39.271-74.034,39.271-118.354c0-44.327-14.615-85.3-39.271-118.36 c19.425-10.8,41.762-16.97,65.515-16.97c74.618,0,135.326,60.708,135.326,135.33 C1553.887,1414.207,1493.179,1474.914,1418.561,1474.914z"}),(0,l.jsx)("path",{d:"M1765.979,668.543h-74.491l-237.127-647.23c-5.99-16.356-24.096-24.773-40.471-18.768L44.973,504.073 c-16.358,5.994-24.76,24.113-18.766,40.474l45.428,123.997H34.02c-17.424,0-31.547,14.123-31.547,31.546v1067.756 c0,17.429,14.123,31.547,31.547,31.547h1731.96c17.425,0,31.548-14.118,31.548-31.547V700.09 C1797.527,682.667,1783.404,668.543,1765.979,668.543z M1624.293,668.543H658.115l851.84-312.087L1624.293,668.543z M1405.972,72.641l34.923,95.313L131.221,647.777l-34.923-95.315L1405.972,72.641z M1462.596,227.196l25.653,70.019 L474.711,668.543H257.947L1462.596,227.196z M1734.434,1736.3H65.566V731.637h29.188h67.186H302.5h183.404h1161.509h67.189h19.831 v54.12v155.445V1736.3z"})]}),database:e=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:(0,l.jsx)("path",{d:"M1801.93,296.528c0-190.31-461.223-292.996-895.183-292.996c-433.958,0-895.176,102.686-895.176,292.996 v0.005l0,0v1210.046c0,190.315,461.218,293.004,895.176,293.004c433.96,0,895.183-102.688,895.183-293.004V296.533l0,0V296.528z M1738.992,1202.3c0,53.213-86.213,111.09-230.624,154.815c-160.26,48.529-373.921,75.252-601.621,75.252 c-227.701,0-441.355-26.723-601.614-75.252C160.723,1313.39,74.508,1255.513,74.508,1202.3v-190.62 c140.622,117.191,494.659,179.347,832.239,179.347c337.587,0,691.62-62.155,832.245-179.347V1202.3z M1738.992,898.022 c0,53.214-86.213,111.088-230.624,154.816c-160.26,48.528-373.921,75.251-601.621,75.251c-227.701,0-441.355-26.723-601.614-75.251 C160.723,1009.11,74.508,951.236,74.508,898.022V707.396C215.13,824.587,569.167,886.743,906.747,886.743 c337.587,0,691.62-62.156,832.245-179.347V898.022z M1738.992,593.739c0,53.214-86.213,111.089-230.624,154.815 c-160.26,48.529-373.921,75.252-601.621,75.252c-227.701,0-441.355-26.723-601.614-75.252 C160.723,704.828,74.508,646.953,74.508,593.739V410.186C215.13,527.377,569.167,589.533,906.747,589.533 c337.587,0,691.62-62.156,832.245-179.348V593.739z M305.133,141.718C465.392,93.193,679.046,66.47,906.747,66.47 c227.7,0,441.361,26.723,601.621,75.248c144.411,43.731,230.624,101.602,230.624,154.811c0,53.213-86.213,111.085-230.624,154.815 c-160.26,48.529-373.921,75.251-601.621,75.251c-227.701,0-441.355-26.723-601.614-75.251 c-144.41-43.73-230.625-101.603-230.625-154.815C74.508,243.32,160.723,185.449,305.133,141.718z M1508.368,1661.394 c-160.26,48.529-373.921,75.253-601.621,75.253c-227.701,0-441.355-26.724-601.614-75.253 c-144.41-43.725-230.625-101.601-230.625-154.814v-190.622c140.622,117.192,494.659,179.348,832.239,179.348 c337.587,0,691.62-62.155,832.245-179.348v190.622C1738.992,1559.793,1652.779,1617.669,1508.368,1661.394z"})}),design:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1541.606,1540.146l0.009-0.008c35.598-35.594,35.598-93.52,0-129.121 c-17.24-17.236-40.178-26.745-64.569-26.745c-24.378,0-47.314,9.509-64.564,26.763c-35.588,35.584-35.588,93.51,0.009,129.104 C1448.096,1575.73,1506.014,1575.73,1541.606,1540.146z M1440.885,1511.743c-9.656-9.655-14.975-22.498-14.975-36.165 c0-13.659,5.318-26.511,14.975-36.167c9.665-9.655,22.512-14.979,36.175-14.979c13.659,0,26.497,5.323,36.161,14.979 c19.938,19.945,19.938,52.387-0.008,72.332C1493.271,1531.689,1460.831,1531.681,1440.885,1511.743z"}),(0,l.jsx)("path",{d:"M1700.934,402.736c0.021-0.026,0.047-0.043,0.068-0.065c0.044-0.043,0.083-0.091,0.127-0.134l5.504-5.505 l-0.138-0.139c81.836-87.814,80.038-225.814-5.507-311.356c-42.353-42.357-98.664-65.685-158.565-65.685 c-57.228,0-111.154,21.339-152.792,60.18l-0.134-0.134l-5.511,5.507c-0.043,0.046-0.09,0.085-0.134,0.131 c-0.021,0.021-0.039,0.045-0.061,0.069L66.371,1403.02l0.513,0.513c-7.364,4.749-12.699,12.548-13.98,21.907L9.578,1741.903 c-1.319,9.647,1.95,19.347,8.831,26.232c5.875,5.87,13.807,9.108,22.004,9.108c1.402,0,2.813-0.095,4.224-0.286l316.451-43.338 c9.365-1.276,17.163-6.617,21.912-13.98l0.512,0.513L1700.934,402.736z M1542.423,82.094c43.272,0,83.954,16.852,114.551,47.452 c55.643,55.638,62.276,142.02,19.897,204.983L1451.973,109.64C1478.482,91.724,1509.717,82.094,1542.423,82.094z M1389.497,167.919l229.113,229.112L383.512,1632.129l-86.195-86.19l991.423-991.409l-59.351-59.342l-991.41,991.418 l-83.585-83.586L1389.497,167.919z M76.804,1709.731l35.68-260.604l224.915,224.916L76.804,1709.731z"}),(0,l.jsx)("path",{d:"M506.941,804.479l56.789-56.789l-454.446-454.45l185.432-185.437l87.924,87.932l-63.792,63.783 l50.362,50.359l63.792-63.779l51.262,51.258l-63.792,63.788l50.363,50.354l63.797-63.779l51.257,51.267l-94.375,94.353 l50.376,50.363l94.362-94.362l62.502,62.498l-63.792,63.801l50.363,50.354l63.792-63.792l0.043,0.047l56.789-56.789 L323.106,22.622c-15.682-15.686-41.102-15.686-56.784,0L24.102,264.845c-15.687,15.683-15.687,41.107,0,56.789L506.941,804.479z"}),(0,l.jsx)("path",{d:"M1778.944,1478.287c-0.726-0.729-1.478-1.424-2.241-2.085l-505.282-505.273l-151.159,151.159l50.259,50.26 l94.371-94.37l428.79,428.782l-185.441,185.432l-479.045-479.041l-56.789,56.798l507.437,507.427 c15.682,15.69,41.102,15.69,56.788,0l242.234-242.213c0.021-0.034,0.048-0.052,0.079-0.086 C1794.63,1519.402,1794.63,1493.969,1778.944,1478.287z"})]}),diamond:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1787.623,836.804l-450.621-450.623c-0.181-0.18-0.375-0.33-0.559-0.501 c-0.568-0.542-1.137-1.079-1.744-1.581c-0.396-0.321-0.811-0.603-1.215-0.906c-0.422-0.313-0.832-0.639-1.272-0.934 c-0.448-0.299-0.915-0.563-1.378-0.836c-0.422-0.255-0.841-0.52-1.276-0.757c-0.453-0.237-0.916-0.444-1.378-0.66 c-0.476-0.229-0.942-0.463-1.43-0.665c-0.433-0.181-0.873-0.321-1.313-0.48c-0.532-0.194-1.061-0.396-1.611-0.563 c-0.418-0.128-0.845-0.22-1.269-0.326c-0.571-0.149-1.14-0.308-1.725-0.423c-0.462-0.092-0.934-0.141-1.396-0.211 c-0.555-0.084-1.101-0.185-1.66-0.238c-0.762-0.08-1.523-0.097-2.279-0.119c-0.273-0.005-0.537-0.04-0.811-0.04H485.319 c-0.36,0-0.713,0.044-1.069,0.053c-0.669,0.022-1.343,0.035-2.008,0.102c-0.607,0.062-1.197,0.167-1.792,0.26 c-0.422,0.066-0.841,0.11-1.259,0.193c-0.625,0.124-1.232,0.291-1.845,0.449c-0.383,0.097-0.771,0.18-1.149,0.294 c-0.59,0.181-1.162,0.396-1.734,0.608c-0.396,0.146-0.792,0.269-1.184,0.432c-0.537,0.224-1.056,0.479-1.58,0.735 c-0.409,0.194-0.819,0.374-1.224,0.585c-0.507,0.273-0.991,0.577-1.479,0.876c-0.392,0.237-0.792,0.458-1.17,0.713 c-0.542,0.361-1.053,0.757-1.568,1.149c-0.308,0.233-0.625,0.444-0.924,0.691c-0.814,0.669-1.594,1.369-2.337,2.113L12.375,836.804 c-0.189,0.189-0.353,0.401-0.537,0.595c-0.528,0.555-1.053,1.109-1.541,1.704c-0.348,0.422-0.651,0.867-0.973,1.298 c-0.291,0.396-0.595,0.775-0.867,1.18c-0.326,0.488-0.612,0.995-0.907,1.497c-0.225,0.383-0.471,0.757-0.683,1.153 c-0.264,0.502-0.493,1.017-0.735,1.527c-0.198,0.423-0.409,0.841-0.59,1.272c-0.031,0.07-0.07,0.141-0.101,0.211 c-0.167,0.427-0.295,0.863-0.449,1.294c-0.167,0.467-0.348,0.929-0.493,1.409c-0.154,0.51-0.269,1.026-0.396,1.541 c-0.119,0.484-0.255,0.96-0.356,1.453c-0.119,0.604-0.189,1.211-0.277,1.813c-0.053,0.414-0.137,0.823-0.176,1.242 c-0.106,1.039-0.158,2.082-0.158,3.125c0,1.043,0.052,2.086,0.158,3.125c0.04,0.422,0.124,0.828,0.18,1.246 c0.084,0.604,0.155,1.21,0.273,1.81c0.101,0.493,0.237,0.968,0.356,1.457c0.128,0.516,0.243,1.026,0.396,1.537 c0.145,0.48,0.325,0.942,0.493,1.414c0.181,0.501,0.343,1.007,0.55,1.5c0.181,0.432,0.392,0.85,0.59,1.272 c0.242,0.515,0.471,1.025,0.735,1.527c0.211,0.396,0.458,0.77,0.683,1.153c0.295,0.502,0.581,1.008,0.907,1.497 c0.272,0.405,0.577,0.784,0.867,1.18c0.321,0.431,0.625,0.876,0.973,1.298c0.488,0.594,1.013,1.149,1.541,1.703 c0.184,0.194,0.348,0.405,0.537,0.595l865.315,865.315c6.163,6.158,14.241,9.239,22.314,9.239c8.074,0,16.151-3.081,22.314-9.239 l865.306-865.315C1799.945,869.106,1799.945,849.13,1787.623,836.804z M498.394,440.05H732.87L468.645,827.564H110.866 L498.394,440.05z M990.748,440.05l264.234,387.514H545.025L809.25,440.05H990.748z M1301.613,440.05l387.515,387.514h-357.766 L1067.128,440.05H1301.613z M1263.76,890.672L900.003,1622.35L536.247,890.672H1263.76z M465.766,890.672l350.88,705.775 L110.87,890.672H465.766z M1334.242,890.672h354.886l-705.767,705.775L1334.242,890.672z"}),(0,l.jsx)("path",{d:"M900.003,284.427c17.427,0,31.554-14.126,31.554-31.554V75.567c0-17.428-14.127-31.554-31.554-31.554 c-17.428,0-31.554,14.126-31.554,31.554v177.307C868.449,270.301,882.576,284.427,900.003,284.427z"}),(0,l.jsx)("path",{d:"M1142.004,268.245c4.979,2.884,10.414,4.253,15.781,4.253c10.89,0,21.486-5.644,27.336-15.747 l88.861-153.434c8.732-15.077,3.586-34.384-11.494-43.119c-15.082-8.733-34.386-3.587-43.118,11.495l-88.86,153.434 C1121.775,240.205,1126.922,259.512,1142.004,268.245z"}),(0,l.jsx)("path",{d:"M1441.811,306.825c8.074,0,16.151-3.082,22.314-9.24l125.37-125.371c12.322-12.326,12.322-32.302,0-44.628 c-12.325-12.317-32.302-12.317-44.628,0l-125.371,125.371c-12.321,12.326-12.321,32.302,0,44.628 C1425.659,303.744,1433.737,306.825,1441.811,306.825z"}),(0,l.jsx)("path",{d:"M614.877,256.751c5.85,10.103,16.446,15.747,27.337,15.747c5.366,0,10.807-1.369,15.781-4.253 c15.081-8.733,20.228-28.041,11.494-43.118l-88.86-153.434c-8.729-15.082-28.046-20.224-43.118-11.495 c-15.082,8.734-20.228,28.042-11.494,43.119L614.877,256.751z"}),(0,l.jsx)("path",{d:"M335.882,297.585c6.163,6.158,14.241,9.24,22.314,9.24s16.152-3.082,22.314-9.24 c12.322-12.326,12.322-32.302,0-44.628L255.139,127.586c-12.326-12.317-32.302-12.317-44.627,0 c-12.322,12.326-12.322,32.302,0,44.628L335.882,297.585z"})]}),disk:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1216.338,1202.973H583.656c-17.222,0-31.189,13.963-31.189,31.188s13.967,31.188,31.189,31.188h632.682 c17.229,0,31.188-13.963,31.188-31.188S1233.567,1202.973,1216.338,1202.973z"}),(0,l.jsx)("path",{d:"M1216.338,1378.226H583.656c-17.222,0-31.189,13.962-31.189,31.188s13.967,31.188,31.189,31.188h632.682 c17.229,0,31.188-13.962,31.188-31.188S1233.567,1378.226,1216.338,1378.226z"}),(0,l.jsx)("path",{d:"M1216.338,1553.479H583.656c-17.222,0-31.189,13.963-31.189,31.188c0,17.227,13.967,31.189,31.189,31.189 h632.682c17.229,0,31.188-13.963,31.188-31.189C1247.526,1567.441,1233.567,1553.479,1216.338,1553.479z"}),(0,l.jsx)("path",{d:"M1776.765,382.264L1411.048,16.547c-5.848-5.848-13.784-9.133-22.051-9.133h-88.005H499.001H98.754 C52.076,7.414,14.1,45.39,14.1,92.068v1615.864c0,46.679,37.977,84.655,84.655,84.655h400.247h801.991h400.256 c46.678,0,84.654-37.977,84.654-84.655V404.319C1785.902,396.048,1782.613,388.116,1776.765,382.264z M1300.992,69.791 c12.287,0,22.277,9.994,22.277,22.277v408.423c0,12.283-9.99,22.277-22.277,22.277H499.001c-12.278,0-22.277-9.994-22.277-22.277 V92.068c0-12.283,9.999-22.277,22.277-22.277H1300.992z M499.001,1730.211c-12.278,0-22.277-9.995-22.277-22.278v-651.991 c0-12.283,9.999-22.277,22.277-22.277h801.991c12.287,0,22.277,9.994,22.277,22.277v651.991c0,12.283-9.99,22.278-22.277,22.278 H499.001z M1723.525,1707.933c0,12.283-9.999,22.278-22.277,22.278h-318.673c1.944-7.11,3.071-14.56,3.071-22.278v-651.991 c0-46.679-37.976-84.655-84.654-84.655H499.001c-46.678,0-84.654,37.977-84.654,84.655v651.991c0,7.719,1.131,15.168,3.076,22.278 H98.754c-12.288,0-22.278-9.995-22.278-22.278V92.068c0-12.283,9.99-22.277,22.278-22.277h318.668 c-1.945,7.109-3.076,14.559-3.076,22.277v408.423c0,46.678,37.977,84.654,84.654,84.654h801.991 c46.679,0,84.654-37.976,84.654-84.654V92.068c0-4.765-0.487-9.407-1.249-13.958l339.128,339.127V1707.933z"}),(0,l.jsx)("path",{d:"M1006.746,458.164h209.592c17.229,0,31.188-13.963,31.188-31.188V164.096 c0-17.226-13.959-31.188-31.188-31.188h-209.592c-17.23,0-31.188,13.962-31.188,31.188v262.879 C975.558,444.201,989.516,458.164,1006.746,458.164z M1037.935,195.285h147.215v200.502h-147.215V195.285z"})]}),download:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M899.996,1.402C404.51,1.402,1.403,404.513,1.403,900.003c0,495.485,403.107,898.595,898.592,898.595 c495.489,0,898.6-403.109,898.6-898.595C1798.596,404.513,1395.484,1.402,899.996,1.402z M899.996,1735.555 c-460.721,0-835.546-374.826-835.546-835.552c0-460.726,374.825-835.556,835.546-835.556c460.724,0,835.555,374.83,835.555,835.556 C1735.551,1360.729,1360.72,1735.555,899.996,1735.555z"}),(0,l.jsx)("path",{d:"M1178.01,942.664h-151.185V603.598c0-17.411-14.112-31.522-31.522-31.522H797.969 c-17.411,0-31.522,14.111-31.522,31.522v339.066H615.253c-11.896,0-22.781,6.698-28.141,17.319 c-5.361,10.624-4.283,23.36,2.779,32.929l281.383,381.16c5.946,8.056,15.356,12.805,25.362,12.805 c10.005,0,19.417-4.749,25.361-12.805l281.375-381.16c7.062-9.568,8.14-22.305,2.779-32.929 C1200.79,949.362,1189.906,942.664,1178.01,942.664z M896.636,1302.273L677.705,1005.71h120.264 c17.41,0,31.523-14.106,31.523-31.522V635.12H963.78v339.067c0,17.416,14.112,31.522,31.522,31.522h120.256L896.636,1302.273z"}),(0,l.jsx)("path",{d:"M794.556,529.751h204.15c17.411,0,31.522-14.113,31.522-31.523s-14.111-31.522-31.522-31.522h-204.15 c-17.411,0-31.523,14.112-31.523,31.522S777.145,529.751,794.556,529.751z"})]}),drop:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1588.221,739.806c-29.326-65.133-67.881-125.781-114.598-180.253c-0.521-0.609-1.066-1.197-1.636-1.767 L926.638,12.428c-5.896-5.894-13.888-9.204-22.221-9.204s-16.325,3.31-22.221,9.204L336.869,557.764 c-0.57,0.57-1.114,1.157-1.635,1.767c-46.734,54.489-85.298,115.146-114.616,180.275c-43.635,96.911-65.76,200.335-65.76,307.411 c0,413.309,336.251,749.56,749.56,749.56c413.308,0,749.56-336.251,749.56-749.56 C1653.977,940.141,1631.852,836.716,1588.221,739.806z M904.417,1733.932c-378.655,0-686.715-308.06-686.715-686.715 c0-98.12,20.262-192.865,60.219-281.608c26.697-59.303,61.767-114.563,104.244-164.266L904.417,79.084l522.274,522.28 c42.46,49.685,77.525,104.941,104.227,164.244c39.957,88.739,60.214,183.488,60.214,281.608 C1591.132,1425.872,1283.072,1733.932,904.417,1733.932z"}),(0,l.jsx)("path",{d:"M1400.234,1103.192c-17.354,0-31.422,14.067-31.422,31.423c0,133.133-145.486,392.252-412.182,392.252 c-17.354,0-31.422,14.068-31.422,31.423c0,17.355,14.067,31.423,31.422,31.423c135.527,0,261.212-59.93,353.896-168.75 c73.584-86.398,121.13-198.797,121.13-286.348C1431.657,1117.26,1417.59,1103.192,1400.234,1103.192z"})]}),favorite:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1711.338,9.595H88.67c-43.603,0-79.074,35.468-79.074,79.061v1622.683 c0,43.594,35.472,79.065,79.074,79.065h1622.667c43.594,0,79.066-35.472,79.066-79.065V88.656 C1790.404,45.063,1754.932,9.595,1711.338,9.595z M88.67,72.128h1622.667c9.117,0,16.532,7.416,16.532,16.528v194.047H72.13V88.656 C72.13,79.544,79.545,72.128,88.67,72.128z M1711.338,1727.871H88.67c-9.125,0-16.541-7.415-16.541-16.532V345.236h1655.74 v1366.103C1727.87,1720.456,1720.455,1727.871,1711.338,1727.871z"}),(0,l.jsx)("path",{d:"M207.43,224.637c27.751,0,50.25-22.5,50.25-50.25c0-27.756-22.499-50.25-50.25-50.25 s-50.25,22.495-50.25,50.25C157.18,202.137,179.679,224.637,207.43,224.637z"}),(0,l.jsx)("path",{d:"M365.997,224.637c27.751,0,50.25-22.5,50.25-50.25c0-27.756-22.499-50.25-50.25-50.25 s-50.25,22.495-50.25,50.25C315.747,202.137,338.246,224.637,365.997,224.637z"}),(0,l.jsx)("path",{d:"M524.563,224.637c27.751,0,50.25-22.5,50.25-50.25c0-27.756-22.5-50.25-50.25-50.25 s-50.25,22.495-50.25,50.25C474.313,202.137,496.813,224.637,524.563,224.637z"}),(0,l.jsx)("path",{d:"M1162.234,1090.907l216.864-211.397c8.523-8.307,11.59-20.732,7.913-32.052 c-3.678-11.319-13.461-19.568-25.238-21.28l-299.703-43.55L928.039,511.056c-5.27-10.672-16.14-17.429-28.039-17.429 c-11.901,0-22.77,6.757-28.037,17.429L737.922,782.628l-299.704,43.55c-11.777,1.712-21.561,9.96-25.239,21.28 c-3.679,11.319-0.61,23.745,7.911,32.052l216.867,211.397l-51.192,298.5c-2.011,11.733,2.812,23.585,12.44,30.582 c9.629,6.996,22.399,7.917,32.926,2.381L900,1281.431l268.066,140.939c4.575,2.404,9.57,3.59,14.547,3.59 c6.482,0,12.938-2.015,18.381-5.971c9.632-6.997,14.451-18.853,12.441-30.582L1162.234,1090.907z M914.552,1218.43 c-9.108-4.789-19.993-4.789-29.101,0l-226.542,119.108l43.262-252.258c1.738-10.146-1.623-20.492-8.992-27.677L509.905,878.952 l253.276-36.805c10.184-1.48,18.986-7.875,23.54-17.103L900,595.541l113.268,229.504c4.555,9.228,13.361,15.623,23.542,17.103 l253.278,36.805l-183.273,178.651c-7.371,7.185-10.734,17.535-8.994,27.677l43.271,252.254L914.552,1218.43z"}),(0,l.jsx)("path",{d:"M900,1416.294c-17.269,0-31.267,13.998-31.267,31.267v106.119c0,17.269,13.998,31.267,31.267,31.267 c17.27,0,31.267-13.998,31.267-31.267v-106.119C931.267,1430.292,917.27,1416.294,900,1416.294z"}),(0,l.jsx)("path",{d:"M1424.206,1150.112l-100.923-32.802c-16.453-5.344-34.072,3.651-39.402,20.069 c-5.339,16.423,3.646,34.063,20.07,39.402l100.923,32.802c3.214,1.043,6.469,1.54,9.671,1.54c13.182,0,25.438-8.401,29.73-21.609 C1449.615,1173.092,1440.629,1155.452,1424.206,1150.112z"}),(0,l.jsx)("path",{d:"M1137.244,686.108c5.549,4.033,11.979,5.974,18.352,5.974c9.67,0,19.201-4.469,25.32-12.89l62.381-85.853 c10.15-13.969,7.054-33.524-6.918-43.674c-13.967-10.15-33.518-7.053-43.672,6.916l-62.381,85.853 C1120.176,656.403,1123.272,675.958,1137.244,686.108z"}),(0,l.jsx)("path",{d:"M619.075,679.19c6.117,8.421,15.65,12.892,25.321,12.892c6.37,0,12.802-1.941,18.351-5.974 c13.972-10.148,17.068-29.703,6.918-43.672l-62.372-85.853c-10.148-13.965-29.703-17.071-43.672-6.918 c-13.972,10.148-17.068,29.703-6.918,43.672L619.075,679.19z"}),(0,l.jsx)("path",{d:"M476.73,1117.311l-100.933,32.793c-16.423,5.335-25.41,22.975-20.073,39.397 c4.292,13.213,16.549,21.614,29.729,21.614c3.202,0,6.458-0.497,9.669-1.54l100.932-32.793 c16.423-5.335,25.411-22.975,20.074-39.397S493.153,1111.976,476.73,1117.311z"})]}),fileDownload:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M637.655,1373.291c-17.354,0-31.421-14.067-31.421-31.422V834.407c0-17.355,14.067-31.422,31.421-31.422 c17.355,0,31.422,14.067,31.422,31.422v507.462C669.077,1359.224,655.01,1373.291,637.655,1373.291z"}),(0,l.jsx)("path",{d:"M633.451,1373.291c-8.041,0-16.081-3.069-22.218-9.2l-180.151-180.139 c-12.27-12.27-12.272-32.167,0-44.437c12.27-12.273,32.162-12.27,44.436-0.005l180.151,180.139 c12.27,12.27,12.272,32.167,0,44.437C649.535,1370.222,641.493,1373.291,633.451,1373.291z"}),(0,l.jsx)("path",{d:"M641.859,1373.291c-8.042,0-16.083-3.069-22.218-9.205c-12.272-12.27-12.27-32.167,0-44.437 l180.151-180.139c12.274-12.265,32.171-12.265,44.436,0.005c12.272,12.27,12.27,32.167,0,44.437l-180.151,180.139 C657.942,1370.222,649.898,1373.291,641.859,1373.291z"}),(0,l.jsx)("path",{d:"M1649.069,3.258H626.017c-43.336,0-78.584,35.445-78.584,79.022v180.463H150.931 c-43.34,0-78.597,35.454-78.597,79.026v1138.41v20.796v216.749c0,43.576,35.257,79.018,78.597,79.018h1023.053 c43.33,0,78.58-35.441,78.58-79.018v-51.06h396.518c43.332,0,78.584-35.446,78.584-79.022v-474.521V556.8V82.28 C1727.666,38.704,1692.404,3.258,1649.069,3.258z M1194.333,1717.725c0,11.463-9.123,20.786-20.349,20.786H150.931 c-11.226,0-20.371-9.323-20.371-20.786v-216.749v-20.796V341.77c0-11.458,9.145-20.795,20.371-20.795h396.502h58.231h358.975 v178.622c0,16.166,13.072,29.264,29.199,29.264h200.495v951.32v20.796v107.458v58.231V1717.725z M1023.049,470.322V357.77 l124.375,112.552H1023.049z M1669.436,1113.122v474.521c0,11.463-9.123,20.791-20.354,20.791h-396.518v-107.458v-20.796V501.2 v-3.011c-0.418-8.702-4.578-16.421-10.941-21.51l-47.29-42.784l-124.778-112.92l-56.146-50.796 c-5.023-4.542-11.335-7.041-17.814-7.435h-3.313H605.664V82.28c0-11.467,9.127-20.791,20.353-20.791h1023.052 c11.228,0,20.366,9.324,20.366,20.791V556.8V1113.122z"})]}),filter:e=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:(0,l.jsx)("path",{d:"M1763.83,1.676H36.17c-17.395,0-31.494,14.1-31.494,31.494v394.424c0,0.563,0.058,1.111,0.084,1.665 c0.022,0.417,0.026,0.839,0.062,1.252c0.123,1.327,0.334,2.619,0.615,3.889c0.07,0.334,0.167,0.655,0.25,0.984 c0.285,1.112,0.619,2.193,1.014,3.252c0.106,0.268,0.194,0.544,0.299,0.813c0.515,1.256,1.107,2.469,1.766,3.633 c0.159,0.286,0.339,0.558,0.51,0.84c0.62,1.019,1.292,2.003,2.021,2.943c0.149,0.198,0.286,0.4,0.439,0.589 c0.87,1.072,1.828,2.065,2.83,3.014c0.114,0.115,0.211,0.246,0.334,0.356l708.13,647.886v668.12 c0,11.546,6.327,22.165,16.468,27.676c4.701,2.553,9.868,3.816,15.026,3.816c5.984,0,11.959-1.703,17.162-5.082l290.939-188.963 c8.946-5.809,14.342-15.747,14.342-26.411v-485.171l693.233-634.253c14.341-2.944,25.123-15.637,25.123-30.848V33.17 C1795.324,15.775,1781.229,1.676,1763.83,1.676z M1732.337,64.664v331.428H67.664V64.664H1732.337z M1024.217,1055.591 c-6.52,5.962-10.238,14.394-10.238,23.233v481.942l-227.96,148.054v-623.981c0-8.839-3.708-17.271-10.229-23.233L117.247,459.088 h1558.938L1024.217,1055.591z"})}),flag:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1099.021,1358.872c-24.524-10.022-50.942-18.95-78.808-26.835l-51.576,51.575 c152,36.272,245.715,100.936,245.715,161.021c0,89.873-209.631,190.014-510.447,190.014 c-300.812,0-510.448-100.141-510.448-190.014c0-60.081,93.715-124.748,245.711-161.021l-51.575-51.575 c-27.863,7.885-54.28,16.813-78.796,26.835c-114.981,46.993-178.304,112.964-178.304,185.761s63.323,138.769,178.304,185.762 c106.048,43.344,246.366,67.214,395.107,67.214c148.746,0,289.068-23.87,395.116-67.214 c114.977-46.993,178.294-112.965,178.294-185.762S1213.997,1405.865,1099.021,1358.872z"}),(0,l.jsx)("path",{d:"M1646.857,537.94L735.386,271.5v-66.372c41.896-13.364,72.331-52.65,72.331-98.919 c0-57.245-46.572-103.816-103.813-103.816S600.092,48.964,600.092,106.208c0,46.269,30.437,85.555,72.332,98.919v1359.694 c0,17.389,14.094,31.482,31.481,31.482c17.388,0,31.481-14.094,31.481-31.482V864.814l911.472-266.441 c13.422-3.922,22.648-16.232,22.648-30.216C1669.506,554.173,1660.279,541.862,1646.857,537.94z M703.904,65.354 c22.526,0,40.85,18.328,40.85,40.854s-18.323,40.849-40.85,40.849s-40.849-18.323-40.849-40.849S681.378,65.354,703.904,65.354z M735.39,799.217V337.098l790.431,231.06L735.39,799.217z"})]}),folder:e=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:(0,l.jsx)("path",{d:"M1759.255,188.518H938.75L757.06,18.2c-5.796-5.437-13.448-8.461-21.396-8.461H40.745 c-17.28,0-31.287,14.006-31.287,31.286v410.815v1315.872c0,17.284,14.006,31.287,31.287,31.287h1718.51 c17.28,0,31.287-14.003,31.287-31.287V451.841V219.804C1790.542,202.524,1776.535,188.518,1759.255,188.518z M72.031,72.312h651.264 l181.689,170.32c5.797,5.434,13.448,8.459,21.396,8.459h801.588v169.464H72.031V72.312z M1727.969,1736.427H72.031V483.127h1655.938 V1736.427z"})}),folders:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M404.006,1798.767H88.317c-46.674,0-84.646-37.972-84.646-84.646V85.879 c0-46.674,37.972-84.646,84.646-84.646h315.688c46.669,0,84.637,37.972,84.637,84.646v1628.242 C488.643,1760.795,450.675,1798.767,404.006,1798.767z M88.317,64.304c-11.896,0-21.575,9.679-21.575,21.575v1628.242 c0,11.896,9.679,21.574,21.575,21.574h315.688c11.892,0,21.566-9.678,21.566-21.574V85.879c0-11.896-9.674-21.575-21.566-21.575 H88.317z"}),(0,l.jsx)("path",{d:"M246.157,1623.078c-69.556,0-126.142-56.586-126.142-126.141c0-69.557,56.586-126.143,126.142-126.143 s126.142,56.586,126.142,126.143C372.299,1566.492,315.713,1623.078,246.157,1623.078z M246.157,1433.866 c-34.778,0-63.07,28.293-63.07,63.071c0,34.777,28.292,63.07,63.07,63.07s63.071-28.293,63.071-63.07 C309.228,1462.159,280.935,1433.866,246.157,1433.866z"}),(0,l.jsx)("path",{d:"M335.149,726.573H157.165c-17.418,0-31.535-14.118-31.535-31.535c0-17.418,14.117-31.536,31.535-31.536 h177.984c17.418,0,31.536,14.118,31.536,31.536C366.685,712.455,352.567,726.573,335.149,726.573z"}),(0,l.jsx)("path",{d:"M335.149,591.422H157.165c-17.418,0-31.535-14.118-31.535-31.536s14.117-31.536,31.535-31.536h177.984 c17.418,0,31.536,14.118,31.536,31.536S352.567,591.422,335.149,591.422z"}),(0,l.jsx)("path",{d:"M335.149,456.27H157.165c-17.418,0-31.535-14.118-31.535-31.536c0-17.417,14.117-31.535,31.535-31.535 h177.984c17.418,0,31.536,14.118,31.536,31.535C366.685,442.152,352.567,456.27,335.149,456.27z"}),(0,l.jsx)("path",{d:"M335.149,321.119H157.165c-17.418,0-31.535-14.118-31.535-31.536c0-17.417,14.117-31.535,31.535-31.535 h177.984c17.418,0,31.536,14.118,31.536,31.535C366.685,307.001,352.567,321.119,335.149,321.119z"}),(0,l.jsx)("path",{d:"M1057.852,1798.767h-315.69c-46.674,0-84.646-37.972-84.646-84.646V85.879 c0-46.674,37.972-84.646,84.646-84.646h315.69c46.67,0,84.637,37.972,84.637,84.646v1628.242 C1142.488,1760.795,1104.521,1798.767,1057.852,1798.767z M742.162,64.304c-11.896,0-21.575,9.679-21.575,21.575v1628.242 c0,11.896,9.679,21.574,21.575,21.574h315.69c11.893,0,21.566-9.678,21.566-21.574V85.879c0-11.896-9.674-21.575-21.566-21.575 H742.162z"}),(0,l.jsx)("path",{d:"M899.997,1623.078c-69.556,0-126.142-56.586-126.142-126.141c0-69.557,56.586-126.143,126.142-126.143 c69.558,0,126.144,56.586,126.144,126.143C1026.141,1566.492,969.555,1623.078,899.997,1623.078z M899.997,1433.866 c-34.778,0-63.071,28.293-63.071,63.071c0,34.777,28.293,63.07,63.071,63.07c34.78,0,63.073-28.293,63.073-63.07 C963.07,1462.159,934.777,1433.866,899.997,1433.866z"}),(0,l.jsx)("path",{d:"M988.992,726.573H811.005c-17.418,0-31.536-14.118-31.536-31.535c0-17.418,14.118-31.536,31.536-31.536 h177.987c17.416,0,31.535,14.118,31.535,31.536C1020.527,712.455,1006.408,726.573,988.992,726.573z"}),(0,l.jsx)("path",{d:"M988.992,591.422H811.005c-17.418,0-31.536-14.118-31.536-31.536s14.118-31.536,31.536-31.536h177.987 c17.416,0,31.535,14.118,31.535,31.536S1006.408,591.422,988.992,591.422z"}),(0,l.jsx)("path",{d:"M988.992,456.27H811.005c-17.418,0-31.536-14.118-31.536-31.536c0-17.417,14.118-31.535,31.536-31.535 h177.987c17.416,0,31.535,14.118,31.535,31.535C1020.527,442.152,1006.408,456.27,988.992,456.27z"}),(0,l.jsx)("path",{d:"M988.992,321.119H811.005c-17.418,0-31.536-14.118-31.536-31.536c0-17.417,14.118-31.535,31.536-31.535 h177.987c17.416,0,31.535,14.118,31.535,31.535C1020.527,307.001,1006.408,321.119,988.992,321.119z"}),(0,l.jsx)("path",{d:"M1711.691,1798.767h-315.688c-46.674,0-84.646-37.972-84.646-84.646V85.879 c0-46.674,37.973-84.646,84.646-84.646h315.688c46.67,0,84.637,37.972,84.637,84.646v1628.242 C1796.328,1760.795,1758.361,1798.767,1711.691,1798.767z M1396.004,64.304c-11.896,0-21.575,9.679-21.575,21.575v1628.242 c0,11.896,9.679,21.574,21.575,21.574h315.688c11.892,0,21.566-9.678,21.566-21.574V85.879c0-11.896-9.675-21.575-21.566-21.575 H1396.004z"}),(0,l.jsx)("path",{d:"M1553.839,1623.078c-69.556,0-126.142-56.586-126.142-126.141c0-69.557,56.586-126.143,126.142-126.143 s126.142,56.586,126.142,126.143C1679.98,1566.492,1623.395,1623.078,1553.839,1623.078z M1553.839,1433.866 c-34.778,0-63.071,28.293-63.071,63.071c0,34.777,28.293,63.07,63.071,63.07s63.07-28.293,63.07-63.07 C1616.909,1462.159,1588.617,1433.866,1553.839,1433.866z"}),(0,l.jsx)("path",{d:"M1642.831,726.573h-177.985c-17.417,0-31.535-14.118-31.535-31.535c0-17.418,14.118-31.536,31.535-31.536 h177.985c17.417,0,31.535,14.118,31.535,31.536C1674.366,712.455,1660.248,726.573,1642.831,726.573z"}),(0,l.jsx)("path",{d:"M1642.831,591.422h-177.985c-17.417,0-31.535-14.118-31.535-31.536s14.118-31.536,31.535-31.536h177.985 c17.417,0,31.535,14.118,31.535,31.536S1660.248,591.422,1642.831,591.422z"}),(0,l.jsx)("path",{d:"M1642.831,456.27h-177.985c-17.417,0-31.535-14.118-31.535-31.536c0-17.417,14.118-31.535,31.535-31.535 h177.985c17.417,0,31.535,14.118,31.535,31.535C1674.366,442.152,1660.248,456.27,1642.831,456.27z"}),(0,l.jsx)("path",{d:"M1642.831,321.119h-177.985c-17.417,0-31.535-14.118-31.535-31.536c0-17.417,14.118-31.535,31.535-31.535 h177.985c17.417,0,31.535,14.118,31.535,31.535C1674.366,307.001,1660.248,321.119,1642.831,321.119z"})]}),gear:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1203.175,843.2c-17.272,0-31.273-14-31.273-31.273c0-116.959-117.688-177.271-167.899-177.271 c-17.272,0-31.273-14.001-31.273-31.273s14.001-31.272,31.273-31.272c80.425,0,230.445,82.364,230.445,239.817 C1234.447,829.2,1220.447,843.2,1203.175,843.2z"}),(0,l.jsx)("path",{d:"M1012.309,1788.987H787.691c-15.351,0-28.433-11.143-30.876-26.299l-30.721-190.718 c-62.62-16.151-122.402-40.937-178.231-73.885L391.23,1611.258c-12.442,8.983-29.575,7.622-40.428-3.237l-158.825-158.829 c-10.855-10.854-12.227-27.983-3.235-40.427l113.17-156.626c-32.943-55.81-57.731-115.603-73.889-178.231l-190.716-30.723 c-15.156-2.443-26.299-15.523-26.299-30.876V787.688c0-15.353,11.143-28.433,26.299-30.876l190.716-30.717 c16.157-62.633,40.945-122.426,73.887-178.237L188.742,391.235c-8.992-12.443-7.62-29.571,3.235-40.429l158.825-158.834 c10.856-10.854,27.989-12.225,40.428-3.235l156.631,113.17c55.823-32.951,115.604-57.731,178.233-73.885l30.721-190.711 c2.443-15.157,15.525-26.299,30.876-26.299h224.617c15.353,0,28.433,11.143,30.876,26.299l30.723,190.713 c62.629,16.151,122.418,40.938,178.231,73.889l156.631-113.172c12.438-8.994,29.563-7.62,40.431,3.235l158.825,158.829 c10.854,10.855,12.225,27.985,3.232,40.429L1498.09,547.861c32.957,55.832,57.738,115.611,73.89,178.233l190.713,30.717 c15.156,2.443,26.3,15.523,26.3,30.876v224.621c0,15.353-11.144,28.433-26.3,30.876l-190.718,30.723 c-16.155,62.629-40.94,122.422-73.885,178.231l113.168,156.631c8.992,12.442,7.622,29.571-3.232,40.431L1449.2,1608.025 c-10.855,10.859-27.988,12.22-40.431,3.232l-156.64-113.172c-55.81,32.943-115.598,57.729-178.223,73.88l-30.723,190.723 C1040.741,1777.845,1027.661,1788.987,1012.309,1788.987z M814.331,1726.441h171.338l29.794-184.958 c2.033-12.613,11.535-22.727,24-25.536c70.089-15.798,136.509-43.327,197.41-81.83c10.789-6.827,24.659-6.404,35.025,1.087 l151.91,109.756l121.151-121.151l-109.752-151.901c-7.482-10.357-7.914-24.223-1.086-35.025 c38.498-60.901,66.031-127.325,81.843-197.423c2.81-12.465,12.918-21.963,25.531-23.996l184.95-29.794V814.327l-184.95-29.79 c-12.613-2.033-22.727-11.535-25.536-24c-15.793-70.076-43.327-136.498-81.838-197.419c-6.828-10.8-6.396-24.667,1.086-35.025 l109.752-151.897L1423.809,255.04l-151.901,109.756c-10.362,7.482-24.231,7.912-35.029,1.084 c-60.901-38.504-127.321-66.041-197.415-81.838c-12.465-2.81-21.967-12.918-24-25.533l-29.794-184.95h-171.34l-29.792,184.945 c-2.033,12.615-11.533,22.724-23.998,25.534c-70.089,15.802-136.511,43.336-197.421,81.836 c-10.805,6.828-24.667,6.394-35.025-1.086L376.192,255.036L255.04,376.196l109.752,151.893 c7.484,10.357,7.914,24.225,1.086,35.025c-38.495,60.898-66.031,127.323-81.84,197.428 c-2.813,12.462-12.921,21.962-25.534,23.995l-184.95,29.79v171.342l184.95,29.794c12.613,2.033,22.722,11.531,25.534,23.996 c15.806,70.098,43.342,136.521,81.84,197.423c6.828,10.803,6.398,24.668-1.086,35.025L255.04,1423.804l121.152,121.156 l151.901-109.756c10.353-7.486,24.223-7.919,35.023-1.087c60.923,38.503,127.345,66.036,197.423,81.839 c12.464,2.81,21.964,12.918,23.998,25.531L814.331,1726.441z"}),(0,l.jsx)("path",{d:"M900,1380.974c-265.211,0-480.978-215.769-480.978-480.982c0-265.211,215.767-480.978,480.978-480.978 c265.218,0,480.987,215.767,480.987,480.978C1380.987,1165.205,1165.218,1380.974,900,1380.974z M900,481.56 c-230.725,0-418.432,187.707-418.432,418.432c0,230.726,187.708,418.437,418.432,418.437 c230.729,0,418.441-187.711,418.441-418.437C1318.441,669.267,1130.729,481.56,900,481.56z"})]}),gears:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1094.819,1135.051l-108.863-17.528c-9.449-34.07-22.999-66.744-40.445-97.562l64.601-89.408 c8.963-12.402,7.593-29.477-3.227-40.295l-97.074-97.083c-10.828-10.832-27.9-12.188-40.297-3.227l-89.409,64.601 c-30.817-17.446-63.496-30.991-97.557-40.44L665.01,705.239c-2.435-15.106-15.472-26.212-30.774-26.212H496.934 c-15.302,0-28.339,11.105-30.774,26.212l-17.535,108.864c-34.057,9.449-66.731,22.995-97.555,40.445l-89.409-64.601 c-12.399-8.958-29.474-7.597-40.295,3.222l-97.083,97.083c-10.819,10.823-12.187,27.897-3.225,40.3l64.599,89.408 c-17.448,30.826-30.994,63.5-40.443,97.562l-108.866,17.528c-15.106,2.436-26.214,15.472-26.214,30.774v137.306 c0,15.303,11.106,28.339,26.212,30.774l108.868,17.533c9.454,34.062,22.997,66.735,40.443,97.557l-64.599,89.409 c-8.962,12.401-7.595,29.474,3.225,40.297l97.083,97.083c10.819,10.819,27.892,12.181,40.295,3.223l89.409-64.605 c30.822,17.446,63.496,30.992,97.555,40.445l17.535,108.867c2.433,15.107,15.472,26.213,30.774,26.213h137.302 c15.302,0,28.339-11.105,30.774-26.213l17.537-108.871c34.062-9.449,66.736-22.995,97.549-40.437l89.417,64.601 c12.402,8.962,29.478,7.601,40.297-3.223l97.083-97.079c10.819-10.823,12.185-27.895,3.222-40.297l-64.604-89.413 c17.446-30.813,30.991-63.487,40.445-97.557l108.868-17.533c15.105-2.436,26.212-15.472,26.212-30.774v-137.306 C1121.036,1150.522,1109.926,1137.486,1094.819,1135.051z M1058.697,1276.58l-102.915,16.576 c-12.571,2.026-22.647,11.492-25.447,23.916c-9.362,41.506-25.665,80.833-48.459,116.882c-6.806,10.767-6.375,24.591,1.083,34.914 l61.078,84.529l-59.535,59.53l-84.534-61.074c-10.323-7.457-24.147-7.888-34.909-1.083 c-36.058,22.795-75.376,39.093-116.878,48.446c-12.419,2.805-21.89,12.88-23.917,25.451l-16.576,102.92h-84.204l-16.576-102.915 c-2.026-12.571-11.495-22.646-23.916-25.447c-41.495-9.357-80.822-25.66-116.889-48.455c-10.765-6.805-24.588-6.374-34.907,1.083 l-84.525,61.074l-59.535-59.535l61.069-84.524c7.458-10.323,7.889-24.143,1.085-34.909 c-22.796-36.066-39.097-75.394-48.454-116.887c-2.803-12.424-12.878-21.89-25.45-23.916L72.474,1276.58v-84.204l102.912-16.571 c12.574-2.026,22.651-11.497,25.452-23.921c9.351-41.488,25.653-80.812,48.454-116.887c6.804-10.767,6.373-24.586-1.085-34.909 l-61.069-84.525l59.535-59.536l84.525,61.076c10.321,7.458,24.147,7.888,34.909,1.083c36.073-22.806,75.398-39.108,116.882-48.457 c12.424-2.801,21.895-12.88,23.921-25.452l16.576-102.911h84.204l16.576,102.915c2.027,12.571,11.498,22.651,23.917,25.451 c41.502,9.354,80.82,25.656,116.878,48.453c10.767,6.805,24.59,6.375,34.913-1.083l84.53-61.076l59.53,59.536l-61.073,84.53 c-7.458,10.323-7.889,24.146-1.083,34.913c22.799,36.054,39.101,75.376,48.459,116.878c2.8,12.424,12.876,21.895,25.447,23.921 l102.915,16.571V1276.58z"}),(0,l.jsx)("path",{d:"M565.583,928.422c-168.759,0-306.052,137.293-306.052,306.052s137.293,306.053,306.052,306.053 c168.763,0,306.061-137.294,306.061-306.053S734.346,928.422,565.583,928.422z M565.583,1478.187 c-134.384,0-243.713-109.328-243.713-243.713s109.329-243.713,243.713-243.713c134.389,0,243.722,109.328,243.722,243.713 S699.972,1478.187,565.583,1478.187z"}),(0,l.jsx)("path",{d:"M1767.072,581.748l-74.516-50.033c4.279-27.761,5.383-55.804,3.291-83.786l78.155-44.071 c13.328-7.519,19.229-23.595,13.929-37.949l-40.059-108.459c-5.301-14.359-20.233-22.725-35.248-19.79l-88.043,17.302 c-16.598-22.621-35.662-43.215-56.956-61.531l24.099-86.456c4.105-14.741-3.088-30.278-16.984-36.679l-105.002-48.368 c-13.902-6.418-30.392-1.774-38.919,10.932l-50.038,74.52c-27.703-4.253-55.785-5.375-83.777-3.288l-44.075-78.154 c-7.522-13.332-23.595-19.233-37.953-13.928l-108.459,40.058c-14.358,5.301-22.738,20.237-19.786,35.253l17.308,88.03 c-22.625,16.598-43.224,35.666-61.54,56.964l-86.446-24.104c-14.741-4.092-30.282,3.092-36.684,16.985l-48.372,105.002 c-6.401,13.897-1.766,30.387,10.932,38.918l74.511,50.038c-4.274,27.765-5.379,55.808-3.283,83.781l-78.15,44.072 c-13.328,7.519-19.229,23.599-13.928,37.949l40.058,108.463c5.301,14.354,20.256,22.76,35.253,19.786l88.03-17.303 c16.585,22.612,35.648,43.206,56.961,61.535l-24.104,86.451c-4.105,14.737,3.087,30.283,16.984,36.684l105.006,48.366 c13.902,6.404,30.387,1.77,38.919-10.938l50.042-74.512c27.695,4.257,55.781,5.375,83.777,3.288l44.076,78.161 c5.656,10.036,16.176,15.863,27.151,15.863c3.601,0,7.253-0.626,10.792-1.936l108.469-40.06 c14.357-5.301,22.738-20.238,19.785-35.253l-17.307-88.039c22.611-16.589,43.206-35.657,61.535-56.96l86.451,24.104 c14.74,4.092,30.282-3.088,36.684-16.985l48.363-105.006C1784.404,606.769,1779.777,590.28,1767.072,581.748z M1684.125,675.479 l-80.555-22.459c-12.275-3.409-25.378,0.97-33.118,11.08c-21.507,28.091-47.402,52.06-76.968,71.245 c-10.688,6.932-16.08,19.664-13.619,32.161l16.124,82.021l-58.651,21.664l-41.059-72.815c-5.574-9.884-16.002-15.859-27.143-15.859 c-1.361,0-2.735,0.087-4.113,0.27c-34.727,4.623-70.428,3.214-104.798-4.109c-12.445-2.656-25.269,2.535-32.37,13.111 l-46.624,69.418l-56.772-26.147l22.455-80.555c3.418-12.267-0.966-25.382-11.08-33.122c-28.092-21.503-52.06-47.398-71.245-76.963 c-6.927-10.685-19.655-16.072-32.161-13.619l-82.012,16.119l-21.664-58.651l72.811-41.058 c11.093-6.257,17.264-18.629,15.585-31.252c-4.636-34.957-3.253-70.214,4.113-104.793c2.653-12.458-2.539-25.273-13.106-32.374 l-69.427-46.62l26.155-56.777l80.551,22.459c12.264,3.405,25.383-0.97,33.123-11.084c21.48-28.073,47.38-52.042,76.971-71.245 c10.685-6.931,16.076-19.664,13.615-32.161l-16.123-82.012l58.651-21.664l41.058,72.81c6.254,11.093,18.615,17.272,31.257,15.589 c34.727-4.609,70.419-3.209,104.798,4.113c12.44,2.648,25.264-2.539,32.369-13.11l46.62-69.432l56.773,26.151l-22.456,80.563 c-3.418,12.271,0.971,25.387,11.084,33.123c28.065,21.481,52.034,47.372,71.232,76.958c6.936,10.685,19.668,16.059,32.156,13.62 l82.029-16.12l21.664,58.647l-72.818,41.058c-11.094,6.258-17.264,18.629-15.585,31.252c4.64,34.97,3.257,70.228-4.114,104.793 c-2.66,12.458,2.531,25.277,13.106,32.378l69.432,46.62L1684.125,675.479z"}),(0,l.jsx)("path",{d:"M1324.474,212.717c-31.026,0-61.63,5.492-90.97,16.329c-135.858,50.172-205.564,201.52-155.392,337.383 c37.927,102.701,136.95,171.707,246.409,171.716c0.009,0,0.009,0,0.018,0c31.014,0,61.617-5.492,90.952-16.329 c135.854-50.172,205.568-201.52,155.396-337.375C1532.951,281.727,1433.928,212.717,1324.474,212.717z M1393.896,663.338 c-22.402,8.275-45.736,12.467-69.357,12.467c0,0-0.009,0-0.014,0c-83.477-0.004-159.005-52.638-187.936-130.971 c-38.266-103.619,14.898-219.048,118.514-257.311c22.398-8.275,45.736-12.467,69.37-12.467 c83.478,0,159.001,52.638,187.936,130.979C1550.672,509.646,1497.503,625.071,1393.896,663.338z"})]}),gift:e=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:(0,l.jsx)("path",{d:"M1767.367,358.009h-276.059c0.318-51.483-6-101.019-19.174-146.457 c-30.153-104.006-92.074-174.999-174.359-199.906c-82.275-24.902-173.179-0.171-255.948,69.653 c-59.842,50.483-110.403,120.564-146.689,202.113c-36.296-81.549-86.849-151.63-146.699-202.113 c-82.77-69.825-173.664-94.547-255.949-69.653c-82.276,24.907-144.199,95.899-174.353,199.906 c-13.174,45.438-19.492,94.974-19.179,146.457H32.633c-17.443,0-31.582,14.139-31.582,31.582v342.886 c0,17.443,14.139,31.582,31.582,31.582h103.769v1002.154c0,17.439,14.138,31.582,31.581,31.582h593.286h277.465h593.284 c17.438,0,31.581-14.143,31.581-31.582V764.059h103.769c17.438,0,31.581-14.139,31.581-31.582V389.591 C1798.948,372.148,1784.805,358.009,1767.367,358.009z M1082.556,129.576c65.877-55.563,135.808-75.976,196.927-57.471 c61.109,18.496,107.988,74.267,131.983,157.036c11.543,39.794,17.059,83.374,16.751,128.869h-389.483H933.538 C966.159,264.106,1018.466,183.646,1082.556,129.576z M378.802,229.141c23.993-82.77,70.872-138.54,131.991-157.036 c61.119-18.518,131.049,1.912,196.927,57.471c64.088,54.07,116.387,134.53,149.017,228.434h-95.468H362.055 C361.742,312.514,367.263,268.935,378.802,229.141z M64.215,700.896V421.172h238.4h63.538h363.535v279.723H167.983H64.215z M199.565,764.059h530.122v970.573H199.565V764.059z M792.851,1734.632V764.059v-63.163V421.172h214.301v279.723v63.163v970.573 H792.851z M1600.436,1734.632h-530.12V764.059h530.12V1734.632z M1735.786,700.896h-103.769h-561.702V421.172h353.795h63.551 h248.125V700.896z"})}),globe:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1583.266,1262.444c-155.105,155.105-361.327,240.526-580.678,240.526 c-219.35,0-425.572-85.421-580.677-240.526c-155.107-155.104-240.528-361.33-240.533-580.682 c0-219.354,85.42-425.578,240.528-580.685c12.336-12.333,12.336-32.328,0.004-44.663c-12.333-12.33-32.328-12.334-44.661,0 c-167.044,167.036-259.035,389.124-259.035,625.35c0.004,236.219,91.995,458.312,259.03,625.348 c164.65,164.647,378.605,250.606,594.774,258.019v168.973H656.207c-17.443,0-31.581,14.134-31.581,31.582 c0,17.439,14.138,31.582,31.581,31.582h694.789c17.446,0,31.582-14.143,31.582-31.582c0-17.448-14.136-31.582-31.582-31.582 h-315.814V1565.06c215.475-7.878,428.613-93.819,592.751-257.947c12.327-12.337,12.327-32.331,0-44.668 C1615.596,1250.118,1595.601,1250.118,1583.266,1262.444z"}),(0,l.jsx)("path",{d:"M389.367,972.961c77.779,163.801,214.692,287.502,385.518,348.33 c73.614,26.205,150.222,39.503,227.686,39.503c0.018,0,0,0,0.018,0c286.303,0,543.235-181.269,639.417-451.066 c0.044-0.106,0.079-0.211,0.114-0.317c60.801-170.812,51.453-355.075-26.32-518.855c-77.783-163.798-214.698-287.5-385.524-348.318 c-73.613-26.214-150.214-39.504-227.669-39.504c-286.417,0-543.43,181.375-639.542,451.326 C302.245,624.884,311.585,809.167,389.367,972.961z M446.42,945.868c-14.949-31.48-27.083-63.803-36.441-96.662 c0.838-0.817,1.635-1.688,2.393-2.615c43.204-53.021,175.521-186.786,267.388-169.374c40.816,7.734,75.588,0.683,103.345-20.987 c59.436-46.395,65.115-144.487,68.508-203.097c0.304-5.273,0.585-10.158,0.89-14.563c1.921-27.88-5.944-61.956-13.553-94.909 c-5.899-25.545-18.174-78.703-10.19-88.554c0,0,0.326-0.213,1.207-0.476c31.467-9.322,74.722-45.061,128.569-106.224 c34.64-39.342,53.788-64.954,64.274-82.143c42.879,1.416,85.402,7.333,127.145,17.683 c-48.473,39.591-108.728,101.778-99.846,161.004c5.912,39.446,38.252,67.783,96.119,84.221 c193.551,54.985,221.572,85.758,248.914,183.415c21.281,75.993,90.735,136.785,153.167,136.776c3.895,0,7.772-0.235,11.605-0.72 c13.498-1.711,35.934-7.961,55.487-29.354c7.947,77.48,0.951,156.189-21.123,232.574c-28.98-13.875-71.842-27.887-117.522-20.267 c-65.101,10.863-98.348-100.23-114.825-195.311c-18.506-106.747-79.05-109.385-104.218-105.567 c-63.232,9.585-128.625,93.667-120.642,155.116c7.473,57.486-37.309,155.165-77.844,191.843c-5.7,5.159-31.643-5.928-48.816-13.266 c-40.667-17.375-108.723-46.45-157.769,17.456c-48.292,62.918-179.892,224.911-229.164,285.42 C548.817,1109.103,488.206,1033.868,446.42,945.868z M1002.57,1297.631c-70.23,0-139.705-12.063-206.502-35.846 c-42.724-15.211-83.096-34.781-120.66-58.238c51.531-63.312,179.518-220.92,227.339-283.219 c16.684-21.741,33.549-18.894,82.852,2.167c35.775,15.28,80.301,34.305,116.007,2.019 c54.984-49.751,108.622-165.878,98.102-246.822c-3.261-25.092,36.524-79.834,67.479-84.524 c20.444-3.06,29.521,36.665,32.508,53.903c15.183,87.606,37.001,150.184,66.705,191.308 c40.305,55.805,87.915,60.994,120.739,55.521c33.184-5.524,66.211,7.53,86.408,18.168 C1480.105,1143.715,1253.828,1297.64,1002.57,1297.631z M1558.742,417.648c12.513,26.35,23.034,53.29,31.635,80.635 c-1.869,52.173-16.073,84.869-38.403,87.697c-30.663,3.879-81.065-37.067-96.003-90.422 c-36.04-128.711-87.977-169.047-292.481-227.144c-30.522-8.673-49.081-20.633-50.913-32.815 c-4.67-31.031,58.112-91.087,111.345-128.366C1371.941,164.149,1490.461,273.863,1558.742,417.648z M422.567,475.245 C502.993,249.357,707.646,91.966,942.826,68.929c-38.164,47.875-100.911,116.285-130.8,125.143 c-67.802,20.089-48.624,103.151-34.622,163.8c6.569,28.444,13.359,57.86,12.086,76.354c-0.318,4.613-0.617,9.732-0.935,15.257 c-2.595,44.788-7.419,128.156-44.314,156.956c-12.984,10.14-30.233,12.986-52.708,8.721 c-63.978-12.114-139.323,17.366-224.004,87.655c-30.065,24.959-55.778,50.538-74.142,70.084 C378.453,673.931,388.05,572.199,422.567,475.245z"}),(0,l.jsx)("path",{d:"M1035.578,629.173L1035.578,629.173c11.941,0,23.121-3.231,33.23-9.603 c37.053-23.346,52.023-62.746,65.241-97.506c9.993-26.279,19.422-51.1,36.604-67.192c16.565-15.509,22.1-35.773,14.821-54.208 c-8.874-22.458-33.776-35.337-68.31-35.337c-59.857,0-137.49,36.837-212.991,101.066c-11.635,9.902-14.518,26.715-6.838,39.926 C914.091,535.139,973.579,629.169,1035.578,629.173z M1109.791,428.827c-16.354,22.318-26.013,47.727-34.78,70.793 c-11.059,29.075-20.61,54.201-39.679,66.386c-13.183-0.397-43.514-31.319-69.031-68.74 C1038.116,441.573,1088.202,430.667,1109.791,428.827z"})]}),graduation:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1782.237,564.721L917.14,6.075c-10.442-6.742-23.85-6.738-34.283,0L17.763,564.721 c-9.009,5.818-14.453,15.813-14.453,26.541s5.443,20.723,14.453,26.541L316.79,810.904c-0.313,1.79-0.506,3.619-0.506,5.499 v365.474c0,70.584,64.633,134.248,181.99,179.271c107.807,41.356,250.473,64.136,401.725,64.136s293.923-22.779,401.729-64.136 c117.357-45.023,181.99-108.688,181.99-179.271V816.403c0-1.88-0.193-3.708-0.51-5.499l105.36-68.036v585.294 c-32.948,12.732-56.419,44.662-56.419,82.047c0,36.23,22.017,67.401,53.364,80.881l-61.275,269.287 c-2.134,9.371,0.114,19.205,6.108,26.72c5.994,7.511,15.084,11.883,24.696,11.883h130.237c0.021,0,0.052,0,0.088,0 c17.449,0,31.594-14.14,31.594-31.594c0-3.271-0.494-6.427-1.42-9.397l-60.732-266.898c31.348-13.479,53.362-44.65,53.362-80.881 c0-37.385-23.469-69.314-56.417-82.047v-626.1l130.483-84.26c9.01-5.818,14.453-15.813,14.453-26.541 S1791.247,570.539,1782.237,564.721z M1620.16,1435.033c-13.689,0-24.823-11.134-24.823-24.824 c0-13.685,11.134-24.824,24.823-24.824s24.824,11.14,24.824,24.824C1644.984,1423.899,1633.85,1435.033,1620.16,1435.033z M1594.631,1735.791l25.529-112.182l25.529,112.182H1594.631z M1420.529,1181.877c0,85.244-213.773,180.219-520.531,180.219 c-306.753,0-520.527-94.975-520.527-180.219V851.38l503.386,325.071c5.218,3.372,11.178,5.056,17.141,5.056 c5.959,0,11.923-1.684,17.142-5.056l503.39-325.071V1181.877z M899.998,1112.302L93.142,591.261L899.998,70.223l806.86,521.039 L899.998,1112.302z"}),(0,l.jsx)("path",{d:"M787.935,591.261c0,61.795,50.273,112.068,112.063,112.068c61.795,0,112.068-50.273,112.068-112.068 c0-61.792-50.273-112.063-112.068-112.063C838.208,479.198,787.935,529.469,787.935,591.261z M948.878,591.261 c0,26.953-21.927,48.88-48.88,48.88c-26.952,0-48.876-21.927-48.876-48.88c0-26.95,21.924-48.876,48.876-48.876 C926.951,542.385,948.878,564.311,948.878,591.261z"})]}),graph:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1548.188,307.531c-14.104-15.124-28.736-29.756-43.855-43.868l-43.869,43.868L932.02,835.979V88.261V26.19 c-10.297-0.357-20.635-0.6-31.018-0.6c-10.381,0-20.714,0.242-31.012,0.6C396.155,42.598,15.733,433.107,15.733,910.865 c0,488.131,397.129,885.256,885.269,885.256c242.229,0,462.014-97.82,622.015-256c1.378-0.988,2.715-2.063,3.95-3.302 c1.234-1.234,2.316-2.567,3.301-3.945c158.176-160.005,256-379.796,256-622.009 C1786.268,677.924,1695.784,465.752,1548.188,307.531z M869.99,88.261v791.578H78.412C94.39,450.525,440.663,104.252,869.99,88.261 z M901.002,1734.087c-443.551,0-806.223-352.599-822.59-792.214h809.74l572.312,572.308 C1313.488,1650.555,1116.829,1734.087,901.002,1734.087z M1504.332,1470.321L944.871,910.865l559.451-559.47 c136.383,146.966,219.916,343.634,219.916,559.47C1724.238,1126.688,1640.705,1323.346,1504.332,1470.321z"}),(0,l.jsx)("path",{d:"M1047.338,573.287c3.467,1.437,7.1,2.134,10.705,2.134c7.282,0,14.439-2.845,19.798-8.194l363.142-363.146 c5.248-5.251,8.195-12.368,8.195-19.789c0-7.421-2.947-14.538-8.199-19.79C1338.694,62.222,1202.705,5.887,1058.047,5.878 c-7.421,0-14.537,2.948-19.785,8.195c-5.251,5.251-8.199,12.369-8.199,19.793v513.566 C1030.063,558.754,1036.88,568.958,1047.338,573.287z M1086.035,62.638c109.898,6.214,212.929,48.893,295.021,122.212 l-295.021,295.02V62.638z"})]}),group:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("line",{fill:"none",stroke:"currentcolor",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",x1:"904.328",y1:"1132.364",x2:"904.328",y2:"895.221"}),(0,l.jsx)("line",{fill:"none",stroke:"currentcolor",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",x1:"1122.56",y1:"1262.028",x2:"915.405",y2:"1146.604"}),(0,l.jsx)("line",{fill:"none",stroke:"currentcolor",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",x1:"686.239",y1:"1262.028",x2:"893.394",y2:"1146.604"}),(0,l.jsx)("path",{d:"M974.697,512.844v-7.453c57.008-26.082,97.412-80.138,106.207-142.043 c24.032-8.717,40.98-31.933,40.98-58.221c0-22.63-12.225-42.889-31.146-53.695c1.969-6.164,3.585-12.379,4.831-18.586 c10.066-49.925-1.4-100.947-32.293-143.668c-30.385-42.033-76.063-71.018-128.615-81.617c-14.133-2.85-28.541-4.294-42.824-4.294 c-45.073,0-89.049,14.537-123.827,40.929c-35.818,27.174-60.31,65.782-68.967,108.718c-6.563,32.551-3.881,66.134,7.72,97.641 c-19.665,10.569-32.688,31.348-32.688,54.58c0,26.629,17.197,49.926,41.586,58.449c9.035,63.375,50.755,117.946,109.634,143.38 v5.885C703.003,540.551,618.678,632.024,618.678,738.92v28.549h106.436v-0.051h11.82v0.051h444.389V738.92 C1181.322,632.02,1096.998,540.551,974.697,512.844z M891.838,60.37c10.487,0,21.104,1.066,31.545,3.164 c38.423,7.75,71.671,28.738,93.623,59.098c20.469,28.305,28.713,61.591,23.443,94.254c-28.099-13.11-65.026-26.972-103.875-32.293 c-73.02-9.985-74.189-13.376-78.543-25.997l-13.939-40.344l-32.07,28.373c-3.413,3.005-29.25,25.717-59.067,50.42 c-0.821-10.957-0.134-21.943,2.067-32.853C767.147,104.033,824.688,60.37,891.838,60.37z M770.86,256.186 c20.026-16.2,39.808-32.93,54.121-45.206c19.836,17.894,50.771,22.927,103.848,30.187c36.003,4.926,71.31,19.343,96.846,32.006 v64.342c0,70.252-57.15,127.411-127.402,127.411c-70.257,0-127.412-57.159-127.412-127.411V256.186z M882.394,521.32 c11.808,1.04,23.542,0.916,35.208-0.313v17.627l-17.653,9.783l-17.554-9.753V521.32z M678.691,710.336 c13.105-63.942,69.255-117.096,146.604-138.622v0.551l74.606,41.448l74.796-41.427v-0.572 c77.361,21.526,133.515,74.692,146.611,138.647l-384.611-0.047v0.021H678.691z"}),(0,l.jsx)("path",{d:"M376.487,1542.108v-7.458c57.009-26.082,97.414-80.139,106.208-142.039 c24.032-8.717,40.98-31.932,40.98-58.221c0-22.635-12.225-42.885-31.146-53.699c1.969-6.164,3.584-12.379,4.835-18.586 c10.062-49.921-1.406-100.942-32.293-143.668c-30.39-42.029-76.063-71.013-128.615-81.608c-14.128-2.854-28.541-4.298-42.829-4.298 c-45.072,0-89.049,14.537-123.827,40.929c-35.818,27.174-60.314,65.782-68.971,108.718c-6.559,32.551-3.877,66.139,7.724,97.641 c-19.665,10.57-32.689,31.349-32.689,54.576c0,26.633,17.198,49.93,41.583,58.449c9.035,63.375,50.755,117.947,109.638,143.385 v5.88c-122.292,27.707-206.617,119.176-206.617,226.067v28.558h106.436v-0.12h11.816v0.12h444.393v-28.558 C583.113,1661.284,498.788,1569.815,376.487,1542.108z M293.628,1089.631c10.488,0,21.105,1.065,31.545,3.172 c38.423,7.745,71.675,28.729,93.622,59.094c20.478,28.309,28.718,61.604,23.443,94.254c-28.103-13.11-65.034-26.977-103.874-32.294 c-73.02-9.985-74.189-13.38-78.548-25.996l-13.935-40.345l-32.092,28.391c-5.541,4.879-30.295,26.59-59.042,50.402 c-0.825-10.956-0.138-21.938,2.063-32.852C168.938,1133.297,226.476,1089.631,293.628,1089.631z M172.651,1285.445 c20.013-16.188,39.799-32.926,54.121-45.205c19.833,17.894,50.772,22.932,103.848,30.191c36.012,4.922,71.31,19.338,96.846,32.006 v64.342c0,70.252-57.155,127.406-127.403,127.406c-70.256,0-127.412-57.154-127.412-127.406V1285.445z M284.185,1550.584 c11.816,1.041,23.529,0.916,35.208-0.317v17.632l-17.657,9.778l-17.55-9.753V1550.584z M116.373,1739.6v0.025H80.474 c13.093-63.959,69.255-117.121,146.612-138.646v0.55l74.606,41.444l74.795-41.427v-0.567 c77.362,21.525,133.52,74.688,146.612,138.646l-384.611-0.051v0.025H116.373z"}),(0,l.jsx)("path",{d:"M1572.91,1542.108v-7.458c57.009-26.082,97.414-80.139,106.207-142.039 c24.033-8.717,40.98-31.932,40.98-58.221c0-22.631-12.224-42.889-31.141-53.699c1.965-6.164,3.58-12.375,4.826-18.586 c10.067-49.921-1.4-100.942-32.293-143.668c-30.381-42.029-76.059-71.013-128.61-81.608c-14.129-2.854-28.537-4.298-42.833-4.298 c-45.068,0-89.045,14.537-123.822,40.929c-35.818,27.174-60.311,65.782-68.967,108.718c-6.564,32.551-3.882,66.13,7.719,97.641 c-19.664,10.57-32.688,31.349-32.688,54.576c0,26.633,17.198,49.93,41.587,58.449c9.035,63.379,50.754,117.951,109.633,143.385 v5.88c-122.296,27.707-206.621,119.176-206.621,226.067v28.558h106.436v-0.052h11.825v0.052h444.384v-28.558 C1779.531,1661.284,1695.207,1569.815,1572.91,1542.108z M1490.047,1089.631c10.488,0,21.104,1.065,31.55,3.172 c38.423,7.745,71.671,28.729,93.622,59.094c20.478,28.309,28.722,61.611,23.447,94.254c-28.103-13.11-65.033-26.977-103.883-32.294 c-73.016-9.985-74.185-13.38-78.539-26.001l-13.939-40.34l-32.151,28.442c-5.562,4.9-30.381,26.658-58.986,50.351 c-0.821-10.956-0.134-21.943,2.067-32.852C1365.36,1133.297,1422.894,1089.631,1490.047,1089.631z M1369.074,1285.445 c20.073-16.238,39.828-32.951,54.12-45.205c19.833,17.894,50.769,22.932,103.849,30.191c36.002,4.922,71.309,19.338,96.846,32.006 v64.342c0,70.252-57.15,127.406-127.403,127.406c-70.257,0-127.411-57.154-127.411-127.406V1285.445z M1480.607,1550.584 c11.803,1.041,23.533,0.912,35.203-0.317v17.632l-17.652,9.778l-17.551-9.753V1550.584z M1276.9,1739.6 c13.109-63.946,69.255-117.1,146.607-138.621v0.55l74.607,41.444l74.795-41.427v-0.567c77.37,21.521,133.52,74.688,146.612,138.646 l-384.616-0.051v0.025H1276.9z"})]}),heart:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1598.646,483.59c0-159.066-151.555-242.271-232.804-242.271c-17.445,0-31.592,14.14-31.592,31.594 c0,17.444,14.146,31.592,31.592,31.592c50.731,0,169.618,60.929,169.618,179.084c0,17.444,14.147,31.593,31.593,31.593 C1584.508,515.183,1598.646,501.034,1598.646,483.59z"}),(0,l.jsx)("path",{d:"M1245.167,67.346c-8.005,0-15.974,0.176-23.897,0.515c-124.318-6.434-239.696,39.191-324.708,117.896 C802.382,111.649,683.698,67.346,554.832,67.346C249.563,67.346,1.211,315.7,1.211,620.971 c0,169.59,76.672,321.587,197.146,423.214l679.305,679.309c5.924,5.923,13.963,9.246,22.337,9.246 c8.384,0,16.413-3.323,22.347-9.246l679.218-679.238c120.519-101.636,197.227-253.659,197.227-423.285 C1798.79,315.7,1550.438,67.346,1245.167,67.346z M899.999,1656.474l-505.608-505.617L241.498,997.96l-60.105-60.101 c-0.744-0.749-1.52-1.445-2.323-2.098c-71.524-85.24-114.673-195.066-114.673-314.791c0-270.426,220.008-490.44,490.435-490.44 c111.765,0,214.891,37.604,297.452,100.783c0.309,0.229,0.599,0.476,0.908,0.714c-56.627,69.7-92.777,157.083-98.507,253.368 c-1.04,17.418,12.235,32.377,29.654,33.409c0.643,0.044,1.278,0.062,1.913,0.062c16.581,0,30.508-12.94,31.505-29.715 c5.059-85.082,37.825-162.045,88.959-222.683c13.021-12.438,26.683-24.197,40.999-35.154 c76.84-58.798,171.504-95.406,274.348-100.202c1.604,0.048,3.183-0.013,4.733-0.194c6.101-0.229,12.218-0.387,18.371-0.387 c270.434,0,490.438,220.014,490.438,490.44c0,119.707-43.133,229.515-114.648,314.755c-0.811,0.671-1.596,1.375-2.354,2.133 l-60.153,60.146l-152.843,152.852L899.999,1656.474z"})]}),hourglass:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1291.915,534.357v-332.82h205.125c17.342,0,31.397-14.056,31.397-31.396V33.361 c0-17.34-14.056-31.396-31.397-31.396H302.959c-17.34,0-31.396,14.055-31.396,31.396v136.779c0,17.341,14.056,31.396,31.396,31.396 h205.126v332.82c0,163.429,98.684,304.023,239.057,364.271c-140.373,60.465-239.057,201.569-239.057,365.587v334.248H302.959 c-17.34,0-31.396,14.056-31.396,31.396v136.779c0,17.34,14.056,31.396,31.396,31.396H1497.04c17.342,0,31.397-14.056,31.397-31.396 v-136.779c0-17.34-14.056-31.396-31.397-31.396h-205.125v-334.248c0-164.019-98.686-305.122-239.057-365.587 C1193.229,838.381,1291.915,697.787,1291.915,534.357z M334.355,64.758h1131.289v73.987H1260.52H539.48H334.355V64.758z M1229.124,201.537v301.424H570.876V201.537H1229.124z M624.024,1591.386L900,1365.789l275.973,225.597H624.024z M1465.645,1735.243H334.355v-73.987H539.48h721.039h205.125V1735.243z M1229.124,1264.216v289.515l-309.252-252.802 c-11.559-9.447-28.183-9.447-39.742,0L570.876,1553.73v-289.515c0-184.304,147.644-334.248,329.124-334.248 C1081.477,929.968,1229.124,1079.912,1229.124,1264.216z M900,867.177c-171.004,0-311.915-132.581-327.617-301.424h655.234 C1211.914,734.596,1071.004,867.177,900,867.177z"}),(0,l.jsx)("path",{d:"M900,1172.91c17.34,0,31.396-14.056,31.396-31.397v-105.4c0-17.34-14.056-31.396-31.396-31.396 c-17.34,0-31.396,14.056-31.396,31.396v105.4C868.604,1158.854,882.66,1172.91,900,1172.91z"})]}),house:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1783.877,760.195L1448.221,519.4c0.936-5.06,1.49-10.252,1.49-15.58V88.032 c0-47.163-38.371-85.533-85.533-85.533h-124.246c-47.162,0-85.533,38.37-85.533,85.533v220.587L918.581,139.452 c-4.537-3.26-9.654-5.051-14.847-5.618c-1.234-0.156-2.483-0.246-3.732-0.255c-1.249,0.009-2.497,0.099-3.732,0.255 c-5.188,0.567-10.309,2.358-14.846,5.618l-865.3,620.743c-14.143,10.142-17.383,29.829-7.236,43.971 c6.155,8.581,15.822,13.149,25.63,13.149c6.361,0,12.78-1.921,18.341-5.913L900.002,203.69l254.396,182.496l63.024,45.211 l132.331,94.932l64.783,46.473l332.604,238.601c5.562,3.991,11.979,5.913,18.341,5.913c9.809,0,19.476-4.568,25.631-13.149 C1801.26,790.027,1798.02,770.337,1783.877,760.195z M1217.423,353.834V88.032c0-12.411,10.099-22.509,22.509-22.509h124.246 c12.41,0,22.509,10.098,22.509,22.509v387.226L1217.423,353.834z"}),(0,l.jsx)("path",{d:"M1534.746,800.935c-17.404,0-31.512,14.107-31.512,31.512v894.17c0,1.895-6.37,7.86-17.418,7.86h-353.228 v-548.772c0-17.404-14.107-31.512-31.513-31.512H698.928c-17.404,0-31.512,14.107-31.512,31.512v548.772H314.188 c-11.048,0-17.418-5.966-17.418-7.86v-894.17c0-17.405-14.107-31.512-31.512-31.512c-17.404,0-31.512,14.107-31.512,31.512v894.17 c0,1.169,0.136,2.303,0.197,3.459c2.071,37.474,37.214,67.426,80.245,67.426h384.74c17.405,0,31.512-14.108,31.512-31.513v-548.771 h339.125v548.771c0,17.404,14.107,31.513,31.512,31.513h384.74c43.031,0,78.174-29.952,80.244-67.426 c0.063-1.156,0.198-2.29,0.198-3.459v-894.17C1566.259,815.042,1552.151,800.935,1534.746,800.935z"}),(0,l.jsx)("path",{d:"M1073.253,782.176c0-95.411-77.624-173.04-173.04-173.04s-173.04,77.628-173.04,173.04 c0,95.416,77.624,173.04,173.04,173.04S1073.253,877.592,1073.253,782.176z M790.198,782.176 c0-60.663,49.352-110.016,110.016-110.016s110.015,49.353,110.015,110.016c0,60.664-49.352,110.016-110.015,110.016 S790.198,842.84,790.198,782.176z"})]}),id:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M975.824,1161.939v-7.569c57.861-26.47,98.873-81.339,107.801-144.171 c24.396-8.848,41.596-32.416,41.596-59.1c0-22.972-12.408-43.534-31.613-54.503c1.998-6.256,3.639-12.565,4.903-18.865 c10.218-50.672-1.423-102.46-32.774-145.828c-30.846-42.665-77.207-72.085-130.549-82.844 c-14.346-2.889-28.971-4.354-43.473-4.354c-45.75,0-90.384,14.751-125.688,41.54c-36.353,27.583-61.213,66.775-70,110.353 c-6.666,33.045-3.944,67.129,7.836,99.109c-19.965,10.732-33.185,31.823-33.185,55.4c0,27.033,17.461,50.681,42.216,59.328 c9.171,64.328,51.518,119.72,111.282,145.535v5.973c-124.135,28.12-209.728,120.969-209.728,229.471v28.979h108.036v-0.052h11.998 v0.052h451.071v-28.979C1185.553,1282.908,1099.959,1190.063,975.824,1161.939z M891.715,702.663 c10.646,0,21.422,1.082,32.024,3.211c38.996,7.871,72.748,29.171,95.025,59.991c20.776,28.726,29.145,62.513,23.796,95.671 c-28.517-13.312-66.004-27.382-105.436-32.783c-74.119-10.131-75.306-13.578-79.721-26.388l-14.153-40.951l-32.548,28.804 c-3.464,3.045-29.694,26.1-59.956,51.178c-0.838-11.125-0.14-22.277,2.094-33.351 C765.153,746.982,823.557,702.663,891.715,702.663z M768.923,901.422c20.323-16.443,40.401-33.424,54.93-45.885 c20.139,18.163,51.536,23.272,105.41,30.641c36.544,5,72.382,19.633,98.306,32.487v65.31c0,71.313-58.01,129.322-129.318,129.322 c-71.317,0-129.327-58.01-129.327-129.322V901.422z M882.134,1170.543c11.98,1.057,23.892,0.93,35.732-0.318v17.893l-17.914,9.931 l-17.818-9.899V1170.543z M675.364,1362.4c13.307-64.903,70.296-118.855,148.812-140.705v0.559l75.724,42.072l75.925-42.051v-0.58 c78.524,21.85,135.522,75.814,148.813,140.731l-390.391-0.048v0.021H675.364z"}),(0,l.jsx)("path",{d:"M1185.553,1546.793H614.448c-17.273,0-31.274-14-31.274-31.273s14.001-31.273,31.274-31.273h571.104 c17.272,0,31.273,14,31.273,31.273S1202.825,1546.793,1185.553,1546.793z"}),(0,l.jsx)("path",{d:"M1581.322,190.83h-529.979V95.817c0-46.806-38.08-84.886-84.886-84.886H833.543 c-46.806,0-84.886,38.08-84.886,84.886v95.012H218.679c-46.807,0-84.886,38.08-84.886,84.886v1428.468 c0,46.805,38.08,84.885,84.886,84.885h1362.644c46.805,0,84.885-38.08,84.885-84.885V275.716 C1666.207,228.909,1628.127,190.83,1581.322,190.83z M811.205,95.817c0-12.317,10.021-22.339,22.338-22.339h132.914 c12.316,0,22.338,10.022,22.338,22.339v95.012v62.547v128.372c0,12.316-10.021,22.338-22.338,22.338H833.543 c-12.316,0-22.338-10.021-22.338-22.338V253.377V190.83V95.817z M1603.66,1704.184c0,12.316-10.021,22.338-22.338,22.338H218.679 c-12.317,0-22.339-10.021-22.339-22.338V275.716c0-12.317,10.022-22.339,22.339-22.339h529.979v128.372 c0,46.806,38.08,84.886,84.886,84.886h132.914c46.806,0,84.886-38.08,84.886-84.886V253.377h529.979 c12.316,0,22.338,10.022,22.338,22.339V1704.184z"})]}),idea:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M900.114,54.882c-329.509,0-597.583,268.077-597.583,597.59c0,219.592,118.159,418.518,309.714,523.794 v152.835h-0.127v122.121h-0.172v185.238h172.682c3.58,60.518,53.924,108.656,115.315,108.656 c61.39,0,111.736-48.139,115.31-108.656h172.571v-122.122h0.177v-185.237h-0.019v-152.835 c191.557-105.276,309.715-304.203,309.715-523.794C1497.697,322.959,1229.623,54.882,900.114,54.882z M675.235,1392.218h449.649 v59.005H675.235V1392.218z M899.943,1682.002c-29.441,0-48.627-22.507-51.876-45.541h103.788 C948.464,1662.119,926.504,1682.002,899.943,1682.002z M1124.708,1573.344H675.063v-59.005h449.645V1573.344z M1142.116,1129.132 l-17.25,8.778v189.457H931.559V861l187.201-187.21c12.323-12.323,12.323-32.302-0.005-44.63 c-12.318-12.318-32.302-12.323-44.629,0.004L900,803.299L725.875,629.165c-12.323-12.323-32.307-12.328-44.63-0.004 c-12.328,12.328-12.328,32.307-0.005,44.63L868.441,861v466.367H675.362V1137.91l-17.249-8.778 c-180.4-91.778-292.465-274.427-292.465-476.66c0-294.71,239.761-534.471,534.466-534.471 c294.706,0,534.466,239.761,534.466,534.471C1434.58,854.705,1322.516,1037.354,1142.116,1129.132z"}),(0,l.jsx)("path",{d:"M1066.667,246.225c-17.43,0-31.558,14.128-31.558,31.559s14.128,31.558,31.558,31.558 c49.641,0,165.99,59.634,165.99,175.279c0,17.431,14.128,31.559,31.558,31.559c17.431,0,31.559-14.128,31.559-31.559 C1295.773,328.101,1146.624,246.225,1066.667,246.225z"}),(0,l.jsx)("path",{d:"M209.331,712.881c0-17.43-14.128-31.558-31.558-31.558H34.686c-17.43,0-31.558,14.128-31.558,31.558 s14.128,31.558,31.558,31.558h143.087C195.203,744.439,209.331,730.312,209.331,712.881z"}),(0,l.jsx)("path",{d:"M220.157,300.096c6.164,6.163,14.239,9.245,22.317,9.245c8.075,0,16.153-3.082,22.313-9.241 c12.328-12.328,12.328-32.307,0.004-44.629L163.623,154.297c-12.318-12.319-32.303-12.323-44.63-0.004 c-12.327,12.327-12.327,32.307-0.004,44.63L220.157,300.096z"}),(0,l.jsx)("path",{d:"M220.17,1125.662l-101.178,101.174c-12.327,12.327-12.327,32.307-0.004,44.634 c6.164,6.164,14.238,9.246,22.317,9.246c8.074,0,16.153-3.082,22.312-9.246l101.179-101.173 c12.327-12.327,12.327-32.307,0.004-44.625C252.478,1113.344,232.493,1113.344,220.17,1125.662z"}),(0,l.jsx)("path",{d:"M1765.314,681.323h-143.083c-17.43,0-31.559,14.128-31.559,31.558s14.129,31.558,31.559,31.558h143.083 c17.43,0,31.558-14.128,31.558-31.558S1782.744,681.323,1765.314,681.323z"}),(0,l.jsx)("path",{d:"M1557.521,309.341c8.074,0,16.153-3.082,22.316-9.241l101.174-101.173 c12.322-12.327,12.322-32.307,0-44.634c-12.328-12.319-32.307-12.319-44.635,0l-101.173,101.173 c-12.323,12.328-12.323,32.307,0,44.634C1541.368,306.259,1549.447,309.341,1557.521,309.341z"}),(0,l.jsx)("path",{d:"M1579.829,1125.662c-12.318-12.318-32.302-12.318-44.63,0.01c-12.323,12.318-12.323,32.298,0.005,44.625 l101.178,101.173c6.159,6.164,14.238,9.246,22.312,9.246c8.075,0,16.154-3.082,22.318-9.246 c12.322-12.327,12.322-32.307-0.005-44.634L1579.829,1125.662z"})]}),key:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M246.051,1796.104c-2.663,0-5.348-0.336-7.992-1.025l-166.817-43.505 c-11.095-2.895-19.762-11.557-22.656-22.654L5.044,1562.08c-2.839-10.881,0.3-22.446,8.251-30.397l101.307-101.312 c0.476-0.544,0.968-1.069,1.481-1.587l668.3-668.298c-43.625-93.255-59.486-199.569-44.681-301.964 c16.48-114,68.356-217.425,150.023-299.096C990.027,59.131,1123.381,3.896,1265.223,3.896 c141.839,0,275.184,55.23,375.479,155.521c207.043,207.047,207.043,543.934,0,750.977 c-100.277,100.277-233.622,155.512-375.456,155.517c-77.911,0.005-155.419-17.284-225.608-50.161l-198.6,198.589 c-5.219,5.22-12.101,8.454-19.45,9.14l-96.017,8.972l-8.967,96.021c-0.686,7.35-3.92,14.23-9.14,19.454l-0.805,0.805 c-5.224,5.219-12.104,8.454-19.454,9.14l-96.02,8.967l-8.965,96.018c-0.689,7.371-3.938,14.27-9.184,19.498l-1.237,1.233 c-5.215,5.197-12.081,8.414-19.413,9.1l-95.584,8.927l-8.925,95.58c-0.688,7.354-3.92,14.235-9.144,19.459l-67.392,67.384 c-0.521,0.521-1.057,1.021-1.604,1.498l-101.283,101.289C262.438,1792.842,254.346,1796.104,246.051,1796.104z M105.198,1694.951 l131.287,34.242l90.004-90.012c0.518-0.517,1.05-1.017,1.598-1.494l57.77-57.762l10.304-110.354 c1.417-15.167,13.429-27.18,28.596-28.598l96.718-9.034l9.069-97.144c1.416-15.168,13.429-27.18,28.596-28.599l96.753-9.038 l9.038-96.755c1.419-15.163,13.427-27.176,28.594-28.594l110.792-10.351l206.612-206.602c9.797-9.802,24.846-12.091,37.114-5.652 c66.53,34.905,141.635,53.353,217.198,53.348c124.917-0.005,242.346-48.646,330.656-136.959 c182.347-182.343,182.347-479.03,0-661.377c-88.318-88.323-205.758-136.964-330.674-136.964 c-124.92,0-242.363,48.645-330.699,136.977C788.967,349.79,755.365,569.959,850.918,752.09 c6.444,12.277,4.154,27.312-5.648,37.119l-682.855,682.847c-0.473,0.543-0.966,1.073-1.479,1.586l-90.005,90.003L105.198,1694.951 z"}),(0,l.jsx)("path",{d:"M1273.541,713.839c-48.809,0-94.691-19.008-129.203-53.524c-71.242-71.242-71.246-187.168-0.01-258.411 c34.512-34.512,80.395-53.52,129.203-53.52s94.701,19.008,129.217,53.52c34.516,34.516,53.523,80.403,53.523,129.208 c0,48.809-19.008,94.696-53.523,129.208C1368.236,694.831,1322.35,713.839,1273.541,713.839z M1273.531,411.742 c-31.881,0-61.854,12.414-84.398,34.958c-46.541,46.541-46.537,122.273,0.01,168.814c22.543,22.548,52.516,34.967,84.398,34.967 c31.887,0,61.863-12.418,84.407-34.967c22.548-22.543,34.966-52.517,34.966-84.403c0-31.882-12.418-61.859-34.966-84.403 C1335.4,424.161,1305.418,411.742,1273.531,411.742z"})]}),lamp:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1304.016,1574.496h-210.088c-18.638-114.862-119.3-202.092-243.578-207.916L407.561,923.791 c13.76-18.541,21.918-41.481,21.918-66.292c0-23.781-7.513-45.826-20.252-63.945l371.323-371.323 c-14.206,116.245,24.754,235.776,110.417,321.43c6.104,6.104,14.108,9.158,22.11,9.158c8.001,0,16.007-3.054,22.114-9.162 l126.512-126.511c0.018,0.022,0.035,0.043,0.052,0.061c36.198,36.202,84.324,56.136,135.521,56.136 c51.192,0,99.318-19.934,135.521-56.131c36.198-36.202,56.131-84.328,56.131-135.52c0-51.193-19.938-99.323-56.14-135.521 c-0.018-0.018-0.039-0.035-0.057-0.053l105.893-105.893c12.212-12.216,12.212-32.014,0-44.229 c-73.124-73.12-170.353-113.393-273.775-113.393c-49.339,0-98.874,9.603-144.561,27.904L947.67,37.89 c-19.244-19.24-44.831-29.837-72.042-29.837c-27.21,0-52.798,10.597-72.046,29.841l-70.729,70.733 c-39.714,39.723-39.714,104.353,0,144.08l64.381,64.381l-437.196,437.2c-12.979-5.305-27.158-8.25-42.018-8.25 c-61.458,0-111.459,50.002-111.459,111.46c0,61.463,50.001,111.464,111.459,111.464c13.769,0,26.958-2.525,39.143-7.115 l412.673,412.678c-98.581,24.637-173.751,102.289-189.601,199.971H370.146c-17.272,0-31.272,14-31.272,31.272v156.907 c0,17.271,14,31.271,31.272,31.271h933.87c17.272,0,31.272-14,31.272-31.271v-156.907 C1335.288,1588.496,1321.288,1574.496,1304.016,1574.496z M1288.567,390.4c24.384,24.384,37.816,56.803,37.816,91.291 c0,34.487-13.429,66.907-37.816,91.291c-24.384,24.388-56.803,37.816-91.291,37.816c-34.487,0-66.907-13.429-91.29-37.812 c-0.022-0.022-0.044-0.039-0.065-0.057l182.59-182.59C1288.532,390.357,1288.55,390.383,1288.567,390.4z M777.082,208.482 c-15.335-15.34-15.335-40.295,0-55.634l70.725-70.729c7.43-7.43,17.312-11.521,27.821-11.521s20.392,4.092,27.817,11.521 l86.758,86.754c0.301,0.322,0.598,0.637,0.877,0.92c9.323,9.319,23.488,11.797,35.43,6.183 c42.864-20.169,90.701-30.827,138.339-30.827c76.204,0,148.398,26.076,206.393,74.005L914.146,676.248 c-78.975-95.98-96.844-230.711-43.204-344.701c5.615-11.932,3.141-26.103-6.182-35.43c-0.284-0.284-0.598-0.581-0.917-0.877 L777.082,208.482z M269.104,857.499c0-26.971,21.944-48.915,48.915-48.915s48.915,21.944,48.915,48.915 c0,26.975-21.944,48.92-48.915,48.92S269.104,884.474,269.104,857.499z M837.079,1428.811c95.366,0,174.466,61.813,193.24,145.686 H643.844C662.612,1490.623,741.713,1428.811,837.079,1428.811z M1272.743,1731.402H401.418v-94.361h207.048h457.23h207.047 V1731.402z"}),(0,l.jsx)("path",{d:"M1425.366,673.413c-12.207-12.207-32.01-12.211-44.226,0.004c-12.211,12.211-12.211,32.014,0.004,44.225 l56.703,56.699c6.104,6.104,14.109,9.157,22.11,9.157c8.002,0,16.007-3.054,22.115-9.162c12.211-12.211,12.211-32.014-0.005-44.225 L1425.366,673.413z"}),(0,l.jsx)("path",{d:"M1233.095,744.966c-17.268,0-31.272,14-31.272,31.268l-0.009,80.196c0,17.272,13.996,31.277,31.269,31.277 h0.004c17.268,0,31.272-14,31.272-31.268l0.009-80.196c0-17.272-13.996-31.277-31.268-31.277H1233.095z"}),(0,l.jsx)("path",{d:"M1564.171,494.09l-80.191-0.009h-0.004c-17.269,0-31.272,14-31.272,31.269 c0,17.271,13.995,31.276,31.268,31.276l80.192,0.009c0.004,0,0.004,0,0.004,0c17.268,0,31.272-14,31.272-31.268 C1595.439,508.095,1581.443,494.09,1564.171,494.09z"})]}),link:e=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:(0,l.jsx)("path",{d:"M1710.11,89.813c-56.914-56.918-132.584-88.264-213.075-88.264c-80.486,0-156.16,31.34-213.083,88.255 L946.48,427.263c-109.931,109.943-116.968,284.393-21.16,402.64l-95.495,95.494c-53.483-43.448-119.697-67.089-189.552-67.089 c-80.49,0-156.17,31.343-213.083,88.262L89.734,1284.028c-117.487,117.483-117.487,308.662-0.005,426.163 c56.918,56.915,132.599,88.26,213.088,88.26c0.004,0-0.004,0,0.004,0c80.488,0,156.173-31.354,213.091-88.271l337.437-337.453 c56.922-56.912,88.276-132.588,88.276-213.081c0-69.864-23.651-136.072-67.104-189.552l95.489-95.496 c53.493,43.444,119.707,67.086,189.57,67.086c80.49,0,156.175-31.351,213.093-88.268l337.436-337.446 c56.923-56.918,88.269-132.588,88.272-213.083C1798.383,222.393,1767.033,146.718,1710.11,89.813z M878.416,1159.646 c0,63.606-24.776,123.409-69.764,168.387l-337.44,337.454c-44.978,44.979-104.782,69.753-168.394,69.753 c-63.612,0-123.414-24.771-168.391-69.745c-92.841-92.853-92.837-243.93,0-336.77l337.456-337.454 c44.982-44.983,104.785-69.754,168.391-69.754c52.942,0,103.214,17.214,144.53,48.908l-229.112,229.114 c-12.341,12.342-12.341,32.35,0,44.696c6.173,6.169,14.259,9.255,22.351,9.255s16.177-3.086,22.35-9.259L829.5,1015.116 C861.197,1056.43,878.416,1106.699,878.416,1159.646z M1665.414,471.271l-337.44,337.449 c-44.978,44.983-104.78,69.754-168.392,69.754c-52.945,0-103.224-17.213-144.542-48.902l239.749-239.755 c12.342-12.342,12.342-32.35-0.004-44.697c-12.338-12.336-32.35-12.34-44.696,0.005l-239.72,239.729 c-71.336-93.294-64.44-227.634,20.808-312.895L1328.648,134.5c44.982-44.969,104.781-69.74,168.387-69.74 c63.604,0,123.4,24.771,168.379,69.75c44.983,44.974,69.759,104.771,69.759,168.379 C1735.173,366.495,1710.397,426.296,1665.414,471.271z"})}),location:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M899.993,1556.267l441.512-441.511c8.202-7.819,26.127-26.384,26.893-27.184l0.36-0.383 c110.946-118.997,172.046-274.141,172.046-436.851c0-353.342-287.463-640.805-640.803-640.805 c-353.342,0-640.805,287.463-640.805,640.805c0,162.714,61.1,317.857,172.038,436.851L899.993,1556.267z M900.001,71.159 c319.355,0,579.179,259.818,579.179,579.18c0,146.968-55.159,287.114-155.315,394.639c-5.202,5.387-19.292,19.873-25.095,25.383 L900.006,1469.1l-424.049-424.315C375.902,937.286,320.82,797.229,320.82,650.339C320.82,330.977,580.634,71.159,900.001,71.159z"}),(0,l.jsx)("path",{d:"M998.745,225.279c110.577,0,325.781,120.91,325.781,342.553c0,17.018,13.789,30.812,30.812,30.812 c17.014,0,30.812-13.794,30.812-30.812c0-115.37-50.989-222.331-143.563-301.184c-73.464-62.566-169.175-102.994-243.842-102.994 c-17.014,0-30.812,13.794-30.812,30.813S981.731,225.279,998.745,225.279z"}),(0,l.jsx)("path",{d:"M1286.716,1361.056c-24.003-9.809-49.854-18.548-77.134-26.264l-50.474,50.478 c148.765,35.502,240.488,98.79,240.488,157.599c0,87.962-205.171,185.974-499.596,185.974 c-294.417,0-499.597-98.012-499.597-185.974c0-58.805,91.723-122.097,240.488-157.599l-50.478-50.478 c-27.271,7.716-53.126,16.455-77.121,26.264c-112.537,45.995-174.513,110.563-174.513,181.813s61.977,135.817,174.513,181.813 c103.793,42.422,241.128,65.785,386.708,65.785c145.582,0,282.921-23.363,386.715-65.785 c112.536-45.995,174.504-110.563,174.504-181.813S1399.252,1407.051,1286.716,1361.056z"}),(0,l.jsx)("path",{d:"M901.771,945.221c-171.172,0-310.434-139.256-310.434-310.425S730.599,324.37,901.771,324.37 c171.172,0,310.434,139.256,310.434,310.425S1072.943,945.221,901.771,945.221z M901.771,385.995 c-137.193,0-248.809,111.612-248.809,248.801s111.616,248.801,248.809,248.801c137.192,0,248.809-111.612,248.809-248.801 S1038.964,385.995,901.771,385.995z"})]}),lock:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M900,868.536c-113.664,0-206.139,92.473-206.139,206.145c0,72.752,38.923,140.217,100.683,177.107v167.979 h210.914v-167.979c61.764-36.891,100.689-104.355,100.689-177.107C1106.146,961.009,1013.669,868.536,900,868.536z M960.627,1204.401l-18.129,8.493v143.914h-84.996v-143.914l-18.129-8.493c-50.148-23.487-82.554-74.403-82.554-129.721 c0-78.952,64.232-143.185,143.181-143.185c78.952,0,143.189,64.232,143.189,143.185 C1043.189,1129.998,1010.782,1180.914,960.627,1204.401z"}),(0,l.jsx)("path",{d:"M1306.793,621.365V406.939c-1.094-107.793-43.891-208.955-120.511-284.855 C1109.604,46.13,1007.934,4.301,899.996,4.301c-107.933,0-209.604,41.83-286.273,117.788 c-76.617,75.896-119.413,177.057-120.507,285.166v112.333h62.958V407.571c1.898-187.646,156.137-340.313,343.822-340.313 c187.696,0,341.942,152.667,343.839,339.996v214.11H888.52H192.564v474.124c1.906,187.453,76.336,363.382,209.578,495.369 C535.485,1722.948,712.296,1795.7,900.004,1795.7c187.708,0,364.519-72.752,497.863-204.843 c133.242-131.987,207.668-307.916,209.568-495.693V621.365H1306.793z M1544.477,1094.848 c-3.561,351.735-292.671,637.894-644.472,637.894c-351.796,0-640.912-286.158-644.482-637.577v-410.84h237.693h813.578h237.684 V1094.848z"})]}),man:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M886.355,871.67h53.495c10.102,0,18.296-8.19,18.296-18.292c0-10.102-8.194-18.297-18.296-18.297h-35.2 v-85.604c0-10.104-8.188-18.294-18.294-18.294c-10.102,0-18.29,8.19-18.29,18.294v103.901 C868.065,863.479,876.253,871.67,886.355,871.67z"}),(0,l.jsx)("path",{d:"M1023.146,976.574c8.168-5.93,9.996-17.364,4.066-25.551c-5.922-8.177-17.373-10.006-25.551-4.066 c-101.739,73.761-199.976,3.223-204.197,0.113c-8.101-6-19.54-4.328-25.57,3.771c-6.033,8.099-4.352,19.56,3.747,25.603 c0.814,0.602,55.267,40.208,128.108,40.208C940.389,1016.651,981.693,1006.637,1023.146,976.574z"}),(0,l.jsx)("path",{d:"M722.023,669.317c-21.604,0-39.12,24.242-39.12,54.165c0,29.916,17.517,54.171,39.12,54.171 c21.606,0,39.121-24.256,39.121-54.171C761.145,693.56,743.629,669.317,722.023,669.317z"}),(0,l.jsx)("path",{d:"M787.496,653.241c8.102,5.977,19.524,4.298,25.547-3.792c6.03-8.101,4.352-19.559-3.751-25.594 c-29.785-22.174-104.559-50.742-174.351-0.139c-8.179,5.93-10.004,17.371-4.074,25.546c3.577,4.936,9.162,7.559,14.827,7.559 c3.721,0,7.478-1.13,10.72-3.485C721.58,606.091,784.808,651.267,787.496,653.241z"}),(0,l.jsx)("path",{d:"M1056.352,669.317c-21.615,0-39.127,24.242-39.127,54.165c0,29.916,17.512,54.171,39.127,54.171 c21.597,0,39.118-24.256,39.118-54.171C1095.47,693.56,1077.948,669.317,1056.352,669.317z"}),(0,l.jsx)("path",{d:"M990.863,653.241c2.665-1.942,65.915-47.15,131.09,0.094c3.248,2.355,7.001,3.485,10.719,3.485 c5.67,0,11.252-2.623,14.831-7.559c5.931-8.175,4.11-19.616-4.075-25.546c-69.808-50.607-144.57-22.039-174.353,0.139 c-8.082,6.016-9.745,17.411-3.763,25.516C971.295,657.476,982.738,659.191,990.863,653.241z"}),(0,l.jsx)("path",{d:"M1044.421,1241.034v-73.482c144.013-55.917,249.028-190.594,261.882-350.876 c54.584-8.121,96.594-55.29,96.594-112.094c0-52.986-36.558-97.585-85.777-109.929c9.814-23.683,17.381-48.378,22.441-73.552 c22.416-111.207-3.248-225.034-72.289-320.511c-68.475-94.707-171.558-160.041-290.254-183.967 c-32.013-6.448-64.617-9.723-96.897-9.723c-101.613,0-200.664,32.694-278.898,92.055 c-79.953,60.67-134.599,146.725-153.866,242.316c-15.827,78.522-7.48,159.771,24.14,234.966l7.215,17.158 c-52.042,10.239-91.424,56.193-91.424,111.192c0,57.297,42.746,104.765,98.016,112.271 c13.167,163.313,122.008,300.019,270.279,353.863v70.313c-293.228,54.776-503.231,269.911-503.231,520.054v32.013h184.187v-64.025 H317.726c13.115-155.446,121.035-292.501,281.221-370.137l163.441,370.137H604.229v-188.913v-1.533 c0-16.833-14.332-30.479-32.015-30.479c-17.681,0-32.013,13.646-32.013,30.479v1.533v188.913v19.855v12.157v32.013h1007.448 v-32.013C1547.649,1510.945,1337.645,1295.811,1044.421,1241.034z M930.688,1458.755l-21.867,237.567h-26.049l-21.862-237.567 l34.886-28.459L930.688,1458.755z M797.781,1471.487l20.835,226.429l-84.098-190.454L797.781,1471.487z M993.72,1472.462l61.543,35 l-81.808,185.281L993.72,1472.462z M1081.258,1448.584l-121.021-68.823l84.185-46.617v-26.892 c30.759,6.287,60.437,14.517,88.879,24.479L1081.258,1448.584z M1338.872,704.582c0,20.803-12.967,38.599-31.229,45.833v-81.098 v-10.562C1325.905,665.991,1338.872,683.786,1338.872,704.582z M510.122,353.917C543.173,189.945,698.781,70.929,880.12,70.929 c28.048,0,56.385,2.843,84.252,8.462c102.856,20.733,192.005,77.098,251.014,158.712c58.452,80.838,80.267,176.85,61.413,270.353 c-2.422,12.005-5.504,23.879-9.232,35.546c-74.684-38.646-176.441-81.161-283.574-95.821 c-187.071-25.595-203.602-35.866-221.686-88.241l-15.614-45.238L710.842,346.4c-1.075,0.954-97.289,85.933-194.556,164.338 C501.821,459.388,499.642,405.905,510.122,353.917z M451.313,704.587c0-21.33,13.638-39.487,32.631-46.347v11.077v81.614 C464.951,744.071,451.313,725.916,451.313,704.587z M547.972,783.466V669.317V636.07v-68.66 c67.086-53.777,134.851-111.775,173.301-145.113c36.729,56.681,103.2,68.686,254.046,89.32 c104.311,14.275,205.434,59.292,268.301,92.136v32.317v33.247v114.148c0,191.785-156.039,347.824-347.824,347.824 C704.004,1131.29,547.972,975.251,547.972,783.466z M895.795,1195.314c28.988,0,57.282-3.03,84.592-8.752v44.335v37.194v27.318 l-80.547,44.613l-80.231-44.588v-27.344v-37.194v-42.681C844.309,1192.858,869.77,1195.314,895.795,1195.314z M755.582,1306.252 v26.857l78.91,43.838l-125.97,71.637l-50.614-114.622C689.021,1322.563,721.623,1313.192,755.582,1306.252z M1249.584,1729.075 v-190.446c0-16.833-14.334-30.479-32.012-30.479c-17.688,0-32.014,13.646-32.014,30.479v190.446h-158.163l165.243-374.213 c164.844,76.87,276.295,216.041,289.637,374.213H1249.584z"})]}),mail:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M531.087,344.727c0.247,0,0.492,0.033,0.739,0.033h453.558c16.819,0,30.444-13.625,30.444-30.436 c0-16.815-13.625-30.435-30.444-30.435H638.226H531.826c-16.811,0-30.44,13.62-30.44,30.435 C501.386,330.885,514.624,344.331,531.087,344.727z"}),(0,l.jsx)("path",{d:"M531.826,497.389h749.422c16.814,0,30.443-13.629,30.443-30.439c0-16.814-13.629-30.439-30.443-30.439 H531.826c-16.811,0-30.44,13.625-30.44,30.439C501.386,483.76,515.016,497.389,531.826,497.389z"}),(0,l.jsx)("path",{d:"M531.826,650.009h749.422c16.814,0,30.443-13.633,30.443-30.444c0-8.872-3.822-16.827-9.877-22.389 c-5.424-4.982-12.625-8.046-20.566-8.046H531.826c-7.938,0-15.143,3.064-20.567,8.046c-6.054,5.562-9.873,13.517-9.873,22.389 C501.386,636.376,515.016,650.009,531.826,650.009z"}),(0,l.jsx)("path",{d:"M1311.691,772.194c0-16.806-13.629-30.436-30.443-30.436H531.826c-16.811,0-30.44,13.629-30.44,30.436 c0,16.815,13.629,30.444,30.44,30.444h749.422C1298.063,802.638,1311.691,789.009,1311.691,772.194z"}),(0,l.jsx)("path",{d:"M1772.088,533.511c-2.481-3.422-5.691-6.4-9.603-8.622l-246.454-139.961v-82.389v-9.853 c-1.264-7.738-5.432-14.501-11.406-19.066l-49.465-42.835l-131.073-113.508l-61.889-53.596c-5.286-4.582-11.866-7.021-18.591-7.275 h-2.197H937.55h-66.904H383.746c-47.809,0-86.705,38.895-86.705,86.696V382.15L61.554,515.893 c-31.678,11.565-54.396,41.913-54.396,77.54v1067.543c0,45.554,37.064,82.618,82.622,82.618h1625.598 c45.558,0,82.623-37.064,82.623-82.618V593.433C1798,569.839,1788.002,548.583,1772.088,533.511z M1614.426,510.814l92.579,52.583 l-11.661,8.301l-179.313,127.664V571.698v-60.883v-55.873L1614.426,510.814z M1405.5,267.454h-132.895V152.361L1405.5,267.454z M357.922,571.698v-60.883v-93.226v-70.01V143.102c0-14.239,11.585-25.825,25.824-25.825h379.699H886.73h34.734h123.285h167.617 v180.296c0,16.631,13.483,30.11,30.119,30.11h212.674v22.668v70.015v90.448v60.883V742.7l-397.298,282.87l-50.781,36.148 l-18.591,13.241l-81.088,57.728l-81.093-57.728l-18.611-13.25l-50.782-36.155L357.922,741.483V571.698z M193.76,510.814 l103.281-58.649v58.649v60.883V698.14L119.448,571.698l-14.597-10.395L193.76,510.814z M68.036,1648.984V609.822l229.005,163.047 l60.88,43.344L710.7,1067.38l-8.372,7.58l-67.267,60.871L68.036,1648.984z M121.495,1682.723l604.294-546.892l35.693-32.304 l45.37,32.304l82.897,59.028c5.283,3.76,11.462,5.637,17.653,5.637c6.187,0,12.369-1.877,17.652-5.637l82.889-59.028l45.354-32.286 l35.686,32.286l604.311,546.892H121.495z M1737.119,1640.271l-557.41-504.439l-67.267-60.871l-8.359-7.563l351.077-249.962 l60.871-43.348l221.088-157.407V1640.271z"})]}),medal:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1170.537,1120.229l-178.391-25.926l-79.759-161.635c-5.272-10.681-16.147-17.441-28.059-17.441 c-11.906,0-22.783,6.761-28.056,17.441l-79.776,161.63l-178.386,25.931c-11.785,1.711-21.574,9.964-25.253,21.29 c-3.68,11.326-0.611,23.761,7.917,32.071l129.084,125.823l-30.474,177.653c-2.013,11.736,2.811,23.6,12.447,30.601 c9.633,6.991,22.404,7.926,32.944,2.383l159.553-83.88l159.547,83.88c4.573,2.404,9.575,3.592,14.552,3.592 c6.494,0,12.945-2.017,18.393-5.975c9.637-7.001,14.464-18.864,12.447-30.601l-30.465-177.657l129.07-125.819 c8.529-8.314,11.593-20.745,7.918-32.071C1192.107,1130.192,1182.321,1121.939,1170.537,1120.229z M1003.346,1266.085 c-7.376,7.188-10.736,17.541-9,27.693l22.539,131.389l-117.999-62.035c-4.557-2.396-9.555-3.592-14.557-3.592 c-5.001,0-9.999,1.196-14.556,3.592l-118.002,62.035l22.539-131.389c1.741-10.152-1.624-20.505-9-27.693l-95.467-93.054 l131.929-19.178c10.188-1.479,19-7.879,23.556-17.109l59-119.543l58.995,119.538c4.547,9.235,13.355,15.635,23.551,17.114 l131.934,19.178L1003.346,1266.085z"}),(0,l.jsx)("path",{d:"M1784.612,23.339c-5.569-9.776-15.948-15.813-27.191-15.813h-462.282c-11.183,0-21.51,5.966-27.096,15.652 L913.897,637.144c-9.349-0.476-18.752-0.711-28.211-0.733L531.961,23.178c-5.587-9.686-15.918-15.652-27.1-15.652H42.58 c-11.247,0-21.626,6.037-27.191,15.813c-5.561,9.772-5.451,21.779,0.292,31.451l451.452,759.959 c-99.576,103.891-160.847,244.763-160.847,399.686c0,318.734,259.309,578.041,578.039,578.041 c318.728,0,578.03-259.307,578.03-578.041c0-144.814-53.537-277.354-141.842-378.884L1784.315,54.79 C1790.06,45.118,1790.173,33.111,1784.612,23.339z M97.553,70.097h389.239l329.004,570.376 c-114.047,13.535-218.012,60.385-301.861,130.55L97.553,70.097z M1399.784,1214.435c0,284.232-231.237,515.47-515.459,515.47 c-284.229,0-515.468-231.237-515.468-515.47c0-131.891,49.815-252.35,131.586-343.609c14.351-16.018,29.67-31.146,45.89-45.261 c82.522-71.82,188.032-117.836,303.869-125.443c9.267-0.607,18.598-0.969,27.991-1.078c2.042-0.026,4.081-0.079,6.132-0.079 c12.871,0,25.627,0.489,38.267,1.423c8.59,0.629,17.127,1.48,25.594,2.532c113.699,14.115,216.014,65.408,294.402,141.287 c15.678,15.176,30.387,31.329,44.048,48.369C1357.395,980.84,1399.784,1092.771,1399.784,1214.435z M1275.322,789.106 c-80.282-73.867-181.454-125.339-293.529-144.451l331.414-574.558h389.236L1275.322,789.106z"})]}),megaphone:e=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:(0,l.jsx)("path",{d:"M1768.976,390.693c-18.385-88.021-44.455-175.106-78.13-260.807c-1.895-4.813-3.701-9.645-5.645-14.455 c-19.858-47.839-63.561-81.251-106.271-81.251c-7.987,0-15.769,1.196-22.961,3.491c-84.593,26.491-168.938,58.602-250.511,89.656 c-178.601,68.001-363.281,138.31-555.392,150.404c-22.021,1.429-41.681,8.643-57.019,19.748 c-12.912-10.34-29.055-16.564-46.604-16.564H254.01c-42.107,0-76.362,35.469-76.362,79.066v139.127 c-5.021-1.016-10.208-1.565-15.523-1.565H86.355c-43.307,0-78.543,35.469-78.543,79.066v261.549 c0,43.593,35.236,79.062,78.543,79.062h75.769c5.315,0,10.502-0.55,15.523-1.564v139.136c0,43.598,34.255,79.066,76.362,79.066 h93.205l328.811,570.19c21.968,38.102,62.958,61.771,106.974,61.771c21.528,0,42.811-5.707,61.552-16.513 c58.922-33.991,79.22-109.585,45.246-168.521l-257.742-446.929h14.389c17.559,0,33.701-6.229,46.618-16.578 c15.343,11.104,35.02,18.323,57.067,19.761c192.032,12.085,376.704,82.395,555.292,150.386 c81.585,31.064,165.944,63.183,250.4,89.631c7.346,2.339,15.118,3.525,23.098,3.525c42.709,0,86.412-33.407,106.401-81.532 c1.908-4.726,3.688-9.479,5.549-14.213c33.644-85.572,59.696-172.592,78.076-260.577c15.141-95.359,23.243-203.902,23.243-316.88 C1792.188,594.476,1784.094,486.008,1768.976,390.693z M162.125,854.196H86.355c-8.555,0-15.519-7.192-15.519-16.038V576.609 c0-8.845,6.964-16.042,15.519-16.042h75.769c8.559,0,15.523,7.197,15.523,16.042v261.549 C177.647,847.004,170.684,854.196,162.125,854.196z M835.2,1612.268c16.622,28.83,6.687,65.815-22.135,82.442 c-9.175,5.289-19.572,8.085-30.065,8.085c-21.555,0-41.624-11.58-52.377-30.229l-310.654-538.709h139.334L835.2,1612.268z M646.443,1070.833h-50.737h-72.753H383.624h-72.753H254.01c-7.231,0-13.338-7.346-13.338-16.042V838.158V576.609V359.981 c0-8.845,5.983-16.042,13.338-16.042h392.434c7.364,0,13.352,7.196,13.352,16.042v694.81 C659.795,1063.637,653.807,1070.833,646.443,1070.833z M1327.845,1228.53c-182.979-69.667-372.188-141.704-573.689-154.387 c-18.842-1.227-31.336-11.659-31.336-18.033v-1.319v-694.81v-1.332c0-6.366,12.489-16.802,31.266-18.02 c201.585-12.692,390.807-84.729,573.795-154.4c56.083-21.348,113.498-43.162,171.141-63.231 c-20.847,33.525-39.302,79.743-55.251,138.547c-15.141,55.823-27.055,120.202-35.504,190.01 c-2.563,21.146-4.81,42.771-6.714,64.844c-5.271,61.033-8.04,125.244-8.04,190.981c0,65.746,2.77,129.957,8.04,190.994 c1.904,22.074,4.155,43.699,6.714,64.844c8.449,69.804,20.363,134.177,35.504,190.005c15.949,58.809,34.409,105.03,55.26,138.556 C1441.404,1271.719,1383.958,1249.896,1327.845,1228.53z M1456.536,707.379c0-64.154,2.699-126.677,7.816-185.956 c58.347,23.528,101.1,97.956,101.1,185.96c0,87.999-42.753,162.432-101.096,185.96 C1459.235,834.065,1456.536,771.538,1456.536,707.379z M1706.329,1017.023c-6.938,43.153-15.364,83.374-25.217,119.704 c-15.338,56.563-31.648,94.238-46.371,118.593c-17.805,29.455-33.288,39.399-41.888,39.399c-15.707,0-54.363-33.021-88.258-157.992 c-14.253-52.561-25.521-113.272-33.579-179.265c90.097-26.386,157.46-128.458,157.46-250.079s-67.368-223.688-157.46-250.075 c8.059-65.997,19.326-126.708,33.579-179.269c33.895-124.976,72.555-157.992,88.258-157.992c8.595,0,24.074,9.936,41.87,39.373 c14.728,24.351,31.046,62.035,46.389,118.619c9.883,36.453,18.337,76.828,25.287,120.148 C1750.309,603.387,1750.282,811.917,1706.329,1017.023z"})}),message:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1768.407,80.034H31.592C14.144,80.034,0,94.178,0,111.627v1247.362c0,17.453,14.144,31.593,31.592,31.593 h174.524v297.79c0,11.292,6.021,21.72,15.796,27.36c4.888,2.821,10.339,4.232,15.796,4.232c5.452,0,10.908-1.411,15.796-4.232 l563.182-325.15h951.721c17.449,0,31.593-14.14,31.593-31.593V111.627C1800,94.178,1785.856,80.034,1768.407,80.034z M1736.815,1327.396H808.22c-5.544,0-10.992,1.464-15.796,4.231l-523.123,302.03v-274.669c0-17.444-14.144-31.593-31.592-31.593 H63.185V143.219h1673.631V1327.396z"}),(0,l.jsx)("path",{d:"M246.713,423.688h1287.764c17.448,0,31.592-14.144,31.592-31.593c0-17.449-14.144-31.592-31.592-31.592 H246.713c-17.449,0-31.592,14.143-31.592,31.592C215.121,409.545,229.264,423.688,246.713,423.688z"}),(0,l.jsx)("path",{d:"M246.713,667.4h1287.764c17.448,0,31.592-14.143,31.592-31.592s-14.144-31.592-31.592-31.592H246.713 c-17.449,0-31.592,14.143-31.592,31.592S229.264,667.4,246.713,667.4z"}),(0,l.jsx)("path",{d:"M246.713,911.109h1287.764c17.448,0,31.592-14.142,31.592-31.59c0-17.449-14.144-31.593-31.592-31.593 H246.713c-17.449,0-31.592,14.144-31.592,31.593C215.121,896.968,229.264,911.109,246.713,911.109z"}),(0,l.jsx)("path",{d:"M246.713,1154.82h1287.764c17.448,0,31.592-14.139,31.592-31.592c0-17.444-14.144-31.592-31.592-31.592 H246.713c-17.449,0-31.592,14.147-31.592,31.592C215.121,1140.682,229.264,1154.82,246.713,1154.82z"})]}),messages:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M251.485,1662c-5.408,0-10.816-1.398-15.663-4.195c-9.693-5.598-15.663-15.938-15.663-27.13v-201.559 H86.872c-44.37,0-80.467-36.097-80.467-80.463V380.479c0-44.367,36.098-80.462,80.467-80.462h1467.337 c44.375,0,80.473,36.095,80.473,80.462v968.174c0,44.366-36.098,80.463-80.473,80.463H663.253l-396.105,228.688 C262.302,1660.602,256.894,1662,251.485,1662z M86.872,362.667c-9.824,0-17.817,7.991-17.817,17.813v968.174 c0,9.824,7.993,17.813,17.817,17.813h164.614c17.301,0,31.325,14.023,31.325,31.324v178.629l356.388-205.758 c4.761-2.749,10.163-4.195,15.662-4.195h899.349c9.829,0,17.822-7.989,17.822-17.813V380.479c0-9.822-7.993-17.813-17.822-17.813 H86.872z"}),(0,l.jsx)("path",{d:"M952.785,607.586H253.36c-17.302,0-31.325-14.023-31.325-31.325c0-17.301,14.023-31.325,31.325-31.325 h699.425c17.301,0,31.324,14.024,31.324,31.325C984.109,593.563,970.086,607.586,952.785,607.586z"}),(0,l.jsx)("path",{d:"M1387.721,794.601H253.36c-17.302,0-31.325-14.024-31.325-31.325c0-17.302,14.023-31.325,31.325-31.325 h1134.36c17.302,0,31.326,14.023,31.326,31.325C1419.047,780.577,1405.022,794.601,1387.721,794.601z"}),(0,l.jsx)("path",{d:"M1387.721,981.611H253.36c-17.302,0-31.325-14.023-31.325-31.324c0-17.302,14.023-31.325,31.325-31.325 h1134.36c17.302,0,31.326,14.023,31.326,31.325C1419.047,967.588,1405.022,981.611,1387.721,981.611z"}),(0,l.jsx)("path",{d:"M1387.721,1168.627H253.36c-17.302,0-31.325-14.024-31.325-31.325c0-17.302,14.023-31.325,31.325-31.325 h1134.36c17.302,0,31.326,14.023,31.326,31.325C1419.047,1154.603,1405.022,1168.627,1387.721,1168.627z"}),(0,l.jsx)("path",{d:"M1712.124,145H244.786c-44.37,0-80.467,36.097-80.467,80.467v85.476h62.65v-85.476 c0-9.824,7.993-17.816,17.817-17.816h1467.338c9.828,0,17.821,7.993,17.821,17.816v968.17c0,9.824-7.993,17.813-17.821,17.813 h-108.769v62.65h108.769c44.374,0,80.472-36.098,80.472-80.463v-968.17C1792.596,181.097,1756.498,145,1712.124,145z"})]}),microphone:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M899.997,1430.906c196.13,0,355.689-159.568,355.689-355.707l0.005-725.97c0-2.024-0.197-4.004-0.57-5.922 C1245.143,154.168,1090.046,6.706,900.006,6.706c-190.005,0-345.088,147.425-355.124,336.513c-0.377,1.945-0.574,3.956-0.574,6.01 v725.97C544.308,1271.338,703.868,1430.906,899.997,1430.906z M607.108,896.711h117.567c17.343,0,31.4-14.058,31.4-31.4 s-14.058-31.4-31.4-31.4H607.108V681.478h117.567c17.343,0,31.4-14.058,31.4-31.4s-14.058-31.4-31.4-31.4H607.108V466.24h117.567 c17.343,0,31.4-14.058,31.4-31.4c0-17.343-14.058-31.4-31.4-31.4H607.108v-49.663c0.158-1.082,0.259-2.178,0.302-3.29 C612.3,228.398,690.59,126.857,798.984,87.303v125.965c0,17.343,14.058,31.4,31.4,31.4s31.4-14.058,31.4-31.4V72.036 c12.516-1.616,25.259-2.53,38.221-2.53c11.552,0,22.924,0.738,34.125,2.026v141.735c0,17.343,14.058,31.4,31.4,31.4 s31.4-14.058,31.4-31.4V85.822c110.51,38.464,190.711,141.043,195.656,264.665c0.044,1.1,0.145,2.19,0.303,3.259v49.694H1075.31 c-17.343,0-31.4,14.057-31.4,31.4c0,17.343,14.058,31.4,31.4,31.4h117.581v152.437H1075.31c-17.343,0-31.4,14.058-31.4,31.4 s14.058,31.4,31.4,31.4h117.581l-0.005,152.433H1075.31c-17.343,0-31.4,14.058-31.4,31.4s14.058,31.4,31.4,31.4h117.576v178.488 c0,161.51-131.388,292.906-292.889,292.906c-161.5,0-292.889-131.396-292.889-292.906V896.711z"}),(0,l.jsx)("path",{d:"M1509.412,676.055h-144.367c-17.343,0-31.4,14.057-31.4,31.4v368.188 c0,237.368-191.71,430.769-428.426,433.576c-1.699-0.285-3.438-0.469-5.217-0.469c-1.778,0-3.518,0.184-5.217,0.469 c-236.716-2.808-428.43-196.208-428.43-433.576V707.455c0-17.343-14.058-31.4-31.4-31.4H290.586c-17.343,0-31.4,14.057-31.4,31.4 c0,17.343,14.057,31.4,31.4,31.4h112.968v336.788c0,263.191,205.881,479.161,465.048,495.422v159.429H622.835 c-17.343,0-31.4,14.058-31.4,31.4s14.058,31.4,31.4,31.4h554.333c17.343,0,31.4-14.058,31.4-31.4s-14.058-31.4-31.4-31.4H931.402 v-159.429c259.166-16.261,465.043-232.23,465.043-495.422V738.855h112.967c17.344,0,31.4-14.057,31.4-31.4 C1540.813,690.112,1526.756,676.055,1509.412,676.055z"})]}),mobile:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1346.861,3.943h-893.72c-45.89,0-83.232,37.339-83.232,83.229v1625.653 c0,45.891,37.342,83.23,83.232,83.23h893.72c45.891,0,83.229-37.34,83.229-83.23V87.173 C1430.091,41.283,1392.752,3.943,1346.861,3.943z M453.141,66.61h893.72c11.34,0,20.563,9.223,20.563,20.563v172.719H432.578 V87.173C432.578,75.833,441.801,66.61,453.141,66.61z M1367.424,291.234v1169.788H432.578V291.234H1367.424z M1346.861,1733.39 h-893.72c-11.34,0-20.563-9.224-20.563-20.563v-220.47h934.846v220.47C1367.424,1724.166,1358.201,1733.39,1346.861,1733.39z"}),(0,l.jsx)("path",{d:"M949.946,143.519h-43.739h-12.412h-43.74c-8.655,0-15.667,7.012-15.667,15.667 c0,8.646,7.012,15.667,15.667,15.667h43.74h12.412h43.739c8.655,0,15.667-7.021,15.667-15.667 C965.613,150.531,958.602,143.519,949.946,143.519z"}),(0,l.jsx)("path",{d:"M900.002,1538.701c-39.779,0-72.144,32.355-72.144,72.135c0,39.778,32.365,72.145,72.144,72.145 c39.777,0,72.142-32.366,72.142-72.145C972.144,1571.057,939.779,1538.701,900.002,1538.701z M900.002,1651.646 c-22.503,0-40.81-18.307-40.81-40.811c0-22.495,18.307-40.802,40.81-40.802c22.501,0,40.809,18.307,40.809,40.802 C940.811,1633.34,922.503,1651.646,900.002,1651.646z"})]}),mouse:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M951.669,1792.279c-143.699,0-278.138-75.66-378.553-213.039 c-98.267-134.439-152.384-312.672-152.384-501.869c0-189.193,54.117-367.426,152.384-501.865 c100.415-137.379,234.854-213.04,378.553-213.04c143.701,0,278.14,75.66,378.56,213.04 c98.262,134.438,152.381,312.669,152.381,501.865c0,189.197-54.119,367.43-152.381,501.869 C1229.809,1716.619,1095.37,1792.279,951.669,1792.279z M951.669,424.84c-258.368,0-468.563,292.723-468.563,652.531 c0,359.808,210.196,652.535,468.563,652.535c258.37,0,468.568-292.728,468.568-652.535 C1420.237,717.563,1210.039,424.84,951.669,424.84z"}),(0,l.jsx)("path",{d:"M965.035,953.709h-26.731c-46.675,0-84.648-37.973-84.648-84.648v-166.33 c0-46.675,37.974-84.648,84.648-84.648h26.731c46.675,0,84.647,37.974,84.647,84.648v166.33 C1049.683,915.736,1011.71,953.709,965.035,953.709z M938.304,680.455c-12.282,0-22.276,9.994-22.276,22.276v166.33 c0,12.282,9.994,22.276,22.276,22.276h26.731c12.281,0,22.275-9.994,22.275-22.276v-166.33c0-12.282-9.994-22.276-22.275-22.276 H938.304z"}),(0,l.jsx)("path",{d:"M951.669,424.84c-17.225,0-31.187-13.962-31.187-31.187c0-54.452-13.369-73.996-23.424-83.959 c-33.636-33.329-117.371-32.567-244.13-31.399c-25.544,0.235-51.957,0.477-80.594,0.477c-85.779,0-151.948-24.597-196.665-73.106 C310.528,135,317.424,40.372,317.748,36.377c1.401-17.166,16.48-29.949,33.616-28.552c17.129,1.396,29.892,16.38,28.561,33.499 c-0.092,1.349-4.468,72.523,42.009,122.504c32.437,34.882,83.041,52.57,150.401,52.57c28.352,0,54.617-0.242,80.019-0.474 c147.482-1.349,236.497-2.169,288.608,49.464c28.58,28.321,41.894,69.079,41.894,128.265 C982.855,410.878,968.894,424.84,951.669,424.84z"})]}),music:e=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:(0,l.jsx)("path",{d:"M1674.102,313.758V35.517c0-0.531-0.053-1.05-0.08-1.573c0.212-3.68-0.184-7.458-1.348-11.182 c-5.178-16.602-22.839-25.852-39.428-20.683L569.624,333.772c-1.089,0.334-2.151,0.72-3.184,1.16 c-0.084,0.035-0.154,0.079-0.238,0.114c-0.856,0.378-1.691,0.782-2.507,1.226c-0.439,0.242-0.853,0.518-1.279,0.777 c-0.435,0.263-0.878,0.519-1.295,0.804c-0.527,0.356-1.023,0.751-1.529,1.138c-0.294,0.229-0.602,0.443-0.892,0.685 c-0.496,0.413-0.958,0.857-1.428,1.301c-0.272,0.254-0.553,0.496-0.816,0.76c-0.409,0.417-0.786,0.855-1.173,1.291 c-0.294,0.329-0.598,0.655-0.879,0.998c-0.302,0.377-0.583,0.773-0.869,1.164c-0.32,0.435-0.655,0.866-0.953,1.313 c-0.215,0.325-0.404,0.663-0.606,0.992c-0.329,0.544-0.663,1.085-0.962,1.647c-0.149,0.281-0.277,0.575-0.417,0.861 c-0.308,0.623-0.615,1.251-0.878,1.893c-0.124,0.299-0.22,0.602-0.329,0.901c-0.242,0.641-0.488,1.282-0.69,1.945 c-0.136,0.448-0.232,0.909-0.351,1.366c-0.132,0.519-0.281,1.028-0.386,1.555c-0.184,0.905-0.316,1.823-0.417,2.75 c-0.013,0.088-0.03,0.171-0.039,0.263c-0.114,1.125-0.171,2.258-0.163,3.4v281.451c0,0.119,0,0.242,0,0.365v748.525 c-44.338-48.791-108.277-79.475-179.244-79.475c-133.55,0-242.2,108.656-242.2,242.209c0,133.554,108.65,242.203,242.2,242.203 c133.553,0,242.208-108.649,242.208-242.203V668.854l1000.829-312.107v709.3c-44.338-48.791-108.273-79.465-179.24-79.465 c-133.553,0-242.203,108.646-242.203,242.199c0,133.557,108.65,242.213,242.203,242.213c133.555,0,242.205-108.656,242.205-242.213 V314.122C1674.102,313.999,1674.102,313.88,1674.102,313.758z M368.1,1736.388c-98.83,0-179.235-80.405-179.235-179.239 c0-98.835,80.405-179.244,179.235-179.244c98.833,0,179.244,80.409,179.244,179.244 C547.344,1655.982,466.934,1736.388,368.1,1736.388z M1431.896,1408.029c-98.832,0-179.239-80.41-179.239-179.248 c0-98.835,80.407-179.239,179.239-179.239c98.834,0,179.24,80.404,179.24,179.239 C1611.137,1327.619,1530.73,1408.029,1431.896,1408.029z M610.308,602.899v-215.86L1611.137,74.931v215.861L610.308,602.899z"})}),notification:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M942.432,362.391c28.336,0,78.253,16.538,120.884,52.848c33.173,28.25,72.71,77.44,72.71,151.333 c0,17.307,14.031,31.336,31.336,31.336c17.312,0,31.336-14.029,31.336-31.336c0-175.203-166.831-266.854-256.266-266.854 c-17.304,0-31.336,14.028-31.336,31.336C911.096,348.362,925.128,362.391,942.432,362.391z"}),(0,l.jsx)("path",{d:"M1555.292,1240.33c-11.603-18.885-24.035-39.138-36.538-60.862c-1.408-5.24-4.108-9.945-7.79-13.722 c-49.513-88.479-97.741-200.637-97.741-344.862c0-339.747-187.438-622.592-438.45-681.168 c7.458-12.796,11.813-27.633,11.813-43.511c0-47.816-38.768-86.576-86.583-86.576c-47.813,0-86.581,38.759-86.581,86.576 c0,15.878,4.35,30.715,11.813,43.511c-251.011,58.576-438.455,341.421-438.455,681.168c0,188.204-82.117,321.858-142.074,419.446 c-47.275,76.945-81.431,132.54-53.413,182.688c34.706,62.133,150.24,84.154,527.356,89.08 c-11.577,25.247-18.085,53.287-18.085,82.834c0,109.974,89.466,199.439,199.438,199.439c109.971,0,199.432-89.466,199.432-199.439 c0-29.547-6.505-57.587-18.09-82.834c377.126-4.926,492.65-26.947,527.361-89.08 C1636.728,1372.87,1602.566,1317.275,1555.292,1240.33z M900.002,1731.698c-75.415,0-136.767-61.352-136.767-136.767 c0-30.793,10.234-59.236,27.477-82.121c34.47,0.25,70.82,0.385,109.26,0.424c0.021,0,0.039,0,0.061,0 c38.438-0.039,74.783-0.174,109.26-0.424c17.231,22.885,27.471,51.328,27.471,82.121 C1036.763,1670.347,975.412,1731.698,900.002,1731.698z M1553.997,1392.455c-5.909,10.575-33.067,30.156-148.601,42.466 c-80.962,8.635-194.844,13.343-368.712,14.981c-41.952,0.395-87.355,0.612-136.683,0.66c-49.33-0.048-94.734-0.266-136.688-0.66 c-173.864-1.639-287.75-6.347-368.713-14.981c-115.524-12.31-142.686-31.891-148.596-42.466 c-10.098-18.081,20.114-67.255,52.102-119.314c10.208-16.613,21.303-34.704,32.686-54.227h131.308 c17.307,0,31.335-14.029,31.335-31.336c0-17.309-14.029-31.337-31.335-31.337H365.03c44.478-87.962,84.421-199.001,84.421-335.357 c0-165.03,47.721-321.097,134.371-439.463c84.238-115.071,196.471-182.333,316.179-189.546 c119.712,7.213,231.939,74.476,316.182,189.546c86.646,118.366,134.367,274.434,134.367,439.463 c0,136.356,39.939,247.396,84.424,335.357H598.516c-17.308,0-31.336,14.028-31.336,31.337c0,17.307,14.028,31.336,31.336,31.336 h870.699c11.375,19.522,22.479,37.609,32.683,54.221C1533.88,1325.2,1564.098,1374.374,1553.997,1392.455z"})]}),offer:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1799.344,899.996c0-88.462-95.547-165.006-276.3-221.355c-16.881-5.265-34.349-10.276-52.301-15.054 c9.318-16.072,18.118-31.96,26.339-47.619c87.966-167.659,101.403-289.341,38.854-351.9c-25.566-25.557-61.558-38.52-106.981-38.52 c-75.811,0-177.951,37.532-292.485,103.924c-4.795-18.03-9.827-35.569-15.106-52.516C1065.015,96.198,988.466,0.657,900.001,0.657 c-88.462,0-165.011,95.541-221.36,276.299c-5.283,16.946-10.315,34.485-15.11,52.516 c-114.534-66.392-216.675-103.924-292.49-103.924c-45.424,0-81.41,12.958-106.972,38.52c-62.554,62.554-49.121,184.241,38.85,351.9 c8.216,15.659,17.021,31.547,26.334,47.619c-17.951,4.778-35.416,9.789-52.296,15.054C96.204,734.99,0.658,811.534,0.658,899.996 c0,88.469,95.546,165.01,276.299,221.366c16.88,5.262,34.345,10.268,52.296,15.055c-9.313,16.071-18.118,31.959-26.334,47.618 c-87.971,167.659-101.404,289.342-38.85,351.892c25.562,25.565,61.552,38.528,106.972,38.528 c75.815,0,177.957-37.536,292.49-103.924c4.799,18.022,9.827,35.561,15.11,52.512c56.349,180.753,132.893,276.3,221.36,276.3 c88.464,0,165.013-95.547,221.362-276.3c5.279-16.951,10.312-34.481,15.106-52.512c114.534,66.388,216.666,103.915,292.485,103.915 c45.424,0,81.415-12.963,106.973-38.52c62.558-62.55,49.12-184.232-38.846-351.892c-8.221-15.659-17.021-31.547-26.339-47.618 c17.952-4.787,35.42-9.793,52.301-15.055C1703.797,1065.006,1799.344,988.465,1799.344,899.996z M1481.194,1068.176 c-14.5,4.198-29.396,8.229-44.659,12.076c-9.125,2.301-18.355,4.549-27.736,6.718c-12.313,2.854-24.854,5.587-37.589,8.212 c7.123,10.83,14.043,21.605,20.719,32.303c5.12,8.194,10.073,16.345,14.912,24.45c8.046,13.455,15.686,26.77,22.949,39.935 c3.952,7.175,7.825,14.325,11.549,21.411c70.717,134.796,89.442,238.764,50.078,278.128c-13.322,13.331-34.34,20.085-62.462,20.085 c-60.529,0-143.164-29.456-237.269-81.607c-13.052-7.229-26.313-14.896-39.769-22.976c-8.071-4.848-16.213-9.854-24.415-14.991 c-10.662-6.692-21.438-13.622-32.302-20.806c-2.635,12.769-5.376,25.346-8.23,37.685c-2.15,9.301-4.382,18.444-6.666,27.499 c-3.864,15.343-7.912,30.317-12.128,44.896c-2.267,7.808-4.559,15.536-6.921,23.107 c-45.301,145.325-105.584,232.088-161.254,232.088c-55.673,0-115.957-86.763-161.256-232.088c-2.362-7.571-4.655-15.3-6.917-23.107 c-4.22-14.579-8.269-29.554-12.137-44.905c-2.279-9.046-4.506-18.189-6.661-27.49c-2.854-12.339-5.595-24.916-8.229-37.685 c-10.869,7.175-21.641,14.113-32.311,20.806c-8.199,5.137-16.336,10.144-24.407,14.991c-13.455,8.08-26.721,15.747-39.767,22.976 c-94.105,52.151-176.745,81.617-237.274,81.617c-28.118,0-49.13-6.764-62.453-20.087c-39.368-39.363-20.648-143.34,50.078-278.136 c3.715-7.086,7.593-14.236,11.549-21.411c7.254-13.165,14.904-26.479,22.94-39.935c4.843-8.105,9.797-16.256,14.912-24.45 c6.675-10.697,13.596-21.473,20.723-32.303c-12.735-2.625-25.276-5.357-37.59-8.212c-9.384-2.169-18.61-4.417-27.735-6.718 c-15.269-3.847-30.16-7.878-44.659-12.076c-7.808-2.267-15.537-4.559-23.111-6.921C150.37,1015.954,63.611,955.671,63.611,899.996 c0-55.673,86.758-115.952,232.084-161.257c7.575-2.362,15.304-4.655,23.111-6.916c14.504-4.203,29.39-8.225,44.659-12.076 c9.121-2.297,18.351-4.545,27.735-6.719c12.313-2.851,24.855-5.582,37.585-8.212c-7.127-10.833-14.043-21.601-20.719-32.297 c-5.115-8.199-10.069-16.345-14.917-24.451c-8.036-13.455-15.682-26.77-22.94-39.935c-3.952-7.18-7.834-14.329-11.549-21.412 c-70.722-134.795-89.446-238.772-50.074-278.144c13.323-13.323,34.335-20.077,62.453-20.077c60.529,0,143.165,29.457,237.27,81.612 c13.046,7.228,26.313,14.899,39.771,22.979c8.071,4.848,16.205,9.845,24.407,14.992c10.666,6.692,21.438,13.622,32.311,20.806 c2.635-12.769,5.375-25.346,8.229-37.694c2.155-9.297,4.382-18.443,6.661-27.485c3.869-15.352,7.913-30.326,12.137-44.905 c2.262-7.808,4.555-15.541,6.917-23.111C784.045,150.369,844.329,63.61,900.001,63.61c55.67,0,115.954,86.758,161.254,232.084 c2.362,7.57,4.654,15.308,6.921,23.115c4.225,14.579,8.264,29.545,12.138,44.897c2.274,9.046,4.506,18.197,6.656,27.493 c2.854,12.344,5.596,24.921,8.23,37.686c10.873-7.179,21.64-14.109,32.311-20.801c8.203-5.146,16.335-10.144,24.406-14.992 c13.455-8.08,26.727-15.751,39.769-22.979c94.104-52.151,176.739-81.612,237.269-81.612c28.122,0,49.14,6.758,62.462,20.086 c39.364,39.363,20.639,143.34-50.078,278.135c-3.724,7.079-7.597,14.228-11.549,21.408c-7.264,13.165-14.903,26.483-22.949,39.938 c-4.839,8.106-9.792,16.248-14.912,24.451c-6.676,10.693-13.587,21.465-20.719,32.297c12.735,2.63,25.276,5.362,37.589,8.212 c9.381,2.173,18.611,4.421,27.736,6.719c15.264,3.851,30.159,7.877,44.659,12.076c7.808,2.261,15.536,4.554,23.107,6.916 c145.325,45.305,232.088,105.584,232.088,161.257c0,55.675-86.763,115.958-232.088,161.259 C1496.73,1063.617,1489.002,1065.909,1481.194,1068.176z"}),(0,l.jsx)("path",{d:"M704.532,852.061c82.828,0,150.217-67.388,150.217-150.217c0-82.828-67.389-150.217-150.221-150.217 c-82.828,0-150.217,67.384-150.217,150.212C554.311,784.672,621.7,852.061,704.532,852.061z M704.528,614.58 c48.12,0,87.268,39.148,87.268,87.264s-39.148,87.264-87.264,87.264c-48.12,0-87.268-39.148-87.268-87.268 C617.264,653.725,656.413,614.58,704.528,614.58z"}),(0,l.jsx)("path",{d:"M1101.972,949.058c-82.837,0-150.226,67.389-150.226,150.227c0,82.828,67.389,150.207,150.226,150.207 c82.829,0,150.208-67.379,150.208-150.207C1252.18,1016.446,1184.801,949.058,1101.972,949.058z M1101.972,1186.538 c-48.119,0-87.271-39.144-87.271-87.254c0-48.129,39.152-87.273,87.271-87.273c48.11,0,87.255,39.145,87.255,87.273 C1189.227,1147.395,1150.082,1186.538,1101.972,1186.538z"}),(0,l.jsx)("path",{d:"M1198.448,561.357l-634.397,634.403c-12.291,12.295-12.291,32.223,0,44.519 c6.147,6.138,14.206,9.212,22.26,9.212c8.053,0,16.111-3.074,22.259-9.212l634.397-634.402c12.287-12.295,12.287-32.224,0-44.52 C1230.672,549.071,1210.744,549.071,1198.448,561.357z"})]}),page:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1720.335,5.563H85.245c-43.937,0-79.679,35.739-79.679,79.667v1635.1c0,43.928,35.743,79.67,79.679,79.67 h1635.09c43.927,0,79.665-35.742,79.665-79.67V85.23C1800,41.302,1764.262,5.563,1720.335,5.563z M85.245,68.575h1635.09 c9.182,0,16.653,7.473,16.653,16.655v195.532H68.578V85.23C68.578,76.048,76.055,68.575,85.245,68.575z M1720.335,1736.988H85.245 c-9.19,0-16.667-7.472-16.667-16.658V343.774h1668.41V1720.33C1736.988,1729.517,1729.517,1736.988,1720.335,1736.988z"}),(0,l.jsx)("path",{d:"M1518.679,1150.928H333.948c-47.154,0-85.517,38.363-85.517,85.517v315.061 c0,47.152,38.363,85.516,85.517,85.516h1184.73c47.154,0,85.518-38.363,85.518-85.516v-315.061 C1604.196,1189.291,1565.833,1150.928,1518.679,1150.928z M1541.184,1551.505c0,12.403-10.096,22.504-22.505,22.504H333.948 c-12.409,0-22.504-10.101-22.504-22.504v-315.061c0-12.412,10.096-22.505,22.504-22.505h1184.73 c12.409,0,22.505,10.093,22.505,22.505V1551.505z"}),(0,l.jsx)("path",{d:"M333.948,913.886h305.565c47.153,0,85.517-38.365,85.517-85.519V522.802 c0-47.154-38.363-85.516-85.517-85.516H333.948c-47.154,0-85.517,38.362-85.517,85.516v305.565 C248.432,875.521,286.794,913.886,333.948,913.886z M311.444,522.802c0-12.408,10.096-22.504,22.504-22.504h305.565 c12.408,0,22.505,10.096,22.505,22.504v305.565c0,12.408-10.097,22.505-22.505,22.505H333.948 c-12.409,0-22.504-10.097-22.504-22.505V522.802z"}),(0,l.jsx)("path",{d:"M1572.689,996.396H279.938c-17.401,0-31.506,14.108-31.506,31.505c0,17.406,14.105,31.507,31.506,31.507 h1292.751c17.401,0,31.507-14.101,31.507-31.507C1604.196,1010.505,1590.091,996.396,1572.689,996.396z"}),(0,l.jsx)("path",{d:"M1572.689,832.116H858.558c-17.402,0-31.507,14.105-31.507,31.507c0,17.401,14.105,31.505,31.507,31.505 h714.132c17.401,0,31.507-14.104,31.507-31.505C1604.196,846.222,1590.091,832.116,1572.689,832.116z"}),(0,l.jsx)("path",{d:"M1572.689,643.081H858.558c-17.402,0-31.507,14.105-31.507,31.506c0,17.401,14.105,31.505,31.507,31.505 h714.132c17.401,0,31.507-14.104,31.507-31.505C1604.196,657.186,1590.091,643.081,1572.689,643.081z"}),(0,l.jsx)("path",{d:"M1572.689,454.044H858.558c-17.402,0-31.507,14.105-31.507,31.507c0,17.401,14.105,31.505,31.507,31.505 h714.132c17.401,0,31.507-14.104,31.507-31.505C1604.196,468.15,1590.091,454.044,1572.689,454.044z"}),(0,l.jsx)("circle",{cx:"204.913",cy:"171.616",r:"50.635"}),(0,l.jsx)("circle",{cx:"364.694",cy:"171.616",r:"50.635"}),(0,l.jsx)("circle",{cx:"524.474",cy:"171.616",r:"50.635"})]}),paperclip:e=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:(0,l.jsx)("path",{d:"M716.321,1752.834c-8.333,0-16.325-3.314-22.221-9.206l-466.26-466.276 c-12.274-12.271-12.274-32.169,0-44.439l952.941-952.92c5.892-5.895,13.884-9.204,22.217-9.204h314.732 c17.355,0,31.422,14.067,31.422,31.423V646.08c0,8.333-3.308,16.328-9.201,22.219L811.41,1396.841 c-12.274,12.271-32.168,12.271-44.443,0c-12.27-12.271-12.27-32.168,0-44.438l719.34-719.338v-299.43h-270.294L294.496,1255.13 l421.825,421.837L1731.096,662.206V110.013h-646.917c-47.596,45.638-273.575,262.253-499.232,477.519 C70.333,1078.448,59.475,1083.884,51.54,1087.847c-15.519,7.76-34.396,1.474-42.159-14.046 c-7.272-14.545-2.205-32.045,11.24-40.575c38.95-30.131,635.69-599.891,1029.176-977.313c5.853-5.611,13.646-8.746,21.752-8.746 h690.97c17.352,0,31.424,14.068,31.424,31.424v596.634c0,8.33-3.314,16.325-9.206,22.217L738.539,1743.628 C732.646,1749.52,724.655,1752.834,716.321,1752.834z"})}),pen:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1741.402,786.797h-35.999c-32.197-298.013-226.637-548.089-492.951-659.834h305.92v31.245 c0,17.376,14.079,31.46,31.461,31.46h125.409c17.381,0,31.459-14.084,31.459-31.46V32.798c0-17.375-14.078-31.46-31.459-31.46 h-125.409c-17.382,0-31.461,14.084-31.461,31.46v31.245H994.163V32.798c0-17.375-14.079-31.46-31.46-31.46H837.287 c-17.376,0-31.46,14.084-31.46,31.46v31.245H281.618V32.798c0-17.375-14.084-31.46-31.46-31.46H124.751 c-17.375,0-31.459,14.084-31.459,31.46v125.41c0,17.376,14.084,31.46,31.459,31.46h125.406c17.375,0,31.46-14.084,31.46-31.46 v-31.245H587.55C321.228,238.708,126.792,488.785,94.596,786.797H58.597c-17.376,0-31.46,14.084-31.46,31.46v125.409 c0,17.375,14.083,31.459,31.46,31.459h125.418c17.376,0,31.46-14.084,31.46-31.459V818.257c0-17.375-14.083-31.46-31.46-31.46 h-26.088c39.887-339.954,308.838-610.875,647.899-653.703v25.114c0,17.376,14.084,31.46,31.46,31.46h125.417 c17.381,0,31.46-14.084,31.46-31.46v-25.116c339.064,42.821,608.012,313.747,647.908,653.706h-26.08 c-17.38,0-31.46,14.084-31.46,31.46v125.409c0,17.375,14.08,31.459,31.46,31.459h125.411c17.38,0,31.46-14.084,31.46-31.459 V818.257C1772.862,800.882,1758.782,786.797,1741.402,786.797z M1643.782,126.748h-62.49V95.503V64.258h62.49V126.748z M156.212,64.258h62.485v62.49h-62.485V64.258z M152.556,877.923v34.282H90.057V877.98v-20.505 c0.052-2.589,0.119-5.174,0.193-7.758h62.306V877.923z M900.005,64.258c10.461,0,20.871,0.266,31.237,0.661v61.829h-62.496V64.918 C879.122,64.524,889.533,64.258,900.005,64.258z M1709.941,857.82v20.132v34.253h-62.489V877.98v-28.263h62.287 C1709.828,852.415,1709.889,855.116,1709.941,857.82z"}),(0,l.jsx)("path",{d:"M928.829,250.905c-5.003-11.464-16.327-18.875-28.833-18.875c-12.509,0-23.828,7.411-28.831,18.875 l-409.868,939.046c-3.283,7.523-3.497,16.025-0.601,23.701l0.487,1.291c3.335,8.838,10.468,15.707,19.421,18.713 c98.036,32.9,163.906,124.49,163.906,227.906c0,43.082-11.574,85.383-33.466,122.33c-0.68,1.145-1.259,2.33-1.782,3.541 c-3.559,5.096-5.662,11.285-5.662,17.973v159.314c0,17.285,13.948,31.338,31.231,31.463l529.877,3.816c0.079,0,0.159,0,0.238,0 c17.266,0,31.328-13.939,31.45-31.23c0.122-17.377-13.859-31.566-31.23-31.689l-498.646-3.59v-79.055h486.778 c13.14,0,24.902-8.168,29.484-20.479l8.585-23.059c3.318-8.91,2.432-18.84-2.423-27.02c-21.884-36.934-33.452-79.23-33.452-122.316 c0-103.416,65.86-195.006,163.901-227.906c8.979-3.018,16.125-9.924,19.452-18.801l0.482-1.291 c2.861-7.654,2.634-16.121-0.632-23.613L928.829,250.905z M899.996,1126.566c34.811,0,63.138,28.318,63.138,63.123 c0,34.809-28.327,63.125-63.138,63.125c-34.809,0-63.126-28.316-63.126-63.125C836.87,1154.885,865.187,1126.566,899.996,1126.566z M1092.571,1461.563c0,45.088,10.052,89.504,29.241,129.953H678.187c19.198-40.457,29.244-84.869,29.244-129.953 c0-119.287-69.455-226.105-175.883-275.271l336.988-772.079v653.407c-54.331,14.008-94.586,63.43-94.586,122.07 c0,69.504,56.543,126.045,126.047,126.045c69.51,0,126.058-56.541,126.058-126.045c0-58.646-40.265-108.063-94.601-122.07V414.214 l336.994,772.077C1162.023,1235.467,1092.571,1342.275,1092.571,1461.563z"})]}),phone:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1767.747,1435.832c-8.327-8.648-16.937-17.587-27.429-25.664 c-103.501-79.709-216.736-152.819-346.173-223.501c-20.847-11.386-37.313-20.372-55.837-20.372 c-24.734,0-41.76,15.473-63.32,35.063c-23.946,21.767-47.108,43.659-69.258,65.44c-12.17,11.963-24.041,23.89-35.543,35.738 c-2.982,3.074-6.067,5.62-9.285,7.808c-11.248,7.644-24.399,10.098-42.976,8.472c-48.55-4.284-97.64-18.685-150.077-44.016 c-90.392-43.678-173.444-109.723-253.898-201.906C614.263,958.662,545.58,840.776,503.974,712.499l-3.809-11.659 c-5.327-16.218-11.359-34.603-10.182-38.525c0.732-2.462,4.585-7.013,10.156-12.735c6.298-6.481,14.801-14.471,23.58-22.712 l3.199-2.999c6.12-5.753,12.417-11.45,18.768-17.112c14.514-12.941,29.429-25.659,44.021-38.067 c15.198-12.918,30.911-26.278,46.175-39.916c36.324-32.467,44.016-51.174,17.996-97.932 c-50.232-90.262-107.172-192.566-167.25-292.054c-17.626-29.176-39.149-55.296-59.957-80.559 c-8.996-10.923-18.302-22.216-26.94-33.365c-5.914-7.636-15.033-12.104-24.695-12.104h-10.034c-7.396,0-14.548,2.624-20.193,7.401 c-98.015,83.013-177.31,183.569-253.999,280.813L76.278,319.39c-14.47,18.318-27.646,37.487-40.386,56.02 c-5.758,8.373-11.515,16.75-17.382,25.036c-3.74,5.278-5.749,11.589-5.749,18.058v26.748c0,2.158,0.223,4.307,0.667,6.417 c2.262,10.778,4.376,21.596,6.495,32.414c4.698,24.042,9.563,48.903,16.065,73.441c34.742,131.062,92.31,257.189,175.989,385.601 c178.238,273.49,402.429,500.615,666.353,675.062c121.573,80.354,239.724,131.476,361.202,156.279 c17.064,3.487,34.209,6.167,50.79,8.757c7.509,1.172,15.019,2.349,22.516,3.596c1.695,0.284,3.413,0.423,5.13,0.423h63.53 c5.287,0,10.491-1.342,15.12-3.901c127.227-70.352,238.143-158.521,329.863-235.488c13.378-11.224,25.184-23.466,36.6-35.303 c4.938-5.117,9.877-10.238,14.915-15.237c5.914-5.867,9.244-13.852,9.244-22.187v-6.685c0-8.421-3.399-16.489-9.432-22.369 C1774.39,1442.736,1771.068,1439.283,1767.747,1435.832z M366.832,83.813c3.892,4.772,7.78,9.493,11.611,14.148 c20.28,24.612,39.431,47.866,54.7,73.132c59.503,98.534,116.155,200.328,166.135,290.131c2.549,4.585,4.494,8.242,5.818,10.961 c-3.278,3.226-7.911,7.361-10.857,9.994c-14.684,13.128-30.1,26.23-45.006,38.904c-15.778,13.416-31.944,27.176-47.81,41.407 l-300.029-300.03C252.538,199.507,306.375,137.786,366.832,83.813z M1373.382,1724.754h-52.847 c-6.854-1.123-13.708-2.196-20.568-3.268c-16.603-2.594-32.289-5.047-47.932-8.242c-113.5-23.176-224.475-71.322-339.252-147.188 c-256.744-169.703-474.92-390.765-648.46-657.046C184.335,786.255,129.4,666.046,96.384,541.518 c-5.971-22.547-10.426-45.32-15.141-69.432c-1.961-10.028-3.927-20.058-5.998-30.06v-13.647c4.071-5.84,8.103-11.707,12.138-17.574 c12.719-18.506,24.74-35.988,37.928-52.682l14.563-18.455c7.375-9.353,14.784-18.741,22.224-28.134l293.867,293.866 c-13.333,13.698-21.64,24.939-25.846,39.004c-6.791,22.7-0.214,42.731,10.674,75.917l3.748,11.454 c44.257,136.467,116.984,261.484,222.334,382.201c86.104,98.661,175.663,169.671,273.792,217.084 c59.367,28.683,115.554,45.036,171.779,49.997c5.417,0.478,10.709,0.718,15.725,0.718c0.005,0,0.005,0,0.005,0 c30.471,0,55.886-8.813,77.315-26.844l291.775,291.773C1457.921,1674.061,1416.589,1700.514,1373.382,1724.754z M1686.313,1499.989 c-41.934,35.194-87.985,72.757-137.669,109.723l-298.73-298.731c21.453-21.078,43.89-42.285,67.095-63.382 c6.604-6.001,17.274-15.694,22.111-18.533c5.235,1.604,17.492,8.299,25.084,12.44c126.542,69.104,237.096,140.467,337.992,218.171 c4.476,3.443,8.878,7.602,13.372,12.126C1705.725,1481.992,1696.311,1491.6,1686.313,1499.989z"}),(0,l.jsx)("path",{d:"M1659.155,901.129c-66.448,0-120.505-54.059-120.505-120.505c0-258.807-210.553-469.359-469.359-469.359 c-66.447,0-120.505-54.059-120.505-120.505c0-66.446,54.058-120.505,120.505-120.505c391.698,0,710.369,318.671,710.369,710.37 C1779.66,847.07,1725.6,901.129,1659.155,901.129z M1069.291,132.739c-31.992,0-58.021,26.028-58.021,58.021 c0,31.992,26.029,58.021,58.021,58.021c293.259,0,531.843,238.582,531.843,531.843c0,31.992,26.029,58.021,58.021,58.021 c31.991,0,58.021-26.029,58.021-58.021C1717.176,423.379,1426.534,132.739,1069.291,132.739z"}),(0,l.jsx)("path",{d:"M1348.582,982.494c-50.059,0-90.779-40.722-90.779-90.78c0-166.88-135.77-302.649-302.649-302.649 c-50.058,0-90.78-40.722-90.78-90.78c0-50.058,40.723-90.78,90.78-90.78c266.991,0,484.208,217.217,484.208,484.208 C1439.361,941.772,1398.64,982.494,1348.582,982.494z M955.153,469.99c-15.604,0-28.296,12.692-28.296,28.296 c0,15.604,12.692,28.295,28.296,28.295c201.334,0,365.133,163.799,365.133,365.133c0,15.604,12.692,28.295,28.296,28.295 s28.295-12.691,28.295-28.295C1376.877,659.173,1187.695,469.99,955.153,469.99z"})]}),picture:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1715.855,4.642H84.157c-43.845,0-79.514,35.665-79.514,79.501v1631.71 c0,43.836,35.669,79.505,79.514,79.505h1631.698c43.837,0,79.502-35.669,79.502-79.505V84.143 C1795.357,40.307,1759.692,4.642,1715.855,4.642z M1715.855,1732.477H84.157c-9.172,0-16.633-7.457-16.633-16.624v-197.206 l588.122-588.126l571.393,571.401c6.141,6.136,14.186,9.207,22.234,9.207c8.044,0,16.093-3.071,22.233-9.207 c12.276-12.281,12.276-32.187,0-44.468L677.878,863.827c-6.139-6.141-14.185-9.209-22.231-9.207 c-8.047-0.002-16.093,3.068-22.231,9.207L67.524,1429.715V84.143c0-9.163,7.461-16.619,16.633-16.619h1631.698 c9.164,0,16.62,7.456,16.62,16.619v1332.726l-553.04-553.041c-2.303-2.303-4.873-4.171-7.611-5.612 c-11.859-6.237-26.879-4.364-36.857,5.612l-123.512,123.521c-12.277,12.277-12.277,32.182,0.004,44.464 c6.137,6.136,14.186,9.206,22.229,9.206s16.093-3.07,22.233-9.211l101.279-101.283l571.393,571.397 c1.219,1.215,2.531,2.28,3.882,3.255v210.676C1732.476,1725.02,1725.02,1732.477,1715.855,1732.477z"}),(0,l.jsx)("path",{d:"M1088.885,560.165c0-97.651-79.443-177.1-177.095-177.1c-97.651,0-177.095,79.448-177.095,177.1 S814.139,737.26,911.79,737.26C1009.441,737.26,1088.885,657.816,1088.885,560.165z M911.79,674.379 c-62.978,0-114.213-51.236-114.213-114.214c0-62.982,51.236-114.218,114.213-114.218s114.214,51.235,114.214,114.218 C1026.004,623.143,974.768,674.379,911.79,674.379z"})]}),piggybank:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M389.053,664.285c-30.154,0-54.591,24.439-54.591,54.586c0,22.606,13.733,41.997,33.317,50.29 c6.537,2.769,13.729,4.301,21.273,4.301c28.696,0,52.168-22.153,54.368-50.288c0.113-1.425,0.218-2.85,0.218-4.303 C443.64,688.724,419.202,664.285,389.053,664.285z"}),(0,l.jsx)("path",{d:"M1784.638,612.476c-7.589-15.52-26.335-21.937-41.845-14.348c-15.513,7.593-21.94,26.326-14.344,41.844 c5.115,10.46,5.857,22.281,2.078,33.292c-3.775,11.01-11.617,19.892-22.081,25.013c-10.456,5.121-22.281,5.86-33.286,2.081 c-11.01-3.774-19.891-11.614-25.005-22.074c-1.384-2.824-3.138-5.337-5.171-7.528c-39.746-78.838-100.686-151.008-180.6-212.297 c-80.136-61.461-174.367-108.034-276.989-137.967c5.118-17.283,7.911-35.554,7.911-54.476c0-105.95-86.197-192.145-192.145-192.145 c-105.948,0-192.146,86.195-192.146,192.145c0,6.688,0.349,13.297,1.021,19.812c-32.27,3.014-64.099,7.53-95.344,13.521 c-116.002-90.762-248.975-143.138-369.332-143.138c-90.116,0-166.958,29.208-222.22,84.469c-12.214,12.217-12.214,32.021,0,44.235 l197.403,197.402c-70.858,60.392-124.577,129.99-159.247,205.276H35.549c-17.276,0-31.279,14.003-31.279,31.279v352.745 c0,17.276,14.003,31.279,31.279,31.279h127.749c39.331,85.403,103.151,163.506,188.72,229.133 c37.952,29.106,79.076,54.861,122.74,77.112v202.767c0,17.276,14.003,31.279,31.279,31.279h235.338 c17.276,0,31.279-14.003,31.279-31.279v-111.687c44.34,5.9,89.653,8.911,135.547,8.911c45.895,0,91.207-3.011,135.548-8.911 v111.687c0,17.276,14.003,31.279,31.279,31.279h235.338c17.276,0,31.279-14.003,31.279-31.279v-202.767 c43.664-22.251,84.788-48.006,122.739-77.112c151.375-116.094,234.74-271.212,234.74-436.782c0-44.354-6.039-87.947-17.708-130.25 c2.653,0.201,5.312,0.33,7.964,0.33c15.949,0,31.816-3.642,46.562-10.859c25.472-12.46,44.563-34.094,53.762-60.912 C1798.902,666.741,1797.105,637.945,1784.638,612.476z M873.575,266.017c0-71.454,58.134-129.586,129.587-129.586 c71.451,0,129.586,58.132,129.586,129.586c0,13.571-2.107,26.656-5.996,38.96c-6.916,21.897-19.506,41.294-36.031,56.472 c-23.08,21.192-53.832,34.155-87.559,34.155c-42.203,0-79.748-20.29-103.426-51.615c-13.375-17.701-22.294-38.933-25.144-62.024 C873.946,276.734,873.575,271.419,873.575,266.017z M1341.646,1338.048c-20.082,11.293-40.972,21.806-62.559,31.515v68.351v142.717 h-172.779v-90.814v-63.973c-20.497,4.39-41.372,8.09-62.559,11.118c-43.935,6.284-89.235,9.613-135.548,9.613 s-91.612-3.329-135.547-9.613c-21.186-3.028-42.063-6.729-62.559-11.118v63.973v90.814H537.316v-142.717v-68.351 c-21.587-9.709-42.477-20.222-62.559-31.515c-106.363-59.81-190.492-141.028-241.242-235.15 c-10.932-20.282-20.313-41.163-28.033-62.559h-66.154h-72.5V750.152h72.504h66.15c7.72-21.396,17.102-42.276,28.037-62.559 c32.078-59.496,77.479-113.835,133.431-160.87c15.902-13.369,32.641-26.152,50.183-38.292l-44.895-44.893L193.19,264.489 c40.884-30.012,93.538-45.719,154.172-45.719c92.887,0,195.104,35.962,289.278,99.542c21.792,14.714,43.158,30.901,63.876,48.477 c25.38-5.725,51.318-10.458,77.763-14.077c16.73-2.289,33.671-4.128,50.776-5.536c9.146,19.545,21.487,37.297,36.354,52.601 c-128.032,12.585-251.226,54.305-331.545,114.819c-13.798,10.395-16.556,30.007-6.162,43.806 c10.398,13.8,30.01,16.554,43.804,6.159c74.38-56.035,224.926-110.519,393.223-105.976 c130.494,3.53,313.018,43.535,441.491,214.062c6.148,8.163,15.518,12.461,25.004,12.461c6.555,0,13.166-2.053,18.8-6.299 c13.798-10.395,16.556-30.008,6.161-43.804c-82.227-109.14-197.932-183.846-334.365-218.031 c14.287-11.252,26.934-24.472,37.542-39.267c278.243,77.612,477.204,280.315,477.204,517.541 C1636.566,1076.444,1520.473,1237.489,1341.646,1338.048z"})]}),plane:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M386.031,992.783c-36.026-8.398-72.354-12.654-107.972-12.654c-140.65,0-250.633,66.393-273.68,165.215 c-1.902,8.152-0.486,16.732,3.936,23.842c4.422,7.112,11.486,12.173,19.642,14.076l297.505,69.352 c2.37,0.551,4.774,0.824,7.168,0.824c5.844,0,11.627-1.626,16.673-4.762c7.111-4.422,12.174-11.486,14.074-19.644l46.233-198.335 C413.567,1013.718,403.01,996.743,386.031,992.783z M309.05,1183.953l-231.384-53.941c30.558-52.924,106.292-86.74,200.393-86.74 c20.648,0,41.61,1.66,62.629,4.959L309.05,1183.953z"}),(0,l.jsx)("path",{d:"M769.296,1390.383l-198.337,46.234c-8.152,1.902-15.22,6.963-19.642,14.076 c-4.422,7.108-5.838,15.684-3.938,23.841l69.361,297.505c1.903,8.152,6.965,15.218,14.077,19.64 c5.045,3.136,10.826,4.761,16.67,4.761c2.396,0,4.801-0.272,7.17-0.823c63.591-14.834,114.127-64.375,142.315-139.501 c26.523-70.695,30.157-156.691,10.236-242.15C803.25,1396.986,786.289,1386.428,769.296,1390.383z M669.966,1722.238 l-53.923-231.293l135.68-31.629C769.719,1575.854,735.418,1683.973,669.966,1722.238z"}),(0,l.jsx)("path",{d:"M1749.964,50.705l-0.669-0.67C1717.513,19.196,1674.71,3.56,1622.073,3.56 c-141.686,0-344.219,115.18-542.012,300.716c-155.688-31.738-309.056-47.237-468.317-47.237 c-143.357,0-276.743,12.425-388.313,24.576c-13.887,1.516-25.129,11.972-27.64,25.713c-2.509,13.742,4.31,27.501,16.765,33.822 l575.578,292.233C677.958,774.113,589.367,902.18,528.54,1009.066c-96.224,169.086-117.785,276.479-65.928,328.311 c18.338,18.348,43.994,27.654,76.256,27.654c147.394,0,431.964-200.379,627.669-353.3l292.295,575.701 c5.453,10.733,16.42,17.278,28.145,17.278c1.876,0,3.779-0.167,5.682-0.516c13.742-2.506,24.198-13.75,25.713-27.637 c25.651-235.5,46.965-514.956-22.718-856.867c178.449-190.738,293.079-387.342,300.407-527.416 C1799.153,133.046,1783.649,85.412,1749.964,50.705z M825.871,581.728l-488.63-248.087c84.415-7.585,177.287-13.46,274.503-13.46 c140.48,0,276.26,12.367,413.262,37.684c-43.568,43.996-86.608,91.237-128.396,141.263c-13.574,16.305-26.884,32.478-39.965,48.533 L825.871,581.728z M1466.412,1462.885l-248.149-488.758l34.531-31.193c17.613-14.331,33.772-27.65,48.113-39.586 c49.902-41.688,97.145-84.785,141.197-128.521C1491.223,1040.145,1484.836,1261.03,1466.412,1462.885z M1733.003,188.981 c-6.84,130.833-127.706,327.336-309.389,514.582l-211.918,191.412c-309.505,252.092-564.693,406.916-672.828,406.916 c-14.9,0-25.53-3.08-31.608-9.162c-7.184-7.18-37.279-53.1,76.157-252.43c71.101-124.937,181.572-280.174,321.064-451.4 L1098.498,374.1c192.72-186.977,392.936-307.397,523.575-307.397c35.442,0,63.336,9.526,82.909,28.315 C1725.705,116.604,1735.13,148.214,1733.003,188.981z"})]}),play:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1407.629,872.813L693.082,460.273c-9.711-5.604-21.674-5.604-31.385,0 c-9.712,5.609-15.693,15.968-15.693,27.182v631.583c0,17.33,14.051,31.385,31.385,31.385s31.385-14.055,31.385-31.385V541.814 l620.392,358.18l-555.918,320.967c-15.014,8.669-20.154,27.864-11.489,42.874c5.815,10.07,16.363,15.692,27.213,15.692 c5.324,0,10.719-1.357,15.662-4.203l602.995-348.148c9.711-5.609,15.692-15.969,15.692-27.182 C1423.321,888.781,1417.34,878.421,1407.629,872.813z"}),(0,l.jsx)("path",{d:"M899.993,5.324c-493.322,0-894.67,401.352-894.67,894.679c0,493.322,401.348,894.674,894.67,894.674 c493.331,0,894.683-401.352,894.683-894.674C1794.676,406.676,1393.324,5.324,899.993,5.324z M899.993,1731.906 c-458.71,0-831.899-373.188-831.899-831.903S441.283,68.095,899.993,68.095c458.719,0,831.912,373.193,831.912,831.908 S1358.712,1731.906,899.993,1731.906z"})]}),pointer:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M3.589,44.981l722.935,1734.396c4.938,11.834,16.494,19.473,29.212,19.473c0.534,0,1.064-0.017,1.603-0.044 c13.345-0.671,24.826-9.645,28.703-22.431l230.227-760.125l760.101-230.213c12.784-3.871,21.767-15.354,22.437-28.699 c0.672-13.342-7.101-25.669-19.434-30.809L44.989,3.585C33.14-1.343,19.496,1.349,10.425,10.421 C1.355,19.491-1.342,33.14,3.589,44.981z M91.616,91.606L1673.59,751.021L981.705,960.576 c-10.126,3.063-18.048,10.994-21.116,21.115l-209.565,691.907L91.616,91.606z"}),(0,l.jsx)("path",{d:"M699.044,1270.004c-3.979,1.66-8.108,2.447-12.166,2.447c-12.396,0-24.165-7.33-29.229-19.483 L425.565,696.183c-6.721-16.138,0.905-34.669,17.041-41.397c16.14-6.723,34.669,0.905,41.395,17.039l232.085,556.785 C722.806,1244.746,715.18,1263.283,699.044,1270.004z"})]}),power:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M899.996,6.911C405.643,6.911,3.458,409.103,3.458,903.462C3.458,1397.811,405.643,1800,899.996,1800 c494.357,0,896.546-402.189,896.546-896.538C1796.542,409.103,1394.353,6.911,899.996,6.911z M899.996,1737.1 c-459.667,0-833.637-373.97-833.637-833.638c0-459.679,373.969-833.649,833.637-833.649c459.672,0,833.644,373.971,833.644,833.649 C1733.64,1363.13,1359.668,1737.1,899.996,1737.1z"}),(0,l.jsx)("path",{d:"M1073.088,393.764v66.982c176.77,69.347,302.257,241.646,302.257,442.716 c0,262.101-213.239,475.332-475.349,475.332c-262.101,0-475.336-213.231-475.336-475.332 c0-201.075,125.491-373.374,302.261-442.725v-66.973c-212.139,72.23-365.162,273.421-365.162,509.698 c0,296.781,241.452,538.234,538.238,538.234c296.79,0,538.251-241.453,538.251-538.234 C1438.247,667.194,1285.223,466.002,1073.088,393.764z"}),(0,l.jsx)("path",{d:"M900.004,880.287c17.371,0,31.45-14.084,31.45-31.451V286.086c0-17.371-14.079-31.451-31.45-31.451 c-17.37,0-31.45,14.08-31.45,31.451v562.749C868.554,866.202,882.634,880.287,900.004,880.287z"})]}),presentation:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1766.471,171.322c17.431,0,31.56-14.128,31.56-31.559V31.56c0-17.431-14.129-31.56-31.56-31.56H33.529 C16.099,0,1.97,14.128,1.97,31.56v108.203c0,17.431,14.129,31.559,31.56,31.559h109.048v924.236H33.529 c-17.431,0-31.56,14.128-31.56,31.559v108.204c0,17.431,14.129,31.559,31.56,31.559h786.238l-497.67,478.822 c-12.561,12.081-12.944,32.062-0.858,44.622c6.195,6.438,14.463,9.678,22.745,9.678c7.872,0,15.758-2.928,21.878-8.819 l472.548-454.654v431.914c0,17.431,14.129,31.56,31.56,31.56s31.559-14.129,31.559-31.56v-431.914l472.549,454.654 c6.124,5.892,14.005,8.819,21.877,8.819c8.281,0,16.551-3.24,22.745-9.678c12.085-12.561,11.702-32.541-0.858-44.622 l-497.671-478.822h846.302c17.431,0,31.56-14.128,31.56-31.559v-108.204c0-17.431-14.129-31.559-31.56-31.559h-109.049V171.322 H1766.471z M65.088,63.118h1669.824v45.085h-109.049H174.137H65.088V63.118z M1734.912,1203.761H65.088v-45.085h109.049h1451.727 h109.049V1203.761z M1594.304,1095.558H205.696V171.322h1388.607V1095.558z"}),(0,l.jsx)("path",{d:"M502.242,852.752c8.075,0,16.154-3.082,22.313-9.242l171.52-171.511l197.717,197.717 c6.164,6.159,14.243,9.241,22.317,9.241c8.075,0,16.154-3.082,22.318-9.241l269.904-269.905l0.005,181.012 c0,17.431,14.128,31.56,31.56,31.56c17.43,0,31.559-14.129,31.559-31.56l-0.009-260.289c0-8.73-3.544-16.634-9.276-22.344 c-5.711-5.728-13.613-9.277-22.344-9.277l-260.285-0.009c-17.426,0-31.56,14.129-31.56,31.56s14.129,31.559,31.56,31.559 l187.299,0.009l-250.73,250.731L718.394,605.046c-12.328-12.319-32.308-12.319-44.636,0c-0.014,0.013-0.026,0.031-0.04,0.044 L479.929,798.875c-12.328,12.328-12.328,32.308-0.004,44.631C486.088,849.67,494.163,852.752,502.242,852.752z"})]}),price:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M980.141,1426.945H799.02v-118.506c-69.393-6.158-141.632-26.024-190.641-53.104l-20.991-11.607 l52.338-204.102l35.001,19.166c33.877,18.551,103.21,49.678,186.896,49.678c43.264,0,86.914-13.717,86.914-44.368 c0-20.55-13.207-44.022-108.99-76.386C727.884,950.146,599.67,887.562,599.67,735.901c0-118.03,78.008-208.647,205.43-241.258 V373.055h181.121v108.638c76.854,6.214,127.293,26.167,159.665,41.397l23.395,11.01l-52.706,198.537l-34.932-16.757 c-30.332-14.56-81.1-38.932-160.461-38.932c-27.462,0-73.538,4.973-73.538,38.288c0,25.207,67.061,52.896,125.491,74.206 c156.457,54.756,223.372,131.853,223.372,257.641c0,62.643-21.977,119.475-63.568,164.353 c-37.588,40.571-90.052,69.527-152.798,84.567V1426.945z M861.015,1364.95h57.132v-120.313l25.729-4.437 c117.589-20.272,190.636-94.271,190.636-193.118c0-81.316-30.988-146.326-182.237-199.261 c-91.338-33.311-166.625-66.172-166.625-132.585c0-48.481,35.607-100.283,135.533-100.283 c68.248,0,119.197,15.615,154.484,30.171l20.221-76.148c-31.758-12.463-77.164-25.047-141.589-26.967l-30.071-0.899v-106.06 h-57.132v110.22L841.792,550c-112.789,21.082-180.128,90.579-180.128,185.901c0,88.71,59.123,146.45,197.689,193.064 c78.537,26.534,151.178,61.268,151.178,135.137c0,64.615-58.448,106.362-148.908,106.362 c-73.782,0-137.615-20.566-181.23-39.836l-20.731,80.85c39.862,17.4,101.68,34.715,171.28,36.791l30.072,0.9V1364.95z"}),(0,l.jsx)("path",{d:"M1394.443,1646.797l13.552-28.16c-5.872,4.203-11.797,8.346-17.772,12.41L1394.443,1646.797z"}),(0,l.jsx)("path",{d:"M894.438,1721.617c-453.04,0-821.616-368.576-821.616-821.614c0-453.044,368.576-821.62,821.616-821.62 c453.043,0,821.627,368.576,821.627,821.62c0,144.397-37.492,280.184-103.18,398.222l61.597,16.502 c66.06-123.746,103.577-264.929,103.577-414.724c0-487.224-396.391-883.615-883.621-883.615 c-487.224,0-883.61,396.391-883.61,883.615c0,487.227,396.386,883.608,883.61,883.608 c154.789,0,300.383-40.053,427.035-110.271l-16.563-61.813C1184.061,1681.513,1043.848,1721.617,894.438,1721.617z"}),(0,l.jsx)("path",{d:"M1661.595,1783.611c-7.931,0-15.862-3.027-21.916-9.072l-150.333-150.333l-48.355,100.489 c-5.621,11.686-17.973,18.647-30.824,17.428c-12.904-1.211-23.697-10.326-27.053-22.842l-111.181-414.95 c-2.862-10.698,0.199-22.114,8.026-29.942c7.836-7.836,19.243-10.889,29.941-8.025l414.943,111.188 c12.514,3.355,21.63,14.149,22.841,27.054c1.202,12.903-5.743,25.202-17.427,30.824l-100.49,48.363l150.332,150.324 c5.813,5.813,9.073,13.699,9.073,21.916c0,8.225-3.261,16.104-9.073,21.925l-96.58,96.581 C1677.465,1780.584,1669.525,1783.611,1661.595,1783.611z M1480.368,1540.391c8.147,0,16.052,3.217,21.916,9.081 l159.311,159.311l52.749-52.749l-159.311-159.302c-7.101-7.108-10.326-17.211-8.641-27.122 c1.688-9.903,8.061-18.37,17.116-22.729l64.563-31.076l-282.357-75.659l75.651,282.356l31.066-64.555 c4.358-9.055,12.835-15.43,22.737-17.115C1476.9,1540.537,1478.639,1540.391,1480.368,1540.391z"}),(0,l.jsx)("path",{d:"M1140.299,292.544c111.231,0,327.736,121.636,327.736,344.61c0,17.12,13.873,30.997,30.997,30.997 c17.116,0,30.997-13.877,30.997-30.997c0-116.063-51.296-223.666-144.435-302.993c-73.896-62.941-170.182-103.612-245.296-103.612 c-17.116,0-30.998,13.877-30.998,30.998S1123.183,292.544,1140.299,292.544z"})]}),puzzle:e=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:(0,l.jsx)("path",{d:"M1794.799,86.801c0-45.832-38.102-83.119-84.936-83.119H901.35h-3.8H93.755 c-45.832,0-83.119,38.102-83.119,84.94v812.311c0,1.243,0.092,2.47,0.231,3.678c-0.14,1.208-0.231,2.424-0.231,3.677v807.594 c0,45.832,38.101,83.119,84.936,83.119h808.513h3.8h803.795c45.831,0,83.119-38.102,83.119-84.94V901.747 c0-1.243-0.093-2.469-0.232-3.677c0.14-1.208,0.232-2.428,0.232-3.675V86.801z M1732.043,86.801v776.217h-243.219 c33.027-37.121,52.45-85.802,52.45-137.973c0-41.45-12.262-80.067-33.282-112.504c-36.425-59.971-102.365-100.121-177.514-100.121 c-114.426,0-207.517,93.091-207.517,207.517c0.005,41.893,12.554,81.503,34.587,114.715c6.236,10.024,13.272,19.537,21.129,28.366 H932.727V524.099c0-10.37-5.047-19.532-12.799-25.249c-5.691-5.796-13.609-9.398-22.378-9.398h-9.739 c-13.483,0-25.455,8.61-29.745,21.393c-19.808,59.008-74.951,98.65-137.22,98.65c-23.59,0-45.862-5.708-65.561-15.764 c-43.652-24.956-73.156-71.948-73.156-125.733c0-79.827,64.939-144.771,144.763-144.771c22.955,0,44.921,5.427,64.527,15.189 c30.695,17.146,54.906,45.228,66.646,80.208c2.933,8.746,9.508,15.457,17.659,18.871c5.182,3.673,11.468,5.787,18.131,5.787h7.494 c17.33,0,31.377-14.042,31.377-31.377V66.437h777.137C1722.093,66.437,1732.043,75.573,1732.043,86.801z M73.392,88.622 c0-12.23,9.136-22.185,20.364-22.185h772.417v247.737c-13.447-12.178-28.418-22.575-44.58-30.861 c-30.126-16.726-64.584-26.107-100.747-26.107c-114.426,0-207.517,93.095-207.517,207.525c0,80.024,45.557,149.56,112.072,184.172 c30.029,16.915,64.641,26.61,101.491,26.61c52.805,0,101.994-19.926,139.281-53.694v247.732h-338.39 c-17.33,0-31.377,14.048-31.377,31.38v9.735c0,7.117,2.447,13.771,6.588,19.139c3.633,7.257,10.016,13.019,18.07,15.715 c31.597,10.61,57.555,31.412,74.938,57.948c13.067,21.914,20.447,47.364,20.447,74.163c0,79.827-64.939,144.762-144.762,144.762 c-50.271,0-94.618-25.766-120.581-64.769c-13.273-21.861-20.92-47.495-20.92-74.881c-0.004-62.264,39.646-117.412,98.659-137.224 c12.782-4.29,21.392-16.258,21.392-29.74v-7.494c0-5.953-1.685-11.489-4.557-16.229c-3.83-13.005-15.842-22.505-30.086-22.505 H73.392V88.622z M73.392,1715.881V939.665h243.219c-33.028,37.12-52.45,85.797-52.45,137.968c0,41.454,12.266,80.072,33.286,112.51 c36.42,59.97,102.362,100.119,177.51,100.119c114.426,0,207.517-93.09,207.517-207.517c-0.005-41.892-12.56-81.508-34.587-114.724 c-6.238-10.024-13.272-19.532-21.125-28.356h245.946v338.919c0,10.374,5.051,19.54,12.804,25.248 c5.69,5.796,13.609,9.395,22.373,9.395h9.74c13.482,0,25.455-8.606,29.744-21.388c19.809-59.008,74.951-98.65,137.22-98.65 c23.577,0,45.836,5.699,65.53,15.741c43.67,24.951,73.187,71.956,73.187,125.756c0,79.817-64.938,144.762-144.762,144.762 c-22.96,0-44.931-5.42-64.536-15.19c-30.69-17.142-54.894-45.228-66.639-80.203c-2.938-8.746-9.512-15.461-17.671-18.876 c-5.18-3.668-11.461-5.778-18.118-5.778h-7.495c-17.33,0-31.377,14.044-31.377,31.378v345.468H95.572 C83.341,1736.245,73.392,1727.104,73.392,1715.881z M1732.043,1714.06c0,12.231-9.135,22.186-20.363,22.186H939.263v-247.737 c13.443,12.17,28.414,22.57,44.571,30.852c30.125,16.731,64.589,26.117,100.755,26.117c114.427,0,207.518-93.1,207.518-207.526 c0-80.037-45.569-149.586-112.098-184.185c-30.024-16.906-64.624-26.598-101.465-26.598c-52.805,0-101.999,19.926-139.281,53.693 V933.124h338.39c17.33,0,31.377-14.043,31.377-31.377v-9.738c0-7.113-2.447-13.767-6.593-19.133 c-3.628-7.258-10.015-13.019-18.065-15.72c-31.597-10.607-57.559-31.408-74.938-57.949c-13.066-21.909-20.446-47.364-20.446-74.163 c0-79.823,64.938-144.762,144.762-144.762c50.266,0,94.618,25.761,120.581,64.764c13.268,21.861,20.919,47.5,20.919,74.889 c0.005,62.265-39.646,117.408-98.658,137.22c-12.782,4.29-21.393,16.262-21.393,29.745v7.494c0,5.952,1.686,11.484,4.557,16.23 c3.83,13,15.838,22.499,30.087,22.499h342.201V1714.06z"})}),refresh:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M147.558,1234.803c-42.809-95.198-67.328-198.696-71.438-306.137 c-8.405-219.555,69.194-429.247,218.505-590.444C443.93,177.034,647.075,83.629,866.635,75.225 c211.431-8.08,413.71,63.609,572.343,202.278l-197.662,7.562c-17.369,0.667-30.911,15.281-30.248,32.652 c0.649,16.967,14.604,30.272,31.43,30.272c0.41,0,0.817,0,1.226-0.018l272.117-10.417c0.328,0.018,0.65,0.053,0.982,0.053 c0.408,0,0.817-0.009,1.227-0.026c17.37-0.659,30.911-15.281,30.25-32.653l-10.448-273.207 c-0.664-17.372-15.474-30.875-32.655-30.25c-17.371,0.666-30.914,15.286-30.25,32.657l7.561,197.786 C1311.412,81.416,1092.766,3.566,864.228,12.322C627.864,21.37,409.175,121.919,248.439,295.444 C87.704,468.98,4.167,694.718,13.213,931.072c4.426,115.696,30.878,227.107,76.989,329.604c0.922,3.539,2.406,6.85,4.399,9.802 c0.009,0.016,0.018,0.034,0.027,0.052l0.008-0.009c5.748,8.44,15.431,13.99,26.408,13.99c17.631,0,31.911-14.289,31.911-31.914 c0-6.587-1.999-12.7-5.416-17.784L147.558,1234.803z"}),(0,l.jsx)("path",{d:"M1709.859,539.519c-0.75-2.45-1.817-4.76-3.104-6.921c-0.113-0.245-0.22-0.491-0.334-0.737l-0.083,0.053 c-5.651-8.958-15.605-14.93-26.982-14.93c-17.619,0-31.92,14.288-31.92,31.914c0,7.008,2.289,13.472,6.121,18.733 c129.647,291.647,82.579,645.552-147.685,894.139c-149.311,161.198-352.457,254.597-572.01,263.001 c-211.414,8.079-413.702-63.61-572.335-202.271l197.656-7.572c17.372-0.667,30.914-15.279,30.25-32.65 c-0.668-17.372-15.352-30.817-32.656-30.256l-272.366,10.426c-0.654-0.019-1.304-0.054-1.967-0.036 c-17.371,0.668-30.913,15.289-30.25,32.661l10.459,273.204c0.65,16.967,14.604,30.272,31.432,30.272 c0.408,0,0.816-0.009,1.225-0.018c17.371-0.667,30.913-15.289,30.25-32.66l-7.574-197.802 c162.422,142.869,367.644,220.274,583.58,220.274c11.531,0,23.119-0.228,34.702-0.667 c236.359-9.046,455.05-109.594,615.789-283.128C1800.597,1236.227,1850.813,853.956,1709.859,539.519z"})]}),repair:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M803.722,820.892l-247.878-247.87l71.705-71.702l247.875,247.871l40.808-40.802L655.949,448.104 l74.925-74.921c0.596-0.596,1.147-1.216,1.682-1.86c0.592-0.499,1.175-1.006,1.735-1.562l135.512-135.512 c11.126-11.12,11.292-29.106,0.366-40.43l-1.538-1.606c-1.284-1.349-2.572-2.693-3.893-4.018 C796.995,120.454,709.056,80.01,629.497,80.01c-53.655,0-99.814,17.796-133.483,51.468c-0.733,0.73-1.409,1.503-2.053,2.3 c-0.443,0.388-0.89,0.765-1.309,1.183L185.294,442.324c-11.267,11.271-11.267,29.539,0,40.81l45.403,45.399l-37.493,37.493 l-45.403-45.408c-5.414-5.41-12.752-8.453-20.405-8.453c-7.652,0-14.99,3.043-20.404,8.453L12.869,614.75 c-11.268,11.271-11.268,29.538,0,40.802l197.415,197.416c5.414,5.41,12.752,8.454,20.404,8.454c7.653,0,14.995-3.043,20.405-8.454 l94.115-94.13c11.268-11.264,11.268-29.531,0-40.802l-45.395-45.399l37.493-37.493l45.395,45.399 c5.636,5.636,13.019,8.446,20.405,8.446c7.383,0,14.77-2.818,20.401-8.446l79.124-79.124l260.285,260.285L803.722,820.892z M629.497,137.719c58.812,0,124.33,28.287,178.733,76.497l-94.34,94.334L559.981,154.64 C579.485,143.503,603.046,137.719,629.497,137.719z M230.688,791.756L74.079,635.15l53.317-53.321l156.602,156.605 L230.688,791.756z M261.089,629.749l-24.999-24.999l35.408-35.408l24.998,24.998L261.089,629.749z M403.106,619.331 L246.505,462.725L513.058,196.17l156.609,156.612L403.106,619.331z"}),(0,l.jsx)("path",{d:"M1763.996,1556.146l-593.695-593.688l-40.803,40.801l573.296,573.296l-71.701,71.709l-573.303-573.303 l-40.803,40.81l593.704,593.705c5.41,5.408,12.752,8.452,20.401,8.452c7.657,0,14.999-3.044,20.409-8.452l112.502-112.521 C1775.268,1585.686,1775.268,1567.418,1763.996,1556.146z"}),(0,l.jsx)("path",{d:"M1780.444,264.271c-3.269-9.372-11.135-16.4-20.812-18.614c-9.67-2.206-19.806,0.708-26.825,7.729 l-116.585,116.576l-109.307-109.315l116.585-116.57c7.02-7.021,9.942-17.156,7.729-26.833c-2.214-9.679-9.243-17.541-18.614-20.814 c-29.071-10.149-59.48-15.298-90.379-15.298c-73.062,0-141.743,28.449-193.397,80.104c-51.671,51.66-80.123,120.344-80.123,193.406 c0,35.343,6.723,69.648,19.442,101.514l-736.242,736.236c-31.861-12.721-66.158-19.435-101.497-19.435 c-73.058,0-141.744,28.452-193.407,80.115c-73.802,73.801-99.243,185.193-64.809,283.775c3.272,9.372,11.134,16.4,20.812,18.614 c9.673,2.206,19.809-0.7,26.833-7.72l116.581-116.586l109.315,109.299l-116.585,116.586c-7.021,7.02-9.938,17.155-7.729,26.833 c2.214,9.677,9.242,17.534,18.613,20.812c29.064,10.152,59.468,15.296,90.372,15.304c0.008,0,0.008,0,0.016,0 c73.042,0,141.728-28.46,193.39-80.122c79.559-79.566,99.726-196.352,60.563-294.822l736.347-736.333 c31.865,12.728,66.162,19.443,101.506,19.443c0.008,0,0,0,0.008,0c73.046,0,141.736-28.444,193.391-80.106 C1789.438,474.246,1814.878,362.854,1780.444,264.271z M583.011,1599.065c-40.762,40.763-94.948,63.216-152.58,63.216 c0,0-0.012,0-0.016,0c-7.915-0.008-15.792-0.436-23.602-1.28l100.137-100.138c5.414-5.417,8.454-12.752,8.454-20.408 c0-7.648-3.04-14.99-8.454-20.4L356.83,1369.946c-11.263-11.264-29.535-11.264-40.806,0l-100.072,100.072 c-6.835-64.134,15.333-129.603,61.871-176.146c40.762-40.762,94.952-63.207,152.597-63.207c57.64,0,111.83,22.445,152.588,63.215 C667.146,1378.013,667.146,1514.926,583.011,1599.065z M659.282,1288.535l-70.945-70.951l702.501-702.488l70.953,70.944 L659.282,1288.535z M1674.832,507.246c-40.761,40.753-94.951,63.199-152.596,63.199S1410.394,548,1369.632,507.238 c-40.753-40.762-63.207-94.953-63.207-152.597s22.454-111.834,63.216-152.598c40.753-40.758,94.951-63.204,152.596-63.204 c7.922,0,15.796,0.429,23.605,1.28l-100.137,100.127c-5.411,5.41-8.453,12.752-8.453,20.4c0,7.657,3.042,14.991,8.453,20.401 l150.108,150.117c11.271,11.271,29.547,11.271,40.81,0.008l100.072-100.073C1743.531,395.234,1721.367,460.704,1674.832,507.246z"})]}),responsive:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1748.663,978.006h-39.578h-49.802H1448.09c-23.352,0-42.35,18.998-42.35,42.354v40.533v49.801v193.7 v49.801v212.886c0,23.355,18.998,42.354,42.35,42.354h300.573c23.354,0,42.354-18.998,42.354-42.354v-546.721 C1791.017,997.004,1772.018,978.006,1748.663,978.006z M1741.215,1559.633h-285.674v-205.438v-49.801v-193.7v-49.801v-33.086 h203.742h49.802h32.13V1559.633z"}),(0,l.jsx)("path",{d:"M1598.133,1479.07c-13.263,0-24.011,10.755-24.011,24.011c0,13.267,10.748,24.012,24.011,24.012 c13.257,0,24.012-10.745,24.012-24.012C1622.145,1489.825,1611.39,1479.07,1598.133,1479.07z"}),(0,l.jsx)("path",{d:"M1639.063,1060.893c-1.765-0.963-3.763-1.561-5.916-1.561H1563.6c-2.154,0-4.151,0.598-5.916,1.561 c-3.873,2.111-6.534,6.17-6.534,10.891c0,6.875,5.575,12.45,12.45,12.45h69.547c6.875,0,12.45-5.575,12.45-12.45 C1645.597,1067.063,1642.936,1063.004,1639.063,1060.893z"}),(0,l.jsx)("path",{d:"M58.785,261.847c0-11.842,8.07-21.479,17.991-21.479h1540.741c9.925,0,17.998,9.636,17.998,21.479v674.657 h8.007h41.794V261.847c0-39.303-30.413-71.28-67.799-71.28H76.776c-37.382,0-67.792,31.977-67.792,71.28v1021.067 c0,39.304,30.41,71.28,67.792,71.28h614.065v205.285H453.896c-13.753,0-24.901,11.147-24.901,24.9s11.148,24.901,24.901,24.901 h261.846h262.823h261.847c13.752,0,24.9-11.148,24.9-24.901s-11.148-24.9-24.9-24.9h-236.946v-205.285h353.185v-48.397v-1.403 H76.776c-9.921,0-17.991-9.634-17.991-21.479v-172.221H1356.65v-24.06v-25.741H58.785V261.847z M953.664,1559.479H740.644 v-205.285h213.021V1559.479z"}),(0,l.jsx)("path",{d:"M808.262,1205.613c0,21.476,17.415,38.887,38.886,38.887c21.472,0,38.894-17.411,38.894-38.887 c0-21.475-17.421-38.89-38.894-38.89C825.677,1166.724,808.262,1184.139,808.262,1205.613z"}),(0,l.jsx)("path",{d:"M273.199,457.516h625.589c13.753,0,24.9-11.148,24.9-24.901s-11.147-24.9-24.9-24.9H273.199 c-13.753,0-24.9,11.147-24.9,24.9S259.446,457.516,273.199,457.516z"}),(0,l.jsx)("path",{d:"M1421.102,556.41H273.199c-13.753,0-24.9,11.147-24.9,24.9c0,13.753,11.147,24.901,24.9,24.901h1147.902 c13.753,0,24.9-11.147,24.9-24.901C1446.002,567.558,1434.854,556.41,1421.102,556.41z"}),(0,l.jsx)("path",{d:"M1421.102,705.102H273.199c-13.753,0-24.9,11.148-24.9,24.901s11.147,24.9,24.9,24.9h1147.902 c13.753,0,24.9-11.147,24.9-24.9S1434.854,705.102,1421.102,705.102z"}),(0,l.jsx)("path",{d:"M1421.102,853.798H273.199c-13.753,0-24.9,11.147-24.9,24.9s11.147,24.901,24.9,24.901h1147.902 c13.753,0,24.9-11.148,24.9-24.901S1434.854,853.798,1421.102,853.798z"})]}),science:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M890.431,974.791c69.867,0,126.714-56.838,126.714-126.704c0-69.867-56.847-126.705-126.714-126.705 c-69.867,0-126.7,56.838-126.7,126.705C763.73,917.953,820.564,974.791,890.431,974.791z M890.431,782.932 c35.933,0,65.163,29.226,65.163,65.155c0,35.928-29.23,65.159-65.163,65.159c-35.928,0-65.154-29.231-65.154-65.159 C825.276,812.158,854.503,782.932,890.431,782.932z"}),(0,l.jsx)("path",{d:"M1393.528,849.313c107.104-90.789,190.083-183.293,228.049-264.898c-9.547,1.934-19.43,2.959-29.544,2.959 c-13.436,0-26.451-1.824-38.848-5.184c-20.757,36.129-52.147,77.005-93.216,120.522c-33.35,35.331-71.835,71.25-114.557,107.113 c-53.068-42.077-111.368-83.756-173.604-124.039c-4.372-67.951-11.445-134.917-21.162-198.771 c112.563-39.035,214.152-61.298,293.431-62.93c2.182-22.314,9.32-43.18,20.294-61.515c-3.63-0.083-7.229-0.192-10.965-0.192 c-84.31,0-192.959,22.611-313.084,63.409C1095.904,186.437,1011.979,4.434,892.464,4.434 c-119.523,0-203.453,182.002-247.859,421.353c-120.133-40.798-228.778-63.409-313.088-63.409c-0.375,0-0.724,0.018-1.1,0.018 c11.079,18.457,18.265,39.497,20.425,61.986c77.738,3.207,175.549,25.221,283.43,62.633 c-9.717,63.854-16.791,130.823-21.167,198.779c-62.231,40.283-120.526,81.954-173.594,124.03 c-42.723-35.859-81.208-71.783-114.557-107.113c-40.27-42.661-71.242-82.8-92.002-118.405c-9.727,2.007-19.793,3.067-30.104,3.067 c-14.146,0-27.821-2.034-40.789-5.738c37.355,82.281,121.011,175.863,229.337,267.678 c-41.208,35.039-78.546,70.143-111.206,104.753c-122.351,129.632-165.36,236.671-124.393,309.549 c27.241,48.456,86.356,73.026,175.706,73.026c84.314,0,192.959-22.607,313.097-63.414 c24.544,132.286,61.167,247.014,109.194,323.216c9.032-20.979,22.769-39.462,39.855-54.159 c-18.356-33.799-35.767-76.254-51.313-126.133c-15.473-49.611-28.637-104.691-39.362-163.867 c61.358-23.117,125.033-50.542,189.49-81.762c64.452,31.22,128.123,58.645,189.481,81.757 c-10.729,59.177-23.894,114.261-39.362,163.872c-15.909,51.043-33.772,94.35-52.609,128.533 c16.847,15.207,30.182,34.227,38.69,55.668c49.245-76.158,86.688-192.578,111.659-327.129 c120.13,40.811,228.783,63.418,313.102,63.418c89.336,0,148.461-24.574,175.697-73.031 c40.972-72.873-2.038-179.912-124.388-309.544C1472.069,919.455,1434.731,884.351,1393.528,849.313z M1296.368,849.505 c-37.753,29.492-78.184,58.771-120.802,87.491c1-29.188,1.519-58.396,1.519-87.482c0-29.096-0.519-58.313-1.519-87.5 C1218.185,790.729,1258.615,820.013,1296.368,849.505z M669.376,849.514c0-43.538,1.091-86.514,3.186-128.655 c35.701-22.472,72.638-44.477,110.582-65.809c36.478-20.508,73.009-39.851,109.321-58.016 c36.308,18.165,72.838,37.508,109.312,58.016c37.953,21.329,74.881,43.337,110.582,65.805c2.099,42.137,3.181,85.117,3.181,128.66 c0,43.529-1.082,86.504-3.181,128.638c-35.706,22.472-72.638,44.48-110.591,65.817c-36.474,20.5-73,39.848-109.303,58.008 c-36.308-18.16-72.843-37.508-109.312-58.012c-37.953-21.338-74.885-43.346-110.591-65.818 C670.467,936.018,669.376,893.043,669.376,849.514z M1107.445,645.493c-24.697-14.966-49.878-29.688-75.514-44.097 c-23.257-13.072-46.558-25.683-69.832-37.853c44.146-20.364,87.635-38.786,129.942-55.07 C1098.47,552.443,1103.618,598.281,1107.445,645.493z M742.337,282.868C784.679,147.061,840.793,65.98,892.464,65.98 c51.663,0,107.781,81.081,150.119,216.888c15.469,49.617,28.633,104.696,39.358,163.864 c-61.354,23.113-125.029,50.537-189.477,81.762c-64.457-31.225-128.127-58.649-189.49-81.762 C713.708,387.563,726.864,332.484,742.337,282.868z M692.873,508.469c42.308,16.284,85.802,34.711,129.947,55.075 c-23.274,12.17-46.571,24.78-69.828,37.853c-25.635,14.408-50.825,29.13-75.522,44.097 C681.301,598.281,686.45,552.443,692.873,508.469z M609.357,762.019c-1.004,29.187-1.527,58.399-1.527,87.495 c0,29.086,0.523,58.295,1.523,87.478c-42.618-28.716-83.04-57.999-120.796-87.482C526.313,820.017,566.735,790.734,609.357,762.019 z M331.504,1275.095c-63.618,0-106.965-14.792-122.062-41.64c-25.312-45.035,17.864-133.687,115.508-237.147 c33.415-35.418,72.005-71.416,114.841-107.362c53.796,42.586,112.301,84.358,173.302,123.996 c4.372,68.047,11.445,135.112,21.18,199.063C517.268,1252.575,412.053,1275.095,331.504,1275.095z M692.873,1190.541 c-6.427-44.002-11.581-89.874-15.412-137.125c24.955,15.172,50.17,29.941,75.535,44.197c23.252,13.072,46.553,25.683,69.832,37.852 C778.68,1155.83,735.181,1174.261,692.873,1190.541z M962.1,1135.465c23.274-12.169,46.575-24.779,69.823-37.844 c25.36-14.26,50.577-29.029,75.535-44.201c-3.831,47.247-8.979,93.119-15.416,137.116 C1049.734,1174.261,1006.245,1155.83,962.1,1135.465z M1575.478,1233.455c-15.097,26.848-58.443,41.64-122.053,41.64 c-80.558,0-185.769-22.52-302.777-63.091c9.73-63.95,16.813-131.012,21.18-199.063c61.001-39.634,119.51-81.404,173.311-123.996 c42.827,35.946,81.417,71.944,114.841,107.362C1557.614,1099.769,1600.795,1188.42,1575.478,1233.455z"}),(0,l.jsx)("path",{d:"M323.685,429.749c0-70.146-57.069-127.211-127.215-127.211c-70.142,0-127.207,57.064-127.207,127.211 c0,70.142,57.065,127.211,127.207,127.211C266.616,556.96,323.685,499.891,323.685,429.749z M131.817,429.749 c0-35.649,29.003-64.657,64.653-64.657c35.653,0,64.661,29.008,64.661,64.657c0,35.649-29.008,64.657-64.661,64.657 C160.82,494.406,131.817,465.398,131.817,429.749z"}),(0,l.jsx)("path",{d:"M1603.526,302.538c-70.146,0-127.211,57.064-127.211,127.211c0,70.142,57.064,127.211,127.211,127.211 c70.146,0,127.211-57.069,127.211-127.211C1730.737,359.603,1673.672,302.538,1603.526,302.538z M1603.526,494.406 c-35.653,0-64.657-29.008-64.657-64.657c0-35.649,29.004-64.657,64.657-64.657s64.656,29.008,64.656,64.657 C1668.183,465.398,1639.18,494.406,1603.526,494.406z"}),(0,l.jsx)("path",{d:"M892.983,1541.145c-70.142,0-127.206,57.064-127.206,127.211s57.064,127.211,127.206,127.211 c70.15,0,127.22-57.064,127.22-127.211S963.134,1541.145,892.983,1541.145z M892.983,1733.013 c-35.649,0-64.652-29.003-64.652-64.657c0-35.652,29.003-64.656,64.652-64.656c35.658,0,64.666,29.004,64.666,64.656 C957.649,1704.01,928.642,1733.013,892.983,1733.013z"})]}),search:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1715.514,1630.048l-368.416-368.402c-17.967-17.977-41.866-27.874-67.281-27.874 c-13.782,0-27.071,3.003-39.257,8.527l-94.596-94.594c133.584-119.751,217.789-293.534,217.789-486.634 c0-360.375-293.193-653.561-653.572-653.561c-360.38,0-653.568,293.186-653.568,653.561c0,360.382,293.188,653.57,653.568,653.57 c146.069,0,281.087-48.174,390.033-129.453l96.854,96.862c-8.041,14.144-12.399,30.159-12.399,46.869 c0,25.42,9.897,49.314,27.868,67.283l368.407,368.423c17.972,17.968,41.862,27.865,67.283,27.865 c25.42,0,49.318-9.902,67.29-27.874c17.972-17.971,27.869-41.867,27.869-67.287 C1743.387,1671.914,1733.489,1648.02,1715.514,1630.048z M118.546,661.071c0-326.224,265.405-591.627,591.634-591.627 c326.229,0,591.638,265.403,591.638,591.627c0,326.231-265.408,591.636-591.638,591.636 C383.952,1252.707,118.546,987.302,118.546,661.071z M1671.72,1720.823c-6.272,6.277-14.62,9.733-23.492,9.733 c-8.879,0-17.222-3.456-23.489-9.726l-368.407-368.424c-6.272-6.272-9.728-14.614-9.728-23.488c0-8.873,3.455-17.215,9.732-23.488 c6.269-6.273,14.605-9.726,23.48-9.726c8.869,0,17.211,3.452,23.488,9.733l368.415,368.406c6.276,6.273,9.733,14.615,9.733,23.484 C1681.453,1706.203,1677.996,1714.547,1671.72,1720.823z"}),(0,l.jsx)("path",{d:"M733.941,187.121c145.201,0,427.813,158.624,427.813,449.396c0,17.104,13.863,30.967,30.968,30.967 c17.104,0,30.968-13.863,30.968-30.967c0-145.848-64.515-281.118-181.66-380.892c-93.039-79.241-213.969-130.439-308.088-130.439 c-17.104,0-30.967,13.864-30.967,30.967C702.974,173.257,716.838,187.121,733.941,187.121z"})]}),security:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1096.233,698.227c0-108.2-88.028-196.229-196.229-196.229c-108.205,0-196.234,88.029-196.234,196.229 v74.779H571.518v226.107c1.825,179.273,149.183,325.127,328.487,325.127s326.658-145.854,328.478-325.445V773.006h-132.249V698.227 z M1165.753,835.734v162.74c-1.47,145.039-120.684,263.037-265.749,263.037s-264.283-117.998-265.758-262.717V835.734H1165.753z M766.5,773.006v-74.779c0-73.611,59.889-133.5,133.504-133.5c73.611,0,133.5,59.889,133.5,133.5v74.779H766.5z"}),(0,l.jsx)("path",{d:"M1668.854,759.284c-58.126-318.375-309.768-570.017-628.138-628.141 C1031.553,61.639,971.966,7.808,900,7.808S768.442,61.642,759.28,131.146C440.91,189.271,189.268,440.914,131.146,759.284 c-69.507,9.162-123.34,68.754-123.34,140.72c0,71.968,53.833,131.551,123.34,140.713 c58.121,318.371,309.763,570.008,628.134,628.135c9.162,69.502,68.754,123.34,140.72,123.34s131.553-53.834,140.716-123.34 c318.37-58.122,570.017-309.764,628.138-628.13c69.507-9.163,123.34-68.75,123.34-140.718 C1792.193,828.038,1738.36,768.446,1668.854,759.284z M900,70.537c33.898,0,62.808,21.432,74.109,51.424 c3.27,8.672,5.142,18.025,5.142,27.827c0,12.525-3.001,24.335-8.195,34.876c-12.93,26.241-39.88,44.382-71.056,44.382 c-31.181,0-58.13-18.141-71.06-44.382c-5.198-10.541-8.196-22.351-8.196-34.876c0-9.801,1.873-19.154,5.142-27.827 C837.188,91.969,866.098,70.537,900,70.537z M121.962,974.115c-29.995-11.306-51.427-40.211-51.427-74.111 c0-33.902,21.432-62.812,51.427-74.114c8.672-3.269,18.027-5.142,27.829-5.142c12.523,0,24.333,2.998,34.874,8.196 c26.236,12.93,44.377,39.879,44.377,71.06c0,31.179-18.141,58.123-44.377,71.058c-10.541,5.19-22.351,8.191-34.874,8.191 C139.989,979.253,130.634,977.381,121.962,974.115z M900,1729.462c-33.902,0-62.812-21.432-74.114-51.427 c-3.269-8.672-5.142-18.027-5.142-27.828c0-12.523,2.998-24.334,8.196-34.875c12.93-26.24,39.879-44.377,71.06-44.377 c31.176,0,58.126,18.137,71.056,44.377c5.194,10.541,8.195,22.352,8.195,34.875c0,9.801-1.872,19.156-5.142,27.828 C962.808,1708.03,933.898,1729.462,900,1729.462z M1034.927,1606.087c-18.605-56.747-72.04-97.86-134.927-97.86 s-116.326,41.113-134.931,97.86c-288.367-54.993-516.166-282.788-571.159-571.159c56.748-18.604,97.861-72.039,97.861-134.924 c0-62.887-41.113-116.326-97.861-134.931c54.993-288.371,282.792-516.17,571.159-571.163 c18.605,56.752,72.044,97.865,134.931,97.865s116.321-41.113,134.927-97.865c288.371,54.993,516.17,282.792,571.163,571.163 c-56.752,18.605-97.865,72.044-97.865,134.931c0,62.885,41.113,116.319,97.865,134.924 C1551.097,1323.299,1323.298,1551.094,1034.927,1606.087z M1678.038,974.115c-8.673,3.266-18.023,5.138-27.824,5.138 c-12.528,0-24.338-3.001-34.879-8.191c-26.24-12.935-44.382-39.879-44.382-71.058c0-31.176,18.142-58.126,44.382-71.06 c10.541-5.198,22.351-8.196,34.879-8.196c9.801,0,19.151,1.873,27.824,5.142c29.995,11.298,51.427,40.212,51.427,74.114 C1729.465,933.904,1708.033,962.818,1678.038,974.115z"})]}),securityAlt:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1590.487,1148.496V645.409C1648.671,631.251,1692,578.732,1692,516.255 c0-73.311-59.631-132.951-132.941-132.951c-38.059,0-72.407,16.104-96.673,41.83l-437.927-252.835 c3.481-11.86,5.375-24.388,5.375-37.357C1029.834,61.64,970.203,2,896.895,2c-73.302,0-132.941,59.64-132.941,132.942 c0,12.969,1.903,25.497,5.384,37.357L331.416,425.129c-24.255-25.725-58.609-41.825-96.667-41.825 c-73.311,0-132.95,59.64-132.95,132.951c0,62.472,43.333,114.991,101.512,129.154v503.093 c-58.179,14.161-101.512,66.68-101.512,129.156c0,73.302,59.639,132.942,132.95,132.942c36.406,0,69.431-14.72,93.467-38.51 l441.122,254.681c-3.481,11.86-5.384,24.388-5.384,37.356c0,73.304,59.64,132.942,132.941,132.942 c73.309,0,132.939-59.639,132.939-132.942c0-12.969-1.894-25.496-5.375-37.356l441.128-254.69 c24.036,23.796,57.062,38.52,93.472,38.52c73.311,0,132.941-59.641,132.941-132.942 C1692,1215.178,1648.671,1162.653,1590.487,1148.496z M1489.476,1285.709c-0.299-2.645-0.5-5.323-0.5-8.051 c0-27.333,15.766-51.006,38.645-62.555c9.473-4.78,20.126-7.533,31.438-7.533c11.304,0,21.958,2.753,31.42,7.529 c22.896,11.545,38.664,35.216,38.664,62.559c0,38.646-31.438,70.084-70.084,70.084c-12.742,0-24.659-3.473-34.963-9.439 C1505.347,1327.45,1492.061,1308.205,1489.476,1285.709z M1519.764,458.255c11.216-7.625,24.738-12.093,39.295-12.093 c38.646,0,70.084,31.442,70.084,70.093c0,27.338-15.768,51.006-38.655,62.555c-9.462,4.775-20.116,7.528-31.429,7.528 c-11.304,0-21.959-2.753-31.43-7.533c-22.888-11.545-38.653-35.213-38.653-62.551c0-1.048,0.113-2.066,0.156-3.1 C1490.141,490.351,1502.006,470.331,1519.764,458.255z M826.811,134.942c0-38.646,31.438-70.084,70.083-70.084 c38.645,0,70.082,31.438,70.082,70.084c0,1.368-0.123,2.701-0.201,4.051c-1.308,22.747-13.443,42.614-31.396,54.457 c-11.057,7.296-24.272,11.576-38.485,11.576c-14.206,0-27.421-4.28-38.479-11.576c-17.95-11.843-30.087-31.71-31.394-54.457 C826.942,137.643,826.811,136.31,826.811,134.942z M164.656,516.255c0-38.651,31.442-70.093,70.092-70.093 c14.553,0,28.08,4.463,39.295,12.088c17.758,12.071,29.627,32.096,30.631,54.9c0.048,1.035,0.158,2.056,0.158,3.104 c0,27.342-15.772,51.01-38.664,62.559c-9.466,4.771-20.116,7.524-31.42,7.524c-11.312,0-21.971-2.753-31.438-7.533 C180.422,567.257,164.656,543.589,164.656,516.255z M269.707,1338.311c-10.304,5.965-22.221,9.432-34.958,9.432 c-38.65,0-70.092-31.438-70.092-70.084c0-27.337,15.767-51.006,38.654-62.555c9.467-4.78,20.126-7.533,31.438-7.533 c11.304,0,21.954,2.753,31.42,7.523c22.892,11.551,38.664,35.222,38.664,62.564c0,2.731-0.198,5.41-0.5,8.059 C301.741,1308.215,288.46,1327.46,269.707,1338.311z M966.977,1664.128c0,38.646-31.438,70.084-70.082,70.084 c-38.646,0-70.083-31.438-70.083-70.084c0-1.368,0.131-2.704,0.21-4.051c1.307-22.743,13.444-42.615,31.394-54.462 c11.058-7.295,24.273-11.575,38.479-11.575c14.213,0,27.429,4.28,38.485,11.575c17.952,11.847,30.088,31.719,31.396,54.462 C966.854,1661.424,966.977,1662.76,966.977,1664.128z M992.959,1572.372c-24.22-25.349-58.314-41.19-96.064-41.19 c-37.743,0-71.837,15.842-96.059,41.19l-439.614-253.809c4.183-12.892,6.467-26.633,6.467-40.905 c0-62.48-43.337-115.005-101.521-129.162V645.413c58.185-14.158,101.521-66.681,101.521-129.158c0-12.663-1.819-24.905-5.143-36.52 l438.289-253.042c24.221,25.352,58.315,41.189,96.059,41.189c37.75,0,71.845-15.837,96.064-41.189l438.297,253.046 c-3.314,11.61-5.139,23.853-5.139,36.515c0,62.472,43.337,114.991,101.512,129.154l-0.009,503.093 c-58.174,14.161-101.503,66.68-101.503,129.156c0,14.269,2.289,28.004,6.471,40.897L992.959,1572.372z"}),(0,l.jsx)("path",{d:"M1264.597,747.992L916.255,475.829c-11.365-8.884-27.332-8.884-38.696,0L529.218,747.992 c-7.63,5.954-12.084,15.092-12.084,24.764c0,233.561,100.426,372.219,184.671,447.416 c91.516,81.682,182.901,107.541,186.742,108.604c2.736,0.753,5.55,1.131,8.357,1.131c2.815,0,5.628-0.378,8.355-1.131 c3.849-1.063,95.225-26.922,186.74-108.604c84.247-75.197,184.673-213.855,184.673-447.416 C1276.672,763.083,1272.216,753.946,1264.597,747.992z M1052.223,1171.406c-65.664,59.303-132.381,86.044-155.372,94.063 c-22.677-7.841-87.754-33.792-153.19-92.195c-105.319-94.003-160.293-223.577-163.521-385.308l316.763-247.491l316.761,247.491 C1210.464,948.58,1156.191,1077.519,1052.223,1171.406z"})]}),servers:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1713.195,662.483H86.805c-46.621,0-84.549,37.929-84.549,84.55v315.328 c0,46.615,37.928,84.54,84.549,84.54h1626.391c46.625,0,84.55-37.925,84.55-84.54V747.033 C1797.745,700.412,1759.82,662.483,1713.195,662.483z M1734.746,1062.361c0,11.882-9.668,21.541-21.551,21.541H86.805 c-11.883,0-21.55-9.659-21.55-21.541V747.033c0-11.883,9.667-21.55,21.55-21.55h1626.391c11.883,0,21.551,9.667,21.551,21.55 V1062.361z"}),(0,l.jsx)("path",{d:"M262.693,851.239c-29.518,0-53.45,23.933-53.45,53.448c0,29.521,23.932,53.445,53.45,53.445 s53.45-23.924,53.45-53.445C316.144,875.172,292.211,851.239,262.693,851.239z"}),(0,l.jsx)("path",{d:"M447.018,851.239c-29.522,0-53.455,23.933-53.455,53.448c0,29.521,23.932,53.445,53.455,53.445 c29.513,0,53.445-23.924,53.445-53.445C500.463,875.172,476.53,851.239,447.018,851.239z"}),(0,l.jsx)("path",{d:"M631.339,851.239c-29.522,0-53.454,23.933-53.454,53.448c0,29.521,23.932,53.445,53.454,53.445 c29.513,0,53.445-23.924,53.445-53.445C684.784,875.172,660.852,851.239,631.339,851.239z"}),(0,l.jsx)("path",{d:"M1567.738,873.181H927.254c-17.394,0-31.5,14.102-31.5,31.497c0,17.402,14.106,31.5,31.5,31.5h640.484 c17.394,0,31.5-14.098,31.5-31.5C1599.238,887.283,1585.132,873.181,1567.738,873.181z"}),(0,l.jsx)("path",{d:"M1713.195,1315.578H86.805c-46.621,0-84.549,37.934-84.549,84.551v315.329 c0,46.616,37.928,84.54,84.549,84.54h1626.391c46.625,0,84.55-37.924,84.55-84.54v-315.329 C1797.745,1353.512,1759.82,1315.578,1713.195,1315.578z M1734.746,1715.458c0,11.882-9.668,21.542-21.551,21.542H86.805 c-11.883,0-21.55-9.66-21.55-21.542v-315.329c0-11.883,9.667-21.551,21.55-21.551h1626.391c11.883,0,21.551,9.668,21.551,21.551 V1715.458z"}),(0,l.jsx)("path",{d:"M262.693,1504.339c-29.518,0-53.45,23.933-53.45,53.445c0,29.522,23.932,53.446,53.45,53.446 s53.45-23.924,53.45-53.446C316.144,1528.271,292.211,1504.339,262.693,1504.339z"}),(0,l.jsx)("path",{d:"M447.018,1504.339c-29.522,0-53.455,23.933-53.455,53.445c0,29.522,23.932,53.446,53.455,53.446 c29.513,0,53.445-23.924,53.445-53.446C500.463,1528.271,476.53,1504.339,447.018,1504.339z"}),(0,l.jsx)("path",{d:"M631.339,1504.339c-29.522,0-53.454,23.933-53.454,53.445c0,29.522,23.932,53.446,53.454,53.446 c29.513,0,53.445-23.924,53.445-53.446C684.784,1528.271,660.852,1504.339,631.339,1504.339z"}),(0,l.jsx)("path",{d:"M1567.738,1526.275H927.254c-17.394,0-31.5,14.107-31.5,31.5c0,17.402,14.106,31.5,31.5,31.5h640.484 c17.394,0,31.5-14.098,31.5-31.5C1599.238,1540.383,1585.132,1526.275,1567.738,1526.275z"}),(0,l.jsx)("path",{d:"M1713.195,0H86.805C40.184,0,2.255,37.929,2.255,84.55v315.329c0,46.617,37.928,84.541,84.549,84.541 h1626.391c46.625,0,84.55-37.924,84.55-84.541V84.55C1797.745,37.929,1759.82,0,1713.195,0z M1734.746,399.879 c0,11.878-9.668,21.542-21.551,21.542H86.805c-11.883,0-21.55-9.664-21.55-21.542V84.55c0-11.883,9.667-21.551,21.55-21.551 h1626.391c11.883,0,21.551,9.668,21.551,21.551V399.879z"}),(0,l.jsx)("circle",{cx:"262.693",cy:"242.204",r:"53.448"}),(0,l.jsx)("path",{d:"M447.018,188.756c-29.522,0-53.455,23.932-53.455,53.45c0,29.518,23.932,53.446,53.455,53.446 c29.513,0,53.445-23.928,53.445-53.446C500.463,212.688,476.53,188.756,447.018,188.756z"}),(0,l.jsx)("path",{d:"M631.339,188.756c-29.522,0-53.454,23.932-53.454,53.45c0,29.518,23.932,53.446,53.454,53.446 c29.513,0,53.445-23.928,53.445-53.446C684.784,212.688,660.852,188.756,631.339,188.756z"}),(0,l.jsx)("path",{d:"M1567.738,210.697H927.254c-17.394,0-31.5,14.102-31.5,31.5s14.106,31.5,31.5,31.5h640.484c17.394,0,31.5-14.102,31.5-31.5S1585.132,210.697,1567.738,210.697z"})]}),settings:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1468.436,32.467v188.211c-98.748,15.249-174.595,100.822-174.595,203.777s75.847,188.521,174.595,203.777 v1139.302c0,17.453,14.146,31.608,31.607,31.608c17.454,0,31.609-14.155,31.609-31.608V628.232 c98.748-15.257,174.59-100.822,174.59-203.777s-75.842-188.529-174.59-203.777V32.467c0-17.454-14.155-31.608-31.609-31.608 C1482.581,0.858,1468.436,15.013,1468.436,32.467z M1643.029,424.455c0,67.979-47.703,124.986-111.377,139.423 c-10.179,2.302-20.744,3.563-31.609,3.563s-21.43-1.261-31.607-3.563c-63.684-14.438-111.378-71.444-111.378-139.423 c0-67.988,47.694-124.995,111.378-139.424c10.178-2.311,20.742-3.563,31.607-3.563s21.431,1.252,31.609,3.563 C1595.326,299.46,1643.029,356.467,1643.029,424.455z"}),(0,l.jsx)("path",{d:"M331.574,1767.534V628.232c98.758-15.257,174.603-100.822,174.603-203.777s-75.845-188.529-174.603-203.777 V32.467c0-17.454-14.146-31.608-31.608-31.608c-17.454,0-31.608,14.155-31.608,31.608v188.211 C169.609,235.926,93.763,321.5,93.763,424.455s75.846,188.521,174.594,203.777v1139.302c0,17.453,14.155,31.608,31.608,31.608 C317.428,1799.143,331.574,1784.987,331.574,1767.534z M156.98,424.455c0-67.988,47.703-124.995,111.377-139.424 c10.178-2.311,20.752-3.563,31.608-3.563c10.865,0,21.431,1.252,31.608,3.563c63.684,14.429,111.387,71.436,111.387,139.424 c0,67.979-47.703,124.986-111.387,139.423c-10.178,2.302-20.743,3.563-31.608,3.563c-10.856,0-21.431-1.261-31.608-3.563 C204.683,549.441,156.98,492.434,156.98,424.455z"}),(0,l.jsx)("path",{d:"M931.617,1767.534V1419.51c98.748-15.257,174.594-100.822,174.594-203.777s-75.846-188.529-174.594-203.777 V32.467c0-17.454-14.154-31.608-31.608-31.608c-17.462,0-31.608,14.155-31.608,31.608v979.488 c-98.757,15.248-174.603,100.822-174.603,203.777s75.846,188.521,174.603,203.777v348.024c0,17.453,14.146,31.608,31.608,31.608 C917.463,1799.143,931.617,1784.987,931.617,1767.534z M757.015,1215.732c0-67.986,47.703-124.995,111.386-139.424 c10.177-2.309,20.743-3.563,31.608-3.563c10.865,0,21.431,1.254,31.608,3.563c63.676,14.429,111.378,71.438,111.378,139.424 c0,67.979-47.702,124.986-111.378,139.424c-10.178,2.303-20.743,3.563-31.608,3.563c-10.865,0-21.431-1.26-31.608-3.563 C804.717,1340.719,757.015,1283.711,757.015,1215.732z"})]}),share:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M357.063,742.307c-17.305,0-31.331,14.026-31.331,31.331s14.026,31.331,31.331,31.331 c27.835,0,93.081,33.661,93.081,98.938c0,17.305,14.026,31.331,31.331,31.331s31.332-14.026,31.332-31.331 C512.807,797.809,411.417,742.307,357.063,742.307z"}),(0,l.jsx)("path",{d:"M1453.625,177.815c27.835,0,93.08,33.661,93.08,98.938c0,17.305,14.027,31.331,31.332,31.331 s31.331-14.026,31.331-31.331c0-106.097-101.39-161.6-155.743-161.6c-17.305,0-31.33,14.026-31.33,31.331 S1436.32,177.815,1453.625,177.815z"}),(0,l.jsx)("path",{d:"M1447.975,1261.85c-46.434,0-92.324,12.361-132.713,35.751c-31.903,18.476-58.501,42.634-79.293,70.451 L597.875,998.547c3.899-9.809,7.317-19.871,10.075-30.226c15.53-58.261,10.889-118.681-12.702-173.188l636.708-368.71 c49.41,69.459,130.26,111.727,216.465,111.727c46.433,0,92.319-12.361,132.707-35.75c61.316-35.505,105.136-92.766,123.385-161.232 c18.248-68.463,8.742-139.933-26.764-201.249C1630.467,58.27,1542.422,7.544,1447.979,7.544c-46.434,0-92.324,12.361-132.712,35.75 c-115.368,66.811-161.543,207.81-113.322,328.1L563.833,740.916c-49.707-66.172-128.52-106.219-212.417-106.219 c-46.428,0-92.324,12.361-132.711,35.75C92.13,743.749,48.787,906.358,122.084,1032.934 c47.281,81.649,135.326,132.37,229.77,132.37c46.438,0,92.324-12.36,132.712-35.75c33.473-19.381,61.679-45.284,83.407-75.915 l636.673,368.684c-31.921,74.42-29.608,162.465,13.996,237.764c47.28,81.65,135.325,132.371,229.774,132.371 c46.432,0,92.318-12.361,132.707-35.75c61.316-35.506,105.135-92.766,123.384-161.232c18.249-68.463,8.742-139.934-26.763-201.249 C1630.463,1312.575,1542.418,1261.85,1447.975,1261.85z M1346.668,97.521c30.859-17.868,65.893-27.314,101.311-27.314 c72.164,0,139.426,38.745,175.543,101.114c27.117,46.831,34.378,101.42,20.438,153.71c-13.935,52.29-47.403,96.026-94.233,123.144 c-30.855,17.869-65.889,27.314-101.307,27.314c-72.165,0-139.43-38.744-175.547-101.109 C1216.893,277.706,1249.994,153.504,1346.668,97.521z M453.164,1075.327c-30.859,17.868-65.888,27.314-101.311,27.314 c-72.165,0-139.426-38.745-175.543-101.11c-55.979-96.672-22.873-220.874,73.795-276.857 c30.859-17.869,65.888-27.314,101.311-27.314c72.165,0,139.426,38.744,175.543,101.114c27.117,46.831,34.377,101.42,20.438,153.71 C533.464,1004.474,499.995,1048.209,453.164,1075.327z M1643.955,1579.336c-13.934,52.291-47.402,96.027-94.233,123.145 c-30.854,17.868-65.888,27.314-101.306,27.314c-72.166,0-139.431-38.744-175.548-101.109 c-55.979-96.674-22.878-220.875,73.795-276.859c30.859-17.867,65.893-27.313,101.312-27.313 c72.164,0,139.425,38.744,175.543,101.114C1650.635,1472.457,1657.895,1527.047,1643.955,1579.336z"}),(0,l.jsx)("path",{d:"M1453.621,1369.459c-17.305,0-31.331,14.027-31.331,31.332s14.026,31.331,31.331,31.331 c27.834,0,93.08,33.661,93.08,98.937c0,17.305,14.027,31.332,31.332,31.332s31.33-14.027,31.33-31.332 C1609.363,1424.963,1507.975,1369.459,1453.621,1369.459z"})]}),shield:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M900,1793.016c-2.796,0-5.594-0.375-8.315-1.125c-7.969-2.199-197.36-55.807-388.728-226.607 c-112.377-100.305-201.914-220.375-266.128-356.88c-79.987-170.042-120.543-365.937-120.543-582.248 c0-9.624,4.431-18.711,12.016-24.637L880.752,13.613c11.308-8.837,27.187-8.837,38.496,0l752.451,587.905 c7.584,5.925,12.016,15.013,12.016,24.637c0,216.312-40.559,412.206-120.546,582.248 c-64.212,136.505-153.751,256.575-266.123,356.88c-191.37,170.801-380.764,224.408-388.732,226.607 C905.592,1792.641,902.796,1793.016,900,1793.016z M178.88,641.351c3.271,367.343,125.555,661.791,363.594,875.387 C701.154,1659.123,862.076,1716.81,900,1729.049c37.924-12.239,198.846-69.926,357.525-212.311 c238.039-213.597,360.325-508.044,363.592-875.387L900,77.925L178.88,641.351z"}),(0,l.jsx)("path",{d:"M900,1593.533c-2.798,0-5.594-0.375-8.315-1.125c-6.189-1.71-153.319-43.35-301.636-175.734 c-87.095-77.732-156.485-170.791-206.251-276.582c-61.928-131.65-93.328-283.236-93.328-450.545 c0-9.624,4.432-18.711,12.017-24.637L880.752,213.1c11.308-8.834,27.187-8.839,38.496,0l578.266,451.81 c7.585,5.925,12.017,15.013,12.017,24.637c0,167.309-31.399,318.895-93.329,450.545 c-49.762,105.791-119.155,198.85-206.248,276.582c-148.316,132.385-295.446,174.024-301.64,175.734 C905.596,1593.158,902.798,1593.533,900,1593.533z M353.087,704.725c3.256,278.249,96.237,501.402,276.493,663.417 c118.248,106.279,238.227,150.755,270.42,161.38c32.193-10.625,152.172-55.101,270.42-161.38 c180.256-162.016,273.236-385.169,276.495-663.417L900,277.412L353.087,704.725z"})]}),shoppingCart:e=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:(0,l.jsx)("path",{d:"M1478.793,1242.979c0.031,0.006,0.061,0.006,0.094,0h3.281c13.289,0,25.162-8.314,29.709-20.8 l283.908-780.039c3.529-9.694,2.104-20.5-3.811-28.951c-5.919-8.447-15.582-13.479-25.899-13.479H1194.88H883.583H334.239 L263.73,208.149c-0.066-0.181-0.155-0.349-0.225-0.53c-0.238-0.609-0.494-1.204-0.768-1.791c-0.181-0.397-0.366-0.79-0.564-1.177 c-0.255-0.499-0.524-0.984-0.807-1.465c-0.261-0.45-0.525-0.896-0.807-1.332c-0.251-0.384-0.516-0.758-0.781-1.129 c-0.348-0.484-0.697-0.965-1.067-1.424c-0.247-0.309-0.507-0.609-0.763-0.904c-0.415-0.476-0.833-0.948-1.27-1.398 c-0.274-0.278-0.561-0.542-0.843-0.812c-0.446-0.423-0.887-0.838-1.354-1.235c-0.335-0.282-0.688-0.551-1.032-0.821 c-0.437-0.334-0.874-0.675-1.323-0.987c-0.423-0.296-0.86-0.569-1.297-0.842c-0.401-0.251-0.803-0.503-1.212-0.736 c-0.508-0.287-1.028-0.547-1.549-0.807c-0.375-0.186-0.745-0.375-1.129-0.543c-0.555-0.247-1.121-0.468-1.693-0.688 c-0.384-0.145-0.768-0.291-1.156-0.423c-0.555-0.186-1.111-0.344-1.675-0.499c-0.451-0.124-0.9-0.242-1.35-0.348 c-0.507-0.115-1.015-0.208-1.53-0.3c-0.542-0.093-1.089-0.181-1.641-0.248c-0.441-0.052-0.882-0.097-1.328-0.128 c-0.635-0.052-1.271-0.083-1.905-0.097c-0.203-0.004-0.397-0.031-0.601-0.031H33.923c-17.461,0-31.615,14.153-31.615,31.615 c0,17.461,14.154,31.615,31.615,31.615h178.083L300.272,490.5l255.975,703.281c-0.123,0.308-0.273,0.604-0.393,0.921 l-86.934,236.188c-0.542,1.473-0.93,2.965-1.243,4.46c-1.821,3.996-2.862,8.42-2.862,13.095c0,17.461,14.154,31.616,31.615,31.616 h123.754c11.622,74.937,76.572,132.486,154.716,132.486c78.143,0,143.094-57.55,154.716-132.486h217.104 c11.621,74.937,76.574,132.486,154.717,132.486c78.144,0,143.093-57.55,154.716-132.486h87.688 c17.463,0,31.615-14.155,31.615-31.616c0-17.462-14.152-31.615-31.615-31.615h-90.789 c-17.421-67.456-78.792-117.429-151.614-117.429c-72.824,0-134.194,49.973-151.616,117.429H926.521 c-17.432-67.456-78.8-117.429-151.62-117.429c-72.819,0-134.189,49.973-151.62,117.429h-81.803l63.989-173.85H1478.793z M1216.813,1416.829c14.844-31.941,47.146-54.197,84.624-54.197c37.477,0,69.78,22.256,84.622,54.197 c5.539,11.921,8.72,25.153,8.72,39.145c0,8.341-1.205,16.386-3.264,24.087c-10.665,39.81-46.952,69.256-90.078,69.256 c-43.128,0-79.414-29.446-90.077-69.256c-2.061-7.701-3.265-15.746-3.265-24.087 C1208.096,1441.982,1211.274,1428.75,1216.813,1416.829z M690.278,1416.829c14.838-31.941,47.146-54.197,84.623-54.197 c37.477,0,69.785,22.256,84.622,54.197c5.541,11.921,8.72,25.153,8.72,39.145c0,8.341-1.203,16.386-3.267,24.087 c-10.661,39.81-46.947,69.256-90.075,69.256c-43.126,0-79.414-29.446-90.074-69.256c-2.064-7.701-3.268-15.746-3.268-24.087 C681.559,1441.982,684.739,1428.75,690.278,1416.829z M644.822,1179.748h-26.389l-20.453-56.187l-49.751-136.69h255.596v192.877 H644.822z M1553.244,923.641h-289.426V723.412h362.303L1553.244,923.641z M1200.588,923.641H867.055V723.412h333.533V923.641z M803.825,923.641H525.214l-72.876-200.229h351.487V923.641z M867.055,1179.748V986.871h333.533v192.877H867.055z M1480.479,1123.562l-20.449,56.187h-26.389h-169.822V986.871h266.412L1480.479,1123.562z M1649.132,660.181h-385.313V462.942 h457.104L1649.132,660.181z M905.72,462.942h267.024h27.844v197.239H867.055V462.942H905.72z M357.535,462.942h446.29v197.239 H429.327l-69.625-191.293c-0.005-0.004-0.005-0.004-0.005-0.004l-0.04-0.11L357.535,462.942z"})}),sign:e=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:(0,l.jsx)("path",{d:"M1712.873,820.293l-198.091-185.002c-5.813-5.427-13.466-8.446-21.414-8.446h-269.041 c-1.497-0.219-3.028-0.333-4.585-0.333H925.895V557.06h459.658c17.326,0,31.37-14.039,31.37-31.37V155.012 c0-17.326-14.044-31.37-31.37-31.37H925.895V34.977c0-17.33-14.044-31.369-31.37-31.369s-31.37,14.04-31.37,31.369v88.666H580.263 c-1.541,0-3.055,0.114-4.534,0.333H306.631c-7.948,0-15.602,3.019-21.414,8.446L87.126,317.427 c-6.351,5.931-9.957,14.232-9.957,22.924s3.606,16.994,9.957,22.923L285.218,548.29c5.812,5.427,13.466,8.442,21.414,8.442h269.063 c1.492,0.214,3.015,0.328,4.569,0.328h282.892v69.453H414.452c-17.327,0-31.37,14.043-31.37,31.369v370.687 c0,17.326,14.043,31.37,31.37,31.37h448.703v311.637c-115.444,13.001-207.037,96.86-224.778,205.702H429.169 c-17.326,0-31.37,14.043-31.37,31.368v156.378c0,17.325,14.043,31.368,31.37,31.368h930.711c17.326,0,31.369-14.043,31.369-31.368 v-156.378c0-17.325-14.043-31.368-31.369-31.368h-209.207c-17.742-108.842-109.339-192.701-224.779-205.702v-311.637h293.848 c1.539,0,3.054-0.113,4.533-0.333h269.093c7.948,0,15.602-3.02,21.414-8.445l198.091-185.016c6.351-5.93,9.957-14.232,9.957-22.923 C1722.83,834.529,1719.224,826.228,1712.873,820.293z M584.832,494.32c-1.492-0.219-3.015-0.328-4.569-0.328h-261.26L154.5,340.351 l164.502-153.636h261.26c1.541,0,3.055-0.114,4.534-0.333h278.358h62.739h428.289V494.32H925.895h-62.739H584.832z M1328.512,1733.653H460.54v-93.638h206.144h455.684h206.145V1733.653z M1086.853,1577.277h-384.66 c18.788-83.375,97.479-144.788,192.332-144.788C989.365,1432.489,1068.061,1493.911,1086.853,1577.277z M1480.997,996.866h-261.255 c-1.56,0-3.091,0.114-4.588,0.332h-289.26h-62.739H445.822V689.252h417.333h62.739h289.26c1.497,0.219,3.028,0.333,4.588,0.333 h261.255L1645.5,843.221L1480.997,996.866z"})}),siteMap:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1765.051,0H34.949C17.561,0,3.466,14.095,3.466,31.484v476.753c0,17.389,14.095,31.483,31.483,31.483 h1730.102c17.389,0,31.484-14.095,31.484-31.483V31.484C1796.535,14.095,1782.439,0,1765.051,0z M1733.567,476.753H66.433V62.968 h1667.134V476.753z"}),(0,l.jsx)("path",{d:"M511.707,1260.279H34.954c-17.389,0-31.484,14.1-31.484,31.484v476.753 c0,17.394,14.095,31.483,31.484,31.483h476.753c17.389,0,31.483-14.09,31.483-31.483v-476.753 C543.19,1274.379,529.096,1260.279,511.707,1260.279z M480.223,1737.033H66.438v-413.786h413.786V1737.033z"}),(0,l.jsx)("path",{d:"M1138.377,1260.279H661.624c-17.389,0-31.484,14.1-31.484,31.484v476.753 c0,17.394,14.095,31.483,31.484,31.483h476.753c17.389,0,31.483-14.09,31.483-31.483v-476.753 C1169.86,1274.379,1155.766,1260.279,1138.377,1260.279z M1106.893,1737.033H693.107v-413.786h413.785V1737.033z"}),(0,l.jsx)("path",{d:"M1765.051,1260.279h-476.753c-17.39,0-31.483,14.1-31.483,31.484v476.753 c0,17.394,14.094,31.483,31.483,31.483h476.753c17.389,0,31.484-14.09,31.484-31.483v-476.753 C1796.535,1274.379,1782.439,1260.279,1765.051,1260.279z M1733.567,1737.033h-413.786v-413.786h413.786V1737.033z"}),(0,l.jsx)("path",{d:"M900,593.693c-17.389,0-31.483,14.095-31.483,31.484v324.763H273.33c-17.389,0-31.483,14.1-31.483,31.484 v193.4c0,17.393,14.095,31.482,31.483,31.482c17.389,0,31.484-14.09,31.484-31.482v-161.917h563.703v161.917 c0,17.393,14.095,31.482,31.483,31.482s31.484-14.09,31.484-31.482v-161.917h563.706v161.917c0,17.393,14.095,31.482,31.483,31.482 s31.484-14.09,31.484-31.482v-193.4c0-17.385-14.096-31.484-31.484-31.484H931.484V625.177 C931.484,607.788,917.389,593.693,900,593.693z"})]}),statistics:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M152.728,528.008c-63.267,0-114.738-51.469-114.738-114.733c0-63.265,51.472-114.734,114.738-114.734 c63.262,0,114.729,51.469,114.729,114.734C267.457,476.539,215.99,528.008,152.728,528.008z M152.728,360.752 c-28.962,0-52.526,23.562-52.526,52.522s23.563,52.521,52.526,52.521c28.958,0,52.517-23.562,52.517-52.521 S181.686,360.752,152.728,360.752z"}),(0,l.jsx)("path",{d:"M1124.017,703.674c-63.267,0-114.738-51.465-114.738-114.725c0-63.267,51.472-114.738,114.738-114.738 c63.262,0,114.729,51.472,114.729,114.738C1238.745,652.209,1187.278,703.674,1124.017,703.674z M1124.017,536.423 c-28.963,0-52.526,23.563-52.526,52.526c0,28.956,23.563,52.513,52.526,52.513c28.957,0,52.517-23.558,52.517-52.513 C1176.533,559.986,1152.974,536.423,1124.017,536.423z"}),(0,l.jsx)("path",{d:"M638.373,391.099c-103.739,0-188.138-84.396-188.138-188.133S534.634,14.833,638.373,14.833 c103.733,0,188.125,84.396,188.125,188.133S742.106,391.099,638.373,391.099z M638.373,77.045 c-69.435,0-125.926,56.488-125.926,125.921c0,69.433,56.491,125.921,125.926,125.921c69.429,0,125.913-56.488,125.913-125.921 C764.286,133.533,707.802,77.045,638.373,77.045z"}),(0,l.jsx)("path",{d:"M1609.674,391.099c-103.737,0-188.137-84.396-188.137-188.133s84.399-188.133,188.137-188.133 c103.733,0,188.129,84.396,188.129,188.133S1713.407,391.099,1609.674,391.099z M1609.674,77.045 c-69.437,0-125.925,56.488-125.925,125.921c0,69.433,56.488,125.921,125.925,125.921c69.429,0,125.917-56.488,125.917-125.921 C1735.591,133.533,1679.103,77.045,1609.674,77.045z"}),(0,l.jsx)("rect",{x:"332.296",y:"178.864",transform:"matrix(0.4637 0.886 -0.886 0.4637 480.4105 -149.1437)",width:"62.214",height:"286.801"}),(0,l.jsx)("rect",{x:"721.561",y:"398.765",transform:"matrix(0.767 0.6417 -0.6417 0.767 488.2679 -484.7798)",width:"380.063",height:"62.211"}),(0,l.jsx)("polygon",{points:"1216.137,584.88 1176.993,536.524 1473.117,296.842 1512.26,345.197"}),(0,l.jsx)("path",{d:"M223.333,1785.167H82.119c-44.068,0-79.922-36.348-79.922-81.023V761.958 c0-44.678,35.854-81.024,79.922-81.024h141.214c44.068,0,79.921,36.346,79.921,81.024v942.185 C303.254,1748.819,267.401,1785.167,223.333,1785.167z M82.119,743.146c-9.767,0-17.71,8.438-17.71,18.812v942.185 c0,10.371,7.943,18.812,17.71,18.812h141.214c9.766,0,17.709-8.44,17.709-18.812V761.958c0-10.374-7.944-18.812-17.709-18.812 H82.119z"}),(0,l.jsx)("path",{d:"M708.974,1785.167H567.755c-44.066,0-79.917-38.839-79.917-86.578V651.512 c0-47.74,35.852-86.579,79.917-86.579h141.218c44.066,0,79.917,38.839,79.917,86.579v1047.077 C788.891,1746.328,753.04,1785.167,708.974,1785.167z M567.755,627.146c-9.597,0-17.706,11.159-17.706,24.367v1047.077 c0,13.209,8.108,24.366,17.706,24.366h141.218c9.597,0,17.705-11.157,17.705-24.366V651.512c0-13.208-8.108-24.367-17.705-24.367 H567.755z"}),(0,l.jsx)("path",{d:"M1194.621,1785.167h-141.21c-44.072,0-79.926-31.604-79.926-70.452V972.037 c0-38.848,35.854-70.453,79.926-70.453h141.21c44.072,0,79.926,31.605,79.926,70.453v742.678 C1274.547,1753.563,1238.693,1785.167,1194.621,1785.167z M1053.411,963.796c-11.43,0-17.714,6.188-17.714,8.241v742.678 c0,2.053,6.284,8.24,17.714,8.24h141.21c11.431,0,17.714-6.188,17.714-8.24V972.037c0-2.053-6.283-8.241-17.714-8.241H1053.411z"}),(0,l.jsx)("path",{d:"M1680.271,1785.167h-141.219c-44.067,0-79.917-38.839-79.917-86.578V651.512 c0-47.74,35.85-86.579,79.917-86.579h141.219c44.072,0,79.926,38.839,79.926,86.579v1047.077 C1760.196,1746.328,1724.343,1785.167,1680.271,1785.167z M1539.052,627.146c-9.599,0-17.705,11.159-17.705,24.367v1047.077 c0,13.209,8.106,24.366,17.705,24.366h141.219c9.604,0,17.714-11.157,17.714-24.366V651.512c0-13.208-8.11-24.367-17.714-24.367 H1539.052z"})]}),tag:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M709.54,1791.754c-8.041,0-16.079-3.068-22.216-9.2L17.443,1112.676 c-5.893-5.895-9.202-13.885-9.202-22.217s3.309-16.323,9.202-22.214l784.741-784.743c1.773-1.772,3.706-3.289,5.751-4.549 l261.497-261.504c7.938-7.94,19.514-11.034,30.349-8.133l527.374,141.313c10.844,2.903,19.313,11.372,22.219,22.213 l141.314,527.374c2.906,10.844-0.197,22.411-8.131,30.348l-261.53,261.529c-1.271,2.06-2.788,3.983-4.522,5.724l-784.748,784.736 C725.622,1788.686,717.579,1791.754,709.54,1791.754z M84.09,1090.459l625.45,625.445l757.407-757.398 c1.268-2.061,2.784-3.98,4.52-5.721l253.83-253.825l-131.928-492.333l-492.33-131.92L847.216,328.534 c-1.773,1.773-3.706,3.292-5.753,4.552L84.09,1090.459z"}),(0,l.jsx)("path",{d:"M792.92,1469.969c-8.041,0-16.082-3.068-22.216-9.2l-431.477-431.476c-12.27-12.273-12.27-32.164,0-44.437 c12.269-12.264,32.164-12.264,44.432,0l431.477,431.477c12.271,12.272,12.271,32.163,0,44.436 C809.001,1466.9,800.961,1469.969,792.92,1469.969z"}),(0,l.jsx)("path",{d:"M939.701,1323.197c-8.039,0-16.082-3.068-22.218-9.201L486.005,882.514 c-12.271-12.269-12.271-32.163,0-44.432c12.268-12.269,32.163-12.269,44.431,0l431.483,431.479 c12.269,12.273,12.269,32.163,0,44.436C955.782,1320.129,947.739,1323.197,939.701,1323.197z"}),(0,l.jsx)("path",{d:"M1086.482,1176.416c-8.039,0-16.082-3.068-22.214-9.201L632.781,735.737 c-12.271-12.268-12.271-32.161,0-44.431c12.269-12.269,32.163-12.269,44.432,0l431.482,431.474 c12.273,12.273,12.273,32.164,0.005,44.436C1102.563,1173.348,1094.521,1176.416,1086.482,1176.416z"}),(0,l.jsx)("path",{d:"M1243.656,776.548c-0.01,0-0.014,0-0.018,0c-58.822-0.004-114.115-22.908-155.697-64.493 c-41.586-41.586-64.492-96.882-64.492-155.698c0.004-58.814,22.906-114.109,64.492-155.698 c41.592-41.589,96.885-64.491,155.701-64.491c58.813,0,114.109,22.902,155.696,64.491c85.852,85.855,85.852,225.547,0.005,311.396 C1357.748,753.644,1302.459,776.548,1243.656,776.548z M1243.643,399.003c-42.034,0-81.548,16.367-111.266,46.086 c-29.721,29.72-46.092,69.235-46.092,111.267s16.371,81.548,46.088,111.267c29.717,29.717,69.23,46.086,111.27,46.088 c0,0,0.009,0,0.014,0c42.02,0.002,81.529-16.367,111.256-46.088c61.35-61.35,61.35-161.18-0.005-222.534 C1325.189,415.37,1285.672,399.003,1243.643,399.003z"})]}),telescope:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1052.813,485.532L609.43,348.438c-16.666-5.157-34.337,4.185-39.486,20.838 c-5.153,16.658,4.176,34.338,20.838,39.486l443.382,137.095c3.101,0.96,6.245,1.418,9.329,1.418 c13.486,0,25.969-8.704,30.152-22.256C1078.799,508.361,1069.47,490.682,1052.813,485.532z"}),(0,l.jsx)("path",{d:"M1776.781,656.89l-125.688-38.605c-8.016-2.458-16.648-1.634-24.058,2.286 c-7.399,3.92-12.932,10.619-15.39,18.622l-12.685,41.283L1491.73,647.72l14.939-49.04c5.082-16.671-4.308-34.307-20.975-39.398 l-236.936-72.379l8.219-26.951c5.074-16.671-4.308-34.307-20.983-39.398L378.425,158.56l2.409-7.904 c5.078-16.671-4.308-34.304-20.979-39.396L189.63,59.251c-8.003-2.444-16.658-1.612-24.062,2.326 c-7.391,3.936-12.919,10.65-15.363,18.664L2.293,565.571c-5.078,16.671,4.308,34.307,20.979,39.398l170.239,52.008 c3.017,0.921,6.123,1.379,9.223,1.379c5.127,0,10.227-1.251,14.839-3.704c7.395-3.938,12.918-10.65,15.363-18.662l2.396-7.866 l622.02,190.019c-23.154,21.181-37.707,51.621-37.707,85.404c0,44.838,25.644,83.77,63.02,102.999l-498.98,685.429 c-10.263,14.096-7.153,33.845,6.944,44.107c5.611,4.078,12.112,6.043,18.556,6.043c9.751,0,19.371-4.502,25.551-12.984 l469.098-644.389v625.802c0,17.441,14.131,31.571,31.573,31.571c17.433,0,31.563-14.13,31.563-31.571v-625.802l469.097,644.389 c6.185,8.482,15.795,12.984,25.556,12.984c6.439,0,12.939-1.965,18.551-6.043c14.095-10.263,17.205-30.012,6.941-44.107 l-498.977-685.429c37.376-19.229,63.02-58.161,63.02-102.999c0-9.364-1.146-18.464-3.251-27.194l44.943,13.733 c3.021,0.925,6.122,1.378,9.224,1.378c5.127,0,10.227-1.251,14.843-3.704c7.391-3.938,12.914-10.65,15.362-18.662l8.201-26.902 l236.893,72.361c3.021,0.925,6.123,1.379,9.223,1.379c5.127,0,10.228-1.251,14.844-3.704c7.391-3.938,12.914-10.65,15.363-18.662 l14.931-48.991l106.81,32.633l-13.963,45.441c-2.457,8.007-1.639,16.657,2.291,24.058c3.92,7.395,10.615,12.936,18.622,15.394 l125.687,38.601c3.084,0.951,6.202,1.401,9.276,1.401c13.505,0,25.995-8.729,30.171-22.313l87.06-283.452 C1802.803,679.67,1793.447,662.008,1776.781,656.89z M181.741,587.36L71.893,553.802l129.505-424.934l109.835,33.558 L181.741,587.36z M935.405,956.158c-29.017,0-52.618-23.6-52.618-52.611c0-29.013,23.602-52.616,52.618-52.616 c29.009,0,52.607,23.604,52.607,52.616C988.013,932.559,964.414,956.158,935.405,956.158z M272.061,573.323l106.294-348.767 l809.024,247.163l-106.29,348.749L272.061,573.323z M1365.603,844.94l-204.968-62.61l71.467-234.496l204.969,62.615l-24.207,79.426 l-32.33,106.069c-0.018,0.035-0.018,0.07-0.025,0.106L1365.603,844.94z M1473.318,708.119l105.479,32.219l-23.177,76.07 l-105.487-32.232L1473.318,708.119z M1659.533,931.074l-65.319-20.063l68.517-223.097l65.328,20.063L1659.533,931.074z"})]}),trophy:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1680.014,241.388c-5.876-5.976-13.907-9.342-22.291-9.342h-265.229v-45.949 c1.754-3.904,2.748-8.221,2.748-12.777s-0.994-8.873-2.748-12.777V39.669c0-17.271-13.998-31.269-31.269-31.269H435.739 c-17.271,0-31.269,13.998-31.269,31.269v192.377H142.277c-8.384,0-16.415,3.366-22.291,9.342 c-5.88,5.977-9.112,14.064-8.973,22.446c2.543,153.317,35.5,297.176,92.802,405.076c59.797,112.598,140.534,175.43,227.77,177.55 c51.846,154.953,178.085,274.968,335.409,319.092v235.304c-64.348,36.395-110.3,98.631-122.317,172.335H436.145 c-17.27,0-31.269,13.994-31.269,31.269v155.872c0,17.266,13.999,31.269,31.269,31.269h927.711c17.27,0,31.269-14.003,31.269-31.269 v-155.872c0-17.274-13.999-31.269-31.269-31.269h-208.533c-12.018-73.704-57.97-135.94-122.317-172.335v-234.902 c158.275-43.941,284.886-164.749,336.9-319.526c86.665-2.796,166.826-65.56,226.278-177.517 c57.303-107.9,90.26-251.759,92.803-405.076C1689.126,255.452,1685.894,247.364,1680.014,241.388z M404.876,780.025 c-53.494-13.72-104.375-62.389-145.83-140.445c-48.844-91.976-78.495-213.492-84.514-344.997h229.938v420.416 c0,1.625,0.166,3.209,0.405,4.768V780.025z M1332.587,1635.728v93.335H467.413v-93.335h205.479h454.215H1332.587z M1091.708,1573.19H708.292c18.728-83.109,97.165-144.329,191.708-144.329S1072.98,1490.081,1091.708,1573.19z M829.532,1375.485 v-196.677c23.286,3.368,47.082,5.112,71.266,5.112c23.648,0,46.899-1.71,69.669-4.929v196.493 c-22.392-5.934-46.009-9.161-70.468-9.161S851.924,1369.552,829.532,1375.485z M1332.587,707.252 c-9.506,229.967-199.529,414.132-431.789,414.132c-229.411,0-418.955-179.262-431.518-408.099c-0.17-3.104-0.863-6.049-1.867-8.838 V263.314c0-1.636-0.161-3.23-0.405-4.798V70.938h862.948v71.113H705.099c-17.27,0-31.269,13.999-31.269,31.269 c0,17.271,13.999,31.269,31.269,31.269h624.857v431.585c0,1.182,0.065,2.362,0.201,3.536c1.212,10.64,1.993,21.318,2.43,31.934 V707.252z M1540.954,639.58c-41.455,78.056-92.336,126.726-145.83,140.445v-71.698c0.244-6.354,0.405-12.729,0.405-19.142 c0-6.214-0.166-12.476-0.405-18.753v-375.85h230.344C1619.448,426.088,1589.798,547.604,1540.954,639.58z"}),(0,l.jsx)("path",{d:"M1123.914,493.53l-135.348-19.667l-60.525-122.645c-5.27-10.675-16.141-17.432-28.041-17.432 s-22.771,6.757-28.041,17.432l-60.526,122.645L676.086,493.53c-11.778,1.712-21.563,9.961-25.24,21.281 c-3.677,11.32-0.61,23.746,7.913,32.054l97.933,95.463l-23.12,134.8c-2.011,11.729,2.81,23.586,12.441,30.581 c9.623,6.991,22.392,7.924,32.926,2.38L900,746.447l121.062,63.643c4.571,2.405,9.566,3.592,14.543,3.592 c6.487,0,12.938-2.013,18.383-5.972c9.632-6.995,14.452-18.852,12.441-30.581l-23.12-134.8l97.933-95.463 c8.523-8.308,11.59-20.734,7.913-32.054C1145.477,503.491,1135.692,495.242,1123.914,493.53z M987.886,609.021 c-7.372,7.185-10.735,17.534-8.994,27.677l15.188,88.558l-79.532-41.81c-4.554-2.395-9.549-3.592-14.548-3.592 s-9.994,1.197-14.548,3.592l-79.533,41.81l15.189-88.558c1.741-10.143-1.622-20.492-8.995-27.677l-64.334-62.714l88.916-12.921 c10.186-1.481,18.988-7.876,23.543-17.106L900,435.711l39.762,80.568c4.555,9.23,13.357,15.625,23.543,17.106l88.916,12.921 L987.886,609.021z"})]}),university:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1764.199,1597.184h-323.761V853.397h154.119c17.438,0,31.572-14.134,31.572-31.572V712.784h141.549 c0.04,0,0.058,0,0.089,0c17.438,0,31.571-14.134,31.571-31.571c0-11.04-5.664-20.757-14.244-26.399L918.838,8.395 c-11.205-8.355-26.562-8.355-37.767,0L13.352,655.908C2.451,664.046-2.016,678.25,2.271,691.16 c4.285,12.91,16.362,21.624,29.964,21.624h141.549v109.042c0,17.438,14.135,31.572,31.572,31.572h154.115v743.786H35.719 c-17.438,0-31.572,14.13-31.572,31.572v137.545c0,17.434,14.134,31.572,31.572,31.572h1728.48 c17.438,0,31.572-14.139,31.572-31.572v-137.545C1795.771,1611.313,1781.637,1597.184,1764.199,1597.184z M899.953,73.094 l772.627,576.547H127.333L899.953,73.094z M1302.901,1596.117V867.153h74.394v728.964H1302.901z M1239.758,1597.184H1000.3 V853.397h239.458V1597.184z M862.753,867.153h74.403v728.964h-74.403V867.153z M236.927,715.852h1326.059v74.402H236.927V715.852z M497.016,867.153v728.964h-74.402V867.153H497.016z M560.16,853.397h239.449v743.786H560.16V853.397z M1732.628,1734.729H67.29 v-74.401h1665.338V1734.729z"}),(0,l.jsx)("path",{d:"M899.998,568.438c-83.726,0-151.843-68.116-151.843-151.845s68.117-151.845,151.843-151.845 c83.733,0,151.849,68.116,151.849,151.845S983.73,568.438,899.998,568.438z M899.998,327.893 c-48.908,0-88.699,39.791-88.699,88.701s39.791,88.701,88.699,88.701c48.915,0,88.706-39.791,88.706-88.701 S948.912,327.893,899.998,327.893z"})]}),usb:e=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:(0,l.jsx)("path",{d:"M1389.648,533.77h-210.622c-17.325,0-31.369,14.044-31.369,31.37v210.622 c0,17.325,14.044,31.37,31.369,31.37h73.015v150.124c0,1.183,0.078,2.459,0.209,3.638c0.084,0.703,7.558,70.689-28.16,110.688 c-17.31,19.387-42.328,28.806-76.489,28.806c-11.198,0-22.188-0.105-32.945-0.211c-80.702-0.787-156.951-1.514-209.037,48.604 V323.104l158.333,86.537c0.021,0.01,0.045,0.022,0.067,0.035l0.231,0.127c0.516,0.279,1.049,0.481,1.574,0.735 c0.635,0.302,1.257,0.63,1.904,0.889c0.941,0.372,1.891,0.661,2.845,0.936c0.297,0.083,0.581,0.206,0.88,0.28 c2.587,0.669,5.208,1.006,7.816,1.006c0.014,0,0.03,0,0.044,0c0.004,0,0.009,0,0.013,0c3.681,0,7.387-0.709,10.958-2.048 c0.358-0.136,0.735-0.228,1.093-0.376c0.277-0.114,0.534-0.281,0.812-0.402c1.023-0.46,2.043-0.946,3.015-1.519 c0.018-0.009,0.034-0.018,0.053-0.027c1.042-0.613,2.017-1.291,2.958-2c0.323-0.241,0.625-0.508,0.937-0.766 c0.7-0.573,1.375-1.168,2.017-1.79c0.284-0.28,0.565-0.551,0.837-0.84c0.857-0.901,1.673-1.829,2.407-2.814 c0.017-0.022,0.034-0.044,0.052-0.065c0.797-1.068,1.492-2.188,2.135-3.34c0.07-0.118,0.16-0.223,0.225-0.346 c0.126-0.228,0.219-0.463,0.337-0.696c0.267-0.521,0.525-1.042,0.762-1.576c0.2-0.459,0.394-0.918,0.573-1.382 c0.18-0.46,0.35-0.924,0.507-1.392c0.181-0.534,0.346-1.072,0.494-1.61c0.118-0.416,0.224-0.836,0.32-1.26 c0.136-0.574,0.259-1.152,0.359-1.729c0.074-0.42,0.136-0.84,0.192-1.265c0.074-0.564,0.139-1.134,0.184-1.698 c0.035-0.473,0.057-0.941,0.069-1.414c0.018-0.513,0.03-1.02,0.021-1.527c-0.008-0.542-0.039-1.084-0.073-1.627 c-0.031-0.438-0.066-0.875-0.114-1.309c-0.065-0.6-0.153-1.195-0.254-1.794c-0.065-0.386-0.135-0.771-0.214-1.156 c-0.126-0.604-0.277-1.204-0.438-1.803c-0.104-0.394-0.219-0.783-0.337-1.168c-0.175-0.556-0.367-1.107-0.573-1.654 c-0.165-0.446-0.345-0.888-0.534-1.326c-0.2-0.468-0.411-0.936-0.638-1.4c-0.25-0.512-0.518-1.016-0.798-1.514 c-0.127-0.232-0.231-0.473-0.366-0.705L901.254,19.416c-0.013-0.018-0.025-0.035-0.034-0.057c-1.059-1.78-2.293-3.475-3.711-5.037 c-2.144-2.372-4.608-4.354-7.278-5.929c-0.009-0.004-0.014-0.015-0.022-0.019c-0.1-0.057-0.206-0.1-0.306-0.161 c-0.774-0.442-1.562-0.867-2.368-1.243c-0.481-0.228-0.971-0.408-1.457-0.608c-0.438-0.175-0.872-0.373-1.317-0.53 c-0.644-0.228-1.295-0.411-1.948-0.6c-0.306-0.087-0.613-0.188-0.924-0.267c-0.687-0.176-1.377-0.302-2.069-0.43 c-0.306-0.057-0.608-0.122-0.91-0.17c-0.652-0.096-1.304-0.153-1.961-0.21c-0.367-0.035-0.735-0.075-1.111-0.097 c-0.569-0.026-1.138-0.021-1.708-0.018c-0.462,0-0.927-0.009-1.391,0.013c-0.477,0.026-0.954,0.08-1.427,0.123 c-0.551,0.053-1.103,0.101-1.654,0.18c-0.402,0.061-0.805,0.148-1.212,0.224c-0.595,0.114-1.19,0.223-1.781,0.372 c-0.407,0.101-0.801,0.232-1.204,0.346c-0.564,0.167-1.129,0.324-1.689,0.521c-0.521,0.184-1.024,0.407-1.532,0.617 c-0.42,0.175-0.844,0.333-1.256,0.525c-0.836,0.389-1.645,0.822-2.446,1.282c-0.083,0.048-0.166,0.083-0.249,0.131 c-0.009,0.004-0.013,0.009-0.018,0.015c-2.67,1.575-5.133,3.557-7.273,5.929c-1.418,1.562-2.661,3.257-3.72,5.042 c-0.009,0.022-0.022,0.04-0.035,0.057L642.195,366.311c-0.136,0.232-0.241,0.473-0.368,0.705c-0.28,0.498-0.547,1.002-0.796,1.514 c-0.228,0.464-0.438,0.932-0.64,1.4c-0.188,0.438-0.367,0.88-0.534,1.326c-0.206,0.547-0.398,1.099-0.573,1.654 c-0.119,0.386-0.232,0.774-0.337,1.168c-0.162,0.6-0.31,1.199-0.437,1.803c-0.079,0.385-0.149,0.774-0.214,1.16 c-0.102,0.595-0.188,1.19-0.254,1.785c-0.048,0.438-0.083,0.875-0.114,1.317c-0.035,0.543-0.065,1.081-0.075,1.624 c-0.009,0.508,0.005,1.015,0.022,1.527c0.014,0.473,0.035,0.941,0.07,1.414c0.044,0.564,0.11,1.133,0.184,1.698 c0.057,0.424,0.119,0.844,0.193,1.265c0.101,0.577,0.223,1.155,0.359,1.729c0.097,0.424,0.201,0.844,0.32,1.26 c0.148,0.538,0.315,1.076,0.495,1.61c0.157,0.468,0.328,0.932,0.507,1.392c0.179,0.463,0.372,0.923,0.573,1.382 c0.236,0.534,0.495,1.055,0.762,1.576c0.118,0.232,0.209,0.468,0.336,0.696c0.066,0.123,0.154,0.228,0.224,0.346 c0.644,1.147,1.34,2.272,2.132,3.335c0.026,0.035,0.057,0.066,0.079,0.096c0.731,0.972,1.531,1.896,2.381,2.783 c0.275,0.293,0.56,0.569,0.849,0.85c0.634,0.617,1.3,1.208,1.991,1.772c0.323,0.263,0.63,0.538,0.962,0.783 c0.937,0.709,1.912,1.382,2.949,1.995c0.018,0.009,0.031,0.018,0.048,0.027c0.972,0.569,1.991,1.054,3.015,1.519 c0.276,0.122,0.538,0.289,0.814,0.402c0.307,0.127,0.63,0.206,0.937,0.319c3.62,1.383,7.379,2.105,11.116,2.105c0,0,0.009,0,0.014,0 c0.013,0,0.03,0,0.043,0c2.604,0,5.229-0.337,7.812-1.006c0.315-0.079,0.613-0.206,0.923-0.293c0.941-0.275,1.877-0.555,2.806-0.923 c0.648-0.259,1.269-0.586,1.899-0.889c0.525-0.25,1.063-0.456,1.58-0.735l0.232-0.127c0.021-0.013,0.043-0.025,0.065-0.035 l158.334-86.537v909.841c-5.212-4.901-10.743-9.404-16.647-13.475c-48.773-33.641-113.368-33.615-181.427-33.589h-5.891 c-24.678,0-43.281-7.29-56.879-22.283c-29.588-32.639-30.55-96.035-28.433-117.639c0.109-1.064,0.167-2.137,0.167-3.21V885.151 c57.732-14.416,100.637-66.698,100.637-128.838c0-73.225-59.575-132.799-132.799-132.799c-73.224,0-132.798,59.575-132.798,132.799 c0,62.704,43.692,115.354,102.222,129.206v155.821c-1.217,14.548-6.74,107.597,44.323,164.174 c25.815,28.603,60.66,43.105,103.561,43.105h5.913c60.655-0.034,113.11-0.043,145.783,22.495 c22.091,15.237,51.456,49.521,51.456,170.867c0,2.417,0.298,4.752,0.814,7.013v36.479 c-71.505,14.574-125.477,77.941-125.477,153.688c0,86.483,70.362,156.846,156.846,156.846c86.485,0,156.847-70.362,156.847-156.846 c0-75.747-53.973-139.114-125.477-153.688v-119.191c0-86.992,13.938-143.084,42.62-171.48c33.522-33.195,91.893-32.613,165.8-31.895 c10.958,0.112,22.153,0.219,33.563,0.219c52.507,0,94.086-16.849,123.582-50.092c50.612-57.03,45.009-142.509,43.597-157.389 V807.131h74.869c17.326,0,31.37-14.044,31.37-31.37V565.14C1421.019,547.814,1406.975,533.77,1389.648,533.77z M451.546,756.313 c0-38.63,31.43-70.06,70.06-70.06c38.63,0,70.061,31.43,70.061,70.06c0,38.634-31.43,70.06-70.061,70.06 C482.977,826.374,451.546,794.947,451.546,756.313z M874.248,97.029l119.998,203.012l-104.952-57.36 c-0.097-0.052-0.197-0.092-0.298-0.141c-0.521-0.28-1.055-0.521-1.588-0.77c-0.429-0.197-0.853-0.411-1.291-0.586 c-0.407-0.171-0.832-0.307-1.248-0.456c-0.568-0.206-1.137-0.419-1.715-0.591c-0.245-0.074-0.499-0.127-0.749-0.193 c-0.744-0.201-1.488-0.397-2.236-0.542c-0.109-0.017-0.219-0.026-0.327-0.048c-0.884-0.161-1.773-0.296-2.657-0.38 c-0.14-0.009-0.28-0.009-0.415-0.018c-0.859-0.07-1.712-0.122-2.569-0.118c-0.381,0-0.766,0.039-1.146,0.052 c-0.613,0.022-1.226,0.035-1.829,0.092c-0.552,0.053-1.094,0.153-1.646,0.236c-0.446,0.066-0.897,0.114-1.339,0.202 c-0.529,0.105-1.049,0.25-1.579,0.381c-0.468,0.118-0.937,0.218-1.396,0.354c-0.434,0.131-0.857,0.298-1.287,0.447 c-0.56,0.192-1.119,0.38-1.671,0.608c-0.333,0.136-0.656,0.301-0.989,0.45c-0.634,0.285-1.265,0.578-1.882,0.91 c-0.074,0.04-0.158,0.07-0.232,0.11l-104.952,57.36L874.248,97.029z M968.356,1639.161c0,51.893-42.219,94.106-94.108,94.106 s-94.108-42.214-94.108-94.106c0-51.891,42.218-94.108,94.108-94.108S968.356,1587.271,968.356,1639.161z M1358.279,744.392 h-147.885V596.509h147.885V744.392z"})}),usbDrive:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1563.436,1321.387c-17.391,0-31.487,14.098-31.487,31.488c0,27.012-15.801,74.633-50.5,115.373 c-26.98,31.68-73.952,69.445-144.492,69.445c-17.392,0-31.487,14.096-31.487,31.482c0,17.396,14.096,31.488,31.487,31.488 c169.369,0,257.968-161.313,257.968-247.789C1594.924,1335.484,1580.827,1321.387,1563.436,1321.387z"}),(0,l.jsx)("path",{d:"M1656.3,972.827L831.573,148.096c-5.909-5.906-13.917-9.223-22.267-9.223s-16.359,3.316-22.268,9.223 l-96.25,96.253L457.952,11.523c-12.292-12.3-32.23-12.295-44.53,0L11.634,413.309c-12.3,12.3-12.3,32.234-0.004,44.534 L244.466,690.68l-96.255,96.255c-12.296,12.295-12.296,32.23,0,44.53l824.723,824.725c91.26,91.247,212.603,141.5,341.676,141.51 c0,0,0.026,0,0.04,0c129.043,0,250.377-50.263,341.65-141.527C1844.689,1467.777,1844.689,1161.23,1656.3,972.827z M435.688,78.318 L645.48,288.097L288.214,645.368L78.427,435.576L435.688,78.318z M1611.77,1611.646c-79.382,79.369-184.889,123.086-297.12,123.077 c-0.005,0-0.026,0-0.026,0c-112.263-0.009-217.795-43.718-297.16-123.069L215.008,809.197l594.298-594.307l802.46,802.467 C1775.604,1181.204,1775.604,1447.803,1611.77,1611.646z"}),(0,l.jsx)("path",{d:"M332.216,511.8c8.056,0,16.117-3.075,22.267-9.225c12.295-12.295,12.295-32.23-0.004-44.53l-75.952-75.947 c-12.291-12.291-32.229-12.295-44.53,0.004c-12.295,12.295-12.295,32.23,0.004,44.53l75.952,75.947 C316.099,508.725,324.16,511.8,332.216,511.8z"}),(0,l.jsx)("path",{d:"M458.153,354.371c6.15,6.146,14.211,9.221,22.268,9.221c8.056,0,16.117-3.075,22.267-9.221 c12.295-12.3,12.295-32.234,0-44.534l-75.943-75.943c-12.3-12.291-32.234-12.291-44.534,0c-12.296,12.3-12.296,32.234,0,44.534 L458.153,354.371z"})]}),user:e=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:(0,l.jsx)("path",{d:"M899.996,13.388c-488.883,0-886.611,397.732-886.611,886.615c0,297.415,147.216,561.092,372.596,722.011 c14.883,10.622,30.131,20.758,45.673,30.469c101.1,63.151,215.747,106.507,338.525,124.601 c42.384,6.248,85.723,9.529,129.816,9.529c44.084,0,87.423-3.281,129.808-9.529c122.778-18.094,237.434-61.449,338.525-124.592 c15.542-9.711,30.799-19.855,45.682-30.478c225.389-160.919,372.604-424.596,372.604-722.011 C1786.615,411.12,1388.879,13.388,899.996,13.388z M899.996,1724.407c-163.127,0-315.337-47.626-443.461-129.704 c58.621-107.8,176.409-191.24,323.694-221.345v22.277l119.594,66.448l119.932-66.431v-22.295 c147.285,30.104,265.074,113.545,323.694,221.345C1215.324,1676.781,1063.118,1724.407,899.996,1724.407z M554.979,912.854 c-15.75-5.685-27.058-20.743-27.058-38.429c0-17.69,11.308-32.751,27.058-38.44v9.194V912.854z M1238.035,845.179v-8.769 c15.144,6.001,25.896,20.758,25.896,38.001c0,17.261-10.752,32.021-25.896,38.017V845.179z M1212.461,711.77 c-2.014,9.963-4.564,19.813-7.654,29.489c-61.936-32.053-146.322-67.303-235.16-79.466 c-155.131-21.218-168.833-29.74-183.829-73.174l-12.957-37.516l-29.723,26.291c-0.894,0.789-80.681,71.251-161.344,136.272 c-11.984-42.575-13.798-86.934-5.103-130.046c27.397-135.974,156.441-234.666,306.824-234.666c23.249,0,46.749,2.365,69.859,7.017 c85.297,17.195,159.218,63.936,208.153,131.617C1210.005,554.617,1228.081,634.235,1212.461,711.77z M608.063,845.179V817.6 v-56.933c55.635-44.597,111.831-92.696,143.719-120.336c30.452,47.001,85.592,56.964,210.67,74.073 c86.504,11.833,170.369,49.166,222.49,76.398V817.6v27.579v94.646c0,159.053-129.399,288.436-288.436,288.436 c-159.044,0-288.444-129.383-288.444-288.436V845.179z M833.33,1310.867V1275.4c20.489,3.853,41.586,5.962,63.177,5.962 c24.048,0,47.505-2.534,70.154-7.281v36.786v30.843v22.649l-66.796,36.995l-66.535-36.969v-22.676V1310.867z M1387.403,1564.451 c-68.34-121.537-201.975-214.22-367.649-245.175v-61.016c119.42-46.385,206.444-158.038,217.075-290.979 c45.291-6.708,80.194-45.742,80.194-92.871c0-43.972-30.399-80.88-71.265-91.081c8.175-19.678,14.536-40.158,18.745-61.06 c18.588-92.227-2.699-186.615-59.94-265.794c-56.781-78.533-142.27-132.711-240.705-152.558 c-26.547-5.354-53.57-8.062-80.343-8.062c-84.273,0-166.412,27.106-231.29,76.333c-66.301,50.303-111.619,121.676-127.595,200.942 c-13.13,65.121-6.196,132.494,20.021,194.854l5.997,14.245c-43.156,8.487-75.838,46.576-75.838,92.192 c0,47.533,35.52,86.844,81.383,93.041c10.909,135.439,101.083,248.828,224.035,293.486v58.325 c-165.679,30.955-299.3,123.638-367.641,245.175C208.383,1414.259,75.59,1172.364,75.59,900.003 c0-454.583,369.827-824.41,824.406-824.41s824.415,369.828,824.415,824.41C1724.41,1172.364,1591.608,1414.259,1387.403,1564.451z"})}),vault:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1762.581,1.514H37.419c-17.352,0-31.407,14.06-31.407,31.407v1557.842 c0,17.342,14.056,31.406,31.407,31.406h217.792v144.909c0,17.342,14.065,31.407,31.407,31.407h245.651 c17.352,0,31.407-14.065,31.407-31.407v-144.909h672.647v144.909c0,17.342,14.057,31.407,31.408,31.407h245.649 c17.343,0,31.408-14.065,31.408-31.407v-144.909h217.792c17.342,0,31.407-14.064,31.407-31.406V32.92 C1793.988,15.574,1779.923,1.514,1762.581,1.514z M500.862,1735.671H318.026v-109.927h182.835V1735.671z M1481.974,1735.671 h-182.835v-109.927h182.835V1735.671z M215.154,199.597h1369.691v1230.754H215.154V199.597z M152.339,1027.651H68.826V596.919 h83.513V1027.651z M1731.173,1559.354H68.826v-468.894h83.513v371.298c0,17.342,14.057,31.408,31.408,31.408h1432.506 c17.343,0,31.406-14.066,31.406-31.408V168.19c0-17.347-14.063-31.407-31.406-31.407H183.747c-17.351,0-31.408,14.06-31.408,31.407 v365.915H68.826V64.328h1662.347V1559.354z"}),(0,l.jsx)("path",{d:"M1202.266,514.826c-0.763-0.964-1.569-1.906-2.458-2.796c-0.89-0.89-1.832-1.696-2.796-2.456 C1120.456,434.335,1015.561,387.842,900,387.842c-115.556,0-220.443,46.484-296.999,121.712c-0.973,0.767-1.924,1.578-2.818,2.473 c-0.898,0.898-1.708,1.847-2.475,2.82C522.48,591.403,476,696.286,476,811.839c0,115.539,46.471,220.417,121.686,296.968 c0.771,0.982,1.586,1.941,2.493,2.845c0.907,0.902,1.862,1.718,2.844,2.488c76.551,75.219,181.429,121.695,296.977,121.695 c115.557,0,220.447-46.489,297.003-121.721c0.964-0.763,1.911-1.57,2.805-2.463c0.893-0.896,1.704-1.841,2.467-2.81 C1277.511,1032.287,1324,927.396,1324,811.839C1324,696.274,1277.502,591.381,1202.266,514.826z M1196.258,843.247h63.473 c-6.582,76.025-36.775,145.377-83.251,200.659l-44.789-44.788c-12.265-12.265-32.152-12.265-44.416,0 c-12.265,12.265-12.265,32.152,0,44.415l44.784,44.79c-55.278,46.471-124.63,76.66-200.651,83.251v-63.481 c0-17.342-14.065-31.402-31.407-31.402c-17.352,0-31.408,14.061-31.408,31.402v63.481c-76.029-6.591-145.381-36.78-200.66-83.256 l44.784-44.785c12.264-12.263,12.264-32.146,0-44.415c-12.26-12.256-32.148-12.265-44.417,0l-44.784,44.784 c-46.476-55.278-76.666-124.63-83.255-200.655h63.48c17.342,0,31.408-14.062,31.408-31.408s-14.065-31.407-31.408-31.407h-63.48 c6.589-76.025,36.779-145.375,83.255-200.655l44.784,44.789c6.134,6.132,14.17,9.199,22.206,9.199 c8.036,0,16.081-3.067,22.21-9.199c12.264-12.264,12.264-32.15,0-44.417l-44.784-44.789c55.278-46.476,124.63-76.667,200.66-83.253 v63.476c0,17.347,14.056,31.408,31.408,31.408c17.342,0,31.407-14.061,31.407-31.408v-63.476 c76.025,6.585,145.373,36.777,200.656,83.253l-44.789,44.789c-12.265,12.266-12.265,32.152,0,44.417 c6.129,6.132,14.17,9.199,22.211,9.199c8.035,0,16.071-3.067,22.205-9.199l44.789-44.789 c46.476,55.28,76.669,124.628,83.251,200.655h-63.473c-17.351,0-31.407,14.061-31.407,31.407S1178.907,843.247,1196.258,843.247z"}),(0,l.jsx)("path",{d:"M900,654.805c-86.589,0-157.037,70.445-157.037,157.034c0,86.59,70.448,157.037,157.037,157.037 c86.59,0,157.036-70.447,157.036-157.037C1057.036,725.25,986.59,654.805,900,654.805z M900,906.062 c-51.958,0-94.222-42.267-94.222-94.223c0-51.953,42.265-94.22,94.222-94.22c51.952,0,94.223,42.267,94.223,94.22 C994.223,863.794,951.952,906.062,900,906.062z"})]}),wallet:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1763.594,924.166h-129.15V592.01c0-1.524-0.149-3.01-0.229-4.512V331.714 c0-17.393-14.098-31.491-31.491-31.491h-333.9L980.156,11.552c-5.909-5.904-13.918-9.222-22.27-9.222s-16.361,3.317-22.27,9.222 L717.95,229.219L615.625,126.89c-12.301-12.297-32.238-12.297-44.539,0L397.55,300.425c-1.146-0.127-2.311-0.202-3.492-0.202 H36.406c-17.393,0-31.491,14.098-31.491,31.491v335.157c0,1.028,0.057,2.043,0.154,3.044v1042.279 c0,47.131,38.345,85.476,85.476,85.476h1458.422c47.132,0,85.477-38.345,85.477-85.476v-332.152h129.15 c17.394,0,31.491-14.099,31.491-31.492V955.657C1795.085,938.264,1780.987,924.166,1763.594,924.166z M1571.232,363.206v146.372 c-7.112-1.925-14.555-3.045-22.266-3.045h-73.838l-143.327-143.327H1571.232z M957.887,78.356l428.172,428.177h-95.581 L910.096,126.147L957.887,78.356z M865.557,170.687l335.843,335.847H995.27l-232.78-232.78L865.557,170.687z M593.355,193.694 l80.06,80.059l44.535,44.535l188.244,188.245h-85.836L550.438,236.612L593.355,193.694z M731.279,506.533H280.517l225.381-225.381 L731.279,506.533z M191.442,506.533H90.545c-7.851,0-15.42,1.151-22.647,3.141V363.206H334.77L191.442,506.533z M1571.461,1712.195 c0,12.402-10.092,22.493-22.494,22.493H90.545c-12.402,0-22.493-10.091-22.493-22.493V592.01c0-12.402,10.091-22.494,22.493-22.494 h1458.422c11.63,0,21.114,8.905,22.266,20.231v77.125c0,1.235,0.093,2.452,0.229,3.651v253.644h-286.233 c-125.684,0-227.938,102.25-227.938,227.934c0,125.688,102.255,227.943,227.938,227.943h286.233V1712.195z M1732.103,1317.061 h-97.659h-62.982h-286.233c-90.954,0-164.955-74.002-164.955-164.961c0-90.955,74.001-164.951,164.955-164.951h286.233h62.982 h97.659V1317.061z"}),(0,l.jsx)("path",{d:"M1286.726,1044.13c-59.533,0-107.97,48.437-107.97,107.97c0,59.534,48.437,107.971,107.97,107.971 c59.534,0,107.971-48.437,107.971-107.971C1394.696,1092.566,1346.26,1044.13,1286.726,1044.13z M1286.726,1197.088 c-24.805,0-44.987-20.184-44.987-44.988s20.183-44.987,44.987-44.987s44.988,20.183,44.988,44.987 S1311.53,1197.088,1286.726,1197.088z"})]}),warning:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M770.8,796.605v265.968c0,71.216,57.939,129.154,129.154,129.154c71.209,0,129.148-57.938,129.157-129.154 l-0.009-265.964c0-71.215-57.93-129.154-129.148-129.154C828.739,667.456,770.8,725.39,770.8,796.605z M966.08,796.609 l0.009,265.96c-0.009,36.469-29.672,66.138-66.135,66.138c-36.464,0-66.133-29.669-66.133-66.134V796.605 c0-36.465,29.668-66.129,66.133-66.129C936.417,730.476,966.08,760.145,966.08,796.609z"}),(0,l.jsx)("path",{d:"M899.954,1231.867c-71.566,0-129.787,58.221-129.787,129.787c0,71.572,58.221,129.796,129.787,129.796 c71.569,0,129.791-58.224,129.791-129.796C1029.744,1290.088,971.522,1231.867,899.954,1231.867z M899.954,1428.43 c-36.816,0-66.766-29.954-66.766-66.775c0-36.816,29.95-66.767,66.766-66.767c36.814,0,66.768,29.95,66.768,66.767 C966.722,1398.476,936.768,1428.43,899.954,1428.43z"}),(0,l.jsx)("path",{d:"M1790.452,1630.839L927.246,135.725c-5.635-9.75-16.037-15.755-27.292-15.755 c-11.258,0-21.659,6.004-27.29,15.755L8.344,1632.76c-5.627,9.751-5.627,21.761,0,31.511c5.631,9.75,16.032,15.755,27.29,15.755 h1728.644c0.037,0.004,0.063,0.004,0.089,0c17.4,0,31.511-14.106,31.511-31.51 C1795.877,1641.964,1793.882,1635.881,1790.452,1630.839z M90.21,1617.004L899.954,214.5l809.745,1402.503H90.21z"})]}),webpage:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M1718.199,2.029H81.579c-43.977,0-79.754,35.772-79.754,79.741v1636.633 c0,43.973,35.777,79.749,79.754,79.749h1636.62c43.969,0,79.745-35.776,79.745-79.749V81.77 C1797.944,37.801,1762.168,2.029,1718.199,2.029z M1734.873,1718.402c0,9.195-7.479,16.679-16.674,16.679H81.579 c-9.204,0-16.683-7.483-16.683-16.679V340.556h1669.977V1718.402z M1734.873,277.485H64.896V81.77c0-9.19,7.479-16.67,16.683-16.67 h1636.62c9.194,0,16.674,7.479,16.674,16.67V277.485z"}),(0,l.jsx)("circle",{cx:"201.36",cy:"168.237",r:"50.682"}),(0,l.jsx)("circle",{cx:"361.29",cy:"168.237",r:"50.682"}),(0,l.jsx)("circle",{cx:"521.221",cy:"168.237",r:"50.682"}),(0,l.jsx)("path",{d:"M691.019,1349.104c4.712,2.503,9.771,3.687,14.76,3.687c11.293,0,22.218-6.085,27.884-16.753 l362.28-682.476c8.166-15.385,2.314-34.475-13.066-42.64c-15.385-8.166-34.474-2.31-42.639,13.067l-362.291,682.476 C669.782,1321.85,675.634,1340.939,691.019,1349.104z"}),(0,l.jsx)("path",{d:"M281.378,967.035c0.018,0.29,0.062,0.576,0.083,0.871c0.181,2.38,0.647,4.765,1.395,7.114 c0.105,0.325,0.184,0.659,0.299,0.984c0.136,0.388,0.317,0.771,0.471,1.153c0.233,0.599,0.466,1.193,0.739,1.773 c0.021,0.048,0.04,0.102,0.066,0.153c0.057,0.124,0.141,0.229,0.202,0.353c0.537,1.091,1.144,2.143,1.804,3.162 c0.176,0.282,0.352,0.561,0.542,0.832c0.743,1.078,1.544,2.12,2.424,3.103c0.163,0.18,0.338,0.339,0.501,0.514 c0.739,0.788,1.526,1.541,2.354,2.254c0.303,0.259,0.603,0.515,0.911,0.765c0.858,0.688,1.75,1.333,2.692,1.936 c0.176,0.115,0.344,0.247,0.524,0.356c0.928,0.567,1.888,1.091,2.891,1.57l315.32,150.776c4.391,2.098,9.019,3.092,13.581,3.092 c11.769,0,23.058-6.616,28.469-17.941c7.515-15.71,0.871-34.54-14.844-42.055L385.988,965.481l255.813-122.323 c15.715-7.514,22.359-26.344,14.844-42.055c-7.51-15.714-26.344-22.367-42.05-14.848L299.592,936.882 c-0.009,0.004-0.018,0.004-0.022,0.008l-0.295,0.141c-0.264,0.128-0.501,0.282-0.761,0.414c-0.633,0.321-1.263,0.646-1.874,1.016 c-0.356,0.212-0.69,0.449-1.038,0.678c-0.515,0.335-1.034,0.674-1.536,1.042c-0.37,0.274-0.712,0.573-1.074,0.859 c-0.44,0.36-0.879,0.712-1.307,1.1c-0.356,0.325-0.695,0.673-1.033,1.012c-0.388,0.383-0.774,0.761-1.145,1.166 c-0.343,0.383-0.66,0.779-0.981,1.175c-0.33,0.396-0.66,0.787-0.968,1.205c-0.334,0.453-0.638,0.919-0.946,1.391 c-0.255,0.392-0.528,0.774-0.77,1.179c-0.331,0.55-0.621,1.117-0.911,1.681c-0.167,0.317-0.352,0.607-0.501,0.928 c-0.026,0.054-0.044,0.103-0.066,0.154c-0.273,0.581-0.506,1.175-0.739,1.769c-0.154,0.388-0.335,0.77-0.471,1.157 c-0.115,0.325-0.194,0.66-0.299,0.99c-0.748,2.345-1.214,4.729-1.395,7.109c-0.022,0.291-0.066,0.581-0.083,0.872 c-0.027,0.518-0.005,1.037-0.005,1.556C281.373,965.997,281.351,966.512,281.378,967.035z"}),(0,l.jsx)("path",{d:"M1117.246,1129.855c5.411,11.325,16.705,17.941,28.474,17.941c4.558,0,9.19-0.994,13.576-3.092 l315.321-150.776c1.003-0.479,1.967-1.003,2.89-1.57c0.181-0.109,0.349-0.241,0.523-0.356c0.942-0.603,1.839-1.248,2.692-1.936 c0.313-0.25,0.612-0.506,0.916-0.765c0.826-0.713,1.61-1.466,2.35-2.254c0.166-0.175,0.343-0.334,0.501-0.514 c0.88-0.982,1.681-2.024,2.429-3.103c0.184-0.271,0.361-0.55,0.54-0.832c0.661-1.02,1.268-2.071,1.805-3.162 c0.063-0.124,0.145-0.229,0.202-0.353c0.022-0.052,0.039-0.105,0.065-0.153c0.274-0.58,0.503-1.175,0.74-1.773 c0.153-0.383,0.334-0.766,0.47-1.153c0.115-0.325,0.193-0.659,0.301-0.984c0.746-2.35,1.209-4.734,1.393-7.114 c0.022-0.295,0.066-0.581,0.081-0.871c0.026-0.523,0.008-1.038,0.008-1.554c0-0.519,0.019-1.038-0.008-1.556 c-0.015-0.291-0.059-0.581-0.081-0.872c-0.184-2.381-0.646-4.765-1.393-7.109c-0.107-0.33-0.186-0.665-0.301-0.99 c-0.136-0.388-0.316-0.77-0.47-1.157c-0.237-0.594-0.466-1.188-0.74-1.769c-0.026-0.052-0.043-0.101-0.065-0.154 c-0.154-0.32-0.34-0.616-0.506-0.928c-0.291-0.567-0.58-1.131-0.906-1.681c-0.246-0.408-0.52-0.802-0.783-1.197 c-0.304-0.457-0.599-0.923-0.933-1.368c-0.316-0.427-0.655-0.831-0.994-1.236c-0.308-0.383-0.616-0.77-0.95-1.135 c-0.383-0.427-0.787-0.822-1.192-1.224c-0.321-0.319-0.638-0.646-0.973-0.954c-0.458-0.413-0.938-0.796-1.417-1.183 c-0.315-0.256-0.624-0.523-0.954-0.767c-0.559-0.418-1.14-0.795-1.72-1.174c-0.281-0.181-0.555-0.375-0.841-0.546 c-0.712-0.431-1.447-0.818-2.195-1.192c-0.167-0.079-0.316-0.18-0.483-0.26l-0.186-0.088c-0.062-0.03-0.132-0.065-0.197-0.097 l-314.938-150.59c-15.696-7.51-34.536-0.863-42.05,14.848c-7.515,15.711-0.867,34.541,14.844,42.055l255.817,122.323 l-255.817,122.319C1116.379,1095.315,1109.731,1114.146,1117.246,1129.855z"})]}),wifi:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M294.904,16.65C141.476,16.65,16.65,141.476,16.65,294.904c0,153.429,124.825,278.25,278.254,278.25 c513.876,0,931.945,418.065,931.945,931.941c0,153.429,124.825,278.254,278.25,278.254s278.25-124.825,278.25-278.254 C1783.35,684.362,1115.638,16.65,294.904,16.65z M1505.1,1721.313c-119.222,0-216.214-96.996-216.214-216.218 c0-548.079-445.898-993.978-993.981-993.978c-119.226,0-216.218-96.992-216.218-216.214c0-119.221,96.992-216.218,216.218-216.218 c786.522,0,1426.409,639.883,1426.409,1426.409C1721.313,1624.317,1624.321,1721.313,1505.1,1721.313z"}),(0,l.jsx)("path",{d:"M197.376,778.602c-98.892,0-179.345,80.458-179.345,179.35s80.454,179.35,179.345,179.35 c255.57,0,463.497,207.923,463.497,463.493c0,98.892,80.453,179.345,179.35,179.345c98.892,0,179.345-80.453,179.345-179.345 C1019.567,1147.436,650.734,778.602,197.376,778.602z M840.223,1718.103c-64.685,0-117.313-52.624-117.313-117.309 c0-289.778-235.751-525.529-525.533-525.529c-64.685,0-117.309-52.629-117.309-117.313s52.625-117.313,117.309-117.313 c419.151,0,760.155,341.004,760.155,760.156C957.531,1665.479,904.907,1718.103,840.223,1718.103z"}),(0,l.jsx)("path",{d:"M251.519,1319.255c-127.067,0-230.442,103.375-230.442,230.442c0,127.066,103.375,230.441,230.442,230.441 s230.442-103.375,230.442-230.441C481.961,1422.63,378.586,1319.255,251.519,1319.255z M251.519,1718.103 c-92.86,0-168.406-75.546-168.406-168.405c0-92.86,75.546-168.406,168.406-168.406s168.406,75.546,168.406,168.406 C419.925,1642.557,344.379,1718.103,251.519,1718.103z"})]}),world:e=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:(0,l.jsx)("path",{d:"M1627.938,384.003c-12.13-17.064-24.856-33.673-38.118-49.817 C1425.985,134.806,1177.596,7.414,900.004,7.414c-277.596,0-525.985,127.392-689.825,326.772 c-13.27,16.144-25.988,32.752-38.122,49.817C68.421,529.789,7.417,707.905,7.417,899.997c0,193.195,61.719,372.25,166.447,518.491 c12.194,17.021,24.947,33.613,38.277,49.705c163.849,198.021,411.368,324.393,687.863,324.393 c276.49,0,524.014-126.371,687.858-324.393c13.326-16.092,26.084-32.684,38.273-49.705 c104.725-146.241,166.447-325.296,166.447-518.491C1792.583,707.905,1731.583,529.789,1627.938,384.003z M1538.661,370.69 c-14.208,9.139-29.117,18.046-44.792,26.668c-46.543,25.601-97.693,47.778-152.398,66.383 c-21.347-67.829-47.821-130.984-79.089-187.832c-39.409-71.671-84.575-129.96-133.772-173.723 C1291.124,148.828,1433.377,243.88,1538.661,370.69z M1359.744,643.08c9.006,0,17.533,2.022,25.231,5.559 c20.911,9.604,35.502,30.696,35.502,55.178c0,18.967-8.748,35.919-22.413,47.063c-10.46,8.528-23.799,13.666-38.32,13.666 c-8.459,0-16.51-1.739-23.833-4.88c-21.673-9.285-36.909-30.816-36.909-55.85c0-19.525,9.303-36.883,23.661-48.001 C1332.934,647.865,1345.777,643.08,1359.744,643.08z M931.363,72.248c102.999,13.842,200.043,95.649,276.063,233.884 c29.271,53.217,54.09,112.439,74.167,176.138c-107.509,30.102-226.449,47.123-350.23,49.584V72.248z M931.363,594.58 c129.529-2.487,254.326-20.361,367.476-52.055c4.083,15.843,7.878,31.935,11.402,48.234 c-43.492,19.112-73.951,62.588-73.951,113.059c0,61.521,45.234,112.655,104.19,121.932c0.706,14.87,1.205,29.835,1.484,44.86 h-322.077c-10.74-43.845-44.964-78.56-88.524-90.014V594.58z M1297.884,1261.146c-112.896-31.539-237.361-49.31-366.521-51.788 V1019.4c42.252-11.102,75.702-44.095,87.482-86.072h323.038C1339.443,1048.607,1324.384,1159.661,1297.884,1261.146z M1310.731,1488.752c-0.004,33.493-27.249,60.738-60.733,60.738c-0.727,0-1.424-0.086-2.143-0.112 c-23.153-0.817-43.01-14.612-52.536-34.354c-3.847-7.96-6.063-16.849-6.063-26.272c0-29.946,21.797-54.825,50.338-59.782 c3.386-0.594,6.85-0.955,10.399-0.955c19.568,0,36.952,9.337,48.07,23.751C1305.973,1462.032,1310.731,1474.829,1310.731,1488.752 z M868.646,72.248v459.606c-123.79-2.461-242.727-19.483-350.244-49.576c4.759-15.094,9.785-29.938,15.068-44.499 c2.539,0.155,5.086,0.258,7.659,0.258c68.069,0,123.454-55.385,123.454-123.454c0-29.806-10.619-57.171-28.261-78.525 C704.307,140.283,784.484,83.556,868.646,72.248z M501.166,542.525c113.145,31.703,237.95,49.568,367.48,52.055v186.016 c-43.57,11.454-77.785,46.168-88.533,90.014H458.035C460.187,755.304,474.953,644.173,501.166,542.525z M480.392,314.583 c0-33.493,27.245-60.738,60.738-60.738c2.96,0,5.843,0.284,8.691,0.693c22.891,3.304,41.659,19.362,48.854,40.76 c2.039,6.066,3.192,12.538,3.192,19.285c0,26.965-17.676,49.86-42.046,57.76c-5.895,1.919-12.168,2.978-18.691,2.978 c-16.876,0-32.15-6.928-43.166-18.071C487.113,346.268,480.392,331.2,480.392,314.583z M671.399,102.187 c-30.326,26.969-59.12,59.446-85.96,97.199c-13.769-5.314-28.699-8.257-44.31-8.257c-68.069,0-123.455,55.381-123.455,123.455 c0,43.311,22.443,81.459,56.28,103.498c-5.396,14.965-10.55,30.188-15.421,45.661c-54.705-18.605-105.856-40.782-152.403-66.383 c-15.671-8.623-30.584-17.529-44.792-26.668C366.619,243.88,508.876,148.828,671.399,102.187z M223.002,420.56 c16.746,10.946,34.353,21.548,52.906,31.754c50.506,27.778,106.003,51.753,165.312,71.727 c-28.002,107.586-43.716,225.008-45.91,346.569H70.676C76.528,703.387,132.076,548.574,223.002,420.56z M464.894,1048.917 c16.385,10.886,27.219,29.491,27.219,50.609c0,15.489-5.877,29.603-15.464,40.342c-11.127,12.479-27.271,20.387-45.256,20.387 h-0.009c-5.267,0-10.353-0.749-15.24-2.014c-26.126-6.79-45.497-30.507-45.497-58.715c0-22.719,12.547-42.537,31.065-52.95 c8.778-4.939,18.889-7.796,29.672-7.796C443.767,1038.78,455.281,1042.532,464.894,1048.917z M70.797,933.328h324.599 c0.318,15.946,0.878,31.832,1.661,47.631c-51.418,14.905-89.127,62.391-89.127,118.567c0,67.122,53.879,121.879,120.666,123.368 c4.156,19.164,8.683,38.07,13.579,56.676c-59.67,20.042-115.485,44.129-166.258,72.054c-17.848,9.811-34.818,19.999-50.987,30.498 C133.582,1254.58,77.423,1100.223,70.797,933.328z M263.491,1431.844c13.562-8.648,27.761-17.081,42.64-25.266 c46.874-25.781,98.412-48.087,153.539-66.77c21.152,66.478,47.227,128.437,77.949,184.278 c39.421,71.675,84.583,129.977,133.79,173.744C509.986,1651.499,368.555,1557.381,263.491,1431.844z M868.646,1727.753 c-103.008-13.847-200.052-95.65-276.073-233.88c-28.717-52.21-53.139-110.211-73.009-172.532 c107.207-29.912,225.739-46.805,349.082-49.267V1727.753z M868.646,1209.357c-129.168,2.479-253.638,20.249-366.534,51.788 c-4.518-17.322-8.7-34.93-12.547-52.777c38.811-20.834,65.264-61.813,65.264-108.842c0-58.312-40.635-107.276-95.065-120.133 c-0.783-15.267-1.316-30.636-1.652-46.065h323.042c11.789,41.978,45.239,74.971,87.492,86.072V1209.357z M868.646,951.916 c-7.745-4.698-14.38-11.041-19.362-18.588c-6.316-9.578-10.017-21.015-10.017-33.331c0-10.654,2.78-20.67,7.625-29.388 c5.154-9.285,12.693-17.039,21.754-22.529c9.165-5.559,19.878-8.82,31.358-8.82s22.185,3.261,31.359,8.82 c9.061,5.49,16.6,13.244,21.754,22.529c4.846,8.717,7.625,18.734,7.625,29.388c0,12.316-3.709,23.753-10.025,33.331 c-4.975,7.547-11.609,13.89-19.354,18.588c-9.174,5.559-19.879,8.82-31.359,8.82S877.811,957.475,868.646,951.916z M931.363,1727.753v-455.679c123.342,2.462,241.87,19.354,349.077,49.267c-4.858,15.224-9.961,30.223-15.356,44.921 c-4.953-0.619-9.982-0.964-15.099-0.964c-68.065,0-123.445,55.385-123.445,123.454c0,31.746,12.052,60.729,31.818,82.63 C1091.523,1662.669,1013.33,1716.737,931.363,1727.753z M1128.592,1697.831c28.923-25.73,56.435-56.503,82.217-92.035 c12.319,4.13,25.49,6.411,39.189,6.411c68.062,0,123.446-55.386,123.45-123.455c-0.004-40.635-19.745-76.734-50.14-99.247 c5.998-16.247,11.656-32.838,17.018-49.696c55.135,18.683,106.673,40.988,153.543,66.77c14.879,8.185,29.082,16.617,42.645,25.274 C1431.445,1557.39,1290.019,1651.499,1128.592,1697.831z M1575.07,1382.122c-16.169-10.499-33.14-20.688-50.979-30.498 c-50.772-27.925-106.592-52.012-166.267-72.054c28.286-107.405,44.301-224.724,46.783-346.242h324.6 c0.435-11.049,0.658-22.168,0.658-33.331c0,0.009,0,0.009,0,0.009c0,11.154-0.224,22.264-0.658,33.322l0,0 C1722.577,1100.223,1666.418,1254.58,1575.07,1382.122z M1729.324,870.609L1729.324,870.609H1404.69 c-0.31-17.143-0.886-34.207-1.733-51.168c46.817-17.564,80.237-62.751,80.237-115.624c0-63.844-48.72-116.527-110.93-122.826 c-4.122-19.259-8.613-38.251-13.48-56.951c59.31-19.973,114.802-43.948,165.304-71.727c18.558-10.206,36.164-20.816,52.915-31.754 C1667.924,548.574,1723.477,703.379,1729.324,870.609h20.52l0,0H1729.324z"})}),write:e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1800 1800",...e,children:[(0,l.jsx)("path",{d:"M241.023,324.818c0.252,0,0.505,0.035,0.758,0.035h465.68c17.266,0,31.256-13.99,31.256-31.252 c0-17.262-13.99-31.247-31.256-31.247H351.021h-109.24c-17.258,0-31.252,13.985-31.252,31.247 C210.529,310.605,224.121,324.412,241.023,324.818z"}),(0,l.jsx)("path",{d:"M210.529,450.306c0,17.257,13.994,31.252,31.252,31.252h769.451c17.262,0,31.256-13.995,31.256-31.252 c0-17.266-13.994-31.252-31.256-31.252H241.781C224.523,419.054,210.529,433.04,210.529,450.306z"}),(0,l.jsx)("path",{d:"M1011.232,575.751H241.781c-8.149,0-15.549,3.147-21.116,8.261c-6.213,5.712-10.136,13.879-10.136,22.987 c0,17.262,13.994,31.26,31.252,31.26h769.451c17.262,0,31.256-13.999,31.256-31.26c0-9.108-3.923-17.275-10.141-22.987 C1026.781,578.898,1019.386,575.751,1011.232,575.751z"}),(0,l.jsx)("path",{d:"M1011.232,732.461H241.781c-17.258,0-31.252,13.99-31.252,31.247c0,17.262,13.994,31.257,31.252,31.257 h769.451c17.262,0,31.256-13.995,31.256-31.257C1042.488,746.451,1028.494,732.461,1011.232,732.461z"}),(0,l.jsx)("path",{d:"M1011.232,889.157H241.781c-8.149,0-15.549,3.147-21.116,8.261c-6.213,5.713-10.136,13.879-10.136,22.987 c0,17.257,13.994,31.261,31.252,31.261h769.451c17.262,0,31.256-14.004,31.256-31.261c0-9.108-3.923-17.274-10.141-22.987 C1026.781,892.305,1019.386,889.157,1011.232,889.157z"}),(0,l.jsx)("path",{d:"M1011.232,1045.867H241.781c-17.258,0-31.252,13.99-31.252,31.243c0,17.271,13.994,31.265,31.252,31.265 h769.451c17.262,0,31.256-13.994,31.256-31.265C1042.488,1059.857,1028.494,1045.867,1011.232,1045.867z"}),(0,l.jsx)("path",{d:"M1011.232,1202.576H241.781c-17.258,0-31.252,13.995-31.252,31.252c0,17.258,13.994,31.252,31.252,31.252 h769.451c17.262,0,31.256-13.994,31.256-31.252C1042.488,1216.571,1028.494,1202.576,1011.232,1202.576z"}),(0,l.jsx)("path",{d:"M1011.232,1359.273H241.781c-8.149,0-15.549,3.151-21.116,8.265c-6.213,5.713-10.136,13.875-10.136,22.987 c0,17.258,13.994,31.261,31.252,31.261h769.451c17.262,0,31.256-14.003,31.256-31.261c0-9.112-3.923-17.274-10.141-22.987 C1026.781,1362.425,1019.386,1359.273,1011.232,1359.273z"}),(0,l.jsx)("path",{d:"M1233.542,251.228l-49.851-45.109L1052.136,87.076l-59.185-53.554c-5.293-4.792-11.947-7.421-18.786-7.836 h-3.49H83.676c-45.688,0-82.858,37.375-82.858,83.316v1583.612c0,45.94,37.17,83.316,82.858,83.316h1078.562 c45.68,0,82.845-37.376,82.845-83.316V277.08v-3.182C1244.646,264.73,1240.261,256.589,1233.542,251.228z M1003.117,125.864 l131.119,118.657h-131.119V125.864z M1183.691,1692.613c0,12.094-9.622,21.926-21.454,21.926H83.676 c-11.836,0-21.467-9.832-21.467-21.926V109.001c0-12.089,9.631-21.925,21.467-21.925h857.857V275.38 c0,17.052,13.785,30.862,30.786,30.862h211.372V1692.613z"}),(0,l.jsx)("path",{d:"M1798.578,180.737c-7.049-88.305-81.114-158.02-171.205-158.02c-0.004,0-0.004,0-0.004,0 c-45.889,0-89.033,17.874-121.479,50.32c-29.18,29.175-46.519,67.005-49.73,107.699h-0.586v13.609c0,0.06-0.005,0.115-0.005,0.175 c0,0.026,0.005,0.056,0.005,0.082l-0.005,1369.26h0.197c0.557,5.404,2.522,10.731,6.047,15.373l141.135,185.91 c5.803,7.648,14.851,12.136,24.447,12.136c9.601-0.004,18.646-4.496,24.447-12.14l141.093-185.897 c3.528-4.65,5.494-9.982,6.051-15.391h0.197V180.737H1798.578z M1549.299,116.448c20.854-20.855,48.578-32.339,78.07-32.339h0.004 c50.24,0,92.746,33.723,106.076,79.718h-212.19C1526.358,146.098,1535.896,129.852,1549.299,116.448z M1595.372,1502.468 l-78.413,0.005l0.005-1260.345h220.828v1260.336h-81.103l0.009-1016.486l-61.335,0.004L1595.372,1502.468z M1627.382,1695.821 l-100.171-131.963l200.338-0.004L1627.382,1695.821z"})]})}}},6427:function(e){e.exports=window.wp.components},7039:function(e){e.exports=JSON.parse('{"500px":{"styles":["brands"],"unicode":"f26e","label":"500px"},"accessible-icon":{"styles":["brands"],"unicode":"f368","label":"Accessible Icon"},"accusoft":{"styles":["brands"],"unicode":"f369","label":"Accusoft"},"acquisitions-incorporated":{"styles":["brands"],"unicode":"f6af","label":"Acquisitions Incorporated"},"ad":{"styles":["solid"],"unicode":"f641","label":"Ad"},"address-book":{"styles":["solid","regular"],"unicode":"f2b9","label":"Address Book"},"address-card":{"styles":["solid","regular"],"unicode":"f2bb","label":"Address Card"},"adjust":{"styles":["solid"],"unicode":"f042","label":"adjust"},"adn":{"styles":["brands"],"unicode":"f170","label":"App.net"},"adversal":{"styles":["brands"],"unicode":"f36a","label":"Adversal"},"affiliatetheme":{"styles":["brands"],"unicode":"f36b","label":"affiliatetheme"},"air-freshener":{"styles":["solid"],"unicode":"f5d0","label":"Air Freshener"},"airbnb":{"styles":["brands"],"unicode":"f834","label":"Airbnb"},"algolia":{"styles":["brands"],"unicode":"f36c","label":"Algolia"},"align-center":{"styles":["solid"],"unicode":"f037","label":"align-center"},"align-justify":{"styles":["solid"],"unicode":"f039","label":"align-justify"},"align-left":{"styles":["solid"],"unicode":"f036","label":"align-left"},"align-right":{"styles":["solid"],"unicode":"f038","label":"align-right"},"alipay":{"styles":["brands"],"unicode":"f642","label":"Alipay"},"allergies":{"styles":["solid"],"unicode":"f461","label":"Allergies"},"amazon":{"styles":["brands"],"unicode":"f270","label":"Amazon"},"amazon-pay":{"styles":["brands"],"unicode":"f42c","label":"Amazon Pay"},"ambulance":{"styles":["solid"],"unicode":"f0f9","label":"ambulance"},"american-sign-language-interpreting":{"styles":["solid"],"unicode":"f2a3","label":"American Sign Language Interpreting"},"amilia":{"styles":["brands"],"unicode":"f36d","label":"Amilia"},"anchor":{"styles":["solid"],"unicode":"f13d","label":"Anchor"},"android":{"styles":["brands"],"unicode":"f17b","label":"Android"},"angellist":{"styles":["brands"],"unicode":"f209","label":"AngelList"},"angle-double-down":{"styles":["solid"],"unicode":"f103","label":"Angle Double Down"},"angle-double-left":{"styles":["solid"],"unicode":"f100","label":"Angle Double Left"},"angle-double-right":{"styles":["solid"],"unicode":"f101","label":"Angle Double Right"},"angle-double-up":{"styles":["solid"],"unicode":"f102","label":"Angle Double Up"},"angle-down":{"styles":["solid"],"unicode":"f107","label":"angle-down"},"angle-left":{"styles":["solid"],"unicode":"f104","label":"angle-left"},"angle-right":{"styles":["solid"],"unicode":"f105","label":"angle-right"},"angle-up":{"styles":["solid"],"unicode":"f106","label":"angle-up"},"angry":{"styles":["solid","regular"],"unicode":"f556","label":"Angry Face"},"angrycreative":{"styles":["brands"],"unicode":"f36e","label":"Angry Creative"},"angular":{"styles":["brands"],"unicode":"f420","label":"Angular"},"ankh":{"styles":["solid"],"unicode":"f644","label":"Ankh"},"app-store":{"styles":["brands"],"unicode":"f36f","label":"App Store"},"app-store-ios":{"styles":["brands"],"unicode":"f370","label":"iOS App Store"},"apper":{"styles":["brands"],"unicode":"f371","label":"Apper Systems AB"},"apple":{"styles":["brands"],"unicode":"f179","label":"Apple"},"apple-alt":{"styles":["solid"],"unicode":"f5d1","label":"Fruit Apple"},"apple-pay":{"styles":["brands"],"unicode":"f415","label":"Apple Pay"},"archive":{"styles":["solid"],"unicode":"f187","label":"Archive"},"archway":{"styles":["solid"],"unicode":"f557","label":"Archway"},"arrow-alt-circle-down":{"styles":["solid","regular"],"unicode":"f358","label":"Alternate Arrow Circle Down"},"arrow-alt-circle-left":{"styles":["solid","regular"],"unicode":"f359","label":"Alternate Arrow Circle Left"},"arrow-alt-circle-right":{"styles":["solid","regular"],"unicode":"f35a","label":"Alternate Arrow Circle Right"},"arrow-alt-circle-up":{"styles":["solid","regular"],"unicode":"f35b","label":"Alternate Arrow Circle Up"},"arrow-circle-down":{"styles":["solid"],"unicode":"f0ab","label":"Arrow Circle Down"},"arrow-circle-left":{"styles":["solid"],"unicode":"f0a8","label":"Arrow Circle Left"},"arrow-circle-right":{"styles":["solid"],"unicode":"f0a9","label":"Arrow Circle Right"},"arrow-circle-up":{"styles":["solid"],"unicode":"f0aa","label":"Arrow Circle Up"},"arrow-down":{"styles":["solid"],"unicode":"f063","label":"arrow-down"},"arrow-left":{"styles":["solid"],"unicode":"f060","label":"arrow-left"},"arrow-right":{"styles":["solid"],"unicode":"f061","label":"arrow-right"},"arrow-up":{"styles":["solid"],"unicode":"f062","label":"arrow-up"},"arrows-alt":{"styles":["solid"],"unicode":"f0b2","label":"Alternate Arrows"},"arrows-alt-h":{"styles":["solid"],"unicode":"f337","label":"Alternate Arrows Horizontal"},"arrows-alt-v":{"styles":["solid"],"unicode":"f338","label":"Alternate Arrows Vertical"},"artstation":{"styles":["brands"],"unicode":"f77a","label":"Artstation"},"assistive-listening-systems":{"styles":["solid"],"unicode":"f2a2","label":"Assistive Listening Systems"},"asterisk":{"styles":["solid"],"unicode":"f069","label":"asterisk"},"asymmetrik":{"styles":["brands"],"unicode":"f372","label":"Asymmetrik, Ltd."},"at":{"styles":["solid"],"unicode":"f1fa","label":"At"},"atlas":{"styles":["solid"],"unicode":"f558","label":"Atlas"},"atlassian":{"styles":["brands"],"unicode":"f77b","label":"Atlassian"},"atom":{"styles":["solid"],"unicode":"f5d2","label":"Atom"},"audible":{"styles":["brands"],"unicode":"f373","label":"Audible"},"audio-description":{"styles":["solid"],"unicode":"f29e","label":"Audio Description"},"autoprefixer":{"styles":["brands"],"unicode":"f41c","label":"Autoprefixer"},"avianex":{"styles":["brands"],"unicode":"f374","label":"avianex"},"aviato":{"styles":["brands"],"unicode":"f421","label":"Aviato"},"award":{"styles":["solid"],"unicode":"f559","label":"Award"},"aws":{"styles":["brands"],"unicode":"f375","label":"Amazon Web Services (AWS)"},"baby":{"styles":["solid"],"unicode":"f77c","label":"Baby"},"baby-carriage":{"styles":["solid"],"unicode":"f77d","label":"Baby Carriage"},"backspace":{"styles":["solid"],"unicode":"f55a","label":"Backspace"},"backward":{"styles":["solid"],"unicode":"f04a","label":"backward"},"bacon":{"styles":["solid"],"unicode":"f7e5","label":"Bacon"},"bacteria":{"styles":["solid"],"unicode":"e059","label":"Bacteria"},"bacterium":{"styles":["solid"],"unicode":"e05a","label":"Bacterium"},"bahai":{"styles":["solid"],"unicode":"f666","label":"Bahá\'í"},"balance-scale":{"styles":["solid"],"unicode":"f24e","label":"Balance Scale"},"balance-scale-left":{"styles":["solid"],"unicode":"f515","label":"Balance Scale (Left-Weighted)"},"balance-scale-right":{"styles":["solid"],"unicode":"f516","label":"Balance Scale (Right-Weighted)"},"ban":{"styles":["solid"],"unicode":"f05e","label":"ban"},"band-aid":{"styles":["solid"],"unicode":"f462","label":"Band-Aid"},"bandcamp":{"styles":["brands"],"unicode":"f2d5","label":"Bandcamp"},"barcode":{"styles":["solid"],"unicode":"f02a","label":"barcode"},"bars":{"styles":["solid"],"unicode":"f0c9","label":"Bars"},"baseball-ball":{"styles":["solid"],"unicode":"f433","label":"Baseball Ball"},"basketball-ball":{"styles":["solid"],"unicode":"f434","label":"Basketball Ball"},"bath":{"styles":["solid"],"unicode":"f2cd","label":"Bath"},"battery-empty":{"styles":["solid"],"unicode":"f244","label":"Battery Empty"},"battery-full":{"styles":["solid"],"unicode":"f240","label":"Battery Full"},"battery-half":{"styles":["solid"],"unicode":"f242","label":"Battery 1/2 Full"},"battery-quarter":{"styles":["solid"],"unicode":"f243","label":"Battery 1/4 Full"},"battery-three-quarters":{"styles":["solid"],"unicode":"f241","label":"Battery 3/4 Full"},"battle-net":{"styles":["brands"],"unicode":"f835","label":"Battle.net"},"bed":{"styles":["solid"],"unicode":"f236","label":"Bed"},"beer":{"styles":["solid"],"unicode":"f0fc","label":"beer"},"behance":{"styles":["brands"],"unicode":"f1b4","label":"Behance"},"behance-square":{"styles":["brands"],"unicode":"f1b5","label":"Behance Square"},"bell":{"styles":["solid","regular"],"unicode":"f0f3","label":"bell"},"bell-slash":{"styles":["solid","regular"],"unicode":"f1f6","label":"Bell Slash"},"bezier-curve":{"styles":["solid"],"unicode":"f55b","label":"Bezier Curve"},"bible":{"styles":["solid"],"unicode":"f647","label":"Bible"},"bicycle":{"styles":["solid"],"unicode":"f206","label":"Bicycle"},"biking":{"styles":["solid"],"unicode":"f84a","label":"Biking"},"bimobject":{"styles":["brands"],"unicode":"f378","label":"BIMobject"},"binoculars":{"styles":["solid"],"unicode":"f1e5","label":"Binoculars"},"biohazard":{"styles":["solid"],"unicode":"f780","label":"Biohazard"},"birthday-cake":{"styles":["solid"],"unicode":"f1fd","label":"Birthday Cake"},"bitbucket":{"styles":["brands"],"unicode":"f171","label":"Bitbucket"},"bitcoin":{"styles":["brands"],"unicode":"f379","label":"Bitcoin"},"bity":{"styles":["brands"],"unicode":"f37a","label":"Bity"},"black-tie":{"styles":["brands"],"unicode":"f27e","label":"Font Awesome Black Tie"},"blackberry":{"styles":["brands"],"unicode":"f37b","label":"BlackBerry"},"blender":{"styles":["solid"],"unicode":"f517","label":"Blender"},"blender-phone":{"styles":["solid"],"unicode":"f6b6","label":"Blender Phone"},"blind":{"styles":["solid"],"unicode":"f29d","label":"Blind"},"blog":{"styles":["solid"],"unicode":"f781","label":"Blog"},"blogger":{"styles":["brands"],"unicode":"f37c","label":"Blogger"},"blogger-b":{"styles":["brands"],"unicode":"f37d","label":"Blogger B"},"bluetooth":{"styles":["brands"],"unicode":"f293","label":"Bluetooth"},"bluetooth-b":{"styles":["brands"],"unicode":"f294","label":"Bluetooth"},"bold":{"styles":["solid"],"unicode":"f032","label":"bold"},"bolt":{"styles":["solid"],"unicode":"f0e7","label":"Lightning Bolt"},"bomb":{"styles":["solid"],"unicode":"f1e2","label":"Bomb"},"bone":{"styles":["solid"],"unicode":"f5d7","label":"Bone"},"bong":{"styles":["solid"],"unicode":"f55c","label":"Bong"},"book":{"styles":["solid"],"unicode":"f02d","label":"book"},"book-dead":{"styles":["solid"],"unicode":"f6b7","label":"Book of the Dead"},"book-medical":{"styles":["solid"],"unicode":"f7e6","label":"Medical Book"},"book-open":{"styles":["solid"],"unicode":"f518","label":"Book Open"},"book-reader":{"styles":["solid"],"unicode":"f5da","label":"Book Reader"},"bookmark":{"styles":["solid","regular"],"unicode":"f02e","label":"bookmark"},"bootstrap":{"styles":["brands"],"unicode":"f836","label":"Bootstrap"},"border-all":{"styles":["solid"],"unicode":"f84c","label":"Border All"},"border-none":{"styles":["solid"],"unicode":"f850","label":"Border None"},"border-style":{"styles":["solid"],"unicode":"f853","label":"Border Style"},"bowling-ball":{"styles":["solid"],"unicode":"f436","label":"Bowling Ball"},"box":{"styles":["solid"],"unicode":"f466","label":"Box"},"box-open":{"styles":["solid"],"unicode":"f49e","label":"Box Open"},"box-tissue":{"styles":["solid"],"unicode":"e05b","label":"Tissue Box"},"boxes":{"styles":["solid"],"unicode":"f468","label":"Boxes"},"braille":{"styles":["solid"],"unicode":"f2a1","label":"Braille"},"brain":{"styles":["solid"],"unicode":"f5dc","label":"Brain"},"bread-slice":{"styles":["solid"],"unicode":"f7ec","label":"Bread Slice"},"briefcase":{"styles":["solid"],"unicode":"f0b1","label":"Briefcase"},"briefcase-medical":{"styles":["solid"],"unicode":"f469","label":"Medical Briefcase"},"broadcast-tower":{"styles":["solid"],"unicode":"f519","label":"Broadcast Tower"},"broom":{"styles":["solid"],"unicode":"f51a","label":"Broom"},"brush":{"styles":["solid"],"unicode":"f55d","label":"Brush"},"btc":{"styles":["brands"],"unicode":"f15a","label":"BTC"},"buffer":{"styles":["brands"],"unicode":"f837","label":"Buffer"},"bug":{"styles":["solid"],"unicode":"f188","label":"Bug"},"building":{"styles":["solid","regular"],"unicode":"f1ad","label":"Building"},"bullhorn":{"styles":["solid"],"unicode":"f0a1","label":"bullhorn"},"bullseye":{"styles":["solid"],"unicode":"f140","label":"Bullseye"},"burn":{"styles":["solid"],"unicode":"f46a","label":"Burn"},"buromobelexperte":{"styles":["brands"],"unicode":"f37f","label":"Büromöbel-Experte GmbH & Co. KG."},"bus":{"styles":["solid"],"unicode":"f207","label":"Bus"},"bus-alt":{"styles":["solid"],"unicode":"f55e","label":"Bus Alt"},"business-time":{"styles":["solid"],"unicode":"f64a","label":"Business Time"},"buy-n-large":{"styles":["brands"],"unicode":"f8a6","label":"Buy n Large"},"buysellads":{"styles":["brands"],"unicode":"f20d","label":"BuySellAds"},"calculator":{"styles":["solid"],"unicode":"f1ec","label":"Calculator"},"calendar":{"styles":["solid","regular"],"unicode":"f133","label":"Calendar"},"calendar-alt":{"styles":["solid","regular"],"unicode":"f073","label":"Alternate Calendar"},"calendar-check":{"styles":["solid","regular"],"unicode":"f274","label":"Calendar Check"},"calendar-day":{"styles":["solid"],"unicode":"f783","label":"Calendar with Day Focus"},"calendar-minus":{"styles":["solid","regular"],"unicode":"f272","label":"Calendar Minus"},"calendar-plus":{"styles":["solid","regular"],"unicode":"f271","label":"Calendar Plus"},"calendar-times":{"styles":["solid","regular"],"unicode":"f273","label":"Calendar Times"},"calendar-week":{"styles":["solid"],"unicode":"f784","label":"Calendar with Week Focus"},"camera":{"styles":["solid"],"unicode":"f030","label":"camera"},"camera-retro":{"styles":["solid"],"unicode":"f083","label":"Retro Camera"},"campground":{"styles":["solid"],"unicode":"f6bb","label":"Campground"},"canadian-maple-leaf":{"styles":["brands"],"unicode":"f785","label":"Canadian Maple Leaf"},"candy-cane":{"styles":["solid"],"unicode":"f786","label":"Candy Cane"},"cannabis":{"styles":["solid"],"unicode":"f55f","label":"Cannabis"},"capsules":{"styles":["solid"],"unicode":"f46b","label":"Capsules"},"car":{"styles":["solid"],"unicode":"f1b9","label":"Car"},"car-alt":{"styles":["solid"],"unicode":"f5de","label":"Alternate Car"},"car-battery":{"styles":["solid"],"unicode":"f5df","label":"Car Battery"},"car-crash":{"styles":["solid"],"unicode":"f5e1","label":"Car Crash"},"car-side":{"styles":["solid"],"unicode":"f5e4","label":"Car Side"},"caravan":{"styles":["solid"],"unicode":"f8ff","label":"Caravan"},"caret-down":{"styles":["solid"],"unicode":"f0d7","label":"Caret Down"},"caret-left":{"styles":["solid"],"unicode":"f0d9","label":"Caret Left"},"caret-right":{"styles":["solid"],"unicode":"f0da","label":"Caret Right"},"caret-square-down":{"styles":["solid","regular"],"unicode":"f150","label":"Caret Square Down"},"caret-square-left":{"styles":["solid","regular"],"unicode":"f191","label":"Caret Square Left"},"caret-square-right":{"styles":["solid","regular"],"unicode":"f152","label":"Caret Square Right"},"caret-square-up":{"styles":["solid","regular"],"unicode":"f151","label":"Caret Square Up"},"caret-up":{"styles":["solid"],"unicode":"f0d8","label":"Caret Up"},"carrot":{"styles":["solid"],"unicode":"f787","label":"Carrot"},"cart-arrow-down":{"styles":["solid"],"unicode":"f218","label":"Shopping Cart Arrow Down"},"cart-plus":{"styles":["solid"],"unicode":"f217","label":"Add to Shopping Cart"},"cash-register":{"styles":["solid"],"unicode":"f788","label":"Cash Register"},"cat":{"styles":["solid"],"unicode":"f6be","label":"Cat"},"cc-amazon-pay":{"styles":["brands"],"unicode":"f42d","label":"Amazon Pay Credit Card"},"cc-amex":{"styles":["brands"],"unicode":"f1f3","label":"American Express Credit Card"},"cc-apple-pay":{"styles":["brands"],"unicode":"f416","label":"Apple Pay Credit Card"},"cc-diners-club":{"styles":["brands"],"unicode":"f24c","label":"Diner\'s Club Credit Card"},"cc-discover":{"styles":["brands"],"unicode":"f1f2","label":"Discover Credit Card"},"cc-jcb":{"styles":["brands"],"unicode":"f24b","label":"JCB Credit Card"},"cc-mastercard":{"styles":["brands"],"unicode":"f1f1","label":"MasterCard Credit Card"},"cc-paypal":{"styles":["brands"],"unicode":"f1f4","label":"Paypal Credit Card"},"cc-stripe":{"styles":["brands"],"unicode":"f1f5","label":"Stripe Credit Card"},"cc-visa":{"styles":["brands"],"unicode":"f1f0","label":"Visa Credit Card"},"centercode":{"styles":["brands"],"unicode":"f380","label":"Centercode"},"centos":{"styles":["brands"],"unicode":"f789","label":"Centos"},"certificate":{"styles":["solid"],"unicode":"f0a3","label":"certificate"},"chair":{"styles":["solid"],"unicode":"f6c0","label":"Chair"},"chalkboard":{"styles":["solid"],"unicode":"f51b","label":"Chalkboard"},"chalkboard-teacher":{"styles":["solid"],"unicode":"f51c","label":"Chalkboard Teacher"},"charging-station":{"styles":["solid"],"unicode":"f5e7","label":"Charging Station"},"chart-area":{"styles":["solid"],"unicode":"f1fe","label":"Area Chart"},"chart-bar":{"styles":["solid","regular"],"unicode":"f080","label":"Bar Chart"},"chart-line":{"styles":["solid"],"unicode":"f201","label":"Line Chart"},"chart-pie":{"styles":["solid"],"unicode":"f200","label":"Pie Chart"},"check":{"styles":["solid"],"unicode":"f00c","label":"Check"},"check-circle":{"styles":["solid","regular"],"unicode":"f058","label":"Check Circle"},"check-double":{"styles":["solid"],"unicode":"f560","label":"Double Check"},"check-square":{"styles":["solid","regular"],"unicode":"f14a","label":"Check Square"},"cheese":{"styles":["solid"],"unicode":"f7ef","label":"Cheese"},"chess":{"styles":["solid"],"unicode":"f439","label":"Chess"},"chess-bishop":{"styles":["solid"],"unicode":"f43a","label":"Chess Bishop"},"chess-board":{"styles":["solid"],"unicode":"f43c","label":"Chess Board"},"chess-king":{"styles":["solid"],"unicode":"f43f","label":"Chess King"},"chess-knight":{"styles":["solid"],"unicode":"f441","label":"Chess Knight"},"chess-pawn":{"styles":["solid"],"unicode":"f443","label":"Chess Pawn"},"chess-queen":{"styles":["solid"],"unicode":"f445","label":"Chess Queen"},"chess-rook":{"styles":["solid"],"unicode":"f447","label":"Chess Rook"},"chevron-circle-down":{"styles":["solid"],"unicode":"f13a","label":"Chevron Circle Down"},"chevron-circle-left":{"styles":["solid"],"unicode":"f137","label":"Chevron Circle Left"},"chevron-circle-right":{"styles":["solid"],"unicode":"f138","label":"Chevron Circle Right"},"chevron-circle-up":{"styles":["solid"],"unicode":"f139","label":"Chevron Circle Up"},"chevron-down":{"styles":["solid"],"unicode":"f078","label":"chevron-down"},"chevron-left":{"styles":["solid"],"unicode":"f053","label":"chevron-left"},"chevron-right":{"styles":["solid"],"unicode":"f054","label":"chevron-right"},"chevron-up":{"styles":["solid"],"unicode":"f077","label":"chevron-up"},"child":{"styles":["solid"],"unicode":"f1ae","label":"Child"},"chrome":{"styles":["brands"],"unicode":"f268","label":"Chrome"},"chromecast":{"styles":["brands"],"unicode":"f838","label":"Chromecast"},"church":{"styles":["solid"],"unicode":"f51d","label":"Church"},"circle":{"styles":["solid","regular"],"unicode":"f111","label":"Circle"},"circle-notch":{"styles":["solid"],"unicode":"f1ce","label":"Circle Notched"},"city":{"styles":["solid"],"unicode":"f64f","label":"City"},"clinic-medical":{"styles":["solid"],"unicode":"f7f2","label":"Medical Clinic"},"clipboard":{"styles":["solid","regular"],"unicode":"f328","label":"Clipboard"},"clipboard-check":{"styles":["solid"],"unicode":"f46c","label":"Clipboard with Check"},"clipboard-list":{"styles":["solid"],"unicode":"f46d","label":"Clipboard List"},"clock":{"styles":["solid","regular"],"unicode":"f017","label":"Clock"},"clone":{"styles":["solid","regular"],"unicode":"f24d","label":"Clone"},"closed-captioning":{"styles":["solid","regular"],"unicode":"f20a","label":"Closed Captioning"},"cloud":{"styles":["solid"],"unicode":"f0c2","label":"Cloud"},"cloud-download-alt":{"styles":["solid"],"unicode":"f381","label":"Alternate Cloud Download"},"cloud-meatball":{"styles":["solid"],"unicode":"f73b","label":"Cloud with (a chance of) Meatball"},"cloud-moon":{"styles":["solid"],"unicode":"f6c3","label":"Cloud with Moon"},"cloud-moon-rain":{"styles":["solid"],"unicode":"f73c","label":"Cloud with Moon and Rain"},"cloud-rain":{"styles":["solid"],"unicode":"f73d","label":"Cloud with Rain"},"cloud-showers-heavy":{"styles":["solid"],"unicode":"f740","label":"Cloud with Heavy Showers"},"cloud-sun":{"styles":["solid"],"unicode":"f6c4","label":"Cloud with Sun"},"cloud-sun-rain":{"styles":["solid"],"unicode":"f743","label":"Cloud with Sun and Rain"},"cloud-upload-alt":{"styles":["solid"],"unicode":"f382","label":"Alternate Cloud Upload"},"cloudflare":{"styles":["brands"],"unicode":"e07d","label":"Cloudflare"},"cloudscale":{"styles":["brands"],"unicode":"f383","label":"cloudscale.ch"},"cloudsmith":{"styles":["brands"],"unicode":"f384","label":"Cloudsmith"},"cloudversify":{"styles":["brands"],"unicode":"f385","label":"cloudversify"},"cocktail":{"styles":["solid"],"unicode":"f561","label":"Cocktail"},"code":{"styles":["solid"],"unicode":"f121","label":"Code"},"code-branch":{"styles":["solid"],"unicode":"f126","label":"Code Branch"},"codepen":{"styles":["brands"],"unicode":"f1cb","label":"Codepen"},"codiepie":{"styles":["brands"],"unicode":"f284","label":"Codie Pie"},"coffee":{"styles":["solid"],"unicode":"f0f4","label":"Coffee"},"cog":{"styles":["solid"],"unicode":"f013","label":"cog"},"cogs":{"styles":["solid"],"unicode":"f085","label":"cogs"},"coins":{"styles":["solid"],"unicode":"f51e","label":"Coins"},"columns":{"styles":["solid"],"unicode":"f0db","label":"Columns"},"comment":{"styles":["solid","regular"],"unicode":"f075","label":"comment"},"comment-alt":{"styles":["solid","regular"],"unicode":"f27a","label":"Alternate Comment"},"comment-dollar":{"styles":["solid"],"unicode":"f651","label":"Comment Dollar"},"comment-dots":{"styles":["solid","regular"],"unicode":"f4ad","label":"Comment Dots"},"comment-medical":{"styles":["solid"],"unicode":"f7f5","label":"Alternate Medical Chat"},"comment-slash":{"styles":["solid"],"unicode":"f4b3","label":"Comment Slash"},"comments":{"styles":["solid","regular"],"unicode":"f086","label":"comments"},"comments-dollar":{"styles":["solid"],"unicode":"f653","label":"Comments Dollar"},"compact-disc":{"styles":["solid"],"unicode":"f51f","label":"Compact Disc"},"compass":{"styles":["solid","regular"],"unicode":"f14e","label":"Compass"},"compress":{"styles":["solid"],"unicode":"f066","label":"Compress"},"compress-alt":{"styles":["solid"],"unicode":"f422","label":"Alternate Compress"},"compress-arrows-alt":{"styles":["solid"],"unicode":"f78c","label":"Alternate Compress Arrows"},"concierge-bell":{"styles":["solid"],"unicode":"f562","label":"Concierge Bell"},"confluence":{"styles":["brands"],"unicode":"f78d","label":"Confluence"},"connectdevelop":{"styles":["brands"],"unicode":"f20e","label":"Connect Develop"},"contao":{"styles":["brands"],"unicode":"f26d","label":"Contao"},"cookie":{"styles":["solid"],"unicode":"f563","label":"Cookie"},"cookie-bite":{"styles":["solid"],"unicode":"f564","label":"Cookie Bite"},"copy":{"styles":["solid","regular"],"unicode":"f0c5","label":"Copy"},"copyright":{"styles":["solid","regular"],"unicode":"f1f9","label":"Copyright"},"cotton-bureau":{"styles":["brands"],"unicode":"f89e","label":"Cotton Bureau"},"couch":{"styles":["solid"],"unicode":"f4b8","label":"Couch"},"cpanel":{"styles":["brands"],"unicode":"f388","label":"cPanel"},"creative-commons":{"styles":["brands"],"unicode":"f25e","label":"Creative Commons"},"creative-commons-by":{"styles":["brands"],"unicode":"f4e7","label":"Creative Commons Attribution"},"creative-commons-nc":{"styles":["brands"],"unicode":"f4e8","label":"Creative Commons Noncommercial"},"creative-commons-nc-eu":{"styles":["brands"],"unicode":"f4e9","label":"Creative Commons Noncommercial (Euro Sign)"},"creative-commons-nc-jp":{"styles":["brands"],"unicode":"f4ea","label":"Creative Commons Noncommercial (Yen Sign)"},"creative-commons-nd":{"styles":["brands"],"unicode":"f4eb","label":"Creative Commons No Derivative Works"},"creative-commons-pd":{"styles":["brands"],"unicode":"f4ec","label":"Creative Commons Public Domain"},"creative-commons-pd-alt":{"styles":["brands"],"unicode":"f4ed","label":"Alternate Creative Commons Public Domain"},"creative-commons-remix":{"styles":["brands"],"unicode":"f4ee","label":"Creative Commons Remix"},"creative-commons-sa":{"styles":["brands"],"unicode":"f4ef","label":"Creative Commons Share Alike"},"creative-commons-sampling":{"styles":["brands"],"unicode":"f4f0","label":"Creative Commons Sampling"},"creative-commons-sampling-plus":{"styles":["brands"],"unicode":"f4f1","label":"Creative Commons Sampling +"},"creative-commons-share":{"styles":["brands"],"unicode":"f4f2","label":"Creative Commons Share"},"creative-commons-zero":{"styles":["brands"],"unicode":"f4f3","label":"Creative Commons CC0"},"credit-card":{"styles":["solid","regular"],"unicode":"f09d","label":"Credit Card"},"critical-role":{"styles":["brands"],"unicode":"f6c9","label":"Critical Role"},"crop":{"styles":["solid"],"unicode":"f125","label":"crop"},"crop-alt":{"styles":["solid"],"unicode":"f565","label":"Alternate Crop"},"cross":{"styles":["solid"],"unicode":"f654","label":"Cross"},"crosshairs":{"styles":["solid"],"unicode":"f05b","label":"Crosshairs"},"crow":{"styles":["solid"],"unicode":"f520","label":"Crow"},"crown":{"styles":["solid"],"unicode":"f521","label":"Crown"},"crutch":{"styles":["solid"],"unicode":"f7f7","label":"Crutch"},"css3":{"styles":["brands"],"unicode":"f13c","label":"CSS 3 Logo"},"css3-alt":{"styles":["brands"],"unicode":"f38b","label":"Alternate CSS3 Logo"},"cube":{"styles":["solid"],"unicode":"f1b2","label":"Cube"},"cubes":{"styles":["solid"],"unicode":"f1b3","label":"Cubes"},"cut":{"styles":["solid"],"unicode":"f0c4","label":"Cut"},"cuttlefish":{"styles":["brands"],"unicode":"f38c","label":"Cuttlefish"},"d-and-d":{"styles":["brands"],"unicode":"f38d","label":"Dungeons & Dragons"},"d-and-d-beyond":{"styles":["brands"],"unicode":"f6ca","label":"D&D Beyond"},"dailymotion":{"styles":["brands"],"unicode":"e052","label":"dailymotion"},"dashcube":{"styles":["brands"],"unicode":"f210","label":"DashCube"},"database":{"styles":["solid"],"unicode":"f1c0","label":"Database"},"deaf":{"styles":["solid"],"unicode":"f2a4","label":"Deaf"},"deezer":{"styles":["brands"],"unicode":"e077","label":"Deezer"},"delicious":{"styles":["brands"],"unicode":"f1a5","label":"Delicious"},"democrat":{"styles":["solid"],"unicode":"f747","label":"Democrat"},"deploydog":{"styles":["brands"],"unicode":"f38e","label":"deploy.dog"},"deskpro":{"styles":["brands"],"unicode":"f38f","label":"Deskpro"},"desktop":{"styles":["solid"],"unicode":"f108","label":"Desktop"},"dev":{"styles":["brands"],"unicode":"f6cc","label":"DEV"},"deviantart":{"styles":["brands"],"unicode":"f1bd","label":"deviantART"},"dharmachakra":{"styles":["solid"],"unicode":"f655","label":"Dharmachakra"},"dhl":{"styles":["brands"],"unicode":"f790","label":"DHL"},"diagnoses":{"styles":["solid"],"unicode":"f470","label":"Diagnoses"},"diaspora":{"styles":["brands"],"unicode":"f791","label":"Diaspora"},"dice":{"styles":["solid"],"unicode":"f522","label":"Dice"},"dice-d20":{"styles":["solid"],"unicode":"f6cf","label":"Dice D20"},"dice-d6":{"styles":["solid"],"unicode":"f6d1","label":"Dice D6"},"dice-five":{"styles":["solid"],"unicode":"f523","label":"Dice Five"},"dice-four":{"styles":["solid"],"unicode":"f524","label":"Dice Four"},"dice-one":{"styles":["solid"],"unicode":"f525","label":"Dice One"},"dice-six":{"styles":["solid"],"unicode":"f526","label":"Dice Six"},"dice-three":{"styles":["solid"],"unicode":"f527","label":"Dice Three"},"dice-two":{"styles":["solid"],"unicode":"f528","label":"Dice Two"},"digg":{"styles":["brands"],"unicode":"f1a6","label":"Digg Logo"},"digital-ocean":{"styles":["brands"],"unicode":"f391","label":"Digital Ocean"},"digital-tachograph":{"styles":["solid"],"unicode":"f566","label":"Digital Tachograph"},"directions":{"styles":["solid"],"unicode":"f5eb","label":"Directions"},"discord":{"styles":["brands"],"unicode":"f392","label":"Discord"},"discourse":{"styles":["brands"],"unicode":"f393","label":"Discourse"},"disease":{"styles":["solid"],"unicode":"f7fa","label":"Disease"},"divide":{"styles":["solid"],"unicode":"f529","label":"Divide"},"dizzy":{"styles":["solid","regular"],"unicode":"f567","label":"Dizzy Face"},"dna":{"styles":["solid"],"unicode":"f471","label":"DNA"},"dochub":{"styles":["brands"],"unicode":"f394","label":"DocHub"},"docker":{"styles":["brands"],"unicode":"f395","label":"Docker"},"dog":{"styles":["solid"],"unicode":"f6d3","label":"Dog"},"dollar-sign":{"styles":["solid"],"unicode":"f155","label":"Dollar Sign"},"dolly":{"styles":["solid"],"unicode":"f472","label":"Dolly"},"dolly-flatbed":{"styles":["solid"],"unicode":"f474","label":"Dolly Flatbed"},"donate":{"styles":["solid"],"unicode":"f4b9","label":"Donate"},"door-closed":{"styles":["solid"],"unicode":"f52a","label":"Door Closed"},"door-open":{"styles":["solid"],"unicode":"f52b","label":"Door Open"},"dot-circle":{"styles":["solid","regular"],"unicode":"f192","label":"Dot Circle"},"dove":{"styles":["solid"],"unicode":"f4ba","label":"Dove"},"download":{"styles":["solid"],"unicode":"f019","label":"Download"},"draft2digital":{"styles":["brands"],"unicode":"f396","label":"Draft2digital"},"drafting-compass":{"styles":["solid"],"unicode":"f568","label":"Drafting Compass"},"dragon":{"styles":["solid"],"unicode":"f6d5","label":"Dragon"},"draw-polygon":{"styles":["solid"],"unicode":"f5ee","label":"Draw Polygon"},"dribbble":{"styles":["brands"],"unicode":"f17d","label":"Dribbble"},"dribbble-square":{"styles":["brands"],"unicode":"f397","label":"Dribbble Square"},"dropbox":{"styles":["brands"],"unicode":"f16b","label":"Dropbox"},"drum":{"styles":["solid"],"unicode":"f569","label":"Drum"},"drum-steelpan":{"styles":["solid"],"unicode":"f56a","label":"Drum Steelpan"},"drumstick-bite":{"styles":["solid"],"unicode":"f6d7","label":"Drumstick with Bite Taken Out"},"drupal":{"styles":["brands"],"unicode":"f1a9","label":"Drupal Logo"},"dumbbell":{"styles":["solid"],"unicode":"f44b","label":"Dumbbell"},"dumpster":{"styles":["solid"],"unicode":"f793","label":"Dumpster"},"dumpster-fire":{"styles":["solid"],"unicode":"f794","label":"Dumpster Fire"},"dungeon":{"styles":["solid"],"unicode":"f6d9","label":"Dungeon"},"dyalog":{"styles":["brands"],"unicode":"f399","label":"Dyalog"},"earlybirds":{"styles":["brands"],"unicode":"f39a","label":"Earlybirds"},"ebay":{"styles":["brands"],"unicode":"f4f4","label":"eBay"},"edge":{"styles":["brands"],"unicode":"f282","label":"Edge Browser"},"edge-legacy":{"styles":["brands"],"unicode":"e078","label":"Edge Legacy Browser"},"edit":{"styles":["solid","regular"],"unicode":"f044","label":"Edit"},"egg":{"styles":["solid"],"unicode":"f7fb","label":"Egg"},"eject":{"styles":["solid"],"unicode":"f052","label":"eject"},"elementor":{"styles":["brands"],"unicode":"f430","label":"Elementor"},"ellipsis-h":{"styles":["solid"],"unicode":"f141","label":"Horizontal Ellipsis"},"ellipsis-v":{"styles":["solid"],"unicode":"f142","label":"Vertical Ellipsis"},"ello":{"styles":["brands"],"unicode":"f5f1","label":"Ello"},"ember":{"styles":["brands"],"unicode":"f423","label":"Ember"},"empire":{"styles":["brands"],"unicode":"f1d1","label":"Galactic Empire"},"envelope":{"styles":["solid","regular"],"unicode":"f0e0","label":"Envelope"},"envelope-open":{"styles":["solid","regular"],"unicode":"f2b6","label":"Envelope Open"},"envelope-open-text":{"styles":["solid"],"unicode":"f658","label":"Envelope Open-text"},"envelope-square":{"styles":["solid"],"unicode":"f199","label":"Envelope Square"},"envira":{"styles":["brands"],"unicode":"f299","label":"Envira Gallery"},"equals":{"styles":["solid"],"unicode":"f52c","label":"Equals"},"eraser":{"styles":["solid"],"unicode":"f12d","label":"eraser"},"erlang":{"styles":["brands"],"unicode":"f39d","label":"Erlang"},"ethereum":{"styles":["brands"],"unicode":"f42e","label":"Ethereum"},"ethernet":{"styles":["solid"],"unicode":"f796","label":"Ethernet"},"etsy":{"styles":["brands"],"unicode":"f2d7","label":"Etsy"},"euro-sign":{"styles":["solid"],"unicode":"f153","label":"Euro Sign"},"evernote":{"styles":["brands"],"unicode":"f839","label":"Evernote"},"exchange-alt":{"styles":["solid"],"unicode":"f362","label":"Alternate Exchange"},"exclamation":{"styles":["solid"],"unicode":"f12a","label":"exclamation"},"exclamation-circle":{"styles":["solid"],"unicode":"f06a","label":"Exclamation Circle"},"exclamation-triangle":{"styles":["solid"],"unicode":"f071","label":"Exclamation Triangle"},"expand":{"styles":["solid"],"unicode":"f065","label":"Expand"},"expand-alt":{"styles":["solid"],"unicode":"f424","label":"Alternate Expand"},"expand-arrows-alt":{"styles":["solid"],"unicode":"f31e","label":"Alternate Expand Arrows"},"expeditedssl":{"styles":["brands"],"unicode":"f23e","label":"ExpeditedSSL"},"external-link-alt":{"styles":["solid"],"unicode":"f35d","label":"Alternate External Link"},"external-link-square-alt":{"styles":["solid"],"unicode":"f360","label":"Alternate External Link Square"},"eye":{"styles":["solid","regular"],"unicode":"f06e","label":"Eye"},"eye-dropper":{"styles":["solid"],"unicode":"f1fb","label":"Eye Dropper"},"eye-slash":{"styles":["solid","regular"],"unicode":"f070","label":"Eye Slash"},"facebook":{"styles":["brands"],"unicode":"f09a","label":"Facebook"},"facebook-f":{"styles":["brands"],"unicode":"f39e","label":"Facebook F"},"facebook-messenger":{"styles":["brands"],"unicode":"f39f","label":"Facebook Messenger"},"facebook-square":{"styles":["brands"],"unicode":"f082","label":"Facebook Square"},"fan":{"styles":["solid"],"unicode":"f863","label":"Fan"},"fantasy-flight-games":{"styles":["brands"],"unicode":"f6dc","label":"Fantasy Flight-games"},"fast-backward":{"styles":["solid"],"unicode":"f049","label":"fast-backward"},"fast-forward":{"styles":["solid"],"unicode":"f050","label":"fast-forward"},"faucet":{"styles":["solid"],"unicode":"e005","label":"Faucet"},"fax":{"styles":["solid"],"unicode":"f1ac","label":"Fax"},"feather":{"styles":["solid"],"unicode":"f52d","label":"Feather"},"feather-alt":{"styles":["solid"],"unicode":"f56b","label":"Alternate Feather"},"fedex":{"styles":["brands"],"unicode":"f797","label":"FedEx"},"fedora":{"styles":["brands"],"unicode":"f798","label":"Fedora"},"female":{"styles":["solid"],"unicode":"f182","label":"Female"},"fighter-jet":{"styles":["solid"],"unicode":"f0fb","label":"fighter-jet"},"figma":{"styles":["brands"],"unicode":"f799","label":"Figma"},"file":{"styles":["solid","regular"],"unicode":"f15b","label":"File"},"file-alt":{"styles":["solid","regular"],"unicode":"f15c","label":"Alternate File"},"file-archive":{"styles":["solid","regular"],"unicode":"f1c6","label":"Archive File"},"file-audio":{"styles":["solid","regular"],"unicode":"f1c7","label":"Audio File"},"file-code":{"styles":["solid","regular"],"unicode":"f1c9","label":"Code File"},"file-contract":{"styles":["solid"],"unicode":"f56c","label":"File Contract"},"file-csv":{"styles":["solid"],"unicode":"f6dd","label":"File CSV"},"file-download":{"styles":["solid"],"unicode":"f56d","label":"File Download"},"file-excel":{"styles":["solid","regular"],"unicode":"f1c3","label":"Excel File"},"file-export":{"styles":["solid"],"unicode":"f56e","label":"File Export"},"file-image":{"styles":["solid","regular"],"unicode":"f1c5","label":"Image File"},"file-import":{"styles":["solid"],"unicode":"f56f","label":"File Import"},"file-invoice":{"styles":["solid"],"unicode":"f570","label":"File Invoice"},"file-invoice-dollar":{"styles":["solid"],"unicode":"f571","label":"File Invoice with US Dollar"},"file-medical":{"styles":["solid"],"unicode":"f477","label":"Medical File"},"file-medical-alt":{"styles":["solid"],"unicode":"f478","label":"Alternate Medical File"},"file-pdf":{"styles":["solid","regular"],"unicode":"f1c1","label":"PDF File"},"file-powerpoint":{"styles":["solid","regular"],"unicode":"f1c4","label":"Powerpoint File"},"file-prescription":{"styles":["solid"],"unicode":"f572","label":"File Prescription"},"file-signature":{"styles":["solid"],"unicode":"f573","label":"File Signature"},"file-upload":{"styles":["solid"],"unicode":"f574","label":"File Upload"},"file-video":{"styles":["solid","regular"],"unicode":"f1c8","label":"Video File"},"file-word":{"styles":["solid","regular"],"unicode":"f1c2","label":"Word File"},"fill":{"styles":["solid"],"unicode":"f575","label":"Fill"},"fill-drip":{"styles":["solid"],"unicode":"f576","label":"Fill Drip"},"film":{"styles":["solid"],"unicode":"f008","label":"Film"},"filter":{"styles":["solid"],"unicode":"f0b0","label":"Filter"},"fingerprint":{"styles":["solid"],"unicode":"f577","label":"Fingerprint"},"fire":{"styles":["solid"],"unicode":"f06d","label":"fire"},"fire-alt":{"styles":["solid"],"unicode":"f7e4","label":"Alternate Fire"},"fire-extinguisher":{"styles":["solid"],"unicode":"f134","label":"fire-extinguisher"},"firefox":{"styles":["brands"],"unicode":"f269","label":"Firefox"},"firefox-browser":{"styles":["brands"],"unicode":"e007","label":"Firefox Browser"},"first-aid":{"styles":["solid"],"unicode":"f479","label":"First Aid"},"first-order":{"styles":["brands"],"unicode":"f2b0","label":"First Order"},"first-order-alt":{"styles":["brands"],"unicode":"f50a","label":"Alternate First Order"},"firstdraft":{"styles":["brands"],"unicode":"f3a1","label":"firstdraft"},"fish":{"styles":["solid"],"unicode":"f578","label":"Fish"},"fist-raised":{"styles":["solid"],"unicode":"f6de","label":"Raised Fist"},"flag":{"styles":["solid","regular"],"unicode":"f024","label":"flag"},"flag-checkered":{"styles":["solid"],"unicode":"f11e","label":"flag-checkered"},"flag-usa":{"styles":["solid"],"unicode":"f74d","label":"United States of America Flag"},"flask":{"styles":["solid"],"unicode":"f0c3","label":"Flask"},"flickr":{"styles":["brands"],"unicode":"f16e","label":"Flickr"},"flipboard":{"styles":["brands"],"unicode":"f44d","label":"Flipboard"},"flushed":{"styles":["solid","regular"],"unicode":"f579","label":"Flushed Face"},"fly":{"styles":["brands"],"unicode":"f417","label":"Fly"},"folder":{"styles":["solid","regular"],"unicode":"f07b","label":"Folder"},"folder-minus":{"styles":["solid"],"unicode":"f65d","label":"Folder Minus"},"folder-open":{"styles":["solid","regular"],"unicode":"f07c","label":"Folder Open"},"folder-plus":{"styles":["solid"],"unicode":"f65e","label":"Folder Plus"},"font":{"styles":["solid"],"unicode":"f031","label":"font"},"font-awesome":{"styles":["brands"],"unicode":"f2b4","label":"Font Awesome"},"font-awesome-alt":{"styles":["brands"],"unicode":"f35c","label":"Alternate Font Awesome"},"font-awesome-flag":{"styles":["brands"],"unicode":"f425","label":"Font Awesome Flag"},"font-awesome-logo-full":{"styles":["regular","solid","brands"],"unicode":"f4e6","label":"Font Awesome Full Logo"},"fonticons":{"styles":["brands"],"unicode":"f280","label":"Fonticons"},"fonticons-fi":{"styles":["brands"],"unicode":"f3a2","label":"Fonticons Fi"},"football-ball":{"styles":["solid"],"unicode":"f44e","label":"Football Ball"},"fort-awesome":{"styles":["brands"],"unicode":"f286","label":"Fort Awesome"},"fort-awesome-alt":{"styles":["brands"],"unicode":"f3a3","label":"Alternate Fort Awesome"},"forumbee":{"styles":["brands"],"unicode":"f211","label":"Forumbee"},"forward":{"styles":["solid"],"unicode":"f04e","label":"forward"},"foursquare":{"styles":["brands"],"unicode":"f180","label":"Foursquare"},"free-code-camp":{"styles":["brands"],"unicode":"f2c5","label":"freeCodeCamp"},"freebsd":{"styles":["brands"],"unicode":"f3a4","label":"FreeBSD"},"frog":{"styles":["solid"],"unicode":"f52e","label":"Frog"},"frown":{"styles":["solid","regular"],"unicode":"f119","label":"Frowning Face"},"frown-open":{"styles":["solid","regular"],"unicode":"f57a","label":"Frowning Face With Open Mouth"},"fulcrum":{"styles":["brands"],"unicode":"f50b","label":"Fulcrum"},"funnel-dollar":{"styles":["solid"],"unicode":"f662","label":"Funnel Dollar"},"futbol":{"styles":["solid","regular"],"unicode":"f1e3","label":"Futbol"},"galactic-republic":{"styles":["brands"],"unicode":"f50c","label":"Galactic Republic"},"galactic-senate":{"styles":["brands"],"unicode":"f50d","label":"Galactic Senate"},"gamepad":{"styles":["solid"],"unicode":"f11b","label":"Gamepad"},"gas-pump":{"styles":["solid"],"unicode":"f52f","label":"Gas Pump"},"gavel":{"styles":["solid"],"unicode":"f0e3","label":"Gavel"},"gem":{"styles":["solid","regular"],"unicode":"f3a5","label":"Gem"},"genderless":{"styles":["solid"],"unicode":"f22d","label":"Genderless"},"get-pocket":{"styles":["brands"],"unicode":"f265","label":"Get Pocket"},"gg":{"styles":["brands"],"unicode":"f260","label":"GG Currency"},"gg-circle":{"styles":["brands"],"unicode":"f261","label":"GG Currency Circle"},"ghost":{"styles":["solid"],"unicode":"f6e2","label":"Ghost"},"gift":{"styles":["solid"],"unicode":"f06b","label":"gift"},"gifts":{"styles":["solid"],"unicode":"f79c","label":"Gifts"},"git":{"styles":["brands"],"unicode":"f1d3","label":"Git"},"git-alt":{"styles":["brands"],"unicode":"f841","label":"Git Alt"},"git-square":{"styles":["brands"],"unicode":"f1d2","label":"Git Square"},"github":{"styles":["brands"],"unicode":"f09b","label":"GitHub"},"github-alt":{"styles":["brands"],"unicode":"f113","label":"Alternate GitHub"},"github-square":{"styles":["brands"],"unicode":"f092","label":"GitHub Square"},"gitkraken":{"styles":["brands"],"unicode":"f3a6","label":"GitKraken"},"gitlab":{"styles":["brands"],"unicode":"f296","label":"GitLab"},"gitter":{"styles":["brands"],"unicode":"f426","label":"Gitter"},"glass-cheers":{"styles":["solid"],"unicode":"f79f","label":"Glass Cheers"},"glass-martini":{"styles":["solid"],"unicode":"f000","label":"Martini Glass"},"glass-martini-alt":{"styles":["solid"],"unicode":"f57b","label":"Alternate Glass Martini"},"glass-whiskey":{"styles":["solid"],"unicode":"f7a0","label":"Glass Whiskey"},"glasses":{"styles":["solid"],"unicode":"f530","label":"Glasses"},"glide":{"styles":["brands"],"unicode":"f2a5","label":"Glide"},"glide-g":{"styles":["brands"],"unicode":"f2a6","label":"Glide G"},"globe":{"styles":["solid"],"unicode":"f0ac","label":"Globe"},"globe-africa":{"styles":["solid"],"unicode":"f57c","label":"Globe with Africa shown"},"globe-americas":{"styles":["solid"],"unicode":"f57d","label":"Globe with Americas shown"},"globe-asia":{"styles":["solid"],"unicode":"f57e","label":"Globe with Asia shown"},"globe-europe":{"styles":["solid"],"unicode":"f7a2","label":"Globe with Europe shown"},"gofore":{"styles":["brands"],"unicode":"f3a7","label":"Gofore"},"golf-ball":{"styles":["solid"],"unicode":"f450","label":"Golf Ball"},"goodreads":{"styles":["brands"],"unicode":"f3a8","label":"Goodreads"},"goodreads-g":{"styles":["brands"],"unicode":"f3a9","label":"Goodreads G"},"google":{"styles":["brands"],"unicode":"f1a0","label":"Google Logo"},"google-drive":{"styles":["brands"],"unicode":"f3aa","label":"Google Drive"},"google-pay":{"styles":["brands"],"unicode":"e079","label":"Google Pay"},"google-play":{"styles":["brands"],"unicode":"f3ab","label":"Google Play"},"google-plus":{"styles":["brands"],"unicode":"f2b3","label":"Google Plus"},"google-plus-g":{"styles":["brands"],"unicode":"f0d5","label":"Google Plus G"},"google-plus-square":{"styles":["brands"],"unicode":"f0d4","label":"Google Plus Square"},"google-wallet":{"styles":["brands"],"unicode":"f1ee","label":"Google Wallet"},"gopuram":{"styles":["solid"],"unicode":"f664","label":"Gopuram"},"graduation-cap":{"styles":["solid"],"unicode":"f19d","label":"Graduation Cap"},"gratipay":{"styles":["brands"],"unicode":"f184","label":"Gratipay (Gittip)"},"grav":{"styles":["brands"],"unicode":"f2d6","label":"Grav"},"greater-than":{"styles":["solid"],"unicode":"f531","label":"Greater Than"},"greater-than-equal":{"styles":["solid"],"unicode":"f532","label":"Greater Than Equal To"},"grimace":{"styles":["solid","regular"],"unicode":"f57f","label":"Grimacing Face"},"grin":{"styles":["solid","regular"],"unicode":"f580","label":"Grinning Face"},"grin-alt":{"styles":["solid","regular"],"unicode":"f581","label":"Alternate Grinning Face"},"grin-beam":{"styles":["solid","regular"],"unicode":"f582","label":"Grinning Face With Smiling Eyes"},"grin-beam-sweat":{"styles":["solid","regular"],"unicode":"f583","label":"Grinning Face With Sweat"},"grin-hearts":{"styles":["solid","regular"],"unicode":"f584","label":"Smiling Face With Heart-Eyes"},"grin-squint":{"styles":["solid","regular"],"unicode":"f585","label":"Grinning Squinting Face"},"grin-squint-tears":{"styles":["solid","regular"],"unicode":"f586","label":"Rolling on the Floor Laughing"},"grin-stars":{"styles":["solid","regular"],"unicode":"f587","label":"Star-Struck"},"grin-tears":{"styles":["solid","regular"],"unicode":"f588","label":"Face With Tears of Joy"},"grin-tongue":{"styles":["solid","regular"],"unicode":"f589","label":"Face With Tongue"},"grin-tongue-squint":{"styles":["solid","regular"],"unicode":"f58a","label":"Squinting Face With Tongue"},"grin-tongue-wink":{"styles":["solid","regular"],"unicode":"f58b","label":"Winking Face With Tongue"},"grin-wink":{"styles":["solid","regular"],"unicode":"f58c","label":"Grinning Winking Face"},"grip-horizontal":{"styles":["solid"],"unicode":"f58d","label":"Grip Horizontal"},"grip-lines":{"styles":["solid"],"unicode":"f7a4","label":"Grip Lines"},"grip-lines-vertical":{"styles":["solid"],"unicode":"f7a5","label":"Grip Lines Vertical"},"grip-vertical":{"styles":["solid"],"unicode":"f58e","label":"Grip Vertical"},"gripfire":{"styles":["brands"],"unicode":"f3ac","label":"Gripfire, Inc."},"grunt":{"styles":["brands"],"unicode":"f3ad","label":"Grunt"},"guilded":{"styles":["brands"],"unicode":"e07e","label":"Guilded"},"guitar":{"styles":["solid"],"unicode":"f7a6","label":"Guitar"},"gulp":{"styles":["brands"],"unicode":"f3ae","label":"Gulp"},"h-square":{"styles":["solid"],"unicode":"f0fd","label":"H Square"},"hacker-news":{"styles":["brands"],"unicode":"f1d4","label":"Hacker News"},"hacker-news-square":{"styles":["brands"],"unicode":"f3af","label":"Hacker News Square"},"hackerrank":{"styles":["brands"],"unicode":"f5f7","label":"Hackerrank"},"hamburger":{"styles":["solid"],"unicode":"f805","label":"Hamburger"},"hammer":{"styles":["solid"],"unicode":"f6e3","label":"Hammer"},"hamsa":{"styles":["solid"],"unicode":"f665","label":"Hamsa"},"hand-holding":{"styles":["solid"],"unicode":"f4bd","label":"Hand Holding"},"hand-holding-heart":{"styles":["solid"],"unicode":"f4be","label":"Hand Holding Heart"},"hand-holding-medical":{"styles":["solid"],"unicode":"e05c","label":"Hand Holding Medical Cross"},"hand-holding-usd":{"styles":["solid"],"unicode":"f4c0","label":"Hand Holding US Dollar"},"hand-holding-water":{"styles":["solid"],"unicode":"f4c1","label":"Hand Holding Water"},"hand-lizard":{"styles":["solid","regular"],"unicode":"f258","label":"Lizard (Hand)"},"hand-middle-finger":{"styles":["solid"],"unicode":"f806","label":"Hand with Middle Finger Raised"},"hand-paper":{"styles":["solid","regular"],"unicode":"f256","label":"Paper (Hand)"},"hand-peace":{"styles":["solid","regular"],"unicode":"f25b","label":"Peace (Hand)"},"hand-point-down":{"styles":["solid","regular"],"unicode":"f0a7","label":"Hand Pointing Down"},"hand-point-left":{"styles":["solid","regular"],"unicode":"f0a5","label":"Hand Pointing Left"},"hand-point-right":{"styles":["solid","regular"],"unicode":"f0a4","label":"Hand Pointing Right"},"hand-point-up":{"styles":["solid","regular"],"unicode":"f0a6","label":"Hand Pointing Up"},"hand-pointer":{"styles":["solid","regular"],"unicode":"f25a","label":"Pointer (Hand)"},"hand-rock":{"styles":["solid","regular"],"unicode":"f255","label":"Rock (Hand)"},"hand-scissors":{"styles":["solid","regular"],"unicode":"f257","label":"Scissors (Hand)"},"hand-sparkles":{"styles":["solid"],"unicode":"e05d","label":"Hand Sparkles"},"hand-spock":{"styles":["solid","regular"],"unicode":"f259","label":"Spock (Hand)"},"hands":{"styles":["solid"],"unicode":"f4c2","label":"Hands"},"hands-helping":{"styles":["solid"],"unicode":"f4c4","label":"Helping Hands"},"hands-wash":{"styles":["solid"],"unicode":"e05e","label":"Hands Wash"},"handshake":{"styles":["solid","regular"],"unicode":"f2b5","label":"Handshake"},"handshake-alt-slash":{"styles":["solid"],"unicode":"e05f","label":"Handshake Alternate Slash"},"handshake-slash":{"styles":["solid"],"unicode":"e060","label":"Handshake Slash"},"hanukiah":{"styles":["solid"],"unicode":"f6e6","label":"Hanukiah"},"hard-hat":{"styles":["solid"],"unicode":"f807","label":"Hard Hat"},"hashtag":{"styles":["solid"],"unicode":"f292","label":"Hashtag"},"hat-cowboy":{"styles":["solid"],"unicode":"f8c0","label":"Cowboy Hat"},"hat-cowboy-side":{"styles":["solid"],"unicode":"f8c1","label":"Cowboy Hat Side"},"hat-wizard":{"styles":["solid"],"unicode":"f6e8","label":"Wizard\'s Hat"},"hdd":{"styles":["solid","regular"],"unicode":"f0a0","label":"HDD"},"head-side-cough":{"styles":["solid"],"unicode":"e061","label":"Head Side Cough"},"head-side-cough-slash":{"styles":["solid"],"unicode":"e062","label":"Head Side-cough-slash"},"head-side-mask":{"styles":["solid"],"unicode":"e063","label":"Head Side Mask"},"head-side-virus":{"styles":["solid"],"unicode":"e064","label":"Head Side Virus"},"heading":{"styles":["solid"],"unicode":"f1dc","label":"heading"},"headphones":{"styles":["solid"],"unicode":"f025","label":"headphones"},"headphones-alt":{"styles":["solid"],"unicode":"f58f","label":"Alternate Headphones"},"headset":{"styles":["solid"],"unicode":"f590","label":"Headset"},"heart":{"styles":["solid","regular"],"unicode":"f004","label":"Heart"},"heart-broken":{"styles":["solid"],"unicode":"f7a9","label":"Heart Broken"},"heartbeat":{"styles":["solid"],"unicode":"f21e","label":"Heartbeat"},"helicopter":{"styles":["solid"],"unicode":"f533","label":"Helicopter"},"highlighter":{"styles":["solid"],"unicode":"f591","label":"Highlighter"},"hiking":{"styles":["solid"],"unicode":"f6ec","label":"Hiking"},"hippo":{"styles":["solid"],"unicode":"f6ed","label":"Hippo"},"hips":{"styles":["brands"],"unicode":"f452","label":"Hips"},"hire-a-helper":{"styles":["brands"],"unicode":"f3b0","label":"HireAHelper"},"history":{"styles":["solid"],"unicode":"f1da","label":"History"},"hive":{"styles":["brands"],"unicode":"e07f","label":"Hive Blockchain Network"},"hockey-puck":{"styles":["solid"],"unicode":"f453","label":"Hockey Puck"},"holly-berry":{"styles":["solid"],"unicode":"f7aa","label":"Holly Berry"},"home":{"styles":["solid"],"unicode":"f015","label":"home"},"hooli":{"styles":["brands"],"unicode":"f427","label":"Hooli"},"hornbill":{"styles":["brands"],"unicode":"f592","label":"Hornbill"},"horse":{"styles":["solid"],"unicode":"f6f0","label":"Horse"},"horse-head":{"styles":["solid"],"unicode":"f7ab","label":"Horse Head"},"hospital":{"styles":["solid","regular"],"unicode":"f0f8","label":"hospital"},"hospital-alt":{"styles":["solid"],"unicode":"f47d","label":"Alternate Hospital"},"hospital-symbol":{"styles":["solid"],"unicode":"f47e","label":"Hospital Symbol"},"hospital-user":{"styles":["solid"],"unicode":"f80d","label":"Hospital with User"},"hot-tub":{"styles":["solid"],"unicode":"f593","label":"Hot Tub"},"hotdog":{"styles":["solid"],"unicode":"f80f","label":"Hot Dog"},"hotel":{"styles":["solid"],"unicode":"f594","label":"Hotel"},"hotjar":{"styles":["brands"],"unicode":"f3b1","label":"Hotjar"},"hourglass":{"styles":["solid","regular"],"unicode":"f254","label":"Hourglass"},"hourglass-end":{"styles":["solid"],"unicode":"f253","label":"Hourglass End"},"hourglass-half":{"styles":["solid"],"unicode":"f252","label":"Hourglass Half"},"hourglass-start":{"styles":["solid"],"unicode":"f251","label":"Hourglass Start"},"house-damage":{"styles":["solid"],"unicode":"f6f1","label":"Damaged House"},"house-user":{"styles":["solid"],"unicode":"e065","label":"House User"},"houzz":{"styles":["brands"],"unicode":"f27c","label":"Houzz"},"hryvnia":{"styles":["solid"],"unicode":"f6f2","label":"Hryvnia"},"html5":{"styles":["brands"],"unicode":"f13b","label":"HTML 5 Logo"},"hubspot":{"styles":["brands"],"unicode":"f3b2","label":"HubSpot"},"i-cursor":{"styles":["solid"],"unicode":"f246","label":"I Beam Cursor"},"ice-cream":{"styles":["solid"],"unicode":"f810","label":"Ice Cream"},"icicles":{"styles":["solid"],"unicode":"f7ad","label":"Icicles"},"icons":{"styles":["solid"],"unicode":"f86d","label":"Icons"},"id-badge":{"styles":["solid","regular"],"unicode":"f2c1","label":"Identification Badge"},"id-card":{"styles":["solid","regular"],"unicode":"f2c2","label":"Identification Card"},"id-card-alt":{"styles":["solid"],"unicode":"f47f","label":"Alternate Identification Card"},"ideal":{"styles":["brands"],"unicode":"e013","label":"iDeal"},"igloo":{"styles":["solid"],"unicode":"f7ae","label":"Igloo"},"image":{"styles":["solid","regular"],"unicode":"f03e","label":"Image"},"images":{"styles":["solid","regular"],"unicode":"f302","label":"Images"},"imdb":{"styles":["brands"],"unicode":"f2d8","label":"IMDB"},"inbox":{"styles":["solid"],"unicode":"f01c","label":"inbox"},"indent":{"styles":["solid"],"unicode":"f03c","label":"Indent"},"industry":{"styles":["solid"],"unicode":"f275","label":"Industry"},"infinity":{"styles":["solid"],"unicode":"f534","label":"Infinity"},"info":{"styles":["solid"],"unicode":"f129","label":"Info"},"info-circle":{"styles":["solid"],"unicode":"f05a","label":"Info Circle"},"innosoft":{"styles":["brands"],"unicode":"e080","label":"Innosoft"},"instagram":{"styles":["brands"],"unicode":"f16d","label":"Instagram"},"instagram-square":{"styles":["brands"],"unicode":"e055","label":"Instagram Square"},"instalod":{"styles":["brands"],"unicode":"e081","label":"InstaLOD"},"intercom":{"styles":["brands"],"unicode":"f7af","label":"Intercom"},"internet-explorer":{"styles":["brands"],"unicode":"f26b","label":"Internet-explorer"},"invision":{"styles":["brands"],"unicode":"f7b0","label":"InVision"},"ioxhost":{"styles":["brands"],"unicode":"f208","label":"ioxhost"},"italic":{"styles":["solid"],"unicode":"f033","label":"italic"},"itch-io":{"styles":["brands"],"unicode":"f83a","label":"itch.io"},"itunes":{"styles":["brands"],"unicode":"f3b4","label":"iTunes"},"itunes-note":{"styles":["brands"],"unicode":"f3b5","label":"Itunes Note"},"java":{"styles":["brands"],"unicode":"f4e4","label":"Java"},"jedi":{"styles":["solid"],"unicode":"f669","label":"Jedi"},"jedi-order":{"styles":["brands"],"unicode":"f50e","label":"Jedi Order"},"jenkins":{"styles":["brands"],"unicode":"f3b6","label":"Jenkis"},"jira":{"styles":["brands"],"unicode":"f7b1","label":"Jira"},"joget":{"styles":["brands"],"unicode":"f3b7","label":"Joget"},"joint":{"styles":["solid"],"unicode":"f595","label":"Joint"},"joomla":{"styles":["brands"],"unicode":"f1aa","label":"Joomla Logo"},"journal-whills":{"styles":["solid"],"unicode":"f66a","label":"Journal of the Whills"},"js":{"styles":["brands"],"unicode":"f3b8","label":"JavaScript (JS)"},"js-square":{"styles":["brands"],"unicode":"f3b9","label":"JavaScript (JS) Square"},"jsfiddle":{"styles":["brands"],"unicode":"f1cc","label":"jsFiddle"},"kaaba":{"styles":["solid"],"unicode":"f66b","label":"Kaaba"},"kaggle":{"styles":["brands"],"unicode":"f5fa","label":"Kaggle"},"key":{"styles":["solid"],"unicode":"f084","label":"key"},"keybase":{"styles":["brands"],"unicode":"f4f5","label":"Keybase"},"keyboard":{"styles":["solid","regular"],"unicode":"f11c","label":"Keyboard"},"keycdn":{"styles":["brands"],"unicode":"f3ba","label":"KeyCDN"},"khanda":{"styles":["solid"],"unicode":"f66d","label":"Khanda"},"kickstarter":{"styles":["brands"],"unicode":"f3bb","label":"Kickstarter"},"kickstarter-k":{"styles":["brands"],"unicode":"f3bc","label":"Kickstarter K"},"kiss":{"styles":["solid","regular"],"unicode":"f596","label":"Kissing Face"},"kiss-beam":{"styles":["solid","regular"],"unicode":"f597","label":"Kissing Face With Smiling Eyes"},"kiss-wink-heart":{"styles":["solid","regular"],"unicode":"f598","label":"Face Blowing a Kiss"},"kiwi-bird":{"styles":["solid"],"unicode":"f535","label":"Kiwi Bird"},"korvue":{"styles":["brands"],"unicode":"f42f","label":"KORVUE"},"landmark":{"styles":["solid"],"unicode":"f66f","label":"Landmark"},"language":{"styles":["solid"],"unicode":"f1ab","label":"Language"},"laptop":{"styles":["solid"],"unicode":"f109","label":"Laptop"},"laptop-code":{"styles":["solid"],"unicode":"f5fc","label":"Laptop Code"},"laptop-house":{"styles":["solid"],"unicode":"e066","label":"Laptop House"},"laptop-medical":{"styles":["solid"],"unicode":"f812","label":"Laptop Medical"},"laravel":{"styles":["brands"],"unicode":"f3bd","label":"Laravel"},"lastfm":{"styles":["brands"],"unicode":"f202","label":"last.fm"},"lastfm-square":{"styles":["brands"],"unicode":"f203","label":"last.fm Square"},"laugh":{"styles":["solid","regular"],"unicode":"f599","label":"Grinning Face With Big Eyes"},"laugh-beam":{"styles":["solid","regular"],"unicode":"f59a","label":"Laugh Face with Beaming Eyes"},"laugh-squint":{"styles":["solid","regular"],"unicode":"f59b","label":"Laughing Squinting Face"},"laugh-wink":{"styles":["solid","regular"],"unicode":"f59c","label":"Laughing Winking Face"},"layer-group":{"styles":["solid"],"unicode":"f5fd","label":"Layer Group"},"leaf":{"styles":["solid"],"unicode":"f06c","label":"leaf"},"leanpub":{"styles":["brands"],"unicode":"f212","label":"Leanpub"},"lemon":{"styles":["solid","regular"],"unicode":"f094","label":"Lemon"},"less":{"styles":["brands"],"unicode":"f41d","label":"Less"},"less-than":{"styles":["solid"],"unicode":"f536","label":"Less Than"},"less-than-equal":{"styles":["solid"],"unicode":"f537","label":"Less Than Equal To"},"level-down-alt":{"styles":["solid"],"unicode":"f3be","label":"Alternate Level Down"},"level-up-alt":{"styles":["solid"],"unicode":"f3bf","label":"Alternate Level Up"},"life-ring":{"styles":["solid","regular"],"unicode":"f1cd","label":"Life Ring"},"lightbulb":{"styles":["solid","regular"],"unicode":"f0eb","label":"Lightbulb"},"line":{"styles":["brands"],"unicode":"f3c0","label":"Line"},"link":{"styles":["solid"],"unicode":"f0c1","label":"Link"},"linkedin":{"styles":["brands"],"unicode":"f08c","label":"LinkedIn"},"linkedin-in":{"styles":["brands"],"unicode":"f0e1","label":"LinkedIn In"},"linode":{"styles":["brands"],"unicode":"f2b8","label":"Linode"},"linux":{"styles":["brands"],"unicode":"f17c","label":"Linux"},"lira-sign":{"styles":["solid"],"unicode":"f195","label":"Turkish Lira Sign"},"list":{"styles":["solid"],"unicode":"f03a","label":"List"},"list-alt":{"styles":["solid","regular"],"unicode":"f022","label":"Alternate List"},"list-ol":{"styles":["solid"],"unicode":"f0cb","label":"list-ol"},"list-ul":{"styles":["solid"],"unicode":"f0ca","label":"list-ul"},"location-arrow":{"styles":["solid"],"unicode":"f124","label":"location-arrow"},"lock":{"styles":["solid"],"unicode":"f023","label":"lock"},"lock-open":{"styles":["solid"],"unicode":"f3c1","label":"Lock Open"},"long-arrow-alt-down":{"styles":["solid"],"unicode":"f309","label":"Alternate Long Arrow Down"},"long-arrow-alt-left":{"styles":["solid"],"unicode":"f30a","label":"Alternate Long Arrow Left"},"long-arrow-alt-right":{"styles":["solid"],"unicode":"f30b","label":"Alternate Long Arrow Right"},"long-arrow-alt-up":{"styles":["solid"],"unicode":"f30c","label":"Alternate Long Arrow Up"},"low-vision":{"styles":["solid"],"unicode":"f2a8","label":"Low Vision"},"luggage-cart":{"styles":["solid"],"unicode":"f59d","label":"Luggage Cart"},"lungs":{"styles":["solid"],"unicode":"f604","label":"Lungs"},"lungs-virus":{"styles":["solid"],"unicode":"e067","label":"Lungs Virus"},"lyft":{"styles":["brands"],"unicode":"f3c3","label":"lyft"},"magento":{"styles":["brands"],"unicode":"f3c4","label":"Magento"},"magic":{"styles":["solid"],"unicode":"f0d0","label":"magic"},"magnet":{"styles":["solid"],"unicode":"f076","label":"magnet"},"mail-bulk":{"styles":["solid"],"unicode":"f674","label":"Mail Bulk"},"mailchimp":{"styles":["brands"],"unicode":"f59e","label":"Mailchimp"},"male":{"styles":["solid"],"unicode":"f183","label":"Male"},"mandalorian":{"styles":["brands"],"unicode":"f50f","label":"Mandalorian"},"map":{"styles":["solid","regular"],"unicode":"f279","label":"Map"},"map-marked":{"styles":["solid"],"unicode":"f59f","label":"Map Marked"},"map-marked-alt":{"styles":["solid"],"unicode":"f5a0","label":"Alternate Map Marked"},"map-marker":{"styles":["solid"],"unicode":"f041","label":"map-marker"},"map-marker-alt":{"styles":["solid"],"unicode":"f3c5","label":"Alternate Map Marker"},"map-pin":{"styles":["solid"],"unicode":"f276","label":"Map Pin"},"map-signs":{"styles":["solid"],"unicode":"f277","label":"Map Signs"},"markdown":{"styles":["brands"],"unicode":"f60f","label":"Markdown"},"marker":{"styles":["solid"],"unicode":"f5a1","label":"Marker"},"mars":{"styles":["solid"],"unicode":"f222","label":"Mars"},"mars-double":{"styles":["solid"],"unicode":"f227","label":"Mars Double"},"mars-stroke":{"styles":["solid"],"unicode":"f229","label":"Mars Stroke"},"mars-stroke-h":{"styles":["solid"],"unicode":"f22b","label":"Mars Stroke Horizontal"},"mars-stroke-v":{"styles":["solid"],"unicode":"f22a","label":"Mars Stroke Vertical"},"mask":{"styles":["solid"],"unicode":"f6fa","label":"Mask"},"mastodon":{"styles":["brands"],"unicode":"f4f6","label":"Mastodon"},"maxcdn":{"styles":["brands"],"unicode":"f136","label":"MaxCDN"},"mdb":{"styles":["brands"],"unicode":"f8ca","label":"Material Design for Bootstrap"},"medal":{"styles":["solid"],"unicode":"f5a2","label":"Medal"},"medapps":{"styles":["brands"],"unicode":"f3c6","label":"MedApps"},"medium":{"styles":["brands"],"unicode":"f23a","label":"Medium"},"medium-m":{"styles":["brands"],"unicode":"f3c7","label":"Medium M"},"medkit":{"styles":["solid"],"unicode":"f0fa","label":"medkit"},"medrt":{"styles":["brands"],"unicode":"f3c8","label":"MRT"},"meetup":{"styles":["brands"],"unicode":"f2e0","label":"Meetup"},"megaport":{"styles":["brands"],"unicode":"f5a3","label":"Megaport"},"meh":{"styles":["solid","regular"],"unicode":"f11a","label":"Neutral Face"},"meh-blank":{"styles":["solid","regular"],"unicode":"f5a4","label":"Face Without Mouth"},"meh-rolling-eyes":{"styles":["solid","regular"],"unicode":"f5a5","label":"Face With Rolling Eyes"},"memory":{"styles":["solid"],"unicode":"f538","label":"Memory"},"mendeley":{"styles":["brands"],"unicode":"f7b3","label":"Mendeley"},"menorah":{"styles":["solid"],"unicode":"f676","label":"Menorah"},"mercury":{"styles":["solid"],"unicode":"f223","label":"Mercury"},"meteor":{"styles":["solid"],"unicode":"f753","label":"Meteor"},"microblog":{"styles":["brands"],"unicode":"e01a","label":"Micro.blog"},"microchip":{"styles":["solid"],"unicode":"f2db","label":"Microchip"},"microphone":{"styles":["solid"],"unicode":"f130","label":"microphone"},"microphone-alt":{"styles":["solid"],"unicode":"f3c9","label":"Alternate Microphone"},"microphone-alt-slash":{"styles":["solid"],"unicode":"f539","label":"Alternate Microphone Slash"},"microphone-slash":{"styles":["solid"],"unicode":"f131","label":"Microphone Slash"},"microscope":{"styles":["solid"],"unicode":"f610","label":"Microscope"},"microsoft":{"styles":["brands"],"unicode":"f3ca","label":"Microsoft"},"minus":{"styles":["solid"],"unicode":"f068","label":"minus"},"minus-circle":{"styles":["solid"],"unicode":"f056","label":"Minus Circle"},"minus-square":{"styles":["solid","regular"],"unicode":"f146","label":"Minus Square"},"mitten":{"styles":["solid"],"unicode":"f7b5","label":"Mitten"},"mix":{"styles":["brands"],"unicode":"f3cb","label":"Mix"},"mixcloud":{"styles":["brands"],"unicode":"f289","label":"Mixcloud"},"mixer":{"styles":["brands"],"unicode":"e056","label":"Mixer"},"mizuni":{"styles":["brands"],"unicode":"f3cc","label":"Mizuni"},"mobile":{"styles":["solid"],"unicode":"f10b","label":"Mobile Phone"},"mobile-alt":{"styles":["solid"],"unicode":"f3cd","label":"Alternate Mobile"},"modx":{"styles":["brands"],"unicode":"f285","label":"MODX"},"monero":{"styles":["brands"],"unicode":"f3d0","label":"Monero"},"money-bill":{"styles":["solid"],"unicode":"f0d6","label":"Money Bill"},"money-bill-alt":{"styles":["solid","regular"],"unicode":"f3d1","label":"Alternate Money Bill"},"money-bill-wave":{"styles":["solid"],"unicode":"f53a","label":"Wavy Money Bill"},"money-bill-wave-alt":{"styles":["solid"],"unicode":"f53b","label":"Alternate Wavy Money Bill"},"money-check":{"styles":["solid"],"unicode":"f53c","label":"Money Check"},"money-check-alt":{"styles":["solid"],"unicode":"f53d","label":"Alternate Money Check"},"monument":{"styles":["solid"],"unicode":"f5a6","label":"Monument"},"moon":{"styles":["solid","regular"],"unicode":"f186","label":"Moon"},"mortar-pestle":{"styles":["solid"],"unicode":"f5a7","label":"Mortar Pestle"},"mosque":{"styles":["solid"],"unicode":"f678","label":"Mosque"},"motorcycle":{"styles":["solid"],"unicode":"f21c","label":"Motorcycle"},"mountain":{"styles":["solid"],"unicode":"f6fc","label":"Mountain"},"mouse":{"styles":["solid"],"unicode":"f8cc","label":"Mouse"},"mouse-pointer":{"styles":["solid"],"unicode":"f245","label":"Mouse Pointer"},"mug-hot":{"styles":["solid"],"unicode":"f7b6","label":"Mug Hot"},"music":{"styles":["solid"],"unicode":"f001","label":"Music"},"napster":{"styles":["brands"],"unicode":"f3d2","label":"Napster"},"neos":{"styles":["brands"],"unicode":"f612","label":"Neos"},"network-wired":{"styles":["solid"],"unicode":"f6ff","label":"Wired Network"},"neuter":{"styles":["solid"],"unicode":"f22c","label":"Neuter"},"newspaper":{"styles":["solid","regular"],"unicode":"f1ea","label":"Newspaper"},"nimblr":{"styles":["brands"],"unicode":"f5a8","label":"Nimblr"},"node":{"styles":["brands"],"unicode":"f419","label":"Node.js"},"node-js":{"styles":["brands"],"unicode":"f3d3","label":"Node.js JS"},"not-equal":{"styles":["solid"],"unicode":"f53e","label":"Not Equal"},"notes-medical":{"styles":["solid"],"unicode":"f481","label":"Medical Notes"},"npm":{"styles":["brands"],"unicode":"f3d4","label":"npm"},"ns8":{"styles":["brands"],"unicode":"f3d5","label":"NS8"},"nutritionix":{"styles":["brands"],"unicode":"f3d6","label":"Nutritionix"},"object-group":{"styles":["solid","regular"],"unicode":"f247","label":"Object Group"},"object-ungroup":{"styles":["solid","regular"],"unicode":"f248","label":"Object Ungroup"},"octopus-deploy":{"styles":["brands"],"unicode":"e082","label":"Octopus Deploy"},"odnoklassniki":{"styles":["brands"],"unicode":"f263","label":"Odnoklassniki"},"odnoklassniki-square":{"styles":["brands"],"unicode":"f264","label":"Odnoklassniki Square"},"oil-can":{"styles":["solid"],"unicode":"f613","label":"Oil Can"},"old-republic":{"styles":["brands"],"unicode":"f510","label":"Old Republic"},"om":{"styles":["solid"],"unicode":"f679","label":"Om"},"opencart":{"styles":["brands"],"unicode":"f23d","label":"OpenCart"},"openid":{"styles":["brands"],"unicode":"f19b","label":"OpenID"},"opera":{"styles":["brands"],"unicode":"f26a","label":"Opera"},"optin-monster":{"styles":["brands"],"unicode":"f23c","label":"Optin Monster"},"orcid":{"styles":["brands"],"unicode":"f8d2","label":"ORCID"},"osi":{"styles":["brands"],"unicode":"f41a","label":"Open Source Initiative"},"otter":{"styles":["solid"],"unicode":"f700","label":"Otter"},"outdent":{"styles":["solid"],"unicode":"f03b","label":"Outdent"},"page4":{"styles":["brands"],"unicode":"f3d7","label":"page4 Corporation"},"pagelines":{"styles":["brands"],"unicode":"f18c","label":"Pagelines"},"pager":{"styles":["solid"],"unicode":"f815","label":"Pager"},"paint-brush":{"styles":["solid"],"unicode":"f1fc","label":"Paint Brush"},"paint-roller":{"styles":["solid"],"unicode":"f5aa","label":"Paint Roller"},"palette":{"styles":["solid"],"unicode":"f53f","label":"Palette"},"palfed":{"styles":["brands"],"unicode":"f3d8","label":"Palfed"},"pallet":{"styles":["solid"],"unicode":"f482","label":"Pallet"},"paper-plane":{"styles":["solid","regular"],"unicode":"f1d8","label":"Paper Plane"},"paperclip":{"styles":["solid"],"unicode":"f0c6","label":"Paperclip"},"parachute-box":{"styles":["solid"],"unicode":"f4cd","label":"Parachute Box"},"paragraph":{"styles":["solid"],"unicode":"f1dd","label":"paragraph"},"parking":{"styles":["solid"],"unicode":"f540","label":"Parking"},"passport":{"styles":["solid"],"unicode":"f5ab","label":"Passport"},"pastafarianism":{"styles":["solid"],"unicode":"f67b","label":"Pastafarianism"},"paste":{"styles":["solid"],"unicode":"f0ea","label":"Paste"},"patreon":{"styles":["brands"],"unicode":"f3d9","label":"Patreon"},"pause":{"styles":["solid"],"unicode":"f04c","label":"pause"},"pause-circle":{"styles":["solid","regular"],"unicode":"f28b","label":"Pause Circle"},"paw":{"styles":["solid"],"unicode":"f1b0","label":"Paw"},"paypal":{"styles":["brands"],"unicode":"f1ed","label":"Paypal"},"peace":{"styles":["solid"],"unicode":"f67c","label":"Peace"},"pen":{"styles":["solid"],"unicode":"f304","label":"Pen"},"pen-alt":{"styles":["solid"],"unicode":"f305","label":"Alternate Pen"},"pen-fancy":{"styles":["solid"],"unicode":"f5ac","label":"Pen Fancy"},"pen-nib":{"styles":["solid"],"unicode":"f5ad","label":"Pen Nib"},"pen-square":{"styles":["solid"],"unicode":"f14b","label":"Pen Square"},"pencil-alt":{"styles":["solid"],"unicode":"f303","label":"Alternate Pencil"},"pencil-ruler":{"styles":["solid"],"unicode":"f5ae","label":"Pencil Ruler"},"penny-arcade":{"styles":["brands"],"unicode":"f704","label":"Penny Arcade"},"people-arrows":{"styles":["solid"],"unicode":"e068","label":"People Arrows"},"people-carry":{"styles":["solid"],"unicode":"f4ce","label":"People Carry"},"pepper-hot":{"styles":["solid"],"unicode":"f816","label":"Hot Pepper"},"perbyte":{"styles":["brands"],"unicode":"e083","label":"PerByte"},"percent":{"styles":["solid"],"unicode":"f295","label":"Percent"},"percentage":{"styles":["solid"],"unicode":"f541","label":"Percentage"},"periscope":{"styles":["brands"],"unicode":"f3da","label":"Periscope"},"person-booth":{"styles":["solid"],"unicode":"f756","label":"Person Entering Booth"},"phabricator":{"styles":["brands"],"unicode":"f3db","label":"Phabricator"},"phoenix-framework":{"styles":["brands"],"unicode":"f3dc","label":"Phoenix Framework"},"phoenix-squadron":{"styles":["brands"],"unicode":"f511","label":"Phoenix Squadron"},"phone":{"styles":["solid"],"unicode":"f095","label":"Phone"},"phone-alt":{"styles":["solid"],"unicode":"f879","label":"Alternate Phone"},"phone-slash":{"styles":["solid"],"unicode":"f3dd","label":"Phone Slash"},"phone-square":{"styles":["solid"],"unicode":"f098","label":"Phone Square"},"phone-square-alt":{"styles":["solid"],"unicode":"f87b","label":"Alternate Phone Square"},"phone-volume":{"styles":["solid"],"unicode":"f2a0","label":"Phone Volume"},"photo-video":{"styles":["solid"],"unicode":"f87c","label":"Photo Video"},"php":{"styles":["brands"],"unicode":"f457","label":"PHP"},"pied-piper":{"styles":["brands"],"unicode":"f2ae","label":"Pied Piper Logo"},"pied-piper-alt":{"styles":["brands"],"unicode":"f1a8","label":"Alternate Pied Piper Logo (Old)"},"pied-piper-hat":{"styles":["brands"],"unicode":"f4e5","label":"Pied Piper Hat (Old)"},"pied-piper-pp":{"styles":["brands"],"unicode":"f1a7","label":"Pied Piper PP Logo (Old)"},"pied-piper-square":{"styles":["brands"],"unicode":"e01e","label":"Pied Piper Square Logo (Old)"},"piggy-bank":{"styles":["solid"],"unicode":"f4d3","label":"Piggy Bank"},"pills":{"styles":["solid"],"unicode":"f484","label":"Pills"},"pinterest":{"styles":["brands"],"unicode":"f0d2","label":"Pinterest"},"pinterest-p":{"styles":["brands"],"unicode":"f231","label":"Pinterest P"},"pinterest-square":{"styles":["brands"],"unicode":"f0d3","label":"Pinterest Square"},"pizza-slice":{"styles":["solid"],"unicode":"f818","label":"Pizza Slice"},"place-of-worship":{"styles":["solid"],"unicode":"f67f","label":"Place of Worship"},"plane":{"styles":["solid"],"unicode":"f072","label":"plane"},"plane-arrival":{"styles":["solid"],"unicode":"f5af","label":"Plane Arrival"},"plane-departure":{"styles":["solid"],"unicode":"f5b0","label":"Plane Departure"},"plane-slash":{"styles":["solid"],"unicode":"e069","label":"Plane Slash"},"play":{"styles":["solid"],"unicode":"f04b","label":"play"},"play-circle":{"styles":["solid","regular"],"unicode":"f144","label":"Play Circle"},"playstation":{"styles":["brands"],"unicode":"f3df","label":"PlayStation"},"plug":{"styles":["solid"],"unicode":"f1e6","label":"Plug"},"plus":{"styles":["solid"],"unicode":"f067","label":"plus"},"plus-circle":{"styles":["solid"],"unicode":"f055","label":"Plus Circle"},"plus-square":{"styles":["solid","regular"],"unicode":"f0fe","label":"Plus Square"},"podcast":{"styles":["solid"],"unicode":"f2ce","label":"Podcast"},"poll":{"styles":["solid"],"unicode":"f681","label":"Poll"},"poll-h":{"styles":["solid"],"unicode":"f682","label":"Poll H"},"poo":{"styles":["solid"],"unicode":"f2fe","label":"Poo"},"poo-storm":{"styles":["solid"],"unicode":"f75a","label":"Poo Storm"},"poop":{"styles":["solid"],"unicode":"f619","label":"Poop"},"portrait":{"styles":["solid"],"unicode":"f3e0","label":"Portrait"},"pound-sign":{"styles":["solid"],"unicode":"f154","label":"Pound Sign"},"power-off":{"styles":["solid"],"unicode":"f011","label":"Power Off"},"pray":{"styles":["solid"],"unicode":"f683","label":"Pray"},"praying-hands":{"styles":["solid"],"unicode":"f684","label":"Praying Hands"},"prescription":{"styles":["solid"],"unicode":"f5b1","label":"Prescription"},"prescription-bottle":{"styles":["solid"],"unicode":"f485","label":"Prescription Bottle"},"prescription-bottle-alt":{"styles":["solid"],"unicode":"f486","label":"Alternate Prescription Bottle"},"print":{"styles":["solid"],"unicode":"f02f","label":"print"},"procedures":{"styles":["solid"],"unicode":"f487","label":"Procedures"},"product-hunt":{"styles":["brands"],"unicode":"f288","label":"Product Hunt"},"project-diagram":{"styles":["solid"],"unicode":"f542","label":"Project Diagram"},"pump-medical":{"styles":["solid"],"unicode":"e06a","label":"Pump Medical"},"pump-soap":{"styles":["solid"],"unicode":"e06b","label":"Pump Soap"},"pushed":{"styles":["brands"],"unicode":"f3e1","label":"Pushed"},"puzzle-piece":{"styles":["solid"],"unicode":"f12e","label":"Puzzle Piece"},"python":{"styles":["brands"],"unicode":"f3e2","label":"Python"},"qq":{"styles":["brands"],"unicode":"f1d6","label":"QQ"},"qrcode":{"styles":["solid"],"unicode":"f029","label":"qrcode"},"question":{"styles":["solid"],"unicode":"f128","label":"Question"},"question-circle":{"styles":["solid","regular"],"unicode":"f059","label":"Question Circle"},"quidditch":{"styles":["solid"],"unicode":"f458","label":"Quidditch"},"quinscape":{"styles":["brands"],"unicode":"f459","label":"QuinScape"},"quora":{"styles":["brands"],"unicode":"f2c4","label":"Quora"},"quote-left":{"styles":["solid"],"unicode":"f10d","label":"quote-left"},"quote-right":{"styles":["solid"],"unicode":"f10e","label":"quote-right"},"quran":{"styles":["solid"],"unicode":"f687","label":"Quran"},"r-project":{"styles":["brands"],"unicode":"f4f7","label":"R Project"},"radiation":{"styles":["solid"],"unicode":"f7b9","label":"Radiation"},"radiation-alt":{"styles":["solid"],"unicode":"f7ba","label":"Alternate Radiation"},"rainbow":{"styles":["solid"],"unicode":"f75b","label":"Rainbow"},"random":{"styles":["solid"],"unicode":"f074","label":"random"},"raspberry-pi":{"styles":["brands"],"unicode":"f7bb","label":"Raspberry Pi"},"ravelry":{"styles":["brands"],"unicode":"f2d9","label":"Ravelry"},"react":{"styles":["brands"],"unicode":"f41b","label":"React"},"reacteurope":{"styles":["brands"],"unicode":"f75d","label":"ReactEurope"},"readme":{"styles":["brands"],"unicode":"f4d5","label":"ReadMe"},"rebel":{"styles":["brands"],"unicode":"f1d0","label":"Rebel Alliance"},"receipt":{"styles":["solid"],"unicode":"f543","label":"Receipt"},"record-vinyl":{"styles":["solid"],"unicode":"f8d9","label":"Record Vinyl"},"recycle":{"styles":["solid"],"unicode":"f1b8","label":"Recycle"},"red-river":{"styles":["brands"],"unicode":"f3e3","label":"red river"},"reddit":{"styles":["brands"],"unicode":"f1a1","label":"reddit Logo"},"reddit-alien":{"styles":["brands"],"unicode":"f281","label":"reddit Alien"},"reddit-square":{"styles":["brands"],"unicode":"f1a2","label":"reddit Square"},"redhat":{"styles":["brands"],"unicode":"f7bc","label":"Redhat"},"redo":{"styles":["solid"],"unicode":"f01e","label":"Redo"},"redo-alt":{"styles":["solid"],"unicode":"f2f9","label":"Alternate Redo"},"registered":{"styles":["solid","regular"],"unicode":"f25d","label":"Registered Trademark"},"remove-format":{"styles":["solid"],"unicode":"f87d","label":"Remove Format"},"renren":{"styles":["brands"],"unicode":"f18b","label":"Renren"},"reply":{"styles":["solid"],"unicode":"f3e5","label":"Reply"},"reply-all":{"styles":["solid"],"unicode":"f122","label":"reply-all"},"replyd":{"styles":["brands"],"unicode":"f3e6","label":"replyd"},"republican":{"styles":["solid"],"unicode":"f75e","label":"Republican"},"researchgate":{"styles":["brands"],"unicode":"f4f8","label":"Researchgate"},"resolving":{"styles":["brands"],"unicode":"f3e7","label":"Resolving"},"restroom":{"styles":["solid"],"unicode":"f7bd","label":"Restroom"},"retweet":{"styles":["solid"],"unicode":"f079","label":"Retweet"},"rev":{"styles":["brands"],"unicode":"f5b2","label":"Rev.io"},"ribbon":{"styles":["solid"],"unicode":"f4d6","label":"Ribbon"},"ring":{"styles":["solid"],"unicode":"f70b","label":"Ring"},"road":{"styles":["solid"],"unicode":"f018","label":"road"},"robot":{"styles":["solid"],"unicode":"f544","label":"Robot"},"rocket":{"styles":["solid"],"unicode":"f135","label":"rocket"},"rocketchat":{"styles":["brands"],"unicode":"f3e8","label":"Rocket.Chat"},"rockrms":{"styles":["brands"],"unicode":"f3e9","label":"Rockrms"},"route":{"styles":["solid"],"unicode":"f4d7","label":"Route"},"rss":{"styles":["solid"],"unicode":"f09e","label":"rss"},"rss-square":{"styles":["solid"],"unicode":"f143","label":"RSS Square"},"ruble-sign":{"styles":["solid"],"unicode":"f158","label":"Ruble Sign"},"ruler":{"styles":["solid"],"unicode":"f545","label":"Ruler"},"ruler-combined":{"styles":["solid"],"unicode":"f546","label":"Ruler Combined"},"ruler-horizontal":{"styles":["solid"],"unicode":"f547","label":"Ruler Horizontal"},"ruler-vertical":{"styles":["solid"],"unicode":"f548","label":"Ruler Vertical"},"running":{"styles":["solid"],"unicode":"f70c","label":"Running"},"rupee-sign":{"styles":["solid"],"unicode":"f156","label":"Indian Rupee Sign"},"rust":{"styles":["brands"],"unicode":"e07a","label":"Rust"},"sad-cry":{"styles":["solid","regular"],"unicode":"f5b3","label":"Crying Face"},"sad-tear":{"styles":["solid","regular"],"unicode":"f5b4","label":"Loudly Crying Face"},"safari":{"styles":["brands"],"unicode":"f267","label":"Safari"},"salesforce":{"styles":["brands"],"unicode":"f83b","label":"Salesforce"},"sass":{"styles":["brands"],"unicode":"f41e","label":"Sass"},"satellite":{"styles":["solid"],"unicode":"f7bf","label":"Satellite"},"satellite-dish":{"styles":["solid"],"unicode":"f7c0","label":"Satellite Dish"},"save":{"styles":["solid","regular"],"unicode":"f0c7","label":"Save"},"schlix":{"styles":["brands"],"unicode":"f3ea","label":"SCHLIX"},"school":{"styles":["solid"],"unicode":"f549","label":"School"},"screwdriver":{"styles":["solid"],"unicode":"f54a","label":"Screwdriver"},"scribd":{"styles":["brands"],"unicode":"f28a","label":"Scribd"},"scroll":{"styles":["solid"],"unicode":"f70e","label":"Scroll"},"sd-card":{"styles":["solid"],"unicode":"f7c2","label":"Sd Card"},"search":{"styles":["solid"],"unicode":"f002","label":"Search"},"search-dollar":{"styles":["solid"],"unicode":"f688","label":"Search Dollar"},"search-location":{"styles":["solid"],"unicode":"f689","label":"Search Location"},"search-minus":{"styles":["solid"],"unicode":"f010","label":"Search Minus"},"search-plus":{"styles":["solid"],"unicode":"f00e","label":"Search Plus"},"searchengin":{"styles":["brands"],"unicode":"f3eb","label":"Searchengin"},"seedling":{"styles":["solid"],"unicode":"f4d8","label":"Seedling"},"sellcast":{"styles":["brands"],"unicode":"f2da","label":"Sellcast"},"sellsy":{"styles":["brands"],"unicode":"f213","label":"Sellsy"},"server":{"styles":["solid"],"unicode":"f233","label":"Server"},"servicestack":{"styles":["brands"],"unicode":"f3ec","label":"Servicestack"},"shapes":{"styles":["solid"],"unicode":"f61f","label":"Shapes"},"share":{"styles":["solid"],"unicode":"f064","label":"Share"},"share-alt":{"styles":["solid"],"unicode":"f1e0","label":"Alternate Share"},"share-alt-square":{"styles":["solid"],"unicode":"f1e1","label":"Alternate Share Square"},"share-square":{"styles":["solid","regular"],"unicode":"f14d","label":"Share Square"},"shekel-sign":{"styles":["solid"],"unicode":"f20b","label":"Shekel Sign"},"shield-alt":{"styles":["solid"],"unicode":"f3ed","label":"Alternate Shield"},"shield-virus":{"styles":["solid"],"unicode":"e06c","label":"Shield Virus"},"ship":{"styles":["solid"],"unicode":"f21a","label":"Ship"},"shipping-fast":{"styles":["solid"],"unicode":"f48b","label":"Shipping Fast"},"shirtsinbulk":{"styles":["brands"],"unicode":"f214","label":"Shirts in Bulk"},"shoe-prints":{"styles":["solid"],"unicode":"f54b","label":"Shoe Prints"},"shopify":{"styles":["brands"],"unicode":"e057","label":"Shopify"},"shopping-bag":{"styles":["solid"],"unicode":"f290","label":"Shopping Bag"},"shopping-basket":{"styles":["solid"],"unicode":"f291","label":"Shopping Basket"},"shopping-cart":{"styles":["solid"],"unicode":"f07a","label":"shopping-cart"},"shopware":{"styles":["brands"],"unicode":"f5b5","label":"Shopware"},"shower":{"styles":["solid"],"unicode":"f2cc","label":"Shower"},"shuttle-van":{"styles":["solid"],"unicode":"f5b6","label":"Shuttle Van"},"sign":{"styles":["solid"],"unicode":"f4d9","label":"Sign"},"sign-in-alt":{"styles":["solid"],"unicode":"f2f6","label":"Alternate Sign In"},"sign-language":{"styles":["solid"],"unicode":"f2a7","label":"Sign Language"},"sign-out-alt":{"styles":["solid"],"unicode":"f2f5","label":"Alternate Sign Out"},"signal":{"styles":["solid"],"unicode":"f012","label":"signal"},"signature":{"styles":["solid"],"unicode":"f5b7","label":"Signature"},"sim-card":{"styles":["solid"],"unicode":"f7c4","label":"SIM Card"},"simplybuilt":{"styles":["brands"],"unicode":"f215","label":"SimplyBuilt"},"sink":{"styles":["solid"],"unicode":"e06d","label":"Sink"},"sistrix":{"styles":["brands"],"unicode":"f3ee","label":"SISTRIX"},"sitemap":{"styles":["solid"],"unicode":"f0e8","label":"Sitemap"},"sith":{"styles":["brands"],"unicode":"f512","label":"Sith"},"skating":{"styles":["solid"],"unicode":"f7c5","label":"Skating"},"sketch":{"styles":["brands"],"unicode":"f7c6","label":"Sketch"},"skiing":{"styles":["solid"],"unicode":"f7c9","label":"Skiing"},"skiing-nordic":{"styles":["solid"],"unicode":"f7ca","label":"Skiing Nordic"},"skull":{"styles":["solid"],"unicode":"f54c","label":"Skull"},"skull-crossbones":{"styles":["solid"],"unicode":"f714","label":"Skull & Crossbones"},"skyatlas":{"styles":["brands"],"unicode":"f216","label":"skyatlas"},"skype":{"styles":["brands"],"unicode":"f17e","label":"Skype"},"slack":{"styles":["brands"],"unicode":"f198","label":"Slack Logo"},"slack-hash":{"styles":["brands"],"unicode":"f3ef","label":"Slack Hashtag"},"slash":{"styles":["solid"],"unicode":"f715","label":"Slash"},"sleigh":{"styles":["solid"],"unicode":"f7cc","label":"Sleigh"},"sliders-h":{"styles":["solid"],"unicode":"f1de","label":"Horizontal Sliders"},"slideshare":{"styles":["brands"],"unicode":"f1e7","label":"Slideshare"},"smile":{"styles":["solid","regular"],"unicode":"f118","label":"Smiling Face"},"smile-beam":{"styles":["solid","regular"],"unicode":"f5b8","label":"Beaming Face With Smiling Eyes"},"smile-wink":{"styles":["solid","regular"],"unicode":"f4da","label":"Winking Face"},"smog":{"styles":["solid"],"unicode":"f75f","label":"Smog"},"smoking":{"styles":["solid"],"unicode":"f48d","label":"Smoking"},"smoking-ban":{"styles":["solid"],"unicode":"f54d","label":"Smoking Ban"},"sms":{"styles":["solid"],"unicode":"f7cd","label":"SMS"},"snapchat":{"styles":["brands"],"unicode":"f2ab","label":"Snapchat"},"snapchat-ghost":{"styles":["brands"],"unicode":"f2ac","label":"Snapchat Ghost"},"snapchat-square":{"styles":["brands"],"unicode":"f2ad","label":"Snapchat Square"},"snowboarding":{"styles":["solid"],"unicode":"f7ce","label":"Snowboarding"},"snowflake":{"styles":["solid","regular"],"unicode":"f2dc","label":"Snowflake"},"snowman":{"styles":["solid"],"unicode":"f7d0","label":"Snowman"},"snowplow":{"styles":["solid"],"unicode":"f7d2","label":"Snowplow"},"soap":{"styles":["solid"],"unicode":"e06e","label":"Soap"},"socks":{"styles":["solid"],"unicode":"f696","label":"Socks"},"solar-panel":{"styles":["solid"],"unicode":"f5ba","label":"Solar Panel"},"sort":{"styles":["solid"],"unicode":"f0dc","label":"Sort"},"sort-alpha-down":{"styles":["solid"],"unicode":"f15d","label":"Sort Alphabetical Down"},"sort-alpha-down-alt":{"styles":["solid"],"unicode":"f881","label":"Alternate Sort Alphabetical Down"},"sort-alpha-up":{"styles":["solid"],"unicode":"f15e","label":"Sort Alphabetical Up"},"sort-alpha-up-alt":{"styles":["solid"],"unicode":"f882","label":"Alternate Sort Alphabetical Up"},"sort-amount-down":{"styles":["solid"],"unicode":"f160","label":"Sort Amount Down"},"sort-amount-down-alt":{"styles":["solid"],"unicode":"f884","label":"Alternate Sort Amount Down"},"sort-amount-up":{"styles":["solid"],"unicode":"f161","label":"Sort Amount Up"},"sort-amount-up-alt":{"styles":["solid"],"unicode":"f885","label":"Alternate Sort Amount Up"},"sort-down":{"styles":["solid"],"unicode":"f0dd","label":"Sort Down (Descending)"},"sort-numeric-down":{"styles":["solid"],"unicode":"f162","label":"Sort Numeric Down"},"sort-numeric-down-alt":{"styles":["solid"],"unicode":"f886","label":"Alternate Sort Numeric Down"},"sort-numeric-up":{"styles":["solid"],"unicode":"f163","label":"Sort Numeric Up"},"sort-numeric-up-alt":{"styles":["solid"],"unicode":"f887","label":"Alternate Sort Numeric Up"},"sort-up":{"styles":["solid"],"unicode":"f0de","label":"Sort Up (Ascending)"},"soundcloud":{"styles":["brands"],"unicode":"f1be","label":"SoundCloud"},"sourcetree":{"styles":["brands"],"unicode":"f7d3","label":"Sourcetree"},"spa":{"styles":["solid"],"unicode":"f5bb","label":"Spa"},"space-shuttle":{"styles":["solid"],"unicode":"f197","label":"Space Shuttle"},"speakap":{"styles":["brands"],"unicode":"f3f3","label":"Speakap"},"speaker-deck":{"styles":["brands"],"unicode":"f83c","label":"Speaker Deck"},"spell-check":{"styles":["solid"],"unicode":"f891","label":"Spell Check"},"spider":{"styles":["solid"],"unicode":"f717","label":"Spider"},"spinner":{"styles":["solid"],"unicode":"f110","label":"Spinner"},"splotch":{"styles":["solid"],"unicode":"f5bc","label":"Splotch"},"spotify":{"styles":["brands"],"unicode":"f1bc","label":"Spotify"},"spray-can":{"styles":["solid"],"unicode":"f5bd","label":"Spray Can"},"square":{"styles":["solid","regular"],"unicode":"f0c8","label":"Square"},"square-full":{"styles":["solid"],"unicode":"f45c","label":"Square Full"},"square-root-alt":{"styles":["solid"],"unicode":"f698","label":"Alternate Square Root"},"squarespace":{"styles":["brands"],"unicode":"f5be","label":"Squarespace"},"stack-exchange":{"styles":["brands"],"unicode":"f18d","label":"Stack Exchange"},"stack-overflow":{"styles":["brands"],"unicode":"f16c","label":"Stack Overflow"},"stackpath":{"styles":["brands"],"unicode":"f842","label":"Stackpath"},"stamp":{"styles":["solid"],"unicode":"f5bf","label":"Stamp"},"star":{"styles":["solid","regular"],"unicode":"f005","label":"Star"},"star-and-crescent":{"styles":["solid"],"unicode":"f699","label":"Star and Crescent"},"star-half":{"styles":["solid","regular"],"unicode":"f089","label":"star-half"},"star-half-alt":{"styles":["solid"],"unicode":"f5c0","label":"Alternate Star Half"},"star-of-david":{"styles":["solid"],"unicode":"f69a","label":"Star of David"},"star-of-life":{"styles":["solid"],"unicode":"f621","label":"Star of Life"},"staylinked":{"styles":["brands"],"unicode":"f3f5","label":"StayLinked"},"steam":{"styles":["brands"],"unicode":"f1b6","label":"Steam"},"steam-square":{"styles":["brands"],"unicode":"f1b7","label":"Steam Square"},"steam-symbol":{"styles":["brands"],"unicode":"f3f6","label":"Steam Symbol"},"step-backward":{"styles":["solid"],"unicode":"f048","label":"step-backward"},"step-forward":{"styles":["solid"],"unicode":"f051","label":"step-forward"},"stethoscope":{"styles":["solid"],"unicode":"f0f1","label":"Stethoscope"},"sticker-mule":{"styles":["brands"],"unicode":"f3f7","label":"Sticker Mule"},"sticky-note":{"styles":["solid","regular"],"unicode":"f249","label":"Sticky Note"},"stop":{"styles":["solid"],"unicode":"f04d","label":"stop"},"stop-circle":{"styles":["solid","regular"],"unicode":"f28d","label":"Stop Circle"},"stopwatch":{"styles":["solid"],"unicode":"f2f2","label":"Stopwatch"},"stopwatch-20":{"styles":["solid"],"unicode":"e06f","label":"Stopwatch 20"},"store":{"styles":["solid"],"unicode":"f54e","label":"Store"},"store-alt":{"styles":["solid"],"unicode":"f54f","label":"Alternate Store"},"store-alt-slash":{"styles":["solid"],"unicode":"e070","label":"Alternate Store Slash"},"store-slash":{"styles":["solid"],"unicode":"e071","label":"Store Slash"},"strava":{"styles":["brands"],"unicode":"f428","label":"Strava"},"stream":{"styles":["solid"],"unicode":"f550","label":"Stream"},"street-view":{"styles":["solid"],"unicode":"f21d","label":"Street View"},"strikethrough":{"styles":["solid"],"unicode":"f0cc","label":"Strikethrough"},"stripe":{"styles":["brands"],"unicode":"f429","label":"Stripe"},"stripe-s":{"styles":["brands"],"unicode":"f42a","label":"Stripe S"},"stroopwafel":{"styles":["solid"],"unicode":"f551","label":"Stroopwafel"},"studiovinari":{"styles":["brands"],"unicode":"f3f8","label":"Studio Vinari"},"stumbleupon":{"styles":["brands"],"unicode":"f1a4","label":"StumbleUpon Logo"},"stumbleupon-circle":{"styles":["brands"],"unicode":"f1a3","label":"StumbleUpon Circle"},"subscript":{"styles":["solid"],"unicode":"f12c","label":"subscript"},"subway":{"styles":["solid"],"unicode":"f239","label":"Subway"},"suitcase":{"styles":["solid"],"unicode":"f0f2","label":"Suitcase"},"suitcase-rolling":{"styles":["solid"],"unicode":"f5c1","label":"Suitcase Rolling"},"sun":{"styles":["solid","regular"],"unicode":"f185","label":"Sun"},"superpowers":{"styles":["brands"],"unicode":"f2dd","label":"Superpowers"},"superscript":{"styles":["solid"],"unicode":"f12b","label":"superscript"},"supple":{"styles":["brands"],"unicode":"f3f9","label":"Supple"},"surprise":{"styles":["solid","regular"],"unicode":"f5c2","label":"Hushed Face"},"suse":{"styles":["brands"],"unicode":"f7d6","label":"Suse"},"swatchbook":{"styles":["solid"],"unicode":"f5c3","label":"Swatchbook"},"swift":{"styles":["brands"],"unicode":"f8e1","label":"Swift"},"swimmer":{"styles":["solid"],"unicode":"f5c4","label":"Swimmer"},"swimming-pool":{"styles":["solid"],"unicode":"f5c5","label":"Swimming Pool"},"symfony":{"styles":["brands"],"unicode":"f83d","label":"Symfony"},"synagogue":{"styles":["solid"],"unicode":"f69b","label":"Synagogue"},"sync":{"styles":["solid"],"unicode":"f021","label":"Sync"},"sync-alt":{"styles":["solid"],"unicode":"f2f1","label":"Alternate Sync"},"syringe":{"styles":["solid"],"unicode":"f48e","label":"Syringe"},"table":{"styles":["solid"],"unicode":"f0ce","label":"table"},"table-tennis":{"styles":["solid"],"unicode":"f45d","label":"Table Tennis"},"tablet":{"styles":["solid"],"unicode":"f10a","label":"tablet"},"tablet-alt":{"styles":["solid"],"unicode":"f3fa","label":"Alternate Tablet"},"tablets":{"styles":["solid"],"unicode":"f490","label":"Tablets"},"tachometer-alt":{"styles":["solid"],"unicode":"f3fd","label":"Alternate Tachometer"},"tag":{"styles":["solid"],"unicode":"f02b","label":"tag"},"tags":{"styles":["solid"],"unicode":"f02c","label":"tags"},"tape":{"styles":["solid"],"unicode":"f4db","label":"Tape"},"tasks":{"styles":["solid"],"unicode":"f0ae","label":"Tasks"},"taxi":{"styles":["solid"],"unicode":"f1ba","label":"Taxi"},"teamspeak":{"styles":["brands"],"unicode":"f4f9","label":"TeamSpeak"},"teeth":{"styles":["solid"],"unicode":"f62e","label":"Teeth"},"teeth-open":{"styles":["solid"],"unicode":"f62f","label":"Teeth Open"},"telegram":{"styles":["brands"],"unicode":"f2c6","label":"Telegram"},"telegram-plane":{"styles":["brands"],"unicode":"f3fe","label":"Telegram Plane"},"temperature-high":{"styles":["solid"],"unicode":"f769","label":"High Temperature"},"temperature-low":{"styles":["solid"],"unicode":"f76b","label":"Low Temperature"},"tencent-weibo":{"styles":["brands"],"unicode":"f1d5","label":"Tencent Weibo"},"tenge":{"styles":["solid"],"unicode":"f7d7","label":"Tenge"},"terminal":{"styles":["solid"],"unicode":"f120","label":"Terminal"},"text-height":{"styles":["solid"],"unicode":"f034","label":"text-height"},"text-width":{"styles":["solid"],"unicode":"f035","label":"Text Width"},"th":{"styles":["solid"],"unicode":"f00a","label":"th"},"th-large":{"styles":["solid"],"unicode":"f009","label":"th-large"},"th-list":{"styles":["solid"],"unicode":"f00b","label":"th-list"},"the-red-yeti":{"styles":["brands"],"unicode":"f69d","label":"The Red Yeti"},"theater-masks":{"styles":["solid"],"unicode":"f630","label":"Theater Masks"},"themeco":{"styles":["brands"],"unicode":"f5c6","label":"Themeco"},"themeisle":{"styles":["brands"],"unicode":"f2b2","label":"ThemeIsle"},"thermometer":{"styles":["solid"],"unicode":"f491","label":"Thermometer"},"thermometer-empty":{"styles":["solid"],"unicode":"f2cb","label":"Thermometer Empty"},"thermometer-full":{"styles":["solid"],"unicode":"f2c7","label":"Thermometer Full"},"thermometer-half":{"styles":["solid"],"unicode":"f2c9","label":"Thermometer 1/2 Full"},"thermometer-quarter":{"styles":["solid"],"unicode":"f2ca","label":"Thermometer 1/4 Full"},"thermometer-three-quarters":{"styles":["solid"],"unicode":"f2c8","label":"Thermometer 3/4 Full"},"think-peaks":{"styles":["brands"],"unicode":"f731","label":"Think Peaks"},"thumbs-down":{"styles":["solid","regular"],"unicode":"f165","label":"thumbs-down"},"thumbs-up":{"styles":["solid","regular"],"unicode":"f164","label":"thumbs-up"},"thumbtack":{"styles":["solid"],"unicode":"f08d","label":"Thumbtack"},"ticket-alt":{"styles":["solid"],"unicode":"f3ff","label":"Alternate Ticket"},"tiktok":{"styles":["brands"],"unicode":"e07b","label":"TikTok"},"times":{"styles":["solid"],"unicode":"f00d","label":"Times"},"times-circle":{"styles":["solid","regular"],"unicode":"f057","label":"Times Circle"},"tint":{"styles":["solid"],"unicode":"f043","label":"tint"},"tint-slash":{"styles":["solid"],"unicode":"f5c7","label":"Tint Slash"},"tired":{"styles":["solid","regular"],"unicode":"f5c8","label":"Tired Face"},"toggle-off":{"styles":["solid"],"unicode":"f204","label":"Toggle Off"},"toggle-on":{"styles":["solid"],"unicode":"f205","label":"Toggle On"},"toilet":{"styles":["solid"],"unicode":"f7d8","label":"Toilet"},"toilet-paper":{"styles":["solid"],"unicode":"f71e","label":"Toilet Paper"},"toilet-paper-slash":{"styles":["solid"],"unicode":"e072","label":"Toilet Paper Slash"},"toolbox":{"styles":["solid"],"unicode":"f552","label":"Toolbox"},"tools":{"styles":["solid"],"unicode":"f7d9","label":"Tools"},"tooth":{"styles":["solid"],"unicode":"f5c9","label":"Tooth"},"torah":{"styles":["solid"],"unicode":"f6a0","label":"Torah"},"torii-gate":{"styles":["solid"],"unicode":"f6a1","label":"Torii Gate"},"tractor":{"styles":["solid"],"unicode":"f722","label":"Tractor"},"trade-federation":{"styles":["brands"],"unicode":"f513","label":"Trade Federation"},"trademark":{"styles":["solid"],"unicode":"f25c","label":"Trademark"},"traffic-light":{"styles":["solid"],"unicode":"f637","label":"Traffic Light"},"trailer":{"styles":["solid"],"unicode":"e041","label":"Trailer"},"train":{"styles":["solid"],"unicode":"f238","label":"Train"},"tram":{"styles":["solid"],"unicode":"f7da","label":"Tram"},"transgender":{"styles":["solid"],"unicode":"f224","label":"Transgender"},"transgender-alt":{"styles":["solid"],"unicode":"f225","label":"Alternate Transgender"},"trash":{"styles":["solid"],"unicode":"f1f8","label":"Trash"},"trash-alt":{"styles":["solid","regular"],"unicode":"f2ed","label":"Alternate Trash"},"trash-restore":{"styles":["solid"],"unicode":"f829","label":"Trash Restore"},"trash-restore-alt":{"styles":["solid"],"unicode":"f82a","label":"Alternative Trash Restore"},"tree":{"styles":["solid"],"unicode":"f1bb","label":"Tree"},"trello":{"styles":["brands"],"unicode":"f181","label":"Trello"},"trophy":{"styles":["solid"],"unicode":"f091","label":"trophy"},"truck":{"styles":["solid"],"unicode":"f0d1","label":"truck"},"truck-loading":{"styles":["solid"],"unicode":"f4de","label":"Truck Loading"},"truck-monster":{"styles":["solid"],"unicode":"f63b","label":"Truck Monster"},"truck-moving":{"styles":["solid"],"unicode":"f4df","label":"Truck Moving"},"truck-pickup":{"styles":["solid"],"unicode":"f63c","label":"Truck Side"},"tshirt":{"styles":["solid"],"unicode":"f553","label":"T-Shirt"},"tty":{"styles":["solid"],"unicode":"f1e4","label":"TTY"},"tumblr":{"styles":["brands"],"unicode":"f173","label":"Tumblr"},"tumblr-square":{"styles":["brands"],"unicode":"f174","label":"Tumblr Square"},"tv":{"styles":["solid"],"unicode":"f26c","label":"Television"},"twitch":{"styles":["brands"],"unicode":"f1e8","label":"Twitch"},"twitter":{"styles":["brands"],"unicode":"f099","label":"Twitter"},"twitter-square":{"styles":["brands"],"unicode":"f081","label":"Twitter Square"},"typo3":{"styles":["brands"],"unicode":"f42b","label":"Typo3"},"uber":{"styles":["brands"],"unicode":"f402","label":"Uber"},"ubuntu":{"styles":["brands"],"unicode":"f7df","label":"Ubuntu"},"uikit":{"styles":["brands"],"unicode":"f403","label":"UIkit"},"umbraco":{"styles":["brands"],"unicode":"f8e8","label":"Umbraco"},"umbrella":{"styles":["solid"],"unicode":"f0e9","label":"Umbrella"},"umbrella-beach":{"styles":["solid"],"unicode":"f5ca","label":"Umbrella Beach"},"uncharted":{"styles":["brands"],"unicode":"e084","label":"Uncharted Software"},"underline":{"styles":["solid"],"unicode":"f0cd","label":"Underline"},"undo":{"styles":["solid"],"unicode":"f0e2","label":"Undo"},"undo-alt":{"styles":["solid"],"unicode":"f2ea","label":"Alternate Undo"},"uniregistry":{"styles":["brands"],"unicode":"f404","label":"Uniregistry"},"unity":{"styles":["brands"],"unicode":"e049","label":"Unity 3D"},"universal-access":{"styles":["solid"],"unicode":"f29a","label":"Universal Access"},"university":{"styles":["solid"],"unicode":"f19c","label":"University"},"unlink":{"styles":["solid"],"unicode":"f127","label":"unlink"},"unlock":{"styles":["solid"],"unicode":"f09c","label":"unlock"},"unlock-alt":{"styles":["solid"],"unicode":"f13e","label":"Alternate Unlock"},"unsplash":{"styles":["brands"],"unicode":"e07c","label":"Unsplash"},"untappd":{"styles":["brands"],"unicode":"f405","label":"Untappd"},"upload":{"styles":["solid"],"unicode":"f093","label":"Upload"},"ups":{"styles":["brands"],"unicode":"f7e0","label":"UPS"},"usb":{"styles":["brands"],"unicode":"f287","label":"USB"},"user":{"styles":["solid","regular"],"unicode":"f007","label":"User"},"user-alt":{"styles":["solid"],"unicode":"f406","label":"Alternate User"},"user-alt-slash":{"styles":["solid"],"unicode":"f4fa","label":"Alternate User Slash"},"user-astronaut":{"styles":["solid"],"unicode":"f4fb","label":"User Astronaut"},"user-check":{"styles":["solid"],"unicode":"f4fc","label":"User Check"},"user-circle":{"styles":["solid","regular"],"unicode":"f2bd","label":"User Circle"},"user-clock":{"styles":["solid"],"unicode":"f4fd","label":"User Clock"},"user-cog":{"styles":["solid"],"unicode":"f4fe","label":"User Cog"},"user-edit":{"styles":["solid"],"unicode":"f4ff","label":"User Edit"},"user-friends":{"styles":["solid"],"unicode":"f500","label":"User Friends"},"user-graduate":{"styles":["solid"],"unicode":"f501","label":"User Graduate"},"user-injured":{"styles":["solid"],"unicode":"f728","label":"User Injured"},"user-lock":{"styles":["solid"],"unicode":"f502","label":"User Lock"},"user-md":{"styles":["solid"],"unicode":"f0f0","label":"Doctor"},"user-minus":{"styles":["solid"],"unicode":"f503","label":"User Minus"},"user-ninja":{"styles":["solid"],"unicode":"f504","label":"User Ninja"},"user-nurse":{"styles":["solid"],"unicode":"f82f","label":"Nurse"},"user-plus":{"styles":["solid"],"unicode":"f234","label":"User Plus"},"user-secret":{"styles":["solid"],"unicode":"f21b","label":"User Secret"},"user-shield":{"styles":["solid"],"unicode":"f505","label":"User Shield"},"user-slash":{"styles":["solid"],"unicode":"f506","label":"User Slash"},"user-tag":{"styles":["solid"],"unicode":"f507","label":"User Tag"},"user-tie":{"styles":["solid"],"unicode":"f508","label":"User Tie"},"user-times":{"styles":["solid"],"unicode":"f235","label":"Remove User"},"users":{"styles":["solid"],"unicode":"f0c0","label":"Users"},"users-cog":{"styles":["solid"],"unicode":"f509","label":"Users Cog"},"users-slash":{"styles":["solid"],"unicode":"e073","label":"Users Slash"},"usps":{"styles":["brands"],"unicode":"f7e1","label":"United States Postal Service"},"ussunnah":{"styles":["brands"],"unicode":"f407","label":"us-Sunnah Foundation"},"utensil-spoon":{"styles":["solid"],"unicode":"f2e5","label":"Utensil Spoon"},"utensils":{"styles":["solid"],"unicode":"f2e7","label":"Utensils"},"vaadin":{"styles":["brands"],"unicode":"f408","label":"Vaadin"},"vector-square":{"styles":["solid"],"unicode":"f5cb","label":"Vector Square"},"venus":{"styles":["solid"],"unicode":"f221","label":"Venus"},"venus-double":{"styles":["solid"],"unicode":"f226","label":"Venus Double"},"venus-mars":{"styles":["solid"],"unicode":"f228","label":"Venus Mars"},"vest":{"styles":["solid"],"unicode":"e085","label":"vest"},"vest-patches":{"styles":["solid"],"unicode":"e086","label":"vest-patches"},"viacoin":{"styles":["brands"],"unicode":"f237","label":"Viacoin"},"viadeo":{"styles":["brands"],"unicode":"f2a9","label":"Viadeo"},"viadeo-square":{"styles":["brands"],"unicode":"f2aa","label":"Viadeo Square"},"vial":{"styles":["solid"],"unicode":"f492","label":"Vial"},"vials":{"styles":["solid"],"unicode":"f493","label":"Vials"},"viber":{"styles":["brands"],"unicode":"f409","label":"Viber"},"video":{"styles":["solid"],"unicode":"f03d","label":"Video"},"video-slash":{"styles":["solid"],"unicode":"f4e2","label":"Video Slash"},"vihara":{"styles":["solid"],"unicode":"f6a7","label":"Vihara"},"vimeo":{"styles":["brands"],"unicode":"f40a","label":"Vimeo"},"vimeo-square":{"styles":["brands"],"unicode":"f194","label":"Vimeo Square"},"vimeo-v":{"styles":["brands"],"unicode":"f27d","label":"Vimeo"},"vine":{"styles":["brands"],"unicode":"f1ca","label":"Vine"},"virus":{"styles":["solid"],"unicode":"e074","label":"Virus"},"virus-slash":{"styles":["solid"],"unicode":"e075","label":"Virus Slash"},"viruses":{"styles":["solid"],"unicode":"e076","label":"Viruses"},"vk":{"styles":["brands"],"unicode":"f189","label":"VK"},"vnv":{"styles":["brands"],"unicode":"f40b","label":"VNV"},"voicemail":{"styles":["solid"],"unicode":"f897","label":"Voicemail"},"volleyball-ball":{"styles":["solid"],"unicode":"f45f","label":"Volleyball Ball"},"volume-down":{"styles":["solid"],"unicode":"f027","label":"Volume Down"},"volume-mute":{"styles":["solid"],"unicode":"f6a9","label":"Volume Mute"},"volume-off":{"styles":["solid"],"unicode":"f026","label":"Volume Off"},"volume-up":{"styles":["solid"],"unicode":"f028","label":"Volume Up"},"vote-yea":{"styles":["solid"],"unicode":"f772","label":"Vote Yea"},"vr-cardboard":{"styles":["solid"],"unicode":"f729","label":"Cardboard VR"},"vuejs":{"styles":["brands"],"unicode":"f41f","label":"Vue.js"},"walking":{"styles":["solid"],"unicode":"f554","label":"Walking"},"wallet":{"styles":["solid"],"unicode":"f555","label":"Wallet"},"warehouse":{"styles":["solid"],"unicode":"f494","label":"Warehouse"},"watchman-monitoring":{"styles":["brands"],"unicode":"e087","label":"Watchman Monitoring"},"water":{"styles":["solid"],"unicode":"f773","label":"Water"},"wave-square":{"styles":["solid"],"unicode":"f83e","label":"Square Wave"},"waze":{"styles":["brands"],"unicode":"f83f","label":"Waze"},"weebly":{"styles":["brands"],"unicode":"f5cc","label":"Weebly"},"weibo":{"styles":["brands"],"unicode":"f18a","label":"Weibo"},"weight":{"styles":["solid"],"unicode":"f496","label":"Weight"},"weight-hanging":{"styles":["solid"],"unicode":"f5cd","label":"Hanging Weight"},"weixin":{"styles":["brands"],"unicode":"f1d7","label":"Weixin (WeChat)"},"whatsapp":{"styles":["brands"],"unicode":"f232","label":"What\'s App"},"whatsapp-square":{"styles":["brands"],"unicode":"f40c","label":"What\'s App Square"},"wheelchair":{"styles":["solid"],"unicode":"f193","label":"Wheelchair"},"whmcs":{"styles":["brands"],"unicode":"f40d","label":"WHMCS"},"wifi":{"styles":["solid"],"unicode":"f1eb","label":"WiFi"},"wikipedia-w":{"styles":["brands"],"unicode":"f266","label":"Wikipedia W"},"wind":{"styles":["solid"],"unicode":"f72e","label":"Wind"},"window-close":{"styles":["solid","regular"],"unicode":"f410","label":"Window Close"},"window-maximize":{"styles":["solid","regular"],"unicode":"f2d0","label":"Window Maximize"},"window-minimize":{"styles":["solid","regular"],"unicode":"f2d1","label":"Window Minimize"},"window-restore":{"styles":["solid","regular"],"unicode":"f2d2","label":"Window Restore"},"windows":{"styles":["brands"],"unicode":"f17a","label":"Windows"},"wine-bottle":{"styles":["solid"],"unicode":"f72f","label":"Wine Bottle"},"wine-glass":{"styles":["solid"],"unicode":"f4e3","label":"Wine Glass"},"wine-glass-alt":{"styles":["solid"],"unicode":"f5ce","label":"Alternate Wine Glas"},"wix":{"styles":["brands"],"unicode":"f5cf","label":"Wix"},"wizards-of-the-coast":{"styles":["brands"],"unicode":"f730","label":"Wizards of the Coast"},"wodu":{"styles":["brands"],"unicode":"e088","label":"Wodu"},"wolf-pack-battalion":{"styles":["brands"],"unicode":"f514","label":"Wolf Pack Battalion"},"won-sign":{"styles":["solid"],"unicode":"f159","label":"Won Sign"},"wordpress":{"styles":["brands"],"unicode":"f19a","label":"WordPress Logo"},"wordpress-simple":{"styles":["brands"],"unicode":"f411","label":"Wordpress Simple"},"wpbeginner":{"styles":["brands"],"unicode":"f297","label":"WPBeginner"},"wpexplorer":{"styles":["brands"],"unicode":"f2de","label":"WPExplorer"},"wpforms":{"styles":["brands"],"unicode":"f298","label":"WPForms"},"wpressr":{"styles":["brands"],"unicode":"f3e4","label":"wpressr"},"wrench":{"styles":["solid"],"unicode":"f0ad","label":"Wrench"},"x-ray":{"styles":["solid"],"unicode":"f497","label":"X-Ray"},"xbox":{"styles":["brands"],"unicode":"f412","label":"Xbox"},"xing":{"styles":["brands"],"unicode":"f168","label":"Xing"},"xing-square":{"styles":["brands"],"unicode":"f169","label":"Xing Square"},"y-combinator":{"styles":["brands"],"unicode":"f23b","label":"Y Combinator"},"yahoo":{"styles":["brands"],"unicode":"f19e","label":"Yahoo Logo"},"yammer":{"styles":["brands"],"unicode":"f840","label":"Yammer"},"yandex":{"styles":["brands"],"unicode":"f413","label":"Yandex"},"yandex-international":{"styles":["brands"],"unicode":"f414","label":"Yandex International"},"yarn":{"styles":["brands"],"unicode":"f7e3","label":"Yarn"},"yelp":{"styles":["brands"],"unicode":"f1e9","label":"Yelp"},"yen-sign":{"styles":["solid"],"unicode":"f157","label":"Yen Sign"},"yin-yang":{"styles":["solid"],"unicode":"f6ad","label":"Yin Yang"},"yoast":{"styles":["brands"],"unicode":"f2b1","label":"Yoast"},"youtube":{"styles":["brands"],"unicode":"f167","label":"YouTube"},"youtube-square":{"styles":["brands"],"unicode":"f431","label":"YouTube Square"},"zhihu":{"styles":["brands"],"unicode":"f63f","label":"Zhihu"}}')},7143:function(e){e.exports=window.wp.data},7650:function(e,t,o){o.d(t,{M:function(){return m},A:function(){return x}});var l=o(7723),s=o(8468),a=o(6427),i=o(7143),r=o(6087),n=o(2619),c=o(790),d=({product:e,onChange:t})=>{const{productsList:o,hasProductsRequestFailed:s,productsError:n,isLoadingProducts:d}=(0,i.useSelect)((e=>{const{getStripeProducts:t,getResolutionError:o,isResolving:l}=e("themeisle-gutenberg/data"),s=t();return{productsList:s?s?.map((e=>({label:`${e?.name} (id:${e?.id})`,value:e?.id}))):[],hasProductsRequestFailed:Boolean(o("getStripeProducts")),productsError:o("getStripeProducts"),isLoadingProducts:l("getStripeProducts")}}),[]);return(0,c.jsxs)(r.Fragment,{children:[!d&&(0,c.jsx)(a.SelectControl,{label:(0,l.__)("Product.","otter-blocks"),value:e,options:[{label:(0,l.__)("Select a product","otter-blocks"),value:"none"},...o],onChange:e=>t("none"!==e?e:void 0)}),s&&(0,c.jsx)("p",{children:n?.message}),d&&(0,c.jsx)(a.Placeholder,{children:(0,c.jsx)(a.Spinner,{})})]})},b=o(373);const u=Object.keys(window.themeisleGutenberg.postTypes),p={users:{label:(0,l.__)("Users","otter-blocks"),conditions:[{value:"screenSize",label:(0,l.__)("Screen Size","otter-blocks"),help:(0,l.__)("The selected block will be invisible based on the screen size.","otter-blocks"),toggleVisibility:!0},{value:"loggedInUser",label:(0,l.__)("Logged In Users","otter-blocks"),help:(0,l.__)("The selected block will only be visible to logged-in users.","otter-blocks")},{value:"loggedOutUser",label:(0,l.__)("Logged Out Users","otter-blocks"),help:(0,l.__)("The selected block will only be visible to logged-out users.","otter-blocks")},{value:"userRoles",label:(0,l.__)("User Roles","otter-blocks"),help:(0,l.__)("The selected block will be visible based on user roles.","otter-blocks"),toogleVisibility:!0},{value:"loggedInUserMeta",label:(0,l.__)("Logged-in User Meta (Pro)","otter-blocks"),help:(0,l.__)("The selected block will be visible based on meta of the logged-in user condition.","otter-blocks"),isDisabled:!0}]},posts:{label:(0,l.__)("Posts","otter-blocks"),conditions:[{value:"postAuthor",label:(0,l.__)("Post Author","otter-blocks"),help:(0,l.__)("The selected block will be visible based on post author.","otter-blocks"),toogleVisibility:!0},{value:"postType",label:(0,l.__)("Post Type","otter-blocks"),help:(0,l.__)("The selected block will be visible if post becomes to one of the selected post types.","otter-blocks"),toogleVisibility:!0},{value:"postCategory",label:(0,l.__)("Post Category","otter-blocks"),help:(0,l.__)("The selected block will be visible based on selected post categories.","otter-blocks"),toogleVisibility:!0},{value:"postTag",label:(0,l.__)("Post Tag","otter-blocks"),help:(0,l.__)("The selected block will be visible based on selected post tags.","otter-blocks"),toogleVisibility:!0},{value:"postMeta",label:(0,l.__)("Post Meta (Pro)","otter-blocks"),help:(0,l.__)("The selected block will be visible based on post meta condition.","otter-blocks"),isDisabled:!0}]},dateAndTime:{label:(0,l.__)("Date & Time","otter-blocks"),conditions:[{value:"dateRange",label:(0,l.__)("Date Range (Pro)","otter-blocks"),help:(0,l.__)("The selected block will be visible based on the date range. Timezone is used based on your WordPress settings.","otter-blocks"),isDisabled:!0},{value:"dateRecurring",label:(0,l.__)("Date Recurring (Pro)","otter-blocks"),help:(0,l.__)("The selected block will be visible based on the selected days. Timezone is used based on your WordPress settings.","otter-blocks"),isDisabled:!0},{value:"timeRecurring",label:(0,l.__)("Time Recurring (Pro)","otter-blocks"),help:(0,l.__)("The selected block will be visible during the selected time. Timezone is used based on your WordPress settings.","otter-blocks"),isDisabled:!0}]},advance:{label:(0,l.__)("Advance","otter-blocks"),conditions:[{value:"queryString",label:(0,l.__)("Query String (Pro)","otter-blocks"),help:(0,l.__)("The condition will be met if the URL contains specified parameters.","otter-blocks"),isDisabled:!0},{value:"country",label:(0,l.__)("Country (Pro)","otter-blocks"),help:(0,l.__)("The selected block will be visible based on user's country based on the IP address.","otter-blocks"),isDisabled:!0},{value:"cookie",label:(0,l.__)("Cookie (Pro)","otter-blocks"),help:(0,l.__)("The selected block will be visible based on PHP cookies.","otter-blocks"),isDisabled:!0}]},woocommerce:{label:(0,l.__)("WooCommerce","otter-blocks"),conditions:[{value:"wooProductsInCart",label:(0,l.__)("Products in Cart (Pro)","otter-blocks"),help:(0,l.__)("The selected block will be visible based on the products added to WooCommerce cart.","otter-blocks"),isDisabled:!0},{value:"wooTotalCartValue",label:(0,l.__)("Total Cart Value (Pro)","otter-blocks"),help:(0,l.__)("The selected block will be visible based on the total value of WooCommerce cart.","otter-blocks"),isDisabled:!0},{value:"wooPurchaseHistory",label:(0,l.__)("Purchase History (Pro)","otter-blocks"),help:(0,l.__)("The selected block will be visible based on user's WooCommerce purchase history.","otter-blocks"),isDisabled:!0},{value:"wooTotalSpent",label:(0,l.__)("Total Spent (Pro)","otter-blocks"),help:(0,l.__)("The selected block will be visible based on how much the user spent during lifetime.","otter-blocks"),isDisabled:!0}]},woocommerceProduct:{label:(0,l.__)("WooCommerce Product","otter-blocks"),conditions:[{value:"wooCategory",label:(0,l.__)("Product Category (Pro)","otter-blocks"),help:(0,l.__)("The selected block will be visible based on the product category.","otter-blocks"),isDisabled:!0},{value:"wooTag",label:(0,l.__)("Product Tag (Pro)","otter-blocks"),help:(0,l.__)("The selected block will be visible based on the product tag.","otter-blocks"),isDisabled:!0},{value:"wooAttribute",label:(0,l.__)("Product Attribute (Pro)","otter-blocks"),help:(0,l.__)("The selected block will be visible based on the product attribute.","otter-blocks"),isDisabled:!0}]},stripe:{label:(0,l.__)("Stripe","otter-blocks"),conditions:[{value:"stripePurchaseHistory",label:(0,l.__)("Purchase History","otter-blocks"),help:(0,l.__)("The selected block will be visible based on user's Stripe purchase history.","otter-blocks"),toogleVisibility:!0}]},learndash:{label:(0,l.__)("LearnDash","otter-blocks"),conditions:[{value:"learnDashPurchaseHistory",label:(0,l.__)("Purchase History (Pro)","otter-blocks"),help:(0,l.__)("The selected block will be visible based on user's LearnDash purchase history.","otter-blocks"),isDisabled:!0},{value:"learnDashCourseStatus",label:(0,l.__)("Course Status (Pro)","otter-blocks"),help:(0,l.__)("The selected block will be visible based on user's LearnDash course status.","otter-blocks"),isDisabled:!0}]}},h=Object.keys(p),g=e=>{const{postAuthors:t,isLoading:o}=(0,i.useSelect)((e=>{var t;const{getUsers:o,isResolving:l}=e("core");return{postAuthors:(null!==(t=o({who:"authors",context:"view"}))&&void 0!==t?t:[]).map((e=>{var t;return null!==(t=e.username)&&void 0!==t?t:e.name})).filter(Boolean),isLoading:l("getUsers",[{who:"authors",context:"view"}])}}),[]);return o?(0,c.jsx)(a.Placeholder,{children:(0,c.jsx)(a.Spinner,{})}):(0,c.jsx)(a.FormTokenField,{...e,suggestions:t,__experimentalExpandOnFocus:!0,__experimentalValidateInput:e=>t.includes(e)})},m=e=>{const{postCategories:t,isLoading:o}=(0,i.useSelect)((e=>{var t;const{getEntityRecords:o,isResolving:l}=e("core");return{postCategories:(null!==(t=o("taxonomy","category",{per_page:-1,context:"view"}))&&void 0!==t?t:[]).map((e=>e.slug)),isLoading:l("getEntityRecords",["taxonomy","category",{per_page:-1,context:"view"}])}}),[]);return o?(0,c.jsx)(a.Placeholder,{children:(0,c.jsx)(a.Spinner,{})}):(0,c.jsx)(a.FormTokenField,{...e,suggestions:t,__experimentalExpandOnFocus:!0,__experimentalValidateInput:e=>t.includes(e)})},y=e=>{const{postTags:t,isLoading:o}=(0,i.useSelect)((e=>{var t;const{getEntityRecords:o,isResolving:l}=e("core");return{postTags:(null!==(t=o("taxonomy","post_tag",{per_page:-1,context:"view"}))&&void 0!==t?t:[]).map((e=>e.slug)),isLoading:l("getEntityRecords",["taxonomy","post_tag",{per_page:-1,context:"view"}])}}),[]);return o?(0,c.jsx)(a.Placeholder,{children:(0,c.jsx)(a.Spinner,{})}):(0,c.jsx)(a.FormTokenField,{...e,suggestions:t,__experimentalExpandOnFocus:!0,__experimentalValidateInput:e=>t.includes(e)})},k=({label:e})=>(0,c.jsxs)("div",{className:"o-conditions__operator-wrapper",children:[(0,c.jsx)("div",{className:"o-conditions__operator-line"}),(0,c.jsx)("div",{className:"o-conditions__operator-word",children:(0,c.jsx)("span",{children:e})})]});var x=(0,r.memo)((({attributes:e,setAttributes:t,name:o})=>{const[i,x]=(0,r.useState)(null),[f,v]=(0,r.useState)({}),[_,w]=(0,r.useState)([]),[C,j]=(0,r.useState)([]),[S,T]=(0,r.useState)(new Set),B=e=>{if(window.wp.hasOwnProperty("customize")&&window.wp.customize){const o=[...e.otterConditions||[],[]];t({otterConditions:o}),x(e)}else t(e)};(0,r.useEffect)((()=>{i&&window.wp.hasOwnProperty("customize")&&window.wp.customize&&t(i)}),[i]),(0,r.useEffect)((()=>{if(!Boolean(e?.otterConditions?.length))return;let t=[...e.otterConditions?.filter((e=>!(0,s.isEmpty)(e)))];Boolean(t.length)||(t=void 0),B({otterConditions:t})}),[]),(0,r.useEffect)((()=>{const e=(0,n.applyFilters)("otter.blockConditions.conditions",p),t=Object.keys(e).filter((e=>h.includes(e))).map((t=>e?.[t].conditions)).flat();t.splice(0,0,{value:"none",label:(0,l.__)("Select a condition","otter-blocks"),help:(0,l.__)("Select a condition to control the visibility of your block.","otter-blocks")}),v(e),w(t),j(t.filter((e=>e.toogleVisibility))?.map((e=>e.value)))}),[e.otterConditions]);const M=(t,o,l,s)=>{const a=[...e.otterConditions];a[o][l][s]=t,B({otterConditions:a})},P=(t,o,l,s)=>{const a=[...e.otterConditions];null!==t?a[o][l][s]=t:delete a[o][l][s],B({otterConditions:a})},z=(t,o,l,s)=>{const a=[...e.otterConditions];a[o][l][s]?.includes(t)?a[o][l][s]=a[o][l][s].filter((e=>e!==t)):a[o][l][s]?.push(t),B({otterConditions:a})};return(0,c.jsxs)(a.PanelBody,{title:(0,l.__)("Visibility Conditions","otter-blocks"),initialOpen:!1,children:[(0,c.jsx)("p",{children:(0,l.__)("Control the visibility of your blocks based on the following conditions.","otter-blocks")}),(0,c.jsx)("p",{children:(0,l.__)("Display the block if…","otter-blocks")}),e.otterConditions&&e.otterConditions.map(((t,s)=>(0,c.jsxs)(r.Fragment,{children:[(0,c.jsxs)(b.Ky,{label:(0,l.__)("Rule Group","otter-blocks"),onDelete:()=>(t=>{let o=[...e.otterConditions];o.splice(t,1),Boolean(o.length)||(o=void 0),B({otterConditions:o})})(s),initialOpen:S.has(s),children:[t&&t.map(((i,b)=>(0,c.jsxs)(r.Fragment,{children:[(0,c.jsx)(a.BaseControl,{label:(0,l.__)("Condition","otter-blocks"),help:_.find((e=>e.value===(i.type||"none")))?.help,id:`o-conditions-${s}-${b}`,children:(0,c.jsxs)("select",{value:i.type||"",onChange:t=>((t,l,s)=>{var a,i;window.oTrk?.set(`condition-type_${null!==(a=e?.id)&&void 0!==a?a:o}_${l}_${s}`,{groupID:null!==(i=e?.id)&&void 0!==i?i:o,feature:"condition",featureComponent:"condition-type",featureValue:t});const r=[...e.otterConditions],c=(0,n.applyFilters)("otter.blockConditions.defaults",{},t);"userRoles"!==t&&"postAuthor"!==t||(c.visibility=!0),"screenSize"===t&&(c.screen_sizes=[]),r[l][s]="none"===t?{}:{type:t,...c},B({otterConditions:r})})(t.target.value,s,b),className:"components-select-control__input w-full",id:`o-conditions-${s}-${b}`,children:[(0,c.jsx)("option",{value:"none",children:(0,l.__)("Select a condition","otter-blocks")}),Object.keys(f).map((e=>(0,c.jsx)("optgroup",{label:f[e].label,children:f[e].conditions.map((e=>(0,c.jsx)("option",{value:e.value,disabled:e?.isDisabled,children:e.label},e.value)))},e)))]})}),"userRoles"===i.type&&(0,c.jsx)(a.FormTokenField,{label:(0,l.__)("User Roles","otter-blocks"),value:i.roles,suggestions:Object.keys(window.themeisleGutenberg.userRoles),onChange:e=>M(e,s,b,"roles"),__experimentalExpandOnFocus:!0,__experimentalValidateInput:e=>Object.keys(window.themeisleGutenberg.userRoles).includes(e)}),"postAuthor"===i.type&&(0,c.jsx)(g,{label:(0,l.__)("Post Author","otter-blocks"),value:i.authors,onChange:e=>M(e,s,b,"authors")}),"postCategory"===i.type&&(0,c.jsx)(m,{label:(0,l.__)("Post Category","otter-blocks"),value:i.categories,onChange:e=>M(e,s,b,"categories")}),"postTag"===i.type&&(0,c.jsx)(y,{label:(0,l.__)("Post Tag","otter-blocks"),value:i.tags,onChange:e=>M(e,s,b,"tags")}),"postType"===i.type&&(0,c.jsx)(a.FormTokenField,{label:(0,l.__)("Post Types","otter-blocks"),value:i.post_types,suggestions:u,onChange:e=>M(e,s,b,"post_types"),__experimentalExpandOnFocus:!0,__experimentalValidateInput:e=>u.includes(e)}),"screenSize"===i.type&&(0,c.jsxs)(r.Fragment,{children:[(0,c.jsx)(a.ToggleControl,{label:(0,l.__)("Hide on Mobile","otter-blocks"),checked:i?.screen_sizes?.includes("mobile"),onChange:()=>z("mobile",s,b,"screen_sizes")}),(0,c.jsx)(a.ToggleControl,{label:(0,l.__)("Hide on Tablet","otter-blocks"),checked:i?.screen_sizes?.includes("tablet"),onChange:()=>z("tablet",s,b,"screen_sizes")}),(0,c.jsx)(a.ToggleControl,{label:(0,l.__)("Hide on Desktop","otter-blocks"),checked:i?.screen_sizes?.includes("desktop"),onChange:()=>z("desktop",s,b,"screen_sizes")})]}),"stripePurchaseHistory"===i.type&&(0,c.jsxs)(r.Fragment,{children:[Boolean(window.themeisleGutenberg.hasStripeAPI)&&(0,c.jsx)(d,{product:i.product,onChange:e=>P(e,s,b,"product")}),!Boolean(window.themeisleGutenberg.hasStripeAPI)&&(0,c.jsxs)("p",{children:[(0,l.__)("You need to set your Stripe API keys in the Otter Dashboard.","otter-blocks")," ",(0,c.jsx)(a.ExternalLink,{href:window.themeisleGutenberg.optionsPath,children:(0,l.__)("Visit Dashboard","otter-blocks")})]})]}),(0,n.applyFilters)("otter.blockConditions.controls","",s,b,i,e.otterConditions,B,P),C.includes(i.type)&&(0,c.jsx)(a.SelectControl,{label:(0,l.__)("If condition is true, the block should be:","otter-blocks"),options:[{value:!0,label:(0,l.__)("Visible","otter-blocks")},{value:!1,label:(0,l.__)("Hidden","otter-blocks")}],value:i.visibility,onChange:t=>((t,o,l)=>{const s=[...e.otterConditions];s[o][l].visibility="true"===t,B({otterConditions:s})})(t,s,b)}),(0,c.jsx)(a.Button,{isDestructive:!0,className:"o-conditions__add",onClick:()=>((t,o)=>{const l=[...e.otterConditions];l[t].splice(o,1),0===l[t]&&l.splice(t,1),B({otterConditions:l})})(s,b),children:(0,l.__)("Delete Condition","otter-blocks")}),1<t.length&&b!==t.length-1&&(0,c.jsx)(k,{label:(0,l.__)("AND","otter-blocks")})]},`${s}_${b}`))),(0,c.jsx)(a.Button,{isSecondary:!0,className:"o-conditions__add",onClick:()=>(t=>{const o=[...e.otterConditions];o[t].push({}),B({otterConditions:o})})(s),children:(0,l.__)("Add a New Condition","otter-blocks")})]}),1<e.otterConditions.length&&s!==e.otterConditions.length-1&&(0,c.jsx)(k,{label:(0,l.__)("OR","otter-blocks")})]},s))),(0,c.jsx)(a.Button,{isSecondary:!0,className:"o-conditions__add",onClick:()=>{const t=[...e.otterConditions||[]],o=t.length;t.push([{}]),B({otterConditions:t}),T((e=>new Set(e).add(o)))},children:(0,l.__)("Add Rule Group","otter-blocks")}),(0,n.applyFilters)("otter.blockConditions.notices",""),(0,c.jsxs)("div",{className:"o-fp-wrap",children:[(0,n.applyFilters)("otter.feedback","","conditions"),(0,n.applyFilters)("otter.poweredBy","")]})]})}))},7711:function(e,t,o){var l=o(6942),s=o.n(l),a=o(6427),i=o(790);t.A=({value:e,options:t,onChange:o,hasIcon:l=!1})=>(0,i.jsx)(a.ButtonGroup,{className:s()("o-toggle-group-control",{"has-icon":l}),children:t?.map((t=>(0,i.jsx)("div",{className:"o-toggle-option",children:(0,i.jsx)(a.Button,{isPrimary:e===t?.value,variant:e===t?.value?"primary":"secondary",icon:t?.icon,label:t?.label,onClick:()=>o(t?.value),showTooltip:l,children:l?"":t?.label},t?.value)},t?.value)))})},7723:function(e){e.exports=window.wp.i18n},7881:function(e,t,o){var l=o(6427),s=o(7143),a=window.wp.plugins,i=o(1187),r=o(7723),n=o(8468),c=o(1455),d=o.n(c),b=o(6087),u=window.wp.editPost,p=o(2619),h=o(6897),g=o(1694),m=o(4997),y=o(6942),k=o.n(y),x=o(9214),f=o(790),v=({block:e,hasSettings:t,hiddenBlocks:o,setSelectedBlock:a})=>{const{showBlockTypes:i,hideBlockTypes:n}=(0,s.useDispatch)("core/edit-post"),c=(0,b.useCallback)(((e,t)=>{t?i(e):n(e)}),[]);if(!e)return null;const d=o.includes(e.name);return(0,f.jsxs)("div",{className:k()("o-options-block-item",{editable:t,hidden:d}),children:[(0,f.jsx)("div",{className:"o-options-block-item-icon",children:(0,f.jsx)(l.Icon,{icon:e.icon.src})}),(0,f.jsx)("div",{className:"o-options-block-item-label",children:e.title}),t&&(0,f.jsx)(W,{path:"/block-settings/global-defaults",icon:x.A,label:(0,r.__)("Open Settings","otter-blocks"),showTooltip:!0,className:"o-options-block-item-button",onClickAction:()=>a(e.name)}),(0,f.jsx)(l.Button,{icon:d?"hidden":"visibility",label:d?(0,r.__)("Show Block","otter-blocks"):(0,r.__)("Hide Block","otter-blocks"),showTooltip:!0,className:"o-options-block-item-button",onClick:()=>c(e.name,d)})]})},_=({isAPILoaded:e,globalControls:t,setSelectedBlock:o})=>{const{hiddenBlocks:a}=(0,s.useSelect)((e=>({hiddenBlocks:e("core/edit-post").getPreference("hiddenBlockTypes")}))),i=(0,m.getBlockTypes)().filter((e=>"themeisle-blocks"===e.category&&(t.find((t=>t.name===e.name))||void 0===e.parent&&void 0===e.ancestor&&(void 0===e.supports.inserter||!0===e.supports.inserter))));return e?(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)("p",{className:"padding-20",children:(0,r.__)("Manage site-wide block defaults and visibility for Otter Blocks.","otter-blocks")}),i.map((e=>{const l=t.find((t=>t.name===e.name));return(0,f.jsx)(v,{block:e,hasSettings:l,hiddenBlocks:a,setSelectedBlock:o},e.name)}))]}):(0,f.jsx)(l.Placeholder,{children:(0,f.jsx)(l.Spinner,{})})},w=o(8054),C=o(4715),j=({blockName:e,defaults:t,changeConfig:o})=>(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)(l.PanelBody,{title:(0,r.__)("Setting","otter-blocks"),children:(0,f.jsx)(l.SelectControl,{label:(0,r.__)("Gap","otter-blocks"),value:t.gap,options:[{label:(0,r.__)("No Gap","otter-blocks"),value:""},{label:(0,r.__)("Narrow (5px)","otter-blocks"),value:"narrow"},{label:(0,r.__)("Wide (10px)","otter-blocks"),value:"wide"},{label:(0,r.__)("Wider (20px)","otter-blocks"),value:"wider"}],onChange:t=>o(e,{gap:t})})}),(0,f.jsx)(C.PanelColorSettings,{title:(0,r.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:t.titleColor,onChange:t=>o(e,{titleColor:t}),label:(0,r.__)("Title","otter-blocks")},{value:t.activeTitleColor,onChange:t=>o(e,{activeTitleColor:t}),label:(0,r.__)("Active tab title","otter-blocks")},{value:t.titleBackground,onChange:t=>o(e,{titleBackground:t}),label:(0,r.__)("Title Background","otter-blocks")},{value:t.activeTitleBackground,onChange:t=>o(e,{activeTitleBackground:t}),label:(0,r.__)("Active tab title Background","otter-blocks")},{value:t.contentBackground,onChange:t=>o(e,{contentBackground:t}),label:(0,r.__)("Content Background","otter-blocks")},{value:t.borderColor,onChange:t=>o(e,{borderColor:t}),label:(0,r.__)("Border","otter-blocks")}],children:(0,f.jsx)(C.ContrastChecker,{textColor:t.titleColor,backgroundColor:t.titleBackground})})]}),S=o(373),T=o(5317),B=({blockName:e,defaults:t,changeConfig:o})=>{const[s,a]=(0,b.useState)(!1),i=()=>(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)(S.l,{onChange:e=>a(e),value:s,options:[{value:!1,label:(0,r.__)("Normal","otter-blocks")},{value:!0,label:(0,r.__)("Hover","otter-blocks")}]}),(0,f.jsx)("br",{})]}),n=t=>{o(e,t)};return(0,f.jsxs)(b.Fragment,{children:[(0,f.jsxs)(l.PanelBody,{title:(0,r.__)("Colors","otter-blocks"),children:[(0,f.jsx)(i,{}),s?(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)(S._b,{label:(0,r.__)("Text","otter-blocks"),colorValue:t.hoverColor,onColorChange:e=>n({hoverColor:e}),className:"is-list is-first"}),(0,f.jsx)(S._b,{label:(0,r.__)("Background","otter-blocks"),colorValue:t.hoverBackground,onColorChange:e=>n({hoverBackground:e}),className:"is-list"}),(0,f.jsx)(S._b,{label:(0,r.__)("Border","otter-blocks"),colorValue:t.hoverBorder,onColorChange:e=>n({hoverBorder:e}),className:"is-list"})]},"with-hover"):(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)(S._b,{label:(0,r.__)("Text","otter-blocks"),colorValue:t.color,onColorChange:e=>n({color:e}),className:"is-list is-first"}),(0,f.jsx)(S._b,{label:(0,r.__)("Background","otter-blocks"),colorValue:t.background,onColorChange:e=>n({background:e}),className:"is-list"}),(0,f.jsx)(S._b,{label:(0,r.__)("Border","otter-blocks"),colorValue:t.border,onColorChange:e=>n({border:e}),className:"is-list"})]},"without-hover")]}),(0,f.jsxs)(l.PanelBody,{title:(0,r.__)("Border & Box Shadow","otter-blocks"),initialOpen:!0,children:[(0,f.jsx)(l.__experimentalBoxControl,{label:(0,r.__)("Border Width","otter-blocks"),values:(0,T.f0)(t.borderSize),onChange:e=>n({borderSize:e})}),(0,f.jsx)(l.__experimentalBoxControl,{label:(0,r.__)("Border Radius","otter-blocks"),values:(0,T.f0)(t.borderRadius),onChange:e=>n({borderRadius:e})}),(0,f.jsxs)(S.HZ,{label:(0,r.__)("Box Shadow","otter-blocks"),attributes:t,setAttributes:n,resetValues:{boxShadow:!1,boxShadowColor:void 0,boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:void 0,hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0},onClick:()=>n({boxShadow:!0}),children:[(0,f.jsx)(i,{}),s?(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)(C.__experimentalColorGradientControl,{label:(0,r.__)("Shadow Color on Hover","otter-blocks"),colorValue:t.hoverBoxShadowColor,onColorChange:e=>n({hoverBoxShadowColor:e})}),(0,f.jsx)(l.RangeControl,{label:(0,r.__)("Opacity","otter-blocks"),value:t.hoverBoxShadowColorOpacity,onChange:e=>n({hoverBoxShadowColorOpacity:e}),min:0,max:100}),(0,f.jsx)(l.RangeControl,{label:(0,r.__)("Blur","otter-blocks"),value:t.hoverBoxShadowBlur,onChange:e=>n({hoverBoxShadowBlur:e}),min:0,max:100}),(0,f.jsx)(l.RangeControl,{label:(0,r.__)("Spread","otter-blocks"),value:t.hoverBoxShadowSpread,onChange:e=>n({hoverBoxShadowSpread:e}),min:-100,max:100}),(0,f.jsx)(l.RangeControl,{label:(0,r.__)("Horizontal","otter-blocks"),value:t.hoverBoxShadowHorizontal,onChange:e=>n({hoverBoxShadowHorizontal:e}),min:-100,max:100}),(0,f.jsx)(l.RangeControl,{label:(0,r.__)("Vertical","otter-blocks"),value:t.hoverBoxShadowVertical,onChange:e=>n({hoverBoxShadowVertical:e}),min:-100,max:100})]},"with-hover"):(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)(C.__experimentalColorGradientControl,{label:(0,r.__)("Shadow Color","otter-blocks"),colorValue:t.boxShadowColor,onColorChange:e=>n({boxShadowColor:e})}),(0,f.jsx)(l.RangeControl,{label:(0,r.__)("Opacity","otter-blocks"),value:t.boxShadowColorOpacity,onChange:e=>n({boxShadowColorOpacity:e}),min:0,max:100}),(0,f.jsx)(l.RangeControl,{label:(0,r.__)("Blur","otter-blocks"),value:t.boxShadowBlur,onChange:e=>n({boxShadowBlur:e}),min:0,max:100}),(0,f.jsx)(l.RangeControl,{label:(0,r.__)("Spread","otter-blocks"),value:t.boxShadowSpread,onChange:e=>n({boxShadowSpread:e}),min:-100,max:100}),(0,f.jsx)(l.RangeControl,{label:(0,r.__)("Horizontal","otter-blocks"),value:t.boxShadowHorizontal,onChange:e=>n({boxShadowHorizontal:e}),min:-100,max:100}),(0,f.jsx)(l.RangeControl,{label:(0,r.__)("Vertical","otter-blocks"),value:t.boxShadowVertical,onChange:e=>n({boxShadowVertical:e}),min:-100,max:100})]},"without-hover")]})]})]})},M=o(6304),P=o(1740),z=({blockName:e,defaults:t,changeConfig:o})=>{var s;const a=t=>o(e,t),i=(e,t)=>({top:e,bottom:e,right:t,left:t}),[n,c]=(0,b.useState)({padding:i(t.paddingTopBottom,t.paddingLeftRight),paddingTablet:t.paddingTablet,paddingMobile:t.paddingMobile,align:t.align}),[d,u]=(0,b.useState)(!1),{responsiveSetAttributes:p,responsiveGetAttributes:h}=(0,P.d)((e=>c({padding:i(t.paddingTopBottom,t.paddingLeftRight),paddingTablet:t.paddingTablet,paddingMobile:t.paddingMobile,align:t.align,...e})));return(0,b.useEffect)((()=>{d&&(a({paddingTopBottom:n?.padding?.top,paddingLeftRight:n?.padding?.right,paddingTablet:n?.paddingTablet,paddingMobile:n?.paddingMobile,align:n?.align}),u(!1))}),[n.padding,n.paddingTablet,n.paddingMobile,d]),(0,f.jsxs)(b.Fragment,{children:[(0,f.jsxs)(l.PanelBody,{title:(0,r.__)("Dimensions","otter-blocks"),children:[(0,f.jsx)(S.k3,{label:(0,r.__)("Screen Type","otter-blocks"),children:(0,f.jsx)(l.__experimentalBoxControl,{label:(0,r.__)("Padding","otter-blocks"),values:null!==(s=h([i(t.paddingTopBottom,t.paddingLeftRight),t.paddingTablet,t.paddingMobile]))&&void 0!==s?s:i("15px","20px"),onChange:e=>{p(e,["padding","paddingTablet","paddingMobile"]),u(!0)},splitOnAxis:!0})}),(0,f.jsx)(l.__experimentalUnitControl,{label:(0,r.__)("Spacing","otter-blocks"),value:(0,T.ws)(t.spacing),onChange:e=>a({spacing:e}),step:.1})]}),(0,f.jsx)(l.PanelBody,{title:(0,r.__)("Typography","otter-blocks"),initialOpen:!0,children:(0,f.jsx)(M.A,{enableComponents:{fontFamily:!0,appearance:!0,lineHeight:!0,letterCase:!0},componentsValue:{fontSize:t.fontSize,fontFamily:t.fontFamily,lineHeight:t.lineHeight,appearance:t.fontVariant,letterCase:t.fontStyle},onChange:e=>{a({fontSize:e.fontSize,fontFamily:e.fontFamily,lineHeight:e.lineHeight,fontVariant:e.appearance,fontStyle:e.letterCase})}})})]})},A=o(8369);const F=[{name:(0,r.__)("Small","otter-blocks"),size:"16px",slug:"small"},{name:(0,r.__)("Medium","otter-blocks"),size:"32px",slug:"medium"},{name:(0,r.__)("Large","otter-blocks"),size:"48px",slug:"large"},{name:(0,r.__)("XL","otter-blocks"),size:"60px",slug:"xl"}];var L=({blockName:e,defaults:t,changeConfig:o})=>{var s,a,i;const[c,d]=(0,b.useState)(!1);return(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)(l.PanelBody,{title:(0,r.__)("Icon","otter-blocks"),children:(0,f.jsx)(l.SelectControl,{label:(0,r.__)("Icon Library","otter-blocks"),value:t.library||"fontawesome",options:[{label:(0,r.__)("Font Awesome","otter-blocks"),value:"fontawesome"},{label:(0,r.__)("ThemeIsle Icons","otter-blocks"),value:"themeisle-icons"}],onChange:t=>{o(e,{library:t,icon:"fontawesome"===t?"themeisle":"balance",prefix:"fab"})}})}),(0,f.jsxs)(l.PanelBody,{title:(0,r.__)("Sizing","otter-blocks"),children:[(0,f.jsx)(l.FontSizePicker,{fontSizes:F,withReset:!0,value:null!==(s=t.fontSize)&&void 0!==s?s:"16px",onChange:t=>o(e,{fontSize:t})}),(0,f.jsx)("hr",{}),(0,f.jsx)(l.__experimentalBoxControl,{label:(0,r.__)("Padding","otter-blocks"),values:(0,n.isObjectLike)(t.padding)?t.padding:(0,A.eA)((0,T.ws)(null!==(a=t.padding)&&void 0!==a?a:5)),onChange:t=>o(e,{padding:t})}),(0,f.jsx)("hr",{}),(0,f.jsx)(l.__experimentalBoxControl,{label:(0,r.__)("Margin","otter-blocks"),values:(0,n.isObjectLike)(t.margin)?t.margin:(0,A.eA)((0,T.ws)(null!==(i=t.margin)&&void 0!==i?i:5)),onChange:t=>o(e,{margin:t})})]}),(0,f.jsxs)(l.PanelBody,{title:(0,r.__)("Color","otter-blocks"),initialOpen:!1,children:[(0,f.jsx)(S.l,{onChange:e=>d(e),value:c,options:[{value:!1,label:(0,r.__)("Normal","otter-blocks")},{value:!0,label:(0,r.__)("Hover","otter-blocks")}]}),(0,f.jsx)("br",{}),c?(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)(l.Disabled,{isDisabled:t.isSynced?.includes("backgroundColorHover")||!1,className:"o-disabled",children:(0,f.jsx)(S._b,{label:(0,r.__)("Background","otter-blocks"),colorValue:t.backgroundColorHover,onColorChange:t=>o(e,{backgroundColorHover:t}),className:"is-list is-first"})}),(0,f.jsx)(l.Disabled,{isDisabled:t.isSynced?.includes("textColorHover")||!1,className:"o-disabled",children:(0,f.jsx)(S._b,{label:(0,r.__)("Icon","otter-blocks"),colorValue:t.textColorHover,onColorChange:t=>o(e,{textColorHover:t}),className:"is-list is-last"})}),(0,f.jsx)("br",{}),(0,f.jsx)(C.ContrastChecker,{textColor:t.textColorHover,backgroundColor:t.backgroundColorHover})]}):(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)(l.Disabled,{isDisabled:t.isSynced?.includes("backgroundColor")||!1,className:"o-disabled",children:(0,f.jsx)(S._b,{label:(0,r.__)("Background","otter-blocks"),colorValue:t.backgroundColor,onColorChange:t=>o(e,{backgroundColor:t}),className:"is-list is-first"})}),(0,f.jsx)(l.Disabled,{isDisabled:t.isSynced?.includes("textColor")||!1,className:"o-disabled",children:(0,f.jsx)(S._b,{label:(0,r.__)("Icon","otter-blocks"),colorValue:t.textColor,onColorChange:t=>o(e,{textColor:t}),className:"is-list is-last"})}),(0,f.jsx)("br",{}),(0,f.jsx)(C.ContrastChecker,{textColor:t.textColor,backgroundColor:t.backgroundColor})]})]})]})},R=({blockName:e,defaults:t,changeConfig:o})=>{const a=(0,s.useSelect)((e=>{const{__experimentalGetPreviewDeviceType:t}=e("core/edit-post");return t()}),[]);return(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)(l.PanelBody,{title:(0,r.__)("Sizing","otter-blocks"),children:(0,f.jsxs)(S.k3,{label:(0,r.__)("Screen Type","otter-blocks"),children:[(0,f.jsx)(l.__experimentalBoxControl,{label:(0,r.__)("Padding","otter-blocks"),values:(()=>{switch(a){case"Desktop":return t.padding;case"Tablet":return t.paddingTablet;case"Mobile":return t.paddingMobile;default:return}})(),inputProps:{min:0,max:500},onChange:t=>{switch((0,T.jW)(t)&&(t=void 0),a){case"Desktop":return o(e,{padding:t});case"Tablet":return o(e,{paddingTablet:t});case"Mobile":return o(e,{paddingMobile:t});default:return}}}),(0,f.jsx)("hr",{}),(0,f.jsx)(l.__experimentalBoxControl,{label:(0,r.__)("Margin","otter-blocks"),values:(()=>{switch(a){case"Desktop":return t.margin;case"Tablet":return t.marginTablet;case"Mobile":return t.marginMobile;default:return}})(),inputProps:{min:-500,max:500},sides:["top","bottom"],onChange:t=>{switch((0,T.jW)(t)&&(t=void 0),"object"==typeof t&&(t=Object.fromEntries(Object.entries(t).filter((([e,t])=>null!==t)))),a){case"Desktop":return o(e,{margin:t});case"Tablet":return o(e,{marginTablet:t});case"Mobile":return o(e,{marginMobile:t});default:return}}})]})}),(0,f.jsxs)(l.PanelBody,{title:(0,r.__)("Section Structure","otter-blocks"),initialOpen:!1,children:[(0,f.jsx)(S.k3,{label:(0,r.__)("Maximum Content Width","otter-blocks"),children:(0,f.jsx)(l.__experimentalUnitControl,{value:(()=>{switch(a){case"Desktop":return t.columnsWidth;case"Tablet":return t.columnsWidthTablet;case"Mobile":return t.columnsWidthMobile;default:return}})(),onChange:t=>{switch(a){case"Desktop":return o(e,{columnsWidth:t});case"Tablet":return o(e,{columnsWidthTablet:t});case"Mobile":return o(e,{columnsWidthMobile:t});default:return}}})}),(0,f.jsx)(S.k2,{values:["columnsWidth","columnsWidthTablet","columnsWidthMobile"],setAttributes:t=>o(e,t)}),t.columnsWidth&&(0,f.jsx)(l.BaseControl,{label:(0,r.__)("Horizontal Align","otter-blocks"),children:(0,f.jsx)(S.l,{value:t.horizontalAlign,options:[{icon:"editor-alignleft",label:(0,r.__)("Left","otter-blocks"),value:"flex-start"},{icon:"editor-aligncenter",label:(0,r.__)("Center","otter-blocks"),value:"center"},{icon:"editor-alignright",label:(0,r.__)("Right","otter-blocks"),value:"flex-end"}],onChange:l=>(l=>{if(t.horizontalAlign===l)return o(e,{horizontalAlign:"unset"});o(e,{horizontalAlign:l})})(l),hasIcon:!0})})]})]})},N=o(9815),I=({blockName:e,defaults:t,changeConfig:o})=>{const a=(0,s.useSelect)((e=>{const{__experimentalGetPreviewDeviceType:t}=e("core/edit-post");return t()}),[]);return(0,f.jsx)(b.Fragment,{children:(0,f.jsx)(l.PanelBody,{title:(0,r.__)("Sizing","otter-blocks"),children:(0,f.jsxs)(N.A,{label:(0,r.__)("Screen Type","otter-blocks"),children:[(0,f.jsx)(l.__experimentalBoxControl,{label:(0,r.__)("Padding","otter-blocks"),values:(()=>{switch(a){case"Desktop":return t.padding;case"Tablet":return t.paddingTablet;case"Mobile":return t.paddingMobile;default:return}})(),inputProps:{min:0,max:500},onChange:t=>{switch((0,T.jW)(t)&&(t=void 0),a){case"Desktop":return o(e,{padding:t});case"Tablet":return o(e,{paddingTablet:t});case"Mobile":return o(e,{paddingMobile:t});default:return}}}),(0,f.jsx)("hr",{}),(0,f.jsx)(l.__experimentalBoxControl,{label:(0,r.__)("Margin","otter-blocks"),values:(()=>{switch(a){case"Desktop":return t.margin;case"Tablet":return t.marginTablet;case"Mobile":return t.marginMobile;default:return}})(),inputProps:{min:-500,max:500},onChange:t=>{switch((0,T.jW)(t)&&(t=void 0),a){case"Desktop":return o(e,{margin:t});case"Tablet":return o(e,{marginTablet:t});case"Mobile":return o(e,{marginMobile:t});default:return}}})]})})})};const O=({title:e,remove:t,children:o})=>{const[s,a]=(0,b.useState)(!1);return(0,f.jsxs)("div",{className:"o-review__inspector_panel_item",children:[(0,f.jsxs)("div",{className:"o-review__inspector_panel_item__header",children:[(0,f.jsx)(l.Button,{className:"o-review__inspector_panel_item__title",onClick:()=>a(!s),children:e}),(0,f.jsx)(l.Button,{icon:"no-alt",label:(0,r.__)("Remove","otter-blocks"),showTooltip:!0,className:"o-review__inspector_panel_item__arrow",onClick:t})]}),s&&(0,f.jsx)("div",{className:"o-review__inspector_panel_item__content",children:o})]})};var H=({blockName:e,defaults:t,changeConfig:o})=>{const s=t=>o(e,t),a=(e,o)=>{const l=[...t.features];l[e]={...l[e],...o},s({features:l})};return(0,f.jsxs)(b.Fragment,{children:[(0,f.jsxs)(l.BaseControl,{children:[(0,f.jsx)(l.TextControl,{label:(0,r.__)("Currency","otter-blocks"),type:"text",placeholder:(0,r.__)("Currency code, like USD or EUR.","otter-blocks"),value:t.currency,onChange:e=>s({currency:e})}),(0,r.__)("Currency code in three digit ISO 4217 code.","otter-blocks")+" ",(0,f.jsx)(l.ExternalLink,{href:"https://en.wikipedia.org/wiki/ISO_4217#Active_codes",children:(0,r.__)("List of ISO 4217 codes.","otter-blocks")})]}),(0,f.jsxs)(l.PanelBody,{title:(0,r.__)("Product Features","otter-blocks"),initialOpen:!1,children:[0<t?.features?.length&&t?.features?.map(((e,o)=>(0,f.jsxs)(O,{title:e.title||(0,r.__)("Feature","otter-blocks"),remove:()=>(e=>{let o=[...t.features];o=o.filter(((t,o)=>o!==e)),s({features:o})})(o),children:[(0,f.jsx)(l.TextControl,{label:(0,r.__)("Title","otter-blocks"),type:"text",placeholder:(0,r.__)("Feature title","otter-blocks"),value:e.title,onChange:e=>a(o,{title:e})}),(0,f.jsx)(l.RangeControl,{label:(0,r.__)("Rating","otter-blocks"),value:e.rating,onChange:e=>a(o,{rating:Number(e)}),step:.1,min:1,max:10})]},o))),(0,f.jsx)(l.Button,{isSecondary:!0,isLarge:!0,className:"o-review__inspector_add",onClick:()=>{const e=[...t.features];e.push({title:(0,r.__)("Feature","otter-blocks"),rating:9}),s({features:e})},children:(0,r.__)("Add Feature","otter-blocks")})]}),(0,f.jsxs)(C.PanelColorSettings,{title:(0,r.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:t.backgroundColor,onChange:t=>o(e,{backgroundColor:t}),label:(0,r.__)("Background","otter-blocks")},{value:t.textColor,onChange:t=>o(e,{textColor:t}),label:(0,r.__)("Text","otter-blocks")},{value:t.primaryColor,onChange:t=>o(e,{primaryColor:t}),label:(0,r.__)("Button","otter-blocks")},{value:t.buttonTextColor,onChange:t=>o(e,{buttonTextColor:t}),label:(0,r.__)("Button Text","otter-blocks")},{value:t.borderColor,onChange:t=>o(e,{borderColor:t}),label:(0,r.__)("Border","otter-blocks")},{value:t.starsColor,onChange:t=>o(e,{starsColor:t}),label:(0,r.__)("Stars","otter-blocks")},{value:t.prosColor,onChange:t=>o(e,{prosColor:t}),label:(0,r.__)("Pros","otter-blocks")},{value:t.consColor,onChange:t=>o(e,{consColor:t}),label:(0,r.__)("Cons","otter-blocks")}],children:[(0,f.jsx)(C.ContrastChecker,{textColor:t.textColor,backgroundColor:t.backgroundColor}),(0,f.jsx)(C.ContrastChecker,{textColor:t.buttonTextColor,backgroundColor:t.parameter})]})]})};const V=[{name:(0,r.__)("Small","otter-blocks"),size:"0.875em",slug:"small"},{name:(0,r.__)("Medium","otter-blocks"),size:"1em",slug:"medium"},{name:(0,r.__)("Large","otter-blocks"),size:"1.125em",slug:"large"},{name:(0,r.__)("XL","otter-blocks"),size:"1.25em",slug:"xl"}];var D=({blockName:e,defaults:t,changeConfig:o})=>{var s,a,i,c,d,u;const p=t=>o(e,t),{responsiveSetAttributes:h,responsiveGetAttributes:g}=(0,P.d)(p),[m,y]=(0,b.useState)("normal");return(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)(C.PanelColorSettings,{title:(0,r.__)("Form Color","otter-blocks"),initialOpen:!0,colorSettings:[{value:t.labelColor,onChange:e=>p({labelColor:e}),label:(0,r.__)("Label","otter-blocks")},{value:t.inputColor,onChange:e=>p({inputColor:e}),label:(0,r.__)("Input Text","otter-blocks")},{value:t.inputBackgroundColor,onChange:e=>p({inputBackgroundColor:e}),label:(0,r.__)("Input Background","otter-blocks")},{value:t.inputBorderColor,onChange:e=>p({inputBorderColor:e}),label:(0,r.__)("Border","otter-blocks")},{value:t.helpLabelColor,onChange:e=>p({helpLabelColor:e}),label:(0,r.__)("Helper Label","otter-blocks")},{value:t.inputRequiredColor,onChange:e=>p({inputRequiredColor:e}),label:(0,r.__)("Required Label","otter-blocks")},{value:t.submitMessageColor,onChange:e=>p({submitMessageColor:e}),label:(0,r.__)("Success Message","otter-blocks")},{value:t.submitMessageErrorColor,onChange:e=>p({submitMessageErrorColor:e}),label:(0,r.__)("Error Message","otter-blocks")}]}),(0,f.jsxs)(l.PanelBody,{title:(0,r.__)("Button","otter-blocks"),initialOpen:!0,children:[(0,f.jsx)(S.l,{value:m,onChange:y,options:[{label:"Normal",value:"normal"},{label:"Hover",value:"hover"}]}),(0,f.jsx)("br",{}),"normal"===m&&(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)(S._b,{label:(0,r.__)("Text","otter-blocks"),colorValue:t.submitColor,onColorChange:e=>p({submitColor:e}),className:"is-list is-first"}),(0,f.jsx)(S._b,{label:(0,r.__)("Background","otter-blocks"),colorValue:t.submitBackgroundColor,onColorChange:e=>p({submitBackgroundColor:e}),className:"is-list"})]})||"hover"===m&&(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)(S._b,{label:(0,r.__)("Text","otter-blocks"),colorValue:t.submitColorHover,onColorChange:e=>p({submitColorHover:e}),className:"is-list is-first"}),(0,f.jsx)(S._b,{label:(0,r.__)("Background","otter-blocks"),colorValue:t.submitBackgroundColorHover,onColorChange:e=>p({submitBackgroundColorHover:e}),className:"is-list"})]}),(0,f.jsx)("br",{}),(0,f.jsx)(l.FontSizePicker,{label:(0,r.__)("Font Size","otter-blocks"),fontSizes:V,withReset:!0,value:t.submitFontSize,onChange:e=>p({submitFontSize:e})}),(0,f.jsx)(S.k3,{label:(0,r.__)("Screen Type","otter-blocks"),children:(0,f.jsx)(l.__experimentalBoxControl,{label:(0,r.__)("Padding","otter-blocks"),values:null!==(s=g([t.buttonPadding,t.buttonPaddingTablet,t.buttonPaddingMobile]))&&void 0!==s?s:{top:"10px",bottom:"10px",right:"20px",left:"20px"},onChange:e=>h(e,["buttonPadding","buttonPaddingTablet","buttonPaddingMobile"])})})]}),(0,f.jsxs)(l.PanelBody,{title:(0,r.__)("Labels","otter-blocks"),initialOpen:!0,children:[(0,f.jsx)(l.FontSizePicker,{label:(0,r.__)("Font Size","otter-blocks"),fontSizes:V,withReset:!0,value:t.labelFontSize,onChange:e=>p({labelFontSize:e})}),(0,f.jsx)(l.RangeControl,{label:(0,r.__)("Spacing","otter-blocks"),value:null!==(a=t.inputGap)&&void 0!==a?a:10,onChange:e=>p({inputGap:e}),allowReset:!0,step:.1,min:0,max:50,initialPosition:10})]}),(0,f.jsxs)(l.PanelBody,{title:(0,r.__)("Input Fields","otter-blocks"),initialOpen:!0,children:[(0,f.jsx)(l.FontSizePicker,{label:(0,r.__)("Input Font Size","otter-blocks"),fontSizes:V,withReset:!0,value:t.inputFontSize,onChange:e=>p({inputFontSize:e})}),(0,f.jsx)(l.RangeControl,{label:(0,r.__)("Fields Spacing","otter-blocks"),value:null!==(i=t.inputsGap)&&void 0!==i?i:16,onChange:e=>p({inputsGap:e}),allowReset:!0,min:0,max:50,initialPosition:16}),(0,f.jsx)(S.k3,{label:(0,r.__)("Screen Type","otter-blocks"),children:(0,f.jsx)(l.__experimentalBoxControl,{label:(0,r.__)("Input Padding","otter-blocks"),values:null!==(c=g([t.inputPadding,t.inputPaddingTablet,t.inputPaddingMobile]))&&void 0!==c?c:{top:"8px",right:"8px",bottom:"8px",left:"8px"},inputProps:{min:0,max:500},onChange:e=>h(e,["inputPadding","inputPaddingTablet","inputPaddingMobile"])})})]}),(0,f.jsxs)(l.PanelBody,{title:(0,r.__)("Border","otter-blocks"),initialOpen:!0,children:[(0,f.jsx)(l.__experimentalBoxControl,{label:(0,r.__)("Border Radius","otter-blocks"),values:(0,n.isObjectLike)(t.inputBorderRadius)?t.inputBorderRadius:(0,A.eA)((0,T.ws)(null!==(d=t.inputBorderRadius)&&void 0!==d?d:4)),onChange:e=>p({inputBorderRadius:e}),id:"o-border-raduis-box"}),(0,f.jsx)(l.__experimentalBoxControl,{label:(0,r.__)("Border Width","otter-blocks"),values:(0,n.isObjectLike)(t.inputBorderWidth)?t.inputBorderWidth:(0,A.eA)((0,T.ws)(null!==(u=t.inputBorderWidth)&&void 0!==u?u:1)),onChange:e=>p({inputBorderWidth:e})})]}),(0,f.jsxs)(l.PanelBody,{title:(0,r.__)("Helper & Submit Messages","otter-blocks"),initialOpen:!0,children:[(0,f.jsx)(l.BaseControl,{label:(0,r.__)("Helper Text Size","otter-blocks"),children:(0,f.jsx)(l.FontSizePicker,{fontSizes:V,withReset:!0,value:t.helpFontSize,onChange:e=>p({helpFontSize:e})})}),(0,f.jsx)(l.BaseControl,{label:(0,r.__)("Success/Error Message Size","otter-blocks"),children:(0,f.jsx)(l.FontSizePicker,{fontSizes:V,withReset:!0,value:t.messageFontSize,onChange:e=>p({messageFontSize:e})})})]})]})},G=({blockName:e,defaults:t,changeConfig:o})=>{var s,a,i,c,d,u,p,h,g,m,y,k,x,v,_,w,j,B,z,F;const L=t=>{o(e,t)},{responsiveGetAttributes:R}=(0,P.d)(L),N="unlinked"===t.paddingType?{top:null!==(s=(0,T.ws)(t.paddingTop))&&void 0!==s?s:"0px",bottom:null!==(a=(0,T.ws)(t.paddingBottom))&&void 0!==a?a:"0px",right:null!==(i=(0,T.ws)(t.paddingRight))&&void 0!==i?i:"0px",left:null!==(c=(0,T.ws)(t.paddingLeft))&&void 0!==c?c:"0px"}:isFinite(t.padding)?(0,A.eA)((0,T.ws)(t.padding)):{top:"0px",bottom:"0px",right:"0px",left:"0px"},I="unlinked"===t.paddingTypeTablet?{top:null!==(d=(0,T.ws)(t.paddingTopTablet))&&void 0!==d?d:"0px",bottom:null!==(u=(0,T.ws)(t.paddingBottomTablet))&&void 0!==u?u:"0px",right:null!==(p=(0,T.ws)(t.paddingRightTablet))&&void 0!==p?p:"0px",left:null!==(h=(0,T.ws)(t.paddingLeftTablet))&&void 0!==h?h:"0px"}:isFinite(t.paddingTablet)?(0,A.eA)((0,T.ws)(t.paddingTablet)):void 0,O="unlinked"===t.paddingTypeMobile?{top:null!==(g=(0,T.ws)(t.paddingTopMobile))&&void 0!==g?g:"0px",bottom:null!==(m=(0,T.ws)(t.paddingBottomMobile))&&void 0!==m?m:"0px",right:null!==(y=(0,T.ws)(t.paddingRightMobile))&&void 0!==y?y:"0px",left:null!==(k=(0,T.ws)(t.paddingLeftMobile))&&void 0!==k?k:"0px"}:isFinite(t.paddingMobile)?(0,A.eA)((0,T.ws)(t.paddingMobile)):void 0,H=void 0===t.marginType?{top:null!==(x=(0,T.ws)(t.marginTop))&&void 0!==x?x:"0px",bottom:null!==(v=(0,T.ws)(t.marginBottom))&&void 0!==v?v:"25px"}:isFinite(t.margin)?(0,A.eA)((0,T.ws)(t.margin)):void 0,V=void 0===t.marginTypeTablet?{top:null!==(_=(0,T.ws)(t.marginTopTablet))&&void 0!==_?_:"0px",bottom:null!==(w=(0,T.ws)(t.marginBottomTablet))&&void 0!==w?w:"0px"}:isFinite(t.marginTablet)?(0,A.eA)((0,T.ws)(t.marginTablet)):void 0,D=void 0===t.marginTypeMobile?{top:null!==(j=(0,T.ws)(t.marginTopMobile))&&void 0!==j?j:"0px",bottom:null!==(B=(0,T.ws)(t.marginBottomMobile))&&void 0!==B?B:"0px"}:isFinite(t.marginMobile)?(0,A.eA)((0,T.ws)(t.marginMobile)):void 0;return(0,f.jsxs)(b.Fragment,{children:[(0,f.jsxs)(l.PanelBody,{title:(0,r.__)("Typography","otter-blocks"),initialOpen:!0,children:[(0,f.jsx)(S.k3,{label:(0,r.__)("Screen Type","otter-blocks")}),(0,f.jsx)(M.A,{enableComponents:{fontFamily:!0,appearance:!0,lineHeight:!0,letterCase:!0,spacing:!0,variant:!0},componentsValue:{fontSize:(0,T.ws)(R([t.fontSize,t.fontSizeTablet,t.fontSizeMobile])),fontFamily:t.fontFamily,lineHeight:t.lineHeight,appearance:t.fontStyle,letterCase:t.textTransform,spacing:t.letterSpacing,variant:t.fontVariant},onChange:e=>{var t;L({fontFamily:e.fontFamily,lineHeight:e.lineHeight,fontStyle:e.appearance,textTransform:e.letterCase,letterSpacing:e.spacing,[null!==(t=R(["fontSize","fontSizeTablet","fontSizeMobile"]))&&void 0!==t?t:"fontSize"]:e.fontSize,fontVariant:e.variant})},onReset:e=>{L("fontSize"===e?{[R(["fontSize","fontSizeTablet","fontSizeMobile"])]:void 0}:{[fieldMapping[e]]:void 0})},allowVariants:!0})]}),(0,f.jsx)(C.PanelColorSettings,{title:(0,r.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:t.headingColor,onChange:e=>L({headingColor:e}),label:(0,r.__)("Text","otter-blocks"),isShownByDefault:!0},{value:t.backgroundColor,onChange:e=>L({backgroundColor:e}),label:(0,r.__)("Background","otter-blocks"),isShownByDefault:!0},{value:t.linkColor,onChange:e=>L({linkColor:e}),label:(0,r.__)("Link","otter-blocks"),isShownByDefault:!1},{value:t.linkHoverColor,onChange:e=>L({linkHoverColor:e}),label:(0,r.__)("Link Hover","otter-blocks"),isShownByDefault:!1},{value:t.highlightColor,onChange:e=>L({highlightColor:e}),label:(0,r.__)("Highlight Text","otter-blocks"),isShownByDefault:!1},{value:t.highlightBackground,onChange:e=>L({highlightBackground:e}),label:(0,r.__)("Highlight Background","otter-blocks"),isShownByDefault:!1}]}),(0,f.jsx)(l.PanelBody,{title:(0,r.__)("Dimensions","otter-blocks"),initialOpen:!1,children:(0,f.jsxs)(S.k3,{label:(0,r.__)("Screen Type","otter-blocks"),children:[(0,f.jsx)(l.__experimentalBoxControl,{label:(0,r.__)("Padding","otter-blocks"),values:null!==(z=(0,T.BU)(R([(0,n.isObjectLike)(t.padding)?t.padding:N,(0,n.isObjectLike)(t.paddingTablet)?t.paddingTablet:I,(0,n.isObjectLike)(t.paddingMobile)?t.paddingMobile:O])))&&void 0!==z?z:(0,A.eA)("0px"),onChange:e=>{var t;L({[null!==(t=R(["padding","paddingTablet","paddingMobile"]))&&void 0!==t?t:"padding"]:e})}}),(0,f.jsx)(l.__experimentalBoxControl,{label:(0,r.__)("Margin","otter-blocks"),values:null!==(F=(0,T.BU)(R([(0,n.isObjectLike)(t.margin)?t.margin:H,(0,n.isObjectLike)(t.marginTablet)?t.marginTablet:V,(0,n.isObjectLike)(t.marginMobile)?t.marginMobile:D])))&&void 0!==F?F:{top:"0px",bottom:"25px"},onChange:e=>{var t;L({[null!==(t=R(["margin","marginTablet","marginMobile"]))&&void 0!==t?t:"margin"]:e})},sides:["top","bottom"]})]})}),(0,f.jsxs)(l.PanelBody,{title:(0,r.__)("Shadow","otter-blocks"),initialOpen:!1,className:"o-adv-h-panel",children:[(0,f.jsx)(l.ToggleControl,{label:(0,r.__)("Enable Text Shadow","otter-blocks"),checked:t.textShadow,onChange:e=>L({textShadow:e})}),t.textShadow&&(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)(C.__experimentalColorGradientControl,{label:(0,r.__)("Color","otter-blocks"),colorValue:t.textShadowColor,onColorChange:e=>L({textShadowColor:e})}),(0,f.jsxs)(S.HZ,{label:(0,r.__)("Shadow Properties","otter-blocks"),children:[(0,f.jsx)(l.RangeControl,{label:(0,r.__)("Opacity","otter-blocks"),value:t.textShadowColorOpacity,onChange:e=>L({textShadowColorOpacity:e}),min:0,max:100}),(0,f.jsx)(l.RangeControl,{label:(0,r.__)("Blur","otter-blocks"),value:t.textShadowBlur,onChange:e=>L({textShadowBlur:e}),min:0,max:100}),(0,f.jsx)(l.RangeControl,{label:(0,r.__)("Horizontal","otter-blocks"),value:t.textShadowHorizontal,onChange:e=>L({textShadowHorizontal:e}),min:-100,max:100}),(0,f.jsx)(l.RangeControl,{label:(0,r.__)("Vertical","otter-blocks"),value:t.textShadowVertical,onChange:e=>L({textShadowVertical:e}),min:-100,max:100})]})]})]})]})},E=({blockName:e,defaults:t,changeConfig:o})=>{const s=t=>o(e,t);return(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)(l.PanelBody,{title:(0,r.__)("Typography","otter-blocks"),children:(0,f.jsx)(l.FontSizePicker,{fontSizes:[{name:(0,r.__)("Extra Small","otter-blocks"),icon:"small",size:"14px"},{name:(0,r.__)("Small","otter-blocks"),slug:"small",size:"16px"},{name:(0,r.__)("Medium","otter-blocks"),slug:"medium",size:"18px"},{name:(0,r.__)("Large","otter-blocks"),slug:"large",size:"24px"},{name:(0,r.__)("Extra Large","otter-blocks"),slug:"extra-large",size:"28px"}],value:t.titleFontSize,onChange:e=>s({titleFontSize:e})})}),(0,f.jsx)(C.PanelColorSettings,{title:(0,r.__)("Colors","otter-blocks"),initialOpen:!0,setAttributes:s,colorSettings:[{value:t.titleBackgroundColor,label:(0,r.__)("Title Background","otter-blocks"),onChange:e=>s({titleBackgroundColor:e})},{value:t.activeTitleBackgroundColor,label:(0,r.__)("Active Title Background","otter-blocks"),onChange:e=>s({activeTitleBackgroundColor:e})},{value:t.titleColor,label:(0,r.__)("Title Color","otter-blocks"),onChange:e=>s({titleColor:e})},{value:t.activeTitleColor,label:(0,r.__)("Active Title Color","otter-blocks"),onChange:e=>s({activeTitleColor:e})},{value:t.contentTextColor,label:(0,r.__)("Content Text Color","otter-blocks"),onChange:e=>s({contentTextColor:e})},{value:t.tabColor,label:(0,r.__)("Content Background","otter-blocks"),onChange:e=>s({tabColor:e})},{value:t.borderColor,label:(0,r.__)("Border","otter-blocks"),onChange:e=>s({borderColor:e})},{value:t.activeBorderColor,label:(0,r.__)("Active Border","otter-blocks"),onChange:e=>s({activeBorderColor:e})}]}),(0,f.jsxs)(l.PanelBody,{title:(0,r.__)("Dimensions(Layout)","otter-blocks"),initialOpen:!0,children:[(0,f.jsx)(l.__experimentalBoxControl,{label:(0,r.__)("Title Padding","otter-blocks"),values:t.titlePadding,onChange:e=>s({titlePadding:(0,T.lP)(e)?void 0:e})}),(0,f.jsx)(l.__experimentalBoxControl,{label:(0,r.__)("Content Padding","otter-blocks"),values:t.contentPadding,onChange:e=>s({contentPadding:(0,T.lP)(e)?void 0:e})})]}),(0,f.jsxs)(l.PanelBody,{title:(0,r.__)("Border Radius","otter-blocks"),initialOpen:!0,children:[(0,f.jsx)(l.__experimentalBoxControl,{label:(0,r.__)("Title Border Width","otter-blocks"),values:t.titleBorderWidth,onChange:e=>{s({titleBorderWidth:(0,T.lP)(e)?void 0:e})}}),(0,f.jsx)(l.__experimentalBoxControl,{label:(0,r.__)("Content Border Width","otter-blocks"),values:t.borderWidth,onChange:e=>{s({borderWidth:(0,T.lP)(e)?void 0:e})}})]})]})},$=o(886);const W=({path:e,isBack:t=!1,onClickAction:o=()=>{},...s})=>{const a=(0,l.__experimentalUseNavigator)();return(0,f.jsx)(l.Button,{onClick:()=>{void 0!==a.push?a.push(e,{isBack:t}):a.goTo(e,{isBack:t}),o()},...s})},U=()=>{var e,t,o;const{isOnboardingVisible:a,get:c}=(0,s.useSelect)((e=>{const{isOnboardingVisible:t}=e("themeisle-gutenberg/data"),o=e("core/preferences")?.get;return{isOnboardingVisible:t?.(),get:o}}),[]),{createNotice:u}=(0,s.useDispatch)("core/notices"),{showOnboarding:m}=(0,s.useDispatch)("themeisle-gutenberg/data");(0,b.useEffect)((()=>{let e=!0;return(async()=>{(await d()({path:"wp/v2/users/me?context=edit"})).capabilities.manage_options&&e?(k(!0),await window.wp.api.loadPromise.then((()=>{F.current=new window.wp.api.models.Settings})),!1===x&&F.current.fetch().then((e=>{if(""!==e.themeisle_blocks_settings_global_defaults){let t=(0,n.cloneDeep)(w.A);"object"==typeof window.themeisleGutenberg.themeDefaults&&(t=(0,n.merge)(t,window.themeisleGutenberg.themeDefaults)),t=(0,n.merge)(t,JSON.parse(e.themeisle_blocks_settings_global_defaults)),window.themeisleGutenberg.globalDefaults=JSON.parse(e.themeisle_blocks_settings_global_defaults),S(t)}else{let e=(0,n.cloneDeep)(w.A);"object"==typeof window.themeisleGutenberg.themeDefaults&&(e=(0,n.merge)(e,window.themeisleGutenberg.themeDefaults)),window.themeisleGutenberg.globalDefaults={},S(e)}v(!0)}))):(k(!1),v(!0))})(),()=>{e=!1}}),[]);const[y,k]=(0,b.useState)(!1),[x,v]=(0,b.useState)(!1),[C,S]=(0,b.useState)({}),[T,M]=(0,b.useState)(void 0),[P,A]=(0,b.useState)(!1),F=(0,b.useRef)(null),[N,O,V]=(0,$.A)(),[U,q]=(0,b.useState)("loaded"),Z=async e=>{q("loading"),await e,q("loaded")},J=[{name:"themeisle-blocks/accordion",control:j},{name:"themeisle-blocks/button-group",control:z},{name:"themeisle-blocks/button",control:B},{name:"themeisle-blocks/font-awesome-icons",control:L},{name:"themeisle-blocks/advanced-heading",control:G},{name:"themeisle-blocks/review",control:H},{name:"themeisle-blocks/advanced-columns",control:R},{name:"themeisle-blocks/advanced-column",control:I},{name:"themeisle-blocks/form",control:D},{name:"themeisle-blocks/tabs",control:E}];let K=null;T&&(K=J.find((e=>e.name===T)).control);const Y=Boolean(N("themeisle_blocks_settings_css_module")),Q=Boolean(N("themeisle_blocks_settings_blocks_animation")),X=Boolean(N("themeisle_blocks_settings_block_conditions"));return(0,f.jsxs)(l.__experimentalNavigatorProvider,{initialPath:"/",children:[(0,f.jsxs)(l.__experimentalNavigatorScreen,{path:"/",children:[(0,f.jsx)(l.PanelBody,{className:"o-options-general",children:(0,f.jsx)(l.PanelRow,{children:(0,f.jsx)(l.Button,{icon:i.otterIconColored,onClick:()=>m(!a),className:"o-onboarding-button",children:(0,r.__)("Show Onboarding Modal","otter-blocks")})})}),y&&(0,f.jsxs)(b.Fragment,{children:[(0,f.jsxs)(l.PanelBody,{title:(0,r.__)("Block Tools Defaults","otter-blocks"),initialOpen:!0,children:[(0,f.jsx)("p",{children:(0,r.__)("Make those features to be shown by default in Block Tools.","otter-blocks")}),"loading"===V&&(0,f.jsxs)("p",{children:[(0,f.jsx)(l.Spinner,{}),(0,r.__)("Checking optional module…","otter-blocks")]}),Y&&(0,f.jsx)(l.PanelRow,{children:(0,f.jsx)(l.ToggleControl,{className:"o-sidebar-toggle",label:(0,r.__)("Custom CSS","otter-blocks"),checked:null===(e=c?.("themeisle/otter-blocks","show-custom-css"))||void 0===e||e,disabled:"loading"===U,onChange:e=>Z((0,s.dispatch)("core/preferences")?.set("themeisle/otter-blocks","show-custom-css",e))})}),Q&&(0,f.jsx)(l.PanelRow,{children:(0,f.jsx)(l.ToggleControl,{className:"o-sidebar-toggle",label:(0,r.__)("Animation","otter-blocks"),checked:null===(t=c?.("themeisle/otter-blocks","show-animations"))||void 0===t||t,disabled:"loading"===U,onChange:e=>Z((0,s.dispatch)("core/preferences")?.set("themeisle/otter-blocks","show-animations",e))})}),X&&(0,f.jsx)(l.PanelRow,{children:(0,f.jsx)(l.ToggleControl,{className:"o-sidebar-toggle",label:(0,r.__)("Visibility Condition","otter-blocks"),checked:null===(o=c?.("themeisle/otter-blocks","show-block-conditions"))||void 0===o||o,disabled:"loading"===U,onChange:e=>Z((0,s.dispatch)("core/preferences")?.set("themeisle/otter-blocks","show-block-conditions",e))})})]}),(0,f.jsx)(W,{path:"/block-settings",icon:h.A,className:"o-navi-button",children:(0,r.__)("Block Settings","otter-blocks")})]}),(0,p.applyFilters)("otter.feedback","","otter-menu-editor",(0,r.__)("Help us improve Otter Blocks","otter-blocks"))]}),(0,f.jsxs)(l.__experimentalNavigatorScreen,{path:"/block-settings",className:"o-options-global-defaults",children:[(0,f.jsx)(W,{path:"/",icon:g.A,className:"o-navi-button o-navi-button-back",children:(0,r.__)("Settings","otter-blocks")}),(0,f.jsx)(_,{isAPILoaded:x,globalControls:J,blockDefaults:C,setSelectedBlock:M})]}),(0,f.jsxs)(l.__experimentalNavigatorScreen,{path:"/block-settings/global-defaults",className:"o-options-global-defaults-modal",children:[(0,f.jsx)(W,{path:"/block-settings",icon:g.A,className:"o-navi-button o-navi-button-back",children:(0,r.__)("Blocks","otter-blocks")}),T&&(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)(K,{blockName:T,defaults:C[T],changeConfig:(e,t)=>{const o=(0,n.cloneDeep)(C);for(const l in t)o[e][l]=t[l];window.oTrk?.add({feature:"global-defaults",featureComponent:"block",featureValue:e}),S(o)}}),(0,f.jsxs)("div",{className:"o-options-global-defaults-actions",children:[(0,f.jsx)(l.Button,{isDestructive:!0,onClick:()=>(e=>{const t=(0,n.cloneDeep)(C),o={...w.A[e]};t[e]=o,S(t)})(T),children:(0,r.__)("Reset","otter-blocks")}),(0,f.jsx)(l.Button,{isBusy:P,onClick:async()=>{A(!0),await(async()=>{const e=(0,n.cloneDeep)(C);Object.keys(e).forEach((t=>{Object.keys(e[t]).forEach((o=>{(void 0!==w.A[t]?.[o]&&e[t][o]===w.A[t][o]||"object"==typeof e[t]?.[o]&&(0,n.isEqual)(e[t]?.[o],w.A[t]?.[o]))&&delete e[t][o]}))}));const t=new window.wp.api.models.Settings({themeisle_blocks_settings_global_defaults:JSON.stringify(e)});await t.save().then((()=>{var t;window.themeisleGutenberg.globalDefaults=e,t=(0,r.__)("Option updated.","otter-blocks"),l.Snackbar&&u("info",t,{isDismissible:!0,type:"snackbar"})}))})(),A(!1)},children:(0,r.__)("Save","otter-blocks")})]})]})]})]})};var q=o(9491),Z=o(7650);const J=(0,q.createHigherOrderComponent)((e=>t=>(0,f.jsx)(e,{...t,className:k()({"otter-has-condition":t.attributes.otterConditions&&Boolean(t.attributes.otterConditions.length)})})),"withConditionsIndicator");Boolean(window.themeisleGutenberg.hasModule.blockConditions)&&((0,p.addFilter)("blocks.registerBlockType","themeisle-gutenberg/conditions-register",(e=>(e.attributes=(0,n.assign)(e.attributes,{otterConditions:{type:"array",default:[]}}),e))),(0,p.addFilter)("otter.blockTools","themeisle-gutenberg/conditions-inspector",((e,t)=>{var o;const a=Boolean(null===(o=(0,s.select)("core/preferences")?.get("themeisle/otter-blocks","show-block-conditions"))||void 0===o||o);return(0,f.jsxs)(b.Fragment,{children:[e,(0,f.jsx)(l.__experimentalToolsPanelItem,{hasValue:()=>void 0!==t.attributes.otterConditions&&Boolean(t.attributes.otterConditions?.length),label:(0,r.__)("Visibility Conditions","otter-blocks"),onDeselect:()=>t.setAttributes({otterConditions:void 0}),isShownByDefault:a,children:(0,f.jsx)(Z.A,{...t})})]})}),3),(0,p.addFilter)("editor.BlockListBlock","themeisle-gutenberg/contextual-indicators",J));let K=!1;const{createNotice:Y}=(0,s.dispatch)("core/notices"),Q=(0,n.debounce)((async()=>{const{getCurrentPostId:e}=(0,s.select)("core/editor"),t=e();Y("info",(0,r.__)("Saving CSS…","otter-blocks"),{isDismissible:!0,type:"snackbar",id:"saving-css"}),await d()({path:`otter/v1/post_styles/${t}`,method:"POST"}),Y("info",(0,r.__)("CSS saved.","otter-blocks"),{isDismissible:!0,type:"snackbar",id:"saving-css"}),K=!1}),1e3),X=(0,n.debounce)((async()=>{Y("info",(0,r.__)("Saving CSS…","otter-blocks"),{isDismissible:!0,type:"snackbar",id:"saving-css"}),await d()({path:"otter/v1/widget_styles",method:"POST"}),Y("info",(0,r.__)("CSS saved.","otter-blocks"),{isDismissible:!0,type:"snackbar",id:"saving-css"}),K=!1}),1e3),ee={};(0,s.subscribe)((()=>{if((0,s.select)("core/edit-widgets")){const{isSavingWidgetAreas:e,getEditedWidgetAreas:t}=(0,s.select)("core/edit-widgets");0<t().length&&!K&&e()&&(K=!0,X())}if(Boolean(window.themeisleGutenberg.isBlockEditor)&&(0,s.select)("core/editor")){const{isCurrentPostPublished:e,isSavingPost:t,isPublishingPost:o,isAutosavingPost:l,__experimentalIsSavingReusableBlock:a}=(0,s.select)("core/editor"),{__experimentalReusableBlocks:i}=(0,s.select)("core/block-editor").getSettings(),{isSavingEntityRecord:r}=(0,s.select)("core");let n;n=a?e=>a(e):e=>r("postType","wp_block",e);const c=l(),b=o(),u=t(),p=i||[],h=e();p.forEach((e=>{if(e){const t=n(e.id);t&&!e.isTemporary&&(ee[e.id]={id:e.id,isSaving:!0}),t||e.isTemporary||!ee[e.id]||e.id===ee[e.id].id&&!t&&ee[e.id].isSaving&&(ee[e.id].isSaving=!1,d()({path:`otter/v1/block_styles/${e.id}`,method:"POST"}))}})),!(b||h&&u)||c||K||(window.oTrk?.base.uploadEvents(),K=!0,Q())}}));var te=o(4802),oe=o.n(te);const le={showOnboarding:Boolean(window.themeisleGutenberg.showOnboarding)&&"false"!==window.localStorage?.getItem("o-show-onboarding"),viewType:"Desktop",visiblePopover:"themeisle-blocks/dynamic-value",dynamicData:{},stripeProducts:[],stripeProductsPrices:{}},se={updateView(e){return{type:"UPDATE_VIEW",viewType:e}},showOnboarding(e){return{type:"UPDATE_ONBOARDING",showOnboarding:e}},setVisiblePopover(e){return{type:"UPDATE_POPOVER",visiblePopover:e}},setDynamicData(e,t){return{type:"SET_DYNAMIC_DATA",key:e,value:t}},setStripeProducts(e){return{type:"SET_STRIPE_PRODUCTS",products:e?.data}},setStripeProductPrices(e,t){return{type:"SET_STRIPE_PRODUCT_PRICES",id:e,prices:t?.data}},fetchFromAPI(e){return{type:"FETCH_FROM_API",path:e}}};if((0,s.registerStore)("themeisle-gutenberg/data",{reducer(e=le,t){return"UPDATE_VIEW"===t.type?{...e,viewType:t.viewType}:"UPDATE_ONBOARDING"===t.type?{...e,showOnboarding:t.showOnboarding}:"UPDATE_POPOVER"===t.type?{...e,visiblePopover:t.visiblePopover}:"SET_DYNAMIC_DATA"===t.type?{...e,dynamicData:{...e.dynamicData,[t.key]:t.value}}:"SET_STRIPE_PRODUCTS"===t.type?{...e,stripeProducts:t.products}:"SET_STRIPE_PRODUCT_PRICES"===t.type?{...e,stripeProductsPrices:{...e.stripeProductsPrices,[t.id]:t.prices}}:e},actions:se,selectors:{getView(e){return e.viewType},isOnboardingVisible(e){return e.showOnboarding},getVisiblePopover(e){return e.visiblePopover},getDynamicData(e,t){const o=oe()(t);return e.dynamicData[o]},getStripeProducts(e){return e.stripeProducts},getStripeProductPrices(e,t){return e.stripeProductsPrices?.[t]}},controls:{FETCH_FROM_API(e){return d()({path:e.path})}},resolvers:{*getDynamicData(e){const t=oe()(e),o="otter/v1/dynamic/preview/?"+(0,T.hT)(e),l=yield se.fetchFromAPI(o);return se.setDynamicData(t,l)},*getStripeProducts(){const e=yield se.fetchFromAPI("otter/v1/stripe/products");return se.setStripeProducts(e)},*getStripeProductPrices(e){const t="otter/v1/stripe/prices/"+e,o=yield se.fetchFromAPI(t);return se.setStripeProductPrices(e,o)}}}),window.themeisleGutenberg.dataLogging={},Boolean(window.themeisleGutenberg.isBlockEditor)&&(0,s.select)("core/editor")){let e=!1,t=!1,o=[],l=[];const a=e=>-1<o.indexOf(e.name),i=e=>{if(e.innerBlocks){const t=e.innerBlocks.filter(a);l.push(...t),t.forEach(i)}};window.wp.api.loadPromise.then((()=>{(new window.wp.api.models.Settings).fetch().then((e=>{e.otter_blocks_logger_data&&Boolean(window.themeisleGutenberg.canTrack)&&(window.themeisleGutenberg.dataLogging=e.otter_blocks_logger_data)}))}));const r=(0,n.debounce)((async()=>{const{getEditorBlocks:e}=(0,s.select)("core/editor");let t=e();t=t.filter(a);const o=e=>{if(e.innerBlocks){const l=e.innerBlocks.filter(a);t.push(...l),l.forEach(o)}},i={...window.themeisleGutenberg.dataLogging};if(0<t.length&&i.blocks){t.forEach(o),t=t.map((e=>e.name));const e=[];t.forEach((t=>{const o=e.find((e=>e.name===t));o?o.instances=o.instances+1:e.push({name:t,instances:1})}));const s=[...e],a=[...l];s.map((e=>{const t=a.find((t=>t.name===e.name));return t&&e.instances>=t.instances?(e.instances=e.instances-t.instances,e):e})),0===i.blocks.length?i.blocks=[...s]:(i.blocks.map((e=>{const t=s.find((t=>t.name===e.name)),o=s.findIndex((t=>t.name===e.name));return t?(e.instances=e.instances+t.instances,s.splice(o,1),e):e})),0<s.length&&(i.blocks=[...i.blocks,...s]))}const r=new window.wp.api.models.Settings({otter_blocks_logger_data:i});await r.save()}),1e3);(0,s.subscribe)((()=>{const{getBlockTypes:n}=(0,s.select)("core/blocks"),{__unstableIsEditorReady:c,getEditorBlocks:d,isAutosavingPost:b,isCurrentPostPublished:u,isEditedPostNew:p,isPublishingPost:h,isSavingPost:g}=(0,s.select)("core/editor"),m=b(),y=h(),k=g(),x=u(),f=n();if(o=f.filter((e=>"themeisle-blocks"===e.category)).map((e=>e.name)),(y||x&&k)&&!m&&Boolean(window.themeisleGutenberg.canTrack)&&(t=!0,r()),!e&&c()&&!p()&&!t&&Boolean(window.themeisleGutenberg.canTrack)){e=c(),l=d(),l=l.filter(a),l.forEach(i),l=l.map((e=>e.name));const t=[];l.forEach((e=>{const o=t.find((t=>t.name===e));o?o.instances=o.instances+1:t.push({name:e,instances:1})})),l=t}}))}var ae=o(8490),ie=o.n(ae),re=o(9476);const ne=(0,q.createHigherOrderComponent)((e=>t=>"core/gallery"===t.name?(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)(e,{...t}),!!t.attributes.images.length&&(0,f.jsx)(C.InspectorControls,{children:(0,f.jsx)(l.PanelBody,{title:(0,r.__)("Images","otter-blocks"),initialOpen:!1,children:(0,f.jsx)(re.A,{attributes:t.attributes,onSelectImages:e=>{t.setAttributes({images:e.map((e=>({id:e.id,url:e.url,alt:e.alt,caption:e.caption})))})}})})})]}):(0,f.jsx)(e,{...t})),"withGalleryExtension");ie()((()=>{Boolean(window.themeisleGutenberg?.isLegacyPre59)&&(0,p.addFilter)("editor.BlockEdit","themeisle-gutenberg/gallery-extension",ne)}));var ce=({BlockEdit:e,props:t})=>(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)(C.InspectorControls,{children:(0,f.jsxs)(l.PanelBody,{title:(0,r.__)("Masonry","otter-blocks"),initialOpen:!1,children:[(0,f.jsx)(l.ToggleControl,{label:(0,r.__)("Masonry Layout","otter-blocks"),help:(0,r.__)("Toggle on to transform your boring gallery to an exciting masonry layout. It should be noted that the masonry layout only works in the frontend.","otter-blocks"),checked:t.attributes.isMasonry,onChange:()=>{const e=!t.attributes.isMasonry;t.setAttributes({isMasonry:e})}}),t.attributes.isMasonry&&(0,f.jsx)(l.RangeControl,{label:(0,r.__)("Margin","otter-blocks"),value:t.attributes.margin,onChange:e=>{t.setAttributes({margin:e})},min:0,max:20})]})}),(0,f.jsx)(e,{...t})]});const de=(0,q.createHigherOrderComponent)((e=>t=>"core/gallery"===t.name&&t.attributes?.isMasonry?(0,f.jsx)(ce,{BlockEdit:e,props:t}):(0,f.jsx)(e,{...t})),"withMasonryExtension");(0,p.addFilter)("blocks.registerBlockType","themeisle-gutenberg/masonry-extension-attributes",(e=>("core/gallery"===e.name&&(e.attributes=(0,n.assign)(e.attributes,{isMasonry:{type:"boolean",default:!1},margin:{type:"number"}})),e))),(0,p.addFilter)("editor.BlockEdit","themeisle-gutenberg/masonry-extension",de);var be=o(3915),ue=o.n(be),pe=o(3829),he=o(5669),ge=o(8205);window.hexToRgba=ue();var me=({BlockEdit:e,props:t})=>{const{attributes:o,setAttributes:a}=t,i=(0,s.useSelect)((e=>e("core/block-editor").getBlocks().filter((e=>"core/image"===e.name&&void 0!==e.attributes.anchor)).map((e=>e.attributes.anchor))),[]);(0,b.useEffect)((()=>{if(o.boxShadow){if(!o.anchor||1!==i.filter((e=>e===o.anchor)).length){const e=`wp-block-themeisle-blocks-image-${(0,pe.A)().substr(0,8)}`;a({anchor:e})}}else o.anchor&&o.anchor.includes("wp-block-themeisle-blocks-image-")&&a({anchor:void 0})}),[o.boxShadow]);const[n,c]=(0,ge.useCSSNode)();return(0,b.useEffect)((()=>{c([o.boxShadow?`img {\n\t\t\t\tbox-shadow: ${o.boxShadowHorizontal}px ${o.boxShadowVertical}px ${o.boxShadowBlur}px ${o.boxShadowColor?o.boxShadowColor.includes("#")&&0<=o.boxShadowColorOpacity?ue()(o.boxShadowColor,o.boxShadowColorOpacity||1e-5):o.boxShadowColor:ue()("#000000",void 0!==o.boxShadowColorOpacity?o.boxShadowColorOpacity||1e-5:1)}\n\t\t\t}\n\t\t\t`:""])}),[o.boxShadowHorizontal,o.boxShadowVertical,o.boxShadowBlur,o.boxShadowColor,o.boxShadowColorOpacity,o.boxShadow]),(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)(e,{...t,className:t.className+` ${n}`}),(0,f.jsx)(C.InspectorControls,{children:(0,f.jsxs)(l.PanelBody,{title:(0,r.__)("Box Shadow","otter-blocks"),initialOpen:!1,children:[(0,f.jsx)(l.ToggleControl,{label:(0,r.__)("Shadow Properties","otter-blocks"),checked:o.boxShadow,onChange:e=>{a({boxShadow:e})}}),o.boxShadow&&(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)(C.__experimentalColorGradientControl,{label:(0,r.__)("Color","otter-blocks"),colorValue:o.boxShadowColor,onColorChange:e=>{a({boxShadowColor:100>o.boxShadowColorOpacity&&o.boxShadowColor?.includes("var(")?getComputedStyle(document.documentElement,null).getPropertyValue(e?.replace("var(","")?.replace(")","")):e})}}),(0,f.jsxs)(he.A,{label:(0,r.__)("Shadow Properties","otter-blocks"),children:[(0,f.jsx)(l.RangeControl,{label:(0,r.__)("Opacity","otter-blocks"),value:o.boxShadowColorOpacity,onChange:e=>{const t={boxShadowColorOpacity:e};100>e&&o.boxShadowColor?.includes("var(")&&(t.boxShadowColor=getComputedStyle(document.documentElement,null).getPropertyValue(o.boxShadowColor.replace("var(","").replace(")",""))),a(t)},min:0,max:100}),(0,f.jsx)(l.RangeControl,{label:(0,r.__)("Blur","otter-blocks"),value:o.boxShadowBlur,onChange:e=>{a({boxShadowBlur:e})},min:0,max:100}),(0,f.jsx)(l.RangeControl,{label:(0,r.__)("Horizontal","otter-blocks"),value:o.boxShadowHorizontal,onChange:e=>{a({boxShadowHorizontal:e})},min:-100,max:100}),(0,f.jsx)(l.RangeControl,{label:(0,r.__)("Vertical","otter-blocks"),value:o.boxShadowVertical,onChange:e=>{a({boxShadowVertical:e})},min:-100,max:100})]})]})]})})]})};const ye=(0,q.createHigherOrderComponent)((e=>t=>"core/image"===t.name&&t.attributes.url?(0,f.jsx)(me,{BlockEdit:e,props:t}):(0,f.jsx)(e,{...t})),"withImageExtension");(0,p.addFilter)("blocks.registerBlockType","themeisle-gutenberg/image-extension-attributes",(e=>("core/image"===e.name&&(e.attributes=(0,n.assign)(e.attributes,{boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0}})),e))),(0,p.addFilter)("editor.BlockEdit","themeisle-gutenberg/image-extension",ye);var ke=o(2049).u;const xe=(0,q.createHigherOrderComponent)((e=>t=>"core/navigation-link"!==t.name&&"core/navigation-submenu"!==t.name||!t.isSelected?(0,f.jsx)(e,{...t}):(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)(e,{...t}),(0,f.jsx)(C.BlockControls,{children:(0,f.jsx)(ke,{label:(0,r.__)("Menu Icon by Otter","otter-blocks"),classes:t.attributes.className,setAttributes:t.setAttributes})})]})),"withInspectorControl");(0,p.addFilter)("editor.BlockEdit","themeisle-menu-icons/with-blocks-controls",xe);var fe=o(1749);const ve={position:"o-sticky-pos",offset:"o-sticky-offset",scope:"o-sticky-scope",behaviour:"o-sticky-bhvr",usage:"o-sticky-use",float:"o-sticky-float",width:"o-sticky-width",side:"o-sticky-side",sideOffset:"o-sticky-opt-side-offset",fitInHeader:"o-sticky-header-space",headerGap:"o-sticky-header-gap"},_e=()=>(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)(l.SelectControl,{label:(0,r.__)("Position","otter-blocks"),help:(0,r.__)("Position of the block in relation to the screen.","otter-blocks"),value:"o-sticky-pos-top",options:[{label:(0,r.__)("Top","otter-blocks"),value:"o-sticky-pos-top"},{label:(0,r.__)("Bottom (Pro)","otter-blocks"),value:"o-sticky-pos-bottom",disabled:!0}],onChange:()=>{}}),(0,f.jsx)(l.RangeControl,{label:(0,r.__)("Offset","otter-blocks"),help:(0,r.__)("Distance from the block to the screen.","otter-blocks"),disabled:!0,value:0,min:0,max:500,onChange:()=>{}}),(0,f.jsx)(l.SelectControl,{label:(0,r.__)("Behaviour","otter-blocks"),help:(0,r.__)("Behaviour when multiple sticky blocks with the same movement limit collide.","otter-blocks"),value:"o-sticky-bhvr-keep",options:[{label:(0,r.__)("Collapse","otter-blocks"),value:"o-sticky-bhvr-keep"},{label:(0,r.__)("Fade (Pro)","otter-blocks"),value:"o-sticky-bhvr-hide",disabled:!0},{label:(0,r.__)("Stack (Pro)","otter-blocks"),value:"o-sticky-bhvr-stack",disabled:!0}],onChange:()=>{}}),(0,f.jsx)(l.ToggleControl,{label:(0,r.__)("Enable on Mobile","otter-blocks"),help:(0,r.__)("Make the sticky mode active for mobile users.","otter-blocks"),disabled:!0,checked:!1,onChange:()=>{}}),!Boolean(window.themeisleGutenberg?.hasPro)&&(0,f.jsx)(fe.A,{notice:(0,f.jsx)(l.ExternalLink,{href:(0,T.lY)(window.themeisleGutenberg.upgradeLink,"stickyfeature"),children:(0,r.__)("Get more options with Otter Pro.","otter-blocks")}),variant:"upsell",instructions:void 0})]}),we=({className:e,clientId:t,addOption:o,removeOptions:a})=>{var i;const{isRootBlock:n,activeFloatBlocks:c}=(0,s.useSelect)((e=>{var o,l;const{getBlocks:s}=e("core/block-editor"),a=s();return{isRootBlock:null!==(o=a?.some((e=>e.clientId===t)))&&void 0!==o&&o,activeFloatBlocks:null!==(l=a?.filter((e=>e.clientId!==t&&e?.attributes?.className?.includes(ve.float))))&&void 0!==l?l:[]}}),[]),d=e?.includes(ve.float),u=e?.includes(ve.fitInHeader),[p,h]=(0,b.useState)(e?.split(" ")?.find((e=>e.includes(ve.width)))?.split("-")?.pop()),[g,m]=(0,b.useState)(e?.split(" ")?.find((e=>e.includes(ve.sideOffset)))?.split("-")?.pop()),[y,k]=(0,b.useState)(e?.split(" ")?.find((e=>e.includes(ve.headerGap)))?.split("-")?.pop());return(0,b.useEffect)((()=>{e?.split(" ")?.find((e=>e.includes(ve.width)))?.split("-")?.pop()!==p&&o(`o-sticky-width-${p}`,ve.width),e?.split(" ")?.find((e=>e.includes(ve.sideOffset)))?.split("-")?.pop()!==g&&o(`o-sticky-opt-side-offset-${g}`,ve.sideOffset),e?.split(" ")?.find((e=>e.includes(ve.headerGap)))?.split("-")?.pop()!==y&&(""===y?a([ve.headerGap]):o(`${ve.headerGap}-${y}`,ve.headerGap))}),[p,g,y]),(0,f.jsx)("div",{children:(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)(l.ToggleControl,{label:(0,r.__)("Float Mode","otter-blocks"),help:(0,r.__)("Make the block to float. This is available only for root blocks.","otter-blocks"),checked:d,onChange:e=>{e&&0===c.length?o(ve.float,ve.float):!1===e&&a([ve.float,ve.width,ve.sideOffset,ve.headerGap,ve.fitInHeader])},disabled:(0<c.length||!n)&&!d}),0<c?.length&&(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)("p",{children:(0,r.__)("Only one block can be in float mode.","otter-blocks")}),(0,f.jsx)("div",{style:{display:"flex",flexDirection:"column",gap:"10px",alignItems:"flex-start"},children:c.map(((e,t)=>(0,f.jsx)(l.Button,{variant:"secondary",onClick:()=>{(0,s.dispatch)("core/block-editor").selectBlock(e.clientId)},children:1===c?.length?(0,r.__)("Go to current active float block","otter-blocks"):`${(0,r.__)("Go to the active float block","otter-blocks")} (${t})`},t)))})]}),d&&(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)("p",{children:(0,r.__)("The block is now in a floating state. Set the desired width. Please check the result in Preview.","otter-blocks")}),(0,f.jsx)(l.__experimentalUnitControl,{label:(0,r.__)("Width","otter-blocks"),value:null!=p?p:"100%",onChange:h}),(0,f.jsx)("p",{style:{fontSize:"12px",color:"rgb(117, 117, 117)",marginTop:"calc(8px)"},children:(0,r.__)("Set the width of the block.","otter-blocks")}),(0,f.jsx)(l.SelectControl,{label:(0,r.__)("Side to stick","otter-blocks"),value:null!==(i=e?.split(" ")?.find((e=>e.includes(ve.side))))&&void 0!==i?i:"o-sticky-side-left",options:[{label:(0,r.__)("Left","otter-blocks"),value:"o-sticky-side-left"},{label:(0,r.__)("Right","otter-blocks"),value:"o-sticky-side-right"}],onChange:e=>{o("o-sticky-side-left"===e?void 0:e,ve.side)}}),(0,f.jsx)(l.__experimentalUnitControl,{label:(0,r.__)("Side Offset","otter-blocks"),value:null!=g?g:"20px",onChange:m}),(0,f.jsx)("p",{style:{fontSize:"12px",color:"rgb(117, 117, 117)",marginTop:"calc(8px)"},children:(0,r.__)("Set the distance between the Sticky block and the chosen side.","otter-blocks")}),e?.includes("o-sticky-pos-top")&&(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)(l.ToggleControl,{label:(0,r.__)("Prevent Header Obstruction","otter-blocks"),help:(0,r.__)("Add an extra space above the Header to fit the Sticky block.","otter-blocks"),checked:u,onChange:e=>{e?o(ve.fitInHeader,ve.fitInHeader):!1===e&&a([ve.fitInHeader,ve.headerGap])}}),u&&(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)(l.__experimentalUnitControl,{label:(0,r.__)("Top to Header Gap","otter-blocks"),value:y,onChange:k}),(0,f.jsx)("p",{style:{fontSize:"12px",color:"rgb(117, 117, 117)",marginTop:"calc(8px)"},children:(0,r.__)("Set the size of space between the top of your page and the header. If empty, it will automatically configure.","otter-blocks")})]})]})]})]})})};var Ce=({attributes:e,setAttributes:t,clientId:o})=>{const[s,a]=(0,b.useState)([{label:(0,r.__)("Screen","otter-blocks"),value:"o-sticky-scope-screen"}]),i=e?.className?.split(" ")?.filter((e=>e.includes("o-sticky-scope"))).pop()||"o-sticky-scope-main-area",n=(o,l)=>{var s;const a=new Set(null!==(s=e?.className?.split(" ")?.filter((e=>!l.some((t=>e.includes(t))))))&&void 0!==s?s:[]);for(const e of o)e&&a.add(e);t({className:Array.from(a).filter((e=>"string"==typeof e&&e)).join(" ")})},c=(e,t=ve.position)=>{n([e],[t])};return(0,b.useEffect)((()=>{if(o){const e=document.querySelector(`#block-${o}`);if(e){let t=e?.parentElement;const o=[],l=[];for(;t&&!t.classList.contains("is-root-container");)(t.classList.contains("wp-block-themeisle-blocks-advanced-column")||t.classList.contains("wp-block-group")||t.classList.contains("wp-block-column"))&&o.push("parent"),(t.classList.contains("wp-block-themeisle-blocks-advanced-columns")||t.classList.contains("wp-block-group")||t.classList.contains("wp-block-columns"))&&o.push("section"),t=t.parentElement;o.some((e=>"section"===e))&&(l.push({label:(0,r.__)("Top Level Block","otter-blocks"),value:"o-sticky-scope-main-area"}),1<o.filter((e=>"section"===e))?.length&&l.push({label:(0,r.__)("Section","otter-blocks"),value:"o-sticky-scope-section"})),o.some((e=>"parent"===e))&&l.push({label:(0,r.__)("Parent Block","otter-blocks"),value:"o-sticky-scope-parent"}),l.push({label:(0,r.__)("Screen","otter-blocks"),value:"o-sticky-scope-screen"}),a(l)}}}),[o]),(0,f.jsxs)(l.PanelBody,{title:(0,r.__)("Sticky","otter-blocks"),initialOpen:!1,children:[(0,f.jsx)("p",{children:(0,r.__)("Set any block as Sticky, so that it sticks to another element on the page.","otter-blocks")}),(0,f.jsx)(l.ExternalLink,{target:"_blank",rel:"noopener noreferrer",href:"https://docs.themeisle.com/article/1529-how-to-make-a-block-sticky",children:(0,r.__)("Learn more about Sticky","otter-blocks")}),(0,f.jsx)(l.SelectControl,{label:(0,r.__)("Sticky To","otter-blocks"),help:(0,r.__)("Select the parent element for the sticky block.","otter-blocks"),value:i,options:s,onChange:e=>c(e,ve.scope)}),(0,f.jsx)(we,{className:e.className,clientId:o,addOption:c,removeOptions:e=>{n([],e)}}),(0,p.applyFilters)("otter.sticky.controls",(0,f.jsx)(_e,{}),e,ve,c),(0,f.jsxs)("div",{className:"o-fp-wrap",children:[(0,p.applyFilters)("otter.feedback","","sticky"),(0,p.applyFilters)("otter.poweredBy","")]})]})};const je=["-item","form-"],Se=(e,t,o)=>{let l=e?.filter((e=>!e.includes("o-sticky")))||[];t||l.push("o-sticky","o-sticky-scope-main-area","o-sticky-pos-top","o-sticky-bhvr-keep"),l=l.join(" "),o({className:""!==l?l:void 0})};(0,p.addFilter)("otter.blockTools","themeisle-gutenberg/sticky-extension",((e,t)=>{if((0,m.hasBlockSupport)(t.name,"customClassName",!0)&&!je.some((e=>t.name?.includes(e)))){const o=t.attributes?.className?.split(" "),s=o?.includes("o-sticky")||!1;return(0,f.jsxs)(b.Fragment,{children:[e,(0,f.jsx)(l.__experimentalToolsPanelItem,{hasValue:()=>s,label:(0,r.__)("Transform to Sticky","otter-blocks"),onSelect:()=>Se(o,s,t.setAttributes),onDeselect:()=>Se(o,s,t.setAttributes),isShownByDefault:!1,children:s&&(0,f.jsx)(Ce,{...t})})]})}return e}),4);var Te=o(9703),Be=o(876),Me=[{label:(0,r.__)("Post URL","otter-blocks"),value:"postURL"},{label:(0,r.__)("Site URL","otter-blocks"),value:"siteURL",isDisabled:!Boolean(window.themeisleGutenberg.isProActive)},{label:(0,r.__)("Featured Image URL","otter-blocks"),value:"featuredImageURL"},{label:(0,r.__)("Author URL","otter-blocks"),value:"authorURL"},{label:(0,r.__)("Author Website","otter-blocks"),value:"authorWebsite"},{label:(0,r.__)("Post Custom Field","otter-blocks"),value:"postMetaURL",isDisabled:!Boolean(window.themeisleGutenberg.isProActive)},{label:(0,r.__)("Advanced Custom Fields","otter-blocks"),value:"acfURL",isDisabled:!Boolean(window.themeisleGutenberg.isProActive)}],Pe=({activeAttributes:e,attributes:t,changeAttributes:o,isInline:s=!1,isLinkControl:a=!1,onChange:i,changeType:c,onRemove:d})=>{const u=(0,p.applyFilters)("otter.dynamicContent.link.hasSettingsPanel",[]),h=(0,p.applyFilters)("otter.dynamicContent.link.options",Me);return(0,f.jsxs)(b.Fragment,{children:[(0,f.jsxs)(l.PanelBody,{children:[(0,f.jsx)("p",{children:(0,r.__)("Bind page elements with dynamic data from your website database.","otter-blocks")}),(0,f.jsx)(l.ExternalLink,{target:"_blank",rel:"noopener noreferrer",href:"https://docs.themeisle.com/article/1478-otter-blocks-documentation#dynamiclinks",children:(0,r.__)("Learn more about Dynamic Links","otter-blocks")}),(0,f.jsx)("br",{}),(0,f.jsx)("br",{}),(0,f.jsx)(l.BaseControl,{label:(0,r.__)("Data Type","otter-blocks"),id:"o-dynamic-select",children:(0,f.jsxs)("select",{value:t.type||"",onChange:e=>{window.oTrk?.add({feature:"dynamic",featureComponent:"link-option",featureValue:e.target.value}),c(e.target.value)},id:"o-dynamic-select",className:"components-select-control__input",children:[(0,f.jsx)("option",{value:"none",children:(0,r.__)("Select an option","otter-blocks")}),h.map((e=>(0,f.jsxs)("option",{value:e.value,disabled:e?.isDisabled,children:[e.label," ",e?.isDisabled&&(0,r.__)("(Pro)","otter-blocks")]},e.value)))]})}),!a&&(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)("br",{}),(0,f.jsx)(l.ToggleControl,{label:(0,r.__)("Open in a new tab","otter-blocks"),checked:"_blank"===t.target||!1,onChange:()=>o({target:"_blank"===t.target?void 0:"_blank"})})]}),!Boolean(window.themeisleGutenberg.hasPro)&&(0,f.jsx)(fe.A,{notice:(0,f.jsx)(l.ExternalLink,{href:window.themeisleGutenberg.upgradeLink,children:(0,r.__)("Unlock more options with Otter Pro.","otter-blocks")}),variant:"upsell"}),(0,p.applyFilters)("otter.dynamicContent.link.notices","")]}),u.includes(t.type)&&(0,f.jsx)(l.PanelBody,{title:(0,r.__)("Settings","otter-blocks"),initialOpen:!1,children:(0,p.applyFilters)("otter.dynamicContent.link.controls","",t,o)}),(0,f.jsxs)(l.PanelBody,{children:[(0,f.jsxs)(l.ButtonGroup,{children:[(0,f.jsx)(l.Button,{isPrimary:!0,variant:"primary",disabled:(0,n.isEmpty)(t)||(0,n.isEqual)(t,e),onClick:i,children:(0,r.__)("Apply","otter-blocks")}),(s||a)&&(0,f.jsx)(l.Button,{isDestructive:!0,variant:"tertiary",onClick:d,children:(0,r.__)("Delete","otter-blocks")})]}),(0,f.jsxs)("div",{className:"o-fp-wrap",children:[(0,p.applyFilters)("otter.feedback","","dynamic-link"),(0,p.applyFilters)("otter.poweredBy","")]})]})]})},ze=({name:e,value:t,activeAttributes:o,contentRef:a,Fields:i,settings:n,onChange:c})=>{const{visiblePopover:d}=(0,s.useSelect)((e=>{const{getVisiblePopover:t}=e("themeisle-gutenberg/data");return{visiblePopover:t()}})),{setVisiblePopover:u}=(0,s.useDispatch)("themeisle-gutenberg/data"),[p,h]=(0,b.useState)({...o});(0,b.useEffect)((()=>{h({...o})}),[o]);const g=(0,Be.useAnchorRef)({ref:a,value:t,settings:n}),m=Boolean(t?.formats.length)&&t?.start?t.formats[t.start]?.map((e=>e.type)):[],y=void 0!==m&&Boolean(m.length)&&m.includes("themeisle-blocks/dynamic-value")&&m.includes("themeisle-blocks/dynamic-link");return(0,f.jsxs)(l.Popover,{position:"bottom center right",placement:"bottom",noArrow:!1,anchor:g,anchorRef:g,focusOnMount:!1,className:k()("o-dynamic-popover",{hidden:y&&e!==d}),children:[(0,f.jsx)(i,{activeAttributes:o,attributes:p,changeAttributes:e=>{let t={...p};Object.keys(e).forEach((o=>{t[o]=e[o]})),t=Object.fromEntries(Object.entries(t).filter((([e,t])=>null!==t&&""!==t&&void 0!==t))),h({...t})},changeType:e=>{h({type:e})},isInline:!0,onChange:()=>{const o=Object.fromEntries(Object.entries(p).filter((([e,t])=>null!==t&&""!==t)));c((0,Be.applyFormat)(t,{type:e,attributes:o}))},onRemove:()=>{const o=Object.fromEntries(Object.entries(p).filter((([e,t])=>null!==t&&""!==t)));c((0,Be.toggleFormat)(t,{type:e,attributes:o}))}}),y&&(0,f.jsx)(l.Button,{onClick:()=>u("themeisle-blocks/dynamic-value"===e?"themeisle-blocks/dynamic-link":"themeisle-blocks/dynamic-value"),className:"o-dynamic-popover-toggle",children:"themeisle-blocks/dynamic-value"===e?(0,r.__)("Show Dynamic Link Settings","otter-blocks"):(0,r.__)("Show Dynamic Value Settings","otter-blocks")})]})};const Ae="themeisle-blocks/dynamic-link",Fe={name:Ae,title:(0,r.__)("Dynamic link","otter-blocks"),tagName:"o-dynamic-link",className:null,attributes:{type:"data-type",context:"data-context",target:"data-target",metaKey:"data-meta-key"},edit:({isActive:e,value:t,onChange:o,activeAttributes:a,contentRef:i})=>{const{currentBlock:n,isQueryChild:c}=(0,s.useSelect)((e=>{const{getSelectedBlock:t,getBlockParentsByBlockName:o}=e("core/block-editor"),l=t();return{currentBlock:l,isQueryChild:0<o(l?.clientId,"core/query").length}}),[]),[d,u]=(0,b.useState)(!1),[p,h]=(0,b.useState)({});return Le[n.name]?null:(0,f.jsxs)(b.Fragment,{children:[Boolean(window.themeisleGutenberg.hasModule.dynamicContent)&&(0,f.jsx)(C.BlockControls,{group:"other",children:(0,f.jsx)(l.ToolbarGroup,{children:(0,f.jsx)(l.DropdownMenu,{icon:"database",label:(0,r.__)("Dynamic Content","otter-blocks"),className:"o-dynamic-button",children:({onClose:e})=>(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(it,{fillProps:{onClose:e}}),(0,f.jsx)(l.MenuItem,{icon:Te.A,onClick:()=>{u(!0),e&&e()},className:"o-dynamic-button",children:(0,r.__)("Dynamic Link","otter-blocks")})]})})})}),d&&(0,f.jsx)(l.Modal,{title:(0,r.__)("Dynamic Link by Otter","otter-blocks"),overlayClassName:"o-dynamic-modal",onRequestClose:()=>u(!1),children:(0,f.jsx)(Pe,{activeAttributes:a,attributes:p,changeAttributes:e=>{let t={...p};Object.keys(e).forEach((o=>{t[o]=e[o]})),t=Object.fromEntries(Object.entries(t).filter((([e,t])=>null!==t&&""!==t&&void 0!==t))),h({...t})},changeType:e=>{h({type:e})},onChange:()=>{const e=Object.fromEntries(Object.entries(p).filter((([e,t])=>null!==t&&""!==t&&void 0!==t)));c&&(e.context="query"),o((0,Be.toggleFormat)(t,{type:"themeisle-blocks/dynamic-link",attributes:e})),u(!1)}})}),e&&(0,f.jsx)(ze,{name:Ae,value:t,activeAttributes:a,contentRef:i,Fields:Pe,settings:Fe,onChange:o})]})}};(0,Be.registerFormatType)(Ae,Fe);const Le={"core/button":{link:"url"},"themeisle-blocks/button":{link:"link"},"themeisle-blocks/font-awesome-icons":{link:"link"}},Re=({props:e,children:t})=>{const o=((e,t)=>{const o=e[Le[t].link]||"";return o.includes("#otterDynamicLink")?(0,T.Xl)(o):{}})(e.attributes,e.name),[a,i]=(0,b.useState)(!1),[n,c]=(0,b.useState)({...o}),d=(0,b.useRef)(null),{isQueryChild:u}=(0,s.useSelect)((t=>{const{getBlockParentsByBlockName:o}=t("core/block-editor");return{isQueryChild:0<o(e.clientId,"core/query").length}}),[]);return(0,f.jsxs)(b.Fragment,{children:[t,(0,f.jsx)(C.BlockControls,{group:"other",children:(0,f.jsx)(l.ToolbarGroup,{children:(0,f.jsx)(l.DropdownMenu,{icon:"database",label:(0,r.__)("Dynamic Content","otter-blocks"),className:"o-dynamic-button",ref:d,children:({onClose:e})=>(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(it,{fillProps:{onClose:e}}),(0,f.jsx)(l.MenuItem,{icon:Te.A,onClick:()=>{i(!0),e&&e()},className:"o-dynamic-button",children:(0,r.__)("Dynamic Link","otter-blocks")})]})})})}),a&&e.isSelected&&(0,f.jsx)(l.Popover,{position:"bottom right",anchorRef:d.current,className:"o-dynamic-popover",onClose:()=>i(!1),children:(0,f.jsx)(Pe,{activeAttributes:o,attributes:n,isLinkControl:!0,changeAttributes:e=>{let t={...n};Object.keys(e).forEach((o=>{t[o]=e[o]})),t=Object.fromEntries(Object.entries(t).filter((([e,t])=>null!==t&&""!==t&&void 0!==t))),c({...t})},changeType:e=>{c({type:e})},onChange:()=>{const t=Object.fromEntries(Object.entries(n).filter((([e,t])=>null!==t&&""!==t&&void 0!==t)));u&&(t.context="query"),e.setAttributes({[Le[e.name].link]:`#otterDynamicLink?${(0,T.hT)(t)}`})},onRemove:()=>{c({}),e.setAttributes({[Le[e.name].link]:void 0})}})})]})},Ne=(0,q.createHigherOrderComponent)((e=>t=>Object.keys(Le).includes(t.name)?(0,f.jsx)(Re,{props:t,children:(0,f.jsx)(e,{...t})}):(0,f.jsx)(e,{...t})),"withConditions");(0,p.addFilter)("editor.BlockEdit","otter-pro/autocompleters/dynamic-link",Ne);var Ie={posts:{label:(0,r.__)("Posts","otter-blocks"),options:[{label:(0,r.__)("Post ID","otter-blocks"),value:"postID"},{label:(0,r.__)("Post Title","otter-blocks"),value:"postTitle"},{label:(0,r.__)("Post Content","otter-blocks"),value:"postContent"},{label:(0,r.__)("Post Excerpt","otter-blocks"),value:"postExcerpt"},{label:(0,r.__)("Post Date","otter-blocks"),value:"postDate",isDisabled:!Boolean(window.themeisleGutenberg.isProActive)},{label:(0,r.__)("Post Time","otter-blocks"),value:"postTime",isDisabled:!Boolean(window.themeisleGutenberg.isProActive)},{label:(0,r.__)("Post Terms","otter-blocks"),value:"postTerms",isDisabled:!Boolean(window.themeisleGutenberg.isProActive)},{label:(0,r.__)("Post Custom Field","otter-blocks"),value:"postMeta",isDisabled:!Boolean(window.themeisleGutenberg.isProActive)},{label:(0,r.__)("Advanced Custom Fields","otter-blocks"),value:"acf",isDisabled:!Boolean(window.themeisleGutenberg.isProActive)},{label:(0,r.__)("Post Type","otter-blocks"),value:"postType"},{label:(0,r.__)("Post Status","otter-blocks"),value:"postStatus"}]},site:{label:(0,r.__)("Site","otter-blocks"),options:[{label:(0,r.__)("Site Title","otter-blocks"),value:"siteTitle"},{label:(0,r.__)("Site Tagline","otter-blocks"),value:"siteTagline"}]},author:{label:(0,r.__)("Author","otter-blocks"),options:[{label:(0,r.__)("Author Name","otter-blocks"),value:"authorName"},{label:(0,r.__)("Author Description","otter-blocks"),value:"authorDescription"},{label:(0,r.__)("Author Meta","otter-blocks"),value:"authorMeta",isDisabled:!Boolean(window.themeisleGutenberg.isProActive)}]},loggedInUser:{label:(0,r.__)("Logged-in User","otter-blocks"),options:[{label:(0,r.__)("Logged-in User Name","otter-blocks"),value:"loggedInUserName"},{label:(0,r.__)("Logged-in User Description","otter-blocks"),value:"loggedInUserDescription"},{label:(0,r.__)("Logged-in User Email","otter-blocks"),value:"loggedInUserEmail"},{label:(0,r.__)("Logged-in User Meta","otter-blocks"),value:"loggedInUserMeta",isDisabled:!Boolean(window.themeisleGutenberg.isProActive)}]},misc:{label:(0,r.__)("Miscellaneous","otter-blocks"),options:[{label:(0,r.__)("Archive Title","otter-blocks"),value:"archiveTitle"},{label:(0,r.__)("Archive Description","otter-blocks"),value:"archiveDescription"},{label:(0,r.__)("Current Date","otter-blocks"),value:"date"},{label:(0,r.__)("Current Time","otter-blocks"),value:"time"},{label:(0,r.__)("URL Parameter","otter-blocks"),value:"queryString",isDisabled:!Boolean(window.themeisleGutenberg.isProActive)},{label:(0,r.__)("Country","otter-blocks"),value:"country",isDisabled:!Boolean(window.themeisleGutenberg.isProActive)}]}};const Oe=[];Object.keys(Ie).forEach((e=>Oe.push(...Ie[e].options)));const He={name:"dynamic-value",triggerPrefix:"%%",options:Oe,className:"o-dynamic",getOptionKeywords({label:e,value:t}){return[e,...t.split(/\s+/)]},getOptionLabel:e=>(0,f.jsx)("span",{className:k()("o-dynamic-list-item",{"is-disabled":e.isDisabled}),children:e.label}),isOptionDisabled:e=>e.isDisabled,getOptionCompletion:({label:e,value:t})=>{const{getSelectedBlock:o,getBlockParentsByBlockName:l}=(0,s.select)("core/block-editor"),a=o();return 0<l(a?.clientId,"core/query").length?(0,f.jsx)("o-dynamic",{"data-type":t,"data-context":"query",children:e}):(0,f.jsx)("o-dynamic",{"data-type":t,children:e})}};Boolean(window.themeisleGutenberg.hasModule.dynamicContent)&&(0,p.addFilter)("editor.Autocomplete.completers","otter-pro/autocompleters/dynamic-value",(e=>[...e,He]));var Ve=o(9694),De=o(6154),Ge=o.n(De);let Ee=["postExcerpt","date","time"];const $e={"F j, Y":Ge()().format("MMMM d, Y"),"Y-m-d":Ge()().format("Y-m-d"),"m/d/Y":Ge()().format("m/d/Y"),"d/m/Y":Ge()().format("d/m/Y")},We={"g:i a":Ge()().format("h:m a"),"g:i A":Ge()().format("h:m A"),"H:i":Ge()().format("HH:m")};var Ue=({activeAttributes:e,attributes:t,changeAttributes:o,isInline:a=!1,onChange:i,changeType:c,onRemove:u})=>{const[h,g]=(0,b.useState)(),[m,y]=(0,b.useState)(!1);(0,b.useEffect)((()=>{const e=(0,s.select)("core/editor")?.getCurrentPostId(),{type:o,taxonomy:l,termType:a}=t;t.type&&"none"!==t.type?(y(!0),d()({path:"otter/v1/dynamic/preview/?"+(0,T.hT)({context:e,type:o})}).then((e=>{g(e)})).catch((()=>{g(void 0)})).finally((()=>{y(!1)}))):g(void 0)}),[t.type]),Ee=(0,p.applyFilters)("otter.dynamicContent.text.hasSettingsPanel",Ee);const x=(0,p.applyFilters)("otter.dynamicContent.text.options",Ie);return(0,f.jsxs)(b.Fragment,{children:[(0,f.jsxs)(l.PanelBody,{children:[(0,f.jsx)("p",{children:
// translators: %% is not a placeholder, it is a shortcode used to access dynamic data.
// translators: %% is not a placeholder, it is a shortcode used to access dynamic data.
(0,r.__)("Bind page elements with dynamic data from your website database. You can use %% shortcodes to access dynamic data directly in the editor.","otter-blocks")}),(0,f.jsx)(l.ExternalLink,{target:"_blank",rel:"noopener noreferrer",href:"https://docs.themeisle.com/article/1478-otter-blocks-documentation#dynamicvalues",children:(0,r.__)("Learn more about Dynamic Values","otter-blocks")}),(0,f.jsx)("br",{}),(0,f.jsx)("br",{}),(0,f.jsxs)(l.BaseControl,{label:(0,r.__)("Data Type","otter-blocks"),id:"o-dynamic-select",children:[(0,f.jsxs)("select",{value:t.type||"",onChange:e=>c(e.target.value),id:"o-dynamic-select",className:"components-select-control__input",children:[(0,f.jsx)("option",{value:"none",children:(0,r.__)("Select an option","otter-blocks")}),Object.keys(x).map((e=>(0,f.jsx)("optgroup",{label:x[e].label,children:x[e].options.map((e=>(0,f.jsxs)("option",{value:e.value,disabled:e?.isDisabled,children:[e.label," ",e?.isDisabled&&(0,r.__)("(Pro)","otter-blocks")]},e.value)))},e)))]}),"postContent"===t.type&&(0,f.jsx)("p",{children:(0,r.__)("Post Content can cause an infinite loop when used inside Post Content itself.","otter-blocks")})]}),(void 0!==h||m)&&(0,f.jsxs)("div",{className:"o-dynamic-modal__preview",children:[(0,f.jsx)("div",{className:k()("o-dynamic-modal__preview__content",{"is-loading":m}),children:m?(0,f.jsx)(l.Spinner,{}):h||(0,r.__)("No preview available.","otter-blocks")}),(0,f.jsx)("div",{className:"o-dynamic-modal__preview__description",children:(0,r.__)("Dynamic Value preview","otter-blocks")})]}),!Boolean(window.themeisleGutenberg.hasPro)&&(0,f.jsx)(fe.A,{notice:(0,f.jsx)(l.ExternalLink,{href:(0,T.lY)(window.themeisleGutenberg.upgradeLink,"dynamictext"),children:(0,r.__)("Unlock more options with Otter Pro.","otter-blocks")}),variant:"upsell"}),(0,p.applyFilters)("otter.dynamicContent.text.notices","")]}),Ee.includes(t.type)&&(0,f.jsxs)(l.PanelBody,{title:(0,r.__)("Settings","otter-blocks"),initialOpen:!1,children:["postExcerpt"===t.type&&(0,f.jsx)(l.TextControl,{label:(0,r.__)("Excerpt Length","otter-blocks"),type:"number",value:t.length||"",onChange:e=>o({length:e})}),["date"].includes(t.type)&&(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)(l.SelectControl,{label:(0,r.__)("Format","otter-blocks"),value:t.dateFormat||"default",options:[{label:(0,r.__)("Default","otter-blocks"),value:"default"},...Object.keys($e).map((e=>({label:$e[e],value:e}))),{label:(0,r.__)("Custom","otter-blocks"),value:"custom"}],onChange:e=>o({dateFormat:e})}),"custom"===t.dateFormat&&(0,f.jsx)(l.TextControl,{label:(0,r.__)("Custom Format","otter-blocks"),help:(0,f.jsx)(l.ExternalLink,{target:"_blank",href:"https://wordpress.org/support/article/formatting-date-and-time/",children:(0,r.__)("Formatting Date and Time in WordPress","otter-blocks")}),type:"text",value:t.dateCustom||"",onChange:e=>o({dateCustom:e})})]}),["time"].includes(t.type)&&(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)(l.SelectControl,{label:(0,r.__)("Format","otter-blocks"),value:t.timeFormat||"default",options:[{label:(0,r.__)("Default","otter-blocks"),value:"default"},...Object.keys(We).map((e=>({label:We[e],value:e}))),{label:(0,r.__)("Custom","otter-blocks"),value:"custom"}],onChange:e=>o({timeFormat:e})}),"custom"===t.timeFormat&&(0,f.jsx)(l.TextControl,{label:(0,r.__)("Custom Format","otter-blocks"),help:(0,f.jsx)(l.ExternalLink,{target:"_blank",href:"https://wordpress.org/support/article/formatting-date-and-time/",children:(0,r.__)("Formatting Date and Time in WordPress","otter-blocks")}),type:"text",value:t.timeCustom||"",onChange:e=>o({timeCustom:e})})]}),(0,p.applyFilters)("otter.dynamicContent.text.controls","",t,o)]}),(0,f.jsxs)(l.PanelBody,{title:(0,r.__)("Advanced","otter-blocks"),initialOpen:!1,children:[(0,f.jsx)(l.TextControl,{label:(0,r.__)("Before","otter-blocks"),type:"text",value:t.before||"",onChange:e=>o({before:e})}),(0,f.jsx)(l.TextControl,{label:(0,r.__)("After","otter-blocks"),type:"text",value:t.after||"",onChange:e=>o({after:e})})]}),(0,f.jsxs)(l.PanelBody,{children:[(0,f.jsxs)(l.ButtonGroup,{children:[(0,f.jsx)(l.Button,{isPrimary:!0,variant:"primary",disabled:(0,n.isEmpty)(t)||(0,n.isEqual)(t,e),onClick:i,children:(0,r.__)("Apply","otter-blocks")}),a&&(0,f.jsx)(l.Button,{isDestructive:!0,variant:"tertiary",onClick:u,children:(0,r.__)("Delete","otter-blocks")})]}),(0,f.jsxs)("div",{className:"o-fp-wrap",children:[(0,p.applyFilters)("otter.feedback","","dynamic-value"),(0,p.applyFilters)("otter.poweredBy","")]})]})]})};const qe="themeisle-blocks/dynamic-value",Ze={name:qe,title:(0,r.__)("Dynamic Value","otter-blocks"),tagName:"o-dynamic",className:null,attributes:{type:"data-type",context:"data-context",before:"data-before",after:"data-after",length:"data-length",dateType:"data-date-type",dateFormat:"data-date-format",dateCustom:"data-date-custom",timeType:"data-time-type",timeFormat:"data-time-format",timeCustom:"data-time-custom",termType:"data-term-type",termSeparator:"data-term-separator",metaKey:"data-meta-key",parameter:"data-parameter",format:"data-format",taxonomy:"data-taxonomy"},edit:({isActive:e,value:t,onChange:o,activeAttributes:a,contentRef:i})=>{const{isQueryChild:n}=(0,s.useSelect)((e=>{const{getSelectedBlock:t,getBlockParentsByBlockName:o}=e("core/block-editor"),l=t();return{isQueryChild:0<o(l?.clientId,"core/query").length}}),[]),[c,d]=(0,b.useState)(!1),[u,h]=(0,b.useState)({});return(0,f.jsxs)(b.Fragment,{children:[Boolean(window.themeisleGutenberg.hasModule.dynamicContent)&&(0,f.jsx)(rt,{children:({onClose:e})=>(0,f.jsx)(l.MenuItem,{icon:Ve.A,onClick:()=>{d(!0),e&&e()},className:"o-dynamic-button",children:(0,r.__)("Dynamic Value","otter-blocks")})}),c&&(0,f.jsx)(l.Modal,{title:(0,r.__)("Dynamic Value by Otter","otter-blocks"),overlayClassName:"o-dynamic-modal",onRequestClose:()=>d(!1),children:(0,f.jsx)(Ue,{activeAttributes:a,attributes:u,changeAttributes:e=>{let t={...u};Object.keys(e).forEach((o=>{t[o]=e[o]})),t=Object.fromEntries(Object.entries(t).filter((([e,t])=>null!==t&&""!==t&&void 0!==t))),h({...t})},changeType:e=>{h({type:e})},onChange:()=>{const e=[],l=Object.fromEntries(Object.entries(u).filter((([e,t])=>null!==t&&""!==t&&void 0!==t)));if(t.start===t.end){const o=(0,p.applyFilters)("otter.dynamicContent.text.options",Ie);Object.keys(o).forEach((t=>e.push(...o[t].options)));const s=e.find((e=>e.value===l.type)).label;t.text=t.text.substring(0,t.start)+s+t.text.substring(t.start),t.end=s.length+t.start,t.formats.splice(t.start,0,...new Array(s.length)),t.replacements.splice(t.start,0,...new Array(s.length))}n&&(l.context="query"),o((0,Be.toggleFormat)(t,{type:"themeisle-blocks/dynamic-value",attributes:l})),d(!1)}})}),e&&(0,f.jsx)(ze,{name:qe,value:t,activeAttributes:a,contentRef:i,Fields:Ue,settings:Ze,onChange:o})]})}};(0,Be.registerFormatType)(qe,Ze);const Je={},Ke=(e,t)=>{const o=document.createElement("div");o.innerHTML=t,t=o.textContent||o.innerText,Boolean(window.themeisleGutenberg.highlightDynamicText)||e.classList.add("hide-highlight"),e.innerHTML="<span>"+e.innerHTML+"</span>",e.dataset.preview=t},Ye=(0,q.createHigherOrderComponent)((e=>t=>{if(!t.isSelected){const o=`block-${t.clientId}`,l=document.querySelectorAll(`#${o} o-dynamic`);return l?.length?(l.forEach((e=>{const t=(0,s.select)("core/editor").getCurrentPostId(),o=(0,n.pick)(Object.assign({context:t},e.dataset),["type","context","before","after","length","dateType","dateFormat","dateCustom","timeType","timeFormat","timeCustom","termType","termSeparator","metaKey","taxonomy"]);if("postContent"===o.type)return;let l=(0,s.select)("themeisle-gutenberg/data").getDynamicData(o);if(void 0!==l)Ke(e,l);else{const t=oe()(o);if(Je[t])Je[t].push(e);else{Je[t]=[e];const a=setInterval((()=>{l=(0,s.select)("themeisle-gutenberg/data").getDynamicData(o),void 0!==l&&(clearInterval(a),Je[t].forEach((e=>Ke(e,l))),delete Je[t])}),5e3)}}})),(0,f.jsx)(e,{...t})):(0,f.jsx)(e,{...t})}return(0,f.jsx)(e,{...t})}),"withStickyExtension");Boolean(window.themeisleGutenberg.isBlockEditor)&&(0,s.select)("core/editor")&&(0,p.addFilter)("editor.BlockEdit","themeisle-gutenberg/dynamic-conditions/preview",Ye);const Qe=[{type:"featuredImage",label:(0,r.__)("Featured Image","otter-blocks"),icon:window.themeisleGutenberg.assetsPath+"/icons/featured.svg"},{type:"author",label:(0,r.__)("Author Image","otter-blocks"),icon:window.themeisleGutenberg.assetsPath+"/icons/author.svg"},{type:"loggedInUser",label:(0,r.__)("User Image","otter-blocks"),icon:window.themeisleGutenberg.assetsPath+"/icons/user.svg"},{type:"logo",label:(0,r.__)("Website Logo","otter-blocks"),icon:window.themeisleGutenberg.assetsPath+"/icons/logo.svg"},{type:"postMeta",label:(0,r.__)("Post Meta","otter-blocks"),icon:window.themeisleGutenberg.assetsPath+"/icons/meta.svg",isPro:!0},{type:"product",label:(0,r.__)("Woo Product","otter-blocks"),icon:window.themeisleGutenberg.assetsPath+"/icons/woo.svg",isPro:!0},{type:"acf",label:(0,r.__)("ACF Image","otter-blocks"),icon:window.themeisleGutenberg.assetsPath+"/icons/acf.svg",isPro:!0}],Xe=window.themeisleGutenberg.restRoot.includes("?rest_route=")?"/dynamic/&":"/dynamic/?",et=({uid:e,item:t,context:o,isSelected:l,onSelect:s})=>{const a=window.themeisleGutenberg.restRoot+Xe+"type="+t.type+"&context="+o+"&uid="+e,i=void 0!==t?.isAvailable&&!t?.isAvailable;return(0,f.jsxs)("li",{tabIndex:"0",className:k()("o-media-item",{selected:l,"is-disabled":t?.isPro||i}),onClick:()=>i||t?.isPro?null:s(a,l),title:t.label,style:{backgroundImage:`url(' ${t.icon} ')`},children:[(0,f.jsx)("div",{className:"o-media-item-title",children:t.label}),t?.isPro&&(0,f.jsx)("span",{className:"o-media-item-label",children:(0,r.__)("Pro","otter-blocks")}),i&&(0,f.jsx)("span",{className:"o-media-item-label",children:(0,r.__)("Plugin not active","otter-blocks")}),l&&(0,f.jsxs)("button",{type:"button",className:"check",tabIndex:"-1",onClick:()=>{window.oTrk?.add({feature:"dynamic",featureComponent:"media-option",featureValue:t?.type}),s(a,!0)},children:[(0,f.jsx)("span",{className:"media-modal-icon"}),(0,f.jsx)("span",{className:"screen-reader-text",children:(0,r.__)("Deselect","otter-blocks")})]})]})},tt=({contentTypes:e,attributes:t,changeAttributes:o})=>{const s=e.find((({type:e})=>e===t.type));return(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)("div",{className:"attachment-details",children:s&&(0,f.jsx)("h2",{children:s?.label})}),(0,p.applyFilters)("otter.dynamicContent.media.controls","",t,o),s&&(0,f.jsx)(l.TextControl,{label:(0,r.__)("Fallback Image","otter-blocks"),value:t.fallback||"",onChange:e=>o({fallback:e})}),!Boolean(window.themeisleGutenberg.hasPro)&&(0,f.jsxs)("div",{className:"o-media-pro-upsell",children:[(0,f.jsx)("img",{src:window.themeisleGutenberg.assetsPath+"/images/logo-alt.png"}),(0,f.jsx)("div",{className:"o-media-pro-upsell-title",children:(0,r.__)("Get more with Otter Pro","otter-blocks")}),(0,f.jsx)("div",{className:"o-media-pro-upsell-description",children:(0,r.__)("Unlock the full power of Dynamic images with Otter Pro","otter-blocks")}),(0,f.jsx)(l.Button,{isPrimary:!0,target:"_blank",href:(0,T.lY)(window.themeisleGutenberg.upgradeLink,"dynamicimage"),children:(0,r.__)("Get Pro Now","otter-blocks")})]})]})};var ot=({state:e,onSelectImage:t})=>{const o=e.get("selection"),{getCurrentPostId:l,getSelectedBlock:a,isQueryChild:i}=(0,s.useSelect)((e=>{const t=e("core/editor")?e("core/editor").getCurrentPostId():0,{getSelectedBlock:o,getBlockParentsByBlockName:l}=e("core/block-editor"),s=o();return{getCurrentPostId:t||0,getSelectedBlock:s,isQueryChild:0<l(s?.clientId,"core/query").length}}),[]),[n,c]=(0,b.useState)([]),[d,u]=(0,b.useState)(o?._single?.attributes?.url),[h,g]=(0,b.useState)({}),[m,y]=(0,b.useState)(Math.floor(89999999*Math.random()+1e7));(0,b.useEffect)((()=>{const e=(0,p.applyFilters)("otter.dynamicContent.media.options",Qe);if(c(e),void 0===window?.otterCurrentMediaProps?.value||8!==String(window?.otterCurrentMediaProps?.value).length)return;const t=a.attributes;let o="";Object.keys(t).every((e=>"string"==typeof t[e]&&t[e]?.includes("otter/v1/dynamic")&&t[e]?.includes(window.otterCurrentMediaProps.value)?(o=t[e],!1):"object"!=typeof t[e]||!t[e]?.url?.includes("otter/v1/dynamic")||!t[e]?.url?.includes(window.otterCurrentMediaProps.value)||(o=t[e]?.url,!1)));const l=(0,T.Xl)(o||"");l.uid=m;const s=window.themeisleGutenberg.restRoot+Xe+(0,T.hT)(l);k(s),window.otterCurrentMediaProps={}}),[]),(0,b.useEffect)((()=>{const e=(0,T.Xl)(d||"");g(e)}),[d]);const k=(e,o=!1)=>(u(!o&&e),t({id:m,url:e}));return(0,f.jsxs)(b.Fragment,{children:[(0,f.jsxs)("div",{className:"attachments-browser",children:[(0,f.jsx)("ul",{className:"o-media-list",children:n.map((e=>{return(0,f.jsx)(et,{uid:m,item:e,context:i?"query":l,isSelected:!!d&&d?.includes(`${t=d,t.includes("?rest_route=")?"/dynamic/&":"/dynamic/?"}type=${e.type}`),onSelect:k},e.type);var t}))}),(0,p.applyFilters)("otter.poweredBy","")]}),(0,f.jsxs)("div",{className:"media-sidebar",children:[(0,f.jsx)(tt,{contentTypes:n,attributes:h,changeAttributes:e=>{let o={...h};Object.keys(e).forEach((t=>{o[t]=e[t]})),o=Object.fromEntries(Object.entries(o).filter((([e,t])=>null!==t&&""!==t&&void 0!==t)));const l=window.themeisleGutenberg.restRoot+Xe+(0,T.hT)(o);t({id:m,url:l}),g({...o})}}),(0,p.applyFilters)("otter.feedback","","dynamic-media",(0,r.__)("Help us improve Otter Blocks","otter-blocks"))]})]})};let lt="",st=!1,at="";if(Boolean(window.themeisleGutenberg.hasModule.dynamicContent)){const e=e=>class extends e{constructor(e){super(e),window.otterCurrentMediaProps=e}};(0,p.addFilter)("editor.MediaUpload","themeisle-blocks/dynamic-content/media-library",e),jQuery(document).ready((function(e){const t=wp.media.view.MediaFrame.Select;wp.media.view.MediaFrame.Select=t.extend({browseRouter(e){t.prototype.browseRouter.apply(this,arguments),(0,s.select)("core/block-editor").getSelectedBlock()&&e.set({otterDynamicImages:{text:(0,r.__)("Dynamic Images","otter-blocks"),priority:60}})},bindHandlers(){t.prototype.bindHandlers.apply(this,arguments),wp.data.select("core/block-editor").getSelectedBlock()&&this.on("content:create:otterDynamicImages",this.otterDynamicImages,this)},otterDynamicImages(){const e=this.state();e&&(lt=e.id,st=e.frame.el),at=this,window.omodal=this},getFrame(e){return this.states.findWhere({id:e})}});const o=()=>{if(!st)return!1;const e=st.querySelector(".media-frame-content");if(!e)return!1;e.innerHTML="",e.appendChild(l());const t=e.querySelector("#otter-media-router-"+lt);if(!t)return!1;a(t)},l=()=>{const e=document.createElement("div");e.classList.add("o-media-container");const t=document.createElement("div");t.classList.add("media-frame-content","o-media-wrapper");const o=document.createElement("div");return o.setAttribute("id","otter-media-router-"+lt),t.appendChild(o),e.appendChild(t),e},a=e=>{const t=at.state(),o=t.get("selection");(0,b.createRoot)(e).render((0,f.jsx)(ot,{state:t,onSelectImage:({id:e,url:t})=>{if(o?._single?.attributes?.url===t)return o.reset();o.add({id:e,url:t,alt:"",media_type:"image",width:500})}}))};wp.media.view.Modal.prototype.on("open",(()=>{if(!st)return!1;const e=st.querySelector(".media-router button.media-menu-item.active");e&&"menu-item-otterDynamicImages"===e.id&&o()})),e(document).on("click",".media-router button.media-menu-item",(()=>{if(!st)return;const e=st.querySelector(".media-router button.media-menu-item.active");e&&"menu-item-otterDynamicImages"===e.id&&o()}))}))}const{Slot:it,Fill:rt}=(0,l.createSlotFill)("OtterDynamicContent"),nt=()=>{const[e,t,o]=(0,$.A)(),[a,i]=(0,b.useState)(""),[n,c]=(0,b.useState)(!0),[d,u]=(0,b.useState)(!1),{currentUser:p,site:h}=(0,s.useSelect)((e=>{const{getCurrentUser:t,getUser:o}=e("core"),{getSite:l}=e("core");return{currentUser:o(t().id),site:l()?.url||window.themeisleGutenberg?.rootUrl}})),{createNotice:g}=(0,s.useDispatch)("core/notices"),{showOnboarding:m}=(0,s.useDispatch)("themeisle-gutenberg/data");return(0,b.useEffect)((()=>{""===a&&void 0!==p&&i(p.email)}),[p]),(0,f.jsx)(l.Guide,{className:"o-welcome-guide",finishButtonText:n?(0,r.__)("Subscribe & Finish","otter-blocks"):(0,r.__)("Finish","otter-blocks"),onFinish:e=>{m(!1),localStorage?.setItem("o-show-onboarding","false"),d&&t("otter_blocks_logger_flag","yes"),e?.target&&n&&Array.from(e.target.classList).includes("components-guide__finish-button")&&fetch("https://api.themeisle.com/tracking/subscribe",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json, */*;q=0.1","Cache-Control":"no-cache"},body:JSON.stringify({slug:"otter-blocks",site:h,email:a})}).then((e=>e.json())).then((e=>{"success"===e.code&&g("success",(0,r.__)("Thank you for subscribing!","otter-blocks"),{isDismissible:!0,type:"snackbar"})}))?.catch((e=>{console.error(e)}))},pages:[{image:(0,f.jsx)("img",{src:window.themeisleGutenberg.assetsPath+"/images/guide/welcome-logo.png"}),content:(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)("h1",{className:"o-welcome-guide__heading",children:(0,r.__)("Welcome to Otter Blocks","otter-blocks")}),(0,f.jsx)("p",{className:"o-welcome-guide__text",children:(0,r.__)("Otter is a lightweight, dynamic collection of page building blocks and templates for the WordPress Block Editor.","otter-blocks")})]})},{image:(0,f.jsx)("img",{src:window.themeisleGutenberg.assetsPath+"/images/guide/welcome-ai.png"}),content:(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)("h1",{className:"o-welcome-guide__heading",children:(0,r.__)("Create amazing things in less time with AI","otter-blocks")}),(0,f.jsx)("p",{className:"o-welcome-guide__text",children:(0,r.__)("Supercharge your productivity with our new AI Block, which can generate forms for you in seconds. More features are coming soon.","otter-blocks")})]})},{image:(0,f.jsx)("img",{src:window.themeisleGutenberg.assetsPath+"/images/guide/welcome-section.png"}),content:(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)("h1",{className:"o-welcome-guide__heading",children:(0,r.__)("Create unique pages with the Section Block","otter-blocks")}),(0,f.jsx)("p",{className:"o-welcome-guide__text",children:(0,r.__)("Section Block allows you to create responsive sections with up to 6 columns that have advanced customization options.","otter-blocks")})]})},{image:(0,f.jsx)("img",{src:window.themeisleGutenberg.assetsPath+"/images/guide/welcome-css.png"}),content:(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)("h1",{className:"o-welcome-guide__heading",children:(0,r.__)("Extend each block with more powerful features","otter-blocks")}),(0,f.jsx)("p",{className:"o-welcome-guide__text",children:(0,r.__)("Otter adds extra functionalities such as Custom CSS, Animations and Visibility Conditions to default and third party blocks.","otter-blocks")})]})},{image:(0,f.jsx)("img",{src:window.themeisleGutenberg.assetsPath+"/images/guide/welcome-pro.png"}),content:(0,f.jsx)(b.Fragment,{children:Boolean(window.themeisleGutenberg.hasPro)?(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)("h1",{className:"o-welcome-guide__heading",children:(0,r.__)("You are all setup to use Otter Pro","otter-blocks")}),(0,f.jsxs)("p",{className:"o-welcome-guide__text",children:[(0,r.__)("With Otter PRO, you have access to our advanced features, like Dynamic Content and the Premium Blocks.","otter-blocks"),(0,f.jsx)(l.ExternalLink,{href:"https://docs.themeisle.com/article/1550-otter-pro-documentation",target:"_blank",children:(0,r.__)("Learn more","otter-blocks")})]})]}):(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)("h1",{className:"o-welcome-guide__heading",children:(0,r.__)("Make Your Website Shine With Otter Pro","otter-blocks")}),(0,f.jsxs)("p",{className:"o-welcome-guide__text",children:[(0,r.__)("Upgrade to Otter PRO and get access to our advanced features, like Dynamic Content and the Premium Blocks.","otter-blocks"),(0,f.jsx)(l.ExternalLink,{href:(0,T.lY)(window.themeisleGutenberg.upgradeLink,"welcomeguide"),target:"_blank",children:(0,r.__)("Learn more","otter-blocks")})]})]})})},{image:(0,f.jsx)("img",{src:window.themeisleGutenberg.assetsPath+"/images/guide/welcome-finish.png"}),content:(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)("h1",{className:"o-welcome-guide__heading",children:(0,r.__)("Thank you for chosing Otter!","otter-blocks")}),(0,f.jsx)("p",{className:"o-welcome-guide__text",children:(0,r.__)("Join Otter's mailing list to get first access to product updates, tutorials and promotions.","otter-blocks")}),(0,f.jsx)(l.TextControl,{"aria-label":(0,r.__)("Enter your email","otter-blocks"),type:"email",value:a,onChange:i,className:"o-welcome-guide__input"}),(0,f.jsx)(l.CheckboxControl,{label:(0,r.__)("Yes, count me in!","otter-blocks"),checked:n,onChange:()=>c(!n),className:"o-welcome-guide__input"}),"yes"!==e("otter_blocks_logger_flag")&&(0,f.jsx)(l.CheckboxControl,{label:(0,r.__)("Become a contributor by opting in to our anonymous data tracking.","otter-blocks"),checked:d,onChange:()=>u(!d),className:"o-welcome-guide__input"})]})}]})};Boolean(window.themeisleGutenberg.isBlockEditor)&&(0,s.select)("core/editor")&&(0,a.registerPlugin)("otter-welcome",{render:()=>{const{isOnboardingVisible:e,isWelcomeActive:t}=(0,s.useSelect)((e=>{const{isOnboardingVisible:t}=e("themeisle-gutenberg/data"),{isFeatureActive:o}=e("core/edit-post");return{isOnboardingVisible:t(),isWelcomeActive:o("welcomeGuide")}}));return t||!e?null:(0,f.jsx)(nt,{})}});const{version:ct}=window.themeisleGutenberg?window.themeisleGutenberg:window.otterObj,dt=[{name:(0,r.__)("Plugin version","otter-blocks"),value:ct},{name:(0,r.__)("Feedback","otter-blocks"),value:(0,r.__)("Text from the above text area","otter-blocks")}],bt={error:(0,r.__)("There has been an error. Your feedback couldn't be sent.","otter-blocks"),emptyFeedback:(0,r.__)("Please provide a feedback before submitting the form.","otter-blocks")};var ut=({source:e,status:t,setStatus:o})=>{const[s,a]=(0,b.useState)(""),[i,n]=(0,b.useState)(!1);return(0,b.useEffect)((()=>{const e=document.querySelector(".o-feedback-form .info");e&&(e.style.height=i?`${e.querySelector(".wrapper")?.clientHeight}px`:"0")}),[i]),(0,f.jsxs)("form",{className:"o-feedback-form",onSubmit:t=>{t.preventDefault(),(()=>{const t=s.trim();if(5>=t.length)o("emptyFeedback");else{o("loading");try{fetch("https://api.themeisle.com/tracking/feedback",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json, */*;q=0.1","Cache-Control":"no-cache"},body:JSON.stringify({slug:"otter-blocks",version:ct,feedback:t,data:{"feedback-area":e}})}).then((e=>{e.ok?o("submitted"):o("error")}))?.catch((e=>{console.warn(e.message),o("error")}))}catch(e){console.warn(e.message),o("error")}}})()},children:[(0,f.jsx)(l.TextareaControl,{className:k()({invalid:"emptyFeedback"===t,"f-error":"error"===t}),placeholder:(0,r.__)("Tell us how can we help you better with Otter Blocks","otter-blocks"),value:s,rows:7,cols:50,onChange:e=>{a(e),5<e.trim().length&&o("notSubmitted")},help:bt[t]||!1,autoFocus:!0}),(0,f.jsx)("div",{className:"info",children:(0,f.jsxs)("div",{className:"wrapper",children:[(0,f.jsx)("p",{children:(0,r.__)("We value privacy, that's why no domain name, email address or IP addresses are collected after you submit the survey. Below is a detailed view of all data that Themeisle will receive if you fill in this survey.","otter-blocks")}),dt.map(((e,t)=>(0,f.jsxs)("div",{className:"info-row",children:[(0,f.jsx)("p",{children:(0,f.jsx)("b",{children:e.name})}),(0,f.jsx)("p",{children:e.value})]},t)))]})}),(0,f.jsxs)("div",{className:"buttons-wrap",children:[(0,f.jsx)(l.Button,{className:"toggle-info","aria-expanded":i,variant:"link",isLink:!0,onClick:()=>n(!i),children:(0,r.__)("What info do we collect?","otter-blocks")}),(0,f.jsx)(l.Button,{className:"f-send",variant:"primary",type:"submit",isPrimary:!0,disabled:"loading"===t,children:"loading"===t?(0,f.jsx)(l.Spinner,{}):(0,r.__)("Send feedback","otter-blocks")})]})]})};const{assetsPath:pt}=window.themeisleGutenberg?window.themeisleGutenberg:window.otterObj,ht=pt+("/"===pt[pt.length-1]?"":"/")+"icons/finish-feedback.svg",gt=({source:e,status:t,setStatus:o,closeModal:s,isOpen:a})=>(0,f.jsx)(b.Fragment,{children:a&&(0,f.jsx)(l.Modal,{className:k()("o-feedback-modal",{"no-header":"submitted"===t}),overlayClassName:"o-feedback-modal-overlay",title:(0,r.__)("What's the one thing you need in Otter?","otter-blocks"),onRequestClose:s,shouldCloseOnClickOutside:!1,children:"submitted"!==t?(0,f.jsx)(ut,{source:e,status:t,setStatus:o}):(0,f.jsxs)("div",{className:"finish-feedback",children:[(0,f.jsx)("img",{src:ht}),(0,f.jsx)("p",{className:"f-title",children:(0,r.__)("Thank you for your feedback","otter-blocks")}),(0,f.jsx)("p",{className:"f-description",children:(0,r.__)("Your feedback is highly appreciated and will help us to improve Otter Blocks.","otter-blocks")}),(0,f.jsx)(l.Button,{className:"f-done",variant:"secondary",isSecondary:!0,onClick:s,children:(0,r.__)("Done","otter-blocks")})]})})});(0,p.addFilter)("otter.feedback","themeisle-gutenberg/feedback-modal",((e,t,o=(0,r.__)("Help us improve","otter-blocks"),s="link")=>{const[a,i]=(0,b.useState)(!1),[n,c]=(0,b.useState)("notSubmitted");return(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)(l.Button,{id:"o-feedback",variant:s,isLink:"link"===s,isSecondary:"secondary"===s,isPrimary:"primary"===s,onClick:()=>{window.oTrk?.add({feature:"feedback",featureComponent:"open-button"}),i(!a)},children:o}),(0,f.jsx)(gt,{isOpen:a,status:n,closeModal:()=>{i(!1),c("notSubmitted")},source:t,setStatus:c})]})}));var mt=o(2453);const yt=({props:e})=>{(0,s.useSelect)((e=>{e("core/preferences")}),[]);const{enableComplementaryArea:t}=(0,s.useDispatch)("core/interface");return(0,f.jsxs)(l.__experimentalToolsPanel,{label:(0,r.__)("Block Tools","otter-blocks"),className:"o-block-tools",children:[(0,p.applyFilters)("otter.blockTools","",e),(0,f.jsx)(l.__experimentalToolsPanelItem,{hasValue:()=>!1,label:(0,r.__)("Manage Default Tools","otter-blocks"),onSelect:()=>t("core/edit-post","themeisle-blocks/otter-options"),isShownByDefault:!1})]})},kt=(0,q.createHigherOrderComponent)((e=>t=>{const o=(0,mt.F)(t.name);return(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)(e,{...t}),t.isSelected&&(0,f.jsx)(o,{children:(0,f.jsx)(yt,{props:t})})]})}),"withConditions");(0,p.addFilter)("editor.BlockEdit","themeisle-gutenberg/otter-tools-inspector",kt);const xt=(0,q.createHigherOrderComponent)((e=>t=>"core/search"!==t.name?(0,f.jsx)(e,{...t}):(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)(C.InspectorControls,{children:(0,f.jsxs)(l.PanelBody,{className:"o-live-search",title:(0,r.__)("Live Search","otter-blocks"),initialOpen:!1,children:[(0,f.jsx)("img",{src:window.themeisleGutenberg.assetsPath+"/images/live-search-thumbnail.png",alt:(0,r.__)("Thumbnail of live search feature","otter-blocks"),className:"otter-live-search-thumbnail-image"}),(0,f.jsx)(l.Disabled,{children:(0,f.jsx)(l.ToggleControl,{label:(0,r.__)("Enable Live Search","otter-blocks"),checked:!1,onChange:()=>{},className:"o-disabled"})}),(0,f.jsx)(fe.A,{notice:(0,f.jsx)(l.ExternalLink,{href:(0,T.lY)(window.themeisleGutenberg.upgradeLink,"search-block"),children:(0,r.__)("Unlock this with Otter Pro's Agency Plan.","otter-blocks")}),variant:"upsell"}),(0,f.jsx)(l.Button,{className:"o-live-search__doc",variant:"secondary",href:"https://docs.themeisle.com/article/1747-the-live-search-feature-otter-features-library",target:"_blank",children:(0,r.__)("Learn more","otter-blocks")})]})}),(0,f.jsx)(e,{...t})]})),"liveSearchUpsell");Boolean(window.themeisleGutenberg.hasPro)||(0,p.addFilter)("editor.BlockEdit","themeisle-gutenberg/live-search-upsell",xt);const ft="o-popup-upsell",vt=2592e6;(0,m.registerBlockType)("themeisle-blocks/patterns-upsell",{apiVersion:2,title:(0,r.__)("Pro Pattern Notice","otter-blocks"),description:(0,r.__)("There are 30+ more patterns and full page designs available in Otter PRO.","otter-blocks"),supports:{inserter:!1},edit:e=>{const{removeBlock:t}=(0,s.useDispatch)("core/block-editor");return(0,b.useEffect)((()=>{const o=Boolean(document.querySelector(`#o-upsell-${e.clientId}`));o&&void 0===window.themeisleGutenberg.hasPatternUpsell&&(window.themeisleGutenberg.hasPatternUpsell=e.clientId),(window.themeisleGutenberg.hasPro||o&&void 0!==window.themeisleGutenberg.hasPatternUpsell&&e.clientId!==window.themeisleGutenberg.hasPatternUpsell)&&t(e.clientId);let l=window.localStorage.getItem(ft);null!==l&&(l=JSON.parse(l),3<=l.count&&vt>Date.now()-l.lastDismissal&&t(e.clientId))}),[]),(0,f.jsxs)("div",{id:`o-upsell-${e.clientId}`,className:k()("o-block-patterns-upsell alignfull",{"is-neve":Boolean(window.themeisleGutenberg.hasNeve)}),children:[(0,f.jsx)("h3",{children:(0,r.__)("There are 30+ more patterns and full page designs available in Otter PRO.","otter-blocks")}),(0,f.jsxs)("div",{className:"o-block-patterns-upsell__actions",children:[(0,f.jsx)("a",{href:(0,T.lY)(window.themeisleGutenberg.patternsLink,"patterns","otter-blockspatternslibrary"),target:"_blank",children:(0,r.__)("View Demos","otter-blocks")}),(0,f.jsx)(l.Button,{icon:"no-alt",label:(0,r.__)("Dismiss","otter-blocks"),onClick:()=>{let o=window.localStorage.getItem(ft);null===o?o={count:1,lastDismissal:Date.now()}:(o=JSON.parse(o),vt<Date.now()-o.lastDismissal?o={count:1,lastDismissal:Date.now()}:(o.count=o.count+1,o.lastDismissal=Date.now())),window.localStorage.setItem(ft,JSON.stringify(o)),t(e.clientId)}})]})]})},save:()=>null});var _t=o(4821),wt=o(8619);const Ct=e=>!!e&&["core/paragraph","core/heading"].some((t=>t===e)),jt=e=>Array.isArray(e)?e.reduce(((e,t)=>e+jt(t)),""):"core/paragraph"===e.name||"core/heading"===e.name?e.attributes.content:"";let St=null;const Tt=({props:e,onClose:t})=>{const[o,a,i]=(0,$.A)(),[n,c]=(0,b.useState)(!1),[d,u]=(0,b.useState)({}),[p,h]=(0,b.useState)(void 0),[g,y]=(0,b.useState)([]),{createNotice:k}=(0,s.useDispatch)("core/notices"),{isMultipleSelection:x,selectedBlocks:v}=(0,s.useSelect)((e=>{const t=e("core/block-editor").getMultiSelectedBlocks();return{isMultipleSelection:1<t.length,selectedBlocks:t}}),[]);(0,b.useEffect)((()=>{if("loading"!==i&&"loaded"===i&&!n){const e=o(wt.r);c(Boolean(e)&&0<e.length),y(o("themeisle_blocks_settings_prompt_actions"))}}),[i,o]),(0,b.useEffect)((()=>{p&&(k("error",p,{type:"snackbar",isDismissible:!0}),h(void 0))}),[p]);const _=t=>(0,f.jsx)(l.Disabled,{isDisabled:Object.values(d).some((e=>e)),children:(0,f.jsxs)(l.MenuItem,{onClick:()=>{(async(t,o,l=()=>{},s=-1)=>{if(!t)return void h((0,r.__)("No content detected in selected block.","otter-blocks"));if(!St){var a;const e=await(0,_t.Z0)("textTransformation");St=null!==(a=e?.prompts)&&void 0!==a?a:[]}let i=St?.find((e=>"textTransformation"===e.otter_name));if(!i)return void h((0,r.__)("Something when wrong retrieving the prompts.","otter-blocks"));const c=i?.[o];c?n?(u((e=>({...e,[o]:!0}))),window.oTrk?.add({feature:"ai-generation",featureComponent:"ai-toolbar",featureValue:o},{consent:!0}),i=(0,_t.mT)(i,c),-1!==s&&g?.[s]?.prompt&&(i=(0,_t._f)(i,(e=>(0,_t.LG)(g[s].prompt,t))),window.oTrk?.add({feature:"ai-generation",featureComponent:"ai-toolbar-custom-action",featureValue:g?.[s]?.title},{consent:!0})),(0,_t.q5)(t,(0,_t.mT)(i,c),{otter_used_action:`textTransformation::${o}`,otter_user_content:t}).then((t=>{var s,a;if(t.error)return void h(null!==(a=t.error?.message)&&void 0!==a?a:t.error);const r=t?.choices?.[0]?.message.content;if(!r)return;const n=(0,m.rawHandler)({HTML:r}),c=(0,m.createBlock)("themeisle-blocks/content-generator",{promptID:"textTransformation",resultHistory:[{result:null!==(s=t?.choices?.[0]?.message.content)&&void 0!==s?s:"",meta:{usedToken:t?.usage.total_tokens,prompt:i.messages?.[i.messages.length-1]?.content}}],replaceTargetBlock:{clientId:e.clientId,name:e.name}},n);(0,ge.insertBlockBelow)(e.clientId,c),u((e=>({...e,[o]:!1}))),l?.()})).catch((e=>{h(e.message),u((e=>({...e,[o]:!1})))}))):h((0,r.__)("No Open API key detected. Please add your key.","otter-blocks")):h((0,r.__)("The action is not longer available.","otter-blocks"))})(jt(x?v:e),t.actionKey,(()=>t.callback?.(t.actionKey)),t?.actionIndex)},children:[t.children,d?.[t.actionKey]&&(0,f.jsx)(l.Spinner,{})]})});return(0,f.jsxs)(b.Fragment,{children:[!n&&(0,f.jsxs)(l.MenuGroup,{children:[(0,f.jsx)("span",{className:"o-menu-item-alignment",style:{display:"block",marginBottom:"10px"},children:(0,r.__)("Please add your OpenAI API key in Integrations.","otter-blocks")}),(0,f.jsx)(l.ExternalLink,{className:"o-menu-item-alignment",href:window.themeisleGutenberg.optionsPath,target:"_blank",rel:"noopener noreferrer",children:(0,r.__)("Go to Dashboard","otter-blocks")})]}),(0,f.jsx)(l.MenuGroup,{children:g.map(((e,o)=>(0,f.jsx)(_,{actionIndex:o,actionKey:"otter_action_prompt",callback:t,children:e.title},o)))}),(0,f.jsx)(l.MenuGroup,{children:(0,f.jsx)(_,{actionKey:"otter_action_prompt",callback:t,children:(0,r.__)("Use as prompt","otter-blocks")})}),(0,f.jsx)(l.MenuGroup,{children:(0,f.jsx)(l.ExternalLink,{className:"o-menu-item-alignment",href:`${window.themeisleGutenberg?.optionsPath}#integrations`,rel:"noopener noreferrer",children:(0,r.__)("Edit Custom Prompts","otter-blocks")})}),(0,f.jsx)(l.MenuGroup,{children:(0,f.jsx)(l.ExternalLink,{className:"o-menu-item-alignment",href:"https://docs.themeisle.com/collection/1563-otter---page-builder-blocks-extensions",rel:"noopener noreferrer",children:(0,r.__)("Go to docs","otter-blocks")})})]})},Bt=(0,q.createHigherOrderComponent)((e=>t=>{const{isMultipleSelection:o,areValidBlocks:a,isHidden:n}=(0,s.useSelect)((e=>{var t,o,l;if(!Boolean(window.themeisleGutenberg?.hasModule?.aiToolbar))return{isMultipleSelection:!1,areValidBlocks:!1,isHidden:!0};const s=null!==(t=e("core/block-editor")?.getMultiSelectedBlocks())&&void 0!==t?t:[],a=null!==(o=e("core/preferences")?.get("core/edit-post","hiddenBlockTypes"))&&void 0!==o?o:[];return{isMultipleSelection:1<s.length,areValidBlocks:s.every((e=>Ct(e.name))),isHidden:null!==(l=a.includes("themeisle-blocks/content-generator"))&&void 0!==l&&l}}),[]);return(0,f.jsxs)(b.Fragment,{children:[(0,f.jsx)(e,{...t}),!n&&(Ct(t.name)&&t.isSelected||a&&o)&&(0,f.jsx)(C.BlockControls,{group:"other",children:(0,f.jsx)(l.ToolbarGroup,{children:(0,f.jsx)(l.DropdownMenu,{icon:i.aiGeneration,label:(0,r.__)("Otter AI Content","otter-blocks"),children:({onClose:e})=>(0,f.jsx)(Tt,{props:t,onClose:e})})})})]})}),"withConditions");(0,p.addFilter)("editor.BlockEdit","themeisle-gutenberg/otter-ai-content-toolbar",Bt);var Mt=o(7677),Pt=o(7108),zt=o(9223),At=o(5692),Ft=(0,b.memo)((({title:e,content:t,onInsert:o=()=>{},isSelected:s=!1,isFavorite:a=!1,onPreview:n=()=>{},onSelect:c=()=>{},onFavorite:d=()=>{}})=>{const[u,p]=(0,b.useState)(!1),{ref:h,inView:g}=(0,At.Wx)({threshold:0});(0,b.useEffect)((()=>{u||p(g)}),[!g]);const y=(0,b.useMemo)((()=>(0,m.parse)(t)),[t]);return(0,f.jsxs)("div",{className:"o-library__template",ref:h,children:[(0,f.jsx)("div",{className:"o-library__template__preview",onClick:n,children:u&&(0,f.jsx)(C.BlockPreview,{blocks:y,viewportWidth:1400})}),(0,f.jsxs)("div",{className:"o-library__template__actions",children:[(0,f.jsx)(l.CheckboxControl,{checked:s,onChange:c}),(0,f.jsx)("div",{className:"o-library__template__actions__title",children:e}),(0,f.jsxs)("div",{className:"o-library__template__actions__button",children:[(0,f.jsx)(l.Button,{icon:a?i.heartFilledIcon:i.heartIcon,label:a?(0,r.__)("Remove from favorites","otter-blocks"):(0,r.__)("Add to favorites","otter-blocks"),className:k()({"is-favorite":a}),onClick:d}),(0,f.jsx)(l.Button,{variant:"primary",onClick:o,children:(0,r.__)("Insert","otter-blocks")})]})]})]})})),Lt=({content:e,onBack:t,onInsert:o})=>(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("div",{className:"o-library__preview",children:(0,f.jsx)(C.BlockPreview,{blocks:(0,m.parse)(e),viewportWidth:1400,additionalStyles:[{css:":root { --parent-vh: 850px; }"}]})}),(0,f.jsxs)("div",{className:"o-library__modal__footer",children:[(0,f.jsx)(l.Button,{variant:"tertiary",onClick:t,children:(0,r.__)("Back","otter-blocks")}),(0,f.jsx)(l.Button,{variant:"primary",onClick:o,children:(0,r.__)("Insert","otter-blocks")})]})]}),Rt=o(3034),Nt=()=>(0,f.jsxs)("div",{className:"o-library__tc-placeholder",children:[(0,f.jsx)(Mt.A,{icon:Rt.A,size:40}),(0,f.jsx)("h2",{children:(0,r.__)("Add External Sources","otter-blocks")}),(0,f.jsxs)("div",{children:[(0,f.jsx)("p",{children:(0,r.__)("Import templates from any site using Templates Cloud. Free Sources included.","otter-blocks")}),(0,f.jsx)("p",{children:(0,r.__)("Share patterns between your own sites.","otter-blocks")})]}),(0,f.jsx)("br",{}),(0,f.jsx)(l.Button,{href:`${window.themeisleGutenberg.optionsPath}&scrollTo=tc#integrations`,variant:"link",children:(0,r.__)("Go to settings to add sources","otter-blocks")})]});const It="cloud-empty";var Ot=({onClose:e})=>{const{insertBlocks:t}=(0,s.useDispatch)("core/block-editor"),{set:o}=(0,s.useDispatch)("core/preferences"),{clientID:a,getFavorites:i}=(0,s.useSelect)((e=>{const{getSelectedBlockClientId:t}=e("core/block-editor"),{get:o}=e("core/preferences");return{clientID:t(),getFavorites:o("themeisle/otter-blocks","patterns-favorites")||[]}}),[]),{patterns:n,categories:c,tcCategories:d,isResolvingPatterns:u}=(0,s.useSelect)((e=>{const{getBlockPatterns:t,getBlockPatternCategories:o,isResolving:l}=e("core"),s=t()?.filter((e=>e?.categories&&e?.categories.includes("otter-blocks"))),a=o(),i=[...new Set(s.flatMap((e=>e.categories.filter((e=>!e.startsWith("ti-tc-"))))))],n=[...new Set(s.flatMap((e=>e.categories.filter((e=>e.startsWith("ti-tc-"))))))],c=[...a.filter((e=>i.includes(e?.name)))],d=[...a.filter((e=>n.includes(e?.name)))];c.forEach((e=>{"otter-blocks"===e?.name&&(e.label=(0,r.__)("All","otter-blocks")),"header"===e?.name&&(e.label=(0,r.__)("Hero","otter-blocks"))})),c.sort(((e,t)=>e.label.localeCompare(t.label)));const b=c.find((e=>"footer"===e.name));b&&c.push(c.splice(c.indexOf(b),1)[0]);const u=c.find((e=>"featured"===e.name));u&&c.splice(c.indexOf(u),1);const p=c.filter((e=>e.name.includes("-pack")));p.forEach((e=>{const t=c.indexOf(e);-1<t&&c.splice(t,1)}));const h=c.findIndex((e=>e.label===(0,r.__)("All","otter-blocks")));return c.splice(h+1,0,...p),{patterns:s,tcCategories:d,categories:c,isResolvingPatterns:l("core","getBlockPatterns")||l("core","getBlockPatternCategories")}}),[]),[p,h]=(0,b.useState)("otter-blocks"),[g,y]=(0,b.useState)(""),[x,v]=(0,b.useState)(3),[_,w]=(0,b.useState)(null),[C,j]=(0,b.useState)([]),S=(0,b.useMemo)((()=>{const e="favorites"===p?n.filter((e=>i.includes(e.name))):n.filter((e=>e.categories.includes(p)));return g?e.filter((e=>e.title.toLowerCase().includes(g.toLowerCase()))):e}),[n,p,g]),T=o=>{const l=(0,m.parse)(o);a?(0,ge.insertBlockBelow)(a,l):t((0,m.parse)(o)),e()};return(0,f.jsxs)(l.Modal,{title:(0,r.__)("Design Library","otter-blocks"),onRequestClose:e,size:"fill",className:"o-library__modal",children:[!_&&(0,f.jsxs)(f.Fragment,{children:[u&&(0,f.jsx)("div",{className:"o-library__modal__loading",children:(0,f.jsx)(l.Spinner,{})}),(0,f.jsxs)("div",{className:"o-library__modal__sidebar",children:[i?.length>0&&(0,f.jsx)(l.Button,{icon:"heart",isPressed:"favorites"===p,onClick:()=>h("favorites"),children:(0,r.__)("My Favorites","otter-blocks")}),d.length<1&&Boolean(window?.themeisleGutenberg?.hasPatternSources)&&(0,f.jsx)(l.Button,{icon:"open-folder",isPressed:"cloud-empty"===p,onClick:()=>h(It),children:(0,r.__)("Cloud Libraries","otter-blocks")}),!Boolean(window.themeisleGutenberg.hasPro)&&(0,f.jsxs)(l.Button,{icon:"lock",href:"https://themeisle.com/plugins/otter-blocks/patterns/",target:"_blank",children:[(0,r.__)("Premium Designs","otter-blocks"),(0,f.jsx)(Mt.A,{icon:Pt.A,size:15})]}),d.length>0&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("p",{className:"o-library__modal__sidebar__heading",children:(0,r.__)("Cloud Libraries","otter-blocks")}),(0,f.jsx)("ul",{className:"o-library__modal__categories",children:d.map((e=>(0,f.jsx)("li",{children:(0,f.jsx)(l.Button,{isPressed:p===e.name,onClick:()=>h(e.name),children:e.label})},e.name)))})]}),(0,f.jsx)("p",{className:"o-library__modal__sidebar__heading",children:(0,r.__)("Categories","otter-blocks")}),(0,f.jsx)("ul",{className:"o-library__modal__categories",children:c.map((e=>(0,f.jsx)("li",{children:(0,f.jsx)(l.Button,{isPressed:p===e.name,onClick:()=>h(e.name),children:e.label})},e.name)))})]}),(0,f.jsxs)("div",{className:"o-library__modal__content",children:[p===It&&Boolean(window?.themeisleGutenberg?.hasPatternSources)&&(0,f.jsx)(Nt,{}),p!==It&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("div",{className:"o-library__modal__content__actions",children:[(0,f.jsx)(l.SearchControl,{__nextHasNoMarginBottom:!0,hideLabelFromVision:!0,label:(0,r.__)("Search","otter-blocks"),value:g,onChange:y}),(0,f.jsx)(l.DropdownMenu,{icon:zt.A,label:(0,r.__)("Layout","otter-blocks"),controls:[{title:(0,r.__)("2 Column","otter-blocks"),onClick:()=>v(2)},{title:(0,r.__)("3 Column","otter-blocks"),onClick:()=>v(3)},{title:(0,r.__)("4 Column","otter-blocks"),onClick:()=>v(4)}]})]}),(0,f.jsxs)("div",{className:k()("o-library__modal__content__grid",{[`is-${x}-column`]:x}),children:[!S.length&&(0,f.jsx)("p",{className:"o-library__modal__content__grid__empty",children:(0,r.__)("No patterns found.","otter-blocks")}),S.map((e=>(0,f.jsx)(Ft,{onInsert:()=>T(e.content),isSelected:C.includes(e.name),isFavorite:i.includes(e.name),onPreview:()=>w(e),onSelect:()=>(e=>{C.includes(e)?j(C.filter((t=>t!==e))):j([...C,e])})(e.name),onFavorite:()=>(e=>{const t=i;t.includes(e)?o("themeisle/otter-blocks","patterns-favorites",t.filter((t=>t!==e))):o("themeisle/otter-blocks","patterns-favorites",[...t,e])})(e.name),...e},e.name)))]})]})]}),!!C.length&&(0,f.jsxs)("div",{className:"o-library__modal__footer",children:[(0,f.jsx)(l.Button,{variant:"tertiary",onClick:()=>j([]),children:(0,r.__)("Cancel","otter-blocks")}),(0,f.jsx)(l.Button,{variant:"primary",onClick:()=>{const o=C.map((e=>(0,m.parse)(n.find((t=>t.name===e)).content))).flat();a?(0,ge.insertBlockBelow)(a,o):t(o),e()},children:(0,r.__)("Insert","otter-blocks")})]})]}),_&&(0,f.jsx)(Lt,{onBack:()=>w(null),onInsert:()=>T(_.content),..._})]})};const Ht=()=>{const[e,t]=(0,b.useState)(!1);return(0,f.jsxs)(f.Fragment,{children:[e&&(0,f.jsx)(Ot,{onClose:()=>t(!1)}),(0,f.jsx)(l.Button,{variant:"secondary",icon:i.otterIcon,className:"o-library__button",onClick:()=>t(!0),children:(0,r.__)("Design Library","otter-blocks")})]})};Boolean(window.themeisleGutenberg.hasModule.patternsLibrary)&&ie()((()=>{const e=document.createElement("div");e.classList.add("o-library__wrapper"),(0,b.createRoot)(e).render((0,f.jsx)(Ht,{})),(0,s.subscribe)((()=>{setTimeout((()=>{const t=document.querySelector(".edit-post-header-toolbar");t&&t.appendChild(e)}),1)}))}));const Vt=(0,f.jsx)(l.Icon,{icon:i.otterIcon});Boolean(window.themeisleGutenberg?.isBlockEditor)&&(0,s.select)("core/editor")&&(0,a.registerPlugin)("themeisle-blocks",{icon:Vt,render:()=>{const[e,t]=(0,b.useState)(!1);return(0,b.useEffect)((()=>{let e=!0;return(async()=>{(await d()({path:"wp/v2/users/me?context=edit"})).capabilities.manage_options&&e?t(!0):t(!1)})(),()=>{e=!1}}),[]),(0,f.jsxs)(b.Fragment,{children:[e&&(0,f.jsx)(u.PluginSidebarMoreMenuItem,{target:"otter-options",children:(0,r.__)("Otter Options","otter-blocks")}),(0,f.jsx)(u.PluginSidebar,{title:(0,r.__)("Otter Options","otter-blocks"),name:"otter-options",children:(0,f.jsx)(U,{})})]})}})},8054:function(e,t){t.A={"themeisle-blocks/button-group":{},"themeisle-blocks/button":{},"themeisle-blocks/font-awesome-icons":{},"themeisle-blocks/advanced-columns":{},"themeisle-blocks/advanced-column":{},"themeisle-blocks/accordion":{},"themeisle-blocks/review":{features:[]},"themeisle-blocks/form":{},"themeisle-blocks/tabs":{},"themeisle-blocks/advanced-heading":{}}},8203:function(e,t,o){var l=o(7723),s=o(4997),a=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/accordion","title":"Accordion","category":"themeisle-blocks","description":"Vertically collapsing accordions perfect for displaying your FAQs. Powered by Otter.","keywords":["accordions","collapse","faq"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"FAQSchema":{"type":"boolean"},"gap":{"type":["string","number"]},"titleColor":{"type":"string"},"titleBackground":{"type":"string"},"contentBackground":{"type":"string"},"borderColor":{"type":"string"},"borderWidth":{"type":"string"},"isSynced":{"type":"array"},"fontFamily":{"type":"string"},"fontVariant":{"type":"string"},"fontStyle":{"type":"string"},"textTransform":{"type":"string"},"fontSize":{"type":"number"},"letterSpacing":{"type":"string"},"padding":{"type":"object"},"paddingTablet":{"type":"object"},"paddingMobile":{"type":"object"},"tag":{"type":"string"},"alwaysOpen":{"type":"boolean"},"boxShadow":{"type":"object","default":{"active":false,"colorOpacity":50,"blur":5,"spread":1,"horizontal":0,"vertical":0}},"iconFirst":{"type":"boolean","default":false},"activeTitleColor":{"type":"string"},"activeTitleBackground":{"type":"string"},"activeContentBackground":{"type":"string"},"icon":{"type":"object"},"openItemIcon":{"type":"object"}},"supports":{"html":false},"editorStyle":"otter-accordion-editor","style":"otter-accordion-style","script":"otter-accordion"}'),i=o(1187),r=o(6942),n=o.n(r),c=o(5617),d=o(4715),b=o(6087),u=o(7143),p=o(6427),h=o(373),g=o(5317),m=o(1740),y=o(8205),k=o(790);const x=[{label:(0,l.__)("Default","otter-blocks"),value:"default"},{label:(0,l.__)("Boxed","otter-blocks"),value:"boxed",isDefault:!0}],f={narrow:5,wide:10,wider:20};var v=({clientId:e,attributes:t,setAttributes:o,getValue:s})=>{const[a,i]=(0,y.useTabSwitch)(t.id,"settings"),r=[{label:(0,l.__)("Title","otter-blocks"),slug:"titleColor",value:s("titleColor")},{label:(0,l.__)("Active Tab Title","otter-blocks"),slug:"activeTitleColor",value:s("activeTitleColor")},{label:(0,l.__)("Title Background","otter-blocks"),slug:"titleBackground",value:s("titleBackground")},{label:(0,l.__)("Active Tab Title Background","otter-blocks"),slug:"activeTitleBackground",value:s("activeTitleBackground")},{label:(0,l.__)("Content Background","otter-blocks"),slug:"contentBackground",value:s("contentBackground")},{label:(0,l.__)("Border","otter-blocks"),slug:"borderColor",value:s("borderColor")}],{responsiveSetAttributes:n,responsiveGetAttributes:c}=(0,m.d)(o);return(0,k.jsxs)(d.InspectorControls,{children:[(0,k.jsx)(h.R7,{value:a,options:[{label:(0,l.__)("Settings","otter-blocks"),value:"settings"},{label:(0,l.__)("Style","otter-blocks"),value:"style"}],onChange:i}),"settings"===a&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Settings","otter-blocks"),children:[(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Place Icon on Left","otter-blocks"),checked:t.iconFirst,onChange:e=>o({iconFirst:e})}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Keep Multiple Items Expanded","otter-blocks"),help:(0,l.__)("When enabled, multiple accordion items can be expanded at the same time","otter-blocks"),checked:t.alwaysOpen||!1,onChange:t=>{o({alwaysOpen:t}),!0!==t&&(0,u.select)("core/block-editor").getBlocksByClientId(e)[0].innerBlocks.forEach((e=>{(0,u.dispatch)("core/block-editor").updateBlockAttributes(e.clientId,{initialOpen:!1})}))}}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Enable FAQ Schema","otter-blocks"),checked:t.FAQSchema||!1,onChange:e=>o({FAQSchema:e})}),(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Accordion title HTML tag","otter-blocks"),value:t.tag||"div",options:[{label:(0,l.__)("H1","otter-blocks"),value:"h1"},{label:(0,l.__)("H2","otter-blocks"),value:"h2"},{label:(0,l.__)("H3","otter-blocks"),value:"h3"},{label:(0,l.__)("H4","otter-blocks"),value:"h4"},{label:(0,l.__)("H5","otter-blocks"),value:"h5"},{label:(0,l.__)("H6","otter-blocks"),value:"h6"},{label:(0,l.__)("div","otter-blocks"),value:"div"}],onChange:t=>{(0,u.select)("core/block-editor").getBlocksByClientId(e)[0].innerBlocks.forEach((e=>{(0,u.dispatch)("core/block-editor").updateBlockAttributes(e.clientId,{tag:t})})),o({tag:t})}})]}),(0,k.jsx)(h.Cu,{})]}),"style"===a&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.PanelBody,{title:(0,l.__)("Style","otter-blocks"),children:(0,k.jsx)(h.Aw,{options:x,value:(0,g.qL)(x,t?.className),onChange:e=>{const l=(0,g.c5)(t?.className,x,e);o({className:l})}})}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Title Typography","otter-blocks"),children:[(0,k.jsx)(p.FontSizePicker,{value:t.fontSize,fontSizes:[{name:(0,l.__)("Extra Small","otter-blocks"),slug:"extra-small",size:14},{name:(0,l.__)("Small","otter-blocks"),slug:"small",size:16},{name:(0,l.__)("Medium","otter-blocks"),slug:"medium",size:18},{name:(0,l.__)("Large","otter-blocks"),slug:"large",size:24},{name:(0,l.__)("Extra Large","otter-blocks"),slug:"extra-large",size:28}],onChange:e=>o({fontSize:e})}),(0,k.jsx)(h.BS,{label:(0,l.__)("Font Family","otter-blocks"),value:t.fontFamily,onChangeFontFamily:e=>{o(e?{fontFamily:e,fontVariant:"normal",fontStyle:"normal"}:{fontFamily:e,fontVariant:e})},valueVariant:t.fontVariant,onChangeFontVariant:e=>o({fontVariant:e}),valueStyle:t.fontStyle,onChangeFontStyle:e=>o({fontStyle:e}),valueTransform:t.textTransform,onChangeTextTransform:e=>o({textTransform:e})}),(0,k.jsx)(h.k2,{values:["fontFamily","fontVariant","fontStyle","textTransform"],setAttributes:o}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Letter Spacing","otter-blocks"),value:t.letterSpacing,onChange:e=>o({letterSpacing:e}),min:-50,max:100,allowReset:!0})]}),(0,k.jsxs)(h.T$,{label:(0,l.__)("Color","otter-blocks"),isSynced:t.isSynced,options:r,setAttributes:o,children:[(0,k.jsx)(d.ContrastChecker,{textColor:s("titleColor"),backgroundColor:s("titleBackground")}),(0,k.jsx)(d.ContrastChecker,{textColor:s("activeTitleColor"),backgroundColor:s("activeTitleBackground")})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Dimensions","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(h.k3,{label:(0,l.__)("Screen Type","otter-blocks"),children:(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Padding","otter-blocks"),values:c([t.padding,t.paddingTablet,t.paddingMobile]),onChange:e=>n(e,["padding","paddingTablet","paddingMobile"])})}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Gap Between Panels","otter-blocks"),value:"string"==typeof t.gap?f[t.gap]:t.gap,onChange:e=>o({gap:e}),allowReset:!0})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Icons","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(h.fW,{label:(0,l.__)("Closed Item Icon","otter-blocks"),library:"fontawesome",prefix:t.icon?.prefix,icon:t.icon?.name,allowThemeisleIcons:!1,onChange:e=>o({icon:e})}),(0,k.jsx)(h.fW,{label:(0,l.__)("Open Item Icon","otter-blocks"),library:"fontawesome",prefix:t.openItemIcon?.prefix,icon:t.openItemIcon?.name,allowThemeisleIcons:!1,onChange:e=>o({openItemIcon:e})})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Border","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.__experimentalUnitControl,{label:(0,l.__)("Width","otter-blocks"),value:t.borderWidth,units:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"rem",label:"rem"},{value:"vw",label:"vw"},{value:"vh",label:"vh"}],onChange:e=>o({borderWidth:e})}),(0,k.jsx)(h.fS,{boxShadow:t.boxShadow,onChange:e=>{const l={...t.boxShadow};Object.entries(e).forEach((([t,o]=e)=>{l[t]=o})),o({boxShadow:l})}})]})]})]})},_=({buttonText:e=(0,l.__)("Add Item","otter-blocks"),clientId:t,allowedBlock:o,...a})=>{const{insertBlock:i}=(0,u.useDispatch)("core/block-editor"),{getBlock:r}=(0,u.useSelect)((e=>e("core/block-editor")),[]),{className:c,...d}=a;return(0,k.jsx)(p.Button,{onClick:()=>{const{innerBlocks:e}=r(t),l=(0,s.createBlock)(o);i(l,e.length,t)},className:n()("o-block-appender-button",c),...d,children:e})},w=o(7039);const{attributes:C}=a,j={fas:"Font Awesome 5 Free",far:"Font Awesome 5 Free",fal:"Font Awesome 5 Free",fab:"Font Awesome 5 Brands"};const{name:S}=a;(0,s.registerBlockType)(S,{...a,title:(0,l.__)("Accordion","otter-blocks"),description:(0,l.__)("Vertically collapsing accordions perfect for displaying your FAQs. Powered by Otter.","otter-blocks"),icon:i.accordionIcon,keywords:["accordions","collapse","faq"],edit:({name:e,attributes:t,setAttributes:o,clientId:s,isSelected:a})=>{(0,b.useEffect)((()=>{c.A.attach();const e=(0,y.blockInit)(s,C);return()=>e(t.id)}),[t.id]);const i=(0,u.useSelect)((e=>e("core/block-editor").getBlocksByClientId(s)[0].innerBlocks));(0,b.useEffect)((()=>{void 0===t.alwaysOpen&&o({alwaysOpen:1<i.filter((e=>!0===e.attributes.initialOpen)).length})}),[]);const r=o=>(0,y.getDefaultValueByField)({name:e,field:o,defaultAttributes:C,attributes:t}),p={"--title-color":r("titleColor"),"--title-background":r("titleBackground"),"--content-background":r("contentBackground"),"--border-color":r("borderColor"),"--border-width":r("borderWidth"),"--box-shadow":t.boxShadow.active&&`${t.boxShadow.horizontal}px ${t.boxShadow.vertical}px ${t.boxShadow.blur}px ${t.boxShadow.spread}px ${(0,g.qh)(t.boxShadow.color,t.boxShadow.colorOpacity)}`,"--padding":(0,g.a0)(t.padding,{top:"18px",right:"24px",bottom:"18px",left:"24px"}),"--padding-tablet":(0,g.a0)(t.paddingTablet,{top:"18px",right:"24px",bottom:"18px",left:"24px"}),"--padding-mobile":(0,g.a0)(t.paddingMobile,{top:"18px",right:"24px",bottom:"18px",left:"24px"}),"--gap":(0,g.ws)(t.gap)},[h,x]=(0,y.useCSSNode)();(0,b.useEffect)((()=>{x([`> * > * > .wp-block-themeisle-blocks-accordion-item .wp-block-themeisle-blocks-accordion-item__title > * {\n\t\t\t\t${t.fontSize?"font-size:"+(0,g.ws)(t.fontSize):""};\n\t\t\t\t${t.fontFamily?"font-family:"+t.fontFamily:""};\n\t\t\t\t${t.fontVariant?"font-variant:"+t.fontVariant:""};\n\t\t\t\t${t.fontStyle?"font-style:"+t.fontStyle:""};\n\t\t\t\t${t.textTransform?"text-transform:"+t.textTransform:""};\n\t\t\t\t${t.letterSpacing?"letter-spacing:"+(0,g.ws)(t.letterSpacing):""};\n\t\t\t}`])}),[t.fontSize,t.fontFamily,t.fontVariant,t.fontStyle,t.textTransform,t.letterSpacing]);const[f,S]=(0,y.useCSSNode)();(0,b.useEffect)((()=>{const e=r("icon"),t=r("openItemIcon");S([...e?[`> * > * > .wp-block-themeisle-blocks-accordion-item:not(.is-open) > .wp-block-themeisle-blocks-accordion-item__title::after {\n\t\t\t\tcontent: "\\${w[e.name].unicode}" !important;\n\t\t\t\tfont-family: "${j[e.prefix]}" !important;\n\t\t\t\tfont-weight: ${"fas"!==e.prefix?"400":"900"}\n\t\t\t}`]:[],...t?[`> * > * > .wp-block-themeisle-blocks-accordion-item.is-open > .wp-block-themeisle-blocks-accordion-item__title::after {\n\t\t\t\tcontent: "\\${w[t.name].unicode}" !important;\n\t\t\t\tfont-family: "${j[t.prefix]}" !important;\n\t\t\t\tfont-weight: ${"fas"!==t.prefix?"400":"900"}\n\t\t\t}`]:[]])}),[t.icon,t.openItemIcon]);const[T,B]=(0,y.useCSSNode)();(0,b.useEffect)((()=>{const e=r("activeTitleColor"),t=r("activeTitleBackground");B([...e?[`> * > * > .wp-block-themeisle-blocks-accordion-item.is-open > .wp-block-themeisle-blocks-accordion-item__title {\n\t\t\t\t--title-color: ${e};\n\t\t\t}`]:[],...t?[`> * > * > .wp-block-themeisle-blocks-accordion-item.is-open > .wp-block-themeisle-blocks-accordion-item__title {\n\t\t\t\t--title-background: ${t};\n\t\t\t}`]:[]])}),[t.activeTitleColor,t.activeTitleBackground]),(0,b.useEffect)((()=>{t.fontFamily&&c.A.loadFontToBrowser(t.fontFamily,t.fontVariant)}),[t.fontFamily]),(0,m.g)(r("titleBackground"),t,o,"has-dark-title-bg","has-light-title-bg"),(0,m.g)(r("activeTitleBackground"),t,o,"has-dark-active-title-bg","has-light-active-title-bg"),(0,m.g)(r("contentBackground"),t,o,"has-dark-content-bg","has-light-content-bg");const M=(0,d.useBlockProps)({id:t.id,className:n()({[f]:f,[T]:T,[h]:h,[`is-${t.gap}-gap`]:"string"==typeof t.gap,"no-gap":0===t.gap,"has-gap":"string"!=typeof t.gap&&0<t.gap,"icon-first":t.iconFirst,"has-icon":!!t.icon,"has-open-icon":!!t.openItemIcon}),style:p});return(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(v,{clientId:s,attributes:t,setAttributes:o,getValue:r}),(0,k.jsx)("div",{...M,children:(0,k.jsx)(d.InnerBlocks,{allowedBlocks:["themeisle-blocks/accordion-item"],template:[["themeisle-blocks/accordion-item",{title:(0,l.__)("Accordion title 1","otter-blocks")}],["themeisle-blocks/accordion-item",{title:(0,l.__)("Accordion title 2","otter-blocks")}]],renderAppender:a?()=>(0,k.jsx)(_,{buttonText:(0,l.__)("Add Accordion Item","otter-blocks"),variant:"primary",allowedBlock:"themeisle-blocks/accordion-item",clientId:s}):void 0})})]})},save:({attributes:e})=>{const t=d.useBlockProps.save({id:e.id,"data-has-schema":e.FAQSchema,className:n()({exclusive:!1===e.alwaysOpen,[`is-${e.gap}-gap`]:e.gap&&"string"==typeof e.gap,"no-gap":0===e.gap,"has-gap":e.gap&&"string"!=typeof e.gap&&0!==e.gap,"icon-first":e.iconFirst,"has-icon":!!e.icon,"has-open-icon":!!e.openItemIcon})});return(0,k.jsx)("div",{...t,children:(0,k.jsx)(d.InnerBlocks.Content,{})})},example:{attributes:{},innerBlocks:[{name:"themeisle-blocks/accordion-item",attributes:{initialOpen:!0,title:(0,l.__)("Accordion Item","otter-blocks")},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:48,content:"Lorem ipsum dolor sit amet, eu liber saperet est. Recusabo volutpat has ne, sed dicit eruditi detraxit ut, modus ancillae mei eu.",align:"left"}}]}]}});var T=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/accordion-item","title":"Accordion Item","category":"themeisle-blocks","description":"Vertically collapsing accordions perfect for displaying your FAQs. Powered by Otter.","keywords":["accordions","collapse","faq"],"parent":["themeisle-blocks/accordion"],"textdomain":"otter-blocks","attributes":{"title":{"type":"string"},"initialOpen":{"type":"boolean","default":false},"tag":{"type":"string"}},"supports":{"reusable":false}}'),B=({clientId:e,attributes:t,setAttributes:o})=>(0,k.jsx)(d.InspectorControls,{children:(0,k.jsx)(p.PanelBody,{title:(0,l.__)("Settings","otter-blocks"),children:(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Initially Open","otter-blocks"),checked:t.initialOpen,onChange:t=>{if(o({initialOpen:t}),!t)return;const l=(0,u.select)("core/block-editor")?.getBlockParents(e).at(-1),s=(0,u.select)("core/block-editor")?.getBlock(l);s?.attributes.alwaysOpen||s?.innerBlocks?.forEach((t=>{t.clientId!==e&&(0,u.dispatch)("core/editor")?.updateBlockAttributes(t.clientId,{initialOpen:!1})}))}})})});const{name:M}=T;(0,s.registerBlockType)(M,{...T,title:(0,l.__)("Accordion Item","otter-blocks"),description:(0,l.__)("Vertically collapsing accordions perfect for displaying your FAQs. Powered by Otter.","otter-blocks"),icon:i.accordionItemIcon,keywords:["accordions","collapse","faq"],edit:({clientId:e,attributes:t,setAttributes:o})=>{const[s,a]=(0,b.useState)(!0);return(0,b.useEffect)((()=>{if(void 0===t.title){const t=(0,u.select)("core/block-editor").getBlockParents(e).at(-1),s=(0,u.select)("core/block-editor").getBlock(t);o({title:(0,l.__)("Accordion item","otter-blocks")+s.innerBlocks.length})}}),[]),(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(B,{clientId:e,attributes:t,setAttributes:o}),(0,k.jsxs)("div",{...(0,d.useBlockProps)({className:n()({"is-open":s})}),children:[(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-accordion-item__title",onClick:e=>{"string"==typeof e.target.className&&e.target.className.includes("block-editor-rich-text__editable")?a(!0):a(!s)},children:(0,k.jsx)(d.RichText,{value:t.title,onChange:e=>{s||a(!0),o({title:e})},tagName:t.tag||"div"})}),s&&(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-accordion-item__content",children:(0,k.jsx)(d.InnerBlocks,{template:[["core/paragraph",{content:(0,l.__)("This is a placeholder tab content. It is important to have the necessary information in the block, but at this stage, it is just a placeholder to help you visualise how the content is displayed. Feel free to edit this with your actual content.","otter-blocks")}]]})})]})]})},save:({attributes:e})=>{const t=d.useBlockProps.save({open:!!e.initialOpen});return(0,k.jsxs)("details",{...t,children:[(0,k.jsx)("summary",{className:"wp-block-themeisle-blocks-accordion-item__title",children:(0,k.jsx)(d.RichText.Content,{tagName:e.tag||"div",value:e.title})}),(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-accordion-item__content",children:(0,k.jsx)(d.InnerBlocks.Content,{})})]})}});var P=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/advanced-heading","title":"Advanced Heading","category":"themeisle-blocks","description":"Advanced Heading gives a spin to editor\'s Heading block with much needed customization options. Powered by Otter.","keywords":["heading","title","advanced heading"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"content":{"type":"string","source":"html","selector":"h1,h2,h3,h4,h5,h6,div,p,span","default":""},"tag":{"default":"h2","type":"string"},"align":{"type":"string"},"alignTablet":{"type":"string"},"alignMobile":{"type":"string"},"headingColor":{"type":"string"},"highlightColor":{"type":"string"},"highlightBackground":{"type":"string"},"fontSize":{"type":["number","string"]},"fontSizeTablet":{"type":["number","string"]},"fontSizeMobile":{"type":["number","string"]},"fontFamily":{"type":"string"},"fontVariant":{"type":"string"},"fontStyle":{"type":"string"},"textTransform":{"type":"string"},"lineHeight":{"type":["number","string"]},"letterSpacing":{"type":["number","string"]},"textShadow":{"type":"boolean","default":false},"textShadowColor":{"type":"string","default":"#000000"},"textShadowColorOpacity":{"type":"number","default":50},"textShadowBlur":{"type":"number","default":5},"textShadowHorizontal":{"type":"number","default":0},"textShadowVertical":{"type":"number","default":0},"paddingType":{"type":"string"},"paddingTypeTablet":{"type":"string"},"paddingTypeMobile":{"type":"string"},"padding":{"type":["number","object"]},"paddingTablet":{"type":["number","object"]},"paddingMobile":{"type":["number","object"]},"paddingTop":{"type":"number","default":0},"paddingTopTablet":{"type":"number"},"paddingTopMobile":{"type":"number"},"paddingRight":{"type":"number"},"paddingRightTablet":{"type":"number"},"paddingRightMobile":{"type":"number"},"paddingBottom":{"type":"number"},"paddingBottomTablet":{"type":"number"},"paddingBottomMobile":{"type":"number"},"paddingLeft":{"type":"number"},"paddingLeftTablet":{"type":"number"},"paddingLeftMobile":{"type":"number"},"marginType":{"type":"string"},"marginTypeTablet":{"type":"string"},"marginTypeMobile":{"type":"string"},"margin":{"type":["number","object"]},"marginTablet":{"type":["number","object"]},"marginMobile":{"type":["number","object"]},"marginTop":{"type":"number"},"marginTopTablet":{"type":"number"},"marginTopMobile":{"type":"number"},"marginBottom":{"type":"number"},"marginBottomTablet":{"type":"number"},"marginBottomMobile":{"type":"number"},"backgroundColor":{"type":"string"},"linkColor":{"type":"string"},"linkHoverColor":{"type":"string"}},"editorStyle":"otter-advanced-heading-editor","style":"otter-advanced-heading-style"}'),z=o(3175),A=o(876);const F="themeisle-blocks/highlight";(0,A.registerFormatType)(F,{name:F,title:(0,l.__)("Highlight","otter-blocks"),tagName:"span",className:"highlight",edit:({isActive:e,value:t,onChange:o})=>{const s=()=>o((0,A.toggleFormat)(t,{type:F}));return(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(d.RichTextShortcut,{type:"primary",character:"h",onUse:s}),(0,k.jsx)(d.RichTextToolbarButton,{icon:z.A,title:(0,l.__)("Highlight","otter-blocks"),onClick:s,isActive:e,shortcutType:"access",shortcutCharacter:"h"})]})}});var L=o(3915),R=o.n(L);const N=[{attributes:{id:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6,div,p,span",default:""},tag:{default:"h2",type:"string"},align:{type:"string"},alignTablet:{type:"string"},alignMobile:{type:"string"},headingColor:{type:"string",default:"#000000"},highlightColor:{type:"string"},highlightBackground:{type:"string"},fontSize:{type:"number"},fontSizeTablet:{type:"number"},fontSizeMobile:{type:"number"},fontFamily:{type:"string"},fontVariant:{type:"string"},fontStyle:{type:"string",default:"normal"},textTransform:{type:"string",default:"none"},lineHeight:{type:"number"},letterSpacing:{type:"number"},textShadow:{type:"boolean",default:!1},textShadowColor:{type:"string",default:"#000000"},textShadowColorOpacity:{type:"number",default:50},textShadowBlur:{type:"number",default:5},textShadowHorizontal:{type:"number",default:0},textShadowVertical:{type:"number",default:0},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:0},paddingTablet:{type:"number",default:0},paddingMobile:{type:"number",default:0},paddingTop:{type:"number",default:0},paddingTopTablet:{type:"number",default:0},paddingTopMobile:{type:"number",default:0},paddingRight:{type:"number",default:0},paddingRightTablet:{type:"number",default:0},paddingRightMobile:{type:"number",default:0},paddingBottom:{type:"number",default:0},paddingBottomTablet:{type:"number",default:0},paddingBottomMobile:{type:"number",default:0},paddingLeft:{type:"number",default:0},paddingLeftTablet:{type:"number",default:0},paddingLeftMobile:{type:"number",default:0},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:0},marginTablet:{type:"number",default:0},marginMobile:{type:"number",default:0},marginTop:{type:"number",default:0},marginTopTablet:{type:"number",default:0},marginTopMobile:{type:"number",default:0},marginBottom:{type:"number",default:25},marginBottomTablet:{type:"number",default:25},marginBottomMobile:{type:"number",default:20}},save:({attributes:e,className:t})=>{let o;e.textShadow&&(o={textShadow:`${e.textShadowHorizontal}px ${e.textShadowVertical}px ${e.textShadowBlur}px ${R()(e.textShadowColor?e.textShadowColor:"#000000",e.textShadowColorOpacity)}`});const l={color:e.headingColor,fontFamily:e.fontFamily,fontWeight:"regular"===e.fontVariant?"normal":e.fontVariant,fontStyle:e.fontStyle,textTransform:e.textTransform,lineHeight:e.lineHeight&&`${e.lineHeight}px`,letterSpacing:e.letterSpacing&&`${e.letterSpacing}px`,...o};return(0,k.jsx)(d.RichText.Content,{tagName:e.tag,value:e.content,id:e.id,className:n()(e.id,t),style:l})}}];var I=N,O={from:[{type:"block",blocks:["core/heading"],transform:({content:e})=>(0,s.createBlock)("themeisle-blocks/advanced-heading",{content:e})},{type:"block",blocks:["core/paragraph"],transform:({content:e})=>(0,s.createBlock)("themeisle-blocks/advanced-heading",{content:e})}],to:[{type:"block",blocks:["core/paragraph"],transform:({content:e})=>(0,s.createBlock)("core/paragraph",{content:e})}]},H=o(8468),V=({attributes:e,setAttributes:t})=>{var o;const{responsiveSetAttributes:s,responsiveGetAttributes:a}=(0,m.d)(t),i=e=>{t(e?{fontFamily:e,fontVariant:"normal",fontStyle:"normal"}:{fontFamily:e,fontVariant:e})},r=e=>(0,k.jsx)("span",{className:"o-list-elem-controls",children:e}),n=e=>{t({tag:e})};return(0,k.jsxs)(d.BlockControls,{children:[(0,k.jsx)(p.DropdownMenu,{icon:r(e.tag),label:(0,l.__)("Select tag","otter-blocks"),className:"components-toolbar",controls:[{title:(0,l.__)("Heading","otter-blocks")+" 1",icon:r("h1"),onClick:()=>n("h1")},{title:(0,l.__)("Heading","otter-blocks")+" 2",icon:r("h2"),onClick:()=>n("h2")},{title:(0,l.__)("Heading","otter-blocks")+" 3",icon:r("h3"),onClick:()=>n("h3")},{title:(0,l.__)("Heading","otter-blocks")+" 4",icon:r("h4"),onClick:()=>n("h4")},{title:(0,l.__)("Heading","otter-blocks")+" 5",icon:r("h5"),onClick:()=>n("h5")},{title:(0,l.__)("Heading","otter-blocks")+" 6",icon:r("h6"),onClick:()=>n("h6")},{title:(0,l.__)("Division","otter-blocks"),icon:r("div"),onClick:()=>n("div")},{title:(0,l.__)("Paragraph","otter-blocks"),icon:r("p"),onClick:()=>n("p")},{title:(0,l.__)("Span Tag","otter-blocks"),icon:r("span"),onClick:()=>n("span")}]}),(0,k.jsx)(p.ToolbarGroup,{children:(0,k.jsx)(p.Dropdown,{contentClassName:"wp-themeisle-blocks-advanced-heading-popover-content",position:"bottom center",renderToggle:({isOpen:e,onToggle:t})=>(0,k.jsx)(p.Button,{className:"components-dropdown-menu__toggle",icon:"editor-textcolor",onClick:t,"aria-haspopup":"true","aria-expanded":e,label:(0,l.__)("Typography Settings","otter-blocks"),showTooltip:!0,children:(0,k.jsx)("span",{className:"components-dropdown-menu__indicator"})}),renderContent:()=>(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(h.BS,{label:(0,l.__)("Font Family","otter-blocks"),value:e.fontFamily,onChangeFontFamily:i,valueVariant:e.fontVariant,onChangeFontVariant:e=>t({fontVariant:e}),valueStyle:e.fontStyle,onChangeFontStyle:e=>t({fontStyle:e}),valueTransform:e.textTransform,onChangeTextTransform:e=>t({textTransform:e})}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Line Height","otter-blocks"),value:e.lineHeight,onChange:e=>t({lineHeight:e}),step:.1,min:0,max:3}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Letter Spacing","otter-blocks"),value:e.letterSpacing,onChange:e=>t({letterSpacing:e}),step:.1,min:-50,max:100})]})})}),(0,k.jsx)(p.ToolbarGroup,{children:(0,k.jsx)(d.AlignmentToolbar,{value:null!==(o=a([e.align,e.alignTablet,e.alignMobile]))&&void 0!==o?o:"left",onChange:e=>{s(e,["align","alignTablet","alignMobile"])}})})]})},D=o(2034),G=o(4186),E=o(357),$=o(8369),W=o(6304);const U={fontFamily:"fontFamily",fontSize:"fontSize",lineHeight:"lineHeight",letterCase:"textTransform",spacing:"letterSpacing",appearance:"fontStyle",variant:"fontVariant"};var q=({attributes:e,setAttributes:t})=>{var o,s,a,i,r,n,c,u,x,f,v,_,w,C,j,S,T,B,M,P,z;const[A,F]=(0,y.useTabSwitch)(e.id,"settings"),{responsiveSetAttributes:L,responsiveGetAttributes:R}=(0,m.d)(t),N="unlinked"===e.paddingType?{top:null!==(o=(0,g.ws)(e.paddingTop))&&void 0!==o?o:"0px",bottom:null!==(s=(0,g.ws)(e.paddingBottom))&&void 0!==s?s:"0px",right:null!==(a=(0,g.ws)(e.paddingRight))&&void 0!==a?a:"0px",left:null!==(i=(0,g.ws)(e.paddingLeft))&&void 0!==i?i:"0px"}:isFinite(e.padding)?(0,$.eA)((0,g.ws)(e.padding)):{top:"0px",bottom:"0px",right:"0px",left:"0px"},I="unlinked"===e.paddingTypeTablet?{top:null!==(r=(0,g.ws)(e.paddingTopTablet))&&void 0!==r?r:"0px",bottom:null!==(n=(0,g.ws)(e.paddingBottomTablet))&&void 0!==n?n:"0px",right:null!==(c=(0,g.ws)(e.paddingRightTablet))&&void 0!==c?c:"0px",left:null!==(u=(0,g.ws)(e.paddingLeftTablet))&&void 0!==u?u:"0px"}:isFinite(e.paddingTablet)?(0,$.eA)((0,g.ws)(e.paddingTablet)):void 0,O="unlinked"===e.paddingTypeMobile?{top:null!==(x=(0,g.ws)(e.paddingTopMobile))&&void 0!==x?x:"0px",bottom:null!==(f=(0,g.ws)(e.paddingBottomMobile))&&void 0!==f?f:"0px",right:null!==(v=(0,g.ws)(e.paddingRightMobile))&&void 0!==v?v:"0px",left:null!==(_=(0,g.ws)(e.paddingLeftMobile))&&void 0!==_?_:"0px"}:isFinite(e.paddingMobile)?(0,$.eA)((0,g.ws)(e.paddingMobile)):void 0,V=void 0===e.marginType?{top:null!==(w=(0,g.ws)(e.marginTop))&&void 0!==w?w:"0px",bottom:null!==(C=(0,g.ws)(e.marginBottom))&&void 0!==C?C:"25px"}:isFinite(e.margin)?(0,$.eA)((0,g.ws)(e.margin)):void 0,q=void 0===e.marginTypeTablet?{top:null!==(j=(0,g.ws)(e.marginTopTablet))&&void 0!==j?j:"0px",bottom:null!==(S=(0,g.ws)(e.marginBottomTablet))&&void 0!==S?S:"0px"}:isFinite(e.marginTablet)?(0,$.eA)((0,g.ws)(e.marginTablet)):void 0,Z=void 0===e.marginTypeMobile?{top:null!==(T=(0,g.ws)(e.marginTopMobile))&&void 0!==T?T:"0px",bottom:null!==(B=(0,g.ws)(e.marginBottomMobile))&&void 0!==B?B:"0px"}:isFinite(e.marginMobile)?(0,$.eA)((0,g.ws)(e.marginMobile)):void 0;return(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)(d.InspectorControls,{children:[(0,k.jsx)(h.R7,{value:A,options:[{label:(0,l.__)("Settings","otter-blocks"),value:"settings"},{label:(0,l.__)("Style","otter-blocks"),value:"style"}],onChange:F}),(0,k.jsxs)("div",{children:["settings"===A&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Sizing","otter-blocks"),children:[(0,k.jsx)(h.k3,{label:(0,l.__)("Alignment","otter-blocks"),children:(0,k.jsx)(h.l,{value:null!==(M=R([e.align,e.alignTablet,e.alignMobile]))&&void 0!==M?M:"left",onChange:e=>L(e,["align","alignTablet","alignMobile"]),options:[{icon:D.A,label:(0,l.__)("Left","otter-blocks"),value:"left"},{icon:G.A,label:(0,l.__)("Center","otter-blocks"),value:"center"},{icon:E.A,label:(0,l.__)("Right","otter-blocks"),value:"right"}],hasIcon:!0})}),(0,k.jsx)(p.SelectControl,{label:(0,l.__)("HTML Tag","otter-blocks"),value:e.tag,onChange:e=>t({tag:e}),options:[{label:(0,l.__)("H1","otter-blocks"),value:"h1"},{label:(0,l.__)("H2","otter-blocks"),value:"h2"},{label:(0,l.__)("H3","otter-blocks"),value:"h3"},{label:(0,l.__)("H4","otter-blocks"),value:"h4"},{label:(0,l.__)("H5","otter-blocks"),value:"h5"},{label:(0,l.__)("H6","otter-blocks"),value:"h6"},{label:(0,l.__)("div","otter-blocks"),value:"div"},{label:(0,l.__)("span","otter-blocks"),value:"span"},{label:(0,l.__)("p","otter-blocks"),value:"p"}]})]}),(0,k.jsx)(h.Cu,{})]}),"style"===A&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Typography","otter-blocks"),initialOpen:!0,children:[(0,k.jsx)(h.k3,{label:(0,l.__)("Screen Type","otter-blocks")}),(0,k.jsx)(W.A,{enableComponents:{fontFamily:!0,appearance:!0,lineHeight:!0,letterCase:!0,spacing:!0,variant:!0},componentsValue:{fontSize:(0,g.ws)(R([e.fontSize,e.fontSizeTablet,e.fontSizeMobile])),fontFamily:e.fontFamily,lineHeight:e.lineHeight,appearance:e.fontStyle,letterCase:e.textTransform,spacing:e.letterSpacing,variant:e.fontVariant},onChange:e=>{var o;t({fontFamily:e.fontFamily,lineHeight:e.lineHeight,fontStyle:e.appearance,textTransform:e.letterCase,letterSpacing:e.spacing,[null!==(o=R(["fontSize","fontSizeTablet","fontSizeMobile"]))&&void 0!==o?o:"fontSize"]:e.fontSize,fontVariant:e.variant})},onReset:e=>{t("fontSize"===e?{[R(["fontSize","fontSizeTablet","fontSizeMobile"])]:void 0}:{[U[e]]:void 0})},allowVariants:!0})]}),(0,k.jsx)(d.PanelColorSettings,{title:(0,l.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:e.headingColor,onChange:e=>t({headingColor:e}),label:(0,l.__)("Text","otter-blocks"),isShownByDefault:!0},{value:e.backgroundColor,onChange:e=>t({backgroundColor:e}),label:(0,l.__)("Background","otter-blocks"),isShownByDefault:!0},{value:e.linkColor,onChange:e=>t({linkColor:e}),label:(0,l.__)("Link","otter-blocks"),isShownByDefault:!1},{value:e.linkHoverColor,onChange:e=>t({linkHoverColor:e}),label:(0,l.__)("Link Hover","otter-blocks"),isShownByDefault:!1},{value:e.highlightColor,onChange:e=>t({highlightColor:e}),label:(0,l.__)("Highlight Text","otter-blocks"),isShownByDefault:!1},{value:e.highlightBackground,onChange:e=>t({highlightBackground:e}),label:(0,l.__)("Highlight Background","otter-blocks"),isShownByDefault:!1}]}),(0,k.jsx)(p.PanelBody,{title:(0,l.__)("Dimensions","otter-blocks"),initialOpen:!1,children:(0,k.jsxs)(h.k3,{label:(0,l.__)("Screen Type","otter-blocks"),children:[(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Padding","otter-blocks"),values:null!==(P=(0,g.BU)(R([(0,H.isObjectLike)(e.padding)?e.padding:N,(0,H.isObjectLike)(e.paddingTablet)?e.paddingTablet:I,(0,H.isObjectLike)(e.paddingMobile)?e.paddingMobile:O])))&&void 0!==P?P:(0,$.eA)("0px"),onChange:e=>{L(e,["padding","paddingTablet","paddingMobile"])}}),(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Margin","otter-blocks"),values:null!==(z=(0,g.BU)(R([(0,H.isObjectLike)(e.margin)?e.margin:V,(0,H.isObjectLike)(e.marginTablet)?e.marginTablet:q,(0,H.isObjectLike)(e.marginMobile)?e.marginMobile:Z])))&&void 0!==z?z:{top:"0px",bottom:"25px"},onChange:e=>{L(e,["margin","marginTablet","marginMobile"])},sides:["top","bottom"]})]})}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Shadow","otter-blocks"),initialOpen:!1,className:"o-adv-h-panel",children:[(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Enable Text Shadow","otter-blocks"),checked:e.textShadow,onChange:e=>t({textShadow:e})}),e.textShadow&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(d.__experimentalColorGradientControl,{label:(0,l.__)("Color","otter-blocks"),colorValue:e.textShadowColor,onColorChange:e=>t({textShadowColor:e})}),(0,k.jsxs)(h.HZ,{label:(0,l.__)("Shadow Properties","otter-blocks"),children:[(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Opacity","otter-blocks"),value:e.textShadowColorOpacity,onChange:e=>t({textShadowColorOpacity:e}),min:0,max:100}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Blur","otter-blocks"),value:e.textShadowBlur,onChange:e=>t({textShadowBlur:e}),min:0,max:100}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Horizontal","otter-blocks"),value:e.textShadowHorizontal,onChange:e=>t({textShadowHorizontal:e}),min:-100,max:100}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Vertical","otter-blocks"),value:e.textShadowVertical,onChange:e=>t({textShadowVertical:e}),min:-100,max:100})]})]})]})]})]})]}),(0,k.jsx)(h.ux,{value:e.id,onChange:e=>t({id:e})})]})};const{attributes:Z}=P;const{name:J}=P;(0,s.registerBlockType)(J,{...P,title:(0,l.__)("Advanced Heading","otter-blocks"),description:(0,l.__)("Advanced Heading gives a spin to editor's Heading block with much needed customization options. Powered by Otter.","otter-blocks"),icon:i.headingIcon,keywords:["heading","title","advanced heading"],deprecated:I,transforms:O,edit:({attributes:e,setAttributes:t,clientId:o,mergeBlocks:a,onReplace:i})=>{var r,n,u,p,h,x,f,v,_,w,C,j,S,T,B,M,P,z;(0,b.useEffect)((()=>{c.A.attach();const t=(0,y.blockInit)(o,Z);return()=>t(e.id)}),[e.id]),(0,m.g)(e.backgroundColor,e,t);const{responsiveGetAttributes:A}=(0,m.d)(t),F="unlinked"===e.paddingType?{top:null!==(r=(0,g.ws)(e.paddingTop))&&void 0!==r?r:"0px",bottom:null!==(n=(0,g.ws)(e.paddingBottom))&&void 0!==n?n:"0px",right:null!==(u=(0,g.ws)(e.paddingRight))&&void 0!==u?u:"0px",left:null!==(p=(0,g.ws)(e.paddingLeft))&&void 0!==p?p:"0px"}:isFinite(e.padding)?(0,$.eA)((0,g.ws)(e.padding)):(0,$.eA)("0px"),L="unlinked"===e.paddingTypeTablet?{top:null!==(h=(0,g.ws)(e.paddingTopTablet))&&void 0!==h?h:"0px",bottom:null!==(x=(0,g.ws)(e.paddingBottomTablet))&&void 0!==x?x:"0px",right:null!==(f=(0,g.ws)(e.paddingRightTablet))&&void 0!==f?f:"0px",left:null!==(v=(0,g.ws)(e.paddingLeftTablet))&&void 0!==v?v:"0px"}:isFinite(e.paddingTablet)?(0,$.eA)((0,g.ws)(e.paddingTablet)):void 0,N="unlinked"===e.paddingTypeMobile?{top:null!==(_=(0,g.ws)(e.paddingTopMobile))&&void 0!==_?_:"0px",bottom:null!==(w=(0,g.ws)(e.paddingBottomMobile))&&void 0!==w?w:"0px",right:null!==(C=(0,g.ws)(e.paddingRightMobile))&&void 0!==C?C:"0px",left:null!==(j=(0,g.ws)(e.paddingLeftMobile))&&void 0!==j?j:"0px"}:isFinite(e.paddingMobile)?(0,$.eA)((0,g.ws)(e.paddingMobile)):void 0,I=void 0===e.marginType?{top:null!==(S=(0,g.ws)(e.marginTop))&&void 0!==S?S:"0px",bottom:null!==(T=(0,g.ws)(e.marginBottom))&&void 0!==T?T:"25px"}:isFinite(e.margin)?(0,$.eA)((0,g.ws)(e.margin)):void 0,O=void 0===e.marginTypeTablet?{top:null!==(B=(0,g.ws)(e.marginTopTablet))&&void 0!==B?B:"0px",bottom:null!==(M=(0,g.ws)(e.marginBottomTablet))&&void 0!==M?M:"0px"}:isFinite(e.marginTablet)?(0,$.eA)((0,g.ws)(e.marginTablet)):void 0,D=void 0===e.marginTypeMobile?{top:null!==(P=(0,g.ws)(e.marginTopMobile))&&void 0!==P?P:"0px",bottom:null!==(z=(0,g.ws)(e.marginBottomMobile))&&void 0!==z?z:"0px"}:isFinite(e.marginMobile)?(0,$.eA)((0,g.ws)(e.marginMobile)):void 0,G=e=>(0,H.isObjectLike)(e)?(0,g.a0)(e):void 0,E={"--padding":(0,H.isObjectLike)(A([e.padding,e.paddingTablet,e.paddingMobile]))?(0,g.a0)(A([e.padding,e.paddingTablet,e.paddingMobile])):G(F),"--padding-tablet":(0,H.isObjectLike)(e.paddingTablet)?(0,g.a0)(e.paddingTablet):G(L),"--padding-mobile":(0,H.isObjectLike)(e.paddingMobile)?(0,g.a0)(e.paddingMobile):G(N),"--margin":(0,H.isObjectLike)(A([e.margin,e.marginTablet,e.marginMobile]))?(0,g.a0)(A([e.margin,e.marginTablet,e.marginMobile])):G(I),"--margin-tablet":(0,H.isObjectLike)(e.marginTablet)?(0,g.a0)(e.marginTablet):G(O),"--margin-mobile":(0,H.isObjectLike)(e.marginMobile)?(0,g.a0)(e.marginMobile):G(D),"--text-align":A([e.align,e.alignTablet,e.alignMobile]),"--text-align-tablet":e.alignTablet,"--text-align-mobile":e.alignMobile};let W;e.textShadow&&(W={textShadow:`${e.textShadowHorizontal}px ${e.textShadowVertical}px ${e.textShadowBlur}px ${R()(e.textShadowColor?e.textShadowColor:"#000000",0<=e.textShadowColorOpacity?e.textShadowColorOpacity||1e-5:1)}`});const U=(0,H.omitBy)({fontSize:A([e.fontSize,e.fontSizeTablet,e.fontSizeMobile]),color:e.headingColor,fontFamily:e.fontFamily||void 0,fontWeight:"regular"===e.fontVariant?"normal":e.fontVariant,fontStyle:e.fontStyle||void 0,textTransform:e.textTransform||void 0,lineHeight:(!(0,H.isString)(e.lineHeight)&&3<e.lineHeight?e.lineHeight+"px":e.lineHeight)||void 0,letterSpacing:(0,g.ws)(e.letterSpacing),background:e.backgroundColor,...W,...E},(e=>e?.includes?.("undefined"))),J=(0,d.useBlockProps)({id:e.id,style:U});return(0,b.useEffect)((()=>{e.fontFamily&&c.A.loadFontToBrowser(e.fontFamily,e.fontVariant)}),[e.fontFamily]),(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)("style",{children:[`#block-${o} mark, #block-${o} .highlight `+(0,g.SJ)([["color",e.highlightColor],["background",e.highlightBackground]]),`#block-${o} a`+(0,g.SJ)([["color",e.linkColor]]),`#block-${o} a:hover`+(0,g.SJ)([["color",e.linkHoverColor]])]}),(0,k.jsx)(V,{attributes:e,setAttributes:t}),(0,k.jsx)(q,{attributes:e,setAttributes:t}),(0,k.jsx)(d.RichText,{identifier:"content",value:e.content,placeholder:(0,l.__)("Write heading…","otter-blocks"),tagName:e.tag,allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","themeisle-blocks/highlight","themeisle-blocks/count-animation","themeisle-blocks/typing-animation","themeisle-blocks/dynamic-value","themeisle-blocks/dynamic-link"],onMerge:a,onSplit:(t,l)=>{let a;var i;return a=l||t?(0,s.createBlock)("themeisle-blocks/advanced-heading",{...e,content:t}):(0,s.createBlock)(null!==(i=(0,s.getDefaultBlockName)())&&void 0!==i?i:"themeisle-blocks/advanced-heading"),l&&(a.clientId=o),a},onReplace:i,onRemove:()=>i([]),onChange:e=>{t({content:e})},...J})]})},save:({attributes:e})=>{const t=d.useBlockProps.save({id:e.id,className:e.id});return(0,k.jsx)(d.RichText.Content,{tagName:e.tag,value:e.content,...t})},example:{attributes:{content:(0,l.__)("A heading with more customization options","otter-blocks")}}});var K=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/button-group","title":"Button Group","category":"themeisle-blocks","description":"Prompt visitors to take action with a button group. Powered by Otter.","keywords":["button","buttons","button group"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"align":{"type":["string","object"]},"spacing":{"type":["number","string"],"default":"20px"},"paddingTopBottom":{"type":["number","string"]},"paddingLeftRight":{"type":["number","string"]},"padding":{"type":"object"},"paddingTablet":{"type":"object"},"paddingMobile":{"type":"object"},"collapse":{"type":"string","default":"collapse-none"},"fontSize":{"type":["number","string"]},"fontFamily":{"type":"string"},"fontVariant":{"type":"string"},"textTransform":{"type":"string"},"fontStyle":{"type":"string"},"lineHeight":{"type":["number","string"]},"isSynced":{"type":"array"}},"editorStyle":"otter-button-group-editor","style":"otter-button-group-style"}');const Y={id:{type:"string"},buttons:{type:"number",default:2},align:{type:"string"},spacing:{type:"number",default:20},collapse:{type:"string",default:"collapse-none"},fontSize:{type:"number",default:18},fontFamily:{type:"string"},fontVariant:{type:"string"},textTransform:{type:"string"},fontStyle:{type:"string",default:"normal"},lineHeight:{type:"number"},data:{type:"array",default:[{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24},{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24}]}},Q=[{attributes:Y,save:({attributes:e,className:t})=>{const o="collapse-none"!==e.collapse?e.collapse:"",l={fontSize:`${e.fontSize}px`,fontFamily:e.fontFamily,fontWeight:e.fontVariant,fontStyle:e.fontStyle,textTransform:e.textTransform,lineHeight:e.lineHeight&&`${e.lineHeight}px`};return(0,k.jsx)("div",{id:e.id,className:n()(t,o),style:{justifyContent:e.align,alignItems:e.align?e.align:"flex-start"},children:(0,H.times)(e.buttons,(t=>(t=>{const o={...l,borderWidth:`${e.data[t].borderSize}px`,borderRadius:`${e.data[t].borderRadius}px`,padding:`${e.data[t].paddingTopBottom}px ${e.data[t].paddingLeftRight}px`};return(0,k.jsx)(b.Fragment,{children:(0,k.jsxs)("a",{href:e.data[t].link,target:e.data[t].newTab?"_blank":"_self",className:n()("wp-block-themeisle-blocks-button",`wp-block-themeisle-blocks-button-${t}`),style:o,children:[("left"===e.data[t].iconType||"only"===e.data[t].iconType)&&(0,k.jsx)("i",{className:n()(e.data[t].prefix,"fa-fw",`fa-${e.data[t].icon}`,{"margin-right":"left"===e.data[t].iconType})}),"only"!==e.data[t].iconType&&(0,k.jsx)(d.RichText.Content,{tagName:"span",value:e.data[t].text}),"right"===e.data[t].iconType&&(0,k.jsx)("i",{className:`${e.data[t].prefix} fa-fw fa-${e.data[t].icon} margin-left`})]})})})(t)))})}},{attributes:Y,save:({attributes:e,className:t})=>{const o="collapse-none"!==e.collapse?e.collapse:"",l={fontSize:`${e.fontSize}px`,fontFamily:e.fontFamily,fontWeight:e.fontVariant,fontStyle:e.fontStyle,textTransform:e.textTransform,lineHeight:e.lineHeight&&`${e.lineHeight}px`};return(0,k.jsx)("div",{id:e.id,className:n()(t,o),style:{justifyContent:e.align,alignItems:e.align?e.align:"flex-start"},children:(0,H.times)(e.buttons,(t=>(t=>{const o={...l,borderWidth:`${e.data[t].borderSize}px`,borderRadius:`${e.data[t].borderRadius}px`,padding:`${e.data[t].paddingTopBottom}px ${e.data[t].paddingLeftRight}px`};return(0,k.jsx)(b.Fragment,{children:(0,k.jsxs)("a",{href:e.data[t].link,target:e.data[t].newTab?"_blank":"_self",className:n()("wp-block-themeisle-blocks-button",`wp-block-themeisle-blocks-button-${t}`),style:o,rel:"noopener noreferrer",children:[("left"===e.data[t].iconType||"only"===e.data[t].iconType)&&(0,k.jsx)("i",{className:n()(e.data[t].prefix,"fa-fw",`fa-${e.data[t].icon}`,{"margin-right":"left"===e.data[t].iconType})}),"only"!==e.data[t].iconType&&(0,k.jsx)(d.RichText.Content,{tagName:"span",value:e.data[t].text}),"right"===e.data[t].iconType&&(0,k.jsx)("i",{className:`${e.data[t].prefix} fa-fw fa-${e.data[t].icon} margin-left`})]})})})(t)))})}},{attributes:{...Y,fontSize:{type:"number"},fontStyle:{type:"string"},data:{type:"array",default:[{text:"",link:"",newTab:!1,color:"",background:"",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:"",borderRadius:"",boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:"",paddingLeftRight:""},{text:"",link:"",newTab:!1,color:"",background:"",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:"",borderRadius:"",boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:"",paddingLeftRight:""}]}},migrate:(e,t)=>{let o,l,a;return"flex-start"===e.align&&(o="left"),"center"===e.align&&(o="center"),"flex-end"===e.align&&(o="right"),e.data&&(l=(0,H.pick)(e.data[0],["paddingLeftRight","paddingTopBottom"]),1<=Object.keys(l).length&&(l=(0,H.pick)(l,Object.keys(l).filter((e=>""!==l[e])))),a=e.data.filter(((t,o)=>o<e.buttons)).map((e=>{const t=(0,H.omit)(e,["paddingLeftRight","paddingTopBottom"]);return(0,s.createBlock)("themeisle-blocks/button",{...t})}))),[{...(0,H.omit)(e,["buttons","data"]),align:o,...l},[...a,...t]]},save:({attributes:e,className:t})=>{const o="collapse-none"!==e.collapse?e.collapse:"";return(0,k.jsx)("div",{id:e.id,className:n()(t,o,"wp-block-button"),children:(0,H.times)(e.buttons,(t=>(t=>(0,k.jsxs)("a",{href:e.data[t].link,target:e.data[t].newTab?"_blank":"_self",className:n()("wp-block-themeisle-blocks-button",`wp-block-themeisle-blocks-button-${t}`,"wp-block-button__link"),rel:"noopener noreferrer",children:[("left"===e.data[t].iconType||"only"===e.data[t].iconType)&&(0,k.jsx)("i",{className:n()(e.data[t].prefix,"fa-fw",`fa-${e.data[t].icon}`,{"margin-right":"left"===e.data[t].iconType})}),"only"!==e.data[t].iconType&&(0,k.jsx)(d.RichText.Content,{tagName:"span",value:e.data[t].text}),"right"===e.data[t].iconType&&(0,k.jsx)("i",{className:`${e.data[t].prefix} fa-fw fa-${e.data[t].icon} margin-left`})]}))(t)))})}}];var X=Q,ee=o(6620),te=o(9214),oe=o(9815),le=o(7711),se=function(e){return(0,k.jsx)(p.Disabled,{isDisabled:Boolean(e?.attributes?.isSynced?.includes(e?.attr)),className:"o-disabled",children:e?.children})},ae=({attributes:e,setAttributes:t})=>{var o,s;const a={XS:{padding:{top:"5px",bottom:"5px",right:"14px",left:"14px"},fontSize:"14px"},S:{padding:{top:"10px",bottom:"10px",right:"20px",left:"20px"},fontSize:"15px"},M:{padding:{top:"15px",bottom:"15px",right:"30px",left:"30px"},fontSize:"16px"},L:{padding:{top:"20px",bottom:"20px",right:"40px",left:"40px"},fontSize:"18px"},XL:{padding:{top:"25px",bottom:"25px",right:"50px",left:"50px"},fontSize:"20px"}},i=(e,t,o)=>t===a[o].fontSize&&e?.top===a[o]?.padding?.top&&e?.bottom===a[o]?.padding?.bottom&&e?.left===a[o]?.padding?.left&&e?.right===a[o]?.padding?.right,r=(e,t)=>({top:e,bottom:e,right:t,left:t}),[n,c]=(0,y.useTabSwitch)(e.id,"settings"),[u,x]=(0,b.useState)({padding:r(e.paddingTopBottom,e.paddingLeftRight),paddingTablet:e.paddingTablet,paddingMobile:e.paddingMobile,isSynced:(0,H.uniq)(e?.isSynced?.map((e=>"paddingTopBottom"===e||"paddingLeftRight"===e?"padding":e)))}),[f,v]=(0,b.useState)(!1),_=t=>x({padding:r(e.paddingTopBottom,e.paddingLeftRight),paddingTablet:e.paddingTablet,paddingMobile:e.paddingMobile,isSynced:e.isSynced,...t}),{responsiveSetAttributes:w,responsiveGetAttributes:C}=(0,m.d)(t),{responsiveSetAttributes:j,responsiveGetAttributes:S}=(0,m.d)(_);return(0,b.useEffect)((()=>{f&&(t({paddingTopBottom:u?.padding?.top,paddingLeftRight:u?.padding?.right,paddingTablet:u?.paddingTablet,paddingMobile:u?.paddingMobile,align:u?.align,isSynced:(0,H.uniq)(u?.isSynced?.map((e=>"padding"===e?["paddingTopBottom","paddingLeftRight"]:e)).flat())}),v(!1))}),[u.padding,u.paddingTablet,u.paddingMobile,f]),(0,k.jsx)(d.InspectorControls,{children:(0,k.jsxs)("div",{children:[(0,k.jsx)(h.R7,{value:n,options:[{label:(0,l.__)("Settings","otter-blocks"),value:"settings"},{label:(0,l.__)("Style","otter-blocks"),value:"style"}],onChange:c}),"settings"===n&&(0,k.jsx)(b.Fragment,{children:(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Layout","otter-blocks"),initialOpen:!0,children:[(0,k.jsx)(oe.A,{label:(0,l.__)("Alignment","otter-blocks"),className:"buttons-alignment-control",children:(0,k.jsx)(le.A,{value:null!==(o=C([e.align?.desktop,e.align?.tablet,e.align?.mobile]))&&void 0!==o?o:"left",options:[{icon:D.A,label:(0,l.__)("Left","otter-blocks"),value:"left"},{icon:G.A,label:(0,l.__)("Center","otter-blocks"),value:"center"},{icon:E.A,label:(0,l.__)("Right","otter-blocks"),value:"right"},{icon:ee.A,label:(0,l.__)("Full","otter-blocks"),value:"full"}],onChange:t=>{var o;w(t,["align.desktop","align.tablet","align.mobile"],null!==(o=e.align)&&void 0!==o?o:{})},hasIcon:!0})}),(0,k.jsx)(p.BaseControl,{label:(0,l.__)("Button Size","otter-blocks"),children:(0,k.jsx)(le.A,{value:(()=>{const t=S([r(e.paddingTopBottom,e.paddingLeftRight),e.paddingTablet,e.paddingMobile]),{fontSize:o}=e;return(0,g.m)([[i(t,o,"XS"),"XS"],[i(t,o,"S"),"S"],[i(t,o,"M"),"M"],[i(t,o,"L"),"L"],[i(t,o,"XL"),"XL"],["custom"]])})(),options:[{label:(0,l.__)("XS","otter-blocks"),value:"XS"},{label:(0,l.__)("S","otter-blocks"),value:"S"},{label:(0,l.__)("M","otter-blocks"),value:"M"},{label:(0,l.__)("L","otter-blocks"),value:"L"},{label:(0,l.__)("XL","otter-blocks"),value:"XL"},{label:(0,l.__)("","otter-blocks"),value:"custom",icon:te.A}],onChange:e=>{if("custom"===e)return void c("style");const o={[S(["padding","paddingTablet","paddingMobile"])]:a[e].padding};t({fontSize:a[e].fontSize,paddingTopBottom:o?.padding?.top,paddingLeftRight:o?.padding?.right,paddingTablet:o?.paddingTablet,paddingMobile:o?.paddingMobile})}})}),(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Collapse On","otter-blocks"),value:e.collapse,options:[{label:(0,l.__)("None","otter-blocks"),value:"collapse-none"},{label:(0,l.__)("Desktop","otter-blocks"),value:"collapse-desktop"},{label:(0,l.__)("Tablet","otter-blocks"),value:"collapse-tablet"},{label:(0,l.__)("Mobile","otter-blocks"),value:"collapse-mobile"}],onChange:e=>t({collapse:e})})]})}),"style"===n&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Dimensions","otter-blocks"),children:[(0,k.jsx)(h.ax,{isSynced:u.isSynced,options:[{label:(0,l.__)("Padding","otter-blocks"),value:S(["padding","paddingTablet","paddingMobile"])},{label:(0,l.__)("Space between","otter-blocks"),value:"spacing"}],setAttributes:e=>{_(e),v(!0)}}),(0,k.jsx)(oe.A,{label:(0,l.__)("Screen Type","otter-blocks"),children:(0,k.jsx)(se,{attr:S(["padding","paddingTablet","paddingMobile"]),attributes:u,children:(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Padding","otter-blocks"),values:null!==(s=S([r(e.paddingTopBottom,e.paddingLeftRight),e.paddingTablet,e.paddingMobile]))&&void 0!==s?s:r("15px","20px"),onChange:e=>{j(e,["padding","paddingTablet","paddingMobile"]),v(!0)},splitOnAxis:!0})})}),(0,k.jsx)(se,{attr:"spacing",attributes:e,children:(0,k.jsx)(p.__experimentalUnitControl,{label:(0,l.__)("Space Between","otter-blocks"),value:(0,g.ws)(e.spacing),onChange:e=>t({spacing:e}),step:.1})})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Typography","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(h.ax,{isSynced:e.isSynced,options:[{label:(0,l.__)("Font Size","otter-blocks"),value:"fontSize"},{label:(0,l.__)("Font Family","otter-blocks"),value:"fontFamily"},{label:(0,l.__)("Appearance","otter-blocks"),value:"fontStyle"},{label:(0,l.__)("Letter Case","otter-blocks"),value:"textTransform"},{label:(0,l.__)("Line Height","otter-blocks"),value:"lineHeight"}],setAttributes:t}),(0,k.jsx)(W.A,{enableComponents:{fontFamily:!0,appearance:!0,lineHeight:!0,letterCase:!0},componentsValue:{fontSize:e.fontSize,fontFamily:e.fontFamily,lineHeight:e.lineHeight,appearance:e.fontStyle,letterCase:e.textTransform},onChange:e=>{t({fontSize:e.fontSize,fontFamily:e.fontFamily,lineHeight:e.lineHeight,fontStyle:e.appearance,textTransform:e.letterCase})},showAsDisable:{fontSize:e.isSynced?.includes("fontSize"),fontFamily:e.isSynced?.includes("fontFamily"),appearance:e.isSynced?.includes("fontStyle"),lineHeight:e.isSynced?.includes("lineHeight"),letterCase:e.isSynced?.includes("textTransform")}})]})]})]})})},ie=({attributes:e,setAttributes:t})=>{var o,s;const{responsiveSetAttributes:a,responsiveGetAttributes:i}=(0,m.d)(t),r={left:D.A,right:E.A,center:G.A,full:ee.A};return(0,k.jsx)(d.BlockControls,{children:(0,k.jsx)(p.ToolbarGroup,{children:(0,k.jsx)(p.DropdownMenu,{icon:r[null!==(o=i([null!==(s=e.align?.desktop)&&void 0!==s?s:e.align,e.align?.tablet,e.align?.mobile]))&&void 0!==o?o:"left"],label:(0,l.__)("Select tag","otter-blocks"),className:"components-toolbar",controls:[{icon:D.A,title:(0,l.__)("Align Left","otter-blocks"),onClick:()=>{var t;return a("left",["align.desktop","align.tablet","align.mobile"],null!==(t=e.align)&&void 0!==t?t:{})}},{icon:G.A,title:(0,l.__)("Align Center","otter-blocks"),onClick:()=>{var t;return a("center",["align.desktop","align.tablet","align.mobile"],null!==(t=e.align)&&void 0!==t?t:{})}},{icon:E.A,title:(0,l.__)("Align Right","otter-blocks"),onClick:()=>{var t;return a("right",["align.desktop","align.tablet","align.mobile"],null!==(t=e.align)&&void 0!==t?t:{})}},{icon:ee.A,title:(0,l.__)("Align Full","otter-blocks"),onClick:()=>{var t;return a("full",["align.desktop","align.tablet","align.mobile"],null!==(t=e.align)&&void 0!==t?t:{})}}]})})})};const{attributes:re}=K;const{name:ne}=K;(0,s.registerBlockType)(ne,{...K,title:(0,l.__)("Button Group","otter-blocks"),description:(0,l.__)("Prompt visitors to take action with a button group. Powered by Otter.","otter-blocks"),icon:i.buttonsIcon,keywords:["button","buttons","button group"],deprecated:X,edit:({attributes:e,setAttributes:t,clientId:o,name:l})=>{var s,a,i,r;const{responsiveGetAttributes:u}=(0,m.d)((()=>{}));(0,b.useEffect)((()=>{c.A.attach();const t=(0,y.blockInit)(o,re);return()=>t(e.id)}),[]);const p=(0,y.buildGetSyncValue)(l,e,re),h={top:null!==(s=(0,g.ws)(p("paddingTopBottom")))&&void 0!==s?s:"15px",bottom:null!==(a=(0,g.ws)(p("paddingTopBottom")))&&void 0!==a?a:"15px",right:null!==(i=(0,g.ws)(p("paddingLeftRight")))&&void 0!==i?i:"30px",left:null!==(r=(0,g.ws)(p("paddingLeftRight")))&&void 0!==r?r:"30px"},x={"--spacing":(0,g.ws)(p("spacing")),"--padding":(0,g._F)(u([h,p("paddingTablet"),p("paddingMobile")])),"--font-size":(0,g.ws)(p("fontSize"))},f=["desktop","tablet","mobile"].filter((t=>e.align&&e.align[t])).map((t=>`align-${e.align[t]}-${t}`)),v=(0,d.useBlockProps)({id:e.id,className:n()("wp-block-buttons",{[`align-${e.align}`]:"string"==typeof e.align,collapse:u(["collapse-desktop","collapse-tablet","collapse-mobile"])===e.collapse},...f),style:x});return(0,b.useEffect)((()=>{p("fontFamily")&&c.A.loadFontToBrowser(p("fontFamily"),p("fontVariant"))}),[e.fontFamily]),(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(ae,{attributes:e,setAttributes:t}),(0,k.jsx)(ie,{attributes:e,setAttributes:t}),(0,k.jsxs)("style",{children:[`#block-${o} .wp-block-button :is(div, a, span).wp-block-button__link`+(0,g.SJ)([["font-family",p("fontFamily")],["font-weight",p("fontVariant")],["font-style",p("fontStyle")],["text-transform",p("textTransform")],["line-height",(0,g.ws)(p("lineHeight"))]]),`#block-${o} .wp-block-button .wp-block-button__link :is(svg, i, div)`+(0,g.SJ)([["font-size",(0,g.ws)(p("fontSize"))]])]}),(0,k.jsx)("div",{...v,children:(0,k.jsx)(d.InnerBlocks,{allowedBlocks:["themeisle-blocks/button"],__experimentalMoverDirection:"horizontal",orientation:"horizontal",template:[["themeisle-blocks/button"]],renderAppender:d.InnerBlocks.DefaultAppender})})]})},save:({attributes:e})=>{const t="collapse-none"!==e.collapse?e.collapse:"",o=["desktop","tablet","mobile"].reduce(((t,o)=>(e.align&&e.align[o]&&t.push(`align-${e.align[o]}-${o}`),t)),[]),l=d.useBlockProps.save({id:e.id,className:n()(t,"wp-block-buttons",{[`align-${e.align}`]:"string"==typeof e.align},...o)});return(0,k.jsx)("div",{...l,children:(0,k.jsx)(d.InnerBlocks.Content,{})})},example:{attributes:{spacing:20},innerBlocks:[{name:"themeisle-blocks/button",attributes:{text:(0,l.__)("Button 1","otter-blocks")}},{name:"themeisle-blocks/button",attributes:{text:(0,l.__)("Button 2","otter-blocks")}}]}});var ce=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/button","title":"Button","category":"themeisle-blocks","description":"Prompt visitors to take action with a button group. Powered by Otter.","keywords":["button","buttons","button group"],"parent":["themeisle-blocks/button-group"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"text":{"type":"string","source":"html","selector":"span"},"link":{"type":"string","source":"attribute","selector":"a","attribute":"href"},"newTab":{"type":"boolean","default":false},"color":{"type":"string"},"background":{"type":"string"},"backgroundGradient":{"type":"string"},"border":{"type":"string"},"hoverColor":{"type":"string"},"hoverBackground":{"type":"string"},"hoverBackgroundGradient":{"type":"string"},"hoverBorder":{"type":"string"},"borderSize":{"type":["number","object"]},"borderRadius":{"type":["number","object"]},"boxShadow":{"type":"boolean","default":false},"boxShadowColor":{"type":"string"},"boxShadowColorOpacity":{"type":"number","default":50},"boxShadowBlur":{"type":"number","default":5},"boxShadowSpread":{"type":"number","default":1},"boxShadowHorizontal":{"type":"number","default":0},"boxShadowVertical":{"type":"number","default":0},"hoverBoxShadowColor":{"type":"string"},"hoverBoxShadowColorOpacity":{"type":"number","default":50},"hoverBoxShadowBlur":{"type":"number","default":5},"hoverBoxShadowSpread":{"type":"number","default":1},"hoverBoxShadowHorizontal":{"type":"number","default":0},"hoverBoxShadowVertical":{"type":"number","default":0},"iconType":{"type":"string","default":"none"},"library":{"type":"string","default":"fontawesome"},"prefix":{"type":"string"},"icon":{"type":"string"},"noFollow":{"type":"boolean","default":true},"isSynced":{"type":"array"}},"supports":{"reusable":false},"style":"wp-block-button"}'),de=o(5198),be=({attributes:e,setAttributes:t,isSelected:o})=>(0,k.jsx)(d.BlockControls,{children:(0,k.jsx)(de.A,{isSelected:o,setAttributes:t,url:e.link,opensInNewTab:e.newTab})}),ue=o(5669),pe=o(2049);const he=[{label:(0,l.__)("Fill","otter-blocks"),value:"fill",isDefault:!0},{label:(0,l.__)("Outline","otter-blocks"),value:"outline"},{label:(0,l.__)("Plain","otter-blocks"),value:"plain"}];var ge=({attributes:e,setAttributes:t})=>{const[o,s]=(0,b.useState)(!1),[a,i]=(0,b.useState)({isSynced:(0,H.uniq)(e.isSynced?.map((e=>e.includes("boxShadow")?"shadow":e))?.map((e=>e.includes("hoverBoxShadow")?"shadowHover":e)))}),[r,n]=(0,b.useState)(!1);(0,b.useEffect)((()=>{if(r){let{isSynced:o}=e;o=o?.filter((e=>!(e.includes("boxShadow")||e.includes("hoverBoxShadow")))),a.isSynced?.some((e=>"shadow"===e))&&(o=(0,H.uniq)([...o,"boxShadow","boxShadowColor","boxShadowColorOpacity","boxShadowBlur","boxShadowSpread","boxShadowHorizontal","boxShadowVertical"])),a.isSynced?.some((e=>"shadowHover"===e))&&(o=(0,H.uniq)([...o,"hoverBoxShadowColor","hoverBoxShadowColorOpacity","hoverBoxShadowBlur","hoverBoxShadowSpread","hoverBoxShadowHorizontal","hoverBoxShadowVertical"])),t({isSynced:o}),n(!1)}}),[a,r]);const c=()=>(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(h.l,{onChange:e=>s(e),value:o,options:[{value:!1,label:(0,l.__)("Normal","otter-blocks")},{value:!0,label:(0,l.__)("Hover","otter-blocks")}]}),(0,k.jsx)("br",{})]}),[u,m]=(0,y.useTabSwitch)(e.id,"settings");return(0,k.jsx)(d.InspectorControls,{children:(0,k.jsxs)("div",{children:[(0,k.jsx)(h.R7,{value:u,options:[{label:(0,l.__)("Settings","otter-blocks"),value:"settings"},{label:(0,l.__)("Style","otter-blocks"),value:"style"}],onChange:m}),"settings"===u&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Link settings","otter-blocks"),initialOpen:!0,children:[(0,k.jsx)(p.TextControl,{label:(0,l.__)("Button URL","otter-blocks"),value:e.link,onChange:e=>t({link:e})}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Open in new window","otter-blocks"),checked:e.newTab,onChange:()=>t({newTab:!Boolean(e.newTab)})}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Add Nofollow","otter-blocks"),checked:e.noFollow,onChange:()=>t({noFollow:!Boolean(e.noFollow)})})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Icon settings","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Icon Position","otter-blocks"),value:e.iconType,options:[{label:(0,l.__)("No Icon","otter-blocks"),value:"none"},{label:(0,l.__)("Left","otter-blocks"),value:"left"},{label:(0,l.__)("Right","otter-blocks"),value:"right"},{label:(0,l.__)("Icon Only","otter-blocks"),value:"only"}],onChange:o=>{const l="none"!==o&&void 0===e.icon?{prefix:"fas",icon:"chevron-right"}:{};t({iconType:o,...l})}}),"none"!==e.iconType&&(0,k.jsx)(pe.A,{label:(0,l.__)("Icon Picker","otter-blocks"),library:e.library,prefix:e.prefix,icon:e.icon,changeLibrary:e=>{t({library:e,icon:void 0,prefix:"fab"})},onChange:e=>{t("object"==typeof e?{icon:e.name,prefix:e.prefix}:{icon:e})}})]})]}),"style"===u&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Style variations","otter-blocks"),children:[(0,k.jsx)("p",{children:(0,l.__)("Select a style","otter-blocks")}),(0,k.jsx)(h.l,{value:(0,g.qL)(he,e?.className),options:he,onChange:o=>{const l=(0,g.c5)(e?.className,he,o);t({className:l})}})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Colors","otter-blocks"),children:[(0,k.jsx)(h.ax,{isSynced:e.isSynced,options:[{label:(0,l.__)("Color","otter-blocks"),value:"color"},{label:(0,l.__)("Background","otter-blocks"),value:"background"},{label:(0,l.__)("Border","otter-blocks"),value:"border"},{label:(0,l.__)("Hover Color","otter-blocks"),value:"hoverColor"},{label:(0,l.__)("Hover Background","otter-blocks"),value:"hoverBackground"},{label:(0,l.__)("Hover Border","otter-blocks"),value:"hoverBorder"}],setAttributes:t}),(0,k.jsx)(c,{}),o?(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(se,{attr:"hoverColor",attributes:e,children:(0,k.jsx)(h._b,{label:(0,l.__)("Text","otter-blocks"),colorValue:e.hoverColor,onColorChange:e=>t({hoverColor:e}),className:"is-list is-first"})}),(0,k.jsx)(se,{attr:"hoverBackground",attributes:e,children:(0,k.jsx)(h._b,{label:(0,l.__)("Background","otter-blocks"),colorValue:e.hoverBackground,gradientValue:e.hoverBackgroundGradient,onColorChange:e=>t({hoverBackground:e}),onGradientChange:e=>t({hoverBackgroundGradient:e}),className:"is-list"})}),(0,k.jsx)(se,{attr:"hoverBorder",attributes:e,children:(0,k.jsx)(h._b,{label:(0,l.__)("Border","otter-blocks"),colorValue:e.hoverBorder,onColorChange:e=>t({hoverBorder:e}),className:"is-list"})})]},"with-hover"):(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(se,{attr:"color",attributes:e,children:(0,k.jsx)(h._b,{label:(0,l.__)("Text","otter-blocks"),colorValue:e.color,onColorChange:e=>t({color:e}),className:"is-list is-first"})}),(0,k.jsx)(se,{attr:"background",attributes:e,children:(0,k.jsx)(h._b,{label:(0,l.__)("Background","otter-blocks"),colorValue:e.background,gradientValue:e.backgroundGradient,onColorChange:e=>t({background:e}),onGradientChange:e=>t({backgroundGradient:e}),className:"is-list"})}),(0,k.jsx)(se,{attr:"border",attributes:e,children:(0,k.jsx)(h._b,{label:(0,l.__)("Border","otter-blocks"),colorValue:e.border,onColorChange:e=>t({border:e}),className:"is-list"})})]},"without-hover")]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Border & Box Shadow","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(h.ax,{isSynced:a.isSynced,options:[{label:(0,l.__)("Border Width","otter-blocks"),value:"borderSize"},{label:(0,l.__)("Border Radius","otter-blocks"),value:"borderRadius"},{label:(0,l.__)("Shadow","otter-blocks"),value:"shadow"},{label:(0,l.__)("Shadow Hover","otter-blocks"),value:"shadowHover"}],setAttributes:e=>{i(e),n(!0)}}),(0,k.jsx)(se,{attr:"borderSize",attributes:e,children:(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Border Width","otter-blocks"),values:(0,g.f0)(e.borderSize),onChange:e=>t({borderSize:e})})}),(0,k.jsx)(se,{attr:"borderRadius",attributes:e,children:(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Border Radius","otter-blocks"),values:(0,g.f0)(e.borderRadius),onChange:e=>t({borderRadius:e})})}),(0,k.jsxs)(ue.A,{label:(0,l.__)("Box Shadow","otter-blocks"),attributes:e,setAttributes:t,resetValues:{boxShadow:!1,boxShadowColor:void 0,boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:void 0,hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0},onClick:()=>t({boxShadow:!0}),children:[(0,k.jsx)(c,{}),o?(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(se,{attr:"hoverBoxShadowColor",attributes:e,children:(0,k.jsx)(d.__experimentalColorGradientControl,{label:(0,l.__)("Shadow Color on Hover","otter-blocks"),colorValue:e.hoverBoxShadowColor,onColorChange:e=>t({hoverBoxShadowColor:e})})}),(0,k.jsx)(se,{attr:"hoverBoxShadowColorOpacity",attributes:e,children:(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Opacity","otter-blocks"),value:e.hoverBoxShadowColorOpacity,onChange:e=>t({hoverBoxShadowColorOpacity:e}),min:0,max:100})}),(0,k.jsx)(se,{attr:"hoverBoxShadowBlur",attributes:e,children:(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Blur","otter-blocks"),value:e.hoverBoxShadowBlur,onChange:e=>t({hoverBoxShadowBlur:e}),min:0,max:100})}),(0,k.jsx)(se,{attr:"boxShadowVertical",attributes:e,children:(0,k.jsx)(p.RangeControl,{label:(0,l.__)("hoverBoxShadowSpread","otter-blocks"),value:e.hoverBoxShadowSpread,onChange:e=>t({hoverBoxShadowSpread:e}),min:-100,max:100})}),(0,k.jsx)(se,{attr:"hoverBoxShadowHorizontal",attributes:e,children:(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Horizontal","otter-blocks"),value:e.hoverBoxShadowHorizontal,onChange:e=>t({hoverBoxShadowHorizontal:e}),min:-100,max:100})}),(0,k.jsx)(se,{attr:"hoverBoxShadowVertical",attributes:e,children:(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Vertical","otter-blocks"),value:e.hoverBoxShadowVertical,onChange:e=>t({hoverBoxShadowVertical:e}),min:-100,max:100})})]},"with-hover"):(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(se,{attr:"boxShadowColor",attributes:e,children:(0,k.jsx)(d.__experimentalColorGradientControl,{label:(0,l.__)("Shadow Color","otter-blocks"),colorValue:e.boxShadowColor,onColorChange:e=>t({boxShadowColor:e})})}),(0,k.jsx)(se,{attr:"boxShadowColorOpacity",attributes:e,children:(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Opacity","otter-blocks"),value:e.boxShadowColorOpacity,onChange:e=>t({boxShadowColorOpacity:e}),min:0,max:100})}),(0,k.jsx)(se,{attr:"boxShadowBlur",attributes:e,children:(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Blur","otter-blocks"),value:e.boxShadowBlur,onChange:e=>t({boxShadowBlur:e}),min:0,max:100})}),(0,k.jsx)(se,{attr:"boxShadowSpread",attributes:e,children:(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Spread","otter-blocks"),value:e.boxShadowSpread,onChange:e=>t({boxShadowSpread:e}),min:-100,max:100})}),(0,k.jsx)(se,{attr:"boxShadowHorizontal",attributes:e,children:(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Horizontal","otter-blocks"),value:e.boxShadowHorizontal,onChange:e=>t({boxShadowHorizontal:e}),min:-100,max:100})}),(0,k.jsx)(se,{attr:"boxShadowVertical",attributes:e,children:(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Vertical","otter-blocks"),value:e.boxShadowVertical,onChange:e=>t({boxShadowVertical:e}),min:-100,max:100})})]},"without-hover")]})]})]})]})})},me=o(6344);const{attributes:ye}=ce;const{name:ke}=ce;(0,s.registerBlockType)(ke,{...ce,title:(0,l.__)("Button","otter-blocks"),description:(0,l.__)("Prompt visitors to take action with a button group. Powered by Otter.","otter-blocks"),icon:i.buttonIcon,keywords:["button","buttons","button group"],edit:e=>{const{attributes:t,setAttributes:o,isSelected:s,clientId:a,name:i}=e,r=(0,y.buildGetSyncValue)(i,t,ye);(0,b.useEffect)((()=>{const e=(0,y.blockInit)(a,ye);return()=>e(t.id)}),[]);const c=me.Ay.icons[t.icon],u=(0,d.useBlockProps)({id:t.id,className:n()("wp-block-button")});return(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(be,{attributes:t,setAttributes:o,isSelected:s}),(0,k.jsx)(ge,{attributes:t,setAttributes:o}),(0,k.jsxs)("div",{...u,children:[(0,k.jsxs)("style",{children:[`.wp-block-themeisle-blocks-button-group #block-${a}.wp-block-button :is(div, a, span).wp-block-button__link`+(0,g.SJ)([["border-color",r("border")],["border-width",(0,g._F)((0,g.f0)(r("borderSize"))),Boolean(r("borderSize"))],["border-radius",(0,g._F)((0,g.f0)(r("borderRadius"))),Boolean(r("borderRadius"))],["border-style","solid",Boolean(r("borderSize"))]]),`.wp-block-themeisle-blocks-button-group #block-${a}.wp-block-button :is(div, a, span).wp-block-button__link:not(:hover)`+(0,g.SJ)([["background",r("background")],["background",r("backgroundGradient")],["box-shadow",`${r("boxShadowHorizontal")}px ${r("boxShadowVertical")}px ${r("boxShadowBlur")}px ${r("boxShadowSpread")}px ${R()(r("boxShadowColor")?r("boxShadowColor"):"#000000",r("boxShadowColorOpacity"))}`,Boolean(r("boxShadow"))],["color",r("color")]]),`.wp-block-themeisle-blocks-button-group #block-${a}.wp-block-button .wp-block-button__link:hover`+(0,g.SJ)([["background",r("hoverBackground")],["background",r("hoverBackgroundGradient")],["border-color",r("hoverBorder")],["box-shadow",`${r("hoverBoxShadowHorizontal")}px ${r("hoverBoxShadowVertical")}px ${r("hoverBoxShadowBlur")}px ${r("hoverBoxShadowSpread")}px ${R()(r("hoverBoxShadowColor")?r("hoverBoxShadowColor"):"#000000",Boolean(r("hoverBoxShadowColorOpacity")))}`,Boolean(r("boxShadow"))],["color",r("hoverColor")]]),`.wp-block-themeisle-blocks-button-group #block-${a}.wp-block-button .wp-block-button__link :is(svg, i, div)`+(0,g.SJ)([["color",r("color")],["fill",r("color")]]),`.wp-block-themeisle-blocks-button-group #block-${a}.wp-block-button .wp-block-button__link:hover :is(svg, i, div, a)`+(0,g.SJ)([["fill",r("hoverColor")]])]}),"none"!==t.iconType?(0,k.jsxs)("div",{className:"wp-block-button__link",children:[("left"===t.iconType||"only"===t.iconType)&&("themeisle-icons"===t.library&&t.icon?(0,k.jsx)(c,{className:n()({"margin-right":"left"===t.iconType})}):(0,k.jsx)("i",{className:n()(t.prefix,"fa-fw",`fa-${t.icon}`,{"margin-right":"left"===t.iconType})})),"only"!==t.iconType&&(0,k.jsx)(d.RichText,{placeholder:(0,l.__)("Add text…","otter-blocks"),value:t.text,onChange:e=>o({text:e}),tagName:"span",withoutInteractiveFormatting:!0}),"right"===t.iconType&&("themeisle-icons"===t.library&&t.icon?(0,k.jsx)(c,{className:"margin-left"}):(0,k.jsx)("i",{className:`${t.prefix} fa-fw fa-${t.icon} margin-left`}))]}):(0,k.jsx)("div",{className:"wp-block-button__link",children:(0,k.jsx)(d.RichText,{placeholder:(0,l.__)("Add text…","otter-blocks"),value:t.text,onChange:e=>o({text:e}),tagName:"span",withoutInteractiveFormatting:!0})})]})]})},save:({attributes:e})=>{const t=me.Ay.icons[e.icon];isNaN(e?.borderRadius?.top)||(e.borderRadius.top+="px"),isNaN(e?.borderRadius?.right)||(e.borderRadius.right+="px"),isNaN(e?.borderRadius?.left)||(e.borderRadius.left+="px"),isNaN(e?.borderRadius?.bottom)||(e.borderRadius.bottom+="px"),isNaN(e?.borderSize?.top)||(e.borderSize.top+="px"),isNaN(e?.borderSize?.right)||(e.borderSize.right+="px"),isNaN(e?.borderSize?.left)||(e.borderSize.left+="px"),isNaN(e?.borderSize?.bottom)||(e.borderSize.bottom+="px");const o=d.useBlockProps.save({id:e.id,className:"wp-block-button"});return(0,k.jsx)("div",{...o,children:(0,k.jsxs)("a",{href:e.link,target:e.newTab?"_blank":"_self",rel:e.noFollow?"noopener noreferrer":"noopener",className:"wp-block-button__link",children:[("left"===e.iconType||"only"===e.iconType)&&("themeisle-icons"===e.library&&e.icon?(0,k.jsx)(t,{className:n()({"margin-right":"left"===e.iconType})}):(0,k.jsx)("i",{className:n()(e.prefix,"fa-fw",`fa-${e.icon}`,{"margin-right":"left"===e.iconType})})),"only"!==e.iconType&&(0,k.jsx)(d.RichText.Content,{tagName:"span",value:e.text}),"right"===e.iconType&&("themeisle-icons"===e.library&&e.icon?(0,k.jsx)(t,{className:"margin-left"}):(0,k.jsx)("i",{className:`${e.prefix} fa-fw fa-${e.icon} margin-left`}))]})})},example:{attributes:{}}});var xe=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/circle-counter","title":"Circle Counter","category":"themeisle-blocks","description":"Show your progress with a beautiful Circle Counter block. Powered by Otter.","keywords":["progress","circle","counter"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"title":{"type":"string","default":"Skill"},"percentage":{"type":"number","default":50},"duration":{"type":"number","default":2},"titleStyle":{"type":"string","default":"default"},"height":{"type":"number","default":100},"fontSizeTitle":{"type":"number"},"fontSizePercent":{"type":"number"},"strokeWidth":{"type":"number","default":10},"backgroundColor":{"type":"string"},"progressColor":{"type":"string"},"titleColor":{"type":"string"}},"editorStyle":"otter-circle-counter-editor","style":"otter-circle-counter-style","script":"otter-circle-counter"}'),fe=({attributes:e,setAttributes:t})=>{const[o,s]=(0,y.useTabSwitch)(e.id,"settings");return(0,k.jsxs)(d.InspectorControls,{children:[(0,k.jsx)(h.R7,{value:o,options:[{label:(0,l.__)("Settings","otter-blocks"),value:"settings"},{label:(0,l.__)("Style","otter-blocks"),value:"style"}],onChange:s}),(0,k.jsxs)("div",{children:["settings"===o&&(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Options","otter-blocks"),children:[(0,k.jsx)(p.TextControl,{label:(0,l.__)("Title","otter-blocks"),value:e.title,onChange:e=>t({title:e})}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Percentage","otter-blocks"),help:(0,l.__)("The value of the counter.","otter-blocks"),value:e.percentage,onChange:e=>{void 0!==e&&(e=(0,H.clamp)(e,0,100),t({percentage:e}))},min:0,max:100})]}),"style"===o&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Title","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Display the Title","otter-blocks"),checked:"hide"!==e.titleStyle,onChange:()=>t({titleStyle:"hide"!==e.titleStyle?"hide":"default"})}),"hide"!==e.titleStyle&&(0,k.jsxs)(p.__experimentalToggleGroupControl,{label:(0,l.__)("Position","otter-blocks"),value:e.titleStyle,onChange:e=>t({titleStyle:e}),isBlock:!0,children:[(0,k.jsx)(p.__experimentalToggleGroupControlOption,{value:"default",label:(0,l.__)("Top","otter-blocks")}),(0,k.jsx)(p.__experimentalToggleGroupControlOption,{value:"bottom",label:(0,l.__)("Bottom","otter-blocks")})]})]}),(0,k.jsx)(d.PanelColorSettings,{title:(0,l.__)("Color","otter-blocks"),colorSettings:[{value:e.titleColor,onChange:e=>t({titleColor:e}),label:(0,l.__)("Title Color","otter-blocks")},{value:e.progressColor,onChange:e=>t({progressColor:e}),label:(0,l.__)("Progress Color","otter-blocks")},{value:e.backgroundColor,onChange:e=>t({backgroundColor:e}),label:(0,l.__)("Background Color","otter-blocks")}]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Dimensions and Motion","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Height","otter-blocks"),help:(0,l.__)("The height of the circle counter.","otter-blocks"),value:e.height,onChange:e=>t({height:e}),min:20,max:240}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Circle Thickness","otter-blocks"),help:(0,l.__)("Change the thickness (stroke width) of the circle.","otter-blocks"),value:e.strokeWidth,onChange:e=>t({strokeWidth:e}),initialPosition:10,min:0,max:20}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Duration","otter-blocks"),help:(0,l.__)("The duration of the animation.","otter-blocks"),value:e.duration,onChange:e=>{void 0!==e&&(e=(0,H.clamp)(e,0,3),t({duration:e}))},min:0,max:3})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Typography","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Font Size Title","otter-blocks"),help:(0,l.__)("Change the font size of the title.","otter-blocks"),value:e.fontSizeTitle,onChange:e=>t({fontSizeTitle:e}),initialPosition:37,min:0,max:100}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Font Size Percent","otter-blocks"),help:(0,l.__)("Change the font size of the inner text.","otter-blocks"),value:e.fontSizePercent,onChange:e=>t({fontSizePercent:e}),initialPosition:27,min:0,max:80})]})]})]})]})},ve=({attributes:e,progressRef:t,valueRef:o})=>{const l=e.height,s=l/2,a=l/2-e.strokeWidth/2,i=2*Math.PI*a;return 0>a?(0,k.jsx)("div",{}):(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-circle-counter__bar",style:{height:l+"px",width:l+"px"},children:(0,k.jsxs)("svg",{className:"wp-block-themeisle-blocks-circle-counter-container",width:l,height:l,children:[(0,k.jsx)("circle",{className:"wp-block-themeisle-blocks-circle-counter-bg",cx:s,cy:s,r:a,strokeWidth:e.strokeWidth,style:{stroke:e.backgroundColor}}),(0,k.jsx)("circle",{ref:t,className:"wp-block-themeisle-blocks-circle-counter-progress",cx:s,cy:s,r:a,strokeWidth:e.strokeWidth,strokeDasharray:i,style:{stroke:e.progressColor}}),(0,k.jsxs)("text",{ref:o,className:"wp-block-themeisle-blocks-circle-counter-text",x:"50%",y:"50%",style:{fill:e.progressColor,fontSize:e.fontSizePercent+"px"},children:[e.percentage,"%"]})]})})};const{attributes:_e}=xe;const{clamp:we,omit:Ce}=lodash,je={to:[{type:"block",blocks:["themeisle-blocks/progress-bar"],transform:e=>{const t=Ce(e,["titleStyle","height","fontSize","strokeWidth","progressColor"]);return(0,s.createBlock)("themeisle-blocks/progress-bar",{...t,barBackgroundColor:e.progressColor,height:we(e.height/4,0,100),titleStyle:"default"})}}]};var Se=je;const{name:Te}=xe;(0,s.registerBlockType)(Te,{...xe,title:(0,l.__)("Circle Counter","otter-blocks"),description:(0,l.__)("Show your progress with a beautiful Circle Counter block. Powered by Otter.","otter-blocks"),icon:i.circleIcon,keywords:["progress","circle","counter"],transforms:Se,edit:({clientId:e,attributes:t,setAttributes:o,isSelected:s,toggleSelection:a})=>{(0,b.useEffect)((()=>{const o=(0,y.blockInit)(e,_e);return()=>o(t.id)}),[t.id]);const i=(0,b.useRef)(null),r=(0,b.useRef)(null),[n,c]=(0,b.useState)({}),u=t.height/2-t.strokeWidth/2,h=2*Math.PI*u;(0,b.useEffect)((()=>{if(!i.current||!i.current||0===t.duration)return;const e=t.percentage/(1e3*t.duration),o=(0,H.range)(0,1e3*t.duration+20,20).map((t=>t*e)).reverse();n&&clearInterval(n),i.current.style.strokeDashoffset=h,r.current.innerText="0%";const l=setInterval((()=>{if(!i.current)return void clearInterval(l);const e=Math.round(o.pop());i.current.style.strokeDashoffset=(100-e)/100*h,r.current.innerHTML=e+"%",0===o.length&&clearInterval(l)}),20);return c(l),()=>{clearInterval(l)}}),[t.duration]),(0,b.useEffect)((()=>{if(i.current&&i.current)return i.current.style.strokeDashoffset=(100-t.percentage)/100*h,r.current.innerHTML=t.percentage+"%",clearInterval(n),()=>{clearInterval(n)}}),[t.percentage,t.height]);const m={"--font-size-title":(0,g.ws)(t.fontSizeTitle)},x=(0,d.useBlockProps)({id:t.id,style:m});return(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(fe,{attributes:t,setAttributes:o}),(0,k.jsxs)("div",{...x,children:["default"===t.titleStyle&&(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-circle-counter-title__area",children:(0,k.jsx)(d.RichText,{tagName:"span",allowedFormats:[],className:"wp-block-themeisle-blocks-circle-counter-title__value",placeholder:s?(0,l.__)("Write caption…","otter-blocks"):null,value:t.title,onChange:e=>o({title:e}),multiline:!1,style:{color:t.titleColor}})}),(0,k.jsx)(p.ResizableBox,{size:{height:t.height,width:t.height},minHeight:20,maxHeight:240,enable:{top:!1,right:!1,bottom:!0,left:!1},showHandle:s,onResizeStop:(e,l,s,i)=>{o({height:parseInt(t.height+i.height,10)}),a(!0)},onResizeStart:()=>{a(!1)},children:(0,k.jsx)(ve,{attributes:t,progressRef:i,valueRef:r})}),"bottom"===t.titleStyle&&(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-circle-counter-title__area",children:(0,k.jsx)(d.RichText,{tagName:"span",allowedFormats:[],className:"wp-block-themeisle-blocks-circle-counter-title__value",placeholder:s?(0,l.__)("Write caption…","otter-blocks"):null,value:t.title,onChange:e=>o({title:e}),multiline:!1,style:{color:t.titleColor}})})]})]})},save:({attributes:e})=>{const t=d.useBlockProps.save({id:e.id,"data-percentage":e.percentage,"data-duration":e.duration,"data-height":e.height,"data-stroke-width":e.strokeWidth,"data-font-size-percent":e.fontSizePercent,"data-background-stroke":e.backgroundColor,"data-progress-stroke":e.progressColor});return(0,k.jsxs)("div",{...t,children:["default"===e.titleStyle&&(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-circle-counter-title__area",children:(0,k.jsx)("span",{className:"wp-block-themeisle-blocks-circle-counter-title__value",children:e.title})}),(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-circle-counter__bar"}),"bottom"===e.titleStyle&&(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-circle-counter-title__area",children:(0,k.jsx)("span",{className:"wp-block-themeisle-blocks-circle-counter-title__value",children:e.title})})]})},example:{attributes:{title:"Lorem ipsum"}}});var Be=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/countdown","title":"Countdown","category":"themeisle-blocks","description":"Set a countdown for a date. Powered by Otter.","keywords":["countdown","time","counter"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"date":{"type":"string"},"exclude":{"type":"array"},"backgroundColor":{"type":"string"},"valueColor":{"type":"string"},"labelColor":{"type":"string"},"labelDistance":{"type":"number"},"separatorColor":{"type":"string"},"gap":{"type":"number"},"gapTablet":{"type":"number"},"gapMobile":{"type":"number"},"width":{"type":"number"},"widthTablet":{"type":"number"},"widthMobile":{"type":"number"},"containerWidth":{"type":"string"},"containerWidthTablet":{"type":"string"},"containerWidthMobile":{"type":"string"},"height":{"type":"number"},"heightTablet":{"type":"number"},"heightMobile":{"type":"number"},"borderRadius":{"type":["number","object"]},"borderRadiusBox":{"type":"object"},"borderStyle":{"type":"string"},"borderWidth":{"type":"number"},"borderWidthTablet":{"type":"number"},"borderWidthMobile":{"type":"number"},"borderColor":{"type":"string"},"valueFontSize":{"type":["number","string"]},"valueFontSizeTablet":{"type":["number","string"]},"valueFontSizeMobile":{"type":["number","string"]},"labelFontSize":{"type":["number","string"]},"labelFontSizeTablet":{"type":["number","string"]},"labelFontSizeMobile":{"type":["number","string"]},"hasSeparators":{"type":"boolean"},"valueFontWeight":{"type":"string"},"labelFontWeight":{"type":"string"},"alignment":{"type":"string"},"padding":{"type":"object"},"paddingTablet":{"type":"object"},"paddingMobile":{"type":"object"},"borderRadiusTopRight":{"type":"number"},"borderRadiusTopLeft":{"type":"number"},"borderRadiusBottomRight":{"type":"number"},"borderRadiusBottomLeft":{"type":"number"},"borderRadiusType":{"type":"string","default":"linked"},"separatorAlignment":{"type":"string"},"behaviour":{"type":"string"},"redirectLink":{"type":"string"},"mode":{"type":"string"},"timer":{"type":"object"},"startInterval":{"type":"string"},"endInterval":{"type":"string"},"onEndAction":{"type":"string"}},"supports":{"align":["wide","full"]},"editorStyle":"otter-countdown-editor","style":"otter-countdown-style","script":"otter-countdown"}'),Me=o(6154),Pe=o.n(Me),ze=o(8443),Ae=o(2619);const Fe=[{name:(0,l.__)("Small","otter-blocks"),size:"0.875em",slug:"small"},{name:(0,l.__)("Medium","otter-blocks"),size:"1em",slug:"medium"},{name:(0,l.__)("Large","otter-blocks"),size:"1.125em",slug:"large"},{name:(0,l.__)("XL","otter-blocks"),size:"1.25em",slug:"xl"}],Le=["","100","200","300","400","500","600","700","800","900"].map((e=>({label:e||"Default",value:e}))),Re=({attributes:e})=>(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Countdown Type","otter-blocks"),value:e.mode,options:[{label:(0,l.__)("Static","otter-blocks"),value:""},{label:(0,l.__)("Evergreen (Pro)","otter-blocks"),value:"timer",disabled:!0},{label:(0,l.__)("Interval (Pro)","otter-blocks"),value:"interval",disabled:!0}],help:(0,l.__)("An universal deadline for all visitors","otter-blocks")}),Ne=()=>(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.SelectControl,{label:(0,l.__)("On Expire","otter-blocks"),value:"default",onChange:()=>{},options:[{label:(0,l.__)("No action","otter-blocks"),value:"default"},{label:(0,l.__)("Hide the Countdown","otter-blocks"),value:"hide"},{label:(0,l.__)("Redirect to link","otter-blocks"),value:"redirectLink"}],help:(0,l.__)("The countdown remains visible when it reaches 0","otter-blocks"),disabled:!0}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Hide/Show Blocks When the Countdown Ends","otter-blocks"),help:(0,l.__)("Enable Hide/Show other blocks when the Countdown ends.","otter-blocks"),checked:!1,onChange:()=>{},disabled:!0}),!Boolean(window.themeisleGutenberg?.hasPro)&&(0,k.jsx)(h.$T,{notice:(0,k.jsx)(p.ExternalLink,{href:(0,g.lY)(window.themeisleGutenberg.upgradeLink,"countdownfeature"),children:(0,l.__)("Get more options with Otter Pro.","otter-blocks")}),variant:"upsell"})]});var Ie=({attributes:e,setAttributes:t})=>{var o,s,a,i,r;const{responsiveSetAttributes:n,responsiveGetAttributes:c}=(0,m.d)(t),u=(o,l)=>{t(o?{exclude:e?.exclude?.filter((e=>e!==l))}:{exclude:e?.exclude?[...e?.exclude,l]:[l]})},[x,f]=(0,y.useTabSwitch)(e.id,"settings"),v=(0,ze.__experimentalGetSettings)();return(0,k.jsxs)(d.InspectorControls,{children:[(0,k.jsx)(h.R7,{value:x,options:[{label:(0,l.__)("Settings","otter-blocks"),value:"settings"},{label:(0,l.__)("Style","otter-blocks"),value:"style"}],onChange:f}),"settings"===x&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Time Settings","otter-blocks"),children:[(0,Ae.applyFilters)("otter.countdown.controls.settings",(0,k.jsx)(Re,{attributes:e}),{attributes:e,setAttributes:t}),void 0===e.mode&&(0,k.jsx)(p.Dropdown,{position:"bottom left",headerTitle:(0,l.__)("Select the date for the deadline","otter-blocks"),renderToggle:({onToggle:t,isOpen:o})=>(0,k.jsx)(k.Fragment,{children:(0,k.jsx)(p.Button,{onClick:t,isSecondary:!0,"aria-expanded":o,className:"o-extend-btn",children:e.date?(0,ze.format)(v.formats.datetime,e.date):(0,l.__)("Select Date","otter-blocks")})}),renderContent:()=>(0,k.jsx)(p.DateTimePicker,{currentDate:e.date,onChange:e=>t({date:e})}),className:"o-extend"})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Display","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Display Days","otter-blocks"),checked:!e?.exclude?.includes("day"),onChange:e=>u(e,"day")}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Display Hours","otter-blocks"),checked:!e?.exclude?.includes("hour"),onChange:e=>u(e,"hour")}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Display Minutes","otter-blocks"),checked:!e?.exclude?.includes("minute"),onChange:e=>u(e,"minute")}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Display Seconds","otter-blocks"),checked:!e?.exclude?.includes("second"),onChange:e=>u(e,"second")}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Display Separators","otter-blocks"),checked:e?.hasSeparators,onChange:e=>t({hasSeparators:e})}),(0,k.jsx)(h.k3,{label:(0,l.__)("Space Between boxes","otter-blocks"),children:(0,k.jsx)(p.RangeControl,{value:null!==(o=c([e.gap,e.gapTablet,e.gapMobile]))&&void 0!==o?o:6,onChange:e=>n(e,["gap","gapTablet","gapMobile"]),min:0,max:100,allowReset:!0})})]}),(0,k.jsx)(p.PanelBody,{title:(0,l.__)("End Action","otter-blocks"),initialOpen:!1,children:(0,Ae.applyFilters)("otter.countdown.controls.end",(0,k.jsx)(Ne,{}),{attributes:e,setAttributes:t})}),(0,k.jsx)(h.Cu,{})]}),"style"===x&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Dimensions","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(h.k3,{label:(0,l.__)("Width","otter-blocks"),children:(0,k.jsx)(p.__experimentalUnitControl,{value:null!==(s=c([e.containerWidth,e.containerWidthTablet,e.containerWidthMobile]))&&void 0!==s?s:"100%",onChange:e=>n(e,["containerWidth","containerWidthTablet","containerWidthMobile"])})}),(0,k.jsx)(h.k3,{label:(0,l.__)("Height","otter-blocks"),children:(0,k.jsx)(p.RangeControl,{value:null!==(a=c([e.height,e.heightTablet,e.heightMobile]))&&void 0!==a?a:100,onChange:e=>n(e,["height","heightTablet","heightMobile"]),min:50,max:800,allowReset:!0})}),(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Position","otter-blocks"),value:e.alingment,onChange:e=>t({alignment:e||void 0}),options:[{label:(0,l.__)("Default","otter-blocks"),value:""},{label:(0,l.__)("Left","otter-blocks"),value:"flex-start"},{label:(0,l.__)("Center","otter-blocks"),value:"center"},{label:(0,l.__)("Right","otter-blocks"),value:"flex-end"}]}),e.hasSeparators&&(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Separator Alignment","otter-blocks"),value:e.separatorAlignment,onChange:e=>{t(e?{separatorAlignment:e}:{separatorAlignment:void 0})},options:[{label:(0,l.__)("Default","otter-blocks"),value:""},{label:(0,l.__)("Center","otter-blocks"),value:"center"}]})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Typography","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(h.k3,{label:(0,l.__)("Time Value Font Size","otter-blocks"),children:(0,k.jsx)(p.FontSizePicker,{fontSizes:Fe,withReset:!0,value:c([e.valueFontSize,e.valueFontSizeTablet,e.valueFontSizeMobile]),onChange:e=>n(e,["valueFontSize","valueFontSizeTablet","valueFontSizeMobile"])})}),(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Time Value Font Weight","otter-blocks"),value:e.valueFontWeight,onChange:e=>t({valueFontWeight:e||void 0}),options:Le}),(0,k.jsx)(h.k3,{label:(0,l.__)("Label Font Size","otter-blocks"),children:(0,k.jsx)(p.FontSizePicker,{fontSizes:Fe,withReset:!0,value:c([e.labelFontSize,e.labelFontSizeTablet,e.labelFontSizeMobile]),onChange:e=>n(e,["labelFontSize","labelFontSizeTablet","labelFontSizeMobile"])})}),(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Label Font Weight","otter-blocks"),value:e.labelFontWeight,onChange:e=>t({labelFontWeight:e||void 0}),options:Le})]}),(0,k.jsx)(d.PanelColorSettings,{title:(0,l.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:e.backgroundColor,onChange:e=>t({backgroundColor:e}),label:(0,l.__)("Background","otter-blocks"),isShownByDefault:!0},{value:e.valueColor,onChange:e=>t({valueColor:e}),label:(0,l.__)("Time Value","otter-blocks"),isShownByDefault:!1},{value:e.labelColor,onChange:e=>t({labelColor:e}),label:(0,l.__)("Label","otter-blocks"),isShownByDefault:!1},{value:e.separatorColor,onChange:e=>t({separatorColor:e}),label:(0,l.__)("Separator","otter-blocks"),isShownByDefault:!1},{value:e.borderColor,onChange:e=>t({borderColor:e}),label:(0,l.__)("Border","otter-blocks"),isShownByDefault:!1}],children:(0,k.jsx)(d.ContrastChecker,{textColor:e.backgroundColor,backgroundColor:e.valueColor})}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Border","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Type","otter-blocks"),value:null!==(i=e.borderStyle)&&void 0!==i?i:"solid",onChange:e=>t({borderStyle:"solid"===e?void 0:e}),options:[{label:(0,l.__)("None","otter-blocks"),value:"none"},{label:(0,l.__)("Solid","otter-blocks"),value:"solid"},{label:(0,l.__)("Double","otter-blocks"),value:"double"},{label:(0,l.__)("Dotted","otter-blocks"),value:"dotted"},{label:(0,l.__)("Dashed","otter-blocks"),value:"dashed"}]}),"none"!==e.borderStyle&&(0,k.jsx)(h.k3,{label:(0,l.__)("Width","otter-blocks"),children:(0,k.jsx)(p.RangeControl,{value:null!==(r=c([e.borderWidth,e.borderWidthTablet,e.borderWidthMobile]))&&void 0!==r?r:2,onChange:e=>n(e,["borderWidth","borderWidthTablet","borderWidthMobile"]),min:0,max:50,allowReset:!0})}),(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Radius","otter-blocks"),values:(0,g.n_)(e.borderRadiusBox,{left:"0px",right:"0px",bottom:"0px",top:"0px"}),onChange:e=>{t({borderRadiusBox:(0,g.JE)(e,{left:"0px",right:"0px",bottom:"0px",top:"0px"})})},id:"o-border-raduis-box"})]})]})]})};const Oe=36e5,He=864e5,Ve=(e={})=>{var t;return null!==(t=parseInt(e?.days||"0")*He+parseInt(e?.hours||"0")*Oe+6e4*parseInt(e?.minutes||"0")+1e3*parseInt(e?.seconds||"0"))&&void 0!==t?t:0},De=(e,t)=>{null!=e||(e=0);const o=Math.floor(e/He),s=Math.floor(e/Oe%24),a=Math.floor(e/6e4%60),i=Math.floor(e/1e3%60);return[{tag:"day",name:1<o?(0,l.__)("Days","otter-blocks"):(0,l.__)("Day","otter-blocks"),value:o},{tag:"hour",name:1<s?(0,l.__)("Hours","otter-blocks"):(0,l.__)("Hour","otter-blocks"),value:s},{tag:"minute",name:1<a?(0,l.__)("Minutes","otter-blocks"):(0,l.__)("Minute","otter-blocks"),value:a},{tag:"second",name:1<i?(0,l.__)("Seconds","otter-blocks"):(0,l.__)("Second","otter-blocks"),value:i}].filter((({tag:e})=>!t?.exclude?.includes(e))).map((e=>(t?.keepNeg||(e.value=Math.max(0,e.value)),e)))};var Ge=o(1609);const Ee=({name:e,value:t,tag:o})=>(0,k.jsxs)("div",{name:o,className:n()("otter-countdown__display-area",{"is-main-component":"separator"!==o}),children:[(0,k.jsx)("div",{className:"otter-countdown__value",children:t}),(0,k.jsx)("div",{className:"otter-countdown__label",children:e})]});var $e=({time:e,settings:t,hasSeparators:o})=>{const l=De(null!=e?e:0,4===t?.exclude?.length?{}:{exclude:t?.exclude}),s=o?(0,g.kp)(l,{name:"sep",value:":",tag:"separator"}):l,a=s?.map(((e,t)=>(0,Ge.createElement)(Ee,{...e,key:t})));return(0,k.jsx)("div",{className:"otter-countdown__container",children:void 0!==e&&(0,k.jsx)("div",{className:"otter-countdown__display",children:a})})};const{attributes:We}=Be;const Ue=({name:e,value:t,tag:o})=>(0,k.jsxs)("div",{name:o,className:n()("otter-countdown__display-area",{"is-main-component":"separator"!==o}),children:[(0,k.jsx)("div",{className:"otter-countdown__value",children:t}),(0,k.jsx)("div",{className:"otter-countdown__label",children:e})]}),qe=({time:e,hasSeparators:t})=>{const o=t?(0,g.kp)(e,{name:"sep",value:":",tag:"separator"}):e,l=o?.map(((e,t)=>(0,Ge.createElement)(Ue,{...e,key:t})));return void 0!==e?(0,k.jsx)("div",{className:"otter-countdown__container",children:(0,k.jsx)("div",{className:"otter-countdown__display",children:l})}):(0,k.jsx)(k.Fragment,{})};const{name:Ze}=Be;(0,s.registerBlockType)(Ze,{...Be,title:(0,l.__)("Countdown","otter-blocks"),description:(0,l.__)("Set a countdown for a date. Powered by Otter.","otter-blocks"),icon:i.countdownIcon,keywords:["countdown","time","counter"],edit:({attributes:e,setAttributes:t,clientId:o})=>{const[s,a]=(0,b.useState)(0);(0,b.useEffect)((()=>{const t=(0,y.blockInit)(o,We);return()=>t(e.id)}),[e.id]),(0,b.useEffect)((()=>{if(void 0===e.borderRadiusBox&&(e.borderRadius||e.borderRadiusBottomLeft||e.borderRadiusTopRight||e.borderRadiusTopLeft||e.borderRadiusBottomRight)){const o=(0,H.pickBy)("linked"===e?.borderRadiusType?{left:(0,g.tJ)(e.borderRadius),right:(0,g.tJ)(e.borderRadius),bottom:(0,g.tJ)(e.borderRadius),top:(0,g.tJ)(e.borderRadius)}:{left:(0,g.tJ)(e.borderRadiusBottomLeft),right:(0,g.tJ)(e.borderRadiusTopRight),bottom:(0,g.tJ)(e.borderRadiusBottomRight),top:(0,g.tJ)(e.borderRadiusTopLeft)},(e=>e));(0,H.isEmpty)(o)||t({borderRadiusBox:o,borderRadius:void 0,borderRadiusBottomLeft:void 0,borderRadiusTopRight:void 0,borderRadiusBottomRight:void 0,borderRadiusTopLeft:void 0,borderRadiusType:void 0})}"timer"===e.mode||e.date||t({date:Pe()().utc().add(1,"week").format("YYYY-MM-DDTHH:mm:ss")})}),[]),(0,b.useEffect)((()=>{let t;return"timer"!==e.mode&&(t=setInterval((()=>{if(e.date){const t=1e3*Pe()(e.date+(0,g.Md)()).unix();a(t-Date.now())}}),500)),()=>{clearInterval(t)}}),[e.date,e.mode]);const i={"--border-radius":(0,g.a0)(e.borderRadiusBox),"--border-style":e.borderStyle,"--background-color":e.backgroundColor,"--border-color":e.borderColor,"--container-width":e.containerWidth,"--container-width-tablet":e.containerWidthTablet,"--container-width-mobile":e.containerWidthMobile,"--height":(0,g.ws)(e.height),"--height-tablet":(0,g.ws)(e.heightTablet),"--height-mobile":(0,g.ws)(e.heightMobile),"--border-width":(0,g.ws)(e.borderWidth),"--border-width-tablet":(0,g.ws)(e.borderWidthTablet),"--border-width-mobile":(0,g.ws)(e.borderWidthMobile),"--gap":(0,g.ws)(e.gap),"--gap-tablet":(0,g.ws)(e.gapTablet),"--gap-mobile":(0,g.ws)(e.gapMobile),"--value-font-size":(0,g.ws)(e.valueFontSize),"--value-font-size-tablet":(0,g.ws)(e.valueFontSizeTablet),"--value-font-size-mobile":(0,g.ws)(e.valueFontSizeMobile),"--label-font-size":(0,g.ws)(e.labelFontSize),"--label-font-size-tablet":(0,g.ws)(e.labelFontSizeTablet),"--label-font-size-mobile":(0,g.ws)(e.labelFontSizeMobile),"--alignment":e.alignment,"--padding":(0,g.a0)(e.padding),"--padding-tablet":(0,g.a0)(e.paddingTablet),"--padding-mobile":(0,g.a0)(e.paddingMobile),"--value-font-weight":e.valueFontWeight,"--label-font-weight":e.labelFontWeight},[r,c]=(0,y.useCSSNode)();(0,b.useEffect)((()=>{c([`.otter-countdown__display-area .otter-countdown__value {\n\t\t\t\tcolor: ${e.valueColor};\n\t\t\t}`,`.otter-countdown__display-area .otter-countdown__label {\n\t\t\t\tcolor: ${e.labelColor};\n\t\t\t}`,`.otter-countdown__display-area[name="separator"] .otter-countdown__value {\n\t\t\t\tcolor: ${e.separatorColor};\n\t\t\t}`,"center"===e.separatorAlignment?'\n\t\t\t.otter-countdown__display-area[name="separator"] .otter-countdown__label {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t\t':""])}),[e.valueColor,e.labelColor,e.separatorColor,e.separatorAlignment]);const u=(0,d.useBlockProps)({id:e.id,className:n()(r,"ready"),style:i});return(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(Ie,{attributes:e,setAttributes:t}),(0,k.jsxs)("div",{...u,children:[(0,k.jsx)($e,{time:(()=>{switch(e.mode){case"timer":return Ve(e.timer);case"interval":return((e,t)=>{if(!e||!t)return 0;const o=new Date(e).getTime();return new Date(t).getTime()-o})(e.startInterval,e.endInterval);default:return s}})(),settings:{exclude:e?.exclude},hasSeparators:e.hasSeparators}),4===e?.exclude?.length&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)("br",{}),(0,k.jsx)(p.Notice,{isDismissible:!1,status:"info",children:(0,l.__)("The Countdown will be hidden in page","otter-blocks")})]})]})]})},save:({attributes:e})=>{const t=e.startInterval&&e.endInterval?{"data-intv-start":e.startInterval,"data-intv-end":e.endInterval}:{},o=d.useBlockProps.save({id:e.id,"data-date":e.date,"data-bhv":e.behaviour?e.behaviour:void 0,"data-redirect-link":"redirectLink"===e.behaviour&&e.redirectLink?e.redirectLink:void 0,"data-mode":e.mode?e.mode:void 0,"data-timer":(0,H.isEmpty)(e.timer)?void 0:(l=e.timer,Ve(l).toString()),"data-on-end-action":e.onEndAction?e.onEndAction:void 0,...t});var l;return(0,k.jsx)("div",{...o,children:(0,k.jsx)(qe,{time:De(0,{exclude:e?.exclude}),hasSeparators:e?.hasSeparators})})},example:{attributes:{date:"2024-07-15T15:03:00"}}});var Je=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/flip","title":"Flip Card","category":"themeisle-blocks","description":"Make a card with a flip effect. Powered by Otter.","keywords":["flip card","container","animation"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"isInverted":{"type":"boolean"},"title":{"type":"string"},"description":{"type":"string"},"animType":{"type":"string","default":"flipY"},"width":{"type":["number","string"]},"widthTablet":{"type":["string"]},"widthMobile":{"type":["string"]},"height":{"type":["number","string"]},"heightTablet":{"type":["string"]},"heightMobile":{"type":["string"]},"padding":{"type":["number","object"]},"paddingTablet":{"type":"object"},"paddingMobile":{"type":"object"},"borderWidth":{"type":["number","object"]},"borderColor":{"type":"string"},"borderRadius":{"type":["number","object"]},"backgroundColor":{"type":"string"},"frontVerticalAlign":{"type":"string"},"frontHorizontalAlign":{"type":"string"},"backVerticalAlign":{"type":"string"},"frontMedia":{"type":"object"},"frontMediaWidth":{"type":["number","string"]},"frontMediaHeight":{"type":["number","string"]},"frontBackgroundImage":{"type":"object"},"frontBackgroundType":{"type":"string","default":"color"},"frontBackgroundColor":{"type":"string"},"frontBackgroundGradient":{"type":"string"},"frontBackgroundPosition":{"type":"object"},"frontBackgroundRepeat":{"type":"string"},"frontBackgroundAttachment":{"type":"string"},"frontBackgroundSize":{"type":"string"},"backBackgroundImage":{"type":"object"},"backBackgroundType":{"type":"string","default":"color"},"backBackgroundColor":{"type":"string"},"backBackgroundGradient":{"type":"string"},"backBackgroundPosition":{"type":"object"},"backBackgroundRepeat":{"type":"string"},"backBackgroundSize":{"type":"string"},"backBackgroundAttachment":{"type":"string"},"boxShadow":{"type":"boolean","default":false},"boxShadowColor":{"type":"string","default":"#000000"},"boxShadowColorOpacity":{"type":"number","default":50},"boxShadowBlur":{"type":"number","default":5},"boxShadowHorizontal":{"type":"number","default":0},"boxShadowVertical":{"type":"number","default":0},"titleFontSize":{"type":["number","string"]},"descriptionFontSize":{"type":["number","string"]},"titleColor":{"type":"string"},"descriptionColor":{"type":"string"},"frontContentType":{"type":"string"}},"editorStyle":"otter-flip-editor","style":"otter-flip-style"}');const Ke={top:"flex-start",left:"flex-start",bottom:"flex-end",right:"flex-end",center:"center"},Ye={"flex-start":"top",center:"center","flex-end":"bottom"},Qe={"flex-start":"left",center:"center","flex-end":"right"},Xe=(e,t)=>{if(e&&t)return`${Ye[e]} ${Qe[t]}`};var et=({attributes:e,setAttributes:t,currentSide:o})=>{const s=d.__experimentalBlockAlignmentMatrixControl||d.__experimentalBlockAlignmentMatrixToolbar;return(0,k.jsx)(d.BlockControls,{children:("front"===o&&!Boolean(e.isInverted)||"back"===o&&Boolean(e.isInverted))&&(0,k.jsx)(p.Toolbar,{children:(0,k.jsx)(s,{label:(0,l.__)("Change front side content position","otter-blocks"),value:Xe(e.frontVerticalAlign,e.frontHorizontalAlign),onChange:e=>{const o=e?.split(" ");t({frontVerticalAlign:Ke?.[o?.[0]],frontHorizontalAlign:Ke?.[o?.[1]]})}})})})};const tt=[{name:"14",size:"14px",slug:"14"},{name:"16",size:"16px",slug:"16"},{name:"18",size:"18px",slug:"18"},{name:"24",size:"24px",slug:"24"}];var ot=({attributes:e,setAttributes:t,currentSide:o,setSide:s})=>{var a,r,n,c,u,x,f;const[v,_]=(0,y.useTabSwitch)(e.id,"settings"),{responsiveSetAttributes:w,responsiveGetAttributes:C}=(0,m.d)(t);return(0,k.jsxs)(d.InspectorControls,{children:[(0,k.jsx)(h.R7,{value:v,options:[{label:(0,l.__)("Settings","otter-blocks"),value:"settings"},{label:(0,l.__)("Style","otter-blocks"),value:"style"}],onChange:_}),(0,k.jsxs)("div",{children:["settings"===v&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Flip Settings","otter-blocks"),children:[(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Flip Direction","otter-blocks"),value:e.animType,options:[{label:(0,l.__)("Bottom to Top","otter-blocks"),value:"flipX"},{label:(0,l.__)("Top to Bottom","otter-blocks"),value:"flipX-rev"},{label:(0,l.__)("Left to Right","otter-blocks"),value:"flipY"},{label:(0,l.__)("Right to Left","otter-blocks"),value:"flipY-rev"}],onChange:e=>t({animType:e})}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Invert the Sides","otter-blocks"),checked:e.isInverted,onChange:e=>t({isInverted:e}),help:(0,l.__)("Use this to display the back side first.","otter-blocks")})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Front Side Content","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(h.Aw,{label:(0,l.__)("Content Type","otter-blocks"),options:[{label:(0,l.__)("None","otter-blocks"),value:"none"},{label:(0,l.__)("Image","otter-blocks"),value:"image"}],value:null!==(a=e?.frontContentType)&&void 0!==a?a:"none",onChange:e=>{const o={frontContentType:(0,H.isEmpty)(e)||"none"===e?void 0:e};((0,H.isEmpty)(e)||"none"===e)&&(o.frontMedia=void 0),t(o)}}),"image"===e.frontContentType&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.BaseControl,{label:(0,l.__)("Media Image","otter-blocks"),help:(0,l.__)("Set an image as showcase.","otter-blocks"),children:e.frontMedia?.url?(0,k.jsxs)(p.BaseControl,{children:[(0,k.jsx)("img",{src:e.frontMedia.url,alt:e.frontMedia.alt,style:{border:"2px solid var( --wp-admin-theme-color)",maxHeight:"250px"}}),(0,k.jsx)(p.Button,{isSecondary:!0,onClick:()=>t({frontMedia:void 0}),children:(0,l.__)("Remove image","otter-blocks")})]}):(0,k.jsx)(d.MediaPlaceholder,{labels:{title:(0,l.__)("Media Image","otter-blocks")},accept:"image/*",allowedTypes:["image"],value:e.frontMedia,onSelect:e=>{t({frontMedia:(0,H.pick)(e,["id","alt","url"]),frontMediaHeight:(0,g.ws)(e?.sizes?.medium.height),frontMediaWidth:(0,g.ws)(e?.sizes?.medium.width)})}})}),(0,k.jsx)(p.__experimentalUnitControl,{onChange:e=>t({frontMediaWidth:e}),label:(0,l.__)("Media Width","otter-blocks"),isUnitSelectTabbable:!0,isResetValueOnUnitChange:!0,value:(0,g.ws)(e.frontMediaWidth)}),(0,k.jsx)("br",{}),(0,k.jsx)(p.__experimentalUnitControl,{onChange:e=>t({frontMediaHeight:e}),label:(0,l.__)("Media Height","otter-blocks"),isUnitSelectTabbable:!0,isResetValueOnUnitChange:!0,value:(0,g.ws)(e.frontMediaHeight)})]})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Alignment","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(h.Aw,{label:(0,l.__)("Sides","otter-blocks"),options:[{label:(0,l.__)("Front","otter-blocks"),value:"front"},{label:(0,l.__)("Back","otter-blocks"),value:"back"}],value:o,onChange:s}),"front"===o&&!Boolean(e.isInverted)||"back"===o&&Boolean(e.isInverted)?(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.BaseControl,{label:(0,l.__)("Vertical","otter-blocks"),children:(0,k.jsx)(h.l,{options:[{icon:i.alignTop,value:"flex-start"},{icon:i.alignCenter,value:"center"},{icon:i.alignBottom,value:"flex-end"}],value:null!==(r=e.frontVerticalAlign)&&void 0!==r?r:"center",onChange:e=>t({frontVerticalAlign:e})})}),(0,k.jsx)(p.BaseControl,{label:(0,l.__)("Horizontal","otter-blocks"),children:(0,k.jsx)(h.l,{options:[{icon:D.A,value:"flex-start"},{icon:G.A,value:"center"},{icon:E.A,value:"flex-end"}],value:null!==(n=e.frontHorizontalAlign)&&void 0!==n?n:"center",onChange:e=>t({frontHorizontalAlign:e})})})]}):(0,k.jsx)(p.BaseControl,{label:(0,l.__)("Vertical","otter-blocks"),children:(0,k.jsx)(h.l,{options:[{icon:i.alignTop,value:"flex-start"},{icon:i.alignCenter,value:"center"},{icon:i.alignBottom,value:"flex-end"}],value:null!==(c=e.backVerticalAlign)&&void 0!==c?c:"center",onChange:e=>t({backVerticalAlign:e})})})]}),(0,k.jsx)(h.Cu,{})]}),"style"===v&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.PanelBody,{title:(0,l.__)("Dimensions","otter-blocks"),children:(0,k.jsxs)(h.k3,{label:(0,l.__)("Screen Type","otter-blocks"),children:[(0,k.jsx)(p.__experimentalUnitControl,{label:(0,l.__)("Width","otter-blocks"),value:null!==(u=C([(0,H.isNumber)(e.width)?(0,g.ws)(e.width):e?.width,e.widthTablet,e?.widthMobile]))&&void 0!==u?u:"100%",onChange:t=>w(t,["width","widthTablet","widthMobile"],e.width),isUnitSelectTabbable:!0,isResetValueOnUnitChange:!0,allowReset:!0}),(0,k.jsx)("br",{}),(0,k.jsx)(p.__experimentalUnitControl,{label:(0,l.__)("Height","otter-blocks"),value:null!==(x=C([(0,H.isNumber)(e.height)?(0,g.ws)(e.height):e?.height,e.heightTablet,e?.heightMobile]))&&void 0!==x?x:"300px",onChange:t=>w(t,["height","heightTablet","heightMobile"],e.height),isUnitSelectTabbable:!0,isResetValueOnUnitChange:!0,allowReset:!0,units:[{default:300,label:"px",value:"px"},{default:20,label:"em",value:"em"},{default:20,label:"rem",value:"rem"},{default:30,label:"vw",value:"vw"},{default:35,label:"vh",value:"vh"}]}),(0,k.jsx)("br",{}),(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Padding","otter-blocks"),values:null!==(f=C([e?.padding,e.paddingTablet,e?.paddingMobile]))&&void 0!==f?f:(0,H.isNumber)(e.padding)?(0,g.kq)((0,g.ws)(e.padding)):(0,g.kq)("20px"),onChange:e=>{let t={};"object"==typeof e&&(t=Object.fromEntries(Object.entries((0,H.pick)(e,["top","bottom","left","right"])).filter((([e,t])=>null!=t)))),(0,H.isEmpty)(t)&&(t=void 0),w(t,["padding","paddingTablet","paddingMobile"])},allowReset:!0})]})}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Typography Front Side","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.BaseControl,{label:(0,l.__)("Title","otter-blocks"),children:(0,k.jsx)(p.FontSizePicker,{value:(0,g.ws)(e.titleFontSize),onChange:e=>t({titleFontSize:e}),fontSizes:[...tt,{name:"32",size:"32px",slug:"32"}],allowReset:!0})}),(0,k.jsx)(p.BaseControl,{label:(0,l.__)("Description","otter-blocks"),children:(0,k.jsx)(p.FontSizePicker,{value:(0,g.ws)(e.descriptionFontSize),onChange:e=>t({descriptionFontSize:e}),fontSizes:[...tt,{name:"28",size:"28px",slug:"28"}],allowReset:!0})})]}),(0,k.jsx)(p.PanelBody,{title:(0,l.__)("Front Side","otter-blocks"),initialOpen:!1,children:(0,k.jsx)(h.zZ,{backgroundType:e.frontBackgroundType,backgroundColor:e.frontBackgroundColor,image:e.frontBackgroundImage,gradient:e.frontBackgroundGradient,focalPoint:e.frontBackgroundPosition,backgroundAttachment:e.frontBackgroundAttachment,backgroundRepeat:e.frontBackgroundRepeat,backgroundSize:e.frontBackgroundSize,changeBackgroundType:e=>t({frontBackgroundType:e}),changeImage:e=>{t({frontBackgroundImage:(0,H.pick)(e,["id","url"])})},removeImage:()=>t({frontBackgroundImage:void 0}),changeColor:e=>t({frontBackgroundColor:e}),changeGradient:e=>t({frontBackgroundGradient:e}),changeBackgroundAttachment:e=>t({frontBackgroundAttachment:e}),changeBackgroundRepeat:e=>t({frontBackgroundRepeat:e}),changeFocalPoint:e=>t({frontBackgroundPosition:e}),changeBackgroundSize:e=>t({frontBackgroundSize:e})})}),(0,k.jsx)(p.PanelBody,{title:(0,l.__)("Back Side","otter-blocks"),initialOpen:!1,children:(0,k.jsx)(h.zZ,{backgroundType:e.backBackgroundType,backgroundColor:e.backBackgroundColor,image:e.backBackgroundImage,gradient:e.backBackgroundGradient,focalPoint:e.backBackgroundPosition,backgroundAttachment:e.backBackgroundAttachment,backgroundRepeat:e.backBackgroundRepeat,backgroundSize:e.backBackgroundSize,changeBackgroundType:e=>t({backBackgroundType:e}),changeImage:e=>{t({backBackgroundImage:(0,H.pick)(e,["id","url"])})},removeImage:()=>t({backBackgroundImage:void 0}),changeColor:e=>t({backBackgroundColor:e}),changeGradient:e=>t({backBackgroundGradient:e}),changeBackgroundAttachment:e=>t({backBackgroundAttachment:e}),changeBackgroundRepeat:e=>t({backBackgroundRepeat:e}),changeFocalPoint:e=>t({backBackgroundPosition:e}),changeBackgroundSize:e=>t({backBackgroundSize:e})})}),(0,k.jsx)(d.PanelColorSettings,{title:(0,l.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:e.borderColor,onChange:e=>t({borderColor:e}),label:(0,l.__)("Border","otter-blocks"),isShownByDefault:!1},{value:e.titleColor,onChange:e=>t({titleColor:e}),label:(0,l.__)("Title","otter-blocks"),isShownByDefault:!1},{value:e.descriptionColor,onChange:e=>t({descriptionColor:e}),label:(0,l.__)("Description","otter-blocks"),isShownByDefault:!1}]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Border","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Width","otter-blocks"),values:(0,g.n_)((0,g.sO)(e.borderWidth),(0,g.kq)("3px")),onChange:e=>{t({borderWidth:(0,g.JE)(e,{left:"3px",right:"3px",bottom:"3px",top:"3px"})})},allowReset:!0}),(0,k.jsx)(p.__experimentalBoxControl,{id:"o-border-raduis-box",label:(0,l.__)("Radius","otter-blocks"),values:(0,g.n_)((0,g.sO)(e.borderRadius),(0,g.kq)("10px")),onChange:e=>{t({borderRadius:(0,g.JE)(e,{left:"10px",right:"10px",bottom:"10px",top:"10px"})})},allowReset:!0}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Shadow Properties","otter-blocks"),checked:e.boxShadow,onChange:e=>t({boxShadow:e})}),e.boxShadow&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(d.__experimentalColorGradientControl,{label:(0,l.__)("Color","otter-blocks"),colorValue:e.boxShadowColor,onColorChange:o=>{t({boxShadowColor:100>e.boxShadowColorOpacity&&o?.includes("var(")?getComputedStyle(document.documentElement,null).getPropertyValue(o?.replace("var(","")?.replace(")","")):o})}}),(0,k.jsxs)(h.HZ,{label:(0,l.__)("Shadow Properties","otter-blocks"),children:[(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Opacity","otter-blocks"),value:e.boxShadowColorOpacity,onChange:o=>{const l={boxShadowColorOpacity:o};100>o&&e.boxShadowColor?.includes("var(")&&(l.boxShadowColor=getComputedStyle(document.documentElement,null).getPropertyValue(e.boxShadowColor.replace("var(","").replace(")",""))),t(l)},min:0,max:100,allowReset:!0}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Blur","otter-blocks"),value:e.boxShadowBlur,onChange:e=>t({boxShadowBlur:e}),min:0,max:100,allowReset:!0}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Horizontal","otter-blocks"),value:e.boxShadowHorizontal,onChange:e=>t({boxShadowHorizontal:e}),min:-100,max:100,allowReset:!0}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Vertical","otter-blocks"),value:e.boxShadowVertical,onChange:e=>t({boxShadowVertical:e}),min:-100,max:100,allowReset:!0})]})]})]})]})]})]})};const{attributes:lt}=Je;const{name:st}=Je;(0,s.registerBlockType)(st,{...Je,title:(0,l.__)("Flip Card","otter-blocks"),description:(0,l.__)("Make a card with a flip effect. Powered by Otter.","otter-blocks"),icon:i.flipIcon,keywords:["flip card","container","animation"],edit:({attributes:e,setAttributes:t,clientId:o,isSelected:s})=>{var a,i,r,c,u,h,x,f,v;(0,b.useEffect)((()=>{const t=(0,y.blockInit)(o,lt);return()=>t(e.id)}),[e.id]),(0,m.g)("color"===e.frontBackgroundType&&e.frontBackgroundColor,e,t,"has-dark-front-bg","has-light-front-bg"),(0,m.g)("color"===e.backBackgroundType&&e.backBackgroundColor,e,t,"has-dark-back-bg","has-light-back-bg");const[_,w]=(0,b.useState)("front"),{responsiveGetAttributes:C}=(0,m.d)(t),j={"--width":null!==(a=C([(0,H.isNumber)(e.width)?(0,g.ws)(e.width):e?.width,e.widthTablet,e?.widthMobile]))&&void 0!==a?a:"100%","--width-tablet":e.widthTablet,"--width-mobile":e.widthMobile,"--height":null!==(i=C([(0,H.isNumber)(e.height)?(0,g.ws)(e.height):e?.height,e.heightTablet,e?.heightMobile]))&&void 0!==i?i:"300px","--height-tablet":e.heightTablet,"--height-mobile":e.heightMobile,"--border-width":void 0!==e.borderWidth&&(0,g._F)((0,g.n_)((0,g.kq)((0,g.ws)(e.borderWidth)),{left:"3px",right:"3px",bottom:"3px",top:"3px"})),"--border-color":e.borderColor,"--border-radius":void 0!==e.borderRadius&&(0,g._F)((0,g.n_)((0,g.kq)((0,g.ws)(e.borderRadius)),{left:"10px",right:"10px",bottom:"10px",top:"10px"})),"--front-background":(0,g.m)([["gradient"===e.frontBackgroundType&&e.frontBackgroundGradient,e.frontBackgroundGradient],["image"===e.frontBackgroundType&&e.frontBackgroundImage?.url,`url( ${e.frontBackgroundImage?.url} ) ${e.frontBackgroundRepeat||"repeat"} ${e.frontBackgroundAttachment||"scroll"} ${Math.round(null!==(r=e.frontBackgroundPosition?.x)&&void 0!==r?r:50)}% ${Math.round(null!==(c=e.frontBackgroundPosition?.y)&&void 0!==c?c:50)}%/${e.frontBackgroundSize||"auto"}`],[e.frontBackgroundColor]]),"--back-background":(0,g.m)([["gradient"===e.backBackgroundType&&e.backBackgroundGradient,e.backBackgroundGradient],["image"===e.backBackgroundType&&e.backBackgroundImage?.url,`url( ${e.backBackgroundImage?.url} ) ${e.backBackgroundRepeat||"repeat"} ${e.backBackgroundAttachment||"scroll"} ${Math.round(null!==(u=e.backBackgroundPosition?.x)&&void 0!==u?u:50)}% ${Math.round(null!==(h=e.backBackgroundPosition?.y)&&void 0!==h?h:50)}%/${e.backBackgroundSize||"auto"}`],[e.backBackgroundColor]]),"--box-shadow":e.boxShadow&&`${e.boxShadowHorizontal}px ${e.boxShadowVertical}px ${e.boxShadowBlur}px ${e.boxShadowColor?e.boxShadowColor.includes("#")&&e?.boxShadowColorOpacity&&0<=e.boxShadowColorOpacity?R()(e.boxShadowColor,e.boxShadowColorOpacity||1e-5):e.boxShadowColor:R()("#000000",void 0!==e.boxShadowColorOpacity?e.boxShadowColorOpacity||1e-5:1)}`,"--front-vertical-align":e.frontVerticalAlign,"--front-horizontal-align":e.frontHorizontalAlign,"--back-vertical-align":e.backVerticalAlign,"--front-media-width":(0,g.ws)(e.frontMediaWidth),"--front-media-height":(0,g.ws)(e.frontMediaHeight),"--padding":(0,g._F)(null!==(x=C([e?.padding,e.paddingTablet,e?.paddingMobile]))&&void 0!==x?x:(0,H.isNumber)(e.padding)?(0,g.kq)((0,g.ws)(e.padding)):(0,g.kq)("20px")),"--padding-tablet":(0,g._F)(e?.paddingTablet),"--padding-mobile":(0,g._F)(e?.paddingMobile)},[S,T]=(0,y.useCSSNode)();(0,b.useEffect)((()=>{T([`.o-flip-inner {\n\t\t\t\ttransform: ${"back"===_?"var( --flip-anim )":"unset"};\n\t\t\t}`,`.o-flip-front .o-flip-content h3 {\n\t\t\t\t${e.titleColor&&`color: ${e.titleColor}`};\n\t\t\t\t${e.titleFontSize&&`font-size: ${(0,g.ws)(e.titleFontSize)}`}\n\t\t\t}`,`.o-flip-front .o-flip-content p {\n\t\t\t\t${e.descriptionColor&&`color: ${e.descriptionColor}`};\n\t\t\t\t${e.descriptionFontSize&&`font-size: ${(0,g.ws)(e.descriptionFontSize)}`}\n\t\t\t}`])}),[_,e.titleFontSize,e.descriptionFontSize,e.titleColor,e.descriptionColor]);const B=(0,d.useBlockProps)({id:e.id,className:n()({flipX:"flipX"===e.animType,flipY:"flipY"===e.animType,"flipY-rev":"flipY-rev"===e.animType,"flipX-rev":"flipX-rev"===e.animType},S),style:j});return(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(et,{attributes:e,setAttributes:t,currentSide:_}),(0,k.jsx)(ot,{attributes:e,setAttributes:t,currentSide:_,setSide:w}),(0,k.jsxs)("div",{...B,children:[(0,k.jsxs)("div",{className:n()("o-flip-inner",{invert:e.isInverted}),children:[(0,k.jsx)("div",{className:"o-flip-front",children:(0,k.jsxs)("div",{className:"o-flip-content",children:[e.frontMedia?.url&&(0,k.jsx)("img",{className:"o-img",srcSet:e.frontMedia?.url,alt:e.frontMedia?.alt}),(0,k.jsx)(d.RichText,{tagName:"h3",placeholder:(0,l.__)("Front title","otter-blocks"),value:null!==(f=e.title)&&void 0!==f?f:"",onChange:e=>t({title:e})}),(0,k.jsx)(d.RichText,{tagName:"p",placeholder:(0,l.__)("This is is just a placeholder to help you visualise how the content is displayed in the flip box. Feel free to edit this with your actual content.","otter-blocks"),value:null!==(v=e.description)&&void 0!==v?v:"",onChange:e=>t({description:e})})]})}),(0,k.jsx)("div",{className:"o-flip-back",children:(0,k.jsx)(d.InnerBlocks,{renderAppender:s?d.InnerBlocks.DefaultBlockAppender:void 0,template:[["core/heading",{placeholder:(0,l.__)("Back title","otter-blocks"),level:3}],["core/paragraph",{placeholder:(0,l.__)("This is is just a placeholder to help you visualise how the content is displayed in the flip box. Feel free to edit this with your actual content.","otter-blocks")}],["core/buttons",{layout:{type:"flex",justifyContent:"center"}},[["core/button",{className:"is-style-fill",placeholder:(0,l.__)("Button text","otter-blocks")}]]]]})})]}),s&&(0,k.jsx)("div",{className:"o-switcher",children:(0,k.jsx)(p.Button,{variant:"primary",onClick:()=>w("back"===_?"front":"back"),children:"back"===_?(0,l.__)("Flip to Front","otter-blocks"):(0,l.__)("Flip to Back","otter-blocks")})})]})]})},save:({attributes:e})=>{const t=d.useBlockProps.save({id:e.id,className:n()("anim",{flipX:"flipX"===e.animType,flipY:"flipY"===e.animType,"flipY-rev":"flipY-rev"===e.animType,"flipX-rev":"flipX-rev"===e.animType})});return(0,k.jsx)("div",{...t,children:(0,k.jsxs)("div",{className:n()("o-flip-inner",{invert:e.isInverted}),children:[(0,k.jsx)("div",{className:"o-flip-front",children:(0,k.jsxs)("div",{className:"o-flip-content",children:[e.frontMedia?.url&&(0,k.jsx)("img",{className:"o-img",src:e.frontMedia?.url,srcSet:e.frontMedia?.url,alt:e.frontMedia?.alt}),(0,k.jsx)(d.RichText.Content,{tagName:"h3",value:e.title}),(0,k.jsx)(d.RichText.Content,{tagName:"p",value:e.description})]})}),(0,k.jsx)("div",{className:"o-flip-back",children:(0,k.jsx)(d.InnerBlocks.Content,{})})]})})},example:{attributes:{}}});var at=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/font-awesome-icons","title":"Icon","category":"themeisle-blocks","description":"Add icons from Font Awesome or ThemeIsle Icons library to your website. Powered by Otter.","keywords":["font awesome","dashicons","icons"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"align":{"type":["string","object"]},"library":{"type":"string","default":"fontawesome"},"prefix":{"type":"string","default":"fab"},"icon":{"type":"string","default":"themeisle"},"link":{"type":"string"},"newTab":{"type":"boolean","default":false},"fontSize":{"type":["number","string"],"default":"16px"},"padding":{"type":["number","object"]},"margin":{"type":["number","object"],"default":{"top":"5px","right":"5px","bottom":"5px","left":"5px"}},"backgroundColor":{"type":"string"},"textColor":{"type":"string"},"borderColor":{"type":"string"},"backgroundColorHover":{"type":"string"},"textColorHover":{"type":"string"},"borderColorHover":{"type":"string"},"borderSize":{"type":"number","default":0},"borderRadius":{"type":"number","default":0},"isSynced":{"type":"array"}},"editorStyle":"otter-font-awesome-editor","style":"otter-font-awesome-style"}');const it={prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0}},rt=[{attributes:{id:{type:"string"},align:{type:"string"},library:{type:"string",default:"fontawesome"},prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},link:{type:"string"},newTab:{type:"boolean",default:!1},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},backgroundColorHover:{type:"string"},textColorHover:{type:"string"},borderColorHover:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0},isSynced:{type:"array"}},supports:{align:["left","center","right"]},save:({attributes:e})=>{const t=me.Ay.icons[e.icon],o=d.useBlockProps.save({id:e.id});return(0,k.jsx)("p",{...o,children:(0,k.jsx)("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container",children:e.link?(0,k.jsx)("a",{href:e.link,target:e.newTab?"_blank":"_self",rel:"noopener noreferrer",children:"themeisle-icons"===e.library?(0,k.jsx)(t,{}):(0,k.jsx)("i",{className:`${e.prefix} fa-${e.icon}`})}):"themeisle-icons"===e.library?(0,k.jsx)(t,{}):(0,k.jsx)("i",{className:`${e.prefix} fa-${e.icon}`})})})}},{attributes:it,supports:{align:["left","center","right"]},migrate:e=>{let t="center";return e.className.includes("alignleft")&&(t="left"),e.className.includes("aligncenter")&&(t="center"),e.className.includes("alignright")&&(t="right"),{...e,align:t,className:""}},save:({attributes:e,className:t})=>{const o={borderRadius:e.borderRadius+"%",fontSize:e.fontSize+"px",padding:e.padding+"px"},l={color:e.textColor,backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderRadius:e.borderRadius+"%",borderStyle:"solid",borderWidth:e.borderSize+"px",display:"inline-block",margin:e.margin+"px"};return(0,k.jsx)("p",{className:t,style:{textAlign:e.align},children:(0,k.jsx)("span",{className:`${t}-container`,style:l,children:(0,k.jsx)("i",{className:`${e.prefix} fa-${e.icon}`,style:o})})})}},{attributes:{...it,align:{type:"string"}},save:({attributes:e,className:t})=>{const o={borderRadius:e.borderRadius+"%",fontSize:e.fontSize+"px",padding:e.padding+"px"},l={color:e.textColor,backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderRadius:e.borderRadius+"%",borderStyle:"solid",borderWidth:e.borderSize+"px",display:"inline-block",margin:e.margin+"px"};return(0,k.jsx)("p",{className:t,style:{textAlign:e.align},children:(0,k.jsx)("span",{className:"undefined-container",style:l,children:(0,k.jsx)("i",{className:`${e.prefix} fa-${e.icon}`,style:o})})})}},{attributes:{...it,id:{type:"string"},align:{type:"string"},link:{type:"string"},newTab:{type:"boolean",default:!1},backgroundColorHover:{type:"string"},textColorHover:{type:"string"},borderColorHover:{type:"string"}},save:({attributes:e,className:t})=>{const o={borderRadius:e.borderRadius+"%",borderStyle:"solid",borderWidth:e.borderSize+"px",display:"inline-block",margin:e.margin+"px"},l={borderRadius:e.borderRadius+"%",fontSize:e.fontSize+"px",padding:e.padding+"px"},s=()=>(0,k.jsx)("i",{className:`${e.prefix} fa-${e.icon}`,style:l});return(0,k.jsx)("p",{className:t,id:e.id,style:{textAlign:e.align},children:(0,k.jsx)("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container",style:o,children:e.link?(0,k.jsx)("a",{href:e.link,target:e.newTab?"_blank":"_self",style:{color:e.textColor},rel:"noopener noreferrer",children:(0,k.jsx)(s,{})}):(0,k.jsx)(s,{})})})}}];var nt=rt;const ct={left:"flex-start",center:"center",right:"flex-end","flex-start":"left","flex-end":"right"};var dt=({attributes:e,setAttributes:t,isSelected:o})=>{var l;const{responsiveSetAttributes:s,responsiveGetAttributes:a}=(0,m.d)(t);return(0,k.jsxs)(d.BlockControls,{children:[(0,k.jsx)(d.AlignmentToolbar,{value:ct[null!==(l=a([gt(e.align)?.desktop,gt(e.align)?.tablet,gt(e.align)?.mobile]))&&void 0!==l?l:"center"],onChange:t=>s(""===t?void 0:ct[t],["align.desktop","align.tablet","align.mobile"],gt(e.align))}),(0,k.jsx)(h.PJ,{isSelected:o,setAttributes:t,url:e.link,opensInNewTab:e.newTab})]})};const bt=[{name:(0,l.__)("Small","otter-blocks"),size:"16px",slug:"small"},{name:(0,l.__)("Medium","otter-blocks"),size:"32px",slug:"medium"},{name:(0,l.__)("Large","otter-blocks"),size:"48px",slug:"large"},{name:(0,l.__)("XL","otter-blocks"),size:"60px",slug:"xl"}];var ut=({attributes:e,setAttributes:t,getValue:o})=>{var s,a,i,r;const[n,c]=(0,b.useState)(!1),{responsiveSetAttributes:u,responsiveGetAttributes:y}=(0,m.d)(t);return(0,k.jsxs)(d.InspectorControls,{children:[(0,k.jsx)(p.PanelBody,{title:(0,l.__)("Icon","otter-blocks"),children:(0,k.jsx)(h.fW,{label:(0,l.__)("Icon Picker","otter-blocks"),library:e.library,prefix:e.prefix,icon:e.icon,changeLibrary:e=>{t({library:e,icon:"fontawesome"===e?"themeisle":"balance",prefix:"fab"})},onChange:e=>{t("object"==typeof e?{icon:e.name,prefix:e.prefix}:{icon:e})}})}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Dimensions","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(h.ax,{isSynced:e.isSynced,options:[{label:(0,l.__)("Size","otter-blocks"),value:"fontSize"},{label:(0,l.__)("Padding","otter-blocks"),value:"padding"},{label:(0,l.__)("Margin","otter-blocks"),value:"margin"}],setAttributes:t}),(0,k.jsx)(p.Disabled,{isDisabled:e.isSynced?.includes("fontSize")||!1,className:"o-disabled",children:(0,k.jsx)(p.FontSizePicker,{fontSizes:bt,withReset:!0,value:null!==(s=e.fontSize)&&void 0!==s?s:"16px",onChange:e=>t({fontSize:e})})}),(0,k.jsx)(p.Disabled,{isDisabled:e.isSynced?.includes("padding")||!1,className:"o-disabled",children:(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Padding","otter-blocks"),values:(0,H.isObjectLike)(e.padding)?e.padding:(0,$.eA)((0,g.ws)(null!==(a=e.padding)&&void 0!==a?a:5)),onChange:e=>t({padding:e})})}),(0,k.jsx)(p.Disabled,{isDisabled:e.isSynced?.includes("margin")||!1,className:"o-disabled",children:(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Margin","otter-blocks"),values:(0,H.isObjectLike)(e.margin)?e.margin:(0,$.eA)((0,g.ws)(null!==(i=e.margin)&&void 0!==i?i:5)),onChange:e=>t({margin:e})})}),(0,k.jsx)(h.k3,{label:(0,l.__)("Alignment","otter-blocks"),className:"buttons-alignment-control",children:(0,k.jsx)(h.l,{value:null!==(r=y([gt(e.align)?.desktop,gt(e.align)?.tablet,gt(e.align)?.mobile]))&&void 0!==r?r:"center",onChange:t=>u(""===t?void 0:t,["align.desktop","align.tablet","align.mobile"],gt(e.align)),options:[{icon:D.A,label:(0,l.__)("Left","otter-blocks"),value:"flex-start"},{icon:G.A,label:(0,l.__)("Center","otter-blocks"),value:"center"},{icon:E.A,label:(0,l.__)("Right","otter-blocks"),value:"flex-end"}],hasIcon:!0})})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Color","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(h.ax,{isSynced:e.isSynced,options:[{label:(0,l.__)("Background","otter-blocks"),value:"backgroundColor"},{label:(0,l.__)("Icon","otter-blocks"),value:"textColor"},{label:(0,l.__)("Hover Background","otter-blocks"),value:"backgroundColorHover"},{label:(0,l.__)("Hover Icon","otter-blocks"),value:"textColorHover"}],setAttributes:t}),(0,k.jsx)(h.l,{onChange:e=>c(e),value:n,options:[{value:!1,label:(0,l.__)("Normal","otter-blocks")},{value:!0,label:(0,l.__)("Hover","otter-blocks")}]}),(0,k.jsx)("br",{}),n?(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.Disabled,{isDisabled:e.isSynced?.includes("backgroundColorHover")||!1,className:"o-disabled",children:(0,k.jsx)(h._b,{label:(0,l.__)("Background","otter-blocks"),colorValue:o("backgroundColorHover"),onColorChange:e=>t({backgroundColorHover:e}),className:"is-list is-first"})}),(0,k.jsx)(p.Disabled,{isDisabled:e.isSynced?.includes("textColorHover")||!1,className:"o-disabled",children:(0,k.jsx)(h._b,{label:(0,l.__)("Icon","otter-blocks"),colorValue:o("textColorHover"),onColorChange:e=>t({textColorHover:e}),className:"is-list"})}),(0,k.jsx)(h._b,{label:(0,l.__)("Hover Border","otter-blocks"),colorValue:e.borderColorHover,onColorChange:e=>t({borderColorHover:e}),className:"is-list is-last"}),(0,k.jsx)("br",{}),(0,k.jsx)(d.ContrastChecker,{textColor:o("textColorHover"),backgroundColor:o("backgroundColorHover")})]}):(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.Disabled,{isDisabled:e.isSynced?.includes("backgroundColor")||!1,className:"o-disabled",children:(0,k.jsx)(h._b,{label:(0,l.__)("Background","otter-blocks"),colorValue:o("backgroundColor"),onColorChange:e=>t({backgroundColor:e}),className:"is-list is-first"})}),(0,k.jsx)(p.Disabled,{isDisabled:e.isSynced?.includes("textColor")||!1,className:"o-disabled",children:(0,k.jsx)(h._b,{label:(0,l.__)("Icon","otter-blocks"),colorValue:o("textColor"),onColorChange:e=>t({textColor:e}),className:"is-list"})}),(0,k.jsx)(h._b,{label:(0,l.__)("Border","otter-blocks"),colorValue:e.borderColor,onColorChange:e=>t({borderColor:e}),className:"is-list is-last"}),(0,k.jsx)("br",{}),(0,k.jsx)(d.ContrastChecker,{textColor:o("textColor"),backgroundColor:o("backgroundColor")})]})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Border Settings","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Border Size","otter-blocks"),value:e.borderSize,onChange:e=>t({borderSize:e}),step:.1,min:0,max:120}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Border Radius","otter-blocks"),value:e.borderRadius,onChange:e=>t({borderRadius:e}),step:.1,min:0,max:100})]})]})};const{attributes:pt}=at,ht={right:"flex-end",center:"center",left:"flex-start"},gt=e=>{var t;return(0,H.isString)(e)?{desktop:null!==(t=ht?.[e])&&void 0!==t?t:"center"}:e};const{name:mt}=at;(0,s.registerBlockType)(mt,{...at,title:(0,l.__)("Icon","otter-blocks"),description:(0,l.__)("Add icons from Font Awesome or ThemeIsle Icons library to your website. Powered by Otter.","otter-blocks"),icon:i.faIcon,keywords:["font awesome","dashicons","icons"],deprecated:nt,edit:({name:e,attributes:t,setAttributes:o,isSelected:l,clientId:s})=>{(0,b.useEffect)((()=>{const e=(0,y.blockInit)(s,pt);return()=>e(t.id)}),[t.id]);const a=me.Ay.icons[t.icon],i=o=>(0,y.getDefaultValueByField)({name:e,field:o,defaultAttributes:pt,attributes:t}),r={"--border-color":t.borderColor,"--border-size":void 0!==t.borderSize&&`${t.borderSize}px`,"--border-radius":void 0!==t.borderRadius&&`${t.borderRadius}%`,"--margin":(0,H.isObjectLike)(i("margin"))?(0,g.a0)(i("margin"),{top:"5px",right:"5px",bottom:"5px",left:"5px"}):i("margin")+"px","--padding":t.padding&&((0,H.isObjectLike)(i("padding"))?(0,g.a0)(i("padding"),{top:"5px",right:"5px",bottom:"5px",left:"5px"}):i("padding")+"px"),"--font-size":void 0!==t.fontSize&&((0,H.isNumber)(i("fontSize"))?`${i("fontSize")}px`:i("fontSize")),"--align":gt(t.align)?.desktop,"--align-tablet":gt(t.align)?.tablet,"--align-mobile":gt(t.align)?.mobile},c=(0,d.useBlockProps)({id:t.id,style:r});return(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(dt,{attributes:t,setAttributes:o,isSelected:l}),(0,k.jsx)(ut,{attributes:t,setAttributes:o,getValue:i}),(0,k.jsxs)("div",{...c,children:[(0,k.jsxs)("style",{children:[`#block-${s} .wp-block-themeisle-blocks-font-awesome-icons-container`+(0,g.SJ)([["color",i("textColor")],["background-color",i("backgroundColor")]]),`#block-${s} .wp-block-themeisle-blocks-font-awesome-icons-container:hover`+(0,g.SJ)([["color",i("textColorHover")],["background-color",i("backgroundColorHover")],["border-color",t.borderColorHover]]),`#block-${s} .wp-block-themeisle-blocks-font-awesome-icons-container a {`+(0,g.SJ)([["color",i("textColor")]]),`#block-${s} .wp-block-themeisle-blocks-font-awesome-icons-container svg`+(0,g.SJ)([["fill",i("textColor")]]),`#block-${s} .wp-block-themeisle-blocks-font-awesome-icons-container:hover svg`+(0,g.SJ)([["fill",i("textColorHover")]])]}),(0,k.jsx)("span",{className:n()("wp-block-themeisle-blocks-font-awesome-icons-container",{"nan-padding":t.padding&&!(0,H.isNumber)(t.padding)}),children:"themeisle-icons"===t.library?(0,k.jsx)(a,{}):(0,k.jsx)("i",{className:n()(`${t.prefix}`,`fa-${t.icon}`)})})]})]})},save:({attributes:e})=>{const t=me.Ay.icons[e.icon],o=d.useBlockProps.save({id:e.id}),l=n()(`${e.prefix}`,`fa-${e.icon}`);return(0,k.jsx)("div",{...o,children:(0,k.jsx)("span",{className:n()("wp-block-themeisle-blocks-font-awesome-icons-container",{"nan-padding":e.padding&&!(0,H.isNumber)(e.padding)}),children:e.link?(0,k.jsx)("a",{href:e.link,target:e.newTab?"_blank":"_self",rel:"noopener noreferrer",children:"themeisle-icons"===e.library?(0,k.jsx)(t,{}):(0,k.jsx)("i",{className:l})}):"themeisle-icons"===e.library?(0,k.jsx)(t,{}):(0,k.jsx)("i",{className:l})})})},example:{attributes:{fontSize:70}}});var yt=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/form","title":"Form","category":"themeisle-blocks","description":"Display a form for your clients. Powered by Otter.","keywords":["business","form","email"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"subject":{"type":"string"},"emailTo":{"type":"string"},"fromName":{"type":"string"},"optionName":{"type":"string"},"hasCaptcha":{"type":"boolean"},"provider":{"type":"string","default":""},"listId":{"type":"string"},"action":{"type":"string","default":"subscribe"},"submitLabel":{"type":"string"},"sendUserEmail":{"type":"boolean"},"redirectLink":{"type":"string"},"inputPadding":{"type":"object"},"inputPaddingTablet":{"type":"object"},"inputPaddingMobile":{"type":"object"},"labelColor":{"type":"string"},"helpLabelColor":{"type":"string"},"inputRequiredColor":{"type":"string"},"inputBorderRadius":{"type":["number","object"]},"inputBorderColor":{"type":"string"},"inputBorderWidth":{"type":["number","object"]},"submitMessage":{"type":"string"},"inputWidth":{"type":"number"},"submitMessageColor":{"type":"string"},"submitMessageErrorColor":{"type":"string"},"submitBackgroundColor":{"type":"string"},"submitBackgroundColorHover":{"type":"string"},"submitColor":{"type":"string"},"submitColorHover":{"type":"string"},"inputGap":{"type":"number"},"inputColor":{"type":"string"},"inputBackgroundColor":{"type":"string"},"inputsGap":{"type":"number"},"labelFontSize":{"type":"string"},"submitFontSize":{"type":"string"},"messageFontSize":{"type":"string"},"helpFontSize":{"type":"string"},"inputFontSize":{"type":"string"},"submitStyle":{"type":"string"},"submitStyleTablet":{"type":"string"},"submitStyleMobile":{"type":"string"},"isSynced":{"type":"array"},"buttonPadding":{"type":"object"},"buttonPaddingTablet":{"type":"object"},"buttonPaddingMobile":{"type":"object"}},"supports":{"align":["wide","full"]},"editorStyle":"otter-form-editor","style":"otter-form-style","script":"otter-form"}');const kt=[{attributes:{id:{type:"string"},subject:{type:"string"},emailTo:{type:"string"},optionName:{type:"string"},hasCaptcha:{type:"boolean"},provider:{type:"string",default:""},apiKey:{type:"string"},listId:{type:"string"},action:{type:"string",default:"subscribe"}},supports:{align:["wide","full"]},save:({attributes:e})=>{const t=e.provider&&e.apiKey&&e.listId,o=d.useBlockProps.save({id:e.id,className:n()({"is-subscription":t&&"subscribe"===e.action,"can-submit-and-subscribe":t&&"submit-subscribe"===e.action,"has-captcha":e.hasCaptcha}),"data-email-subject":e.subject,"data-option-name":e.optionName});return(0,k.jsx)("div",{...o,children:(0,k.jsxs)("div",{className:"otter-form__container",children:[(0,k.jsx)(d.InnerBlocks.Content,{}),(0,k.jsx)("div",{className:"wp-block-button",children:(0,k.jsx)("button",{className:"wp-block-button__link",children:"subscribe"===e.action?(0,l.__)("Subscribe","otter-blocks"):(0,l.__)("Submit","otter-blocks")})})]})})}}];var xt=kt,ft=o(4802),vt=o.n(ft),_t=o(5863),wt=o.n(_t),Ct=o(1455),jt=o.n(Ct),St=o(7677),Tt=o(8209);const Bt=(0,Tt.D)((()=>(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-tabs-inspector-tab-option__drag",tabIndex:0,children:(0,k.jsx)("span",{})}))),Mt={text:(0,l.__)("Text Field","otter-blocks"),email:(0,l.__)("Email Field","otter-blocks"),date:(0,l.__)("Date Field","otter-blocks"),number:(0,l.__)("Number Field","otter-blocks"),textarea:(0,l.__)("Textarea Field","otter-blocks"),select:(0,l.__)("Select Field","otter-blocks"),checkbox:(0,l.__)("Checkbox Field","otter-blocks"),radio:(0,l.__)("Radio Field","otter-blocks"),file:(0,l.__)("File Field","otter-blocks"),url:(0,l.__)("URL Field","otter-blocks"),hidden:(0,l.__)("Hidden Field","otter-blocks"),stripe:(0,l.__)("Stripe Field","otter-blocks")},Pt=(0,Tt.Zj)((({item:e,actions:t})=>{var o,s;const{inputField:a}=e,i=(e=>{const t=e?.name?.replace("themeisle-blocks/","");var o;return"form-input"===t||"form-multiple-choice"===t?null!==(o=e.attributes.type)&&void 0!==o?o:"text":"form-file"===t?"file":"form-hidden-field"===t?"hidden":"form-stripe-field"===t?"stripe":"textarea"})(a);return(0,k.jsxs)("div",{className:"wp-block-themeisle-blocks-tabs-inspector-tab-option",children:[(0,k.jsx)(Bt,{}),(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-tabs-inspector-tab-option__name",children:"stripe"===i?Mt.stripe:null!==(o=null!==(s=a?.attributes?.label)&&void 0!==s?s:Mt[i])&&void 0!==o?o:(0,l.__)("Invalid Field","otter-blocks")}),(0,k.jsx)(p.Button,{icon:"edit",label:(0,l.__)("Edit Field","otter-blocks"),showTooltip:!0,className:"wp-block-themeisle-blocks-tabs-inspector-tab-option__actions",onClick:()=>t?.select?.(a.clientId)}),(0,k.jsx)(p.Button,{icon:"no-alt",label:(0,l.__)("Remove Field","otter-blocks"),showTooltip:!0,className:"wp-block-themeisle-blocks-tabs-inspector-tab-option__actions",onClick:()=>t?.delete?.(a.clientId)})]})})),zt=e=>{var t,o,s,a;const i=null!==(t=e?.options)&&void 0!==t?t:[{value:"full",label:(0,l.__)("100%","otter-blocks"),isDefault:!0},{value:"o-c-three-quarters",label:(0,l.__)("75%","otter-blocks")},{value:"o-c-two-thirds",label:(0,l.__)("66%","otter-blocks")},{value:"o-c-half",label:(0,l.__)("50%","otter-blocks")},{value:"o-c-one-third",label:(0,l.__)("33%","otter-blocks")},{value:"o-c-one-quarter",label:(0,l.__)("25%","otter-blocks")}],r=null!==(o=e?.value)&&void 0!==o?o:(0,g.qL)(i,e?.attributes?.className),n=null!==(s=e?.onChange)&&void 0!==s?s:t=>{let o=t;"full"===t&&(o=void 0);const l=(0,g.c5)(e?.attributes?.className,i,o);e?.setAttributes({className:l})};return(0,k.jsx)(p.__experimentalToggleGroupControl,{label:null!==(a=e.label)&&void 0!==a?a:(0,l.__)("Width","otter-blocks"),value:r,onChange:n,isBlock:!0,children:i.map((e=>(0,k.jsx)(p.__experimentalToggleGroupControlOption,{value:e.value,label:e.label},e.value)))})},At=()=>[{label:(0,l.__)("Checkbox","otter-blocks"),value:"checkbox"},{label:(0,l.__)("Date","otter-blocks"),value:"date"},{label:(0,l.__)("Email","otter-blocks"),value:"email"},{label:Boolean(window.otterPro?.isActive)&&!Boolean(window.otterPro?.isExpired)?(0,l.__)("File","otter-blocks"):(0,l.__)("File (Pro)","otter-blocks"),value:"file"},{label:Boolean(window.otterPro?.isActive)&&!Boolean(window.otterPro?.isExpired)?(0,l.__)("Hidden","otter-blocks"):(0,l.__)("Hidden (Pro)","otter-blocks"),value:"hidden"},{label:(0,l.__)("Number","otter-blocks"),value:"number"},{label:(0,l.__)("Radio","otter-blocks"),value:"radio"},{label:(0,l.__)("Select","otter-blocks"),value:"select"},{label:Boolean(window.otterPro?.isActive)&&!Boolean(window.otterPro?.isExpired)?(0,l.__)("Stripe","otter-blocks"):(0,l.__)("Stripe (Pro)","otter-blocks"),value:"stripe"},{label:(0,l.__)("Text","otter-blocks"),value:"text"},{label:(0,l.__)("Textarea","otter-blocks"),value:"textarea"},{label:(0,l.__)("URL","otter-blocks"),value:"url"}],Ft=(e,t,o)=>{if(!e||!t||!o)return;const{replaceBlock:l}=(0,u.dispatch)("core/block-editor"),a=(0,g.m)([["textarea"===e,"form-textarea"],["select"===e||"checkbox"===e||"radio"===e,"form-multiple-choice"],["file"===e,"form-file"],["hidden"===e,"form-hidden-field"],["stripe"===e,"form-stripe-field"],["form-input"]]);l(t,(0,s.createBlock)(`themeisle-blocks/${a}`,(0,H.omit)({...o,type:e},"form-textarea"===a?["multipleSelection","options","type"]:["multipleSelection","options"])))},Lt=[{label:"",value:"hidden-label"}],Rt=e=>{const{attributes:t,setAttributes:o}=e;return(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Hide Label","otter-blocks"),checked:Boolean((0,g.qL)(Lt,t?.className)),onChange:e=>{const l=(0,g.c5)(t?.className,Lt,e?"hidden-label":void 0);o?.({className:l})}})},Nt=e=>["input","textarea","multiple-choice","file","hidden-field","stripe-field"].some((t=>e?.startsWith(`themeisle-blocks/form-${t}`))),It=e=>e?.innerBlocks?.map((e=>Nt(e?.name)?e:"themeisle-blocks/form"!==e?.name&&e?.innerBlocks?.length?It(e)?.flat():void 0))?.flat(),Ot=(0,k.jsxs)(b.Fragment,{children:[(0,l.__)("Allow easy identification of the field in features like Webhooks.","otter-blocks"),(0,k.jsxs)(p.ExternalLink,{href:"https://docs.themeisle.com/article/1878-how-to-use-webhooks-in-otter-forms#mapped-name",children:[" ",(0,l.__)("Learn More","otter-blocks")," "]})]}),Ht=(0,Tt.D)((()=>(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-tabs-inspector-tab-option__drag",tabIndex:"0",children:(0,k.jsx)("span",{})}))),Vt=(0,Tt.Zj)((e=>(0,k.jsx)(p.Tooltip,{text:(0,l.__)("Set as default or reorder","otter-blocks"),placement:"left-start",delay:1800,children:(0,k.jsxs)("div",{className:"wp-block-themeisle-blocks-tabs-inspector-tab-option",children:[e?.useRadio?(0,k.jsx)(b.Fragment,{children:(0,k.jsx)("div",{style:{width:"13px",marginLeft:"8px"},children:(0,k.jsx)("input",{type:"radio",checked:e?.tab?.isDefault,onChange:e?.setAsDefault,name:"default-tab"})})}):(0,k.jsx)(p.CheckboxControl,{checked:e?.tab?.isDefault,onChange:e?.setAsDefault}),(0,k.jsx)(Ht,{}),(0,k.jsx)(d.RichText,{onChange:e.onLabelChange,value:e?.tab?.content,placeholder:(0,l.__)("Click to Edit","otter-blocks"),tagName:"div",className:"wp-block-themeisle-blocks-tabs-inspector-tab-option__name"}),(0,k.jsx)(p.Button,{icon:"no-alt",label:(0,l.__)("Remove Tab","otter-blocks"),showTooltip:!0,className:"wp-block-themeisle-blocks-tabs-inspector-tab-option__actions",onClick:e?.deleteTab})]})}))),Dt=e=>e?.[1]&&e[0]!==e[1],Gt=[{name:(0,l.__)("Small","otter-blocks"),size:"0.875em",slug:"small"},{name:(0,l.__)("Medium","otter-blocks"),size:"1em",slug:"medium"},{name:(0,l.__)("Large","otter-blocks"),size:"1.125em",slug:"large"},{name:(0,l.__)("XL","otter-blocks"),size:"1.25em",slug:"xl"}],Et=({formOptions:e,setFormOption:t,attributes:o,setAttributes:s})=>(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.__experimentalToolsPanelItem,{hasValue:()=>!1,label:(0,l.__)("Email To","otter-blocks"),isShownByDefault:!0,className:"is-first",children:(0,k.jsx)(p.TextControl,{label:(0,l.__)("Email To","otter-blocks"),placeholder:(0,l.__)("Default is to admin site","otter-blocks"),type:"email",value:e.emailTo,onChange:e=>t({emailTo:e}),help:(0,l.__)("Default is site administrator.","otter-blocks")})}),(0,k.jsx)(p.__experimentalToolsPanelItem,{hasValue:()=>Boolean(e.cc),label:(0,l.__)("CC","otter-blocks"),onDeselect:()=>t({cc:""}),isShownByDefault:!1,children:(0,k.jsx)(p.TextControl,{label:(0,l.__)("CC","otter-blocks"),placeholder:(0,l.__)("Send copies to","otter-blocks"),type:"text",value:e.cc,onChange:e=>t({cc:e}),help:(0,l.__)("Add emails separated by commas: example1@otter.com, example2@otter.com.","otter-blocks")})}),(0,k.jsx)(p.__experimentalToolsPanelItem,{hasValue:()=>Boolean(e.bcc),label:(0,l.__)("BCC","otter-blocks"),onDeselect:()=>t({bcc:""}),isShownByDefault:!1,children:(0,k.jsx)(p.TextControl,{label:(0,l.__)("BCC","otter-blocks"),placeholder:(0,l.__)("Send copies to","otter-blocks"),type:"text",value:e.bcc,onChange:e=>t({bcc:e}),help:(0,l.__)("Add emails separated by commas: example1@otter.com, example2@otter.com.","otter-blocks")})}),(0,k.jsx)(p.__experimentalToolsPanelItem,{hasValue:()=>!1,label:(0,l.__)("Email Subject","otter-blocks"),isShownByDefault:!0,children:(0,k.jsx)(p.TextControl,{label:(0,l.__)("Email Subject","otter-blocks"),placeholder:(0,l.__)("A new submission","otter-blocks"),value:e.subject,onChange:e=>t({subject:e}),help:(0,l.__)("Enter the title of the email.","otter-blocks")})}),(0,k.jsx)(p.__experimentalToolsPanelItem,{hasValue:()=>Boolean(e.fromName),label:(0,l.__)("From Name","otter-blocks"),onDeselect:()=>t({fromName:""}),isShownByDefault:!1,children:(0,k.jsx)(p.TextControl,{label:(0,l.__)("From Name","otter-blocks"),value:e.fromName,onChange:e=>t({fromName:e}),help:(0,l.__)("Set the name of the sender. Some SMTP plugins might override this value.","otter-blocks")})}),(0,k.jsx)(p.__experimentalToolsPanelItem,{hasValue:()=>Boolean(e.fromEmail),label:(0,l.__)("From Email","otter-blocks"),onDeselect:()=>t({fromEmail:""}),isShownByDefault:!1,children:(0,k.jsx)(p.TextControl,{label:(0,l.__)("From Email","otter-blocks"),placeholder:(0,l.__)("e.g. noreply@example.com","otter-blocks"),type:"email",onChange:e=>t({fromEmail:e}),value:e.fromEmail,help:(0,l.__)("Set the email of the sender. Some SMTP plugins might override this value.","otter-blocks")})}),(0,k.jsxs)(p.__experimentalToolsPanelItem,{hasValue:()=>Boolean(e.redirectLink),label:(0,l.__)("Redirect on Submit","otter-blocks"),onDeselect:()=>t({redirectLink:""}),isShownByDefault:!1,children:[(0,k.jsx)(p.TextControl,{label:(0,l.__)("Redirect on Submit","otter-blocks"),type:"url",placeholder:(0,l.__)("https://example.com","otter-blocks"),value:e.redirectLink,onChange:e=>t({redirectLink:e}),help:(0,l.__)("Redirect the user to another page when submit is successful.","otter-blocks")}),e.redirectLink&&(0,k.jsx)(p.ExternalLink,{href:e.redirectLink,style:{marginBottom:"10px",display:"block"},children:(0,l.__)("Preview Redirect link.","otter-blocks")})]}),(0,k.jsx)(p.__experimentalToolsPanelItem,{hasValue:()=>!0===o.hasCaptcha,label:(0,l.__)("Enable reCaptcha","otter-blocks"),onSelect:()=>s({hasCaptcha:!0}),onDeselect:()=>s({hasCaptcha:!1}),isShownByDefault:!1,children:(0,k.jsx)(h.$T,{notice:(0,k.jsxs)("div",{children:[(0,l.__)("Captcha is activated. You can modify the API Keys in Integrations tab from Settings > Otter.","otter-blocks"),(0,k.jsx)(p.ExternalLink,{href:window?.themeisleGutenberg?.optionsPath,children:(0,l.__)("Go to Dashboard.","otter-blocks")})]}),variant:"help"})}),!Boolean(window.themeisleGutenberg?.hasPro)&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.__experimentalToolsPanelItem,{hasValue:()=>void 0!==e.submissionsSaveLocation,label:(0,l.__)("Submissions","otter-blocks"),onDeselect:()=>t({submissionsSaveLocation:void 0}),isShownByDefault:!0,children:(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Save Location","otter-blocks"),value:"email",onChange:()=>{},options:[{label:(0,l.__)("Database (Pro)","otter-blocks"),value:"database"},{label:(0,l.__)("Email Only","otter-blocks"),value:"email"},{label:(0,l.__)("Database and Email (Pro)","otter-blocks"),value:"database-email"}],help:(0,l.__)("The submissions are send only via email. No data will be saved on the server, use this option to handle sensitive data.","otter-blocks")})}),(0,k.jsxs)(p.__experimentalToolsPanelItem,{hasValue:()=>!1,label:(0,l.__)("Autoresponder","otter-blocks"),onDeselect:()=>{},children:[(0,k.jsx)(p.TextControl,{label:(0,l.__)("Autoresponder Subject","otter-blocks"),placeholder:(0,l.__)("Confirmation of your subscription","otter-blocks"),value:void 0,onChange:()=>{},help:(0,l.__)("Enter the subject of the autoresponder email.","otter-blocks"),disabled:!0,className:"o-disabled"}),(0,k.jsx)(p.TextareaControl,{label:(0,l.__)("Autoresponder Body","otter-blocks"),placeholder:(0,l.__)("Thank you for subscribing!","otter-blocks"),rows:2,value:void 0,onChange:()=>{},help:(0,l.__)("Enter the body of the autoresponder email.","otter-blocks"),disabled:!0,className:"o-disabled"}),(0,k.jsxs)("div",{children:[(0,k.jsx)(h.$T,{notice:(0,k.jsx)(p.ExternalLink,{href:(0,g.lY)(window.themeisleGutenberg.upgradeLink,"form-block"),children:(0,l.__)("Unlock this with Otter Pro.","otter-blocks")}),variant:"upsell"}),(0,k.jsx)("p",{className:"description",children:(0,l.__)("Automatically send follow-up emails to your users with the Autoresponder feature.","otter-blocks")})]})]}),(0,k.jsxs)(p.__experimentalToolsPanelItem,{hasValue:()=>void 0!==e.webhookId,label:(0,l.__)("Webhook","otter-blocks"),onDeselect:()=>t({webhookId:void 0}),isShownByDefault:!0,children:[(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Webhook","otter-blocks"),disabled:!0,value:void 0,options:[{label:(0,l.__)("Select Webhook","otter-blocks"),value:""}],onChange:void 0}),(0,k.jsx)("br",{}),(0,k.jsx)(p.Button,{variant:"secondary",onClick:void 0,disabled:!0,className:"wp-block-themeisle-blocks-tabs-inspector-add-tab",children:(0,l.__)("Edit Webhooks","otter-blocks")}),(0,k.jsx)("br",{}),(0,k.jsx)(p.ExternalLink,{href:"https://docs.themeisle.com/article/1878-how-to-use-webhooks-in-otter-forms",children:(0,l.__)("Learn more about webhooks.","otter-blocks")}),(0,k.jsxs)("div",{children:[(0,k.jsx)(h.$T,{notice:(0,k.jsx)(p.ExternalLink,{href:(0,g.lY)(window.themeisleGutenberg.upgradeLink,"form-block"),children:(0,l.__)("Unlock this with Otter Pro.","otter-blocks")}),variant:"upsell"}),(0,k.jsx)("p",{className:"description",children:(0,l.__)("Trigger webhooks on Form submit action.","otter-blocks")})]})]})]})]});var $t=({attributes:e,setAttributes:t})=>{var o,s,a,i,r,n,c,u;const[x,f]=(0,y.useTabSwitch)(e.id,"settings"),[v,_]=(0,b.useState)("normal"),{responsiveSetAttributes:w,responsiveGetAttributes:C}=(0,m.d)(t),{listIDOptions:j,setListIDOptions:S,saveIntegration:T,savedFormOptions:B,sendTestEmail:M,loadingState:P,formOptions:z,setFormOption:A,testService:F,hasEmailField:L,children:R,inputFieldActions:N,hasInnerBlocks:I}=(0,b.useContext)(Kt),O=(e=>{var t;return null!==(t=e?.map((e=>Nt(e?.name)?{parentClientId:e?.clientId,inputField:e}:"themeisle-blocks/form"!==e?.name&&e?.innerBlocks?.length?It(e).filter((e=>void 0!==e)).map((t=>({parentClientId:e?.clientId,inputField:t}))):void 0)).flat().filter((e=>void 0!==e)))&&void 0!==t?t:[]})(R),V=(W=[[z.provider,B?.integration?.provider],[z.listId,B?.integration?.listId],[z.action,B?.integration?.action]],Boolean(0<W.filter(Dt).length));var W;const U=(0,Tt.q6)((({items:e})=>(0,k.jsx)("div",{children:e.map(((e,t)=>(0,k.jsx)(Pt,{index:t,item:e,actions:N},e.inputClientId)))})));return(0,k.jsxs)(d.InspectorControls,{children:[(0,k.jsx)(h.R7,{value:x,options:[{label:(0,l.__)("Settings","otter-blocks"),value:"settings"},{label:(0,l.__)("Style","otter-blocks"),value:"style"}],onChange:f}),(0,k.jsxs)("div",{children:["settings"===x&&(0,k.jsxs)(b.Fragment,{children:[I&&(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Input Fields","otter-blocks"),initialOpen:!0,children:[(0,k.jsx)("p",{children:(0,l.__)("Press and hold to use drag and drop to sort the tabs","otter-blocks")}),0<R?.length&&(0,k.jsx)(U,{items:O,onSortEnd:({oldIndex:e,newIndex:t})=>{N.move(O?.[e]?.parentClientId,t)},useDragHandle:!0,axis:"y",lockAxis:"y"}),(0,k.jsx)(p.Button,{variant:"secondary",className:"wp-block-themeisle-blocks-tabs-inspector-add-tab",onClick:()=>N?.add?.("themeisle-blocks/form-input"),children:(0,l.__)("Add Input Field","otter-blocks")})]}),(0,k.jsxs)(p.__experimentalToolsPanel,{label:(0,l.__)("Form Options","otter-blocks"),className:"o-form-options",children:["loading"===P?.formOptions&&(0,k.jsxs)("div",{className:"o-fetch-msg",children:[(0,k.jsx)(p.Spinner,{}),(0,l.__)("Loading the options. Please wait…","otter-blocks")]}),"error"===P?.formOptions&&(0,k.jsx)("div",{className:"o-fetch-msg o-error",children:(0,l.__)("An error has occurred while saving. Please try again.","otter-blocks")}),"loading"!==P?.formOptions&&(0,k.jsx)(b.Fragment,{children:(0,Ae.applyFilters)("otter.formBlock.options",(0,k.jsx)(Et,{formOptions:z,setFormOption:A,attributes:e,setAttributes:t}),z,A,(0,b.useContext)(Kt),e)})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Marketing Integration","otter-blocks"),initialOpen:!1,children:[(0,l.__)("Add your client email to a Digital Marketing provider.","otter-blocks"),(0,k.jsx)("br",{})," ",(0,k.jsx)("br",{}),(0,k.jsx)("b",{children:(0,l.__)("You need to have at least one email field in your form. For multiple email fields, only the first will be used.","otter-blocks")}),(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Provider","otter-blocks"),value:z.provider,options:[{label:(0,l.__)("None","otter-blocks"),value:""},{label:(0,l.__)("Mailchimp","otter-blocks"),value:"mailchimp"},{label:(0,l.__)("Brevo","otter-blocks"),value:"sendinblue"}],onChange:t=>{window.oTrk?.add({feature:"marketing",featureComponent:"provider",featureValue:t,groupID:e.id}),A({provider:t,listId:"",apiKey:""})}}),z.provider&&(0,k.jsxs)(b.Fragment,{children:[!z.apiKey&&(0,k.jsxs)(b.Fragment,{children:["mailchimp"===z?.provider&&(0,k.jsx)(p.ExternalLink,{href:"https://us5.admin.mailchimp.com/account/api/",style:{marginBottom:"10px",display:"block"},target:"_blank",children:(0,l.__)("Guide to generate the API Key.","otter-blocks")}),"sendinblue"===z?.provider&&(0,k.jsx)(p.ExternalLink,{href:"https://help.sendinblue.com/hc/en-us/articles/209467485-What-s-an-API-key-and-how-can-I-get-mine-",style:{marginBottom:"10px",display:"block"},target:"_blank",children:(0,l.__)("Guide to generate the API Key.","otter-blocks")})]}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("API Key","otter-blocks"),help:(0,l.__)("You can find the key in the provider's website","otter-blocks"),value:z.apiKey?`*************************${z.apiKey.slice(-8)}`:"",onChange:t=>{window.oTrk?.add({feature:"marketing",featureComponent:"api-key",groupID:e.id}),S([]),A({listId:"",apiKey:t})}}),z.apiKey&&2>j.length&&"loading"===P?.listId&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.Spinner,{}),(0,l.__)("Loading the options.","otter-blocks"),(0,k.jsx)("br",{}),(0,k.jsx)("br",{})]}),z.apiKey&&"error"===P?.listId&&(0,k.jsxs)(b.Fragment,{children:[(0,l.__)("Invalid API Key. Please check your API Key in the provider's Dashboard.","otter-blocks"),(0,k.jsx)(p.ExternalLink,{target:"_blank",style:{marginBottom:"10px",display:"block"},href:"sendinblue"===z.provider?"https://account.sendinblue.com/advanced/api":"https://us5.admin.mailchimp.com/account/api/",children:(0,l.__)("Go to Dashboard.","otter-blocks")})]}),z.apiKey&&"timeout"===P?.listId&&(0,k.jsx)("p",{children:(0,l.__)("Could no connect to the server. Please try again.","otter-blocks")}),z.apiKey&&"done"===P?.listId&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Contact List","otter-blocks"),value:z.listId,options:j,onChange:t=>{window.oTrk?.set(`${e.id}_list`,{feature:"marketing",featureComponent:"contact-list",groupID:e.id}),A({listId:t})}}),1>=j?.length&&(0,k.jsxs)("p",{children:[" ",(0,l.__)("No Contact list found. Please create a list in your provider interface or check if the API key is correct.","otter-blocks")," "]}),2<=j?.length&&z.listId&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Submit Action","otter-blocks"),value:z.action,options:[{label:(0,l.__)("Default","otter-blocks"),value:""},{label:(0,l.__)("Subscribe Only","otter-blocks"),value:"subscribe"},{label:(0,l.__)("Submit & Subscribe","otter-blocks"),value:"submit-subscribe"}],onChange:t=>{window.oTrk?.set(`${e.id}_action`,{feature:"marketing",featureComponent:"action",featureValue:t,groupID:e.id}),A({action:t})}}),(!z.action||"submit-subscribe"===z.action)&&(0,k.jsx)("div",{style:{marginBottom:"10px"},children:(0,l.__)("Adds the client to your contact list and emails form data to the specified 'Form to' address or the admin. Includes a checkbox for third-party data-sharing consent.","otter-blocks")}),"subscribe"===z.action&&(0,k.jsx)("div",{style:{marginBottom:"10px"},children:(0,l.__)("Add users to the contact list and skip email alerts for each submission. Ideal for news letter sign-up forms.","otter-blocks")}),"subscribe"===z.action&&("email"===z.submissionsSaveLocation||!Boolean(window?.otterPro?.isActive))&&(0,k.jsx)("div",{style:{marginBottom:"10px"},children:(0,l.__)("By skipping the email alerts you will lose the data from other fields. If this is a problem, we recommend switching to Database saving or using Submit & Subscribe Action","otter-blocks")})]})]})]}),"loading"===P?.formIntegration&&(0,k.jsxs)("div",{className:"o-fetch-msg",children:[(0,k.jsx)(p.Spinner,{}),(0,l.__)("Fetching data from server. Please wait.","otter-blocks")]}),(0,k.jsxs)("div",{style:{display:"flex",flexDirection:"row",gap:"10px"},children:[(0,k.jsx)(p.Button,{variant:"primary",onClick:T,isBusy:"saving"===P?.formIntegration,children:"saving"===P?.formIntegration?(0,l.__)("Saving","otter-blocks"):(0,l.__)("Save","otter-blocks")}),e.optionName&&B?.integration?.provider&&B?.integration?.apiKey&&B?.integration?.listId&&(0,k.jsx)(p.Button,{variant:"secondary",onClick:F,isBusy:"saving"===P?.serviceTesting,children:(0,l.__)("Test Service","otter-blocks")})]}),"done"===P?.formIntegration&&V&&(0,k.jsx)("div",{className:"o-fetch-msg",children:(0,l.__)("You have made some modifications. Do not forget to save the options.","otter-blocks")}),"done"===P?.serviceTesting&&(0,k.jsx)("div",{className:"o-fetch-msg",children:(0,l.__)("Remember to delete the test email from your provider's contact list.","otter-blocks")}),"done"===P?.formIntegration&&z?.apiKey&&z?.listId&&!L&&(0,k.jsx)("div",{className:"o-fetch-msg o-error",children:(0,l.__)("Please add a Text Field with Email as type in your form for email registration.","otter-blocks")}),"error"===P?.formIntegration&&(0,k.jsx)("div",{className:"o-fetch-msg o-error",children:(0,l.__)("An error has occurred while saving. Please try again.","otter-blocks")})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Submit Messages","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.TextareaControl,{label:(0,l.__)("Success Message","otter-blocks"),placeholder:(0,l.__)("Success","otter-blocks"),value:z.submitMessage,onChange:e=>A({submitMessage:e}),help:(0,l.__)("Show this message after the form was successfully submitted.","otter-blocks")}),(0,k.jsx)(p.TextareaControl,{label:(0,l.__)("Error Message","otter-blocks"),placeholder:(0,l.__)("Error. Please try again.","otter-blocks"),value:z.errorMessage,onChange:e=>A({errorMessage:e}),help:(0,l.__)("This message will be displayed when there is a problem with the server.","otter-blocks")})]}),(0,k.jsx)(h.Cu,{})]}),"style"===x&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(h.T$,{label:(0,l.__)("Form Color","otter-blocks"),isSynced:null!==(o=e.isSynced)&&void 0!==o?o:[],initialOpen:!0,setAttributes:t,options:[{value:e.labelColor,label:(0,l.__)("Label","otter-blocks"),slug:"labelColor"},{value:e.inputColor,label:(0,l.__)("Input Text","otter-blocks"),slug:"inputColor"},{value:e.inputBackgroundColor,label:(0,l.__)("Input Background","otter-blocks"),slug:"inputBackgroundColor"},{value:e.inputBorderColor,label:(0,l.__)("Border","otter-blocks"),slug:"inputBorderColor"},{value:e.helpLabelColor,label:(0,l.__)("Helper Label","otter-blocks"),slug:"helpLabelColor"},{value:e.inputRequiredColor,label:(0,l.__)("Required Label","otter-blocks"),slug:"inputRequiredColor"},{value:e.submitMessageColor,label:(0,l.__)("Success Message","otter-blocks"),slug:"submitMessageColor"},{value:e.submitMessageErrorColor,label:(0,l.__)("Error Message","otter-blocks"),slug:"submitMessageErrorColor"}]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Button","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(h.ax,{isSynced:e.isSynced,options:[{label:(0,l.__)("Font Size","otter-blocks"),value:"submitFontSize"},{label:(0,l.__)("Normal Text Color","otter-blocks"),value:"submitColor"},{label:(0,l.__)("Normal Background Color","otter-blocks"),value:"submitBackgroundColor"},{label:(0,l.__)("Hover Text Color","otter-blocks"),value:"submitColorHover"},{label:(0,l.__)("Hover Background Color","otter-blocks"),value:"submitBackgroundColorHover"},{label:(0,l.__)("Padding","otter-blocks"),value:C(["buttonPadding","buttonPaddingTablet","buttonPaddingMobile"])}],setAttributes:t}),(0,k.jsx)(h.l,{value:v,onChange:_,options:[{label:"Normal",value:"normal"},{label:"Hover",value:"hover"}]}),(0,k.jsx)("br",{}),"normal"===v&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(se,{attributes:e,attr:"submitColor",children:(0,k.jsx)(h._b,{label:(0,l.__)("Text","otter-blocks"),colorValue:e.submitColor,onColorChange:e=>t({submitColor:e}),className:"is-list is-first"})}),(0,k.jsx)(se,{attributes:e,attr:"submitBackgroundColor",children:(0,k.jsx)(h._b,{label:(0,l.__)("Background","otter-blocks"),colorValue:e.submitBackgroundColor,onColorChange:e=>t({submitBackgroundColor:e}),className:"is-list"})})]})||"hover"===v&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(se,{attributes:e,attr:"submitColorHover",children:(0,k.jsx)(h._b,{label:(0,l.__)("Text","otter-blocks"),colorValue:e.submitColorHover,onColorChange:e=>t({submitColorHover:e}),className:"is-list is-first"})}),(0,k.jsx)(se,{attributes:e,attr:"submitBackgroundColorHover",children:(0,k.jsx)(h._b,{label:(0,l.__)("Background","otter-blocks"),colorValue:e.submitBackgroundColorHover,onColorChange:e=>t({submitBackgroundColorHover:e}),className:"is-list"})})]}),(0,k.jsx)("br",{}),(0,k.jsx)(se,{attributes:e,attr:"submitFontSize",children:(0,k.jsx)(p.FontSizePicker,{label:(0,l.__)("Font Size","otter-blocks"),fontSizes:Gt,withReset:!0,value:e.submitFontSize,onChange:e=>t({submitFontSize:e})})}),(0,k.jsx)(h.k3,{label:(0,l.__)("Screen Type","otter-blocks"),children:(0,k.jsx)(se,{attributes:e,attr:C(["buttonPadding","buttonPaddingTablet","buttonPaddingMobile"]),children:(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Padding","otter-blocks"),values:null!==(s=C([e.buttonPadding,e.buttonPaddingTablet,e.buttonPaddingMobile]))&&void 0!==s?s:{top:"10px",bottom:"10px",right:"20px",left:"20px"},onChange:e=>w(e,["buttonPadding","buttonPaddingTablet","buttonPaddingMobile"])})})}),(0,k.jsx)(h.k3,{label:(0,l.__)("Alignment","otter-blocks"),children:(0,k.jsx)(h.l,{value:null!==(a=C([e.submitStyle,e.submitStyleTablet,e.submitStyleMobile]))&&void 0!==a?a:"left",onChange:e=>w(""===e?void 0:e,["submitStyle","submitStyleTablet","submitStyleMobile"]),options:[{icon:D.A,label:(0,l.__)("Left","otter-blocks"),value:"left"},{icon:G.A,label:(0,l.__)("Center","otter-blocks"),value:"center"},{icon:E.A,label:(0,l.__)("Right","otter-blocks"),value:"right"},{icon:ee.A,label:(0,l.__)("Full","otter-blocks"),value:"full"}],hasIcon:!0})})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Labels","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(h.ax,{isSynced:e.isSynced,options:[{label:(0,l.__)("Font Size","otter-blocks"),value:"labelFontSize"},{label:(0,l.__)("Spacing","otter-blocks"),value:"inputGap"}],setAttributes:t}),(0,k.jsx)(se,{attributes:e,attr:"labelFontSize",children:(0,k.jsx)(p.FontSizePicker,{label:(0,l.__)("Font Size","otter-blocks"),fontSizes:Gt,withReset:!0,value:e.labelFontSize,onChange:e=>t({labelFontSize:e})})}),(0,k.jsx)(se,{attributes:e,attr:"inputGap",children:(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Spacing","otter-blocks"),value:null!==(i=e.inputGap)&&void 0!==i?i:10,onChange:e=>t({inputGap:e}),allowReset:!0,step:.1,min:0,max:50,initialPosition:10})})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Input Fields","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(h.ax,{isSynced:e.isSynced,options:[{label:(0,l.__)("Input Font Size","otter-blocks"),value:"inputFontSize"},{label:(0,l.__)("Fields Spacing","otter-blocks"),value:"inputsGap"},{label:(0,l.__)("Input Padding","otter-blocks"),value:"inputPadding"}],setAttributes:t}),(0,k.jsx)(se,{attributes:e,attr:"inputFontSize",children:(0,k.jsx)(p.FontSizePicker,{label:(0,l.__)("Input Font Size","otter-blocks"),fontSizes:Gt,withReset:!0,value:e.inputFontSize,onChange:e=>t({inputFontSize:e})})}),(0,k.jsx)(se,{attributes:e,attr:"inputsGap",children:(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Fields Spacing","otter-blocks"),value:null!==(r=e.inputsGap)&&void 0!==r?r:16,onChange:e=>t({inputsGap:e}),allowReset:!0,min:0,max:50,initialPosition:16})}),(0,k.jsx)(h.k3,{label:(0,l.__)("Screen Type","otter-blocks"),children:(0,k.jsx)(se,{attributes:e,attr:C(["inputPadding","inputPaddingTablet","inputPaddingMobile"]),children:(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Input Padding","otter-blocks"),values:null!==(n=C([e.inputPadding,e.inputPaddingTablet,e.inputPaddingMobile]))&&void 0!==n?n:{top:"8px",right:"8px",bottom:"8px",left:"8px"},inputProps:{min:0,max:500},onChange:e=>w(e,["inputPadding","inputPaddingTablet","inputPaddingMobile"])})})})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Border","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(h.ax,{isSynced:e.isSynced,options:[{label:(0,l.__)("Border Radius","otter-blocks"),value:"inputBorderRadius"},{label:(0,l.__)("Border Width","otter-blocks"),value:"inputBorderWidth"}],setAttributes:t}),(0,k.jsx)(se,{attributes:e,attr:"inputBorderRadius",children:(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Radius","otter-blocks"),values:(0,H.isObjectLike)(e.inputBorderRadius)?e.inputBorderRadius:(0,$.eA)((0,g.ws)(null!==(c=e.inputBorderRadius)&&void 0!==c?c:4)),onChange:e=>t({inputBorderRadius:e}),id:"o-border-raduis-box"})}),(0,k.jsx)(se,{attributes:e,attr:"inputBorderWidth",children:(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Width","otter-blocks"),values:(0,H.isObjectLike)(e.inputBorderWidth)?e.inputBorderWidth:(0,$.eA)((0,g.ws)(null!==(u=e.inputBorderWidth)&&void 0!==u?u:1)),onChange:e=>t({inputBorderWidth:e})})})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Helper & Submit Messages","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(h.ax,{isSynced:e.isSynced,options:[{label:(0,l.__)("Helper Text Size","otter-blocks"),value:"helpFontSize"},{label:(0,l.__)("Success/Error Message Size","otter-blocks"),value:"messageFontSize"}],setAttributes:t}),(0,k.jsx)(se,{attributes:e,attr:"helpFontSize",children:(0,k.jsx)(p.BaseControl,{label:(0,l.__)("Helper Text","otter-blocks"),children:(0,k.jsx)(p.FontSizePicker,{fontSizes:Gt,withReset:!0,value:e.helpFontSize,onChange:e=>t({helpFontSize:e})})})}),(0,k.jsx)(se,{attributes:e,attr:"messageFontSize",children:(0,k.jsx)(p.BaseControl,{label:(0,l.__)("Success/Error Message","otter-blocks"),children:(0,k.jsx)(p.FontSizePicker,{fontSizes:Gt,withReset:!0,value:e.messageFontSize,onChange:e=>t({messageFontSize:e})})})})]})]})]}),(0,k.jsxs)(d.InspectorAdvancedControls,{children:[(0,k.jsx)("span",{children:(0,l.__)("In order for the Form to work properly, make sure your SMTP server is set up. The test email will be send to the address from the Email To field in Form Options.","otter-blocks")}),(0,k.jsx)(p.ExternalLink,{href:"https://docs.themeisle.com/article/1713-how-to-set-up-your-smtp-server",style:{marginLeft:"3px"},children:(0,l.__)("Learn more.","otter-blocks")}),(0,k.jsx)("br",{}),(0,k.jsx)(p.Button,{variant:"primary",style:{marginTop:"8px"},onClick:M,children:(0,l.__)("Send Test Email","otter-blocks")})]})]})},Wt=({className:e,loadingState:t,isSaving:o,saveAPIKey:s,siteKey:a,secretKey:i,setSiteKey:r,setSecretKey:n})=>{if("loading"===t?.captcha)return(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)("br",{}),(0,k.jsx)(p.Placeholder,{children:(0,k.jsxs)("div",{children:[(0,k.jsx)(p.Spinner,{}),(0,l.__)("Checking the API Keys for reCaptcha","otter-blocks")]})})]});const c=i&&0<i?.length-13?Array(i.length-13).fill("*").join("")+i.slice(-13):i;return(0,k.jsxs)(p.Placeholder,{icon:"admin-site",label:(0,l.__)("Google reCaptcha","otter-blocks"),instructions:(0,l.__)("A Google reCaptcha V2 API keys are required, please enter one below.","otter-blocks"),className:e,children:[(0,k.jsxs)("div",{className:"components-placeholder__actions",style:{width:"100%"},children:[(0,k.jsx)(p.TextControl,{type:"text",label:(0,l.__)("Site Key","otter-blocks"),value:a,className:"components-placeholder__input",onChange:r}),(0,k.jsx)(p.TextControl,{type:"text",label:(0,l.__)("Secret Key","otter-blocks"),value:c,className:"components-placeholder__input",onChange:n}),(0,k.jsx)(p.Button,{isPrimary:!0,type:"submit",onClick:s,isBusy:o,disabled:""===a||""===i,children:(0,l.__)("Save","otter-blocks")})]}),(0,k.jsxs)("div",{className:"components-placeholder__learn-more",style:{margin:"10px 0px"},children:[(0,l.__)("You need to activate reCaptcha API.","otter-blocks")," ",(0,k.jsx)(p.ExternalLink,{href:"http://www.google.com/recaptcha/admin",children:(0,l.__)("Need an API key? Get one here.","otter-blocks")})]})]})},Ut=o(8619),qt=o(4821),Zt=class{constructor(){return window?.deferredWpOptionsSave?window?.deferredWpOptionsSave:(this.changes=[],this.wpOptions={},this.timeout=null,this.timeoutTime=1500,this.abort=null,window.deferredWpOptionsSave=this,this)}createSettings(){return new(wt().models.Settings)}save(e,t,o=()=>{}){this.changes.push({optionType:e,value:t,callback:o}),this.timeout&&(this.abort?.abort?.(),clearTimeout(this.timeout)),this.timeout=setTimeout((()=>{this.commitChanges()}),this.timeoutTime)}commitChanges(){this.abort=new AbortController,this.createSettings().fetch({signal:this.abort.signal}).done((e=>{this.wpOptions=e;const t=new Set;this.changes.forEach((e=>{const o=(0,H.isFunction)(e.value)?e.value(null):e.value;if("field_options"===e.optionType&&this.wpOptions.themeisle_blocks_form_fields_option){const l=this.wpOptions.themeisle_blocks_form_fields_option;if(!l)return;const s=l.findIndex((e=>e.fieldOptionName===o.fieldOptionName));-1!==s?l[s]=(0,H.isFunction)(e.value)?e.value(l[s]):o:l.push(o),t.add("themeisle_blocks_form_fields_option")}if("form_options"===e.optionType&&this.wpOptions.themeisle_blocks_form_emails){const l=this.wpOptions.themeisle_blocks_form_emails;if(!l)return;const s=l.findIndex((({form:e})=>e===o.form));-1!==s?l[s]=(0,H.isFunction)(e.value)?e.value(l[s]):o:l.push(o),t.add("themeisle_blocks_form_emails")}}));const o=(0,H.pick)(this.wpOptions,Array.from(t));new(wt().models.Settings)(o).save().then((e=>{this.wpOptions=e,this.changes.forEach((t=>{t?.callback?.(e,null)})),this.changes=[]})).catch((e=>{this.changes.forEach((t=>{t?.callback?.(this.wpOptions,e)})),this.changes=[]}))}))}};const{attributes:Jt}=yt,Kt=(0,b.createContext)({}),Yt={email:"emailTo",redirectLink:"redirectLink",emailSubject:"subject",submitMessage:"submitMessage",errorMessage:"errorMessage",fromName:"fromName",fromEmail:"fromEmail",cc:"cc",bcc:"bcc",autoresponder:"autoresponder",submissionsSaveLocation:"submissionsSaveLocation",webhookId:"webhookId",requiredFields:"requiredFields"};var Qt=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/form-input","title":"Text Field","category":"themeisle-blocks","description":"Display a contact form for your clients.","keywords":["input","text","email"],"ancestor":["themeisle-blocks/form"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"type":{"type":"string","default":"text"},"label":{"type":"string"},"placeholder":{"type":"string"},"isRequired":{"type":"boolean"},"mappedName":{"type":"string"},"labelColor":{"type":"string"},"inputWidth":{"type":"number"},"helpText":{"type":"string"},"defaultValue":{"type":"string","source":"attribute","selector":"input.otter-form-input","attribute":"value"}},"supports":{"align":["wide","full"]}}'),Xt=({attributes:e,setAttributes:t,clientId:o})=>{const{selectForm:s}=(0,b.useContext)(Kt);return(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)(d.InspectorControls,{children:[(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Field Settings","otter-blocks"),children:[(0,k.jsx)(p.Button,{isSecondary:!0,variant:"secondary",onClick:()=>s?.(),children:(0,l.__)("Back to the Form","otter-blocks")}),(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Field Type","otter-blocks"),value:e.type,options:At(),onChange:l=>{"textarea"!==l&&"radio"!==l&&"checkbox"!==l&&"select"!==l&&"file"!==l&&"hidden"!==l&&"stripe"!==l?t({type:l}):Ft(l,o,e)}}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Label","otter-blocks"),value:e.label,onChange:e=>t({label:e})}),(0,k.jsx)(Rt,{attributes:e,setAttributes:t}),(0,k.jsx)(zt,{attributes:e,setAttributes:t}),("date"!==e.type||void 0===e.type)&&(0,k.jsx)(p.TextControl,{label:(0,l.__)("Placeholder","otter-blocks"),value:e.placeholder,onChange:e=>t({placeholder:e})}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Help Text","otter-blocks"),value:e.helpText,onChange:e=>t({helpText:e})}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Required","otter-blocks"),help:(0,l.__)("If enabled, the input field must be filled out before submitting the form.","otter-blocks"),checked:e.isRequired,onChange:e=>t({isRequired:e})}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Default Value","otter-blocks"),value:e.defaultValue,onChange:e=>t({defaultValue:e})}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Mapped Name","otter-blocks"),help:Ot,value:e.mappedName,onChange:e=>t({mappedName:e}),placeholder:(0,l.__)("first_name","otter-blocks")})]}),(0,k.jsx)(d.PanelColorSettings,{title:(0,l.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:e.labelColor,onChange:e=>t({labelColor:e}),label:(0,l.__)("Label Color","otter-blocks")}]})]}),(0,k.jsx)(h.ux,{value:e.id,onChange:e=>t({id:e})})]})};const{attributes:eo}=Qt;const to=[{attributes:{id:{type:"string"},type:{type:"string",default:"text"},label:{type:"string"},placeholder:{type:"string"},isRequired:{type:"boolean"},mappedName:{type:"string"}},supports:{align:["wide","full"]},save:({attributes:e})=>{const t=d.useBlockProps.save();return(0,k.jsxs)("div",{...t,children:[(0,k.jsxs)("label",{htmlFor:e.id,className:"otter-form-input-label",children:[(0,k.jsx)(d.RichText.Content,{value:e.label,className:"otter-form-input-label__label",tagName:"span"}),e.isRequired&&(0,k.jsx)("span",{className:"required",children:(0,l.__)("(required)","otter-blocks")})]}),(0,k.jsx)("input",{type:e.type,name:e.mappedName,id:e.id,required:e.isRequired,placeholder:e.placeholder,className:"otter-form-input"})]})}}];var oo=to;const{name:lo}=Qt;window.themeisleGutenberg.isAncestorTypeAvailable||(Qt.parent=["themeisle-blocks/form"]),(0,s.registerBlockType)(lo,{...Qt,title:(0,l.__)("Text Field","otter-blocks"),description:(0,l.__)("Display a contact form for your clients.","otter-blocks"),icon:i.formFieldIcon,deprecated:oo,keywords:["input","text","email"],variations:[{name:"themeisle-blocks/form-input-email",description:(0,l.__)("Insert an email field","otter-blocks"),icon:i.formFieldIcon,title:(0,l.__)("Email Field","otter-blocks"),attributes:{type:"email"}},{name:"themeisle-blocks/form-input-date",description:(0,l.__)("Insert a date field","otter-blocks"),icon:i.formFieldIcon,title:(0,l.__)("Date Field","otter-blocks"),attributes:{type:"date"}},{name:"themeisle-blocks/form-input-number",description:(0,l.__)("Insert a number field","otter-blocks"),icon:i.formFieldIcon,title:(0,l.__)("Number Field","otter-blocks"),attributes:{type:"number"}},{name:"themeisle-blocks/form-input-url",description:(0,l.__)("Insert an URL field","otter-blocks"),icon:i.formFieldIcon,title:(0,l.__)("URL Field","otter-blocks"),attributes:{type:"url",placeholder:"https://"}}],edit:({attributes:e,setAttributes:t,clientId:o})=>{(0,b.useEffect)((()=>{const t=(0,y.blockInit)(o,eo);return()=>t(e.id)}),[e.id]);const s=(0,d.useBlockProps)();return(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(Xt,{attributes:e,setAttributes:t,clientId:o}),(0,k.jsxs)("div",{...s,children:[(0,k.jsx)("style",{children:`#block-${o}`+(0,g.SJ)([["--label-color",e.labelColor]])}),(0,k.jsxs)("label",{htmlFor:e.id,className:"otter-form-input-label",children:[(0,k.jsx)(d.RichText,{placeholder:(0,l.__)("Type here…","otter-blocks"),className:"otter-form-input-label__label",value:e.label,onChange:e=>t({label:e}),tagName:"span"}),e.isRequired&&(0,k.jsx)("span",{className:"required",children:"*"})]}),(0,k.jsx)("input",{type:e.type,placeholder:e.placeholder,name:e.id,id:e.id,required:e.isRequired,disabled:!0,className:"otter-form-input components-text-control__input",value:e?.defaultValue}),e.helpText&&(0,k.jsx)("span",{className:"o-form-help",children:e.helpText})]})]})},save:({attributes:e})=>{const t=d.useBlockProps.save({id:e.id});return(0,k.jsxs)("div",{...t,children:[(0,k.jsxs)("label",{htmlFor:e.id?e.id+"-input":"",className:"otter-form-input-label",children:[(0,k.jsx)(d.RichText.Content,{value:e.label,className:"otter-form-input-label__label",tagName:"span"}),e.isRequired&&(0,k.jsx)("span",{className:"required",children:"*"})]}),(0,k.jsx)("input",{type:e.type,name:e.mappedName,id:e.id?e.id+"-input":"",required:e.isRequired,placeholder:e.placeholder,className:"otter-form-input",value:e?.defaultValue}),e.helpText&&(0,k.jsx)("span",{className:"o-form-help",children:e.helpText})]})},transforms:{to:[{type:"block",blocks:["themeisle-blocks/form-textarea"],transform:e=>{const t=(0,H.omit)(e,["type"]);return(0,s.createBlock)("themeisle-blocks/form-textarea",{...t})}},{type:"block",blocks:["themeisle-blocks/form-multiple-choice"],transform:e=>{const t=(0,H.omit)(e,["type"]);return(0,s.createBlock)("themeisle-blocks/form-multiple-choice",{...t})}},{type:"block",blocks:["themeisle-blocks/form-file"],transform:e=>{const t=(0,H.omit)(e,["type"]);return(0,s.createBlock)("themeisle-blocks/form-file",{...t})}},{type:"block",blocks:["themeisle-blocks/form-hidden-field"],transform:e=>{const t=(0,H.omit)(e,["type"]);return(0,s.createBlock)("themeisle-blocks/form-hidden-field",{...t})}},{type:"block",blocks:["themeisle-blocks/form-stripe-field"],transform:e=>{const t=(0,H.omit)(e,["type"]);return(0,s.createBlock)("themeisle-blocks/form-stripe-field",{...t})}}]}});var so=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/form-nonce","title":"CSRF Protection","category":"themeisle-blocks","description":"Protect the form from CSRF.","keywords":["protection","csrf","field"],"textdomain":"otter-blocks","ancestor":["themeisle-blocks/form"],"attributes":{"formId":{"type":"string"}},"supports":{"align":["wide","full"],"inserter":false}}');const{name:ao}=so;(0,s.registerBlockType)(ao,{...so,title:(0,l.__)("Nonce Field","otter-blocks"),description:(0,l.__)("Protect the form from CSRF.","otter-blocks"),icon:i.formFieldIcon,keywords:["protection","csrf","field"],edit:({setAttributes:e,clientId:t})=>{const{parent:o}=(0,u.useSelect)((e=>{const{getBlock:o,getBlockRootClientId:l}=e("core/block-editor");return{parent:o(l(t))}}),[]);return(0,b.useEffect)((()=>{o&&e({formId:o.attributes.id})}),[o]),null},save:()=>null});var io=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/form-textarea","title":"Textarea Field","category":"themeisle-blocks","description":"Display a contact form for your clients.","keywords":["textarea","message","input"],"ancestor":["themeisle-blocks/form"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"label":{"type":"string"},"placeholder":{"type":"string"},"isRequired":{"type":"boolean"},"mappedName":{"type":"string"},"labelColor":{"type":"string"},"inputWidth":{"type":"number"},"helpText":{"type":"string"},"defaultValue":{"type":"string","source":"text","selector":"textarea.otter-form-textarea-input"}},"supports":{"align":["wide","full"]}}'),ro=({attributes:e,setAttributes:t,clientId:o})=>{const{selectForm:s}=(0,b.useContext)(Kt);return(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(d.InspectorControls,{children:(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Field Settings","otter-blocks"),children:[(0,k.jsx)(p.Button,{isSecondary:!0,variant:"secondary",onClick:()=>s?.(),children:(0,l.__)("Back to the Form","otter-blocks")}),(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Field Type","otter-blocks"),value:"textarea",options:At(),onChange:t=>{"textarea"!==t&&Ft(t,o,e)}}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Label","otter-blocks"),value:e.label,onChange:e=>t({label:e})}),(0,k.jsx)(Rt,{attributes:e,setAttributes:t}),(0,k.jsx)(zt,{attributes:e,setAttributes:t}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Placeholder","otter-blocks"),value:e.placeholder,onChange:e=>t({placeholder:e})}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Help Text","otter-blocks"),value:e.helpText,onChange:e=>t({helpText:e})}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Required","otter-blocks"),help:(0,l.__)("If enabled, the input field must be filled out before submitting the form.","otter-blocks"),checked:e.isRequired,onChange:e=>t({isRequired:e})}),(0,k.jsx)(p.TextareaControl,{label:(0,l.__)("Default Value","otter-blocks"),value:e.defaultValue,onChange:e=>t({defaultValue:e})}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Mapped Name","otter-blocks"),help:Ot,value:e.mappedName,onChange:e=>t({mappedName:e}),placeholder:(0,l.__)("message","otter-blocks")})]})}),(0,k.jsx)(h.ux,{value:e.id,onChange:e=>t({id:e})})]})};const{attributes:no}=io;const co=[{attributes:{id:{type:"string"},type:{type:"string",default:"text"},label:{type:"string"},placeholder:{type:"string"},isRequired:{type:"boolean"},mappedName:{type:"string"}},supports:{align:["wide","full"]},save:({attributes:e})=>{const t=d.useBlockProps.save();return(0,k.jsxs)("div",{...t,children:[(0,k.jsxs)("label",{htmlFor:e.id,className:"otter-form-textarea-label",children:[(0,k.jsx)(d.RichText.Content,{value:e.label,className:"otter-form-textarea-label__label",tagName:"span"}),e.isRequired&&(0,k.jsx)("span",{className:"required",children:(0,l.__)("(required)","otter-blocks")})]}),(0,k.jsx)("textarea",{name:e.mappedName,id:e.id,required:e.isRequired,placeholder:e.placeholder,rows:10,className:"otter-form-textarea-input"})]})}}];var bo=co;const{name:uo}=io;window.themeisleGutenberg.isAncestorTypeAvailable||(io.parent=["themeisle-blocks/form"]),(0,s.registerBlockType)(uo,{...io,title:(0,l.__)("Textarea Field","otter-blocks"),description:(0,l.__)("Display a contact form for your clients.","otter-blocks"),icon:i.formFieldIcon,deprecated:bo,keywords:["textarea","message","input"],edit:({attributes:e,setAttributes:t,clientId:o})=>{(0,b.useEffect)((()=>{const t=(0,y.blockInit)(o,no);return()=>t(e.id)}),[e.id]);const s=(0,d.useBlockProps)();return(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(ro,{attributes:e,setAttributes:t,clientId:o}),(0,k.jsxs)("div",{...s,children:[(0,k.jsx)("style",{children:`#block-${o}`+(0,g.SJ)([["--label-color",e.labelColor]])}),(0,k.jsxs)("label",{htmlFor:e.id?e.id+"-input":"",className:"otter-form-textarea-label",children:[(0,k.jsx)(d.RichText,{placeholder:(0,l.__)("Type here…","otter-blocks"),className:"otter-form-textarea-label__label",value:e.label,onChange:e=>t({label:e}),tagName:"span"}),e.isRequired&&(0,k.jsx)("span",{className:"required",children:"*"})]}),(0,k.jsx)("textarea",{placeholder:e.placeholder,name:e.id,id:e.id?e.id+"-input":"",required:e.isRequired,rows:10,className:"otter-form-textarea-input components-textarea-control__input",onChange:e=>{t({defaultValue:e.target.value})},value:e.defaultValue}),e.helpText&&(0,k.jsx)("span",{className:"o-form-help",children:e.helpText})]})]})},save:({attributes:e})=>{const t=d.useBlockProps.save({id:e.id});return(0,k.jsxs)("div",{...t,children:[(0,k.jsxs)("label",{htmlFor:e.id?e.id+"-input":"",className:"otter-form-textarea-label",children:[(0,k.jsx)(d.RichText.Content,{value:e.label,className:"otter-form-textarea-label__label",tagName:"span"}),e.isRequired&&(0,k.jsx)("span",{className:"required",children:"*"})]}),(0,k.jsx)("textarea",{name:e.mappedName,id:e.id?e.id+"-input":"",required:e.isRequired,placeholder:e.placeholder,rows:10,className:"otter-form-textarea-input",children:e.defaultValue}),e.helpText&&(0,k.jsx)("span",{className:"o-form-help",children:e.helpText})]})},transforms:{to:[{type:"block",blocks:["themeisle-blocks/form-input"],transform:e=>(0,s.createBlock)("themeisle-blocks/form-input",{...e})},{type:"block",blocks:["themeisle-blocks/form-multiple-choice"],transform:e=>(0,s.createBlock)("themeisle-blocks/form-multiple-choice",{...e})},{type:"block",blocks:["themeisle-blocks/form-file"],transform:e=>{const t=(0,H.omit)(e,["type"]);return(0,s.createBlock)("themeisle-blocks/form-file",{...t})}},{type:"block",blocks:["themeisle-blocks/form-hidden-field"],transform:e=>{const t=(0,H.omit)(e,["type"]);return(0,s.createBlock)("themeisle-blocks/form-hidden-field",{...t})}},{type:"block",blocks:["themeisle-blocks/form-stripe-field"],transform:e=>{const t=(0,H.omit)(e,["type"]);return(0,s.createBlock)("themeisle-blocks/form-stripe-field",{...t})}}]}});var po=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/form-multiple-choice","title":"Form Multiple Choice Input","category":"themeisle-blocks","description":"Display a checkbox, select, radio.","keywords":["form","checkbox","select","radio","multiple"],"textdomain":"otter-blocks","ancestor":["themeisle-blocks/form"],"attributes":{"id":{"type":"string"},"type":{"type":"string","default":"checkbox"},"label":{"type":"string"},"placeholder":{"type":"string"},"isRequired":{"type":"boolean"},"mappedName":{"type":"string"},"labelColor":{"type":"string"},"inputWidth":{"type":"object"},"helpText":{"type":"string"},"options":{"type":["string","array"]},"multipleSelection":{"type":"boolean"}},"supports":{"align":["wide","full"]}}'),ho=o(8088),go=o.n(ho);const mo=[{label:(0,l.__)("Inline List","otter-blocks"),value:"inline-list"}],yo=(0,Tt.q6)((({options:e,attributes:t,setAttributes:o})=>(0,k.jsx)("div",{children:e?.map(((l,s)=>(0,k.jsx)(Vt,{index:s,tab:l,setAsDefault:()=>{const l=e.map(((e,o)=>{const l={...e};return"select"!==t.type&&"radio"!==t.type||o===s||(l.isDefault=!1),o===s&&(l.isDefault=!Boolean(e.isDefault)),l}));o({options:l})},deleteTab:()=>{const t=[...e];t.splice(s,1),o({options:t})},onLabelChange:t=>{const l=[...e];l[s]={...l[s],content:t},o({options:l})},useRadio:"select"===t.type||"radio"===t.type},s)))})));var ko=({attributes:e,setAttributes:t,clientId:o})=>{var s;const{selectForm:a}=(0,b.useContext)(Kt),i=null!==(s=(0,H.isString)(e.options)?e.options?.split("\n")?.map((e=>({isDefault:!1,content:e}))):e.options)&&void 0!==s?s:[];return(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)(d.InspectorControls,{children:[(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Field Settings","otter-blocks"),children:[(0,k.jsx)(p.Button,{isSecondary:!0,variant:"secondary",onClick:()=>a?.(),children:(0,l.__)("Back to the Form","otter-blocks")}),(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Field Type","otter-blocks"),value:e.type,options:At(),onChange:l=>{if("radio"!==l&&"checkbox"!==l&&"select"!==l)Ft(l,o,e);else if("checkbox"===e.type){const e=i?.map((e=>({...e,isDefault:!1})));t({type:l,options:e})}else t({type:l})}}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Label","otter-blocks"),value:e.label,onChange:e=>t({label:e})}),(0,k.jsx)(Rt,{attributes:e,setAttributes:t}),(0,k.jsxs)(p.BaseControl,{id:"otter-form-multiple-choice-options",label:(0,l.__)("Options","otter-blocks"),children:[(0,k.jsx)(yo,{options:i,attributes:e,setAttributes:t,useDragHandle:!0,axis:"y",lockAxis:"y",onSortEnd:({oldIndex:e,newIndex:o})=>{let l=[...i];l=go()(l,e,o),t({options:l})}}),(0,k.jsx)(p.Button,{isSecondary:!0,className:"wp-block-themeisle-blocks-tabs-inspector-add-tab",onClick:()=>{const e=[...i];e.push({isDefault:!1,content:""}),t({options:e}),setTimeout((()=>{document.querySelector(".wp-block-themeisle-blocks-tabs-inspector-tab-option:last-child .wp-block-themeisle-blocks-tabs-inspector-tab-option__name")?.focus()}),300)},children:(0,l.__)("Add Option","otter-blocks")})]}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Help Text","otter-blocks"),value:e.helpText,onChange:e=>t({helpText:e})}),"select"!==e?.type&&(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Inline list","otter-blocks"),checked:Boolean((0,g.qL)(mo,e.className)),onChange:o=>{const l=(0,g.c5)(e.className,mo,o?"inline-list":void 0);t({className:l})}}),"select"===e?.type&&(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Multiple selection","otter-blocks"),checked:e.multipleSelection,onChange:e=>t({multipleSelection:e})}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Required","otter-blocks"),help:(0,l.__)("If enabled, the input field must be filled out before submitting the form.","otter-blocks"),checked:e.isRequired,onChange:e=>t({isRequired:e})}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Mapped Name","otter-blocks"),help:Ot,value:e.mappedName,onChange:e=>t({mappedName:e}),placeholder:(0,l.__)("car_type","otter-blocks")})]}),(0,k.jsx)(d.PanelColorSettings,{title:(0,l.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:e.labelColor,onChange:e=>t({labelColor:e}),label:(0,l.__)("Label Color","otter-blocks")}]})]}),(0,k.jsx)(h.ux,{value:e.id,onChange:e=>t({id:e})})]})};const{attributes:xo}=po,fo=({fieldType:e,label:t,position:o,attributes:s,checked:a,onChange:i})=>{var r;const n=`${null!==(r=s.id)&&void 0!==r?r:""}-field-${o}`,c=t?.toLowerCase().replace(/ /g,"_");return(0,k.jsxs)("div",{className:"o-form-multiple-choice-field",children:[(0,k.jsx)(p.Disabled,{children:(0,k.jsx)("input",{type:e,id:n,name:s.mappedName,value:c,checked:a})}),(0,k.jsx)("label",{htmlFor:n,children:(0,k.jsx)(d.RichText,{placeholder:(0,l.__)("Type here…","otter-blocks"),className:"o-form-choice-label",value:t,onChange:i,tagName:"div"})})]})},vo=({attributes:e,options:t})=>(0,k.jsx)("select",{name:e.mappedName,id:e?.id,multiple:e.multipleSelection,children:t?.map(((e,t)=>{const o=e?.content?.toLowerCase().replace(/ /g,"_");return(0,k.jsxs)("option",{value:o,selected:e.isDefault,children:[" ",e.content]},t)}))});const{name:_o}=po;window.themeisleGutenberg.isAncestorTypeAvailable||(po.parent=["themeisle-blocks/form"]),(0,s.registerBlockType)(_o,{...po,title:(0,l.__)("Multiple Choice Field","otter-blocks"),description:(0,l.__)("Display a checkbox or radio list.","otter-blocks"),icon:i.formFieldIcon,variations:[{name:"themeisle-blocks/form-input-checkbox",description:(0,l.__)("Insert a checkbox list field","otter-blocks"),icon:i.formFieldIcon,title:(0,l.__)("Checkbox Field","otter-blocks"),attributes:{type:"checkbox"}},{name:"themeisle-blocks/form-input-radio",description:(0,l.__)("Insert a radio list field","otter-blocks"),icon:i.formFieldIcon,title:(0,l.__)("Radio Field","otter-blocks"),attributes:{type:"radio"}},{name:"themeisle-blocks/form-input-select",description:(0,l.__)("Insert a select field","otter-blocks"),icon:i.formFieldIcon,title:(0,l.__)("Select Field","otter-blocks"),attributes:{type:"select"}}],edit:({attributes:e,setAttributes:t,clientId:o})=>{var s;(0,b.useEffect)((()=>{const t=(0,y.blockInit)(o,xo);return()=>t(e.id)}),[e.id]);const a=(0,d.useBlockProps)(),i=null!==(s=(0,H.isString)(e.options)?e.options?.split("\n")?.map((e=>({isDefault:!1,content:e}))):e.options)&&void 0!==s?s:[];return(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(ko,{attributes:e,setAttributes:t,clientId:o}),(0,k.jsxs)("div",{...a,children:[(0,k.jsx)("style",{children:`#block-${o}`+(0,g.SJ)([["--label-color",e.labelColor]])}),(0,k.jsxs)("label",{className:"otter-form-input-label",children:[(0,k.jsx)(d.RichText,{placeholder:(0,l.__)("Type here..","otter-blocks"),className:"otter-form-input-label__label",value:e.label,onChange:e=>t({label:e}),tagName:"span"}),e.isRequired&&(0,k.jsx)("span",{className:"required",children:"*"})]}),"select"===e?.type?(0,k.jsx)(vo,{attributes:e,options:i}):(0,k.jsx)("div",{className:"o-form-choices",children:i?.map(((o,l)=>(0,k.jsx)(fo,{fieldType:e.type,label:o.content,setAttributes:t,position:l,attributes:e,checked:o.isDefault,onChange:e=>{const o=[...i];o[l]={...o[l],content:e},t({options:o})}},l)))}),e.helpText&&(0,k.jsx)("span",{className:"o-form-help",children:e.helpText})]})]})},save:()=>null,transforms:{to:[{type:"block",blocks:["themeisle-blocks/form-input"],transform:e=>{const t=(0,H.omit)(e,["type","multipleChoice","options"]);return(0,s.createBlock)("themeisle-blocks/form-input",{...t})}},{type:"block",blocks:["themeisle-blocks/form-textarea"],transform:e=>{const t=(0,H.omit)(e,["type","multipleChoice","options"]);return(0,s.createBlock)("themeisle-blocks/form-textarea",{...t})}},{type:"block",blocks:["themeisle-blocks/form-file"],transform:e=>{const t=(0,H.omit)(e,["type"]);return(0,s.createBlock)("themeisle-blocks/form-file",{...t})}},{type:"block",blocks:["themeisle-blocks/form-hidden-field"],transform:e=>{const t=(0,H.omit)(e,["type"]);return(0,s.createBlock)("themeisle-blocks/form-hidden-field",{...t})}},{type:"block",blocks:["themeisle-blocks/form-stripe-field"],transform:e=>{const t=(0,H.omit)(e,["type"]);return(0,s.createBlock)("themeisle-blocks/form-stripe-field",{...t})}}]}});var wo=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/form-file","title":"File Field","category":"themeisle-blocks","description":"Display a contact form for your clients.","keywords":["input","file","field"],"ancestor":["themeisle-blocks/form"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"type":{"type":"string","default":"file"},"label":{"type":"string"},"placeholder":{"type":"string"},"isRequired":{"type":"boolean"},"mappedName":{"type":"string"},"labelColor":{"type":"string"},"inputWidth":{"type":"number"},"helpText":{"type":"string"},"maxFileSize":{"type":"string"},"allowedFileTypes":{"type":"array","default":["image/*","audio/*","video/*"]},"saveFiles":{"type":"string","default":"media-library"},"multipleFiles":{"type":"boolean"},"fieldOptionName":{"type":"string"},"maxFilesNumber":{"type":"string"}},"supports":{"align":["wide","full"]}}');const Co=({attributes:e})=>(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)(p.Disabled,{children:[(0,k.jsx)(p.TextControl,{label:(0,l.__)("Label","otter-blocks"),value:e.label,onChange:()=>{}}),(0,k.jsx)(Rt,{attributes:e,setAttributes:()=>{}}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Max File Size in MB","otter-blocks"),type:"number",value:e.maxFileSize,onChange:()=>{},help:(0,l.__)("You may need to contact your hosting provider to increase file sizes.","otter-blocks")}),(0,k.jsx)(p.FormTokenField,{label:(0,l.__)("Allowed File Types","otter-blocks"),value:e.allowedFileTypes,onChange:()=>{},help:(0,l.__)("Add the allowed files types that can be loaded. E.g.: jpg, zip, pdf.","otter-blocks")}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Help Text","otter-blocks"),value:e.helpText,onChange:()=>{}}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Required","otter-blocks"),help:(0,l.__)("If enabled, the input field must be filled out before submitting the form.","otter-blocks"),checked:e.isRequired,onChange:()=>{}}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Mapped Name","otter-blocks"),help:Ot,value:e.mappedName,onChange:()=>{},placeholder:(0,l.__)("photos","otter-blocks")}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Allow multiple file uploads","otter-blocks"),checked:e.multipleFiles,onChange:()=>{}}),e.multipleFiles&&(0,k.jsx)(p.TextControl,{label:(0,l.__)("Maximum number of files","otter-blocks"),type:"number",value:e.maxFilesNumber,onChange:()=>{}}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Save to Media Library","otter-blocks"),help:(0,l.__)("If enabled, the files will be saved to Media Library instead of adding them as attachments to email.","otter-blocks"),checked:"media-library"===e.saveFiles,onChange:()=>{}})]}),!Boolean(window.themeisleGutenberg.hasPro)&&(0,k.jsx)(h.$T,{notice:(0,k.jsx)(p.ExternalLink,{href:(0,g.lY)(window.themeisleGutenberg.upgradeLink,"formfileblock"),children:(0,l.__)("Get more options with Otter Pro.","otter-blocks")}),variant:"upsell"})]});var jo=({attributes:e,setAttributes:t,clientId:o})=>{const{selectForm:s}=(0,b.useContext)(Kt);return(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)(d.InspectorControls,{children:[(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Field Settings","otter-blocks"),children:[(0,k.jsx)(p.Button,{isSecondary:!0,variant:"secondary",onClick:()=>s?.(),children:(0,l.__)("Back to the Form","otter-blocks")}),(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Field Type","otter-blocks"),value:e.type,options:At(),onChange:t=>{"file"!==t&&Ft(t,o,e)}}),(0,k.jsx)(Co,{attributes:e})]}),(0,k.jsx)(d.PanelColorSettings,{title:(0,l.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:e.labelColor,onChange:e=>t({labelColor:e}),label:(0,l.__)("Label Color","otter-blocks")}]})]}),(0,k.jsx)(h.ux,{value:e.id,onChange:e=>t({id:e})})]})};const{name:So}=wo;window.themeisleGutenberg.isAncestorTypeAvailable||(wo.parent=["themeisle-blocks/form"]),Boolean(window.themeisleGutenberg.hasPro)||(0,s.registerBlockType)(So,{...wo,title:(0,l.__)("File Field (Pro)","otter-blocks"),description:(0,l.__)("Display a file field for uploading.","otter-blocks"),icon:i.formFieldIcon,keywords:["input","field","file"],edit:e=>(0,k.jsx)(jo,{...e}),save:()=>null,transforms:{to:[{type:"block",blocks:["themeisle-blocks/form-input"],transform:e=>(0,s.createBlock)("themeisle-blocks/form-input",{...e})},{type:"block",blocks:["themeisle-blocks/form-textarea"],transform:e=>{const t=(0,H.omit)(e,["type"]);return(0,s.createBlock)("themeisle-blocks/form-textarea",{...t})}},{type:"block",blocks:["themeisle-blocks/form-multiple-choice"],transform:e=>{const t=(0,H.omit)(e,["type"]);return(0,s.createBlock)("themeisle-blocks/form-multiple-choice",{...t})}},{type:"block",blocks:["themeisle-blocks/form-hidden-field"],transform:e=>{const t=(0,H.omit)(e,["type"]);return(0,s.createBlock)("themeisle-blocks/form-hidden-field",{...t})}},{type:"block",blocks:["themeisle-blocks/form-stripe-field"],transform:e=>{const t=(0,H.omit)(e,["type"]);return(0,s.createBlock)("themeisle-blocks/form-stripe-field",{...t})}}]}});var To=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/form-hidden-field","title":"Hidden Field","category":"themeisle-blocks","description":"A field used for adding extra metadata to the Form via URL params.","keywords":["metadata","hidden","field"],"textdomain":"otter-blocks","ancestor":["themeisle-blocks/form"],"attributes":{"id":{"type":"string"},"label":{"type":"string"},"paramName":{"type":"string"},"mappedName":{"type":"string"},"inputWidth":{"type":"number"},"defaultValue":{"type":"string"}},"supports":{"align":["wide","full"]}}'),Bo=({attributes:e,setAttributes:t,clientId:o})=>{var s;const{selectForm:a}=(0,b.useContext)(Kt);return(0,k.jsx)(d.InspectorControls,{children:(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Field Settings","otter-blocks"),children:[(0,k.jsx)(p.Button,{isSecondary:!0,variant:"secondary",onClick:()=>a?.(),children:(0,l.__)("Back to the Form","otter-blocks")}),(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Field Type","otter-blocks"),value:null!==(s=e.type)&&void 0!==s?s:"hidden",options:At(),onChange:t=>{"hidden"!==t&&Ft(t,o,e)}}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Label","otter-blocks"),value:e.label,onChange:void 0,help:(0,l.__)("The label will be used as the field name.","otter-blocks"),disabled:!0}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Query Param","otter-blocks"),value:e.paramName,onChange:void 0,help:(0,l.__)("The query parameter name that is used in URL. If the param is present, its value will be extracted and send with the Form.","otter-blocks"),placeholder:(0,l.__)("e.g. utm_source","otter-blocks"),disabled:!0}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Mapped Name","otter-blocks"),help:Ot,value:e.mappedName,onChange:()=>{},placeholder:(0,l.__)("photos","otter-blocks")}),(0,k.jsx)(h.$T,{notice:(0,k.jsx)(p.ExternalLink,{href:(0,g.lY)(window.themeisleGutenberg.upgradeLink,"formfileblock"),children:(0,l.__)("Get more options with Otter Pro.","otter-blocks")}),variant:"upsell"})]})})};const{name:Mo}=To;window.themeisleGutenberg.isAncestorTypeAvailable||(To.parent=["themeisle-blocks/form"]),Boolean(window.themeisleGutenberg.hasPro)||(0,s.registerBlockType)(Mo,{...To,title:(0,l.__)("Hidden Field (PRO)","otter-blocks"),description:(0,l.__)("A field used for adding extra metadata to the Form via URL params.","otter-blocks"),icon:i.formFieldIcon,edit:e=>(0,k.jsx)(Bo,{...e}),save:()=>null,transforms:{to:[{type:"block",blocks:["themeisle-blocks/form-input"],transform:e=>(0,s.createBlock)("themeisle-blocks/form-input",{...e})},{type:"block",blocks:["themeisle-blocks/form-textarea"],transform:e=>{const t=(0,H.omit)(e,["type"]);return(0,s.createBlock)("themeisle-blocks/form-textarea",{...t})}},{type:"block",blocks:["themeisle-blocks/form-multiple-choice"],transform:e=>{const t=(0,H.omit)(e,["type"]);return(0,s.createBlock)("themeisle-blocks/form-multiple-choice",{...t})}},{type:"block",blocks:["themeisle-blocks/form-file"],transform:e=>{const t=(0,H.omit)(e,["type"]);return(0,s.createBlock)("themeisle-blocks/form-file",{...t})}}]}});var Po=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/form-stripe-field","title":"Stripe Field","category":"themeisle-blocks","description":"A field used for adding Stripe products to the form.","keywords":["product","stripe","field"],"textdomain":"otter-blocks","ancestor":["themeisle-blocks/form"],"attributes":{"id":{"type":"string"},"fieldOptionName":{"type":"string"},"type":{"type":"string"},"label":{"type":"string"},"labelColor":{"type":"string"},"mappedName":{"type":"string"},"inputWidth":{"type":"number"},"product":{"type":"string"},"price":{"type":"string"}},"supports":{"align":["wide","full"]}}'),zo=({attributes:e,setAttributes:t,clientId:o})=>{var s;const{selectForm:a}=(0,b.useContext)(Kt);return(0,k.jsx)(d.InspectorControls,{children:(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Field Settings","otter-blocks"),children:[(0,k.jsx)(p.Button,{isSecondary:!0,variant:"secondary",onClick:()=>a?.(),children:(0,l.__)("Back to the Form","otter-blocks")}),(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Field Type","otter-blocks"),value:null!==(s=e.type)&&void 0!==s?s:"stripe",options:At(),onChange:t=>{"stripe"!==t&&Ft(t,o,e)}}),(0,k.jsx)(h.$T,{notice:(0,k.jsx)(p.ExternalLink,{href:(0,g.lY)(window.themeisleGutenberg.upgradeLink,"formfileblock"),children:(0,l.__)("Get more options with Otter Pro.","otter-blocks")}),variant:"upsell"})]})})};const{name:Ao}=Po;window.themeisleGutenberg.isAncestorTypeAvailable||(Po.parent=["themeisle-blocks/form"]),Boolean(window.themeisleGutenberg.hasPro)||(0,s.registerBlockType)(Ao,{...Po,title:(0,l.__)("Stripe Field (PRO)","otter-blocks"),description:(0,l.__)("A field used for adding Stripe products to the form.","otter-blocks"),icon:i.formFieldIcon,edit:e=>(0,k.jsx)(zo,{...e}),save:()=>null,transforms:{to:[{type:"block",blocks:["themeisle-blocks/form-input"],transform:e=>(0,s.createBlock)("themeisle-blocks/form-input",{...e})},{type:"block",blocks:["themeisle-blocks/form-textarea"],transform:e=>{const t=(0,H.omit)(e,["type"]);return(0,s.createBlock)("themeisle-blocks/form-textarea",{...t})}},{type:"block",blocks:["themeisle-blocks/form-multiple-choice"],transform:e=>{const t=(0,H.omit)(e,["type"]);return(0,s.createBlock)("themeisle-blocks/form-multiple-choice",{...t})}},{type:"block",blocks:["themeisle-blocks/form-file"],transform:e=>{const t=(0,H.omit)(e,["type"]);return(0,s.createBlock)("themeisle-blocks/form-file",{...t})}},{type:"block",blocks:["themeisle-blocks/form-hidden-field"],transform:e=>{const t=(0,H.omit)(e,["type"]);return(0,s.createBlock)("themeisle-blocks/form-hidden-field",{...t})}}]}});const{name:Fo}=yt;(0,s.registerBlockType)(Fo,{...yt,title:(0,l.__)("Form","otter-blocks"),description:(0,l.__)("Display a form for your clients. Powered by Otter.","otter-blocks"),icon:i.formIcon,keywords:["business","form","email"],edit:({attributes:e,setAttributes:t,clientId:o,isSelected:a,name:r})=>{var c,h;const[x,f]=(0,b.useState)(""),[v,_]=(0,b.useState)(""),{responsiveGetAttributes:w}=(0,m.d)(t),[C,j]=(0,b.useState)({formOptions:"loading",formIntegration:"done",listId:"init",captcha:"init",serviceTesting:"init"}),S=e=>{j((t=>({...t,...e})))},T=t=>e?.isSynced?.includes(t)?(0,y.getDefaultValueByField)({name:r,field:t,defaultAttributes:Jt,attributes:e}):e?.[t],[B,M]=(0,b.useState)({provider:void 0,redirectLink:void 0,fromName:void 0,fromEmail:void 0,emailTo:void 0,subject:void 0,email:void 0,listId:void 0,action:void 0,hasCaptcha:void 0,submitMessage:void 0,errorMessage:void 0,apiKey:void 0,cc:void 0,bcc:void 0,autoresponder:void 0,submissionsSaveLocation:void 0}),{insertBlock:P,removeBlock:z,replaceInnerBlocks:A,selectBlock:F,moveBlockToPosition:L}=(0,u.useDispatch)("core/block-editor"),R=(0,H.debounce)((()=>{const e=(0,s.createBlock)("core/spacer",{height:"0px"});P(e,0,o,!1),z(e.clientId,!1)}),3e3),[N,I]=(0,b.useState)(!0),[O,V]=(0,b.useState)(!1),[D,G]=(0,b.useState)(!1),[E,$]=(0,b.useState)([{label:(0,l.__)("None","otter-blocks"),value:""}]),{createNotice:W}=(0,u.useDispatch)("core/notices"),U=(0,u.useSelect)((e=>0<e("core/block-editor").getBlocks(o).length),[o]),{blockType:q,defaultVariation:Z,variations:J}=(0,u.useSelect)((e=>{const{getBlockVariations:t,getBlockType:o,getDefaultBlockVariation:l}=e("core/blocks");return{blockType:o(r),defaultVariation:l(r,"block"),variations:t(r,"block")}}),[r]),[K,Y]=(0,b.useState)(!1),{children:Q,hasProtection:X,currentBlockPosition:ee}=(0,u.useSelect)((e=>{const{getBlock:t,getBlockOrder:l}=e("core/block-editor"),s=t(o).innerBlocks;return{currentBlockPosition:l().indexOf(o),children:s,hasProtection:0<s?.filter((({name:e})=>"themeisle-blocks/form-nonce"===e))?.length}})),{canSaveData:te}=(0,u.useSelect)((e=>{const t=e("core/editor")?.isSavingPost(),o=e("core/editor")?.isPublishingPost(),l=e("core/editor")?.isAutosavingPost(),s=e("core/edit-widgets")?.isSavingWidgetAreas(),a=e("core/editor")?.isSavingNonPostEntityChanges();return{canSaveData:!l&&(t||o||a)||s}})),oe=(0,u.useSelect)((e=>{const{getBlockParentsByBlockName:t}=e("core/block-editor"),l=t(o,"themeisle-blocks/content-generator");return 0<l?.length}),[o]),le=e.optionName&&X;(0,b.useEffect)((()=>{te&&!oe&&ie()}),[te]),(0,b.useEffect)((()=>{const t=(0,y.blockInit)(o,Jt);return()=>t(e.id)}),[e.id]),(0,b.useEffect)((()=>{e.id&&(0,u.select)("core/edit-widgets")?t({optionName:`widget_${e.id.slice(-8)}`}):e.id&&t({optionName:`${vt()({url:window.location.pathname})}_${e.id.slice(-8)}`})}),[e.id]),(0,b.useEffect)((()=>{if(Q){const e=Q.filter((({name:e})=>"themeisle-blocks/form-nonce"===e));if(2<=e?.length)e.slice(1).forEach((e=>{z(e.clientId,!1)}));else if(0===e?.length&&o){const e=(0,s.createBlock)("themeisle-blocks/form-nonce");e&&P?.(e,Q?.length||0,o,!1)}}if(B.autoresponder||B.provider||B.listId||B.action){const e=(0,g.ue)(Q,(e=>"email"===e?.attributes?.type&&"themeisle-blocks/form-input"===e?.name),(e=>"themeisle-blocks/form"!==e?.name));Y(0<e?.length),V(0===e?.length)}if(B.webhookId){const e=(0,g.ue)(Q,(e=>e?.name?.startsWith("themeisle-blocks/form-")),(e=>"themeisle-blocks/form"!==e?.name)),t=[];let o=!1;for(const l of e)if(l?.attributes?.mappedName){if(t.includes(l?.attributes?.mappedName)){o=l.clientId;break}t.push(l?.attributes?.mappedName)}G(o)}}),[Q,B.autoresponder,B.provider,B.listId,B.action,B.webhookId]);const se=t=>t?.filter((({form:t})=>t===e.optionName)).pop(),ae=e=>{M({emailTo:e?.email,fromName:e?.fromName,fromEmail:e?.fromEmail,redirectLink:e?.redirectLink,subject:e?.emailSubject,cc:e?.cc,bcc:e?.bcc,submitMessage:e?.submitMessage,errorMessage:e?.errorMessage,provider:e?.integration?.provider,apiKey:e?.integration?.apiKey,listId:e?.integration?.listId,action:e?.integration?.action,hasCaptcha:e?.hasCaptcha,autoresponder:e?.autoresponder,autoresponderSubject:e?.autoresponderSubject,submissionsSaveLocation:e?.submissionsSaveLocation,webhookId:e?.webhookId,requiredFields:e?.requiredFields})};(0,b.useEffect)((()=>{let t=new AbortController;const o=setTimeout((()=>{S({formOptions:"done",formIntegration:"done"})}),2e4);if(e.optionName){S({formOptions:"loading",formIntegration:"loading"});try{wt().loadPromise.then((()=>{S({formOptions:"loading",formIntegration:"loading"}),(new(wt().models.Settings)).fetch({signal:t.signal}).done((e=>{t=null;const l=se(e.themeisle_blocks_form_emails);l&&(ae(l),I(l)),S({formIntegration:"done",formOptions:"done"}),clearTimeout(o)})).catch((()=>{S({formIntegration:"done",formOptions:"done"}),clearTimeout(o)}))}))}catch(e){console.error(e),S({formOptions:"error"})}}return()=>{t?.abort(),clearTimeout(o)}}),[e.optionName]);const ie=()=>{S({formOptions:"saving"});const t={form:e.optionName};B.requiredFields=re(),Object.keys(Yt).forEach((e=>{t[e]=B[Yt[e]]}));try{(new Zt).save("form_options",(e=>null===e?t:(Object.keys(t).forEach((o=>{e[o]=t[o]})),e)),((e,t)=>{t?S({formOptions:"error"}):(S({formOptions:"done"}),W("info",(0,l.__)("Form options have been saved.","otter-blocks"),{isDismissible:!0,type:"snackbar"}))}))}catch(e){S({formOptions:"error"})}},re=()=>{const e=(0,g.ue)(Q,(e=>"themeisle-blocks/form-stripe-field"===e.name),(e=>"themeisle-blocks/form"!==e?.name));return e?.map((e=>e.attributes.fieldOptionName))||[]};(0,b.useEffect)((()=>{let e,t=new AbortController;return B.apiKey&&B.provider&&(e=setTimeout((()=>S({listId:"timeout"})),6e3),S({listId:"loading"}),jt()({path:"otter/v1/form/editor",method:"POST",data:{handler:"listId",payload:{provider:B.provider,apiKey:B.apiKey,action:B.action}},signal:t.signal}).then((o=>{if(t=null,clearTimeout(e),o?.success){const e=o?.list_id?.map((e=>({label:e.name,value:e.id?.toString()})))||[];e.splice(0,0,{label:(0,l.__)("None","otter-blocks"),value:""}),$(e),S({listId:"done"});const t=1===e.map((({value:e})=>e)).filter((e=>e===B.listId)).length;B.listId&&!t&&W("error",(0,l.__)("The current contact list is invalid. Please choose a new contact list.","otter-blocks"),{isDismissible:!0,type:"snackbar"})}else{var s,a;W("error",null!==(s=null!==(a=o?.error)&&void 0!==a?a:o?.reasons?.join(". "))&&void 0!==s?s:(0,l.__)("An error has occurred.","otter-blocks"),{isDismissible:!0,type:"snackbar",id:"themeisle-form-server-error"}),S({listId:"error"})}})).catch((e=>{console.error(e),S({listId:"error"})}))),()=>{t?.abort(),clearTimeout(e)}}),[B.apiKey,B.provider]),(0,b.useEffect)((()=>{let t=new AbortController;if(void 0!==e.hasCaptcha&&e.optionName)try{(new(wt().models.Settings))?.current?.fetch({signal:t.signal}).done((o=>{t=null;const s=o.themeisle_blocks_form_emails?o.themeisle_blocks_form_emails:[];let a=!0,i=!1;s?.forEach((({form:t},o)=>{t===e.optionName&&(s[o].hasCaptcha!==e.hasCaptcha&&(i=!0),s[o].hasCaptcha=e.hasCaptcha,a=!1)})),a&&s.push({form:e.optionName,hasCaptcha:e.hasCaptcha}),(a||i)&&(new(wt().models.Settings)({themeisle_blocks_form_emails:s}).save(),W("info",(0,l.__)("Form preferences have been saved.","otter-blocks"),{isDismissible:!0,type:"snackbar"}))}))}catch(e){console.warn(e.message)}return()=>t?.abort()}),[e.hasCaptcha,e.optionName]),(0,b.useEffect)((()=>{let t=new AbortController;return e.hasCaptcha&&"init"===C?.captcha&&(()=>{S({captcha:"loading"});try{(new(wt().models.Settings))?.fetch({signal:t.signal}).then((e=>{t=null,""!==e.themeisle_google_captcha_api_site_key&&""!==e.themeisle_google_captcha_api_secret_key?S({captcha:"done"}):(S({captcha:"missing"}),f(e.themeisle_google_captcha_api_site_key),_(e.themeisle_google_captcha_api_secret_key))})).catch((e=>{console.error(e),S({captcha:"error"})}))}catch(e){console.warn(e.message),S({captcha:"error"})}})(),()=>t?.abort()}),[C.captcha,e.hasCaptcha]);const ne={"--message-font-size":T("messageFontSize"),"--input-font-size":T("inputFontSize"),"--help-font-size":T("helpFontSize"),"--input-color":T("inputColor"),"--padding":(0,g.H8)(w([T("inputPadding"),T("inputPaddingTablet"),T("inputPaddingMobile")]),"px"),"--border-radius":(0,g.H8)(T("inputBorderRadius"),"px"),"--border-width":(0,g.H8)(T("inputBorderWidth"),"px"),"--border-color":T("inputBorderColor"),"--label-color":T("labelColor"),"--input-width":void 0!==T("inputWidth")&&T("inputWidth")+"%","--submit-color":T("submitColor"),"--submit-bg-color":T("submitBackgroundColor"),"--submit-color-hover":T("submitColorHover"),"--submit-bg-color-hover":T("submitBackgroundColorHover"),"--required-color":T("inputRequiredColor"),"--input-gap":void 0!==T("inputGap")&&T("inputGap")+"px","--inputs-gap":void 0!==T("inputsGap")&&T("inputsGap")+"px","--label-font-size":(0,g.ws)(T("labelFontSize")),"--submit-font-size":T("submitFontSize"),"--help-label-color":T("helpLabelColor"),"--input-bg-color":T("inputBackgroundColor"),"--btn-pad":(0,g.H8)(w([T("buttonPadding"),T("buttonPaddingTablet"),T("buttonPaddingMobile")]),"px")},ce=(0,d.useBlockProps)({id:e.id,style:ne}),de={select:e=>{0<Q?.length&&F(e)},move:(e,t)=>{const l=Q.find((t=>t.clientId===e))?.clientId;l&&L(l,o,o,t)},delete:e=>{0<Q?.length&&z(e,!1)},add:e=>{const t=(0,s.createBlock)(e);P(t,Q?.length||0,o,!1)}};return(0,k.jsx)(b.Fragment,{children:(0,k.jsxs)(Kt.Provider,{value:{savedFormOptions:N,listIDOptions:E,setListIDOptions:$,saveFormEmailOptions:ie,formOptions:B,setFormOption:e=>{(e=>{M((t=>({...t,...e})))})(e),R()},saveIntegration:()=>{S({formIntegration:"saving"}),(new(wt().models.Settings))?.fetch().done((o=>{const s=o.themeisle_blocks_form_emails?o.themeisle_blocks_form_emails:[];let a=!0,i=!1;s?.forEach((({form:t},o)=>{t===e.optionName&&(s[o]?.integration||(s[o].integration={}),i=s[o].integration?.provider!==B.provider||s[o].integration?.listId!==B.listId||s[o].integration?.action!==B.action||s[o].integration?.apiKey!==B.apiKey,a=!1,s[o].integration.provider=B.provider,s[o].integration.apiKey=B.apiKey,s[o].integration.listId=B.listId,s[o].integration.action=B.action)})),a&&s.push({form:e.optionName,integration:{provider:B.provider,apiKey:B.apiKey,listId:B.listId,action:B.action}}),a||i?new(wt().models.Settings)({themeisle_blocks_form_emails:s}).save().then((e=>{const o=se(e.themeisle_blocks_form_emails);o&&(ae(o),t({action:o?.integration?.action})),S({formIntegration:"done"}),W("info",(0,l.__)("Integration details have been saved.","otter-blocks"),{isDismissible:!0,type:"snackbar"})})).catch((e=>{console.error(e),S({formIntegration:"error"})})):S({formIntegration:"done"})})).catch((()=>{S({formIntegration:"error"})}))},sendTestEmail:()=>{jt()({path:"otter/v1/form/editor",method:"POST",data:{handler:"testEmail",payload:{provider:"default",to:B?.emailTo,site:window.location.href}}}).then((e=>{e?.success?W("info",(0,l.__)("The test email has been send. Check your emails for confirmation.","otter-blocks"),{isDismissible:!0,type:"snackbar"}):W("error",(0,l.sprintf)(
// translators: %1$s the error message of the test email
// translators: %1$s the error message of the test email
(0,l.__)("An error has occurred: %1$s","otter-blocks"),e?.error||(0,l.__)("unknown","otter-blocks")),{isDismissible:!0,type:"snackbar"})})).catch((e=>{console.error(e),W("error",e?.message,{isDismissible:!0,type:"snackbar"})}))},loadingState:C,testService:()=>{S({serviceTesting:"loading"}),jt()({path:"otter/v1/form/editor",method:"POST",data:{handler:"testEmail",payload:{formOption:e.optionName}}}).then((e=>{e?.success?(W("info",(0,l.__)("A test email has been registered to your contact list. Check your provider for confirmation.","otter-blocks"),{isDismissible:!0,type:"snackbar"}),S({serviceTesting:"done"})):(W("error",(0,l.sprintf)(
// translators: %s is the error message from the email provider.
// translators: %s is the error message from the email provider.
(0,l.__)("An error has occurred: %s. Check your provider for confirmation.","otter-blocks"),e?.error||(0,l.__)("unknown","otter-blocks")),{isDismissible:!0,type:"snackbar"}),S({serviceTesting:"error"}))})).catch((e=>{console.error(e),W("error",e?.message,{isDismissible:!0,type:"snackbar"}),S({testService:"error"})}))},hasEmailField:K,children:Q,inputFieldActions:de,hasInnerBlocks:U,selectForm:()=>F(o),showAutoResponderNotice:O},children:[(0,k.jsx)($t,{attributes:e,setAttributes:t}),(0,k.jsx)(d.BlockControls,{children:(0,k.jsx)(p.ToolbarGroup,{children:(0,k.jsxs)(p.Button,{onClick:()=>{const e=(0,s.createBlock)("themeisle-blocks/content-generator",{promptID:"form"});(0,y.insertBlockBelow)(o,e)},children:[(0,l.__)("Create Form With AI","otter-blocks"),(0,k.jsx)(St.A,{width:22,icon:i.aiGeneration,style:{marginLeft:"8px"}})]})})}),(0,k.jsx)("div",{...ce,children:U?(0,k.jsxs)("form",{className:"otter-form__container",onSubmit:()=>!1,children:[(0,k.jsxs)("style",{children:[`#block-${o} .wp-block-button .wp-block-button__link:not(:hover) `+(0,g.SJ)([["color",T("submitColor")],["background-color",T("submitBackgroundColor")]]),`#block-${o} .wp-block-button .wp-block-button__link:hover `+(0,g.SJ)([["color",T("submitColorHover")],["background-color",T("submitBackgroundColorHover")]])]}),(0,k.jsx)(d.InnerBlocks,{}),e.hasCaptcha&&"done"!==C?.captcha&&(0,k.jsx)(Wt,{className:"otter-form-captcha",loadingState:C,saveAPIKey:()=>{S({captcha:"loading"});try{const e=new(wt().models.Settings)({themeisle_google_captcha_api_site_key:x,themeisle_google_captcha_api_secret_key:v});e?.save?.()?.then((e=>{""!==e.themeisle_google_captcha_api_site_key&&""!==e.themeisle_google_captcha_api_secret_key?S({captcha:"done"}):S({captcha:"missing"}),_(""),f(""),W("info",(0,l.__)("Google reCaptcha API Keys have been saved.","otter-blocks"),{isDismissible:!0,type:"snackbar"}).catch((e=>{console.error(e),S({captcha:"error"})}))}))?.catch((e=>{console.error(e),S({captcha:"error"})}))}catch(e){console.warn(e.message),S({captcha:"error"})}},siteKey:x,secretKey:v,setSiteKey:f,setSecretKey:_}),"submit-subscribe"===e.action&&(0,k.jsxs)("div",{className:"otter-form-consent",children:[(0,k.jsx)("input",{id:"o-consent",name:"o-consent",type:"checkbox"}),(0,k.jsx)("label",{htmlFor:"o-consent",children:(0,l.__)("I have read and agree to the privacy statement.","otter-blocks")})]}),(0,k.jsxs)("div",{className:n()("wp-block-button has-submit-msg",{left:"left"===e.submitStyle},{right:"right"===e.submitStyle},{full:"full"===e.submitStyle},{"o-full-tablet":"full"===e.submitStyleTablet},{"o-right-tablet":"right"===e.submitStyleTablet},{"o-left-tablet":"left"===e.submitStyleTablet},{"o-full-mobile":"full"===e.submitStyleMobile},{"o-right-mobile":"right"===e.submitStyleMobile},{"o-left-mobile":"left"===e.submitStyleMobile},{"o-center":"center"===e.submitStyle},{"o-center-tablet":"center"===e.submitStyleTablet},{"o-center-mobile":"center"===e.submitStyleMobile}),children:[(0,k.jsx)(d.RichText,{className:"wp-block-button__link",placeholder:(0,l.__)("Submit","otter-blocks"),value:e.submitLabel,onChange:e=>{e=e.replace(/<br\s*\/?>/gi," "),t({submitLabel:e})},multiple:!1,tagName:"span",type:"submit",onClick:e=>e.preventDefault()}),a&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)("div",{children:[(0,k.jsx)("div",{className:"o-form-server-response o-success",style:{color:e.submitMessageColor},children:null!==(c=B.submitMessage)&&void 0!==c?c:(0,l.__)("Success","otter-blocks")}),(0,k.jsx)("div",{className:"o-form-server-response o-error",style:{color:e.submitMessageErrorColor,margin:"0px"},children:null!==(h=B.errorMessage)&&void 0!==h?h:(0,l.__)("Error. Please try again.","otter-blocks")})]}),!le&&e.id&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)("p",{children:(0,l.__)("Some data is missing!","otter-blocks")}),void 0===e.optionName&&(0,k.jsx)("p",{children:(0,l.__)("Bad initialization. Please create another Form!","otter-blocks")}),!1===X&&(0,k.jsx)("p",{children:(0,l.__)("CSRF protection is missing. Please create another Form!","otter-blocks")})]}),D&&(0,k.jsxs)(p.Notice,{isDismissible:!1,status:"error",children:[(0,k.jsx)("p",{children:(0,l.__)("Some Form fields have the same Mapped Name! Please change the Mapped Name of the duplicated fields.","otter-blocks")}),(0,k.jsx)(p.Button,{variant:"primary",onClick:()=>{F(D)},children:(0,l.__)("Go to Block","otter-blocks")})]})]})]})]}):(0,k.jsx)(d.__experimentalBlockVariationPicker,{icon:(0,H.get)(q,["icon","src"]),label:(0,H.get)(q,["title"]),variations:J,onSelect:(e=Z)=>{e&&(window.oTrk?.add({feature:"form",featureComponent:"variant",featureValue:e.name}),A(o,(0,s.createBlocksFromInnerBlocksTemplate)(e.innerBlocks),!0)),F(o)},allowSkip:!0})})]})})},save:({attributes:e})=>{const t=d.useBlockProps.save({id:e.id,className:n()({"can-submit-and-subscribe":"submit-subscribe"===e.action,"has-captcha":e.hasCaptcha}),"data-option-name":e.optionName});return(0,k.jsx)("div",{...t,children:(0,k.jsxs)("form",{className:"otter-form__container",children:[(0,k.jsx)(d.InnerBlocks.Content,{}),(0,k.jsx)("div",{className:n()("wp-block-button",{left:"left"===e.submitStyle},{right:"right"===e.submitStyle},{full:"full"===e.submitStyle},{"o-full-tablet":"full"===e.submitStyleTablet},{"o-right-tablet":"right"===e.submitStyleTablet},{"o-left-tablet":"left"===e.submitStyleTablet},{"o-full-mobile":"full"===e.submitStyleMobile},{"o-right-mobile":"right"===e.submitStyleMobile},{"o-left-mobile":"left"===e.submitStyleMobile},{"o-center":"center"===e.submitStyle},{"o-center-tablet":"center"===e.submitStyleTablet},{"o-center-mobile":"center"===e.submitStyleMobile}),children:(0,k.jsx)("button",{className:"wp-block-button__link",type:"submit",children:e.submitLabel?e.submitLabel:(0,l.__)("Submit","otter-blocks")})})]})})},deprecated:xt,example:{attributes:{},innerBlocks:[{name:"themeisle-blocks/form-input",attributes:{label:(0,l.__)("Name","otter-blocks"),type:"text",isRequired:!0}},{name:"themeisle-blocks/form-input",attributes:{label:(0,l.__)("Email","otter-blocks"),type:"email",isRequired:!0}},{name:"themeisle-blocks/form-textarea",attributes:{label:(0,l.__)("Message","otter-blocks")}},{name:"core/paragraph",attributes:{content:(0,l.__)("You agree to receive email communication from us by submitting this form and understand that your contact information will be stored with us.","otter-blocks"),fontSize:"extra-small"}}]},variations:[{name:"themeisle-blocks/form-contact",description:(0,l.__)("Contact form for clients","otter-blocks"),icon:i.formIcon,title:(0,l.__)("Contact Form","otter-blocks"),innerBlocks:[["themeisle-blocks/form-input",{label:(0,l.__)("Name","otter-blocks"),type:"text",isRequired:!0}],["themeisle-blocks/form-input",{label:(0,l.__)("Email","otter-blocks"),type:"email",isRequired:!0}],["themeisle-blocks/form-nonce",{}],["themeisle-blocks/form-textarea",{label:(0,l.__)("Message","otter-blocks")}],["core/paragraph",{content:(0,l.__)("You agree to receive email communication from us by submitting this form and understand that your contact information will be stored with us.","otter-blocks"),fontSize:"extra-small"}]],scope:["block"]},{name:"themeisle-blocks/form-subscribe",description:(0,l.__)("Add the clients to your subscription list","otter-blocks"),icon:i.formIcon,title:(0,l.__)("Subscribe Form","otter-blocks"),innerBlocks:[["themeisle-blocks/form-input",{label:(0,l.__)("Name","otter-blocks"),type:"text",isRequired:!0}],["themeisle-blocks/form-input",{label:(0,l.__)("Email","otter-blocks"),type:"email",isRequired:!0}],["themeisle-blocks/form-nonce",{}],["core/paragraph",{content:(0,l.__)("You agree to receive email communication from us by submitting this form and understand that your contact information will be stored with us.","otter-blocks"),fontSize:"extra-small"}]],scope:["block"]}]});var Lo=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/google-map","title":"Google Maps","category":"themeisle-blocks","description":"Display Google Maps on your website with Google Map block. Powered by Otter.","keywords":["map","google","orbitfox"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"style":{"type":"string","default":"standard"},"location":{"type":"string","default":"La Sagrada Familia, Barcelona, Spain"},"latitude":{"type":"string"},"longitude":{"type":"string"},"type":{"type":"string","default":"roadmap"},"zoom":{"type":"number","default":15},"height":{"type":["number","string"],"default":"400px"},"heightTablet":{"type":"string"},"heightMobile":{"type":"string"},"draggable":{"type":"boolean","default":true},"mapTypeControl":{"type":"boolean","default":true},"zoomControl":{"type":"boolean","default":true},"fullscreenControl":{"type":"boolean","default":true},"streetViewControl":{"type":"boolean","default":true},"markers":{"type":"array","default":[]}},"supports":{"align":["wide","full"],"html":false},"editorStyle":"otter-google-map-editor","style":"otter-google-map-style","script":"google-maps"}'),Ro=o(3829),No=({api:e,error:t,isAPILoaded:o,isAPISaved:s,isSaving:a,changeAPI:r,saveAPIKey:c})=>o?s?void 0:(0,k.jsxs)(p.Placeholder,{icon:i.googleMapIcon,label:(0,l.__)("Google Maps","otter-blocks"),instructions:(0,l.__)("A Google Maps API key is required, please enter one below.","otter-blocks"),children:[(0,k.jsxs)("div",{className:"components-placeholder__actions",children:[(0,k.jsx)(p.TextControl,{type:"text",placeholder:(0,l.__)("Google Maps API Key","otter-blocks"),value:e,className:n()("components-placeholder__input",{"is-invalid":t}),onChange:r}),(0,k.jsx)(p.Button,{isPrimary:!0,type:"submit",onClick:c,isBusy:a,disabled:""===e||t,children:(0,l.__)("Save","otter-blocks")})]}),(0,k.jsxs)("div",{className:"components-placeholder__learn-more",children:[t&&(0,k.jsx)("p",{children:(0,l.__)("The API key could not be validated.","otter-blocks")}),(0,k.jsxs)("p",{children:[(0,l.__)("You need to activate Maps and Places API.","otter-blocks")," ",(0,k.jsx)(p.ExternalLink,{href:"https://developers.google.com/maps/documentation/javascript/get-api-key",children:(0,l.__)("Need an API key? Get one here.","otter-blocks")})]})]})]}):(0,k.jsxs)(p.Placeholder,{children:[(0,k.jsx)(p.Spinner,{}),(0,l.__)("Loading…","otter-blocks")]}),Io=({marker:e,isOpen:t,isPlaceAPIAvailable:o,openMarker:s,removeMarker:a,changeMarkerProp:i})=>{const r=(0,b.useRef)(null);return(0,k.jsxs)("div",{className:"wp-block-themeisle-blocks-google-map-marker",children:[(0,k.jsxs)("div",{className:"wp-block-themeisle-blocks-google-map-marker-title-area",children:[(0,k.jsx)(p.Button,{className:"wp-block-themeisle-blocks-google-map-marker-title",onClick:()=>s(e.id),children:e.title||(0,l.__)("Custom Marker","otter-blocks")}),(0,k.jsx)(p.Button,{icon:"no-alt",label:(0,l.__)("Remove Marker","otter-blocks"),showTooltip:!0,className:"wp-block-themeisle-blocks-google-map-marker-remove",onClick:()=>a(e.id)})]}),(0,k.jsxs)("div",{className:n()("wp-block-themeisle-blocks-google-map-marker-control-area",{opened:e.id===t}),children:[(0,k.jsxs)(p.BaseControl,{label:(0,l.__)("Location","otter-blocks"),id:`themeisle-location-search-${e.id}`,children:[(0,k.jsx)("input",{type:"text",id:`themeisle-location-search-${e.id}`,placeholder:(0,l.__)("Enter a location…","otter-blocks"),value:e.location,className:"wp-block-themeisle-blocks-google-map-search",ref:r,onFocus:()=>{const t=document.getElementsByClassName("pac-container");Object.keys(t).forEach((e=>t[e].remove()));const o=new window.google.maps.places.SearchBox(r.current);o.addListener("places_changed",(()=>{const t=o.getPlaces();t&&0<t.length&&t.forEach((t=>{const o=t.formatted_address||t.name,l=t.geometry.location.lat(),s=t.geometry.location.lng();i(e.id,"location",o),i(e.id,"latitude",l),i(e.id,"longitude",s)}))}))},onChange:t=>i(e.id,"location",t.target.value),disabled:!o}),!o&&(0,k.jsxs)("p",{children:[(0,l.__)("To enable locations earch, please ensure Places API is activated in the Google Developers Console.","otter-blocks")+" ",(0,k.jsx)(p.ExternalLink,{href:"https://developers.google.com/places/web-service/intro",children:(0,l.__)("More info.","otter-blocks")})]})]}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Latitude","otter-blocks"),type:"text",value:e.latitude,onChange:t=>i(e.id,"latitude",t)}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Longitude","otter-blocks"),type:"text",value:e.longitude,onChange:t=>i(e.id,"longitude",t)}),(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Map Icon","otter-blocks"),value:e.icon||"https://maps.google.com/mapfiles/ms/icons/red-dot.png",options:[{label:(0,l.__)("Red","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/red-dot.png"},{label:(0,l.__)("Blue","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/blue-dot.png"},{label:(0,l.__)("Yellow","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/yellow-dot.png"},{label:(0,l.__)("Green","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/green-dot.png"},{label:(0,l.__)("Orange","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/orange-dot.png"}],onChange:t=>i(e.id,"icon",t)}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Title","otter-blocks"),type:"text",value:e.title,onChange:t=>i(e.id,"title",t)}),(0,k.jsx)(h.dS,{label:(0,l.__)("Description","otter-blocks"),type:"text",value:e.description,onChange:t=>i(e.id,"description",t)})]})]})},Oo=({initialOpen:e,markers:t,isPlaceAPIAvailable:o,addMarker:s,removeMarker:a,changeMarkerProp:i})=>{(0,b.useEffect)((()=>{!1!==e&&n(e)}),[e]);const[r,n]=(0,b.useState)(null),c=e=>{r===e&&(e=null),n(e)};return(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-google-map-marker-group",children:t.map((e=>(0,k.jsx)(Io,{marker:e,isOpen:r,isPlaceAPIAvailable:o,openMarker:c,removeMarker:a,changeMarkerProp:i},e.id)))}),(0,k.jsx)(p.Button,{isSecondary:!0,className:"wp-block-themeisle-blocks-google-map-marker-add",onClick:s,children:(0,l.__)("Add Marker","otter-blocks")})]})},Ho=({attributes:e,setAttributes:t,map:o,changeStyle:s,isPlaceAPIAvailable:a,isMarkerOpen:i,setMarkerOpen:r,removeMarker:n,changeMarkerProp:c,addMarkerManual:u,api:g,isSaving:x,changeAPI:f,saveAPIKey:v})=>{const[_,w]=(0,y.useTabSwitch)(e.id,"settings"),{responsiveSetAttributes:C,responsiveGetAttributes:j}=(0,m.d)(t),S=(0,b.useRef)(null);return(0,k.jsxs)(d.InspectorControls,{children:[(0,k.jsx)(h.R7,{value:_,options:[{label:(0,l.__)("Settings","otter-blocks"),value:"settings"},{label:(0,l.__)("Style","otter-blocks"),value:"style"}],onChange:w}),"settings"===_&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Location","otter-blocks"),children:[(0,k.jsxs)(p.BaseControl,{label:(0,l.__)("Location","otter-blocks"),id:"wp-block-themeisle-blocks-google-map-search",children:[(0,k.jsx)("input",{type:"text",id:"wp-block-themeisle-blocks-google-map-search",placeholder:(0,l.__)("Enter a location…","otter-blocks"),value:e.location,className:"wp-block-themeisle-blocks-google-map-search",ref:S,onFocus:()=>{const e=document.getElementsByClassName("pac-container");Object.keys(e).forEach((t=>e[t].remove()));const l=new window.google.maps.places.SearchBox(S.current);l.addListener("places_changed",(()=>{const e=l.getPlaces();e&&0<e.length&&e.forEach((e=>{const l=e.geometry.location.lat(),s=e.geometry.location.lng(),a=new window.google.maps.LatLng(l,s);o.setCenter(a),t({location:e.formatted_address||e.name,latitude:l.toString(),longitude:s.toString()})}))}))},onChange:e=>{t({location:e.target.value})},disabled:!a}),!a&&(0,k.jsxs)("p",{children:[(0,l.__)("To enable locations earch, please ensure Places API is activated in the Google Developers Console.","otter-blocks")+" ",(0,k.jsx)(p.ExternalLink,{href:"https://developers.google.com/places/web-service/intro",children:(0,l.__)("More info.","otter-blocks")})]})]}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Latitude","otter-blocks"),type:"text",placeholder:(0,l.__)("Enter latitude…","otter-blocks"),value:e.latitude,onChange:l=>{t({latitude:l.toString()});const s=Number(l),{longitude:a}=e,i=new window.google.maps.LatLng(s,a);o.setCenter(i)}}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Longitude","otter-blocks"),type:"text",placeholder:(0,l.__)("Enter longitude","otter-blocks"),value:e.longitude,onChange:l=>{t({longitude:l.toString()});const{latitude:s}=e,a=Number(l),i=new window.google.maps.LatLng(s,a);o.setCenter(i)}})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Positioning & Zooming","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Map Zoom Level","otter-blocks"),value:e.zoom,onChange:e=>{t({zoom:e}),o.setZoom(e)},min:0,max:20}),(0,k.jsxs)(h.k3,{label:(0,l.__)("Height","otter-blocks"),children:[(0,k.jsx)(p.__experimentalUnitControl,{value:j([(T=e.height,(0,H.isNumber)(T)?(e=>e?`${e}px`:e)(T):T),e.heightTablet,e.heightMobile]),onChange:e=>C(e,["height","heightTablet","heightMobile"])}),(0,k.jsx)(h.k2,{values:["height","heightTablet","heightMobile"],setAttributes:t})]})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Controls","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.BaseControl,{children:(0,l.__)("The following changes will not affect block preview during the editing process. You can click outside the block to see the changes take effect.","otter-blocks")}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Draggable Map","otter-blocks"),checked:e.draggable,onChange:()=>{t({draggable:!e.draggable})}}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Map Type Control","otter-blocks"),checked:e.mapTypeControl,onChange:()=>{t({mapTypeControl:!e.mapTypeControl})}}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Zoom Control","otter-blocks"),checked:e.zoomControl,onChange:()=>{t({zoomControl:!e.zoomControl})}}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Full Screen Control","otter-blocks"),checked:e.fullscreenControl,onChange:()=>{t({fullscreenControl:!e.fullscreenControl})}}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Street View Control","otter-blocks"),checked:e.streetViewControl,onChange:()=>{t({streetViewControl:!e.streetViewControl})}})]}),(0,k.jsx)(p.PanelBody,{title:(0,l.__)("Markers","otter-blocks"),initialOpen:!1,opened:!1!==i||void 0,onToggle:()=>{!1!==i&&r(!0)},children:(0,k.jsx)(Oo,{markers:e.markers,removeMarker:n,changeMarkerProp:c,addMarker:u,isPlaceAPIAvailable:a,initialOpen:i})}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Global Settings","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.TextControl,{label:(0,l.__)("Google Maps API Key","otter-blocks"),type:"text",placeholder:(0,l.__)("Google Maps API Key","otter-blocks"),value:g,className:"components-placeholder__input",onChange:f,help:(0,l.__)("Changing the API key effects all Google Map Embed blocks. You will have to refresh the page after changing your API keys.","otter-blocks")}),(0,k.jsx)(p.Button,{isSecondary:!0,type:"submit",onClick:v,isBusy:x,children:(0,l.__)("Save API Key","otter-blocks")})]}),(0,k.jsx)(h.Cu,{})]}),"style"===_&&(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Styles","otter-blocks"),children:[(0,k.jsx)(h.Rd,{value:e.style,options:[{label:(0,l.__)("Standard","otter-blocks"),value:"standard",image:window.themeisleGutenberg.assetsPath+"/icons/map-standard.png"},{label:(0,l.__)("Silver","otter-blocks"),value:"silver",image:window.themeisleGutenberg.assetsPath+"/icons/map-silver.png"},{label:(0,l.__)("Retro","otter-blocks"),value:"retro",image:window.themeisleGutenberg.assetsPath+"/icons/map-retro.png"},{label:(0,l.__)("Dark","otter-blocks"),value:"dark",image:window.themeisleGutenberg.assetsPath+"/icons/map-dark.png"},{label:(0,l.__)("Night","otter-blocks"),value:"night",image:window.themeisleGutenberg.assetsPath+"/icons/map-night.png"},{label:(0,l.__)("Aubergine","otter-blocks"),value:"aubergine",image:window.themeisleGutenberg.assetsPath+"/icons/map-aubergine.png"}],onChange:s}),(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Map Type","otter-blocks"),value:e.type,options:[{label:(0,l.__)("Road Map","otter-blocks"),value:"roadmap"},{label:(0,l.__)("Satellite View","otter-blocks"),value:"satellite"},{label:(0,l.__)("Hybrid","otter-blocks"),value:"hybrid"},{label:(0,l.__)("Terrain","otter-blocks"),value:"terrain"}],onChange:e=>{t({type:e}),o.setMapTypeId(window.google.maps.MapTypeId[e.toUpperCase()])}})]})]});var T},Vo=o(3050),Do=({marker:e,isAdvanced:t,isPlaceAPIAvailable:o,addMarker:s,close:a})=>{(0,b.useEffect)((()=>{n(e.id),d(e.location),g(e.title),y(e.icon),f(e.description),_(e.latitude),C(e.longitude)}),[e]);const i=(0,b.useRef)(null),[r,n]=(0,b.useState)(e.id),[c,d]=(0,b.useState)(e.location),[u,g]=(0,b.useState)(e.title),[m,y]=(0,b.useState)(e.icon),[x,f]=(0,b.useState)(e.description),[v,_]=(0,b.useState)(e.latitude),[w,C]=(0,b.useState)(e.longitude);return(0,k.jsxs)(p.Modal,{title:(0,l.__)("Add Marker","otter-blocks"),onRequestClose:a,shouldCloseOnClickOutside:!1,children:[t&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.BaseControl,{label:(0,l.__)("Location","otter-blocks"),id:`themeisle-location-search-${e.id}`,children:(0,k.jsx)("input",{type:"text",id:`themeisle-location-search-${r}`,placeholder:(0,l.__)("Enter a location…","otter-blocks"),value:c,className:"wp-block-themeisle-blocks-google-map-search",ref:i,onFocus:()=>{const e=document.getElementsByClassName("pac-container");Object.keys(e).forEach((t=>e[t].remove()));const t=new window.google.maps.places.SearchBox(i.current);t.addListener("places_changed",(()=>{const e=t.getPlaces();e&&0<e.length&&e.forEach((e=>{const t=e.formatted_address||e.name,o=e.geometry.location.lat(),l=e.geometry.location.lng();d(t),_(o),C(l)}))}))},onChange:e=>d(e.target.value),disabled:!o})}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Latitude","otter-blocks"),type:"text",value:v,onChange:_}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Longitude","otter-blocks"),type:"text",value:w,onChange:C})]}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Title","otter-blocks"),type:"text",value:u,onChange:g}),(0,k.jsx)(h.dS,{label:(0,l.__)("Description","otter-blocks"),type:"text",value:x,onChange:f}),(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Map Icon","otter-blocks"),value:m||"https://maps.google.com/mapfiles/ms/icons/red-dot.png",options:[{label:(0,l.__)("Red","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/red-dot.png"},{label:(0,l.__)("Blue","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/blue-dot.png"},{label:(0,l.__)("Yellow","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/yellow-dot.png"},{label:(0,l.__)("Green","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/green-dot.png"},{label:(0,l.__)("Orange","otter-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/orange-dot.png"}],onChange:y}),(0,k.jsxs)(p.ButtonGroup,{children:[(0,k.jsx)(p.Button,{isPrimary:!0,onClick:()=>s(c,u,m,x,v,w),children:(0,l.__)("Add","otter-blocks")}),(0,k.jsx)(p.Button,{isSecondary:!0,onClick:a,children:(0,l.__)("Cancel","otter-blocks")})]})]})},Go=({attributes:e,initMap:t,displayMap:o,isMapLoaded:s,selectMarker:a,isSelectingMarker:i})=>{(0,b.useEffect)((()=>{o&&t()}),[o]);const{responsiveGetAttributes:r}=(0,m.d)();return(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)("div",{id:e.id,className:n()("wp-block-themeisle-blocks-google-map-container",{"is-selecting-marker":i}),style:{height:r([(0,g.ws)(e.height),e.heightTablet,e.heightMobile])}}),s&&(0,k.jsx)(p.Button,{className:"wp-block-themeisle-blocks-google-map-marker-button",title:(0,l.__)("Add Button","otter-blocks"),onClick:a,children:(0,k.jsx)("span",{className:"dashicons dashicons-sticky"})})]})},Eo={standard:[],silver:[{elementType:"geometry",stylers:[{color:"#f5f5f5"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f5f5"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dadada"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#c9c9c9"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]}],retro:[{elementType:"geometry",stylers:[{color:"#ebe3cd"}]},{elementType:"labels.text.fill",stylers:[{color:"#523735"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f1e6"}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#c9b2a6"}]},{featureType:"administrative.land_parcel",elementType:"geometry.stroke",stylers:[{color:"#dcd2be"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#ae9e90"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#93817c"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#a5b076"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#447530"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#f5f1e6"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#fdfcf8"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#f8c967"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#e9bc62"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#e98d58"}]},{featureType:"road.highway.controlled_access",elementType:"geometry.stroke",stylers:[{color:"#db8555"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#806b63"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"transit.line",elementType:"labels.text.fill",stylers:[{color:"#8f7d77"}]},{featureType:"transit.line",elementType:"labels.text.stroke",stylers:[{color:"#ebe3cd"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"#b9d3c2"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#92998d"}]}],dark:[{elementType:"geometry",stylers:[{color:"#212121"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{elementType:"labels.text.stroke",stylers:[{color:"#212121"}]},{featureType:"administrative",elementType:"geometry",stylers:[{color:"#757575"}]},{featureType:"administrative.country",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"administrative.land_parcel",stylers:[{visibility:"off"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#181818"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"poi.park",elementType:"labels.text.stroke",stylers:[{color:"#1b1b1b"}]},{featureType:"road",elementType:"geometry.fill",stylers:[{color:"#2c2c2c"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#8a8a8a"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#373737"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#3c3c3c"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#4e4e4e"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#000000"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#3d3d3d"}]}],night:[{elementType:"geometry",stylers:[{color:"#242f3e"}]},{elementType:"labels.text.fill",stylers:[{color:"#746855"}]},{elementType:"labels.text.stroke",stylers:[{color:"#242f3e"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#263c3f"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#6b9a76"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#38414e"}]},{featureType:"road",elementType:"geometry.stroke",stylers:[{color:"#212a37"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#9ca5b3"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#746855"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#1f2835"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#f3d19c"}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#2f3948"}]},{featureType:"transit.station",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#17263c"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#515c6d"}]},{featureType:"water",elementType:"labels.text.stroke",stylers:[{color:"#17263c"}]}],aubergine:[{elementType:"geometry",stylers:[{color:"#1d2c4d"}]},{elementType:"labels.text.fill",stylers:[{color:"#8ec3b9"}]},{elementType:"labels.text.stroke",stylers:[{color:"#1a3646"}]},{featureType:"administrative.country",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#64779e"}]},{featureType:"administrative.province",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"landscape.man_made",elementType:"geometry.stroke",stylers:[{color:"#334e87"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#023e58"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#283d6a"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#6f9ba5"}]},{featureType:"poi",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#023e58"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#3C7680"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#304a7d"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"road",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#2c6675"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#255763"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#b0d5ce"}]},{featureType:"road.highway",elementType:"labels.text.stroke",stylers:[{color:"#023e58"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"transit",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"transit.line",elementType:"geometry.fill",stylers:[{color:"#283d6a"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#3a4762"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#0e1626"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#4e6d70"}]}]};const{attributes:$o}=Lo;const Wo={to:[{type:"block",blocks:["themeisle-blocks/leaflet-map"],transform:e=>{const t=(0,H.omit)(e,["style","mapTypeControl","fullscreenControl","streetViewControl"]);return(0,s.createBlock)("themeisle-blocks/leaflet-map",{...t})}}]};var Uo=Wo;const{name:qo}=Lo;(0,s.registerBlockType)(qo,{...Lo,title:(0,l.__)("Google Maps","otter-blocks"),description:(0,l.__)("Display Google Maps on your website with Google Map block. Powered by Otter.","otter-blocks"),icon:i.googleMapIcon,keywords:["map","google","orbitfox"],transforms:Uo,edit:({attributes:e,setAttributes:t,clientId:o,isSelected:s})=>{(0,b.useEffect)((()=>{const t=(0,y.blockInit)(o,$o);return()=>t(e.id)}),[e.id]),(0,b.useEffect)((()=>{let e=!0;return(async()=>{await window.wp.api.loadPromise.then((()=>{i.current=new window.wp.api.models.Settings})),!1===Boolean(window.themeisleGutenberg.mapsAPI)?m||i.current.fetch().then((t=>{e&&(g(t.themeisle_google_map_block_api_key),x(!0),""!==t.themeisle_google_map_block_api_key&&(v(!0),G(t.themeisle_google_map_block_api_key)))})):!m&&e&&(g(window.themeisleGutenberg.mapsAPI),x(!0),v(!0),G(window.themeisleGutenberg.mapsAPI))})(),window.isMapLoaded=window.isMapLoaded||!1,window[`removeMarker_${o.substr(0,8)}`]=U,window.gm_authFailure=function(){v(!1),D(!0)},r.current=document.createElement("script"),r.current.type="text/javascript",r.current.async=!0,r.current.defer=!0,r.current.id="themeisle-google-map-api-loading",()=>{e=!1}}),[]),(0,b.useEffect)((()=>{!1!==f&&void 0!==window.google&&c.current.setOptions({mapTypeControl:!!s||e.mapTypeControl,zoomControl:!!s||e.zoomControl,fullscreenControl:!!s||e.fullscreenControl,streetViewControl:!!s||e.streetViewControl})}),[s]),(0,b.useEffect)((()=>{p.current=[...e.markers]}),[e.markers]);const a=(0,b.useRef)([]),i=(0,b.useRef)(null),r=(0,b.useRef)(null),c=(0,b.useRef)(null),u=(0,b.useRef)(null),p=(0,b.useRef)([...e.markers]),[h,g]=(0,b.useState)(""),[m,x]=(0,b.useState)(!1),[f,v]=(0,b.useState)(!1),[_,w]=(0,b.useState)(!1),[C,j]=(0,b.useState)(!1),[S,T]=(0,b.useState)(!0),[B,M]=(0,b.useState)(!1),[P,z]=(0,b.useState)(!1),[A,F]=(0,b.useState)(!1),[L,R]=(0,b.useState)(!1),[N,I]=(0,b.useState)(!1),[O,H]=(0,b.useState)({}),[V,D]=(0,b.useState)(!1),G=e=>{window.isMapLoaded||(window.isMapLoaded=!0,r.current.onload=()=>{document.getElementById("themeisle-google-map-api-loading").id="themeisle-google-map-api",M(!0)},r.current.src=`https://maps.googleapis.com/maps/api/js?key=${e}&libraries=places&cache=${Math.random()}`,document.head.appendChild(r.current)),document.getElementById("themeisle-google-map-api")&&M(!0)},E=(e,t,s,a)=>{const i=`<div class="wp-block-themeisle-blocks-map-overview"><h6 class="wp-block-themeisle-blocks-map-overview-title">${s}</h6><div class="wp-block-themeisle-blocks-map-overview-content">${a?`<p>${a}</p>`:""}<a class="wp-block-themeisle-blocks-map-overview-delete" onclick="removeMarker_${o.substr(0,8)}( '${t}' )">${(0,l.__)("Delete Marker","otter-blocks")}</a></div></div>`,r=new window.google.maps.InfoWindow({content:i});e.addListener("click",(()=>{u.current=r,r.open(c.current,e)})),window.google.maps.event.addListener(r,"domready",(()=>{z(t)})),window.google.maps.event.addListener(r,"closeclick",(()=>{z(!1)}))},$=e=>{e.forEach((e=>{const{latitude:t}=e,{longitude:o}=e,l=new window.google.maps.LatLng(t,o),s=new window.google.maps.Marker({position:l,map:c.current,title:e.title,draggable:!0,icon:e.icon||"https://maps.google.com/mapfiles/ms/icons/red-dot.png"});window.google.maps.event.addListener(s,"dragend",(t=>{const o=t.latLng.lat(),l=t.latLng.lng();W(e.id,"latitude",o),W(e.id,"longitude",l)})),a.current.push(s),window.google.maps.event.addListener(s,"click",(()=>{u.current&&u.current.close()})),E(s,e.id,e.title,e.description)}))},W=(e,o,l)=>{const s=[...p.current];s.find((t=>t.id===e))[o]=l.toString(),q(),$(s),t({markers:s})},U=e=>{let o=[...p.current];o=o.filter((t=>t.id!==e)),t({markers:o}),q(),z(!1),0<o.length&&$(o)},q=()=>{for(let e=0;e<a.current.length;e++)a.current[e].setMap(null);a.current=[]},Z=()=>{!1===Boolean(window.themeisleGutenberg.mapsAPI)&&(j(!0),new window.wp.api.models.Settings({themeisle_google_map_block_api_key:h}).save().then((e=>{let t=!1;""!==e.themeisle_google_map_block_api_key&&(t=!0),j(!1),v(t),""!==e.themeisle_google_map_block_api_key&&(window.isMapLoaded=!1,G(e.themeisle_google_map_block_api_key))})))},J=e=>{t({style:e}),c.current.setOptions({styles:Eo[e]})},K=(0,d.useBlockProps)({className:n()("wp-block-themeisle-blocks-google-map-resizer",{"is-focused":s})});return m&&f?(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(Vo.D,{label:(0,l.__)("Block Styles","otter-blocks"),value:e.style,options:[{label:(0,l.__)("Standard","otter-blocks"),value:"standard",image:window.themeisleGutenberg.assetsPath+"/icons/map-standard.png"},{label:(0,l.__)("Silver","otter-blocks"),value:"silver",image:window.themeisleGutenberg.assetsPath+"/icons/map-silver.png"},{label:(0,l.__)("Retro","otter-blocks"),value:"retro",image:window.themeisleGutenberg.assetsPath+"/icons/map-retro.png"},{label:(0,l.__)("Dark","otter-blocks"),value:"dark",image:window.themeisleGutenberg.assetsPath+"/icons/map-dark.png"},{label:(0,l.__)("Night","otter-blocks"),value:"night",image:window.themeisleGutenberg.assetsPath+"/icons/map-night.png"},{label:(0,l.__)("Aubergine","otter-blocks"),value:"aubergine",image:window.themeisleGutenberg.assetsPath+"/icons/map-aubergine.png"}],onChange:J}),(0,k.jsx)(Ho,{attributes:e,setAttributes:t,map:c.current,changeStyle:J,isPlaceAPIAvailable:S,isMarkerOpen:P,setMarkerOpen:z,removeMarker:U,changeMarkerProp:W,addMarkerManual:()=>{const e=(0,Ro.A)(),t=(0,l.__)("Custom Marker","otter-blocks"),o=c.current.getCenter(),s=o.lat(),a=o.lng();R(!0),I(!0),H({id:e,location:"",title:t,icon:"https://maps.google.com/mapfiles/ms/icons/red-dot.png",description:"",latitude:s,longitude:a})},api:h,isSaving:C,changeAPI:g,saveAPIKey:Z}),L&&(0,k.jsx)(Do,{marker:O,isAdvanced:N,isPlaceAPIAvailable:S,close:()=>R(!1),addMarker:(o,l,s,i,r,n)=>{const d=new window.google.maps.LatLng(r,n),b=(0,Ro.A)(),p=new window.google.maps.Marker({position:d,map:c.current,title:l,draggable:!0,icon:s});window.google.maps.event.addListener(p,"dragend",(e=>{const t=e.latLng.lat(),o=e.latLng.lng();W(b,"latitude",t),W(b,"longitude",o)})),a.current.push(p);const h=[...e.markers],g={id:b,location:o,title:l,icon:s,description:i,latitude:r,longitude:n};h.push(g),t({markers:h}),window.google.maps.event.addListener(p,"click",(()=>{u.current&&u.current.close()})),E(p,g.id,l,i),R(!1),F(!1)}}),(0,k.jsx)("div",{...K,children:(0,k.jsx)(Go,{attributes:e,initMap:()=>{var o;const l=null!==(o=(0,y.getEditorIframe)()?.contentWindow?.document)&&void 0!==o?o:document;if(c.current=new window.google.maps.Map(l.getElementById(e.id),{center:{lat:Number(e.latitude)||41.4036299,lng:Number(e.longitude)||2.1743558000000576},gestureHandling:"cooperative",zoom:e.zoom,mapTypeId:e.type,styles:Eo[e.style]}),e.location&&void 0===e.latitude&&void 0===e.longitude){const t={query:e.location,fields:["name","geometry"]};new window.google.maps.places.PlacesService(c.current).findPlaceFromQuery(t,((e,t)=>{t===window.google.maps.places.PlacesServiceStatus.OK&&0<e.length&&c.current.setCenter(e[0].geometry.location)}))}window.google.maps.event.addListenerOnce(c.current,"idle",(()=>{w(!0)})),c.current.addListener("zoom_changed",(()=>{const e=c.current.getZoom();t({zoom:e})})),c.current.addListener("maptypeid_changed",(()=>{const e=c.current.getMapTypeId();t({type:e})})),c.current.addListener("bounds_changed",(()=>{const e=c.current.getCenter(),o=e.lat(),l=e.lng();t({latitude:o.toString(),longitude:l.toString()})})),0<e.markers.length&&$(e.markers);const s={query:e.location,fields:["name","geometry"]};new window.google.maps.places.PlacesService(c.current).findPlaceFromQuery(s,((e,t)=>{"REQUEST_DENIED"===t&&T(!1)}))},displayMap:B,isMapLoaded:_,selectMarker:()=>{F(!A),A?window.google.maps.event.clearListeners(c.current,"click"):c.current.addListener("click",(e=>{window.google.maps.event.clearListeners(c.current,"click");const t=(0,Ro.A)(),o=(0,l.__)("Custom Marker","otter-blocks"),s=e.latLng.lat(),a=e.latLng.lng();R(!0),I(!1),H({id:t,location:"",title:o,icon:"https://maps.google.com/mapfiles/ms/icons/red-dot.png",description:"",latitude:s,longitude:a})}))},isSelectingMarker:A})})]}):(0,k.jsx)("div",{...K,children:(0,k.jsx)(No,{api:h,error:V,isAPILoaded:m,isAPISaved:f,isSaving:C,changeAPI:e=>{g(e),D(!1)},saveAPIKey:Z})})},save:()=>null});var Zo=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/icon-list","title":"Icon List","category":"themeisle-blocks","description":"Display an icon list in a beautiful layout. Powered by Otter.","keywords":["icon","list","items"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"defaultLibrary":{"type":"string","default":"fontawesome"},"defaultPrefix":{"type":"string","default":"fas"},"defaultIcon":{"type":"string","default":"check"},"defaultContentColor":{"type":"string"},"defaultIconColor":{"type":"string"},"defaultSize":{"type":["number","string"]},"defaultIconSize":{"type":"string"},"gap":{"type":["number","string"]},"gapIconLabel":{"type":["string"]},"horizontalAlign":{"type":"string"},"alignmentTablet":{"type":"string"},"alignmentMobile":{"type":"string"},"hideLabels":{"type":"boolean"},"hasDivider":{"type":"boolean"},"dividerWidth":{"type":"string"},"dividerColor":{"type":"string"},"dividerLength":{"type":"string"}},"editorStyle":"otter-icon-list-editor","style":"otter-icon-list-style"}'),Jo=({attributes:e,setAttributes:t})=>(0,k.jsx)(d.BlockControls,{children:(0,k.jsx)(d.AlignmentToolbar,{value:{"flex-start":"left",center:"center","flex-end":"right"}[e.horizontalAlign],onChange:e=>{switch(e){case"left":t({horizontalAlign:"flex-start"});break;case"center":t({horizontalAlign:"center"});break;case"right":t({horizontalAlign:"flex-end"});break;default:t({horizontalAlign:void 0})}}})}),Ko=({attributes:e,setAttributes:t})=>{var o,s,a,i,r,n,c;const[u,x]=(0,y.useTabSwitch)(e.id,"settings"),{responsiveSetAttributes:f,responsiveGetAttributes:v}=(0,m.d)(t);return(0,k.jsx)(d.InspectorControls,{children:(0,k.jsxs)("div",{children:[(0,k.jsx)(h.R7,{value:u,options:[{label:(0,l.__)("Settings","otter-blocks"),value:"settings"},{label:(0,l.__)("Style","otter-blocks"),value:"style"}],onChange:x}),"settings"===u&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Layout","otter-blocks"),children:[(0,k.jsx)(h.Aw,{label:(0,l.__)("List Orientation","otter-blocks"),options:[{label:(0,l.__)("Vertical","otter-blocks"),value:"default"},{label:(0,l.__)("Horizontal","otter-blocks"),value:"is-style-horizontal"}],value:e?.className?.includes("is-style-horizontal")?"is-style-horizontal":"default",onChange:o=>{const l=e?.className?.split(" ")||[];"default"===o&&l.includes("is-style-horizontal")?l.splice(l.indexOf("is-style-horizontal"),1):"is-style-horizontal"!==o||l.includes("is-style-horizontal")||l.push("is-style-horizontal"),t({className:l.join(" ")})}}),(0,k.jsx)(h.k3,{label:(0,l.__)("Alignment","otter-blocks"),children:(0,k.jsx)(h.l,{value:null!==(o=v([e.horizontalAlign,e.alignmentTablet,e.alignmentMobile]))&&void 0!==o?o:"flex-start",onChange:e=>{f(e,["horizontalAlign","alignmentTablet","alignmentMobile"])},options:[{icon:D.A,label:(0,l.__)("Left","otter-blocks"),value:"flex-start"},{icon:G.A,label:(0,l.__)("Center","otter-blocks"),value:"center"},{icon:E.A,label:(0,l.__)("Right","otter-blocks"),value:"flex-end"}],hasIcon:!0})}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Hide Labels","otter-blocks"),checked:Boolean(e.hideLabels),onChange:()=>t({hideLabels:!e.hideLabels})})]}),(0,k.jsx)(p.PanelBody,{title:(0,l.__)("Icons","otter-blocks"),children:(0,k.jsx)(b.Suspense,{fallback:(0,k.jsx)(p.Placeholder,{children:(0,k.jsx)(p.Spinner,{})}),children:(0,k.jsx)(h.fW,{label:(0,l.__)("Icon Picker","otter-blocks"),library:e.defaultLibrary,prefix:e.defaultPrefix,icon:e.defaultIcon,changeLibrary:e=>{t({defaultLibrary:e,defaultIcon:void 0,defaultPrefix:"fas"})},onChange:o=>{if("image"===e.defaultLibrary&&o?.url)return t({defaultIcon:o.url});t("object"==typeof o?{defaultIcon:o.name,defaultPrefix:o.prefix}:{defaultIcon:o})},allowImage:!0})})}),(0,k.jsx)(h.Cu,{})]}),"style"===u&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(d.PanelColorSettings,{title:(0,l.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:e.defaultIconColor,onChange:e=>t({defaultIconColor:e}),label:(0,l.__)("Icon","otter-blocks"),isShownByDefault:!0},{value:e.defaultContentColor,onChange:e=>t({defaultContentColor:e}),label:(0,l.__)("Text","otter-blocks"),isShownByDefault:!0},...e.hasDivider?[{value:e.dividerColor,onChange:e=>t({dividerColor:e}),label:(0,l.__)("Divider","otter-blocks"),isShownByDefault:!0}]:[]]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Size","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.BaseControl,{label:(0,l.__)("Font","otter-blocks"),__nextHasNoMarginBottom:!0,children:(0,k.jsx)(p.FontSizePicker,{value:null!==(s=(0,g.ws)(e.defaultSize))&&void 0!==s?s:"",onChange:e=>t({defaultSize:e}),fontSizes:[{name:"Small",size:"12px",slug:"small"},{name:"Normal",size:"16px",slug:"Normal"},{name:"Medium",size:"20px",slug:"medium"},{name:"Large",size:"36px",slug:"large"}],withReset:!0})}),(0,k.jsx)(p.BaseControl,{label:(0,l.__)("Icon","otter-blocks"),__nextHasNoMarginBottom:!0,children:(0,k.jsx)(p.FontSizePicker,{value:null!==(a=e.defaultIconSize)&&void 0!==a?a:"",onChange:e=>t({defaultIconSize:e}),fontSizes:[{name:"Small",size:"12px",slug:"small"},{name:"Normal",size:"16px",slug:"Normal"},{name:"Medium",size:"20px",slug:"medium"},{name:"Large",size:"36px",slug:"large"}],withReset:!0})})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Dimensions","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.__experimentalUnitControl,{label:(0,l.__)("Space between List items","otter-blocks"),value:null!==(i=e.gap)&&void 0!==i?i:"5px",onChange:e=>t({gap:e}),units:[{a11yLabel:"Pixels (px)",label:"px",step:1,value:"px"}]}),(0,k.jsx)("br",{}),(0,k.jsx)(p.__experimentalUnitControl,{label:(0,l.__)("Space between Icon and Label","otter-blocks"),value:null!==(r=e.gapIconLabel)&&void 0!==r?r:"16px",onChange:e=>t({gapIconLabel:e}),units:[{a11yLabel:"Pixels (px)",label:"px",step:1,value:"px"}]})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Divider","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Enable Divider","otter-blocks"),checked:Boolean(e.hasDivider),onChange:()=>t({hasDivider:!e.hasDivider})}),e.hasDivider&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.__experimentalUnitControl,{label:(0,l.__)("Width","otter-blocks"),value:null!==(n=e.dividerWidth)&&void 0!==n?n:"2px",onChange:e=>t({dividerWidth:e}),units:[{a11yLabel:"Pixels (px)",label:"px",step:1,value:"px"}],max:5}),(0,k.jsx)("br",{}),(0,k.jsx)(p.__experimentalUnitControl,{label:(0,l.__)("Length","otter-blocks"),value:null!==(c=e.dividerLength)&&void 0!==c?c:"100%",onChange:e=>t({dividerLength:e}),isResetValueOnUnitChange:!0})]})]})]})]})})};const{attributes:Yo}=Zo;var Qo=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/icon-list-item","title":"Icon List Item","category":"themeisle-blocks","description":"Display an item for the icon list. Powered by Otter.","keywords":["icon","list","items"],"parent":["themeisle-blocks/icon-list"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"content":{"type":"string"},"contentColor":{"type":"string"},"iconColor":{"type":"string"},"library":{"type":"string"},"iconPrefix":{"type":"string"},"icon":{"type":"string"}}}'),Xo=({attributes:e,setAttributes:t})=>(0,k.jsxs)(d.InspectorControls,{children:[(0,k.jsx)(p.PanelBody,{title:(0,l.__)("Settings","otter-blocks"),children:(0,k.jsx)(h.fW,{label:(0,l.__)("Icon Picker","otter-blocks"),library:e.library,prefix:e.iconPrefix,icon:e.icon,changeLibrary:e=>{t({library:e,icon:void 0,iconPrefix:"fab"})},onChange:o=>{if("image"===e.library&&o?.url)return t({icon:o.url});t("object"==typeof o?{icon:o.name,iconPrefix:o.prefix}:{icon:o})},allowImage:!0})}),(0,k.jsx)(d.PanelColorSettings,{title:(0,l.__)("Color","otter-blocks"),initialOpen:!0,colorSettings:[{value:e.contentColor,onChange:e=>t({contentColor:e}),label:(0,l.__)("Content","otter-blocks"),isShownByDefault:!0},..."image"!==e.library?[{value:e.iconColor,onChange:e=>t({iconColor:e}),label:(0,l.__)("Icon","otter-blocks"),isShownByDefault:!0}]:[]]})]});const{attributes:el}=Qo;const{name:tl}=Qo;(0,s.registerBlockType)(tl,{...Qo,title:(0,l.__)("Icon List Item","otter-blocks"),description:(0,l.__)("Display an item for the icon list. Powered by Otter.","otter-blocks"),icon:i.iconListItemIcon,keywords:["item","icon","list"],merge(e,t){return{content:(e.content||"")+(t.content||"")}},edit:({attributes:e,setAttributes:t,name:o,clientId:a,onReplace:i,onRemove:r,mergeBlocks:c})=>{var p,h;const[g,m]=(0,b.useState)(!1),{hasParent:x,parentAttributes:f}=(0,u.useSelect)((e=>{const{getBlock:t,getBlockRootClientId:o}=e("core/block-editor"),l=t(o(a));return{hasParent:!!l,parentAttributes:l?l.attributes:{}}}),[]);(0,b.useEffect)((()=>{const t=(0,y.blockInit)(a,el);return()=>t(e.id)}),[e.id]),(0,b.useEffect)((()=>{t({library:e.library||f.defaultLibrary,icon:e.icon||f.defaultIcon,iconPrefix:e.iconPrefix||f.defaultPrefix})}),[x,f,e]),(0,b.useEffect)((()=>{if("image"===e.library)try{const t=new URL(e.icon);"http:"!==t?.protocol&&"https:"!==t?.protocol||m(!0)}catch(e){m(!1)}}),[e.library,e.icon]),(0,b.useEffect)((()=>{if(void 0===e.content){const e=(0,u.select)("core/block-editor").getBlockParents(a).at(-1),o=(0,u.select)("core/block-editor").getBlock(e);
// translators: %d: the number of List item blocks.
t({content:(0,l.sprintf)((0,l.__)("List item %d","otter-blocks"),o.innerBlocks.length)})}}),[]);const v=me.Ay.icons[e.icon],_=`${e.iconPrefix||f.defaultPrefix} fa-${e.icon||f.defaultIcon}`,w={"--content-color":null!==(p=e.contentColor)&&void 0!==p?p:f.defaultContentColor,"--icon-color":null!==(h=e.iconColor)&&void 0!==h?h:f.defaultIconColor},C=(0,d.useBlockProps)({style:w});return(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(Xo,{attributes:e,setAttributes:t}),(0,k.jsxs)("div",{...C,children:["image"===e.library&&g?(0,k.jsx)("img",{src:e.icon}):"themeisle-icons"===e.library&&e.icon&&void 0!==v?(0,k.jsx)(v,{className:n()({"wp-block-themeisle-blocks-icon-list-item-icon":!e.iconColor},{"wp-block-themeisle-blocks-icon-list-item-icon-custom":e.iconColor})}):(0,k.jsx)("i",{className:n()(_,{"wp-block-themeisle-blocks-icon-list-item-icon":!e.iconColor},{"wp-block-themeisle-blocks-icon-list-item-icon-custom":e.iconColor})}),(0,k.jsx)(d.RichText,{identifier:"content",tagName:"p",className:n()({"wp-block-themeisle-blocks-icon-list-item-content":!e.contentColor},{"wp-block-themeisle-blocks-icon-list-item-content-custom":e.contentColor}),value:e.content,onChange:e=>t({content:e}),onSplit:t=>t?(0,s.createBlock)(o,{...e,content:t}):(0,s.createBlock)(o),onMerge:c,onReplace:i,onRemove:r})]})]})},save:({attributes:e})=>{const t=`${e.iconPrefix} fa-${e.icon}`,o=me.Ay.icons[e.icon],l=d.useBlockProps.save({id:e.id});return(0,k.jsxs)("div",{...l,children:["image"===e.library&&e.icon?(0,k.jsx)("img",{src:e.icon}):"themeisle-icons"===e.library&&e.icon?(0,k.jsx)(o,{className:n()({"wp-block-themeisle-blocks-icon-list-item-icon":!e.iconColor},{"wp-block-themeisle-blocks-icon-list-item-icon-custom":e.iconColor})}):(0,k.jsx)("i",{className:n()(t,{"wp-block-themeisle-blocks-icon-list-item-icon":!e.iconColor},{"wp-block-themeisle-blocks-icon-list-item-icon-custom":e.iconColor})}),(0,k.jsx)(d.RichText.Content,{tagName:"p",className:n()({"wp-block-themeisle-blocks-icon-list-item-content":!e.contentColor},{"wp-block-themeisle-blocks-icon-list-item-content-custom":e.contentColor}),value:e.content})]})}});const{name:ol}=Zo;(0,s.registerBlockType)(ol,{...Zo,title:(0,l.__)("Icon List","otter-blocks"),description:(0,l.__)("Display an icon list in a beautiful layout. Powered by Otter.","otter-blocks"),icon:i.iconListIcon,keywords:["icon","list","items"],edit:({attributes:e,setAttributes:t,clientId:o,className:s})=>{(0,b.useEffect)((()=>{const t=(0,y.blockInit)(o,Yo);return()=>t(e.id)}),[e.id]);const{responsiveGetAttributes:a}=(0,m.d)(t),i={"--icon-align":a([e.horizontalAlign,e.alignmentTablet,e.alignmentMobile]),"--icon-align-tablet":e.alignmentTablet,"--icon-align-mobile":e.alignmentMobile,"--gap":(0,g.ws)(e.gap),"--gap-icon-label":e.gapIconLabel,"--font-size":(0,g.ws)(e.defaultSize),"--icon-size":e.defaultIconSize,"--label-visibility":e.hideLabels?"none":void 0,"--divider-color":e.dividerColor,"--divider-width":e.dividerWidth,"--divider-length":e.dividerLength,"--divider-margin-left":e.horizontalAlign?"auto":void 0,"--divider-margin-right":"flex-end"===e.horizontalAlign?"0":void 0,"--divider-margin-left-tablet":e.alignmentTablet?"auto":void 0,"--divider-margin-right-tablet":"flex-end"===e.alignmentTablet?"0":void 0,"--divider-margin-left-mobile":e.alignmentMobile?"auto":void 0,"--divider-margin-right-mobile":"flex-end"===e.alignmentMobile?"0":void 0},r=(0,d.useBlockProps)({id:e.id,style:i,className:n()(s,{"has-divider":Boolean(e.hasDivider)})});return(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(Jo,{attributes:e,setAttributes:t}),(0,k.jsx)(Ko,{attributes:e,setAttributes:t}),(0,k.jsx)("div",{...r,children:(0,k.jsx)(d.InnerBlocks,{allowedBlocks:["themeisle-blocks/icon-list-item"],__experimentalMoverDirection:"vertical",orientation:"vertical",template:[["themeisle-blocks/icon-list-item",{content:(0,l.__)("List item 1","otter-blocks")}],["themeisle-blocks/icon-list-item",{content:(0,l.__)("List item 2","otter-blocks")}],["themeisle-blocks/icon-list-item",{content:(0,l.__)("List item 3","otter-blocks")}]],renderAppender:d.InnerBlocks.DefaultAppender})})]})},save:({attributes:e,className:t})=>{const o=d.useBlockProps.save({id:e.id,className:n()(t,{"has-divider":Boolean(e.hasDivider)})});return(0,k.jsx)("div",{...o,children:(0,k.jsx)(d.InnerBlocks.Content,{})})},example:{innerBlocks:[{name:"themeisle-blocks/icon-list-item",attributes:{content:(0,l.__)("List Item 1","otter-blocks")}},{name:"themeisle-blocks/icon-list-item",attributes:{content:(0,l.__)("List Item 2","otter-blocks")}},{name:"themeisle-blocks/icon-list-item",attributes:{content:(0,l.__)("List Item 3","otter-blocks")}}]}});var ll=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/leaflet-map","title":"Maps","category":"themeisle-blocks","description":"Display Open Street Maps on your website with Maps block. Powered by Otter.","keywords":["map","opeenstreetmap","location"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"location":{"type":"string","default":"La Sagrada Familia, Barcelona, Spain"},"latitude":{"type":"string","default":"41.4034789"},"longitude":{"type":"string","default":"2.174410333009705"},"bbox":{"type":"string","default":"2.1207046508789067%2C41.34807736149302%2C2.2288513183593754%2C41.45816618938139"},"zoom":{"type":"number"},"height":{"type":["number","string"],"default":"400px"},"heightTablet":{"type":"string"},"heightMobile":{"type":"string"},"markers":{"type":"array","default":[]},"zoomControl":{"type":"boolean","default":true},"draggable":{"type":"boolean","default":true}},"supports":{"align":["wide","full"],"html":false},"editorStyle":"otter-leaflet-map-editor","style":"otter-leaflet-map-style","editorScript":"leaflet-gesture-handling","script":"otter-leaflet"}');async function sl(e){const t=await async function(e){if("string"!=typeof e)throw(0,l.__)("Location must be a string","otter-blocks");const t="https://nominatim.openstreetmap.org/search?q="+e.split(" ").map((e=>encodeURIComponent(e))).join("+")+"&format=geojson",o=await fetch(t);return o.ok&&200===o.status?o.json():console.warn(sprintf(
// translators: %s: HTTP status code
// translators: %s: HTTP status code
(0,l.__)("An error has occurred: %s","otter-blocks"),o.status))}(e);if(t?.features.length){const e=t.features[0];if(e?.geometry?.coordinates.length)return{longitude:e.geometry.coordinates[0],latitude:e.geometry.coordinates[1]}}return null}var al=({marker:e,isOpen:t,openMarker:o,dispatch:s})=>{const[a,i]=(0,b.useState)(e.location),[r,c]=(0,b.useState)(e.longitude),[d,u]=(0,b.useState)(e.latitude),[g,m]=(0,b.useState)(e.title),[y,x]=(0,b.useState)(e.description),[f,v]=(0,b.useState)({target:"",reason:""});return(0,k.jsxs)("div",{className:"wp-block-themeisle-blocks-leaflet-map-marker",children:[(0,k.jsxs)("div",{className:"wp-block-themeisle-blocks-leaflet-map-marker-title-area",children:[(0,k.jsx)(p.Button,{className:"wp-block-themeisle-blocks-leaflet-map-marker-title",onClick:()=>o(),children:e.title||(0,l.__)("Custom Marker","otter-blocks")}),(0,k.jsx)(p.Button,{icon:"no-alt",label:(0,l.__)("Remove Marker","otter-blocks"),showTooltip:!0,className:"wp-block-themeisle-blocks-leaflet-map-marker-remove",onClick:()=>s({type:cl.REMOVE,ids:[e.id]})})]}),t&&(0,k.jsxs)("div",{className:"wp-block-themeisle-blocks-leaflet-map-marker-control-area",children:[(0,k.jsx)(p.TextControl,{label:(0,l.__)("Location","otter-blocks"),type:"text",className:n()({"wp-block-themeisle-blocks-leaflet-map-input-error":"LOCATION"===f.target}),value:a,onChange:e=>{i(e)},help:(0,l.__)("Press Enter to search the location","otter-blocks"),onKeyDown:t=>((t,o)=>{t.key===o&&(async()=>{const t=await sl(a);t?(s({type:cl.UPDATE,ids:[e.id],updatedProps:{location:a,latitude:t.latitude,longitude:t.longitude}}),u(t.latitude),c(t.longitude),"LOCATION"===f.target&&v({})):v({target:"LOCATION",reason:(0,l.__)("Location couldn't been found!","otter-blocks")})})()})(t,"Enter")}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Latitude","otter-blocks"),type:"text",value:d,onChange:t=>{u(t),s({type:cl.UPDATE,ids:[e.id],updatedProps:{latitude:t}})}}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Longitude","otter-blocks"),type:"text",value:r,onChange:t=>{c(t),s({type:cl.UPDATE,ids:[e.id],updatedProps:{longitude:t}})}}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Title","otter-blocks"),type:"text",value:g,onChange:t=>{m(t),s({type:cl.UPDATE,ids:[e.id],updatedProps:{title:t}})}}),(0,k.jsx)(h.dS,{label:(0,l.__)("Description","otter-blocks"),type:"text",value:e.description,onChange:t=>{x(y),s({type:cl.UPDATE,ids:[e.id],updatedProps:{description:t}})}})]})]})},il=({markers:e,dispatch:t,markersInteraction:o})=>{const{openMarker:s,setOpenMarker:a}=o;return(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-leaflet-map-marker-group",children:e.map((e=>(0,k.jsx)(al,{marker:e,isOpen:s===e.id,openMarker:()=>a(o.openMarker!==e.id?e.id:null),dispatch:t},e.id)))}),(0,k.jsx)(p.Button,{isSecondary:!0,className:"wp-block-themeisle-blocks-leaflet-map-marker-add",onClick:()=>{t({type:cl.ADD,marker:{id:(0,Ro.A)()},dispatch:t})},children:(0,l.__)("Add Marker","otter-blocks")})]})},rl=({attributes:e,setAttributes:t,dispatch:o,markersInteraction:s})=>{const[a,i]=(0,b.useState)(e.location),[r,c]=(0,b.useState)({target:"",reason:""}),{responsiveSetAttributes:u,responsiveGetAttributes:y}=(0,m.d)(t);return(0,k.jsxs)(d.InspectorControls,{children:[(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Location","otter-blocks"),children:[(0,k.jsx)(p.TextControl,{label:(0,l.__)("Location","otter-blocks"),type:"text",className:n()({"wp-block-themeisle-blocks-leaflet-map-input-error":"LOCATION"===r.target}),placeholder:(0,l.__)("Enter location. E.g: La Sagrada Familia, Barcelona, Spain","otter-blocks"),help:(0,l.__)("Press Enter to search the location","otter-blocks"),value:a,onChange:i,onKeyDown:e=>((e,o)=>{e.key===o&&(async()=>{t({location:a});const e=await sl(a);e?(t({latitude:e.latitude.toString(),longitude:e.longitude.toString()}),"LOCATION"===r.target&&c({})):c({target:"LOCATION",reason:(0,l.__)("Location couldn't been found!","otter-blocks")})})()})(e,"Enter")}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Latitude","otter-blocks"),type:"text",placeholder:(0,l.__)("Enter latitude…","otter-blocks"),value:e.latitude,onChange:e=>t({latitude:e.toString()})}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Longitude","otter-blocks"),type:"text",placeholder:(0,l.__)("Enter longitude","otter-blocks"),value:e.longitude,onChange:e=>t({longitude:e.toString()})})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Positioning & Zooming","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Map Zoom Level","otter-blocks"),value:e.zoom,onChange:e=>t({zoom:e}),min:0,max:20}),(0,k.jsxs)(h.k3,{label:(0,l.__)("Height","otter-blocks"),children:[(0,k.jsx)(p.__experimentalUnitControl,{value:y([(0,g.ws)(e.height),e.heightTablet,e.heightMobile]),onChange:e=>u(e,["height","heightTablet","heightMobile"])}),(0,k.jsx)(h.k2,{values:["height","heightTablet","heightMobile"],setAttributes:t})]})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Controls","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.BaseControl,{children:(0,l.__)("The following changes will not affect block preview during the editing process. You can click outside the block to see the changes take effect.","otter-blocks")}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Draggable Map","otter-blocks"),checked:e.draggable,onChange:()=>t({draggable:!e.draggable})}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Zoom Control","otter-blocks"),checked:e.zoomControl,onChange:()=>t({zoomControl:!e.zoomControl})})]}),(0,k.jsx)(p.PanelBody,{title:(0,l.__)("Markers","otter-blocks"),initialOpen:!1,children:(0,k.jsx)(il,{markers:e.markers,dispatch:o,markersInteraction:s})})]})};const{attributes:nl}=ll,cl={ADD:"ADD",ADD_MANUAL:"ADD_MANUAL",REMOVE:"REMOVE",UPDATE:"UPDATE",INIT:"INIT"};const dl={to:[{type:"block",blocks:["themeisle-blocks/google-map"],transform:e=>{const t=e;return(0,s.createBlock)("themeisle-blocks/google-map",{...t})}}]};var bl=dl;const{name:ul}=ll;(0,s.registerBlockType)(ul,{...ll,title:(0,l.__)("Maps","otter-blocks"),description:(0,l.__)("Display Open Street Maps on your website with Maps block. Powered by Otter.","otter-blocks"),icon:i.mapIcon,keywords:["map","opeenstreetmap","location"],transforms:bl,edit:({clientId:e,attributes:t,setAttributes:o})=>{var s;(0,b.useEffect)((()=>{const o=(0,y.blockInit)(e,nl);return()=>o(t.id)}),[t.id]);const{responsiveGetAttributes:a}=(0,m.d)(),i=(0,b.useRef)(null),[r,n]=(0,b.useState)(null),[c,u]=(0,b.useState)(!1),[p,h]=(0,b.useState)(null),x=(e,t)=>{if(window.L&&r&&t&&e){var o,s,a,i,n;null!==(o=e.id)&&void 0!==o||(e.id=(0,Ro.A)()),null!==(s=e.latitude)&&void 0!==s||(e.latitude=r.getCenter().lat),null!==(a=e.longitude)&&void 0!==a||(e.longitude=r.getCenter().lng),null!==(i=e.title)&&void 0!==i||(e.title=(0,l.__)("Add a title","otter-blocks")),null!==(n=e.description)&&void 0!==n||(e.description="");const c=window.L.marker([e.latitude,e.longitude]||0,{draggable:!0});return c.on("movestart",(()=>{c.closeTooltip(),c.closePopup()})),c.on("moveend",(()=>{const o=c.getLatLng();t({type:cl.UPDATE,ids:[e.id],updatedProps:{latitude:o.lat,longitude:o.lng}})})),c.on("click",(()=>{h(e.id)})),c.markerProps=e,c}return null},[f,v]=(0,b.useReducer)(((e,t)=>{switch(t.type){case cl.ADD:const o=x(t.marker,t.dispatch);return[...e,o];case cl.ADD_MANUAL:if(c){const o=x(t.marker,t.dispatch);return[...e,o]}return e;case cl.REMOVE:return e.filter((({markerProps:e})=>t.ids.includes(e.id))).forEach((e=>{r.hasLayer(e)&&r.removeLayer(e)})),e.filter((({markerProps:e})=>!t.ids.includes(e.id)));case cl.INIT:const s=t.markers.map((e=>x(e,t.dispatch)));return[...e,...s];case cl.UPDATE:return e.map((e=>{const o=e.markerProps;return t.ids.includes(o.id)&&(e.markerProps=(0,H.merge)(e.markerProps,t.updatedProps)),e}));default:
// translators: %s is the action type that is not defined in the marker's reducer
console.warn((0,l.sprintf)((0,l.__)("The action for the leaflet block do not have a defined action in marker's reducer: %s","otter-blocks"),t.type))}return e}),[],(()=>[])),_=()=>{if(!i.current&&!window.L)return;let{L:e}=window;const s=(0,y.getEditorIframe)();if(Boolean(s)&&(e=s.contentWindow?.L),!e)return;i.current.innerHTML="";const a=e.map(i.current,{gestureHandling:!0,gestureHandlingOptions:{text:{touch:(0,l.__)("Use two fingers to move the map","otter-blocks"),scroll:(0,l.__)("Use ctrl + scroll to zoom the map","otter-blocks"),scrollMac:(0,l.__)("Use ⌘ + scroll to zoom the map","otter-blocks")}}});e.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>',subdomains:["a","b","c"]}).addTo(a),a.on("zoom",(()=>{o({zoom:a.getZoom()})})),a.on("moveend",(()=>{const e=a.getCenter();o({latitude:e.lat.toString(),longitude:e.lng.toString()})})),a.on("click",(e=>{v({type:cl.ADD_MANUAL,marker:{latitude:e.latlng.lat,longitude:e.latlng.lng},dispatch:v}),u(!1)})),e.Control.AddMarker=e.Control.extend({onAdd:()=>{const t=e.DomUtil.create("button","wp-block-themeisle-blocks-leaflet-map-marker-button"),o=e.DomUtil.create("span","dashicons dashicons-sticky",t);return e.DomEvent.on(t,"click",(t=>{e.DomEvent.stopPropagation(t),u(!c)})),t.title=(0,l.__)("Add marker on the map with a click","otter-blocks"),t.appendChild(o),t},onRemove:()=>{}}),e.control.addmarker=t=>new e.Control.AddMarker(t),e.control.addmarker({position:"bottomleft"}).addTo(a),n(a),v({type:cl.INIT,markers:t.markers,dispatch:v})};(0,b.useEffect)((()=>{(0,y.getEditorIframe)()?((0,y.copyScriptAssetToIframe)("#leaflet-js",(()=>{_()})),(0,y.copyScriptAssetToIframe)("#leaflet-gesture-handling-js",(()=>{}))):_()}),[]),(0,b.useEffect)((()=>{t.height&&r&&r.invalidateSize(!0)}),[t.height,r]),(0,b.useEffect)((()=>{var e;t.latitude&&t.longitude&&r&&r.setView([t.latitude,t.longitude],null!==(e=t.zoom)&&void 0!==e?e:15)}),[t.latitude,t.longitude,t.zoom,r]),(0,b.useEffect)((()=>{i.current?.classList.toggle("is-selecting-location",c)}),[c]),(0,b.useEffect)((()=>{t.latitude&&t.longitude&&r&&o({bbox:r.getBounds().toBBoxString()})}),[t.latitude,t.longitude,r]),(0,b.useEffect)((()=>{f&&(f.forEach((e=>{r.hasLayer(e)||r.addLayer(e);const{markerProps:t}=e;e.setLatLng([t.latitude,t.longitude]),e.closeTooltip(),e.unbindTooltip(),e.bindTooltip(t.title,{direction:"auto"}),e.closePopup(),e.unbindPopup(),e.bindPopup(((e,t)=>{const o=document.createElement("div"),s=document.createElement("h6"),a=document.createElement("div"),i=document.createElement("p"),r=document.createElement("button");return s.innerHTML=e.title,i.innerHTML=e.description,r.onclick=()=>t({type:cl.REMOVE,ids:[e.id]}),r.innerHTML=(0,l.__)("Delete Marker","otter-blocks"),o.classList.add("wp-block-themeisle-blocks-map-overview"),a.classList.add("wp-block-themeisle-blocks-map-overview-content"),s.classList.add("wp-block-themeisle-blocks-map-overview-title"),r.classList.add("wp-block-themeisle-blocks-map-overview-delete"),o.appendChild(s),o.appendChild(a),o.appendChild(r),a.appendChild(i),o})(t,v))})),t.markers.length!==f.length&&r&&o({markers:f.map((({markerProps:e})=>e))}))}),[f,r,t.markers]);const w=(0,d.useBlockProps)();return(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(rl,{attributes:t,setAttributes:o,dispatch:v,markersInteraction:{openMarker:p,setOpenMarker:h}}),(0,k.jsx)("div",{...w,children:(0,k.jsx)("div",{id:t.id,ref:i,style:{width:"100%",height:a([(0,g.ws)(null!==(s=t.height)&&void 0!==s?s:400),t.heightTablet,t.heightMobile])}})})]})},save:()=>null,example:{attributes:{}}});var pl=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/lottie","title":"Lottie Animation","category":"themeisle-blocks","description":"Add Lottie animations to your WordPress. Powered by Otter.","keywords":["media","lottie","animation"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"file":{"type":"object"},"trigger":{"type":"string","default":"none"},"loop":{"type":"boolean","default":false},"count":{"type":"number","default":0},"speed":{"type":"number","default":1},"direction":{"type":"boolean","default":false},"width":{"type":["string","number"]},"ariaLabel":{"type":"string","default":""},"backgroundColor":{"type":"string"},"backgroundGradient":{"type":"string"}},"supports":{"align":["left","center","right"]},"editorStyle":"otter-lottie-editor","script":"otter-lottie"}'),hl=({className:e,file:t,onChange:o,attributes:s})=>{const[a,r]=(0,b.useState)(s.file?.url||null);return Boolean(window.themeisleGutenberg.isWPVIP)?(0,k.jsx)(p.Placeholder,{label:(0,l.__)("Lottie","otter-blocks"),instructions:(0,l.__)("Add Lottie animations and files to your website. You need to use a .json file.","otter-blocks"),icon:i.lottieIcon,className:e,children:(0,k.jsxs)("form",{onSubmit:e=>(e&&e.preventDefault(),o(a)),children:[(0,k.jsx)("input",{type:"url",value:a||"",className:"components-placeholder__input","aria-label":(0,l.__)("Lottie","otter-blocks"),placeholder:(0,l.__)("Enter URL to embed here…","otter-blocks"),onChange:e=>r(e.target.value)}),(0,k.jsx)(p.Button,{isPrimary:!0,disabled:!a,type:"submit",children:(0,l.__)("Embed","otter-blocks")})]})}):(0,k.jsx)(d.MediaPlaceholder,{labels:{title:(0,l.__)("Lottie","otter-blocks"),instructions:(0,l.__)("Add Lottie animations and files to your website.","otter-blocks")},icon:i.lottieIcon,accept:["application/json",".lottie"],allowedTypes:["application/json"],value:{...t},onSelectURL:o,onSelect:o})},gl=({attributes:e,setAttributes:t,playerRef:o})=>(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)(d.InspectorControls,{children:[(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Settings","otter-blocks"),initialOpen:!0,children:[(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Trigger","otter-blocks"),help:(0,l.__)("Animation trigger. This will only work on the front-end.","otter-blocks"),value:e.trigger,options:[{label:(0,l.__)("Autoplay","otter-blocks"),value:"none"},{label:(0,l.__)("Scroll","otter-blocks"),value:"scroll"},{label:(0,l.__)("Hover","otter-blocks"),value:"hover"},{label:(0,l.__)("Click","otter-blocks"),value:"click"}],onChange:e=>{t({trigger:e})}}),"scroll"!==e.trigger&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Loop","otter-blocks"),help:(0,l.__)("Whether to loop animation.","otter-blocks"),checked:e.loop,onChange:l=>{t({loop:l}),o.current.setLooping(l),e.direction&&o.current.seek("100%"),o.current.play()}}),e.loop&&(0,k.jsx)(p.TextControl,{label:(0,l.__)("Numbers of loops","otter-blocks"),help:(0,l.__)("Number of times to loop animation.","otter-blocks"),type:"number",value:e.count,onChange:l=>{t({count:Number(l)}),o.current.load(e.file.url)}}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Speed","otter-blocks"),help:(0,l.__)("Animation speed.","otter-blocks"),value:e.speed,onChange:e=>{t({speed:Number(e)}),o.current.setSpeed(e)},step:.1,min:.1,max:5}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Reverse","otter-blocks"),help:(0,l.__)("Direction of animation.","otter-blocks"),checked:e.direction,onChange:e=>{t({direction:e}),o.current.setDirection(e?-1:1),o.current.seek(e?"100%":0)}})]}),(0,k.jsx)(d.__experimentalUnitControl,{onChange:e=>{const o=parseInt(e.slice(0,-1)),l=e.slice(-1);100<o&&"%"===l&&(e="100%"),t({width:e})},label:(0,l.__)("Width","otter-blocks"),isUnitSelectTabbable:!0,isResetValueOnUnitChange:!0,__unstableInputWidth:"50%",value:(0,g.ws)(e.width),units:[{value:"%",label:"%",default:100},{value:"px",label:"px",default:300}]})]}),(0,k.jsx)(p.PanelBody,{title:(0,l.__)("Background","otter-blocks"),initialOpen:!1,children:(0,k.jsx)(d.__experimentalColorGradientControl,{colorValue:e.backgroundColor,gradientValue:e.backgroundGradient,onColorChange:e=>t({backgroundColor:e}),onGradientChange:e=>t({backgroundGradient:e}),showTitle:!1,className:"otter-lottie-background-control"})})]}),(0,k.jsx)(d.InspectorAdvancedControls,{children:(0,k.jsx)(p.TextControl,{label:(0,l.__)("Aria Label","otter-blocks"),help:(0,l.__)("Describe the purpose of this animation on the page.","otter-blocks"),value:e.ariaLabel,onChange:e=>t({ariaLabel:e})})})]}),ml=({isEditing:e,setEditing:t})=>(0,k.jsx)(d.BlockControls,{children:(0,k.jsx)(p.ToolbarGroup,{children:(0,k.jsx)(p.Tooltip,{text:e?(0,l.__)("Save","otter-blocks"):(0,l.__)("Edit","otter-blocks"),children:(0,k.jsx)(p.Button,{onClick:()=>t(!e),children:(0,k.jsx)(p.Dashicon,{icon:e?"yes":"edit"})})})})}),yl=({attributes:e,playerRef:t})=>{(0,b.useEffect)((()=>{const l=(0,y.getEditorIframe)();Boolean(l)?((0,y.copyScriptAssetToIframe)("#lottie-player-js",(()=>{!(0,H.isEmpty)(e.file)&&e.loop&&null!==t.current&&t.current.addEventListener("complete",o)})),(0,y.copyScriptAssetToIframe)("#dotlottie-player-js",(()=>{!(0,H.isEmpty)(e.file)&&e.loop&&null!==t.current&&t.current.addEventListener("complete",o)}))):!(0,H.isEmpty)(e.file)&&e.loop&&null!==t.current&&t.current.addEventListener("complete",o)}),[]);const o=()=>{t.current&&(t.current.setLooping(e.loop),t.current.play(),t.current.removeEventListener("complete",o))};let l=(0,b.createElement)("lottie-player");return e.file.url.endsWith(".lottie")&&(l=(0,b.createElement)("dotlottie-player")),(0,b.cloneElement)(l,{id:e.id,ref:t,src:e.file.url,autoplay:!e.trigger||"none"===e.trigger,loop:e.loop,count:e.direction?-1*e.count:e.count,speed:e.speed,background:e.backgroundColor||e.backgroundGradient,direction:e.direction?-1:1,trigger:e.trigger,"data-loop":e.loop,mode:"normal",style:{width:!(!e.width||"%"===e.width.toString().slice(-1))&&`${e.width}px`,maxWidth:!(!e.width||"%"!==e.width.toString().slice(-1))&&`${e.width}`,height:"auto"},..."hover"===e.trigger&&{hover:"hover"},...e.ariaLabel&&{"aria-label":e.ariaLabel}})};const{attributes:kl}=pl;const{name:xl}=pl;(0,s.registerBlockType)(xl,{...pl,title:(0,l.__)("Lottie Animation","otter-blocks"),description:(0,l.__)("Add Lottie animations to your WordPress. Powered by Otter.","otter-blocks"),icon:i.lottieIcon,keywords:["media","lottie","animation"],edit:({attributes:e,setAttributes:t,isSelected:o,clientId:l})=>{const s=(0,b.useRef)(null),[a,i]=(0,b.useState)(!Boolean(e.file));(0,b.useEffect)((()=>{const t=(0,y.blockInit)(l,kl);return()=>t(e.id)}),[e.id]),(0,b.useEffect)((()=>{o?(s.current?.play?.(),e.direction&&s.current?.seek?.("100%")):s.current?.stop?.()}),[o]);const r=(0,d.useBlockProps)();return(0,k.jsxs)(b.Fragment,{children:[(!(0,H.isEmpty)(e.file)&&a||!a)&&(0,k.jsx)(ml,{isEditing:a,setEditing:i}),!((0,H.isEmpty)(e.file)||a)&&(0,k.jsx)(gl,{attributes:e,setAttributes:t,playerRef:s}),(0,k.jsxs)("div",{...r,children:[((0,H.isEmpty)(e.file)||a)&&(0,k.jsx)(hl,{value:e.file,onChange:e=>{if(""===e||null===e)return;const o=(0,H.pick)(e,["id","url"]);(0,H.isEmpty)(o)&&(o.url=e),t({file:{...o}}),i(!1)},attributes:e}),!((0,H.isEmpty)(e.file)||a)&&(0,k.jsx)(yl,{attributes:e,isSelected:o,playerRef:s})]})]})},save:({attributes:e})=>{const t=d.useBlockProps.save({id:e.id,...e.file?.url.endsWith(".lottie")?{"data-src":e.file?e.file.url:""}:{src:e.file?e.file?.url:""},width:e.width});let o=(0,b.createElement)("lottie-player");return e.file?.url.endsWith(".lottie")&&(o=(0,b.createElement)("dotlottie-player")),o=(0,b.cloneElement)(o,{trigger:e.trigger,background:e.backgroundColor||e.backgroundGradient,...e.ariaLabel&&{"aria-label":e.ariaLabel},...t}),"scroll"===e.trigger?o:(0,b.cloneElement)(o,{autoplay:!0,loop:!0,count:e.direction?-1*e.count:e.count,speed:e.speed,direction:e.direction?-1:1,trigger:e.trigger,"data-loop":e.loop,mode:"normal",..."hover"===e.trigger&&{hover:"hover"}})},example:{viewportWidth:1200,attributes:{id:"wp-block-themeisle-blocks-lottie-2",file:{url:"https://assets8.lottiefiles.com/packages/lf20_kd5rzej5.json"}}}});var fl=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/popup","title":"Popup","category":"themeisle-blocks","description":"Display your content in beautiful popup with many customization options. Powered by Otter.","keywords":["popup","modal","lightbox"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"minWidth":{"type":["number","string"]},"maxWidth":{"type":["number","string"]},"trigger":{"type":"string"},"wait":{"type":"number"},"anchor":{"type":"string"},"scroll":{"type":"number"},"showClose":{"type":"boolean","default":true},"outsideClose":{"type":"boolean","default":true},"anchorClose":{"type":"boolean","default":false},"closeAnchor":{"type":"string"},"recurringClose":{"type":"boolean","default":false},"recurringTime":{"type":"number"},"backgroundColor":{"type":"string"},"closeColor":{"type":"string"},"overlayColor":{"type":"string"},"overlayOpacity":{"type":"number"},"lockScrolling":{"type":"boolean"},"padding":{"type":"object"},"paddingTablet":{"type":"object"},"paddingMobile":{"type":"object"},"borderWidth":{"type":"object"},"borderRadius":{"type":"object"},"borderColor":{"type":"string"},"borderStyle":{"type":"string"},"width":{"type":"string"},"widthTablet":{"type":"string"},"widthMobile":{"type":"string"},"heightMode":{"type":"string"},"height":{"type":"string"},"heightTablet":{"type":"string"},"heightMobile":{"type":"string"},"verticalPosition":{"type":"string"},"horizontalPosition":{"type":"string"},"verticalPositionTablet":{"type":"string"},"horizontalPositionTablet":{"type":"string"},"verticalPositionMobile":{"type":"string"},"horizontalPositionMobile":{"type":"string"},"closeButtonType":{"type":"string"},"boxShadow":{"type":"object","default":{"active":false,"colorOpacity":50,"blur":5,"spread":1,"horizontal":0,"vertical":0}},"disableOn":{"type":"string"}},"editorStyle":"otter-popup-editor","style":"otter-popup-style","script":"otter-popup"}'),vl=o(7108),_l=o(8053);const wl=()=>(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)(p.Disabled,{children:[(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Close On Anchor Click","otter-blocks"),checked:!1,onChange:()=>{},className:"o-disabled"}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Dismiss for Recurring Visitors","otter-blocks"),checked:!1,onChange:()=>{},className:"o-disabled"})]}),(0,k.jsx)(h.$T,{notice:(0,k.jsx)(p.ExternalLink,{href:(0,g.lY)(window.themeisleGutenberg.upgradeLink,"popupblock"),children:(0,l.__)("Get more options with Otter Pro.","otter-blocks")}),variant:"upsell"})]});var Cl=({attributes:e,setAttributes:t})=>{var o,s,a,i,r,n,c,u,x,f,v,_;const[w,C]=(0,y.useTabSwitch)(e.id,"settings"),{responsiveSetAttributes:j,responsiveGetAttributes:S}=(0,m.d)(t);let T=[{label:(0,l.__)("On Load","otter-blocks"),value:"onLoad"},{label:(0,l.__)("On Anchor Click (Pro)","otter-blocks"),value:"onClick",disabled:!0},{label:(0,l.__)("On Scroll (Pro)","otter-blocks"),value:"onScroll",disabled:!0},{label:(0,l.__)("On Exit (Pro)","otter-blocks"),value:"onExit",disabled:!0},{label:(0,l.__)("Disable","otter-blocks"),value:"none"}];T=(0,Ae.applyFilters)("otter.popupBlock.triggers",T);const B=()=>(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Show Close Button","otter-blocks"),checked:e.showClose,onChange:()=>t({showClose:!e.showClose})}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Close on Click Outside","otter-blocks"),checked:e.outsideClose,onChange:()=>t({outsideClose:!e.outsideClose})}),!Boolean(window.themeisleGutenberg.hasPro)&&(0,k.jsx)(wl,{})]});return(0,k.jsxs)(d.InspectorControls,{children:[(0,Ae.applyFilters)("otter.feedback","","popup-block",(0,l.__)("Help us improve this block","otter-blocks")),(0,k.jsx)(h.R7,{value:w,options:[{label:(0,l.__)("Settings","otter-blocks"),value:"settings"},{label:(0,l.__)("Style","otter-blocks"),value:"style"}],onChange:C}),(0,k.jsxs)("div",{children:["settings"===w&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Popup settings","otter-blocks"),children:[(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Open Trigger","otter-blocks"),help:!Boolean(window.themeisleGutenberg.hasPro)&&(0,l.__)("You need to have Otter Pro to activate Pro features.","otter-blocks"),options:T,value:e.trigger,onChange:e=>t({trigger:e})}),(void 0===e.trigger||"onLoad"===e.trigger)&&(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Trigger Delay","otter-blocks"),help:(0,l.__)("How much time in seconds to wait before showing the popup.","otter-blocks"),min:0,max:100,value:null!==(o=e.wait)&&void 0!==o?o:0,onChange:e=>t({wait:Number(e)}),allowReset:!0}),"none"===e.trigger&&(0,k.jsx)(h.$T,{notice:(0,l.__)("This popup will not be triggered. You can use this option to temporarily disable the popup without removing it.","otter-blocks"),variant:"info"}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Disable Page Scrolling","otter-blocks"),checked:e.lockScrolling,onChange:()=>t({lockScrolling:!e.lockScrolling})}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Show on mobile","otter-blocks"),checked:!Boolean(e.disableOn),onChange:e=>t({disableOn:e?void 0:"mobile"})})]}),(0,k.jsx)(p.PanelBody,{title:(0,l.__)("Popup Position","otter-blocks"),initialOpen:!1,children:(0,k.jsx)(h.k3,{label:(0,l.__)("Screen Type","otter-blocks"),children:(0,k.jsx)("div",{className:"o-position-picker",children:(0,k.jsx)(p.__experimentalAlignmentMatrixControl,{value:S([`${null!==(s=e.verticalPosition)&&void 0!==s?s:"center"} ${null!==(a=e.horizontalPosition)&&void 0!==a?a:"center"}`,`${null!==(i=e.verticalPositionTablet)&&void 0!==i?i:"center"} ${null!==(r=e.horizontalPositionTablet)&&void 0!==r?r:"center"}`,`${null!==(n=e.verticalPositionMobile)&&void 0!==n?n:"center"} ${null!==(c=e.horizontalPositionMobile)&&void 0!==c?c:"center"}`]),onChange:e=>{const[t,o]=e.split(" ");j(Boolean(t)&&"center"!==t?t:void 0,["verticalPosition","verticalPositionTablet","verticalPositionMobile"]),j(Boolean(o)&&"center"!==o?o:void 0,["horizontalPosition","horizontalPositionTablet","horizontalPositionMobile"])}})})})}),(0,k.jsx)(p.PanelBody,{title:(0,l.__)("Frequency & Close Settings","otter-blocks"),initialOpen:!1,children:(0,Ae.applyFilters)("otter.popupBlock.controls",(0,k.jsx)(B,{}),e,t)}),(0,k.jsx)(h.Cu,{})]}),"style"===w&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Dimensions","otter-blocks"),children:[(0,k.jsx)(h.k3,{label:(0,l.__)("Width","otter-blocks"),children:(0,k.jsx)(p.__experimentalUnitControl,{value:null!==(u=S([e.width,e.widthTablet,e.widthMobile]))&&void 0!==u?u:"500px",onChange:e=>{j(e,["width","widthTablet","widthMobile"])}})}),(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Height","otter-blocks"),options:[{label:(0,l.__)("Fit Content","otter-blocks"),value:"none"},{label:(0,l.__)("Custom","otter-blocks"),value:"custom"}],value:e.heightMode,onChange:e=>t({heightMode:"none"!==e?e:void 0})}),"custom"===e.heightMode&&(0,k.jsx)(h.k3,{label:(0,l.__)("Custom Height","otter-blocks"),children:(0,k.jsx)(p.__experimentalUnitControl,{value:null!==(x=S([e.height,e.heightTablet,e.heightMobile]))&&void 0!==x?x:"400px",onChange:e=>{j(e,["height","heightTablet","heightMobile"])}})}),(0,k.jsx)(h.k3,{children:(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Padding","otter-blocks"),values:null!==(f=S([e.padding,e.paddingTablet,e.paddingMobile]))&&void 0!==f?f:{top:"20px",bottom:"20px",left:"20px",right:"20px"},onChange:e=>{j((0,g.JE)(e,{top:"20px",bottom:"20px",left:"20px",right:"20px"}),["padding","paddingTablet","paddingMobile"])}})})]}),(0,k.jsx)(d.PanelColorSettings,{title:(0,l.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:e.backgroundColor,onChange:e=>t({backgroundColor:e}),label:(0,l.__)("Background","otter-blocks"),isShownByDefault:!1},{value:e.closeColor,onChange:e=>t({closeColor:e}),label:(0,l.__)("Close Button","otter-blocks"),isShownByDefault:!1},{value:e.overlayColor,onChange:e=>t({overlayColor:e}),label:(0,l.__)("Overlay","otter-blocks"),isShownByDefault:!1},{value:e.borderColor,onChange:e=>t({borderColor:e}),label:(0,l.__)("Border","otter-blocks"),isShownByDefault:!1}]}),(0,k.jsx)(p.PanelBody,{title:(0,l.__)("Overlay","otter-blocks"),initialOpen:!1,children:(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Overlay Opacity","otter-blocks"),value:e.overlayOpacity,initialPosition:100,onChange:e=>t({overlayOpacity:void 0!==e?Number(e):void 0}),allowReset:!0})}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Close Button","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Show Close Button","otter-blocks"),checked:e.showClose,onChange:()=>t({showClose:!e.showClose})}),(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Position","otter-blocks"),options:[{label:(0,l.__)("Inside","otter-blocks"),value:"none"},{label:(0,l.__)("Outside","otter-blocks"),value:"outside"}],value:e.closeButtonType,onChange:e=>t({closeButtonType:"none"!==e?e:void 0})})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Border","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Width","otter-blocks"),values:null!==(v=e.borderWidth)&&void 0!==v?v:{top:"0px",bottom:"0px",left:"0px",right:"0px"},onChange:e=>{t({borderWidth:(0,g.JE)(e,{top:"0px",bottom:"0px",left:"0px",right:"0px"})})}}),(0,k.jsx)(p.__experimentalBoxControl,{id:"o-border-raduis-box",label:(0,l.__)("Radius","otter-blocks"),values:null!==(_=e.borderRadius)&&void 0!==_?_:{top:"0px",bottom:"0px",left:"0px",right:"0px"},onChange:e=>{t({borderRadius:(0,g.JE)(e,{top:"0px",bottom:"0px",left:"0px",right:"0px"})})}}),(0,k.jsx)(h.fS,{boxShadow:e.boxShadow,onChange:o=>{const l={...e.boxShadow};Object.entries(o).forEach((([e,t]=o)=>{l[e]=t})),t({boxShadow:l})}})]})]})]})]})};const{attributes:jl}=fl;const{name:Sl}=fl;(0,s.registerBlockType)(Sl,{...fl,title:(0,l.__)("Popup","otter-blocks"),description:(0,l.__)("Display your content in beautiful popup with many customization options. Powered by Otter.","otter-blocks"),icon:i.popupIcon,keywords:["popup","modal","lightbox"],edit:({attributes:e,setAttributes:t,clientId:o,className:a,name:i})=>{var r,c,h;(0,b.useEffect)((()=>{const t=(0,y.blockInit)(o,jl);return()=>t(e.id)}),[]);const[x,f]=(0,b.useState)(!1),{replaceInnerBlocks:v,selectBlock:_}=(0,u.useDispatch)("core/block-editor"),w=(0,u.useSelect)((e=>0<e("core/block-editor").getBlocks(o).length),[o]),{blockType:C,defaultVariation:j,variations:S}=(0,u.useSelect)((e=>{const{getBlockVariations:t,getBlockType:o,getDefaultBlockVariation:l}=e("core/blocks");return{blockType:o(i),defaultVariation:l(i,"block"),variations:t(i,"block")}}),[i]),T="custom"===e.heightMode?{"--height":e.height,"--height-tablet":e.heightMobile,"--height-mobile":e.heightMobile}:{"--height":"fit-content"},B={"--min-width":e.minWidth?e.minWidth+"px":"400px","--max-width":e.maxWidth?e.maxWidth+"px":void 0,"--background-color":e.backgroundColor,"--close-color":e.closeColor,"--overlay-color":e.overlayColor,"--overlay-opacity":void 0!==e.overlayOpacity?e.overlayOpacity/100:1,"--brd-width":(0,g.a0)(e.borderWidth),"--brd-radius":(0,g.a0)(e.borderRadius),"--brd-color":e.borderColor,"--brd-style":e.borderStyle,"--width":!Boolean(e.width)&&e.maxWidth?e.maxWidth+"px":e.width,"--width-tablet":e.widthTablet,"--width-mobile":e.widthMobile,"--padding":e.padding?(0,g.a0)((0,H.merge)((0,g.kq)("20px"),e.padding)):void 0,"--padding-tablet":e.paddingTablet?(0,g.a0)((0,H.merge)((0,g.kq)("20px"),null!==(r=e.padding)&&void 0!==r?r:{},e.paddingTablet)):void 0,"--padding-mobile":e.paddingMobile?(0,g.a0)((0,H.merge)((0,g.kq)("20px"),null!==(c=e.padding)&&void 0!==c?c:{},null!==(h=e.paddingTablet)&&void 0!==h?h:{},e.paddingMobile)):void 0,"--box-shadow":e.boxShadow.active&&`${e.boxShadow.horizontal}px ${e.boxShadow.vertical}px ${e.boxShadow.blur}px ${e.boxShadow.spread}px ${hexToRgba(e.boxShadow.color||"#FFFFFF",e.boxShadow.colorOpacity)}`,...T},[M,P]=(0,y.useCSSNode)();(0,b.useEffect)((()=>{P([" .otter-popup__modal_content "+(0,g.SJ)([["top","30px","top"===e.verticalPosition],["bottom","30px","bottom"===e.verticalPosition],["left","30px","left"===e.horizontalPosition],["right","30px","right"===e.horizontalPosition]])," .otter-popup__modal_content "+(0,g.SJ)([["top","15px","top"===e.verticalPositionTablet],["bottom","15px","bottom"===e.verticalPositionTablet],["left","15px","left"===e.horizontalPositionTablet],["right","15px","right"===e.horizontalPositionTablet]])," .otter-popup__modal_content "+(0,g.SJ)([["top","10px","top"===e.verticalPositionMobile],["bottom","10px","bottom"===e.verticalPositionMobile],["left","10px","left"===e.horizontalPositionMobile],["right","10px","right"===e.horizontalPositionMobile]])],["@media ( min-width: 960px )","@media ( min-width: 600px ) and ( max-width: 960px )","@media ( max-width: 600px )"])}),[e.horizontalPosition,e.verticalPosition,e.horizontalPositionTablet,e.verticalPositionTablet,e.horizontalPositionMobile,e.verticalPositionMobile]),(0,m.g)(e.backgroundColor,e,t);const z=(0,d.useBlockProps)({id:e.id,style:B,className:n()(a,M,{"with-outside-button":"outside"===e.closeButtonType})});return(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(Cl,{attributes:e,setAttributes:t}),(0,k.jsx)("div",{...z,children:w?(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.Button,{variant:"primary",isPrimary:!0,icon:vl.A,onClick:()=>f(!0),children:(0,l.__)("Edit Popup","otter-blocks")}),x&&(0,k.jsxs)("div",{className:"otter-popup__modal_wrap",children:[(0,k.jsx)("div",{role:"presentation",className:"otter-popup__modal_wrap_overlay",onClick:()=>f(!1)}),(0,k.jsxs)("div",{className:"otter-popup__modal_content",children:[e.showClose&&(0,k.jsx)("div",{className:"otter-popup__modal_header",children:(0,k.jsx)(p.Button,{icon:_l.A,onClick:()=>f(!1)})}),(0,k.jsx)("div",{className:"otter-popup__modal_body",children:(0,k.jsx)(d.InnerBlocks,{})})]})]})]}):(0,k.jsx)(d.__experimentalBlockVariationPicker,{icon:(0,H.get)(C,["icon","src"]),label:(0,H.get)(C,["title"]),variations:S,onSelect:(e=j)=>{e&&(t(e.attributes),v(o,(0,s.createBlocksFromInnerBlocksTemplate)(e.innerBlocks),!0)),_(o)},allowSkip:!0})})]})},save:({attributes:e,className:t})=>{const o=d.useBlockProps.save({id:e.id,className:n()(t,"is-front",{"with-outside-button":"outside"===e.closeButtonType}),"data-open":e.trigger,"data-dismiss":e.recurringClose?e.recurringTime:"","data-time":void 0===e.trigger||"onLoad"===e.trigger?e.wait||0:"","data-anchor":"onClick"===e.trigger?e.anchor:"","data-offset":"onScroll"===e.trigger?e.scroll:"","data-outside":e.outsideClose?e.outsideClose:"","data-anchorclose":e.anchorClose?e.closeAnchor:"","data-lock-scrolling":e.lockScrolling?"1":void 0,"data-disable-on":e.disableOn?e.disableOn:void 0});return(0,k.jsx)("div",{...o,children:(0,k.jsxs)("div",{className:"otter-popup__modal_wrap",children:[(0,k.jsx)("div",{role:"presentation",className:"otter-popup__modal_wrap_overlay"}),(0,k.jsxs)("div",{className:"otter-popup__modal_content",children:[e.showClose&&(0,k.jsx)("div",{className:"otter-popup__modal_header",children:(0,k.jsx)("button",{type:"button",className:"components-button has-icon",children:(0,k.jsx)("svg",{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",children:(0,k.jsx)("path",{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})})})}),(0,k.jsx)("div",{className:"otter-popup__modal_body",children:(0,k.jsx)(d.InnerBlocks.Content,{})})]})]})})},example:{attributes:{}},variations:[{name:"themeisle-blocks/popup-scratch",title:(0,l.__)("Start from scratch","otter-blocks"),description:(0,l.__)("Simple Popup with default settings.","otter-blocks"),icon:i.popupScratch,scope:["block"],attributes:{},innerBlocks:[{name:"core/paragraph",attributes:{content:"Add your content.",dropCap:!1,style:{typography:{fontSize:"16px"}}}}]},{name:"themeisle-blocks/popup-with-text-and-image",title:(0,l.__)("Text and Image","otter-blocks"),description:(0,l.__)("Popup with Text and Image.","otter-blocks"),icon:i.popupWithImageAndText,scope:["block"],attributes:{minWidth:900,trigger:"onLoad",wait:1,scroll:75,showClose:!1,outsideClose:!0,anchorClose:!1,recurringClose:!1,backgroundColor:"#ffffff",closeColor:"var(--nv-text-color)",overlayColor:"#000000",overlayOpacity:95,paddingMobile:{top:"8px",bottom:"8px",left:"8px",right:"8px"},width:"860px",height:"500px",heightTablet:"400px",heightMobile:"320px",boxShadow:{active:!1,colorOpacity:50,blur:5,spread:1,horizontal:0,vertical:0}},innerBlocks:[{name:"themeisle-blocks/advanced-columns",attributes:{columns:2,layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows",padding:{top:"0px",right:"0px",bottom:"0px",left:"0px"},paddingTablet:{top:"40px",right:"20px",bottom:"40px",left:"20px"},paddingMobile:{top:"20px",right:"20px",bottom:"20px",left:"20px"},columnsWidth:"100%",horizontalAlign:"center",columnsHeight:"auto",verticalAlign:"center",backgroundType:"color",backgroundAttachment:"scroll",backgroundRepeat:"repeat",backgroundSize:"auto",backgroundGradient:"linear-gradient(90deg,rgba(54,209,220,1) 0%,rgba(91,134,229,1) 100%)",backgroundOverlayOpacity:50,backgroundOverlayType:"color",backgroundOverlayAttachment:"scroll",backgroundOverlayRepeat:"repeat",backgroundOverlaySize:"auto",backgroundOverlayGradient:"linear-gradient(90deg,rgba(54,209,220,1) 0%,rgba(91,134,229,1) 100%)",backgroundOverlayFilterBlur:0,backgroundOverlayFilterBrightness:10,backgroundOverlayFilterContrast:10,backgroundOverlayFilterGrayscale:0,backgroundOverlayFilterHue:0,backgroundOverlayFilterSaturate:10,backgroundOverlayBlend:"normal",boxShadow:!1,boxShadowColor:"#000000",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:0,boxShadowHorizontal:0,boxShadowVertical:0,dividerTopType:"none",dividerTopColor:"#000000",dividerTopInvert:!1,dividerBottomType:"none",dividerBottomColor:"#000000",dividerBottomInvert:!1,hide:!1,hideTablet:!1,hideMobile:!1,reverseColumnsTablet:!1,reverseColumnsMobile:!0,columnsHTMLTag:"div"},innerBlocks:[{name:"themeisle-blocks/advanced-column",attributes:{padding:{top:"20px",right:"20px",bottom:"20px",left:"20px"},paddingTablet:{top:"20px",right:"20px",bottom:"20px",left:"20px"},paddingMobile:{top:"20px",right:"20px",bottom:"20px",left:"20px"},backgroundType:"color",backgroundAttachment:"scroll",backgroundRepeat:"repeat",backgroundSize:"auto",backgroundGradient:"linear-gradient(90deg,rgba(54,209,220,1) 0%,rgba(91,134,229,1) 100%)",backgroundOverlayOpacity:50,backgroundOverlayType:"color",backgroundOverlayAttachment:"scroll",backgroundOverlayRepeat:"repeat",backgroundOverlaySize:"auto",backgroundOverlayGradient:"linear-gradient(90deg,rgba(54,209,220,1) 0%,rgba(91,134,229,1) 100%)",backgroundOverlayFilterBlur:0,backgroundOverlayFilterBrightness:10,backgroundOverlayFilterContrast:10,backgroundOverlayFilterGrayscale:0,backgroundOverlayFilterHue:0,backgroundOverlayFilterSaturate:10,backgroundOverlayBlend:"normal",boxShadow:!1,boxShadowColor:"#000000",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:0,boxShadowHorizontal:0,boxShadowVertical:0,columnsHTMLTag:"div",columnWidth:"50",verticalAlign:"center"},innerBlocks:[{name:"themeisle-blocks/advanced-heading",attributes:{content:"<strong>Explore COURSES</strong>",tag:"p",alignTablet:"left",alignMobile:"left",fontSize:"12px",fontSizeTablet:16,fontSizeMobile:16,textTransform:"uppercase",lineHeight:1.4,textShadow:!1,textShadowColor:"#000000",textShadowColorOpacity:50,textShadowBlur:5,textShadowHorizontal:0,textShadowVertical:0,paddingTop:0}},{name:"themeisle-blocks/advanced-heading",attributes:{content:"Illustration Skills",tag:"h2",textShadow:!1,textShadowColor:"#000000",textShadowColorOpacity:50,textShadowBlur:5,textShadowHorizontal:0,textShadowVertical:0,paddingTop:0,margin:{top:"0px",bottom:"8px"}}},{name:"core/paragraph",attributes:{content:"Through the years I have created downloadable resources that you can download and improve your skills.",dropCap:!1}},{name:"core/buttons",attributes:{layout:{type:"flex",justifyContent:"left"}},innerBlocks:[{name:"core/button",isValid:!0,attributes:{text:"Learn More",className:"is-style-primary"}}]}]},{name:"themeisle-blocks/advanced-column",attributes:{padding:{top:"20px",right:"20px",bottom:"20px",left:"20px"},paddingTablet:{top:"20px",right:"20px",bottom:"20px",left:"20px"},paddingMobile:{top:"20px",right:"20px",bottom:"20px",left:"20px"},backgroundType:"color",backgroundAttachment:"scroll",backgroundRepeat:"repeat",backgroundSize:"auto",backgroundGradient:"linear-gradient(90deg,rgba(54,209,220,1) 0%,rgba(91,134,229,1) 100%)",backgroundOverlayOpacity:50,backgroundOverlayType:"color",backgroundOverlayAttachment:"scroll",backgroundOverlayRepeat:"repeat",backgroundOverlaySize:"auto",backgroundOverlayGradient:"linear-gradient(90deg,rgba(54,209,220,1) 0%,rgba(91,134,229,1) 100%)",backgroundOverlayFilterBlur:0,backgroundOverlayFilterBrightness:10,backgroundOverlayFilterContrast:10,backgroundOverlayFilterGrayscale:0,backgroundOverlayFilterHue:0,backgroundOverlayFilterSaturate:10,backgroundOverlayBlend:"normal",boxShadow:!1,boxShadowColor:"#000000",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:0,boxShadowHorizontal:0,boxShadowVertical:0,columnsHTMLTag:"div",columnWidth:"50"},innerBlocks:[{name:"core/image",attributes:{url:"https://demosites.io/otter/wp-content/uploads/sites/664/2022/11/otter-demo-8.png",alt:"",caption:"",sizeSlug:"full",linkDestination:"none",boxShadow:!1,boxShadowColor:"#000000",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowHorizontal:0,boxShadowVertical:0}}]}]}]},{name:"themeisle-blocks/popup-with-form",title:(0,l.__)("Popup with Form","otter-blocks"),description:(0,l.__)("Popup with Form that appears on page load.","otter-blocks"),icon:i.popupWithForm,scope:["block"],attributes:{trigger:"onLoad",wait:1,showClose:!0,outsideClose:!0,anchorClose:!1,recurringClose:!1,backgroundColor:"#ffffff",closeColor:"var(--nv-text-color)",lockScrolling:!1,padding:{top:"32px",bottom:"32px",left:"32px",right:"32px"},borderWidth:{top:"8px"},borderRadius:{top:"5px",bottom:"5px",left:"5px",right:"5px"},borderColor:"#ed6f57",width:"540px",closeButtonType:"outside",boxShadow:{active:!1,colorOpacity:50,blur:5,spread:1,horizontal:0,vertical:0},disableOn:"mobile"},innerBlocks:[{name:"themeisle-blocks/advanced-heading",attributes:{content:"Find the perfect course",tag:"h2",textShadow:!1,textShadowColor:"#000000",textShadowColorOpacity:50,textShadowBlur:5,textShadowHorizontal:0,textShadowVertical:0,paddingTop:0,margin:{top:"0px",bottom:"16px"}}},{name:"core/paragraph",attributes:{content:"All of our courses are designed to help you learn the fundamentals of writing and other related topics.",dropCap:!1,style:{typography:{fontSize:"16px"}},textColor:"neve-text-color"}},{name:"themeisle-blocks/form",attributes:{provider:"",action:"subscribe",submitLabel:"Send me the survey",submitMessageColor:"var(--nv-c-1)",submitMessageErrorColor:"var(--nv-c-2)",submitStyle:"full"},innerBlocks:[{name:"themeisle-blocks/form-input",attributes:{type:"text",label:"Name",isRequired:!0,labelColor:"var(--nv-text-color)"}},{name:"themeisle-blocks/form-input",attributes:{type:"email",label:"Email",isRequired:!0,labelColor:"var(--nv-text-color)"}},{name:"core/paragraph",attributes:{align:"left",content:"You agree to privacy and terms.",dropCap:!1,textColor:"neve-text-color",fontSize:"small"}}]}]}]});var Tl=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/posts-grid","title":"Posts","category":"themeisle-blocks","description":"Display a list of your most recent posts in a beautiful layout. Powered by Otter.","keywords":["posts","grid","news"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"style":{"type":"string","default":"grid"},"postTypes":{"type":"array","default":[]},"columns":{"type":"number","default":3},"template":{"type":"array","default":["category","title","meta","description"]},"categories":{"type":"array","items":{"type":"object"}},"postsToShow":{"type":"number","default":6},"order":{"type":"string","default":"desc"},"orderBy":{"type":"string","default":"date"},"offset":{"type":"number","default":0},"imageSize":{"type":"string","default":"full"},"displayFeaturedImage":{"type":"boolean","default":true},"displayCategory":{"type":"boolean","default":true},"displayTitle":{"type":"boolean","default":true},"titleTag":{"type":"string","default":"h4"},"displayMeta":{"type":"boolean","default":true},"displayDescription":{"type":"boolean","default":true},"excerptLength":{"type":"number","default":100},"displayDate":{"type":"boolean","default":true},"displayUpdatedDate":{"type":"boolean","default":false},"displayAuthor":{"type":"boolean","default":true},"displayComments":{"type":"boolean","default":true},"displayPostCategory":{"type":"boolean","default":false},"displayReadMoreLink":{"type":"boolean","default":false},"imageRatio":{"type":"string"},"customTitleFontSize":{"type":["string","number"]},"customTitleFontSizeTablet":{"type":["string","number"]},"customTitleFontSizeMobile":{"type":["string","number"]},"customDescriptionFontSize":{"type":["string","number"]},"customDescriptionFontSizeTablet":{"type":["string","number"]},"customDescriptionFontSizeMobile":{"type":["string","number"]},"customMetaFontSize":{"type":"string"},"customMetaFontSizeTablet":{"type":"string"},"customMetaFontSizeMobile":{"type":"string"},"textColor":{"type":"string"},"backgroundColor":{"type":"string"},"backgroundOverlay":{"type":"string"},"borderColor":{"type":"string"},"borderRadius":{"type":["number","object"]},"borderWidth":{"type":"string"},"cardBorderRadius":{"type":"object"},"boxShadow":{"type":"object","default":{"active":false,"colorOpacity":50,"blur":5,"spread":1,"horizontal":0,"vertical":0}},"imageBoxShadow":{"type":"object","default":{"active":false,"colorOpacity":50,"blur":5,"spread":1,"horizontal":0,"vertical":0}},"textAlign":{"type":"string"},"verticalAlign":{"type":"string"},"enableFeaturedPost":{"type":"boolean"},"imageWidth":{"type":["string","number"]},"imageWidthTablet":{"type":"string"},"imageWidthMobile":{"type":"string"},"columnGap":{"type":"string"},"columnGapTablet":{"type":"string"},"columnGapMobile":{"type":"string"},"rowGap":{"type":"string"},"rowGapTablet":{"type":"string"},"rowGapMobile":{"type":"string"},"padding":{"type":"string"},"paddingTablet":{"type":"string"},"paddingMobile":{"type":"string"},"contentGap":{"type":"string"},"featuredPostOrder":{"type":"string"},"hasPagination":{"type":"boolean","default":false},"pagColor":{"type":"string"},"pagBgColor":{"type":"string"},"pagColorHover":{"type":"string"},"pagBgColorHover":{"type":"string"},"pagColorActive":{"type":"string"},"pagBgColorActive":{"type":"string"},"pagBorderColor":{"type":"string"},"pagBorderColorHover":{"type":"string"},"pagBorderColorActive":{"type":"string"},"pagGap":{"type":"string"},"pagBorderRadius":{"type":"object","properties":{"top":{"type":"string"},"left":{"type":"string"},"right":{"type":"string"},"bottom":{"type":"string"}}},"pagBorderWidth":{"type":"object","properties":{"top":{"type":"string"},"left":{"type":"string"},"right":{"type":"string"},"bottom":{"type":"string"}}},"pagPadding":{"type":"object","properties":{"top":{"type":"string"},"left":{"type":"string"},"right":{"type":"string"},"bottom":{"type":"string"}}},"pagContMargin":{"type":"object","properties":{"top":{"type":"string"},"left":{"type":"string"},"right":{"type":"string"},"bottom":{"type":"string"}}},"pagSize":{"type":"string"}},"supports":{"align":["wide","full"],"html":false},"editorStyle":"otter-posts-grid-editor","style":"otter-posts-grid-style"}');const{attributes:Bl}=Tl;var Ml=[{attributes:{...Bl,categories:{type:"string"}},supports:{align:["wide","full"],html:!1},migrate:e=>({...e,categories:[{id:Number(e.categories)}]}),isEligible:({categories:e})=>e&&"string"==typeof e,save:()=>null}],Pl=({attributes:e,setAttributes:t})=>{const o=d.BlockVerticalAlignmentToolbar;return(0,k.jsx)(d.BlockControls,{children:(0,k.jsx)(o,{label:(0,l.__)("Change Vertical Alignment","otter-blocks"),value:e.verticalAlign,onChange:e=>t({verticalAlign:e})})})};const zl=(0,Tt.D)((()=>(0,k.jsx)("div",{className:"o-sortable-handle",tabIndex:"0",children:(0,k.jsx)("span",{})}))),Al={image:"displayFeaturedImage",category:"displayCategory",title:"displayTitle",meta:"displayMeta",description:"displayDescription"},Fl=({attributes:e,setAttributes:t,template:o,disabled:s})=>{const[a,i]=(0,b.useState)(!1),r=o?.startsWith("custom_"),c=e?.customMetas?.filter((({id:e})=>e===o))?.pop(),d={image:e.displayFeaturedImage,category:e.displayCategory,title:e.displayTitle,meta:e.displayMeta,description:e.displayDescription},u=o=>{const l={...c,...o};t({customMetas:e.customMetas.map((e=>e.id===c.id?l:e))})},h=r?(0,Ae.applyFilters)("otter.postsBlock.panelLabel","",c):(0,H.startCase)((0,H.toLower)(o)),g=d[o]||c?.display,m=g?"visibility":"hidden";let y=(0,l.sprintf)(/* translators: %s Label */ /* translators: %s Label */
(0,l.__)("Display %s","otter-blocks"),h);return g&&(
/* translators: %s Label */
y=(0,l.sprintf)((0,l.__)("Hide %s","otter-blocks"),h)),(0,k.jsxs)("div",{className:n()("o-sortable-item-area",`o-sortable-item-area-${o}`),children:[(0,k.jsxs)("div",{className:n()("o-sortable-item",{disabled:s,hidden:!g,editable:g}),children:[!s&&(0,k.jsx)(zl,{}),(0,k.jsx)("div",{className:"o-sortable-label",children:h}),g&&!["category","title"].includes(o)&&(0,k.jsx)(p.Button,{icon:a?"arrow-up-alt2":"arrow-down-alt2",label:a?(0,l.__)("Close Settings","otter-blocks"):(0,l.__)("Open Settings","otter-blocks"),showTooltip:!0,className:"o-sortable-button",onClick:()=>i(!a)}),(0,k.jsx)(p.Button,{icon:m,label:y,showTooltip:!0,className:"o-sortable-button",onClick:()=>{r?u({display:!c.display}):(o=>{const l=Al[o]||o;t({[l]:!e[l]})})(o),i(!1)}})]}),g&&!["category","title"].includes(o)&&(0,k.jsxs)("div",{className:n()("o-sortable-control-area",{opened:a&&g}),children:["image"===o&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Image Size","otter-blocks"),value:e.imageSize,options:window.themeisleGutenberg.imageSizes.map((e=>({label:(0,H.startCase)((0,H.toLower)(e)),value:e}))),onChange:e=>t({imageSize:e})}),(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Image Ratio","otter-blocks"),value:e.imageRatio,options:[{label:(0,l.__)("Inherit","otter-blocks"),value:"inherit"},{label:"1:1",value:"1/1"},{label:"3:2",value:"3/2"},{label:"16:9",value:"16/9"},{label:"2:1",value:"2/1"}],onChange:e=>{if("inherit"===e)return t({imageRatio:void 0});t({imageRatio:e})}})]}),"meta"===o&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Display Post Date","otter-blocks"),checked:e.displayDate,onChange:e=>t({displayDate:e})}),e.displayDate&&(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Display Last Updated Date","otter-blocks"),checked:e.displayUpdatedDate,onChange:e=>t({displayUpdatedDate:e})}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Display Author","otter-blocks"),checked:e.displayAuthor,onChange:e=>t({displayAuthor:e})}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Display Comments","otter-blocks"),checked:e.displayComments,onChange:e=>t({displayComments:e})}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Display Category","otter-blocks"),checked:e.displayPostCategory,onChange:e=>t({displayPostCategory:e})})]}),"description"===o&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.TextControl,{label:(0,l.__)("Excerpt Limit","otter-blocks"),type:"number",value:e.excerptLength,onChange:e=>t({excerptLength:Number(e)})}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Display Read More Link","otter-blocks"),checked:e.displayReadMoreLink,onChange:e=>t({displayReadMoreLink:e})})]}),(0,Ae.applyFilters)("otter.postsBlock.controls","",e,t,r,c,u)]})]})},Ll=(0,Tt.Zj)((({attributes:e,setAttributes:t,template:o,disabled:l})=>(0,k.jsx)(Fl,{attributes:e,setAttributes:t,template:o,disabled:l}))),Rl=(0,Tt.q6)((({attributes:e,setAttributes:t})=>(0,k.jsx)("div",{children:e?.template?.filter((e=>!(e?.startsWith("custom_")&&(void 0===window?.acf||!window.themeisleGutenberg?.hasPro)))).map(((o,l)=>(0,k.jsx)(Ll,{index:l,attributes:e,setAttributes:t,template:o},`item-${o}`)))})));var Nl=o(1749);const Il=()=>(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)("p",{children:(0,l.__)("Add custom fields for the posts, using the ACF plugin & Otter Pro.","otter-blocks")}),(0,k.jsx)(p.Button,{variant:"secondary",isSecondary:!0,className:"o-conditions__add",disabled:!0,onClick:()=>{},children:(0,l.__)("Add Custom Field","otter-blocks")}),(0,k.jsx)("br",{}),(0,k.jsx)(Nl.A,{notice:(0,k.jsx)(p.ExternalLink,{href:(0,g.lY)(window.themeisleGutenberg.upgradeLink,"customfield"),children:(0,l.__)("Get more options with Otter Pro.","otter-blocks")}),variant:"upsell"})]});var Ol=({attributes:e,setAttributes:t})=>(0,k.jsx)(b.Fragment,{children:(0,k.jsxs)("div",{className:n()("o-sortable",e.style),children:[(0,k.jsx)(Fl,{attributes:e,setAttributes:t,template:"image",disabled:!0}),(0,k.jsx)(Rl,{attributes:e,setAttributes:t,onSortEnd:({oldIndex:o,newIndex:l})=>{const s=go()(e.template,o,l);t({template:s})},useDragHandle:!0,axis:"y",lockAxis:"y"}),(0,Ae.applyFilters)("otter.postsBlock.sortableContainer",(0,k.jsx)(Il,{}),e,t)]})});const Hl=[{label:(0,l.__)("Default","otter-blocks"),value:"default",isDefault:!0},{label:(0,l.__)("Boxed","otter-blocks"),value:"boxed"},{label:(0,l.__)("Tiled","otter-blocks"),value:"tiled"}],Vl=[{name:(0,l.__)("XS","otter-blocks"),size:"14px",slug:"xs"},{name:(0,l.__)("Small","otter-blocks"),size:"16px",slug:"small"},{name:(0,l.__)("Medium","otter-blocks"),size:"18px",slug:"medium"},{name:(0,l.__)("Large","otter-blocks"),size:"24px",slug:"large"},{name:(0,l.__)("XL","otter-blocks"),size:"28px",slug:"xl"}];var Dl=({attributes:e,setAttributes:t,categoriesList:o,isLoading:s})=>{var a,i,r,n,c,x,f,v;const[_,w]=(0,y.useTabSwitch)(e.id,"settings"),C=(0,g.qL)(Hl,e?.className),{slugs:j}=(0,u.useSelect)((e=>({slugs:e("otter-store").getPostsSlugs()})),[e.postTypes]),{responsiveSetAttributes:S,responsiveGetAttributes:T}=(0,m.d)(t),B=o.reduce(((e,t)=>({...e,[t.name]:t})),{}),M=e.categories?e.categories.map((e=>{var t,a,i,r;const n=o.find((t=>t.id===Number(e.id))),c=!s&&o?.length&&!n;return{id:e.id,name:(null!==(t=null!==(a=e?.name)&&void 0!==a?a:n?.name)&&void 0!==t?t:n?.slug)+(c?" ("+(0,l.__)("Invalid","otter-blocks")+")":""),slug:null!==(i=null!==(r=e?.slug)&&void 0!==r?r:n?.slug)&&void 0!==i?i:""}})):[],P="object"==typeof e.categories?1<=e.categories.length?e.categories[0].id:void 0:e.categories,z=(o,l)=>{const s={...e[o]};Object.entries(l).forEach((([e,t]=l)=>{s[e]=t})),t({[o]:s})};return(0,k.jsxs)(d.InspectorControls,{children:[(0,k.jsx)(h.R7,{value:_,options:[{label:(0,l.__)("Settings","otter-blocks"),value:"settings"},{label:(0,l.__)("Style","otter-blocks"),value:"style"}],onChange:w}),"settings"===_&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Layout","otter-blocks"),children:[(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Post Type","otter-blocks"),help:(0,l.__)('WordPress contains different types of content and they are divided into collections called "Post types". By default there are a few different ones such as blog posts and pages, but plugins could add more.',"otter-blocks"),value:e.postTypes[0]||null,onChange:e=>{e&&t({postTypes:[e]})},options:j.map((e=>({label:(0,g.FQ)(e),value:e})))}),(0,k.jsx)(h.Aw,{label:(0,l.__)("Layout","otter-blocks"),options:[{label:(0,l.__)("Grid","otter-blocks"),value:"grid"},{label:(0,l.__)("List","otter-blocks"),value:"list"}],value:e.style,onChange:e=>t({style:e})}),"grid"===e.style&&(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Columns","otter-blocks"),value:e.columns,onChange:e=>t({columns:e}),min:1,max:5}),(0,k.jsx)(p.BaseControl,{label:(0,l.__)("Content Alignment","otter-blocks"),children:(0,k.jsx)(h.l,{value:e.textAlign,options:[{icon:"editor-alignleft",label:(0,l.__)("Left","otter-blocks"),value:"left"},{icon:"editor-aligncenter",label:(0,l.__)("Center","otter-blocks"),value:"center"},{icon:"editor-alignright",label:(0,l.__)("Right","otter-blocks"),value:"right"}],onChange:e=>t({textAlign:e}),hasIcon:!0})})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Settings","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.QueryControls,{order:e.order,orderBy:e.orderBy,orderByOptions:[{label:(0,l.__)("Newest to oldest","otter-blocks"),value:"date/desc"},{label:(0,l.__)("Oldest to newest","otter-blocks"),value:"date/asc"},{label:(0,l.__)("A → Z","otter-blocks"),value:"title/asc"},{label:(0,l.__)("Z → A","otter-blocks"),value:"title/desc"},{label:(0,l.__)("Random","otter-blocks"),value:"rand/desc"}],onOrderChange:e=>t({order:e}),onOrderByChange:e=>t({orderBy:e}),numberOfItems:e.postsToShow,onNumberOfItemsChange:e=>t({postsToShow:e}),categorySuggestions:B,selectedCategoryId:P,selectedCategories:M,onCategoryChange:e=>{let l;if("object"==typeof e)0<e.length&&(l=e.map((e=>{const t=o.find((t=>t.name===e||t.name===e?.value));var l,s;if(t)return{id:t.id,name:null!==(l=e?.value)&&void 0!==l?l:e,slug:null!==(s=t?.slug)&&void 0!==s?s:""}})).filter((e=>void 0!==e)));else if(""!==e){var s;l=[{id:e,name:o.find((t=>t.id===Number(e))).name,slug:null!==(s=o.find((t=>t.id===Number(e)))?.slug)&&void 0!==s?s:""}]}t({categories:l})}}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Offset","otter-blocks"),help:(0,l.__)("Number of post to displace or pass over.","otter-blocks"),type:"number",value:e.offset,min:0,onChange:e=>t({offset:Number(e)})}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Enable Featured Post","otter-blocks"),checked:e.enableFeaturedPost,onChange:()=>t({enableFeaturedPost:!Boolean(e.enableFeaturedPost),hasPagination:void 0})}),e.enableFeaturedPost&&(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Featured Post","otter-blocks"),value:e.featuredPostOrder,options:[{label:(0,l.__)("Latest Post","otter-blocks"),value:"none"},{label:(0,l.__)("Sticky Post","otter-blocks"),value:"sticky-first"}],onChange:e=>t({featuredPostOrder:"none"!==e?e:void 0})}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Enable Pagination","otter-blocks"),checked:e.hasPagination,onChange:()=>t({hasPagination:!Boolean(e.hasPagination),enableFeaturedPost:void 0,featuredPostOrder:void 0})})]}),(0,k.jsx)(p.PanelBody,{title:(0,l.__)("Elements","otter-blocks"),initialOpen:!1,children:(0,k.jsx)(Ol,{attributes:e,setAttributes:t})}),(0,k.jsx)(h.Cu,{})]}),"style"===_&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.PanelBody,{title:(0,l.__)("Style","otter-blocks"),children:(0,k.jsx)(h.Aw,{options:Hl,value:(0,g.qL)(Hl,e?.className),onChange:o=>{const l=(0,g.c5)(e?.className,Hl,o);t({className:l})}})}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Typography","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Title Tag","otter-blocks"),value:e.titleTag||"h4",options:[{label:(0,l.__)("H1","otter-blocks"),value:"h1"},{label:(0,l.__)("H2","otter-blocks"),value:"h2"},{label:(0,l.__)("H3","otter-blocks"),value:"h3"},{label:(0,l.__)("H4","otter-blocks"),value:"h4"},{label:(0,l.__)("H5","otter-blocks"),value:"h5"},{label:(0,l.__)("H6","otter-blocks"),value:"h6"}],onChange:e=>t({titleTag:e})}),(0,k.jsx)(h.k3,{label:(0,l.__)("Title Size","otter-blocks"),children:(0,k.jsx)(p.FontSizePicker,{fontSizes:Vl,withReset:!0,value:T([e.customTitleFontSize,e.customTitleFontSizeTablet,e.customTitleFontSizeMobile]),onChange:e=>S(e,["customTitleFontSize","customTitleFontSizeTablet","customTitleFontSizeMobile"])})}),(0,k.jsx)(h.k3,{label:(0,l.__)("Description Size","otter-blocks"),children:(0,k.jsx)(p.FontSizePicker,{fontSizes:Vl,withReset:!0,value:T([e.customDescriptionFontSize,e.customDescriptionFontSizeTablet,e.customDescriptionFontSizeMobile]),onChange:e=>S(e,["customDescriptionFontSize","customDescriptionFontSizeTablet","customDescriptionFontSizeMobile"])})}),(0,k.jsx)(h.k3,{label:(0,l.__)("Meta Size","otter-blocks"),children:(0,k.jsx)(p.FontSizePicker,{fontSizes:Vl,withReset:!0,value:T([e.customMetaFontSize,e.customMetaFontSizeTablet,e.customMetaFontSizeMobile]),onChange:e=>S(e,["customMetaFontSize","customMetaFontSizeTablet","customMetaFontSizeMobile"])})}),e.hasPagination&&(0,k.jsx)(p.BaseControl,{id:"o-posts-grid-pagination-font-size",label:(0,l.__)("Pagination","otter-blocks"),children:(0,k.jsx)(p.FontSizePicker,{fontSizes:Vl,withReset:!0,value:null!==(a=e.pagSize)&&void 0!==a?a:"16px",onChange:e=>t({pagSize:e})})})]}),(0,k.jsx)(d.PanelColorSettings,{title:(0,l.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:e.textColor,onChange:e=>t({textColor:e}),label:(0,l.__)("Text","otter-blocks"),isShownByDefault:!1},{value:e.backgroundColor,onChange:e=>t({backgroundColor:e}),label:(0,l.__)("Background","otter-blocks"),isShownByDefault:!1},{value:e.borderColor,onChange:e=>t({borderColor:e}),label:(0,l.__)("Border","otter-blocks"),isShownByDefault:!1},..."tiled"===C?[{value:e.backgroundOverlay,onChange:e=>t({backgroundOverlay:e}),label:(0,l.__)("Background Overlay","otter-blocks"),enableAlpha:!0,isShownByDefault:!1}]:[],...e.hasPagination?[{value:e.pagColor,onChange:e=>t({pagColor:e}),label:(0,l.__)("Pagination Link","otter-blocks"),isShownByDefault:!1},{value:e.pagBgColor,onChange:e=>t({pagBgColor:e}),label:(0,l.__)("Pagination Background","otter-blocks"),isShownByDefault:!1},{value:e.pagBorderColor,onChange:e=>t({pagBorderColor:e}),label:(0,l.__)("Pagination Border","otter-blocks"),isShownByDefault:!1},{value:e.pagColorActive,onChange:e=>t({pagColorActive:e}),label:(0,l.__)("Pagination Active Link","otter-blocks"),isShownByDefault:!1},{value:e.pagBgColorActive,onChange:e=>t({pagBgColorActive:e}),label:(0,l.__)("Pagination Active Background","otter-blocks"),isShownByDefault:!1},{value:e.pagColorHover,onChange:e=>t({pagColorHover:e}),label:(0,l.__)("Pagination Hover Link","otter-blocks"),isShownByDefault:!1},{value:e.pagBgColorHover,onChange:e=>t({pagBgColorHover:e}),label:(0,l.__)("Pagination Hover Background","otter-blocks"),isShownByDefault:!1},{value:e.pagBorderColorHover,onChange:e=>t({pagBorderColorHover:e}),label:(0,l.__)("Pagination Hover Border","otter-blocks"),isShownByDefault:!1},{value:e.pagBorderColorActive,onChange:e=>t({pagBorderColorActive:e}),label:(0,l.__)("Pagination Active Border","otter-blocks"),isShownByDefault:!1}]:[]]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Image","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Border Radius","otter-blocks"),values:(0,g.sO)(e.borderRadius),onChange:e=>t({borderRadius:e}),id:"o-border-raduis-box"}),"list"===e.style&&(0,k.jsx)(b.Fragment,{children:(0,k.jsxs)(h.k3,{label:(0,l.__)("Image Width","otter-blocks"),children:[(0,k.jsx)(p.__experimentalUnitControl,{value:T([e.imageWidth,e.imageWidthTablet,e.imageWidthMobile]),onChange:e=>S(e,["imageWidth","imageWidthTablet","imageWidthMobile"])}),(0,k.jsx)(h.k2,{values:["imageWidth","imageWidthTablet","imageWidthMobile"],setAttributes:t})]})}),(0,k.jsx)(h.fS,{boxShadow:e.imageBoxShadow,onChange:e=>z("imageBoxShadow",e)})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Spacing","otter-blocks"),initialOpen:!1,children:["list"!==e.style&&(0,k.jsxs)(h.k3,{label:(0,l.__)("Column Gap","otter-blocks"),children:[(0,k.jsx)(p.__experimentalUnitControl,{value:null!==(i=T([e.columnGap,e.columnGapTablet,e.columnGapMobile]))&&void 0!==i?i:"30px",onChange:e=>S(e,["columnGap","columnGapTablet","columnGapMobile"])}),(0,k.jsx)(h.k2,{values:["columnGap","columnGapTablet","columnGapMobile"],setAttributes:t})]}),(0,k.jsxs)(h.k3,{label:(0,l.__)("Row Gap","otter-blocks"),children:[(0,k.jsx)(p.__experimentalUnitControl,{value:null!==(r=T([e.rowGap,e.rowGapTablet,e.rowGapMobile]))&&void 0!==r?r:"30px",onChange:e=>S(e,["rowGap","rowGapTablet","rowGapMobile"])}),(0,k.jsx)(h.k2,{values:["rowGap","rowGapTablet","rowGapMobile"],setAttributes:t})]}),(0,k.jsxs)(h.k3,{label:(0,l.__)("Content Padding","otter-blocks"),children:[(0,k.jsx)(p.__experimentalUnitControl,{value:T([e.padding,e.paddingTablet,e.paddingMobile]),onChange:e=>S(e,["padding","paddingTablet","paddingMobile"])}),(0,k.jsx)(h.k2,{values:["padding","paddingTablet","paddingMobile"],setAttributes:t})]}),(0,k.jsx)(p.BaseControl,{label:(0,l.__)("Space Between","otter-blocks"),children:(0,k.jsx)(p.FontSizePicker,{fontSizes:Vl,withReset:!0,value:e.contentGap,onChange:e=>t({contentGap:e})})}),e.hasPagination&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Pagination Gap","otter-blocks"),value:e.pagGap?parseInt(e.pagGap):5,onChange:e=>t({pagGap:e+"px"}),min:0,max:50}),(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Pagination Padding","otter-blocks"),values:null!==(n=e.pagPadding)&&void 0!==n?n:{top:"5px",right:"15px",bottom:"5px",left:"15px"},onChange:e=>t({pagPadding:e}),allowReset:!0}),(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Pagination Container Margin","otter-blocks"),values:null!==(c=e.pagContMargin)&&void 0!==c?c:{top:"10px",bottom:"30px"},onChange:e=>t({pagContMargin:e}),sides:["top","bottom"],allowReset:!0})]})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Border","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.__experimentalUnitControl,{label:(0,l.__)("Width","otter-blocks"),value:e.borderWidth,onChange:e=>t({borderWidth:e})}),(0,k.jsx)(h.k2,{values:["borderWidth"],setAttributes:t}),(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Radius","otter-blocks"),values:null!==(x=e.cardBorderRadius)&&void 0!==x?x:(0,$.eA)("0px"),onChange:e=>t({cardBorderRadius:e}),id:"o-border-raduis-box",allowReset:!1}),e.hasPagination&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Pagination Border Radius","otter-blocks"),values:null!==(f=e.pagBorderRadius)&&void 0!==f?f:(0,$.eA)("0px"),onChange:e=>t({pagBorderRadius:e}),id:"o-border-raduis-box",allowReset:!0}),(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Pagination Border Width","otter-blocks"),values:null!==(v=e.pagBorderWidth)&&void 0!==v?v:(0,$.eA)("0px"),onChange:e=>t({pagBorderWidth:e}),allowReset:!0})]}),(0,k.jsx)(h.fS,{boxShadow:e.boxShadow,onChange:e=>z("boxShadow",e)})]})]})]})};const Gl=(e,t,o)=>{const{featuredImage:l,altText:s}=(0,u.useSelect)((l=>{if(!e)return{featuredImage:null,altText:null};const s=l("core").getMedia(e,{context:"view"});return{featuredImage:s?"string"!=typeof s&&!(0,H.isEmpty)(s.media_details)&&0<Object.keys(s.media_details.sizes).length&&s.media_details.sizes[t]?s.media_details.sizes[t].source_url:s.source_url:null,altText:s&&s.alt_text?s.alt_text:o}}),[t,e]);return{featuredImage:l,altText:s}},El=({id:e,link:t,alt:o,size:l,imgStyle:s})=>{const{featuredImage:a,altText:i}=Gl(e,l,o);return null===a?(0,k.jsx)(b.Fragment,{}):(0,k.jsx)("div",{className:"o-posts-grid-post-image",children:(0,k.jsx)("a",{href:t,children:a?(0,k.jsx)("img",{src:a,size:l,alt:i,"data-id":e,style:s}):(0,k.jsx)(p.Placeholder,{children:(0,k.jsx)(p.Spinner,{})})})})},$l=({post:e,attributes:t,categoriesList:o,authors:l,isTiled:s})=>{const{featuredImage:a}=Gl(e?.featured_media,e.title?.rendered,t?.imageSize),i=o&&0<e?.categories?.length?o.find((t=>t.id===e.categories[0])):void 0,r=o&&0<e?.categories?.length?o.filter((t=>e.categories.includes(t.id))):[],c=l&&e.author?l.find((t=>t.id===e.author)):void 0,d=0!==e.featured_media&&t.displayFeaturedImage,b={backgroundPosition:"center center",backgroundSize:"cover"};return d&&s&&(b.backgroundImage=`url(${a})`),(0,k.jsx)("div",{className:"o-posts-grid-post-blog o-posts-grid-post-plain",style:b,children:(0,k.jsxs)("div",{className:n()("o-posts-grid-post"),children:[d&&!s&&(0,k.jsx)(El,{id:e.featured_media,link:e.link,alt:e.title?.rendered,size:t.imageSize,imgStyle:{borderRadius:void 0!==t.borderRadius?t.borderRadius+"px":void 0}}),(0,k.jsx)("div",{className:n()("o-posts-grid-post-body",{"is-full":!t.displayFeaturedImage}),children:t.template.map((l=>{switch(l){case"category":return(0,k.jsx)(Wl,{attributes:t,element:l,category:i,categoriesList:o},l);case"title":return(0,k.jsx)(Ul,{attributes:t,element:l,post:e},l);case"meta":return(0,k.jsx)(ql,{attributes:t,element:l,post:e,author:c,categories:r},l);case"description":return(0,k.jsx)(Zl,{attributes:t,element:l,post:e},l);default:return(0,Ae.applyFilters)("otter.postsBlock.templateLoop","",l,t)}}))})]})},e.link)},Wl=({attributes:e,element:t,category:o,categoriesList:l})=>void 0!==o&&e.displayCategory&&l?(0,k.jsx)("span",{className:"o-posts-grid-post-category",children:(0,g.kn)(o.name)},t):"",Ul=({attributes:e,element:t,post:o})=>{if(!e.displayTitle)return"";const l=["h1","h2","h3","h4","h5","h6"].includes(e.titleTag)?e.titleTag:"h4";return(0,k.jsx)(l,{className:"o-posts-grid-post-title",children:(0,k.jsx)("a",{href:o.link,children:(0,g.kn)(o.title?.rendered)})},t)},ql=({attributes:e,element:t,post:o,author:s,categories:a})=>{if(e.displayMeta&&(e.displayDate||e.displayAuthor||e.displayComments||e.displayPostCategory)){const i=[];let r="";return e.displayDate&&(e.displayUpdatedDate?
/* translators: %s Date updated */
r+=(0,l.sprintf)((0,l.__)("Updated on %s","otter-blocks"),(0,g.Yq)(o.modified)):
/* translators: %s Date posted */
r+=(0,l.sprintf)((0,l.__)("Posted on %s","otter-blocks"),(0,g.Yq)(o.date))),e.displayAuthor&&void 0!==s&&(
/* translators: %1$s is the date, %2$s is the author of the post */
r=(0,l.sprintf)((0,l.__)("%1$s by %2$s","otter-blocks"),r,s.name).trim()),i.push(r),e.displayComments&&i.push((0,l.sprintf)("%1$s %2$s","0",(0,l.__)("comments","otter-blocks"))),e.displayPostCategory&&Boolean(a.length)&&i.push(a.map((({name:e})=>e)).join(", ")),(0,k.jsx)("p",{className:"o-posts-grid-post-meta",children:i.join(" / ")},t)}return""},Zl=({attributes:e,element:t,post:o})=>0<e.excerptLength&&e.displayDescription?(0,k.jsxs)("div",{className:"o-posts-grid-post-description",children:[(0,k.jsx)("p",{children:o.excerpt?.rendered&&(0,g.kn)(o.excerpt.rendered).substring(0,e.excerptLength)+"…"}),e.displayReadMoreLink&&(0,k.jsx)("a",{href:o.link,className:"o-posts-read-more",children:(0,l.__)("Read more","otter-blocks")})]},t):"",Jl=()=>(0,k.jsxs)("div",{className:"o-posts-grid-pag",children:[(0,k.jsx)("a",{className:"page-numbers",children:(0,l.__)("Prev","otter-blocks")}),(0,k.jsx)("a",{className:"page-numbers","aria-current":"page",children:(0,l.__)("1","otter-blocks")}),(0,k.jsx)("span",{className:"page-numbers",children:(0,l.__)("2","otter-blocks")}),(0,k.jsx)("a",{className:"page-numbers",children:(0,l.__)("3","otter-blocks")}),(0,k.jsx)("span",{className:"page-numbers dots",children:"..."}),(0,k.jsx)("a",{className:"page-numbers",children:(0,l.__)("8","otter-blocks")}),(0,k.jsx)("a",{className:"page-numbers",children:(0,l.__)("Next","otter-blocks")})]});var Kl=({attributes:e,posts:t,categoriesList:o,authors:l})=>{const s="tiled"===(0,g.qL)(Hl,e?.className),a=t.filter((e=>e));return(0,k.jsx)("div",{className:"grid"===e.style?n()("is-grid",`o-posts-grid-columns-${e.columns}`):"is-list",children:a.slice(e.enableFeaturedPost?1:0).map((t=>(0,k.jsx)($l,{post:t,attributes:e,categoriesList:o,authors:l,isTiled:s},t.id)))})};const Yl={posts:{slugs:[],usedSlugs:[]}};(0,u.registerGenericStore)("otter-store",(()=>{let e=()=>{};const t=Yl,o={getPostsSlugs(){return t.posts.slugs},getPostsUsedSlugs(){return t.posts.usedSlugs}},l={setPostsSlugs(o){t.posts.slugs=o,e()},setPostsUsedSlugs(o){t.posts.usedSlugs.push(...o),e()},setOnlyOneSlug(o){t.posts.usedSlugs=[o],e()},removePostsUsedSlugs(o){t.posts.usedSlugs=t.posts.usedSlugs.filter((e=>!o.includes(e))),e()}};return{getSelectors(){return o},getActions(){return l},subscribe(t){e=t}}})());var Ql=({post:e,attributes:t,author:o,categoriesList:l})=>{const s="tiled"===(0,g.qL)(Hl,t?.className),{featuredImage:a}=Gl(e?.featured_media,e.title?.rendered,t?.imageSize);if(!e)return"";const i=l&&0<e?.categories?.length?l.find((t=>t.id===e.categories[0])):void 0,r={backgroundPosition:"center center",backgroundSize:"cover"};return 0!==e.featured_media&&t.displayFeaturedImage&&s&&(r.backgroundImage=`url(${a})`),(0,k.jsx)("div",{className:"o-featured-container",children:(0,k.jsxs)("div",{className:"o-featured-post",style:r,children:[t.displayFeaturedImage&&!s&&(0,k.jsx)(El,{id:e.featured_media,link:e.link,alt:e.title?.rendered,imgStyle:{borderRadius:void 0!==t.borderRadius?t.borderRadius+"px":void 0}}),(0,k.jsx)("div",{className:"o-posts-grid-post-body",children:t.template.map((s=>{const a=l&&0<e?.categories?.length?l.filter((t=>e.categories.includes(t.id))):[];switch(s){case"category":return(0,k.jsx)(Wl,{attributes:t,element:s,category:i,categoriesList:l});case"title":return(0,k.jsx)(Ul,{attributes:t,element:s,post:e});case"meta":return(0,k.jsx)(ql,{attributes:t,element:s,post:e,author:o,categories:a});case"description":return(0,k.jsx)(Zl,{attributes:t,element:s,post:e});default:return(0,Ae.applyFilters)("otter.postsBlock.templateLoop","",s,t)}}))})]})})};const{attributes:Xl}=Tl;var es;es=()=>{let e=10;const t=setInterval((()=>{window?.rankMathEditor?(clearInterval(t),window.wp.hooks.addFilter("rank_math_content","rank-math",(e=>{var t;const o=document.querySelectorAll(".o-posts-grid-post-body");return(null!=e?e:"")+(null!==(t=Array.from(o)?.map((e=>e.innerHTML))?.join(""))&&void 0!==t?t:"")})),window?.rankMathEditor?.refresh("content")):(e--,0===e&&clearInterval(t))}),1e3)},"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",es):es());const{name:ts}=Tl;(0,s.registerBlockType)(ts,{...Tl,title:(0,l.__)("Posts","otter-blocks"),description:(0,l.__)("Display a list of your most recent posts in a beautiful layout. Powered by Otter.","otter-blocks"),icon:i.postsIcon,keywords:["posts","grid","news"],deprecated:Ml,edit:({attributes:e,setAttributes:t,clientId:o})=>{(0,b.useEffect)((()=>{const t=(0,y.blockInit)(o,Xl);return()=>t(e.id)}),[e.id]);const[s,a]=(0,b.useState)([]),{posts:i,categoriesList:r,authors:n,isLoading:c}=(0,u.useSelect)((t=>{var o,l;const s=e.categories&&0<e.categories.length?e.categories.map((e=>e.id)):[],a=(0,H.pickBy)({categories:s,order:e.order||"desc",orderby:e.orderBy,per_page:e.postsToShow,offset:e.offset,context:"view"},(e=>!(0,H.isUndefined)(e)));let i=[],r=!1;const n=e.postTypes;if(0<n.length){const{posts:e,isLoading:o,error:l}=n.reduce(((e,o)=>{const{posts:l,isLoading:i}=(e=>{if("product"===e){var o,l;const{COLLECTIONS_STORE_KEY:i}=window?.wc?.wcBlocksData;if(!i)return{posts:[],isLoading:!1};if(a.category=s.join(","),t(i).getCollectionError("/wc/store","products",a))return{posts:[],isLoading:!1};const r=null!==(o=t(i).getCollection("/wc/store","products",a))&&void 0!==o?o:[];if(t(i).isResolving("/wc/store","products",a))return{posts:[],isLoading:!0};const n=r.map((({id:e})=>e));return{posts:null!==(l=t("core").getEntityRecords("postType",e,{include:n}))&&void 0!==l?l:[],isLoading:t("core").isResolving("getEntityRecords",["postType",e,{include:n}])}}return{posts:t("core").getEntityRecords("postType",e,a),isLoading:t("core").isResolving("getEntityRecords",["postType",e,a])}})(o);return{posts:[...e.posts,...null!=l?l:[]],isLoading:e.isLoading||i}}),{posts:[],isLoading:!1});i=e,r=o}else i=t("core").getEntityRecords("postType","post",a),r=t("core").isResolving("getEntityRecords",["postType","post",a]);var c,d;e.featuredPostOrder&&0<i?.length&&(i=[...null!==(c=i?.filter((({sticky:e})=>Boolean(e))))&&void 0!==c?c:[],...null!==(d=i?.filter((({sticky:e})=>!Boolean(e))))&&void 0!==d?d:[]]),i=null!==(o=i?.filter(Boolean))&&void 0!==o?o:[];const b=null!==(l=t("core")?.getTaxonomies()?.map((({slug:e})=>e))?.filter((e=>n.some((t=>e===`${t}_cat`)))))&&void 0!==l?l:[];0===b.length&&b.push("category");const u=b.map((e=>{var o;return null!==(o=t("core").getEntityRecords("taxonomy",e,{per_page:-1}))&&void 0!==o?o:[]})).flat();return window?.rankMathEditor&&(0,H.debounce)((()=>{window?.rankMathEditor.refresh("content")}),500),{posts:i,categoriesList:u,authors:t("core").getUsers({who:"authors",context:"view"}),isLoading:r}}),[e.categories,e.order,e.orderBy,e.postsToShow,e.offset,e.postTypes,e.featuredPostOrder]),{responsiveGetAttributes:h}=(0,m.d)();(0,b.useEffect)((()=>{let o=!1;void 0===e.id&&(o=!0),(async()=>{if(a(await(0,g.uL)()),o){const o=(0,g.c5)(e?.className,Hl,"boxed");t({className:o})}})()}),[]),(0,b.useEffect)((()=>{(0,u.dispatch)("otter-store").setPostsSlugs(s)}),[s]),(0,m.g)(e.backgroundColor,e,t);const x=t=>(0,y.getDefaultValueByField)({name:name,field:t,defaultAttributes:Xl,attributes:e}),f=x("imageBoxShadow"),v=x("boxShadow"),_={"--img-border-radius":(0,H.isObject)(e.borderRadius)?(0,g.a0)(e.borderRadius):(0,g.ws)(e.borderRadius),"--img-box-shadow":f.active&&`${f.horizontal}px ${f.vertical}px ${f.blur}px ${f.spread}px ${(0,g.qh)(f.color,f.colorOpacity)}`,"--image-ratio":e.imageRatio,"--border-width":(0,g.ws)(e.borderWidth),"--border-radius":(0,g.a0)(e.cardBorderRadius),"--border-radius-start-start":(0,g.ws)(e.cardBorderRadius?.top),"--border-radius-start-end":(0,g.ws)(e.cardBorderRadius?.right),"--border-radius-end-start":(0,g.ws)(e.cardBorderRadius?.bottom),"--border-radius-end-end":(0,g.ws)(e.cardBorderRadius?.left),"--box-shadow":v.active&&`${v.horizontal}px ${v.vertical}px ${v.blur}px ${v.spread}px ${(0,g.qh)(v.color,v.colorOpacity)}`,"--vert-align":(0,g.Pw)(e.verticalAlign),"--text-align":e.textAlign,"--text-color":e.textColor,"--background-color":e.backgroundColor,"--background-overlay":e.backgroundOverlay||"#0000005e","--border-color":e.borderColor,"--content-gap":e.contentGap,"--img-width":h([(0,g.ws)(e.imageWidth),e.imageWidthTablet,e.imageWidthMobile]),"--img-width-tablet":e.imageWidthTablet,"--img-width-mobile":e.imageWidthMobile,"--title-text-size":h([(0,g.ws)(e.customTitleFontSize),(0,g.ws)(e.customTitleFontSizeTablet),(0,g.ws)(e.customTitleFontSizeTablet)]),"--title-text-size-tablet":(0,g.ws)(e.customTitleFontSizeTablet),"--title-text-size-mobile":(0,g.ws)(e.customTitleFontSizeMobile),"--description-text-size":h([(0,g.ws)(e.customDescriptionFontSize),(0,g.ws)(e.customDescriptionFontSizeTablet),(0,g.ws)(e.customDescriptionFontSizeMobile)]),"--description-text-size-tablet":(0,g.ws)(e.customDescriptionFontSizeTablet),"--description-text-size-mobile":(0,g.ws)(e.customDescriptionFontSizeMobile),"--meta-text-size":h([e.customMetaFontSize,e.customMetaFontSizeTablet,e.customMetaFontSizeMobile]),"--meta-text-size-tablet":e.customMetaFontSizeTablet,"--meta-text-size-mobile":e.customMetaFontSizeMobile,"--column-gap":h([e.columnGap,e.columnGapTablet,e.columnGapMobile]),"--column-gap-tablet":e.columnGapTablet,"--column-gap-mobile":e.columnGapMobile,"--row-gap":h([e.rowGap,e.rowGapTablet,e.rowGapMobile]),"--row-gap-tablet":e.rowGapTablet,"--row-gap-mobile":e.rowGapMobile,"--content-padding":h([e.padding,e.paddingTablet,e.paddingMobile]),"--content-padding-tablet":e.paddingTablet,"--content-padding-mobile":e.paddingMobile,"--pag-color":e.pagColor,"--pag-bg-color":e.pagBgColor,"--pag-color-hover":e.pagColorHover,"--pag-bg-color-hover":e.pagBgColorHover,"--pag-color-active":e.pagColorActive,"--pag-bg-color-active":e.pagBgColorActive,"--pag-border-color":e.pagBorderColor,"--pag-border-color-hover":e.pagBorderColorHover,"--pag-border-color-active":e.pagBorderColorActive,"--pag-border-radius":(0,g.a0)(e.pagBorderRadius),"--pag-border-width":(0,g.a0)(e.pagBorderWidth),"--pag-padding":(0,g.a0)(e.pagPadding,{top:"5px",right:"15px",bottom:"5px",left:"15px"}),"--pag-gap":e.pagGap,"--pag-size":e.pagSize,"--pag-cont-margin":(0,g.a0)(e.pagContMargin,{top:"10px",bottom:"30px"})},w=(0,d.useBlockProps)(),C=({posts:e,categoriesList:t,authors:o,blockProps:s,inlineStyles:a,attributes:i})=>e&&t&&o&&!c?0===e.length?(0,k.jsx)("div",{...s,children:(0,k.jsx)(p.Placeholder,{children:(0,l.__)("No Posts","otter-blocks")})}):(0,k.jsxs)("div",{...s,style:a,children:[(0,k.jsxs)(p.Disabled,{children:[i.enableFeaturedPost&&(0,k.jsx)(Ql,{attributes:i,post:e?.[0],categoriesList:t,author:o[0]}),(0,k.jsx)(Kl,{attributes:i,posts:e,categoriesList:t,authors:o})]}),i.hasPagination&&(0,k.jsx)(Jl,{})]}):(0,k.jsx)("div",{...s,children:(0,k.jsxs)(p.Placeholder,{children:[(0,k.jsx)(p.Spinner,{}),(0,l.__)("Loading Posts","otter-blocks")]})});return(0,k.jsxs)(b.Fragment,{children:[r&&(0,k.jsx)(Dl,{attributes:e,setAttributes:t,categoriesList:r,isLoading:c}),(0,k.jsx)(Pl,{attributes:e,setAttributes:t}),(0,k.jsx)(C,{posts:i,categoriesList:r,authors:n,blockProps:w,inlineStyles:_,attributes:e})]})},save:()=>null,example:{attributes:{}}});var os=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/progress-bar","title":"Progress Bar","category":"themeisle-blocks","description":"Show your progress with a beautiful Progress Bar block. Powered by Otter.","keywords":["progress","bar","skills"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"title":{"type":"string","default":"Skill"},"percentage":{"type":"number","default":50},"duration":{"type":"number","default":2},"titleStyle":{"type":"string","default":"default"},"percentagePosition":{"type":"string","default":"default"},"height":{"type":"number","default":30},"borderRadius":{"type":"number"},"backgroundColor":{"type":"string"},"barBackgroundColor":{"type":"string"},"titleColor":{"type":"string"},"percentageColor":{"type":"string"},"titleFontSize":{"type":"string"}},"editorStyle":"otter-progress-bar-editor","style":"otter-progress-bar-style","script":"otter-progress-bar"}');const ls=[{name:(0,l.__)("Small","otter-blocks"),size:"0.875em",slug:"small"},{name:(0,l.__)("Medium","otter-blocks"),size:"1em",slug:"medium"},{name:(0,l.__)("Large","otter-blocks"),size:"1.125em",slug:"large"},{name:(0,l.__)("XL","otter-blocks"),size:"1.25em",slug:"xl"}];var ss=({attributes:e,setAttributes:t,onHeightChange:o,heightMode:s,setHeightMode:a})=>{const[i,r]=(0,y.useTabSwitch)(e.id,"settings");return(0,k.jsxs)(d.InspectorControls,{children:[(0,k.jsx)(h.R7,{value:i,options:[{label:(0,l.__)("Settings","otter-blocks"),value:"settings"},{label:(0,l.__)("Style","otter-blocks"),value:"style"}],onChange:r}),(0,k.jsxs)("div",{children:["settings"===i&&(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Options","otter-blocks"),initialOpen:!0,children:[(0,k.jsx)(p.TextControl,{label:(0,l.__)("Title","otter-blocks"),value:e.title,onChange:e=>t({title:e})}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Percentage","otter-blocks"),help:(0,l.__)("The value of the progress bar.","otter-blocks"),value:e.percentage,onChange:e=>{void 0!==e&&(e=(0,H.clamp)(e,0,100),t({percentage:e}))},min:0,max:100})]}),"style"===i&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Title and Percentage","otter-blocks"),initialOpen:!1,children:[30<=e.height&&(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Title Style","otter-blocks"),value:e.titleStyle,options:[{label:(0,l.__)("Default","otter-blocks"),value:"default"},{label:(0,l.__)("Highlight","otter-blocks"),value:"highlight"},{label:(0,l.__)("Outer","otter-blocks"),value:"outer"}],onChange:e=>t({titleStyle:e})}),(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Percentage Style","otter-blocks"),value:e.percentagePosition,options:[{label:(0,l.__)("Default","otter-blocks"),value:"default"},{label:(0,l.__)("Append","otter-blocks"),value:"append"},{label:(0,l.__)("Tooltip","otter-blocks"),value:"tooltip"},{label:(0,l.__)("Outer","otter-blocks"),value:"outer"},{label:(0,l.__)("Hide","otter-blocks"),value:"hide"}],onChange:e=>{s.isAutomatic&&(s.percentagePosition=e,a({...s})),t({percentagePosition:e})}}),("outer"===e.titleStyle||"tooltip"===e.percentagePosition&&"outer"===e.percentagePosition)&&(0,k.jsx)(p.BaseControl,{label:(0,l.__)("Outer Text Font Size","otter-blocks"),children:(0,k.jsx)(p.FontSizePicker,{fontSizes:ls,withReset:!0,value:e.titleFontSize,onChange:e=>t({titleFontSize:e})})})]}),(0,k.jsx)(d.PanelColorSettings,{title:(0,l.__)("Color","otter-blocks"),colorSettings:[{value:e.titleColor,onChange:e=>t({titleColor:e}),label:(0,l.__)("Title","otter-blocks")},{value:e.barBackgroundColor,onChange:e=>t({barBackgroundColor:e}),label:(0,l.__)("Progress","otter-blocks")},{value:e.percentageColor,onChange:e=>t({percentageColor:e}),label:(0,l.__)("Percentage","otter-blocks")},{value:e.backgroundColor,onChange:e=>t({backgroundColor:e}),label:(0,l.__)("Background","otter-blocks")}]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Dimensions and Motion","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Duration","otter-blocks"),help:(0,l.__)("The duration of the animation.","otter-blocks"),value:e.duration,onChange:e=>{void 0!==e&&(e=(0,H.clamp)(e,0,3),t({duration:e}))},min:0,max:3,step:.1}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Height","otter-blocks"),help:(0,l.__)("The height of the progress bar.","otter-blocks"),value:e.height,onChange:o,step:.1,min:5,max:100}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Border Radius","otter-blocks"),help:(0,l.__)("Round the corners of the progress bar.","otter-blocks"),value:e.borderRadius,onChange:e=>t({borderRadius:e}),step:.1,initialPosition:5,min:0,max:35})]})]})]})]})};const{attributes:as}=os;const is={to:[{type:"block",blocks:["themeisle-blocks/circle-counter"],transform:e=>{const t=(0,H.omit)(e,["titleStyle","percentagePosition","height","borderRadius","barBackgroundColor","percentageColor"]);return(0,s.createBlock)("themeisle-blocks/circle-counter",{...t,progressColor:e.barBackgroundColor,height:(0,H.clamp)(4*e.height,0,240),titleStyle:"default"})}}]};var rs=is;const{name:ns}=os;(0,s.registerBlockType)(ns,{...os,title:(0,l.__)("Progress Bar","otter-blocks"),description:(0,l.__)("Show your progress with a beautiful Progress Bar block. Powered by Otter.","otter-blocks"),icon:i.progressIcon,keywords:["progress","bar","skills"],transforms:rs,edit:({attributes:e,setAttributes:t,isSelected:o,clientId:l,toggleSelection:s})=>{(0,b.useEffect)((()=>{const t=(0,y.blockInit)(l,as);return()=>t(e.id)}),[e.id]);const a=(0,b.useRef)(null),[i,r]=(0,b.useState)(!1),[c,u]=(0,b.useState)({isAutomatic:!1,titleStyle:e.titleStyle,percentagePosition:e.percentagePosition}),h=(0,b.useRef)(null);(0,b.useEffect)((()=>{let t=null;if(h.current)return r(!1),t=setTimeout((()=>r(!0)),1e3*e.duration),h.current.animate({width:`${e.percentage}%`},{duration:1e3*e.duration,easing:"linear",fill:"forwards"}),()=>{clearTimeout(t)}}),[e.percentage,e.duration]);const g={"--title-color":e.titleColor,"--percentage-color":e.percentageColor,"--percentage-color-outer":e.percentageColor,"--percentage-color-tooltip":e.percentageColor,"--percentage-color-append":e.percentageColor,"--background-color":e.backgroundColor,"--border-radius":void 0!==e.borderRadius&&e.borderRadius+"px","--height":void 0!==e.height&&e.height+"px","--bar-background":e.barBackgroundColor,"--title-font-size":e.titleFontSize},m=o=>{30>o?(c.isAutomatic||u({isAutomatic:!0,titleStyle:e.titleStyle,percentagePosition:e.percentagePosition}),t({height:o,titleStyle:"outer",percentagePosition:"append"===e.percentagePosition||"default"===e.percentagePosition?"outer":e.percentagePosition})):(c.isAutomatic&&u({isAutomatic:!1}),t({titleStyle:c.isAutomatic?c.titleStyle:e.titleStyle,percentagePosition:c.isAutomatic?c.percentagePosition:e.percentagePosition,height:o}))},x=(0,d.useBlockProps)({id:e.id,className:n()({"has-tooltip":"tooltip"===e.percentagePosition}),style:g});return(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(ss,{attributes:e,setAttributes:t,onHeightChange:m,heightMode:c,setHeightMode:u}),(0,k.jsxs)("div",{...x,children:[("outer"===e.titleStyle||"outer"===e.percentagePosition)&&(0,k.jsxs)("div",{className:"wp-block-themeisle-blocks-progress-bar__outer",children:["outer"===e.titleStyle&&(0,k.jsx)(d.RichText,{tagName:"span",allowedFormats:[],className:"wp-block-themeisle-blocks-progress-bar__outer__title",value:e.title,onChange:e=>t({title:e})}),"outer"===e.percentagePosition&&i&&(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-progress-bar__outer__value wp-block-themeisle-blocks-progress-bar__number",children:`${e.percentage}%`})]}),(0,k.jsx)(p.ResizableBox,{size:{height:e.height},minHeight:5,maxHeight:100,enable:{top:!1,right:!1,bottom:!0,left:!1},showHandle:o,onResizeStop:(t,o,l,a)=>{m(parseInt(e.height+a.height,10)),s(!0)},onResizeStart:()=>{s(!1)},children:(0,k.jsxs)("div",{ref:a,className:"wp-block-themeisle-blocks-progress-bar__area",children:[("default"===e.titleStyle||"highlight"===e.titleStyle)&&(0,k.jsx)("div",{className:n()("wp-block-themeisle-blocks-progress-bar__area__title",{highlight:"highlight"===e.titleStyle}),children:(0,k.jsx)(d.RichText,{tagName:"span",allowedFormats:[],value:e.title,onChange:e=>t({title:e})})}),(0,k.jsxs)("div",{className:"wp-block-themeisle-blocks-progress-bar__area__bar show",ref:h,children:["tooltip"===e.percentagePosition&&i&&(0,k.jsxs)("span",{className:"wp-block-themeisle-blocks-progress-bar__area__tooltip show",children:[`${e.percentage}%`,(0,k.jsx)("span",{className:"wp-block-themeisle-blocks-progress-bar__area__arrow"})]}),"append"===e.percentagePosition&&i&&(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-progress-bar__progress__append show",children:`${e.percentage}%`})]}),"default"===e.percentagePosition&&i&&(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-progress-bar__progress",children:`${e.percentage}%`})]})})]})]})},save:({attributes:e})=>{const t=d.useBlockProps.save({id:e.id,className:n()({"has-tooltip":"tooltip"===e.percentagePosition}),"data-percent":e.percentage,"data-duration":e.duration});return(0,k.jsxs)("div",{...t,children:[("outer"===e.titleStyle||"outer"===e.percentagePosition)&&(0,k.jsxs)("div",{className:"wp-block-themeisle-blocks-progress-bar__outer",children:["outer"===e.titleStyle&&(0,k.jsx)("span",{className:"wp-block-themeisle-blocks-progress-bar__outer__title",children:e.title}),"outer"===e.percentagePosition&&(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-progress-bar__outer__value wp-block-themeisle-blocks-progress-bar__number",children:e.percentage})]}),(0,k.jsxs)("div",{className:"wp-block-themeisle-blocks-progress-bar__area",children:[("default"===e.titleStyle||"highlight"===e.titleStyle)&&(0,k.jsx)("div",{className:n()("wp-block-themeisle-blocks-progress-bar__area__title",{highlight:"highlight"===e.titleStyle}),children:(0,k.jsx)("span",{children:e.title})}),(0,k.jsxs)("div",{className:"wp-block-themeisle-blocks-progress-bar__area__bar",children:["tooltip"===e.percentagePosition&&(0,k.jsxs)("span",{className:"wp-block-themeisle-blocks-progress-bar__area__tooltip",children:[(0,k.jsx)("span",{className:"wp-block-themeisle-blocks-progress-bar__number",children:e.percentage}),(0,k.jsx)("span",{className:"wp-block-themeisle-blocks-progress-bar__area__arrow"})]}),"append"===e.percentagePosition&&(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-progress-bar__progress__append wp-block-themeisle-blocks-progress-bar__number",children:e.percentage})]}),"default"===e.percentagePosition&&(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-progress-bar__progress wp-block-themeisle-blocks-progress-bar__number",children:`${e.percentage}%`})]})]})},example:{}});var cs=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/review","title":"Product Review","category":"themeisle-blocks","description":"Turn your posts into smart reviews with ratings and generate leads with a performing review block. Powered by Otter.","keywords":["product","review","stars"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"title":{"type":"string"},"currency":{"type":"string","default":"USD"},"price":{"type":"number"},"discounted":{"type":"number"},"image":{"type":"object"},"description":{"type":"string"},"features":{"type":"array","default":[{"title":"Stability","rating":9},{"title":"Ease of Use","rating":4},{"title":"Look & Feel","rating":9},{"title":"Price","rating":7}]},"pros":{"type":"array","default":["Easy to use","Good price","Sturdy build and ergonomics"]},"cons":{"type":"array","default":["Incompatible with old versions","Hard to assemble","Bad color combination"]},"links":{"type":"array","default":[{"label":"Buy on Amazon","href":"","isSponsored":false,"target":"_blank"},{"label":"Buy on eBay","href":"","isSponsored":false,"target":"_blank"}]},"prosLabel":{"type":"string","default":"Pros"},"consLabel":{"type":"string","default":"Cons"},"buttonsLabel":{"type":"string","default":"Buy this Product"},"imageWidth":{"type":"number"},"imageSize":{"type":"string"},"mainHeading":{"type":"string"},"subHeading":{"type":"string"},"contentFontSize":{"type":"string"},"primaryColor":{"type":"string"},"backgroundColor":{"type":"string"},"textColor":{"type":"string"},"buttonTextColor":{"type":"string"},"borderColor":{"type":"string"},"starsColor":{"type":"string"},"prosColor":{"type":"string"},"consColor":{"type":"string"},"padding":{"type":"object"},"paddingTablet":{"type":"object"},"paddingMobile":{"type":"object"},"borderWidth":{"type":"number"},"borderRadius":{"type":"number"},"boxShadow":{"type":"object","default":{"active":false,"colorOpacity":50,"blur":5,"spread":1,"horizontal":0,"vertical":0}},"isSynced":{"type":"array"}},"supports":{"align":["full","wide"],"html":false},"editorStyle":"otter-review-editor","style":"otter-review-style"}'),ds=o(2583),bs=o.n(ds);const us=[{label:(0,l.__)("Default","otter-blocks"),value:"default",isDefault:!0},{label:(0,l.__)("Boxed","otter-blocks"),value:"boxed"}],ps=[{label:(0,l.__)("Inline","otter-blocks"),value:"inline-features"}],hs=[{label:(0,l.__)("H2","otter-blocks"),value:"h2"},{label:(0,l.__)("H3","otter-blocks"),value:"h3"},{label:(0,l.__)("H4","otter-blocks"),value:"h4"},{label:(0,l.__)("H5","otter-blocks"),value:"h5"},{label:(0,l.__)("H6","otter-blocks"),value:"h6"}],gs=[{name:(0,l.__)("XS","otter-blocks"),size:"14px",slug:"xs"},{name:(0,l.__)("Small","otter-blocks"),size:"16px",slug:"small"},{name:(0,l.__)("Medium","otter-blocks"),size:"18px",slug:"medium"},{name:(0,l.__)("Large","otter-blocks"),size:"24px",slug:"large"},{name:(0,l.__)("XL","otter-blocks"),size:"28px",slug:"xl"}],ms=({title:e,remove:t,children:o})=>{const[s,a]=(0,b.useState)(!1);return(0,k.jsxs)("div",{className:"o-review__inspector_panel_item",children:[(0,k.jsxs)("div",{className:"o-review__inspector_panel_item__header",children:[(0,k.jsx)(p.Button,{className:"o-review__inspector_panel_item__title",onClick:()=>a(!s),children:e}),(0,k.jsx)(p.Button,{icon:"no-alt",label:(0,l.__)("Remove","otter-blocks"),showTooltip:!0,className:"o-review__inspector_panel_item__arrow",onClick:t})]}),s&&(0,k.jsx)("div",{className:"o-review__inspector_panel_item__content",children:o})]})};var ys=({attributes:e,setAttributes:t,getValue:o,productAttributes:s})=>{const[a,i]=(0,y.useTabSwitch)(e.id,"settings"),{responsiveSetAttributes:r,responsiveGetAttributes:n}=(0,m.d)(t),c=o=>{const s=[...e.features];switch(o.action){case"add":s.push({title:(0,l.__)("Feature","otter-blocks"),rating:9});break;case"remove":s.splice(o.index,1);break;case"update":s[o.index]={...s[o.index],...o.value}}t({features:s})},u=o=>{const l=[...e[o.type]];switch(o.action){case"add":l.push("");break;case"remove":l.splice(o.index,1);break;case"update":l[o.index]=o.value}t({[o.type]:l})},x=o=>{const s=[...e.links];switch(o.action){case"add":s.push({label:(0,l.__)("Buy Now","otter-blocks"),href:""});break;case"remove":s.splice(o.index,1);break;case"update":s[o.index]={...s[o.index],...o.value}}t({links:s})};return(0,k.jsxs)(d.InspectorControls,{children:[(0,k.jsx)(h.R7,{value:a,options:[{label:(0,l.__)("Settings","otter-blocks"),value:"settings"},{label:(0,l.__)("Style","otter-blocks"),value:"style"}],onChange:i}),"settings"===a&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Settings","otter-blocks"),children:[(0,k.jsx)(h.Aw,{label:(0,l.__)("Column Structure","otter-blocks"),options:[{label:(0,l.__)("One Column","otter-blocks"),value:"is-style-single-column"},{label:(0,l.__)("Two Columns","otter-blocks"),value:"default"}],value:e?.className?.includes("is-style-single-column")?"is-style-single-column":"default",onChange:o=>{const l=e?.className?.split(" ")||[];"default"===o&&l.includes("is-style-single-column")?l.splice(l.indexOf("is-style-single-column"),1):"is-style-single-column"!==o||l.includes("is-style-single-column")||l.push("is-style-single-column"),t({className:l.join(" ")})}}),(e.image||s?.image)&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(h.Aw,{label:(0,l.__)("Image Area Width","otter-blocks"),options:[{label:(0,l.__)("25%","otter-blocks"),value:25},{label:(0,l.__)("33%","otter-blocks"),value:33},{label:(0,l.__)("50%","otter-blocks"),value:50},{label:(0,l.__)("100%","otter-blocks"),value:100}],value:e.imageWidth||33,onChange:e=>t({imageWidth:Number(e)})}),(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Image Size","otter-blocks"),value:e.imageSize,options:window.themeisleGutenberg.imageSizes.map((e=>({label:(0,H.startCase)((0,H.toLower)(e)),value:e}))),onChange:e=>t({imageSize:e})})]})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Product Details","otter-blocks"),initialOpen:!1,children:[e.product&&(0,k.jsx)(p.Notice,{status:"warning",isDismissible:!1,className:"o-html-anchor-control-notice",children:(0,l.__)("WooCommerce product synchronization is active. Some options might be disabled.","otter-blocks")}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Product Name","otter-blocks"),type:"text",placeholder:(0,l.__)("Name of your product…","otter-blocks"),value:s?.title||e.title,disabled:e.product,onChange:e=>t({title:e})}),(0,k.jsxs)(p.BaseControl,{children:[(0,k.jsx)(p.TextControl,{label:(0,l.__)("Currency","otter-blocks"),type:"text",placeholder:(0,l.__)("Currency code, like USD or EUR.","otter-blocks"),value:s?.currency||e.currency,disabled:e.product,onChange:e=>t({currency:e})}),(0,l.__)("Currency code in three digit ISO 4217 code.","otter-blocks")+" ",(0,k.jsx)(p.ExternalLink,{href:"https://en.wikipedia.org/wiki/ISO_4217#Active_codes",children:(0,l.__)("List of ISO 4217 codes.","otter-blocks")})]}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Price","otter-blocks"),type:"number",value:s?.price||e.price,disabled:e.product,onChange:e=>t({price:""!==e?Number(e):void 0})}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Discounted Price","otter-blocks"),type:"number",value:s?.discounted||e.discounted,disabled:e.product,onChange:e=>t({discounted:""!==e?Number(e):void 0})}),e.image||s?.image?(0,k.jsxs)(p.BaseControl,{className:"o-review__inspector_image",children:[(0,k.jsx)("img",{src:s?.image?.url||e.image.url,alt:s?.image?.url||e.image.alt}),(0,k.jsx)(p.Button,{isSecondary:!0,onClick:()=>t({image:void 0}),disabled:e.product,children:(0,l.__)("Remove image","otter-blocks")})]}):(0,k.jsx)(d.MediaPlaceholder,{labels:{title:(0,l.__)("Product Image","otter-blocks")},accept:"image/*",allowedTypes:["image"],value:e.image,onSelect:e=>t({image:(0,H.pick)(e,["id","alt","url"])})})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Product Features","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Inline rating features","otter-blocks"),checked:"inline-features"===(0,g.qL)(ps,e?.className),onChange:o=>{t({className:(0,g.c5)(e?.className,ps,o?"inline-features":void 0)})}}),0<e.features.length&&e.features.map(((e,t)=>(0,k.jsxs)(ms,{title:e.title||(0,l.__)("Feature","otter-blocks"),remove:()=>c({action:"remove",index:t}),children:[(0,k.jsx)(p.TextControl,{label:(0,l.__)("Title","otter-blocks"),type:"text",placeholder:(0,l.__)("Feature title","otter-blocks"),value:e.title,onChange:e=>c({action:"update",index:t,value:{title:e}})}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Rating","otter-blocks"),value:e.rating,onChange:e=>c({action:"update",index:t,value:{rating:Number(e)}}),step:.1,min:1,max:10}),(0,k.jsx)(p.TextareaControl,{label:(0,l.__)("Description","otter-blocks"),placeholder:(0,l.__)("Feature Description","otter-blocks"),value:e.description,onChange:e=>c({action:"update",index:t,value:{description:e}})})]},t))),(0,k.jsx)(p.Button,{isSecondary:!0,className:"o-review__inspector_add",onClick:()=>c({action:"add"}),children:(0,l.__)("Add Feature","otter-blocks")})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Pros","otter-blocks"),initialOpen:!1,children:[0<e.pros.length&&e.pros.map(((e,t)=>(0,k.jsx)(ms,{title:e||(0,l.__)("Pro","otter-blocks"),remove:()=>u({type:"pros",action:"remove",index:t}),children:(0,k.jsx)(p.TextControl,{label:(0,l.__)("Title","otter-blocks"),type:"text",placeholder:(0,l.__)("Why do you like the product?","otter-blocks"),value:e,onChange:e=>u({type:"pros",action:"update",index:t,value:e})})},t))),(0,k.jsx)(p.Button,{isSecondary:!0,className:"o-review__inspector_add",onClick:()=>u({type:"pros",action:"add"}),children:(0,l.__)("Add Item","otter-blocks")})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Cons","otter-blocks"),initialOpen:!1,children:[0<e.cons.length&&e.cons.map(((e,t)=>(0,k.jsx)(ms,{title:e||(0,l.__)("Con","otter-blocks"),remove:()=>u({type:"cons",action:"remove",index:t}),children:(0,k.jsx)(p.TextControl,{label:(0,l.__)("Title","otter-blocks"),type:"text",placeholder:(0,l.__)("What can be improved?","otter-blocks"),value:e,onChange:e=>u({type:"cons",action:"update",index:t,value:e})})},t))),(0,k.jsx)(p.Button,{isSecondary:!0,className:"o-review__inspector_add",onClick:()=>u({type:"cons",action:"add"}),children:(0,l.__)("Add Item","otter-blocks")})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Buttons","otter-blocks"),initialOpen:!1,children:[e.product&&(0,k.jsx)(p.Notice,{status:"warning",isDismissible:!1,className:"o-html-anchor-control-notice",children:(0,l.__)("WooCommerce product synchronization is active. Some options might be disabled.","otter-blocks")}),0<s?.links?.length&&s?.links?.map(((t,o)=>(0,k.jsxs)(ms,{title:t.label||(0,l.__)("Link","otter-blocks"),remove:()=>x({action:"remove",index:o}),children:[(0,k.jsx)(p.TextControl,{label:(0,l.__)("Label","otter-blocks"),type:"text",placeholder:(0,l.__)("Button label","otter-blocks"),disabled:e.product,value:t.label}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Link","otter-blocks"),type:"url",placeholder:"https://…",value:t.href,disabled:e.product}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Is this Sponsored?","otter-blocks"),checked:t.isSponsored,disabled:e.product}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Open in New Tab","otter-blocks"),checked:"_blank"===t.target,disabled:e.product})]},o))),!(0<s?.links?.length)&&(0,k.jsxs)(b.Fragment,{children:[0<e.links.length&&e.links.map(((e,t)=>(0,k.jsxs)(ms,{title:e.label||(0,l.__)("Link","otter-blocks"),remove:()=>x({action:"remove",index:t}),children:[(0,k.jsx)(p.TextControl,{label:(0,l.__)("Label","otter-blocks"),type:"text",placeholder:(0,l.__)("Button label","otter-blocks"),value:e.label,onChange:e=>x({action:"update",index:t,value:{label:e}})}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Link","otter-blocks"),type:"url",placeholder:"https://…",value:e.href,onChange:e=>x({action:"update",index:t,value:{href:e}})}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Is this Sponsored?","otter-blocks"),checked:e.isSponsored,onChange:()=>x({action:"update",index:t,value:{isSponsored:!e.isSponsored}})}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Open in New Tab","otter-blocks"),checked:void 0===e.target||"_blank"===e.target,onChange:()=>x({action:"update",index:t,value:{target:"_blank"===e.target||void 0===e.target?"_self":"_blank"}})})]},t))),(0,k.jsx)(p.Button,{isSecondary:!0,className:"o-review__inspector_add",onClick:()=>x({action:"add"}),children:(0,l.__)("Add Links","otter-blocks")})]})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Labels","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.TextControl,{label:(0,l.__)("Pros","otter-blocks"),value:e.prosLabel,onChange:e=>t({prosLabel:e})}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Cons","otter-blocks"),value:e.consLabel,onChange:e=>t({consLabel:e})}),(0,k.jsx)(p.TextControl,{label:(0,l.__)("Buttons","otter-blocks"),value:e.buttonsLabel,onChange:e=>t({buttonsLabel:e})})]}),(0,k.jsx)(h.Cu,{})]}),"style"===a&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.PanelBody,{title:(0,l.__)("Style","otter-blocks"),children:(0,k.jsx)(h.Aw,{options:us,value:(0,g.qL)(us,e?.className),onChange:o=>{const l=(0,g.c5)(e?.className,us,o);t({className:l})}})}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Typography","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Main Heading","otter-blocks"),help:(0,l.__)("Product Title HTML Tag","otter-blocks"),options:hs,value:e.mainHeading||"h2",onChange:e=>t({mainHeading:e})}),(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Sub Heading","otter-blocks"),help:(0,l.__)("Pros and Cons titles HTML Tag","otter-blocks"),options:hs,value:e.subHeading||"h3",onChange:e=>t({subHeading:e})}),(0,k.jsx)(p.BaseControl,{label:(0,l.__)("Content","otter-blocks"),children:(0,k.jsx)(p.FontSizePicker,{fontSizes:gs,withReset:!0,value:e.contentFontSize,onChange:e=>t({contentFontSize:e})})})]}),(0,k.jsxs)(h.T$,{label:(0,l.__)("Color","otter-blocks"),isSynced:e.isSynced,options:[{label:(0,l.__)("Background","otter-blocks"),slug:"backgroundColor",value:o("backgroundColor")},{label:(0,l.__)("Text","otter-blocks"),slug:"textColor",value:o("textColor")},{label:(0,l.__)("Button","otter-blocks"),slug:"primaryColor",value:o("primaryColor")},{label:(0,l.__)("Button Text","otter-blocks"),slug:"buttonTextColor",value:o("buttonTextColor")},{label:(0,l.__)("Border","otter-blocks"),slug:"borderColor",value:o("borderColor")},{label:(0,l.__)("Stars","otter-blocks"),slug:"starsColor",value:o("starsColor")},{label:(0,l.__)("Pros","otter-blocks"),slug:"prosColor",value:o("prosColor")},{label:(0,l.__)("Cons","otter-blocks"),slug:"consColor",value:o("consColor")}],setAttributes:t,children:[(0,k.jsx)(d.ContrastChecker,{textColor:o("textColor"),backgroundColor:o("backgroundColor")}),(0,k.jsx)(d.ContrastChecker,{textColor:o("buttonTextColor"),backgroundColor:o("primaryColor")})]}),(0,k.jsx)(p.PanelBody,{title:(0,l.__)("Dimensions","otter-blocks"),initialOpen:!1,children:(0,k.jsx)(h.k3,{label:(0,l.__)("Screen Type","otter-blocks"),children:(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Padding","otter-blocks"),values:n([e.padding,e.paddingTablet,e.paddingMobile]),onChange:e=>r(e,["padding","paddingTablet","paddingMobile"]),allowReset:!0})})}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Border","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Width","otter-blocks"),value:e.borderWidth,onChange:e=>t({borderWidth:e}),min:0,max:50,allowReset:!0}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Radius","otter-blocks"),value:e.borderRadius,onChange:e=>t({borderRadius:e}),min:0,max:100,allowReset:!0}),(0,k.jsx)(h.fS,{boxShadow:e.boxShadow,onChange:o=>{const l={...e.boxShadow};Object.entries(o).forEach((([e,t]=o)=>{l[e]=t})),t({boxShadow:l})}})]})]}),!Boolean(window.themeisleGutenberg.hasPro)&&(0,k.jsx)(p.PanelBody,{title:(0,l.__)("More Features","otter-blocks"),initialOpen:!1,children:(0,k.jsx)(h.$T,{notice:(0,k.jsx)(p.ExternalLink,{href:(0,g.lY)(window.themeisleGutenberg.upgradeLink,"reviewblock"),children:(0,l.__)("Get more options with Otter Pro.","otter-blocks")}),variant:"upsell"})})]})};const{attributes:ks}=cs,xs=({rating:e})=>{const t=[],o=Boolean(window.themeisleGutenberg.ratingScale)?2:1;for(let l=0;10/o>l;l++)t.push((0,k.jsx)(i.StarFilled,{className:n()({filled:l<Math.round(e/o)})},l));return t};const{name:fs,attributes:vs}=cs;window.themeisleGutenberg.defaultReviewAttributes=vs,(0,s.registerBlockType)(fs,{...cs,title:(0,l.__)("Product Review","otter-blocks"),description:(0,l.__)("Turn your posts into smart reviews with ratings and generate leads with a performing review block. Powered by Otter.","otter-blocks"),icon:i.reviewIcon,keywords:["product","review","stars"],edit:({name:e,attributes:t,setAttributes:o,clientId:s,isSelected:a,status:r="isInactive",productAttributes:c={}})=>{var h,x;(0,b.useEffect)((()=>{const e=(0,y.blockInit)(s,ks);return()=>e(t.id)}),[t.id]);const{image:f}=(0,u.useSelect)((e=>{let o;const l=t.imageSize||"medium";return(t.image?.id||c.image?.id)&&(o=e("core").getMedia(t.image?.id||c.image?.id,{context:"view"})),o=o?0<Object.keys(o.media_details.sizes).length&&o.media_details.sizes[l]?o.media_details.sizes[l].source_url:o.source_url:null,{image:o}}),[t.image,t.imageSize,c]),v=o=>(0,y.getDefaultValueByField)({name:e,field:o,defaultAttributes:ks,attributes:t});(0,m.g)(v("backgroundColor"),t,o);const _=(t.features.reduce(((e,t)=>e+t.rating),0)/t.features.length).toFixed(1),w=(e,l)=>{const s=[...t.features];s[e]={...s[e],...l},o({features:s})},C=v("boxShadow"),j={"--background-color":v("backgroundColor"),"--primary-color":v("primaryColor"),"--text-color":v("textColor"),"--button-text-color":v("buttonTextColor"),"--border-color":v("borderColor"),"--stars-color":v("starsColor"),"--pros-color":v("prosColor"),"--cons-color":v("consColor"),"--content-font-size":v("contentFontSize"),...t?.padding?.top&&{"--padding-desktop-top":t.padding.top},...t?.padding?.bottom&&{"--padding-desktop-bottom":t.padding.bottom},...t?.padding?.right&&{"--padding-desktop-right":t.padding.right},...t?.padding?.left&&{"--padding-desktop-left":t.padding.left},...t?.paddingTablet?.top&&{"--padding-tablet-top":t.paddingTablet.top},...t?.paddingTablet?.bottom&&{"--padding-tablet-bottom":t.paddingTablet.bottom},...t?.paddingTablet?.right&&{"--padding-tablet-right":t.paddingTablet.right},...t?.paddingTablet?.left&&{"--padding-tablet-left":t.paddingTablet.left},...t?.paddingMobile?.top&&{"--padding-mobile-top":t.paddingMobile.top},...t?.paddingMobile?.bottom&&{"--padding-mobile-bottom":t.paddingMobile.bottom},...t?.paddingMobile?.right&&{"--padding-mobile-right":t.paddingMobile.right},...t?.paddingMobile?.left&&{"--padding-mobile-left":t.paddingMobile.left},"--border-width":(0,g.ws)(v("borderWidth")),"--border-radius":(0,g.ws)(v("borderRadius")),"--box-shadow":C.active&&`${C.horizontal}px ${C.vertical}px ${C.blur}px ${C.spread}px ${R()(C.color||"#FFFFFF",C.colorOpacity)}`},S="object"==typeof r&&null!==r&&r.isError||"isLoading"===r,T=(t?.className?.includes("is-style-single-column"),t?.className?.includes("is-style-inline-features"),Boolean(window.themeisleGutenberg.ratingScale)?2:1),B=(0,d.useBlockProps)({id:t.id,className:S?"is-placeholder":n()({"no-pros-cons":!(0<t.pros.length||0<t.cons.length),"no-footer":!(0<c?.links?.length||0<t.links.length)}),style:j}),M=t.mainHeading||"h2",P=t.subHeading||"h3";return"isLoading"===r?(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(ys,{attributes:t,setAttributes:o,getValue:v,productAttributes:c}),(0,k.jsx)("div",{...B,children:(0,k.jsx)(p.Placeholder,{children:(0,k.jsx)(p.Spinner,{})})})]}):"object"==typeof r&&null!==r&&r.isError?(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(ys,{attributes:t,setAttributes:o,getValue:v,productAttributes:c}),(0,k.jsx)("div",{...B,children:(0,k.jsx)(p.Placeholder,{instructions:r.message})})]}):(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(ys,{attributes:t,setAttributes:o,getValue:v,productAttributes:c}),(0,k.jsxs)("div",{...B,children:[(0,k.jsxs)("div",{className:"o-review__header",children:[c?.title?(0,k.jsx)(d.RichText.Content,{placeholder:(0,l.__)("Name of your product…","otter-blocks"),allowedFormats:[],value:c?.title,tagName:M}):(0,k.jsx)(d.RichText,{placeholder:(0,l.__)("Name of your product…","otter-blocks"),allowedFormats:[],value:t.title,onChange:e=>o({title:e}),tagName:M}),(0,k.jsxs)("div",{className:"o-review__header_meta",children:[(0,k.jsxs)("div",{className:"o-review__header_ratings",children:[(0,k.jsx)("div",{className:"o-review__header_ratings__stars",children:(0,k.jsx)(xs,{rating:Math.max(_,1)})}),(0,k.jsx)("span",{children:(0,l.sprintf)(/** translators: %1$f: Rating score, %2$f: Maximum possible score. */ /** translators: %1$f: Rating score, %2$f: Maximum possible score. */
(0,l.__)("%1$f out of %2$f","otter-blocks"),Math.max(Math.abs(_/T).toFixed(1)||0,1),10/T)})]}),(0,k.jsxs)("span",{className:"o-review__header_price",children:[(c?.price&&c?.discounted||t.price&&t.discounted)&&(0,k.jsx)("del",{children:(null!==(h=bs()(c?.currency||t.currency))&&void 0!==h?h:"$")+""+(c?.price||t.price)||0}),(t.price||t.discounted||c?.price||c?.discounted)&&(null!==(x=bs()(c?.currency||t.currency))&&void 0!==x?x:"$")+""+(c?.discounted||t.discounted?c?.discounted||t.discounted:c?.price||t.price)]})]}),(0,k.jsxs)("div",{className:n()("o-review__header_details",{"is-single":!f||!a&&!t.description,[{25:"is-quarter",50:"is-half",100:"is-full"}[t.imageWidth]]:t.imageWidth&&33!==t.imageWidth}),children:[c?.image?(0,k.jsx)("img",{src:f,alt:c?.image?.alt}):t.image&&(0,k.jsx)("img",{src:f,alt:t.image.alt}),!a&&!t.description||c?.description?(0,k.jsx)(d.RichText.Content,{placeholder:(0,l.__)("Product description or a small review…","otter-blocks"),value:c?.description,tagName:"p"}):(0,k.jsx)(d.RichText,{placeholder:(0,l.__)("Product description or a small review…","otter-blocks"),value:t.description,onChange:e=>o({description:e}),tagName:"p"})]})]}),(0,k.jsx)("div",{className:"o-review__left",children:(0,k.jsx)("div",{className:"o-review__left_features",children:0<t.features.length&&t.features.map(((e,t)=>(0,k.jsxs)("div",{className:"o-review__left_feature",children:[(0,k.jsx)(d.RichText,{placeholder:(0,l.__)("Feature title","otter-blocks"),value:e.title,className:"o-review__left_feature_title",onChange:e=>w(t,{title:e}),tagName:"span"}),(0,k.jsxs)("div",{className:"o-review__left_feature_ratings",children:[(0,k.jsx)("div",{className:"o-review__left_feature_ratings__stars",children:(0,k.jsx)(xs,{rating:Math.max(e.rating,1)})}),(0,k.jsx)("span",{className:"o-review__left_feature_num",children:(0,l.sprintf)(/** translators: %1$f: Rating score, %2$f: Maximum possible score. */ /** translators: %1$f: Rating score, %2$f: Maximum possible score. */
(0,l.__)("%1$f out of %2$f","otter-blocks"),Math.max(Math.abs(e.rating/T).toFixed(1)||0,1),10/T)})]}),(a||e.description)&&(0,k.jsx)(d.RichText,{placeholder:(0,l.__)("Feature Description…","otter-blocks"),value:e.description,className:"o-review__left_feature_description",onChange:e=>w(t,{description:e}),tagName:"span"})]},t)))})}),(0<t.pros.length||0<t.cons.length)&&(0,k.jsxs)("div",{className:"o-review__right",children:[0<t.pros.length&&(0,k.jsxs)("div",{className:"o-review__right_pros",children:[(0,k.jsx)(P,{children:t.prosLabel}),t.pros.map(((e,s)=>(0,k.jsxs)("div",{className:"o-review__right_pros_item",children:[i.check,(0,k.jsx)(d.RichText,{placeholder:(0,l.__)("Why do you like the product?","otter-blocks"),value:e,onChange:e=>((e,l)=>{const s=[...t.pros];s[e]=l,o({pros:s})})(s,e),tagName:"p"})]},s)))]}),0<t.cons.length&&(0,k.jsxs)("div",{className:"o-review__right_cons",children:[(0,k.jsx)(P,{children:t.consLabel}),t.cons.map(((e,s)=>(0,k.jsxs)("div",{className:"o-review__right_cons_item",children:[i.close,(0,k.jsx)(d.RichText,{placeholder:(0,l.__)("What can be improved?","otter-blocks"),value:e,onChange:e=>((e,l)=>{const s=[...t.cons];s[e]=l,o({cons:s})})(s,e),tagName:"p"})]},s)))]})]}),(0<c?.links?.length||0<t.links.length)&&(0,k.jsxs)("div",{className:"o-review__footer",children:[(0,k.jsx)(P,{className:"o-review__footer_label",children:t.buttonsLabel}),(0,k.jsx)("div",{className:"o-review__footer_buttons",children:(c?.links||t.links).map(((e,s)=>(0,k.jsx)(d.RichText,{placeholder:(0,l.__)("Button label","otter-blocks"),value:e.label,disabled:0<c?.links,onChange:e=>((e,l)=>{const s=[...t.links];s[e]={...s[e],...l},o({links:s})})(s,{label:e}),tagName:"span"},s)))})]})]})]})},save:()=>null,example:{attributes:{}}});var _s=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/advanced-columns","title":"Section","category":"themeisle-blocks","description":"Add a Section block that displays content in multiple columns, then add whatever content blocks you’d like. Powered by Otter.","keywords":["advanced columns","layout","section"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"columns":{"type":"number"},"layout":{"type":"string"},"layoutTablet":{"type":"string","default":"equal"},"layoutMobile":{"type":"string","default":"equal"},"padding":{"type":"object","default":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}},"paddingTablet":{"type":"object"},"paddingMobile":{"type":"object"},"margin":{"type":"object","default":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}},"marginTablet":{"type":"object"},"marginMobile":{"type":"object"},"columnsWidth":{"type":["number","string"]},"columnsWidthTablet":{"type":"string"},"columnsWidthMobile":{"type":"string"},"horizontalAlign":{"type":"string","default":"unset"},"columnsHeight":{"type":"string","default":"auto"},"columnsHeightCustom":{"type":["number","string"]},"columnsHeightCustomTablet":{"type":["number","string"]},"columnsHeightCustomMobile":{"type":["number","string"]},"verticalAlign":{"type":"string","default":"unset"},"color":{"type":"string"},"colorHover":{"type":"string"},"linkColor":{"type":"string"},"backgroundType":{"type":"string","default":"color"},"backgroundColor":{"type":"string"},"backgroundImage":{"type":"object"},"backgroundAttachment":{"type":"string","default":"scroll"},"backgroundPosition":{"type":"object"},"backgroundRepeat":{"type":"string","default":"repeat"},"backgroundSize":{"type":"string","default":"auto"},"backgroundGradient":{"type":"string","default":"linear-gradient(90deg,rgba(54,209,220,1) 0%,rgba(91,134,229,1) 100%)"},"backgroundOverlayOpacity":{"type":"number","default":50},"backgroundOverlayType":{"type":"string","default":"color"},"backgroundOverlayColor":{"type":"string"},"backgroundOverlayImage":{"type":"object"},"backgroundOverlayAttachment":{"type":"string","default":"scroll"},"backgroundOverlayPosition":{"type":"object"},"backgroundOverlayRepeat":{"type":"string","default":"repeat"},"backgroundOverlaySize":{"type":"string","default":"auto"},"backgroundOverlayGradient":{"type":"string","default":"linear-gradient(90deg,rgba(54,209,220,1) 0%,rgba(91,134,229,1) 100%)"},"backgroundOverlayFilterBlur":{"type":"number","default":0},"backgroundOverlayFilterBrightness":{"type":"number","default":10},"backgroundOverlayFilterContrast":{"type":"number","default":10},"backgroundOverlayFilterGrayscale":{"type":"number","default":0},"backgroundOverlayFilterHue":{"type":"number","default":0},"backgroundOverlayFilterSaturate":{"type":"number","default":10},"backgroundOverlayBlend":{"type":"string","default":"normal"},"border":{"type":"object"},"borderColor":{"type":"string"},"borderRadius":{"type":"object"},"boxShadow":{"type":"boolean","default":false},"boxShadowColor":{"type":"string","default":"#000000"},"boxShadowColorOpacity":{"type":"number","default":50},"boxShadowBlur":{"type":"number","default":5},"boxShadowSpread":{"type":"number","default":0},"boxShadowHorizontal":{"type":"number","default":0},"boxShadowVertical":{"type":"number","default":0},"dividerTopType":{"type":"string","default":"none"},"dividerTopColor":{"type":"string","default":"#000000"},"dividerTopWidth":{"type":"number"},"dividerTopWidthTablet":{"type":"number"},"dividerTopWidthMobile":{"type":"number"},"dividerTopHeight":{"type":"number"},"dividerTopHeightTablet":{"type":"number"},"dividerTopHeightMobile":{"type":"number"},"dividerTopInvert":{"type":"boolean","default":false},"dividerBottomType":{"type":"string","default":"none"},"dividerBottomColor":{"type":"string","default":"#000000"},"dividerBottomWidth":{"type":"number"},"dividerBottomWidthTablet":{"type":"number"},"dividerBottomWidthMobile":{"type":"number"},"dividerBottomHeight":{"type":"number"},"dividerBottomHeightTablet":{"type":"number"},"dividerBottomHeightMobile":{"type":"number"},"dividerBottomInvert":{"type":"boolean","default":false},"hide":{"type":"boolean","default":false},"hideTablet":{"type":"boolean","default":false},"hideMobile":{"type":"boolean","default":false},"reverseColumnsTablet":{"type":"boolean","default":false},"reverseColumnsMobile":{"type":"boolean","default":false},"columnsHTMLTag":{"type":"string","default":"div"},"isSynced":{"type":"array"}},"supports":{"align":["wide","full"],"html":false},"editorStyle":"otter-advanced-columns-editor","style":"otter-advanced-columns-style"}');const ws={align:{type:"string"},id:{type:"string"},columns:{type:"number"},layout:{type:"string"},layoutTablet:{type:"string",default:"equal"},layoutMobile:{type:"string",default:"equal"},columnsGap:{type:"string",default:"default"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},columnsWidth:{type:"number"},columnsHeight:{type:"string",default:"auto"},columnsHeightCustom:{type:"number"},columnsHeightCustomTablet:{type:"number"},columnsHeightCustomMobile:{type:"number"},horizontalAlign:{type:"string",default:"unset"},verticalAlign:{type:"string",default:"unset"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},backgroundOverlayOpacity:{type:"number",default:50},backgroundOverlayType:{type:"string",default:"color"},backgroundOverlayColor:{type:"string"},backgroundOverlayImageID:{type:"number"},backgroundOverlayImageURL:{type:"string"},backgroundOverlayAttachment:{type:"string",default:"scroll"},backgroundOverlayPosition:{type:"string",default:"top left"},backgroundOverlayRepeat:{type:"string",default:"repeat"},backgroundOverlaySize:{type:"string",default:"auto"},backgroundOverlayGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundOverlayGradientFirstLocation:{type:"number",default:0},backgroundOverlayGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundOverlayGradientSecondLocation:{type:"number",default:100},backgroundOverlayGradientType:{type:"string",default:"linear"},backgroundOverlayGradientAngle:{type:"number",default:90},backgroundOverlayGradientPosition:{type:"string",default:"center center"},backgroundOverlayFilterBlur:{type:"number",default:0},backgroundOverlayFilterBrightness:{type:"number",default:10},backgroundOverlayFilterContrast:{type:"number",default:10},backgroundOverlayFilterGrayscale:{type:"number",default:0},backgroundOverlayFilterHue:{type:"number",default:0},backgroundOverlayFilterSaturate:{type:"number",default:10},backgroundOverlayBlend:{type:"string",default:"normal"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},dividerTopType:{type:"string",default:"none"},dividerTopColor:{type:"string",default:"#000000"},dividerTopWidth:{type:"number",default:100},dividerTopWidthTablet:{type:"number",default:100},dividerTopWidthMobile:{type:"number",default:100},dividerTopHeight:{type:"number",default:100},dividerTopHeightTablet:{type:"number",default:100},dividerTopHeightMobile:{type:"number",default:100},dividerTopInvert:{type:"boolean",default:!1},dividerBottomType:{type:"string",default:"none"},dividerBottomColor:{type:"string",default:"#000000"},dividerBottomWidth:{type:"number",default:100},dividerBottomWidthTablet:{type:"number",default:100},dividerBottomWidthMobile:{type:"number",default:100},dividerBottomHeight:{type:"number",default:100},dividerBottomHeightTablet:{type:"number",default:100},dividerBottomHeightMobile:{type:"number",default:100},dividerBottomInvert:{type:"boolean",default:!1},hide:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1},columnsHTMLTag:{type:"string",default:"div"}},Cs=({type:e,front:t,style:o,fill:l,invert:s,width:a,height:i})=>"none"!==o&&(0,k.jsxs)("div",{className:n()("wp-block-themeisle-blocks-advanced-columns-separators",e),style:!t&&a?{transform:a?`scaleX( ${a/100} )`:""}:{},children:["bigTriangle"===o&&!1===s&&(0,k.jsx)(p.SVG,{id:"bigTriangle",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?`${i}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===e?{transform:"bottom"===e?"rotate(180deg)":""}:{},children:(0,k.jsx)(p.Path,{d:"M0 0 L50 100 L100 0 Z"})}),"bigTriangle"===o&&!0===s&&(0,k.jsx)(p.SVG,{id:"bigTriangle",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?`${i}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===e?{transform:"top"===e?"rotate(180deg)":""}:{},children:(0,k.jsx)(p.Path,{d:"M100, 0l-50, 100l-50, -100l0, 100l100, 0l0, -100Z"})}),"rightCurve"===o&&!1===s&&(0,k.jsx)(p.SVG,{id:"rightCurve",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?`${i}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===e?{transform:"top"===e?"rotate(180deg)":""}:{},children:(0,k.jsx)(p.Path,{d:"M0 100 C 20 0 50 0 100 100 Z"})}),"rightCurve"===o&&!0===s&&(0,k.jsx)(p.SVG,{id:"rightCurve",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?`${i}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===e?{transform:"top"===e?"rotate(180deg)":""}:{},children:(0,k.jsx)(p.Path,{d:"M0 100 C 50 0 70 0 100 100 Z"})}),"curve"===o&&(0,k.jsx)(p.SVG,{id:"curve",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?`${i}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===e?{transform:"top"===e?"rotate(180deg)":""}:{},children:(0,k.jsx)(p.Path,{d:"M0 100 C40 0 60 0 100 100 Z"})}),"slant"===o&&!1===s&&(0,k.jsx)(p.SVG,{id:"slant",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?`${i}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===e?{transform:"bottom"===e?"rotate(180deg)":""}:{},children:(0,k.jsx)(p.Path,{d:"M0 0 L100 100 L100 0 Z"})}),"slant"===o&&!0===s&&(0,k.jsx)(p.SVG,{id:"slant",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?`${i}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===e?{transform:"bottom"===e?"rotate(180deg)":""}:{},children:(0,k.jsx)(p.Path,{d:"M0 0 L0 100 L100 0 Z"})}),"cloud"===o&&(0,k.jsx)(p.SVG,{id:"cloud",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?`${i}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===e?{transform:"top"===e?"rotate(180deg)":""}:{},children:(0,k.jsx)(p.Path,{d:"M-5 100 Q 10 -100 15 100 Z M10 100 Q 20 -20 30 100 M25 100 Q 35 -70 45 100 M40 100 Q 50 -100 60 100 M55 100 Q 65 -20 75 100 M70 100 Q 75 -45 90 100 M85 100 Q 90 -50 95 100 M90 100 Q 95 -25 105 100 Z"})})]}),js=({type:e,front:t,style:o,fill:l,invert:s,width:a,height:i})=>"none"!==o&&(0,k.jsxs)("div",{className:n()("wp-block-themeisle-blocks-advanced-columns-separators",e),style:!t&&a?{transform:a?`scaleX( ${a/100} )`:""}:{},children:["bigTriangle"===o&&!1===s&&(0,k.jsx)(p.SVG,{id:"bigTriangle",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?`${i}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:n()({rotate:"bottom"===e}),children:(0,k.jsx)(p.Path,{d:"M0 0 L50 100 L100 0 Z"})}),"bigTriangle"===o&&!0===s&&(0,k.jsx)(p.SVG,{id:"bigTriangle",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?`${i}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:n()({rotate:"top"===e}),children:(0,k.jsx)(p.Path,{d:"M100, 0l-50, 100l-50, -100l0, 100l100, 0l0, -100Z"})}),"rightCurve"===o&&!1===s&&(0,k.jsx)(p.SVG,{id:"rightCurve",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?`${i}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:n()({rotate:"top"===e}),children:(0,k.jsx)(p.Path,{d:"M0 100 C 20 0 50 0 100 100 Z"})}),"rightCurve"===o&&!0===s&&(0,k.jsx)(p.SVG,{id:"rightCurve",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?`${i}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:n()({rotate:"top"===e}),children:(0,k.jsx)(p.Path,{d:"M0 100 C 50 0 70 0 100 100 Z"})}),"curve"===o&&(0,k.jsx)(p.SVG,{id:"curve",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?`${i}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:n()({rotate:"top"===e}),children:(0,k.jsx)(p.Path,{d:"M0 100 C40 0 60 0 100 100 Z"})}),"slant"===o&&!1===s&&(0,k.jsx)(p.SVG,{id:"slant",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?`${i}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:n()({rotate:"bottom"===e}),children:(0,k.jsx)(p.Path,{d:"M0 0 L100 100 L100 0 Z"})}),"slant"===o&&!0===s&&(0,k.jsx)(p.SVG,{id:"slant",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?`${i}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:n()({rotate:"bottom"===e}),children:(0,k.jsx)(p.Path,{d:"M0 0 L0 100 L100 0 Z"})}),"cloud"===o&&(0,k.jsx)(p.SVG,{id:"cloud",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?`${i}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:n()({rotate:"top"===e}),children:(0,k.jsx)(p.Path,{d:"M-5 100 Q 10 -100 15 100 Z M10 100 Q 20 -20 30 100 M25 100 Q 35 -70 45 100 M40 100 Q 50 -100 60 100 M55 100 Q 65 -20 75 100 M70 100 Q 75 -45 90 100 M85 100 Q 90 -50 95 100 M90 100 Q 95 -25 105 100 Z"})})]}),Ss=[{attributes:ws,supports:{align:["wide","full"],html:!1},save:({attributes:e,className:t})=>{const o=e.columnsHTMLTag;let l,s,a,i,r;if("color"===e.backgroundType&&(l={background:e.backgroundColor}),"image"===e.backgroundType&&(l={backgroundImage:`url( '${e.backgroundImageURL}' )`,backgroundAttachment:e.backgroundAttachment,backgroundPosition:e.backgroundPosition,backgroundRepeat:e.backgroundRepeat,backgroundSize:e.backgroundSize}),"gradient"===e.backgroundType){let t;t="linear"===e.backgroundGradientType?`${e.backgroundGradientAngle}deg`:`at ${e.backgroundGradientPosition}`,l={background:`${e.backgroundGradientType}-gradient( ${t}, ${e.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"} ${e.backgroundGradientFirstLocation}%, ${e.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"} ${e.backgroundGradientSecondLocation}% )`}}"linked"===e.borderType&&(a={borderWidth:`${e.border}px`,borderStyle:"solid",borderColor:e.borderColor}),"unlinked"===e.borderType&&(a={borderTopWidth:`${e.borderTop}px`,borderRightWidth:`${e.borderRight}px`,borderBottomWidth:`${e.borderBottom}px`,borderLeftWidth:`${e.borderLeft}px`,borderStyle:"solid",borderColor:e.borderColor}),"linked"===e.borderRadiusType&&(i={borderRadius:`${e.borderRadius}px`}),"unlinked"===e.borderRadiusType&&(i={borderTopLeftRadius:`${e.borderRadiusTop}px`,borderTopRightRadius:`${e.borderRadiusRight}px`,borderBottomRightRadius:`${e.borderRadiusBottom}px`,borderBottomLeftRadius:`${e.borderRadiusLeft}px`}),!0===e.boxShadow&&(r={boxShadow:`${e.boxShadowHorizontal}px ${e.boxShadowVertical}px ${e.boxShadowBlur}px ${e.boxShadowSpread}px ${R()(e.boxShadowColor?e.boxShadowColor:"#000000",e.boxShadowColorOpacity)}`});const c={...l,...a,...i,...r,justifyContent:e.horizontalAlign};if("color"===e.backgroundOverlayType&&(s={background:e.backgroundOverlayColor,opacity:e.backgroundOverlayOpacity/100}),"image"===e.backgroundOverlayType&&(s={backgroundImage:`url( '${e.backgroundOverlayImageURL}' )`,backgroundAttachment:e.backgroundOverlayAttachment,backgroundPosition:e.backgroundOverlayPosition,backgroundRepeat:e.backgroundOverlayRepeat,backgroundSize:e.backgroundOverlaySize,opacity:e.backgroundOverlayOpacity/100}),"gradient"===e.backgroundOverlayType){let t;t="linear"===e.backgroundOverlayGradientType?`${e.backgroundOverlayGradientAngle}deg`:`at ${e.backgroundOverlayGradientPosition}`,s={background:`${e.backgroundOverlayGradientType}-gradient( ${t}, ${e.backgroundOverlayGradientFirstColor||"rgba( 0, 0, 0, 0 )"} ${e.backgroundOverlayGradientFirstLocation}%, ${e.backgroundOverlayGradientSecondColor||"rgba( 0, 0, 0, 0 )"} ${e.backgroundOverlayGradientSecondLocation}% )`,opacity:e.backgroundOverlayOpacity/100}}const b={...s,mixBlendMode:e.backgroundOverlayBlend,filter:`blur( ${e.backgroundOverlayFilterBlur/10}px ) brightness( ${e.backgroundOverlayFilterBrightness/10} ) contrast( ${e.backgroundOverlayFilterContrast/10} ) grayscale( ${e.backgroundOverlayFilterGrayscale/100} ) hue-rotate( ${e.backgroundOverlayFilterHue}deg ) saturate( ${e.backgroundOverlayFilterSaturate/10} )`};let u={};e.columnsWidth&&(u={maxWidth:e.columnsWidth+"px"});const p=e.hide?"":`has-desktop-${e.layout}-layout`,h=e.hideTablet?"":`has-tablet-${e.layoutTablet}-layout`,g=e.hideMobile?"":`has-mobile-${e.layoutMobile}-layout`,m=n()(t,`has-${e.columns}-columns`,p,h,g,{"hide-in-desktop":e.hide},{"hide-in-tablet":e.hideTablet},{"hide-in-mobile":e.hideMobile},`has-${e.lcolumnsGap}-gap`,`has-vertical-${e.verticalAlign}`);return(0,k.jsxs)(o,{className:m,id:e.id,style:c,children:[(0,k.jsx)("div",{className:"wp-themeisle-block-overlay",style:b}),(0,k.jsx)(Cs,{type:"top",front:!0,style:e.dividerTopType,fill:e.dividerTopColor,invert:e.dividerTopInvert}),(0,k.jsx)("div",{className:"innerblocks-wrap",style:u,children:(0,k.jsx)(d.InnerBlocks.Content,{})}),(0,k.jsx)(Cs,{type:"bottom",front:!0,style:e.dividerBottomType,fill:e.dividerBottomColor,invert:e.dividerBottomInvert})]})}},{attributes:ws,supports:{align:["wide","full"],html:!1},save:({attributes:e,className:t})=>{const o=e.columnsHTMLTag;let l,s,a,i,r;if("color"===e.backgroundType&&(l={background:e.backgroundColor}),"image"===e.backgroundType&&(l={backgroundImage:`url( '${e.backgroundImageURL}' )`,backgroundAttachment:e.backgroundAttachment,backgroundPosition:e.backgroundPosition,backgroundRepeat:e.backgroundRepeat,backgroundSize:e.backgroundSize}),"gradient"===e.backgroundType){let t;t="linear"===e.backgroundGradientType?`${e.backgroundGradientAngle}deg`:`at ${e.backgroundGradientPosition}`,l={background:`${e.backgroundGradientType}-gradient( ${t}, ${e.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"} ${e.backgroundGradientFirstLocation}%, ${e.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"} ${e.backgroundGradientSecondLocation}% )`}}"linked"===e.borderType&&(a={borderWidth:`${e.border}px`,borderStyle:"solid",borderColor:e.borderColor}),"unlinked"===e.borderType&&(a={borderTopWidth:`${e.borderTop}px`,borderRightWidth:`${e.borderRight}px`,borderBottomWidth:`${e.borderBottom}px`,borderLeftWidth:`${e.borderLeft}px`,borderStyle:"solid",borderColor:e.borderColor}),"linked"===e.borderRadiusType&&(i={borderRadius:`${e.borderRadius}px`}),"unlinked"===e.borderRadiusType&&(i={borderTopLeftRadius:`${e.borderRadiusTop}px`,borderTopRightRadius:`${e.borderRadiusRight}px`,borderBottomRightRadius:`${e.borderRadiusBottom}px`,borderBottomLeftRadius:`${e.borderRadiusLeft}px`}),!0===e.boxShadow&&(r={boxShadow:`${e.boxShadowHorizontal}px ${e.boxShadowVertical}px ${e.boxShadowBlur}px ${e.boxShadowSpread}px ${R()(e.boxShadowColor?e.boxShadowColor:"#000000",e.boxShadowColorOpacity)}`});const c={...l,...a,...i,...r,justifyContent:e.horizontalAlign};if("color"===e.backgroundOverlayType&&(s={background:e.backgroundOverlayColor,opacity:e.backgroundOverlayOpacity/100}),"image"===e.backgroundOverlayType&&(s={backgroundImage:`url( '${e.backgroundOverlayImageURL}' )`,backgroundAttachment:e.backgroundOverlayAttachment,backgroundPosition:e.backgroundOverlayPosition,backgroundRepeat:e.backgroundOverlayRepeat,backgroundSize:e.backgroundOverlaySize,opacity:e.backgroundOverlayOpacity/100}),"gradient"===e.backgroundOverlayType){let t;t="linear"===e.backgroundOverlayGradientType?`${e.backgroundOverlayGradientAngle}deg`:`at ${e.backgroundOverlayGradientPosition}`,s={background:`${e.backgroundOverlayGradientType}-gradient( ${t}, ${e.backgroundOverlayGradientFirstColor||"rgba( 0, 0, 0, 0 )"} ${e.backgroundOverlayGradientFirstLocation}%, ${e.backgroundOverlayGradientSecondColor||"rgba( 0, 0, 0, 0 )"} ${e.backgroundOverlayGradientSecondLocation}% )`,opacity:e.backgroundOverlayOpacity/100}}const b={...s,mixBlendMode:e.backgroundOverlayBlend};let u={};e.columnsWidth&&(u={maxWidth:e.columnsWidth+"px"});const p=e.hide?"":`has-desktop-${e.layout}-layout`,h=e.hideTablet?"":`has-tablet-${e.layoutTablet}-layout`,g=e.hideMobile?"":`has-mobile-${e.layoutMobile}-layout`,m=n()(t,`has-${e.columns}-columns`,p,h,g,{"hide-in-desktop":e.hide},{"hide-in-tablet":e.hideTablet},{"hide-in-mobile":e.hideMobile},`has-${e.columnsGap}-gap`,`has-vertical-${e.verticalAlign}`);return(0,k.jsxs)(o,{className:m,id:e.id,style:c,children:[(0,k.jsx)("div",{className:"wp-themeisle-block-overlay",style:b}),(0,k.jsx)(Cs,{type:"top",front:!0,style:e.dividerTopType,fill:e.dividerTopColor,invert:e.dividerTopInvert}),(0,k.jsx)("div",{className:"innerblocks-wrap",style:u,children:(0,k.jsx)(d.InnerBlocks.Content,{})}),(0,k.jsx)(Cs,{type:"bottom",front:!0,style:e.dividerBottomType,fill:e.dividerBottomColor,invert:e.dividerBottomInvert})]})}},{attributes:{...ws,paddingTablet:{type:"number"},paddingMobile:{type:"number"},paddingTopTablet:{type:"number"},paddingTopMobile:{type:"number"},paddingRightTablet:{type:"number"},paddingRightMobile:{type:"number"},paddingBottomTablet:{type:"number"},paddingBottomMobile:{type:"number"},paddingLeftTablet:{type:"number"},paddingLeftMobile:{type:"number"},marginTablet:{type:"number"},marginMobile:{type:"number"},marginTopTablet:{type:"number"},marginTopMobile:{type:"number"},marginBottomTablet:{type:"number"},marginBottomMobile:{type:"number"},reverseColumnsTablet:{type:"boolean",default:!1},reverseColumnsMobile:{type:"boolean",default:!1}},supports:{align:["wide","full"],html:!1},save:({attributes:e,className:t})=>{const o=e.columnsHTMLTag,l=e.hide?"":`has-desktop-${e.layout}-layout`,s=e.hideTablet?"":`has-tablet-${e.layoutTablet}-layout`,a=e.hideMobile?"":`has-mobile-${e.layoutMobile}-layout`,i=n()(t,`has-${e.columns}-columns`,l,s,a,{"hide-in-desktop":e.hide},{"hide-in-tablet":e.hideTablet},{"hide-in-mobile":e.hideMobile},{"has-reverse-columns-tablet":e.reverseColumnsTablet&&!e.hideTablet&&"collapsedRows"===e.layoutTablet},{"has-reverse-columns-mobile":e.reverseColumnsMobile&&!e.hideMobile&&"collapsedRows"===e.layoutMobile},`has-${e.columnsGap}-gap`,`has-vertical-${e.verticalAlign}`);return(0,k.jsxs)(o,{className:i,id:e.id,children:[(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-advanced-columns-overlay"}),(0,k.jsx)(js,{type:"top",front:!0,style:e.dividerTopType,fill:e.dividerTopColor,invert:e.dividerTopInvert}),(0,k.jsx)("div",{className:"innerblocks-wrap",children:(0,k.jsx)(d.InnerBlocks.Content,{})}),(0,k.jsx)(js,{type:"bottom",front:!0,style:e.dividerBottomType,fill:e.dividerBottomColor,invert:e.dividerBottomInvert})]})}},{attributes:{...ws,paddingTablet:{type:"number"},paddingMobile:{type:"number"},paddingTopTablet:{type:"number"},paddingTopMobile:{type:"number"},paddingRightTablet:{type:"number"},paddingRightMobile:{type:"number"},paddingBottomTablet:{type:"number"},paddingBottomMobile:{type:"number"},paddingLeftTablet:{type:"number"},paddingLeftMobile:{type:"number"},marginTablet:{type:"number"},marginMobile:{type:"number"},marginTopTablet:{type:"number"},marginTopMobile:{type:"number"},marginBottomTablet:{type:"number"},marginBottomMobile:{type:"number"},reverseColumnsTablet:{type:"boolean",default:!1},reverseColumnsMobile:{type:"boolean",default:!1}},supports:{align:["wide","full"],html:!1},migrate:e=>{let t="",o="";if("gradient"===e.backgroundType){let o="";"linear"===e.backgroundGradientType&&(o=`${e.backgroundGradientAngle}deg, `),t=`${e.backgroundGradientType}-gradient(${o}${R()(e.backgroundGradientFirstColor)||"rgba( 0, 0, 0, 0 )"} ${e.backgroundGradientFirstLocation}%, ${R()(e.backgroundGradientSecondColor)||"rgba( 0, 0, 0, 0 )"} ${e.backgroundGradientSecondLocation}%)`}if("gradient"===e.backgroundOverlayType){let t="";"linear"===e.backgroundOverlayGradientType&&(t=`${e.backgroundOverlayGradientAngle}deg, `),o=`${e.backgroundOverlayGradientType}-gradient(${t}${R()(e.backgroundOverlayGradientFirstColor)||"rgba( 0, 0, 0, 0 )"} ${e.backgroundOverlayGradientFirstLocation}%, ${R()(e.backgroundOverlayGradientSecondColor)||"rgba( 0, 0, 0, 0 )"} ${e.backgroundOverlayGradientSecondLocation}%)`}return{...{...(0,H.omit)(e,["backgroundGradientFirstColor","backgroundGradientFirstLocation","backgroundGradientSecondColor","backgroundGradientSecondLocation","backgroundGradientType","backgroundGradientAngle","backgroundGradientPosition","backgroundOverlayGradientFirstColor","backgroundOverlayGradientFirstLocation","backgroundOverlayGradientSecondColor","backgroundOverlayGradientSecondLocation","backgroundOverlayGradientType","backgroundOverlayGradientAngle","backgroundOverlayGradientPosition"]),backgroundGradient:t,backgroundOverlayGradient:o}}},isEligible:e=>"gradient"===e.backgroundType&&void 0!==e.backgroundGradientFirstColor||"gradient"===e.backgroundOverlayType&&void 0!==e.backgroundOverlayGradientFirstColor,save:({attributes:e,className:t})=>{const o=e.columnsHTMLTag,l=e.hide?"":`has-desktop-${e.layout}-layout`,s=e.hideTablet?"":`has-tablet-${e.layoutTablet}-layout`,a=e.hideMobile?"":`has-mobile-${e.layoutMobile}-layout`,i=n()(t,`has-${e.columns}-columns`,l,s,a,{"hide-in-desktop":e.hide},{"hide-in-tablet":e.hideTablet},{"hide-in-mobile":e.hideMobile},{"has-reverse-columns-tablet":e.reverseColumnsTablet&&!e.hideTablet&&"collapsedRows"===e.layoutTablet},{"has-reverse-columns-mobile":e.reverseColumnsMobile&&!e.hideMobile&&"collapsedRows"===e.layoutMobile},`has-${e.columnsGap}-gap`,`has-vertical-${e.verticalAlign}`);return(0,k.jsxs)(o,{className:i,id:e.id,children:[(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-advanced-columns-overlay"}),(0,k.jsx)(js,{type:"top",front:!0,style:e.dividerTopType,fill:e.dividerTopColor,invert:e.dividerTopInvert}),(0,k.jsx)("div",{className:"innerblocks-wrap",children:(0,k.jsx)(d.InnerBlocks.Content,{})}),(0,k.jsx)(js,{type:"bottom",front:!0,style:e.dividerBottomType,fill:e.dividerBottomColor,invert:e.dividerBottomInvert})]})}},{attributes:{...(0,H.omit)(ws,["backgroundGradientFirstColor","backgroundGradientFirstLocation","backgroundGradientSecondColor","backgroundGradientSecondLocation","backgroundGradientType","backgroundGradientAngle","backgroundGradientPosition","backgroundOverlayGradientFirstColor","backgroundOverlayGradientFirstLocation","backgroundOverlayGradientSecondColor","backgroundOverlayGradientSecondLocation","backgroundOverlayGradientType","backgroundOverlayGradientAngle","backgroundOverlayGradientPosition"]),paddingTablet:{type:"number"},paddingMobile:{type:"number"},paddingTopTablet:{type:"number"},paddingTopMobile:{type:"number"},paddingRightTablet:{type:"number"},paddingRightMobile:{type:"number"},paddingBottomTablet:{type:"number"},paddingBottomMobile:{type:"number"},paddingLeftTablet:{type:"number"},paddingLeftMobile:{type:"number"},marginTablet:{type:"number"},marginMobile:{type:"number"},marginTopTablet:{type:"number"},marginTopMobile:{type:"number"},marginBottomTablet:{type:"number"},marginBottomMobile:{type:"number"},backgroundGradient:{type:"string",default:"linear-gradient(90deg,rgba(54,209,220,1) 0%,rgba(91,134,229,1) 100%)"},backgroundOverlayGradient:{type:"string",default:"linear-gradient(90deg,rgba(54,209,220,1) 0%,rgba(91,134,229,1) 100%)"},reverseColumnsTablet:{type:"boolean",default:!1},reverseColumnsMobile:{type:"boolean",default:!1}},supports:{align:["wide","full"],html:!1},migrate:e=>{const t={},o={},l={},s={},a={},i={},r={},n={};let c={},d={},b={},u={};"unlinked"===e.paddingType?(t.top=(0,H.isUndefined)(e.paddingTop)?"20px":e.paddingTop+"px",t.bottom=(0,H.isUndefined)(e.paddingBottom)?"20px":e.paddingBottom+"px",t.left=(0,H.isUndefined)(e.paddingLeft)?"20px":e.paddingLeft+"px",t.right=(0,H.isUndefined)(e.paddingRight)?"20px":e.paddingRight+"px"):(t.top=(0,H.isUndefined)(e.padding)?"20px":e.padding+"px",t.bottom=(0,H.isUndefined)(e.padding)?"20px":e.padding+"px",t.left=(0,H.isUndefined)(e.padding)?"20px":e.padding+"px",t.right=(0,H.isUndefined)(e.padding)?"20px":e.padding+"px"),"unlinked"===e.paddingTypeTablet?(o.top=(0,H.isUndefined)(e.paddingTopTablet)?null:e.paddingTopTablet+"px",o.bottom=(0,H.isUndefined)(e.paddingBottomTablet)?null:e.paddingBottomTablet+"px",o.left=(0,H.isUndefined)(e.paddingLeftTablet)?null:e.paddingLeftTablet+"px",o.right=(0,H.isUndefined)(e.paddingRightTablet)?null:e.paddingRightTablet+"px"):(o.top=(0,H.isUndefined)(e.paddingTablet)?null:e.paddingTablet+"px",o.bottom=(0,H.isUndefined)(e.paddingTablet)?null:e.paddingTablet+"px",o.left=(0,H.isUndefined)(e.paddingTablet)?null:e.paddingTablet+"px",o.right=(0,H.isUndefined)(e.paddingTablet)?null:e.paddingTablet+"px"),"unlinked"===e.paddingTypeMobile?(l.top=(0,H.isUndefined)(e.paddingMobileTop)?null:e.paddingMobileTop+"px",l.bottom=(0,H.isUndefined)(e.paddingMobileBottom)?null:e.paddingMobileBottom+"px",l.left=(0,H.isUndefined)(e.paddingMobileLeft)?null:e.paddingMobileLeft+"px",l.right=(0,H.isUndefined)(e.paddingMobileRight)?null:e.paddingMobileRight+"px"):(l.top=(0,H.isUndefined)(e.paddingMobile)?null:e.paddingMobile+"px",l.bottom=(0,H.isUndefined)(e.paddingMobile)?null:e.paddingMobile+"px",l.left=(0,H.isUndefined)(e.paddingMobile)?null:e.paddingMobile+"px",l.right=(0,H.isUndefined)(e.paddingMobile)?null:e.paddingMobile+"px"),"linked"===e.marginType?(s.top=(0,H.isUndefined)(e.margin)?"20px":e.margin+"px",s.bottom=(0,H.isUndefined)(e.margin)?"20px":e.margin+"px"):(s.top=(0,H.isUndefined)(e.marginTop)?"20px":e.marginTop+"px",s.bottom=(0,H.isUndefined)(e.marginBottom)?"20px":e.marginBottom+"px"),"linked"===e.marginTypeTablet?(a.top=(0,H.isUndefined)(e.marginTablet)?null:e.marginTablet+"px",a.bottom=(0,H.isUndefined)(e.marginTablet)?null:e.marginTablet+"px"):(a.top=(0,H.isUndefined)(e.marginTopTablet)?null:e.marginTopTablet+"px",a.bottom=(0,H.isUndefined)(e.marginBottomTablet)?null:e.marginBottomTablet+"px"),"linked"===e.marginTypeMobile?(i.top=(0,H.isUndefined)(e.marginMobile)?null:e.marginMobile+"px",i.bottom=(0,H.isUndefined)(e.marginMobile)?null:e.marginMobile+"px"):(i.top=(0,H.isUndefined)(e.marginTopMobile)?null:e.marginTopMobile+"px",i.bottom=(0,H.isUndefined)(e.marginBottomMobile)?null:e.marginBottomMobile+"px"),"unlinked"===e.borderType?(r.top=(0,H.isUndefined)(e.borderTop)?null:e.borderTop+"px",r.bottom=(0,H.isUndefined)(e.borderBottom)?null:e.borderBottom+"px",r.left=(0,H.isUndefined)(e.borderLeft)?null:e.borderLeft+"px",r.right=(0,H.isUndefined)(e.borderRight)?null:e.borderRight+"px"):(r.top=(0,H.isUndefined)(e.border)?null:e.border+"px",r.bottom=(0,H.isUndefined)(e.border)?null:e.border+"px",r.left=(0,H.isUndefined)(e.border)?null:e.border+"px",r.right=(0,H.isUndefined)(e.border)?null:e.border+"px"),"unlinked"===e.borderRadiusType?(n.top=(0,H.isUndefined)(e.borderRadiusTop)?null:e.borderRadiusTop+"px",n.bottom=(0,H.isUndefined)(e.borderRadiusBottom)?null:e.borderRadiusBottom+"px",n.left=(0,H.isUndefined)(e.borderRadiusLeft)?null:e.borderRadiusLeft+"px",n.right=(0,H.isUndefined)(e.borderRadiusRight)?null:e.borderRadiusRight+"px"):(n.top=(0,H.isUndefined)(e.borderRadius)?null:e.borderRadius+"px",n.bottom=(0,H.isUndefined)(e.borderRadius)?null:e.borderRadius+"px",n.left=(0,H.isUndefined)(e.borderRadius)?null:e.borderRadius+"px",n.right=(0,H.isUndefined)(e.borderRadius)?null:e.borderRadius+"px"),void 0!==e.backgroundImageURL&&void 0!==e.backgroundImageID&&(c={id:e.backgroundImageID,url:e.backgroundImageURL}),void 0!==e.backgroundOverlayImageURL&&void 0!==e.backgroundOverlayImageID&&(d={id:e.backgroundOverlayImageID,url:e.backgroundOverlayImageURL});const p={"top left":{x:"0.00",y:"0.00"},"top center":{x:"0.50",y:"0.00"},"top right":{x:"1.00",y:"0.00"},"center left":{x:"0.00",y:"0.50"},"center center":{x:"0.50",y:"0.50"},"center right":{x:"1.00",y:"0.50"},"bottom left":{x:"0.00",y:"1.00"},"bottom center":{x:"0.50",y:"1.00"},"bottom right":{x:"1.00",y:"1.00"}};return void 0!==e.backgroundPosition&&(b=p[e.backgroundPosition]),void 0!==e.backgroundOverlayPosition&&(u=p[e.backgroundOverlayPosition]),{...{...(0,H.omit)(e,["columnsGap","paddingType","paddingTypeTablet","paddingTypeMobile","paddingTop","paddingTopTablet","paddingTopMobile","paddingRight","paddingRightTablet","paddingRightMobile","paddingBottom","paddingBottomTablet","paddingBottomMobile","paddingLeft","paddingLeftTablet","paddingLeftMobile","marginType","marginTypeTablet","marginTypeMobile","marginTop","marginTopTablet","marginTopMobile","marginBottom","marginBottomTablet","marginBottomMobile","borderType","borderTop","borderRight","borderBottom","borderLeft","borderRadiusType","borderRadiusTop","borderRadiusRight","borderRadiusBottom","borderRadiusLeft"]),...!(0,g.MZ)(t)&&{padding:t},...!(0,g.MZ)(o)&&{paddingTablet:o},...!(0,g.MZ)(l)&&{paddingMobile:l},...!(0,g.MZ)(s)&&{margin:s},...!(0,g.MZ)(a)&&{marginTablet:a},...!(0,g.MZ)(i)&&{marginMobile:i},...!(0,g.MZ)(r)&&{border:r},...!(0,g.MZ)(n)&&{borderRadius:n},...!(0,g.MZ)(c)&&{backgroundImage:c},...!(0,g.MZ)(b)&&{backgroundPosition:b},...!(0,g.MZ)(d)&&{backgroundOverlayImage:d},...!(0,g.MZ)(u)&&{backgroundOverlayPosition:u}}}},isEligible:e=>["padding","paddingTablet","paddingMobile","paddingTop","paddingTopTablet","paddingTopMobile","paddingRight","paddingRightTablet","paddingRightMobile","paddingBottom","paddingBottomTablet","paddingBottomMobile","paddingLeft","paddingLeftTablet","paddingLeftMobile","margin","marginTablet","marginMobile","marginTop","marginTopTablet","marginTopMobile","marginBottom","marginBottomTablet","marginBottomMobile","borderType","border","borderTop","borderRight","borderBottom","borderLeft","borderRadiusType","borderRadius","borderRadiusTop","borderRadiusRight","borderRadiusBottom","borderRadiusLeft"].some((t=>!(0,H.isUndefined)(e[t])&&("number"==typeof e[t]||null===e[t])))||void 0!==e.backgroundImageURL&&void 0!==e.backgroundImageID||void 0!==e.backgroundOverlayImageURL&&void 0!==e.backgroundOverlayImageID||void 0!==e.backgroundPosition&&"object"!=typeof e.backgroundPosition||void 0!==e.backgroundOverlayPosition&&"object"!=typeof e.backgroundOverlayPosition||void 0!==e.columnsGap,save:({attributes:e,className:t})=>{const o=e.columnsHTMLTag,l=e.hide?"":`has-desktop-${e.layout}-layout`,s=e.hideTablet?"":`has-tablet-${e.layoutTablet}-layout`,a=e.hideMobile?"":`has-mobile-${e.layoutMobile}-layout`,i=n()(t,`has-${e.columns}-columns`,l,s,a,{"hide-in-desktop":e.hide},{"hide-in-tablet":e.hideTablet},{"hide-in-mobile":e.hideMobile},{"has-reverse-columns-tablet":e.reverseColumnsTablet&&!e.hideTablet&&"collapsedRows"===e.layoutTablet},{"has-reverse-columns-mobile":e.reverseColumnsMobile&&!e.hideMobile&&"collapsedRows"===e.layoutMobile},`has-${e.columnsGap}-gap`,`has-vertical-${e.verticalAlign}`);return(0,k.jsxs)(o,{className:i,id:e.id,children:[(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-advanced-columns-overlay"}),(0,k.jsx)(js,{type:"top",front:!0,style:e.dividerTopType,fill:e.dividerTopColor,invert:e.dividerTopInvert}),(0,k.jsx)("div",{className:"innerblocks-wrap",children:(0,k.jsx)(d.InnerBlocks.Content,{})}),(0,k.jsx)(js,{type:"bottom",front:!0,style:e.dividerBottomType,fill:e.dividerBottomColor,invert:e.dividerBottomInvert})]})}}];var Ts=Ss,Bs=o(9491),Ms={1:{equal:["100"]},2:{equal:["50","50"],oneTwo:["33.34","66.66"],twoOne:["66.66","33.34"],collapsedRows:["100","100"]},3:{equal:["33.33","33.33","33.33"],oneOneTwo:["25","25","50"],twoOneOne:["50","25","25"],oneTwoOne:["25","50","25"],oneThreeOne:["20","60","20"],collapsedRows:["100","100","100"]},4:{equal:["25","25","25","25"],twoColumnGrid:["100","100","100","100"],collapsedRows:["100","100","100","100"]},5:{equal:["20","20","20","20","20"],collapsedRows:["100","100","100","100","100"]},6:{equal:["16.66","16.66","16.66","16.66","16.66","16.66"],twoColumnGrid:["100","100","100","100","100","100"],threeColumnGrid:["100","100","100","100","100","100"],collapsedRows:["100","100","100","100","100","100"]}},Ps=({attributes:e,setAttributes:t})=>(0,k.jsx)(d.BlockControls,{children:(0,k.jsx)(d.BlockVerticalAlignmentToolbar,{onChange:o=>e.verticalAlign===o?t({verticalAlign:"unset"}):t({verticalAlign:o}),value:"flex-start"===e.verticalAlign?"top":"flex-end"===e.verticalAlign?"bottom":e.verticalAlign})}),zs=({label:e,onClick:t,layout:o,layoutTablet:s,layoutMobile:a,columns:r})=>{const c=(0,u.useSelect)((e=>{const{getView:t}=e("themeisle-gutenberg/data"),{__experimentalGetPreviewDeviceType:o}=!!e("core/edit-post")&&e("core/edit-post");return o?o():t()}),[]);let d;return"Desktop"===c?d=o:"Tablet"===c?d=s:"Mobile"===c&&(d=a),(0,k.jsx)(h.k3,{label:e,className:"wp-block-themeisle-blocks-advanced-columns-layout-control",children:1===r&&(0,k.jsx)(p.Tooltip,{text:(0,l.__)("Single Row","otter-blocks"),children:(0,k.jsx)(p.Button,{className:n()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===d}),onClick:()=>t("equal"),children:(0,i.colsFull)()})})||2===r&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.Tooltip,{text:(0,l.__)("Equal","otter-blocks"),children:(0,k.jsx)(p.Button,{className:n()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===d}),onClick:()=>t("equal"),children:(0,i.cols2Equal)()})}),(0,k.jsx)(p.Tooltip,{text:(0,l.__)("1:2","otter-blocks"),children:(0,k.jsx)(p.Button,{className:n()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneTwo"===d}),onClick:()=>t("oneTwo"),children:(0,i.cols12)()})}),(0,k.jsx)(p.Tooltip,{text:(0,l.__)("2:1","otter-blocks"),children:(0,k.jsx)(p.Button,{className:n()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoOne"===d}),onClick:()=>t("twoOne"),children:(0,i.cols21)()})}),("Mobile"===c||"Tablet"===c)&&(0,k.jsx)(p.Tooltip,{text:(0,l.__)("Collapsed Rows","otter-blocks"),children:(0,k.jsx)(p.Button,{className:n()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===d}),onClick:()=>t("collapsedRows"),children:(0,i.rowsCollapsed)()})})]})||3===r&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.Tooltip,{text:(0,l.__)("Equal","otter-blocks"),children:(0,k.jsx)(p.Button,{className:n()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===d}),onClick:()=>t("equal"),children:(0,i.cols3Equal)()})}),(0,k.jsx)(p.Tooltip,{text:(0,l.__)("1:1:2","otter-blocks"),children:(0,k.jsx)(p.Button,{className:n()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneOneTwo"===d}),onClick:()=>t("oneOneTwo"),children:(0,i.cols112)()})}),(0,k.jsx)(p.Tooltip,{text:(0,l.__)("2:1:1","otter-blocks"),children:(0,k.jsx)(p.Button,{className:n()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoOneOne"===d}),onClick:()=>t("twoOneOne"),children:(0,i.cols211)()})}),(0,k.jsx)(p.Tooltip,{text:(0,l.__)("1:2:1","otter-blocks"),children:(0,k.jsx)(p.Button,{className:n()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneTwoOne"===d}),onClick:()=>t("oneTwoOne"),children:(0,i.cols121)()})}),(0,k.jsx)(p.Tooltip,{text:(0,l.__)("1:3:1","otter-blocks"),children:(0,k.jsx)(p.Button,{className:n()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneThreeOne"===d}),onClick:()=>t("oneThreeOne"),children:(0,i.cols131)()})}),("Mobile"===c||"Tablet"===c)&&(0,k.jsx)(p.Tooltip,{text:(0,l.__)("Collapsed Rows","otter-blocks"),children:(0,k.jsx)(p.Button,{className:n()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===d}),onClick:()=>t("collapsedRows"),children:(0,i.rowsCollapsed)()})})]})||4===r&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.Tooltip,{text:(0,l.__)("Equal","otter-blocks"),children:(0,k.jsx)(p.Button,{className:n()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===d}),onClick:()=>t("equal"),children:(0,i.cols4Equal)()})}),("Mobile"===c||"Tablet"===c)&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.Tooltip,{text:(0,l.__)("Two Column Grid","otter-blocks"),children:(0,k.jsx)(p.Button,{className:n()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoColumnGrid"===d}),onClick:()=>t("twoColumnGrid"),children:(0,i.colsCollapsed)()})}),(0,k.jsx)(p.Tooltip,{text:(0,l.__)("Collapsed Rows","otter-blocks"),children:(0,k.jsx)(p.Button,{className:n()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===d}),onClick:()=>t("collapsedRows"),children:(0,i.rowsCollapsed)()})})]})]})||5===r&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.Tooltip,{text:(0,l.__)("Equal","otter-blocks"),children:(0,k.jsx)(p.Button,{className:n()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===d}),onClick:()=>t("equal"),children:(0,i.cols5Equal)()})}),("Mobile"===c||"Tablet"===c)&&(0,k.jsx)(p.Tooltip,{text:(0,l.__)("Collapsed Rows","otter-blocks"),children:(0,k.jsx)(p.Button,{className:n()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===d}),onClick:()=>t("collapsedRows"),children:(0,i.rowsCollapsed)()})})]})||6===r&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.Tooltip,{text:(0,l.__)("Equal","otter-blocks"),children:(0,k.jsx)(p.Button,{className:n()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===d}),onClick:()=>t("equal"),children:(0,i.cols6Equal)()})}),("Mobile"===c||"Tablet"===c)&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.Tooltip,{text:(0,l.__)("Two Column Grid","otter-blocks"),children:(0,k.jsx)(p.Button,{className:n()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoColumnGrid"===d}),onClick:()=>t("twoColumnGrid"),children:(0,i.cols2Grid)()})}),(0,k.jsx)(p.Tooltip,{text:(0,l.__)("Three Column Grid","otter-blocks"),children:(0,k.jsx)(p.Button,{className:n()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"threeColumnGrid"===d}),onClick:()=>t("threeColumnGrid"),children:(0,i.cols3Grid)()})}),(0,k.jsx)(p.Tooltip,{text:(0,l.__)("Collapsed Rows","otter-blocks"),children:(0,k.jsx)(p.Button,{className:n()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===d}),onClick:()=>t("collapsedRows"),children:(0,i.rowsCollapsed)()})})]})]})})},As=({attributes:e,setAttributes:t,getValue:o,updateColumnsWidth:s,dividerViewType:a,setDividerViewType:i,changeColumnsNumbers:r})=>{const n=(0,u.useSelect)((e=>{const{getView:t}=e("themeisle-gutenberg/data"),{__experimentalGetPreviewDeviceType:o}=!!e("core/edit-post")&&e("core/edit-post");return o?o():t()}),[]),{responsiveSetAttributes:c}=(0,m.d)(t),[x,f]=(0,y.useTabSwitch)(e.id,"settings"),v=()=>{switch(n){case"Desktop":return"padding";case"Tablet":return"paddingTablet";case"Mobile":return"paddingMobile";default:return}},_=()=>{switch(n){case"Desktop":return"margin";case"Tablet":return"marginTablet";case"Mobile":return"marginMobile";default:return}},w=()=>{switch(n){case"Desktop":return"columnsWidth";case"Tablet":return"columnsWidthTablet";case"Mobile":return"columnsWidthMobile";default:return}};let C=()=>{var e,t,l;switch(n){case"Desktop":return o("columnsWidth");case"Tablet":return null!==(e=o("columnsWidthTablet"))&&void 0!==e?e:o("columnsWidth");case"Mobile":return null!==(t=null!==(l=o("columnsWidthMobile"))&&void 0!==l?l:o("columnsWidthTablet"))&&void 0!==t?t:o("columnsWidth");default:return}};C=C();let j=()=>{var t,o,l;switch(n){case"Desktop":return e.columnsHeightCustom;case"Tablet":return null!==(t=e.columnsHeightCustomTablet)&&void 0!==t?t:e.columnsHeightCustom;case"Mobile":return null!==(o=null!==(l=e.columnsHeightCustomMobile)&&void 0!==l?l:e.columnsHeightCustomTablet)&&void 0!==o?o:e.columnsHeightCustom;default:return}};j=j();const S="top"===a?e.dividerTopType:"bottom"===a?e.dividerBottomType:void 0,T=(e,o)=>{switch(o){case"Desktop":t({hide:e});break;case"Tablet":t({hideTablet:e});break;case"Mobile":t({hideMobile:e})}},B=(e,o)=>{"Tablet"===o?t({reverseColumnsTablet:e}):"Mobile"===o&&t({reverseColumnsMobile:e})},M=(e,t,o,l)=>"color"===e&&t?t:"image"===e&&o?`url( ${o} )`:"gradient"===e&&l?l:void 0;return(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)(d.InspectorControls,{children:[(0,k.jsx)(h.R7,{value:x,options:[{label:(0,l.__)("Settings","otter-blocks"),value:"settings"},{label:(0,l.__)("Style","otter-blocks"),value:"style"}],onChange:f}),"settings"===x&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Columns & Layout","otter-blocks"),children:[(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Columns","otter-blocks"),value:e.columns,onChange:e=>{6>=e&&t({layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows"}),6<e&&t({layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows"}),1>=e&&t({layout:"equal",layoutTablet:"equal",layoutMobile:"equal"}),r(e)},min:1,max:6}),(0,k.jsx)(zs,{label:(0,l.__)("Layout","otter-blocks"),columns:e.columns,layout:e.layout,layoutTablet:e.layoutTablet,layoutMobile:e.layoutMobile,onClick:o=>{switch(n){case"Desktop":t({layout:o}),s(e.columns,o);break;case"Tablet":t({layoutTablet:o});break;case"Mobile":t({layoutMobile:o})}}})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Section Structure","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(h.ax,{isSynced:e.isSynced,options:[{label:(0,l.__)("Maximum Content Width","otter-blocks"),value:w()},{label:(0,l.__)("Horizontal Align","otter-blocks"),value:"horizontalAlign",isHidden:void 0===o("columnsWidth")}],setAttributes:t}),(0,k.jsx)(p.Disabled,{isDisabled:e.isSynced?.includes(w())||!1,className:"o-disabled",children:(0,k.jsxs)(h.k3,{label:(0,l.__)("Maximum Content Width","otter-blocks"),children:[(0,k.jsx)(p.__experimentalUnitControl,{value:C,onChange:e=>c(e,["columnsWidth","columnsWidthTablet","columnsWidthMobile"])}),(0,k.jsx)(h.k2,{values:["columnsWidth","columnsWidthTablet","columnsWidthMobile"],setAttributes:t})]})}),void 0!==o("columnsWidth")&&(0,k.jsx)(p.Disabled,{isDisabled:e.isSynced?.includes("horizontalAlign")||!1,className:"o-disabled",children:(0,k.jsx)(p.BaseControl,{label:(0,l.__)("Horizontal Align","otter-blocks"),children:(0,k.jsx)(h.l,{value:o("horizontalAlign"),options:[{icon:"editor-alignleft",label:(0,l.__)("Left","otter-blocks"),value:"flex-start"},{icon:"editor-aligncenter",label:(0,l.__)("Center","otter-blocks"),value:"center"},{icon:"editor-alignright",label:(0,l.__)("Right","otter-blocks"),value:"flex-end"}],onChange:o=>(o=>{if(e.horizontalAlign===o)return t({horizontalAlign:"unset"});t({horizontalAlign:o})})(o),hasIcon:!0})})}),(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Minimum Height","otter-blocks"),value:e.columnsHeight,options:[{label:(0,l.__)("Default","otter-blocks"),value:"auto"},{label:(0,l.__)("Fit to Screen","otter-blocks"),value:"100vh"},{label:(0,l.__)("Custom","otter-blocks"),value:"custom"}],onChange:e=>t({columnsHeight:e})}),"custom"===e.columnsHeight&&(0,k.jsxs)(h.k3,{label:(0,l.__)("Custom Height","otter-blocks"),children:[(0,k.jsx)(p.__experimentalUnitControl,{value:j,onChange:e=>{switch(n){case"Desktop":t({columnsHeightCustom:e});break;case"Tablet":t({columnsHeightCustomTablet:e});break;case"Mobile":t({columnsHeightCustomMobile:e})}}}),(0,k.jsx)(h.k2,{values:["columnsHeightCustom","columnsHeightCustomTablet","columnsHeightCustomMobile"],setAttributes:t})]}),(0,k.jsx)(p.SelectControl,{label:(0,l.__)("HTML Tag","otter-blocks"),value:e.columnsHTMLTag,options:[{label:(0,l.__)("Default (div)","otter-blocks"),value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"article",value:"article"},{label:"main",value:"main"}],onChange:e=>t({columnsHTMLTag:e})})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Responsive","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Hide this section on Desktop devices?","otter-blocks"),checked:e.hide,onChange:e=>T(e,"Desktop")}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Hide this section on Tablet devices?","otter-blocks"),checked:e.hideTablet,onChange:e=>T(e,"Tablet")}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Hide this section on Mobile devices?","otter-blocks"),checked:e.hideMobile,onChange:e=>T(e,"Mobile")}),(0,k.jsx)("hr",{}),!e.hideTablet&&"collapsedRows"===e.layoutTablet&&(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Reverse Columns in Tablet devices?","otter-blocks"),checked:e.reverseColumnsTablet,onChange:e=>B(e,"Tablet")}),!e.hideMobile&&"collapsedRows"===e.layoutMobile&&(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Reverse Columns in Mobile devices?","otter-blocks"),checked:e.reverseColumnsMobile,onChange:e=>B(e,"Mobile")})]}),(0,k.jsx)(h.Cu,{})]})||"style"===x&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Dimensions","otter-blocks"),children:[(0,k.jsx)(h.ax,{isSynced:e.isSynced,options:[{label:(0,l.__)("Padding","otter-blocks"),value:v()},{label:(0,l.__)("Margin","otter-blocks"),value:_()}],setAttributes:t}),(0,k.jsxs)(h.k3,{label:(0,l.__)("Screen Type","otter-blocks"),children:[(0,k.jsx)(p.Disabled,{isDisabled:e.isSynced?.includes(v())||!1,className:"o-disabled",children:(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Padding","otter-blocks"),values:(()=>{const e={..._s.attributes.padding.default};switch(n){case"Desktop":return(0,H.merge)(e,o("padding"));case"Tablet":return(0,H.merge)(e,{...o("padding")},o("paddingTablet"));case"Mobile":return(0,H.merge)(e,{...o("padding")},o("paddingTablet"),o("paddingMobile"));default:return}})(),inputProps:{min:0,max:500},onChange:o=>{switch((0,g.jW)(o)&&(o=void 0),n){case"Desktop":return t({padding:o});case"Tablet":return t({paddingTablet:(0,g.JE)(o,e.padding)});case"Mobile":return t({paddingMobile:(0,g.JE)(o,{...e.padding,...e.paddingTablet})});default:return}}})}),(0,k.jsx)(p.Disabled,{isDisabled:e.isSynced?.includes(_())||!1,className:"o-disabled",children:(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Margin","otter-blocks"),values:(()=>{const e={..._s.attributes.margin.default};switch(n){case"Desktop":return(0,H.merge)(e,o("margin"));case"Tablet":return(0,H.merge)(e,{...o("margin")},o("marginTablet"));case"Mobile":return(0,H.merge)(e,{...o("margin")},o("marginTablet"),o("marginMobile"));default:return}})(),inputProps:{min:-500,max:500},sides:["top","bottom"],onChange:o=>{switch((0,g.jW)(o)&&(o=void 0),"object"==typeof o&&(o=Object.fromEntries(Object.entries(o).filter((([e,t])=>null!==t)))),n){case"Desktop":return t({margin:o});case"Tablet":return t({marginTablet:(0,g.JE)(o,e.margin)});case"Mobile":return t({marginMobile:(0,g.JE)(o,{...e.margin,...e.marginTablet})});default:return}}})})]})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Background & Content","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(h._b,{label:(0,l.__)("Text","otter-blocks"),colorValue:e.color,onColorChange:e=>t({color:e}),className:"is-list is-first"}),(0,k.jsx)(h._b,{label:(0,l.__)("Link","otter-blocks"),colorValue:e.linkColor,onColorChange:e=>t({linkColor:e}),className:"is-list"}),(0,k.jsx)(h.JC,{label:(0,l.__)("Background","otter-blocks"),indicator:M(e.backgroundType,e.backgroundColor,e.backgroundImage?.url,e.backgroundGradient),children:(0,k.jsx)(h.zZ,{backgroundType:e.backgroundType,backgroundColor:e.backgroundColor,image:e.backgroundImage,gradient:e.backgroundGradient,focalPoint:e.backgroundPosition,backgroundAttachment:e.backgroundAttachment,backgroundRepeat:e.backgroundRepeat,backgroundSize:e.backgroundSize,changeBackgroundType:e=>t({backgroundType:e}),changeImage:e=>{t({backgroundImage:(0,H.pick)(e,["id","url"])})},removeImage:()=>t({backgroundImage:void 0}),changeColor:e=>t({backgroundColor:e}),changeGradient:e=>t({backgroundGradient:e}),changeBackgroundAttachment:e=>t({backgroundAttachment:e}),changeBackgroundRepeat:e=>t({backgroundRepeat:e}),changeFocalPoint:e=>t({backgroundPosition:e}),changeBackgroundSize:e=>t({backgroundSize:e})})}),(0,k.jsx)(h.JC,{label:(0,l.__)("Background Overlay","otter-blocks"),indicator:M(e.backgroundOverlayType,e.backgroundOverlayColor,e.backgroundOverlayImage?.url,e.backgroundOverlayGradient),children:(0,k.jsx)(h.cR,{backgroundType:e.backgroundOverlayType,backgroundColor:e.backgroundOverlayColor,image:e.backgroundOverlayImage,gradient:e.backgroundOverlayGradient,focalPoint:e.backgroundOverlayPosition,backgroundAttachment:e.backgroundOverlayAttachment,backgroundRepeat:e.backgroundOverlayRepeat,backgroundSize:e.backgroundOverlaySize,backgroundOpacity:e.backgroundOverlayOpacity,backgroundFilterBlur:e.backgroundOverlayFilterBlur,backgroundFilterBrightness:e.backgroundOverlayFilterBrightness,backgroundFilterContrast:e.backgroundOverlayFilterContrast,backgroundFilterGrayscale:e.backgroundOverlayFilterGrayscale,backgroundFilterHue:e.backgroundOverlayFilterHue,backgroundFilterSaturate:e.backgroundOverlayFilterSaturate,backgroundBlend:e.backgroundOverlayBlend,changeBackgroundType:e=>t({backgroundOverlayType:e}),changeImage:e=>{t({backgroundOverlayImage:(0,H.pick)(e,["id","url"])})},removeImage:()=>t({backgroundOverlayImage:void 0}),changeColor:e=>t({backgroundOverlayColor:e}),changeGradient:e=>t({backgroundOverlayGradient:e}),changeBackgroundAttachment:e=>t({backgroundOverlayAttachment:e}),changeBackgroundRepeat:e=>t({backgroundOverlayRepeat:e}),changeFocalPoint:e=>t({backgroundOverlayPosition:e}),changeBackgroundSize:e=>t({backgroundOverlaySize:e}),changeOpacity:e=>t({backgroundOverlayOpacity:e}),changeFilterBlur:e=>t({backgroundOverlayFilterBlur:e}),changeFilterBrightness:e=>t({backgroundOverlayFilterBrightness:e}),changeFilterContrast:e=>t({backgroundOverlayFilterContrast:e}),changeFilterGrayscale:e=>t({backgroundOverlayFilterGrayscale:e}),changeFilterHue:e=>t({backgroundOverlayFilterHue:e}),changeFilterSaturate:e=>t({backgroundOverlayFilterSaturate:e}),changeBlend:e=>t({backgroundOverlayBlend:e})})}),(0,k.jsx)(h._b,{label:(0,l.__)("Text Hover","otter-blocks"),colorValue:e.colorHover,onColorChange:e=>t({colorHover:e}),className:"is-list"})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Border","otter-blocks"),className:"o-section-border-container",initialOpen:!1,children:[(0,k.jsx)(h._b,{label:(0,l.__)("Border Color","otter-blocks"),colorValue:e.borderColor,onColorChange:e=>t({borderColor:e})}),(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Border Width","otter-blocks"),values:e.border,inputProps:{min:0,max:500},units:[{value:"px",label:"px"}],onChange:e=>{(0,g.jW)(e)&&(e=void 0),t({border:e})}}),(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Border Radius","otter-blocks"),values:e.borderRadius,inputProps:{min:0,max:500},units:[{value:"px",label:"px"},{value:"%",label:"%"}],id:"o-border-raduis-box",onChange:e=>{(0,g.jW)(e)&&(e=void 0),t({borderRadius:e})}}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Box Shadow","otter-blocks"),checked:e.boxShadow,onChange:()=>t({boxShadow:!e.boxShadow})}),e.boxShadow&&(0,k.jsxs)(h.HZ,{label:(0,l.__)("Border Shadow","otter-blocks"),children:[(0,k.jsx)(d.__experimentalColorGradientControl,{label:(0,l.__)("Shadow Color","otter-blocks"),colorValue:e.boxShadowColor,onColorChange:o=>t({boxShadowColor:100>e.boxShadowColorOpacity&&o?.includes("var(")?getComputedStyle(document.documentElement,null).getPropertyValue(o?.replace("var(","")?.replace(")","")):o})}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Opacity","otter-blocks"),value:e.boxShadowColorOpacity,onChange:o=>{const l={boxShadowColorOpacity:o};100>o&&e.boxShadowColor?.includes("var(")&&(l.boxShadowColor=getComputedStyle(document.documentElement,null).getPropertyValue(e.boxShadowColor.replace("var(","").replace(")",""))),t(l)},min:0,max:100}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Blur","otter-blocks"),value:e.boxShadowBlur,onChange:e=>t({boxShadowBlur:e}),min:0,max:100}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Spread","otter-blocks"),value:e.boxShadowSpread,onChange:e=>t({boxShadowSpread:e}),min:-100,max:100}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Horizontal","otter-blocks"),value:e.boxShadowHorizontal,onChange:e=>t({boxShadowHorizontal:e}),min:-100,max:100}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Vertical","otter-blocks"),value:e.boxShadowVertical,onChange:e=>t({boxShadowVertical:e}),min:-100,max:100})]})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Shape Divider","otter-blocks"),initialOpen:!1,className:"wp-block-themeisle-shape-divider",children:[(0,k.jsx)(h.Aw,{label:(0,l.__)("Sides","otter-blocks"),options:[{label:(0,l.__)("Top","otter-blocks"),value:"top"},{label:(0,l.__)("Bottom","otter-blocks"),value:"bottom"}],value:a,onChange:i}),(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Type","otter-blocks"),value:S,options:[{label:(0,l.__)("None","otter-blocks"),value:"none"},{label:(0,l.__)("Triangle","otter-blocks"),value:"bigTriangle"},{label:(0,l.__)("Right Curve","otter-blocks"),value:"rightCurve"},{label:(0,l.__)("Curve","otter-blocks"),value:"curve"},{label:(0,l.__)("Slant","otter-blocks"),value:"slant"},{label:(0,l.__)("Cloud","otter-blocks"),value:"cloud"}],onChange:e=>{"top"===a?t({dividerTopType:e}):"bottom"===a&&t({dividerBottomType:e})}}),"none"!==S&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(h._b,{label:(0,l.__)("Color","otter-blocks"),colorValue:"top"===a?e.dividerTopColor:"bottom"===a?e.dividerBottomColor:void 0,onColorChange:e=>{"top"===a?t({dividerTopColor:e}):"bottom"===a&&t({dividerBottomColor:e})}}),(0,k.jsx)(h.k3,{label:(0,l.__)("Width","otter-blocks"),children:(0,k.jsx)(p.RangeControl,{value:(()=>{var t,o,l,s,i,r,c,d,b,u,p,h;if("top"===a)switch(n){case"Desktop":return null!==(t=e.dividerTopWidth)&&void 0!==t?t:100;case"Tablet":return null!==(o=null!==(l=e.dividerTopWidthTablet)&&void 0!==l?l:e.dividerTopWidth)&&void 0!==o?o:100;case"Mobile":return null!==(s=null!==(i=null!==(r=e.dividerTopWidthMobile)&&void 0!==r?r:e.dividerTopWidthTablet)&&void 0!==i?i:e.dividerTopWidth)&&void 0!==s?s:100}else if("bottom"===a)switch(n){case"Desktop":return null!==(c=e.dividerBottomWidth)&&void 0!==c?c:100;case"Tablet":return null!==(d=null!==(b=e.dividerBottomWidthTablet)&&void 0!==b?b:e.dividerBottomWidth)&&void 0!==d?d:100;case"Mobile":return null!==(u=null!==(p=null!==(h=e.dividerBottomWidthMobile)&&void 0!==h?h:e.dividerBottomWidthTablet)&&void 0!==p?p:e.dividerBottomWidth)&&void 0!==u?u:100}})(),onChange:e=>{if("top"===a)switch(n){case"Desktop":t({dividerTopWidth:e});break;case"Tablet":t({dividerTopWidthTablet:e});break;case"Mobile":t({dividerTopWidthMobile:e})}else if("bottom"===a)switch(n){case"Desktop":t({dividerBottomWidth:e});break;case"Tablet":t({dividerBottomWidthTablet:e});break;case"Mobile":t({dividerBottomWidthMobile:e})}},step:.1,min:0,max:500})}),(0,k.jsx)(h.k3,{label:(0,l.__)("Height","otter-blocks"),children:(0,k.jsx)(p.RangeControl,{value:(()=>{if("top"===a)switch(n){case"Desktop":return e.dividerTopHeight;case"Tablet":return e.dividerTopHeightTablet;case"Mobile":return e.dividerTopHeightMobile}else if("bottom"===a)switch(n){case"Desktop":return e.dividerBottomHeight;case"Tablet":return e.dividerBottomHeightTablet;case"Mobile":return e.dividerBottomHeightMobile}})(),onChange:e=>{if("top"===a)switch(n){case"Desktop":t({dividerTopHeight:e});break;case"Tablet":t({dividerTopHeightTablet:e});break;case"Mobile":t({dividerTopHeightMobile:e})}else if("bottom"===a)switch(n){case"Desktop":t({dividerBottomHeight:e});break;case"Tablet":t({dividerBottomHeightTablet:e});break;case"Mobile":t({dividerBottomHeightMobile:e})}},step:.1,min:0,max:500})}),"curve"!==S&&"cloud"!==S&&(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Invert Shape Divider","otter-blocks"),checked:(()=>{switch(a){case"top":return e.dividerTopInvert;case"bottom":return e.dividerBottomInvert;default:return}})(),onChange:()=>{switch(a){case"top":t({dividerTopInvert:!e.dividerTopInvert});break;case"bottom":t({dividerBottomInvert:!e.dividerBottomInvert})}}})]})]})]})]}),(0,k.jsx)(h.ux,{value:e.id,onChange:e=>t({id:e})})]})},Fs=({type:e,front:t,style:o,fill:l,invert:s,width:a,height:i})=>"none"!==o&&(0,k.jsxs)("div",{className:n()("wp-block-themeisle-blocks-advanced-columns-separators",e),style:!t&&a?{transform:a?`scaleX( ${a/100} )`:""}:{},children:["bigTriangle"===o&&!1===s&&(0,k.jsx)("svg",{id:"bigTriangle",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?`${i}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:n()({rotate:"bottom"===e}),children:(0,k.jsx)("path",{d:"M0 0 L50 100 L100 0 Z"})}),"bigTriangle"===o&&!0===s&&(0,k.jsx)("svg",{id:"bigTriangle",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?`${i}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:n()({rotate:"top"===e}),children:(0,k.jsx)("path",{d:"M100, 0l-50, 100l-50, -100l0, 100l100, 0l0, -100Z"})}),"rightCurve"===o&&!1===s&&(0,k.jsx)("svg",{id:"rightCurve",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?`${i}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:n()({rotate:"top"===e}),children:(0,k.jsx)("path",{d:"M0 100 C 20 0 50 0 100 100 Z"})}),"rightCurve"===o&&!0===s&&(0,k.jsx)("svg",{id:"rightCurve",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?`${i}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:n()({rotate:"top"===e}),children:(0,k.jsx)("path",{d:"M0 100 C 50 0 70 0 100 100 Z"})}),"curve"===o&&(0,k.jsx)("svg",{id:"curve",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?`${i}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:n()({rotate:"top"===e}),children:(0,k.jsx)("path",{d:"M0 100 C40 0 60 0 100 100 Z"})}),"slant"===o&&!1===s&&(0,k.jsx)("svg",{id:"slant",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?`${i}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:n()({rotate:"bottom"===e}),children:(0,k.jsx)("path",{d:"M0 0 L100 100 L100 0 Z"})}),"slant"===o&&!0===s&&(0,k.jsx)("svg",{id:"slant",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?`${i}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:n()({rotate:"bottom"===e}),children:(0,k.jsx)("path",{d:"M0 0 L0 100 L100 0 Z"})}),"cloud"===o&&(0,k.jsx)("svg",{id:"cloud",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?`${i}px`:"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:n()({rotate:"top"===e}),children:(0,k.jsx)("path",{d:"M-5 100 Q 10 -100 15 100 Z M10 100 Q 20 -20 30 100 M25 100 Q 35 -70 45 100 M40 100 Q 50 -100 60 100 M55 100 Q 65 -20 75 100 M70 100 Q 75 -45 90 100 M85 100 Q 90 -50 95 100 M90 100 Q 95 -25 105 100 Z"})})]});const{attributes:Ls}=_s;var Rs=[{name:"themeisle-blocks/section-columns-1",description:(0,l.__)("Single column","otter-blocks"),icon:i.colsFull,title:(0,l.__)("Full","otter-blocks"),attributes:{columns:1,layout:"equal",layoutTablet:"equal",layoutMobile:"equal"},innerBlocks:[["themeisle-blocks/advanced-column",{columnWidth:"100"}]],scope:["block"]},{name:"themeisle-blocks/section-columns-equal",description:(0,l.__)("2 equal columns","otter-blocks"),icon:i.cols2Equal,title:(0,l.__)("1:1","otter-blocks"),attributes:{columns:2,layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows"},innerBlocks:[["themeisle-blocks/advanced-column",{columnWidth:"50"}],["themeisle-blocks/advanced-column",{columnWidth:"50"}]],scope:["block"]},{name:"themeisle-blocks/section-columns-1-2",description:(0,l.__)("1:2 columns","otter-blocks"),icon:i.cols12,title:(0,l.__)("1:2","otter-blocks"),attributes:{columns:2,layout:"oneTwo",layoutTablet:"equal",layoutMobile:"collapsedRows"},innerBlocks:[["themeisle-blocks/advanced-column",{columnWidth:"33.34"}],["themeisle-blocks/advanced-column",{columnWidth:"66.66"}]],scope:["block"]},{name:"themeisle-blocks/section-columns-2-1",description:(0,l.__)("2:1 columns","otter-blocks"),icon:i.cols21,title:(0,l.__)("2:1","otter-blocks"),attributes:{columns:2,layout:"twoOne",layoutTablet:"equal",layoutMobile:"collapsedRows"},innerBlocks:[["themeisle-blocks/advanced-column",{columnWidth:"66.66"}],["themeisle-blocks/advanced-column",{columnWidth:"33.33"}]],scope:["block"]},{name:"themeisle-blocks/section-columns-equal-3",description:(0,l.__)("3 equal columns","otter-blocks"),icon:i.cols3Equal,title:(0,l.__)("1:1:1","otter-blocks"),attributes:{columns:3,layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows"},innerBlocks:[["themeisle-blocks/advanced-column",{columnWidth:"33.33"}],["themeisle-blocks/advanced-column",{columnWidth:"33.33"}],["themeisle-blocks/advanced-column",{columnWidth:"33.33"}]],scope:["block"]},{name:"themeisle-blocks/section-columns-1-1-2",description:(0,l.__)("1:1:2 columns","otter-blocks"),icon:i.cols112,title:(0,l.__)("1:1:2","otter-blocks"),attributes:{columns:3,layout:"oneOneTwo",layoutTablet:"equal",layoutMobile:"collapsedRows"},innerBlocks:[["themeisle-blocks/advanced-column",{columnWidth:"25"}],["themeisle-blocks/advanced-column",{columnWidth:"25"}],["themeisle-blocks/advanced-column",{columnWidth:"50"}]],scope:["block"]},{name:"themeisle-blocks/section-columns-2-1-1",description:(0,l.__)("2:1:1 columns","otter-blocks"),icon:i.cols211,title:(0,l.__)("2:1:1","otter-blocks"),attributes:{columns:3,layout:"twoOneOne",layoutTablet:"equal",layoutMobile:"collapsedRows"},innerBlocks:[["themeisle-blocks/advanced-column",{columnWidth:"50"}],["themeisle-blocks/advanced-column",{columnWidth:"25"}],["themeisle-blocks/advanced-column",{columnWidth:"25"}]],scope:["block"]},{name:"themeisle-blocks/section-columns-equal-4",description:(0,l.__)("4 equal columns","otter-blocks"),icon:i.cols4Equal,title:(0,l.__)("1:1:1:1","otter-blocks"),attributes:{columns:4,layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows"},innerBlocks:[["themeisle-blocks/advanced-column",{columnWidth:"25"}],["themeisle-blocks/advanced-column",{columnWidth:"25"}],["themeisle-blocks/advanced-column",{columnWidth:"25"}],["themeisle-blocks/advanced-column",{columnWidth:"25"}]],scope:["block"]}];const{name:Ns}=_s;(0,s.registerBlockType)(Ns,{..._s,title:(0,l.__)("Section","otter-blocks"),description:(0,l.__)("Add a Section block that displays content in multiple columns, then add whatever content blocks you’d like. Powered by Otter.","otter-blocks"),icon:i.columnsIcon,keywords:["advanced columns","layout","section"],deprecated:Ts,variations:Rs,edit:({attributes:e,setAttributes:t,clientId:o,name:a})=>{(0,b.useEffect)((()=>{const t=(0,y.blockInit)(o,Ls);return()=>t(e.id)}),[e.id]);const{updateBlockAttributes:r,replaceInnerBlocks:c}=(0,u.useDispatch)("core/block-editor"),{sectionBlock:p,isViewportAvailable:h,isPreviewDesktop:x,isPreviewTablet:f,isPreviewMobile:v,children:_,variations:w,defaultVariation:C}=(0,u.useSelect)((e=>{const{getBlock:t}=e("core/block-editor"),{getBlockVariations:l,getBlockType:s,getDefaultBlockVariation:i}=e("core/blocks"),{__experimentalGetPreviewDeviceType:r}=!!e("core/edit-post")&&e("core/edit-post");return{sectionBlock:t(o),children:t(o)?.innerBlocks||[],isViewportAvailable:!!r,isPreviewDesktop:!!r&&"Desktop"===r(),isPreviewTablet:!!r&&"Tablet"===r(),isPreviewMobile:!!r&&"Mobile"===r(),blockType:s(a),defaultVariation:i(a,"block"),variations:l(a,"block").filter((({isDefault:e})=>!e))}}),[]),{insertBlock:j,removeBlock:S}=(0,u.useDispatch)("core/block-editor"),T=t=>{e.columns<t?(0,H.times)(t-e.columns,(()=>{const e=(0,s.createBlock)("themeisle-blocks/advanced-column");e&&j(e,_?.length||0,o,!1)})):e.columns>t&&_.slice(t).forEach((e=>S(e.clientId,!1)))},B=(e,t)=>{p.innerBlocks.forEach(((o,l)=>{r(o.clientId,{columnWidth:Ms[e][t][l]})}))};(0,b.useEffect)((()=>{e.columns!==_.length&&(6>=_.length?B(_.length,"equal"):6<_.length?B(6,"equal"):1>=_.length&&B(1,"equal"),t({columns:_.length}))}),[_]),(0,b.useEffect)((()=>{6<e.columns&&(t({columns:6}),T(6))}),[e.columns]),(0,m.g)("color"===e.backgroundType&&e.backgroundColor,e,t);const M=t=>(0,y.getDefaultValueByField)({name:a,field:t,defaultAttributes:Ls,attributes:e}),P=(0,Bs.useViewportMatch)("large",">="),z=(0,Bs.useViewportMatch)("large","<="),A=(0,Bs.useViewportMatch)("small",">="),F=(0,Bs.useViewportMatch)("small","<=");let L=P&&!z&&A&&!F,N=!P&&!z&&A&&!F,I=!(P||z||A||F);h&&!I&&(L=x,N=f,I=v);const[O,V]=(0,b.useState)("top"),D=({mobile:e,tablet:t,desktop:o})=>{var l,s;return null!==(l=null!==(s=I&&e||N&&t||o)&&void 0!==s?s:o)&&void 0!==l?l:100},G=D({mobile:e.dividerTopWidthMobile,tablet:e.dividerTopWidthTablet,desktop:e.dividerTopWidth}),E=D({mobile:e.dividerBottomWidthMobile,tablet:e.dividerBottomWidthTablet,desktop:e.dividerBottomWidth}),$=D({mobile:e.dividerTopHeightMobile,tablet:e.dividerTopHeightTablet,desktop:e.dividerTopHeight}),W=D({mobile:e.dividerBottomHeightMobile,tablet:e.dividerBottomHeightTablet,desktop:e.dividerBottomHeight}),U=e.columnsHTMLTag;let q,Z,J,K,Y,Q={paddingTop:M("padding")&&M("padding").top,paddingRight:M("padding")&&M("padding").right,paddingBottom:M("padding")&&M("padding").bottom,paddingLeft:M("padding")&&M("padding").left,marginTop:M("margin")&&M("margin").top,marginBottom:M("margin")&&M("margin").bottom,minHeight:"custom"===e.columnsHeight?(0,g.ws)(e.columnsHeightCustom):e.columnsHeight};if(N||I){const t=(0,H.pickBy)({paddingTop:M("paddingTablet")?.top,paddingRight:M("paddingTablet")?.right,paddingBottom:M("paddingTablet")?.bottom,paddingLeft:M("paddingTablet")?.left,marginTop:M("marginTablet")?.top,marginBottom:M("marginTablet")?.bottom,minHeight:"custom"===e.columnsHeight?(0,g.ws)(e.columnsHeightCustomTablet):e.columnsHeight},(e=>e));Q=(0,H.merge)(Q,t)}if(I){const t=(0,H.pickBy)({paddingTop:M("paddingMobile")?.top,paddingRight:M("paddingMobile")?.right,paddingBottom:M("paddingMobile")?.bottom,paddingLeft:M("paddingMobile")?.left,marginTop:M("marginMobile")?.top,marginBottom:M("marginMobile")?.bottom,minHeight:"custom"===e.columnsHeight?(0,g.ws)(e.columnsHeightCustomMobile):e.columnsHeight},(e=>e));Q=(0,H.merge)(Q,t)}"color"===e.backgroundType&&(q={backgroundColor:e.backgroundColor}),"image"===e.backgroundType&&(q={backgroundImage:`url( '${e.backgroundImage?.url}' )`,backgroundAttachment:e.backgroundAttachment,backgroundPosition:`${Math.round(100*e.backgroundPosition?.x)}% ${Math.round(100*e.backgroundPosition?.y)}%`,backgroundRepeat:e.backgroundRepeat,backgroundSize:e.backgroundSize}),"gradient"===e.backgroundType&&(q={backgroundImage:e.backgroundGradient}),e.border&&!(0,H.isEmpty)(e.border)&&(J={borderTopWidth:e.border.top,borderRightWidth:e.border.right,borderBottomWidth:e.border.bottom,borderLeftWidth:e.border.left,borderStyle:"solid",borderColor:e.borderColor}),e.borderRadius&&!(0,H.isEmpty)(e.borderRadius)&&(K={borderTopLeftRadius:e.borderRadius.top,borderTopRightRadius:e.borderRadius.right,borderBottomRightRadius:e.borderRadius.bottom,borderBottomLeftRadius:e.borderRadius.left}),!0===e.boxShadow&&(Y={boxShadow:`${e.boxShadowHorizontal}px ${e.boxShadowVertical}px ${e.boxShadowBlur}px ${e.boxShadowSpread}px ${!e.boxShadowColor.includes("var(")||void 0!==e.boxShadowColorOpacity&&100!==e.boxShadowColorOpacity?R()(e.boxShadowColor?e.boxShadowColor:"#000000",e.boxShadowColorOpacity):e.boxShadowColor}`});const X={...Q,...q,...J,...K,...Y,"--link-color":e.linkColor};"color"===e.backgroundOverlayType&&(Z={background:e.backgroundOverlayColor,opacity:e.backgroundOverlayOpacity/100}),"image"===e.backgroundOverlayType&&(Z={backgroundImage:`url( '${e.backgroundOverlayImage?.url}' )`,backgroundAttachment:e.backgroundOverlayAttachment,backgroundPosition:`${Math.round(100*e.backgroundOverlayPosition?.x)}% ${Math.round(100*e.backgroundOverlayPosition?.y)}%`,backgroundRepeat:e.backgroundOverlayRepeat,backgroundSize:e.backgroundOverlaySize,opacity:e.backgroundOverlayOpacity/100}),"gradient"===e.backgroundOverlayType&&(Z={background:e.backgroundOverlayGradient,opacity:e.backgroundOverlayOpacity/100});const ee={...Z,...K,mixBlendMode:e.backgroundOverlayBlend,filter:`blur( ${e.backgroundOverlayFilterBlur/10}px ) brightness( ${e.backgroundOverlayFilterBrightness/10} ) contrast( ${e.backgroundOverlayFilterContrast/10} ) grayscale( ${e.backgroundOverlayFilterGrayscale/100} ) hue-rotate( ${e.backgroundOverlayFilterHue}deg ) saturate( ${e.backgroundOverlayFilterSaturate/10} )`};let te={};e.columnsWidth&&(te={maxWidth:(0,g.ws)(M("columnsWidth"))}),(N||I)&&M("columnsWidthTablet")&&(te.maxWidth=(0,g.ws)(M("columnsWidthTablet"))),I&&M("columnsWidthMobile")&&(te.maxWidth=(0,g.ws)(M("columnsWidthMobile")));const oe=n()(`has-${e.columns}-columns`,`has-desktop-${e.layout}-layout`,`has-tablet-${e.layoutTablet}-layout`,`has-mobile-${e.layoutMobile}-layout`,`has-vertical-${e.verticalAlign}`,`has-horizontal-${e.horizontalAlign}`,{"has-reverse-columns-tablet":e.reverseColumnsTablet&&!e.hideTablet&&"collapsedRows"===e.layoutTablet},{"has-reverse-columns-mobile":e.reverseColumnsMobile&&!e.hideMobile&&"collapsedRows"===e.layoutMobile},{"has-viewport-desktop":L},{"has-viewport-tablet":N},{"has-viewport-mobile":I}),le=e.columns?(0,d.useBlockProps)({id:e.id,className:oe,style:X}):(0,d.useBlockProps)();return e.columns?(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)("style",{children:[`#block-${o} `+(0,g.SJ)([["--text-color",e.color]]),`#block-${o}:hover `+(0,g.SJ)([["--text-color",e.colorHover]])]}),(0,k.jsx)(Ps,{attributes:e,setAttributes:t}),(0,k.jsx)(As,{attributes:e,setAttributes:t,getValue:M,updateColumnsWidth:B,dividerViewType:O,setDividerViewType:V,changeColumnsNumbers:T}),(0,k.jsxs)(U,{...le,children:[(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-advanced-columns-overlay",style:ee}),(0,k.jsx)(Fs,{type:"top",style:e.dividerTopType,fill:e.dividerTopColor,invert:e.dividerTopInvert,width:G,height:$}),(0,k.jsx)("div",{className:"innerblocks-wrap",style:te,children:(0,k.jsx)(d.InnerBlocks,{allowedBlocks:["themeisle-blocks/advanced-column"],orientation:"horizontal"})}),(0,k.jsx)(Fs,{type:"bottom",style:e.dividerBottomType,fill:e.dividerBottomColor,invert:e.dividerBottomInvert,width:E,height:W})]})]}):(0,k.jsx)("div",{...le,children:(0,k.jsx)(d.__experimentalBlockVariationPicker,{label:(0,l.__)("Section","otter-blocks"),instructions:(0,l.__)("Select a layout to start with, or make one yourself.","otter-blocks"),icon:i.columnsIcon,variations:w,onSelect:(e=C)=>{e&&(c(o,(0,s.createBlocksFromInnerBlocksTemplate)(e.innerBlocks),!0),t(e.attributes))},allowSkip:!0})})},save:({attributes:e})=>{const t=e.columnsHTMLTag,o=e.hide?"":`has-desktop-${e.layout}-layout`,l=e.hideTablet?"":`has-tablet-${e.layoutTablet}-layout`,s=e.hideMobile?"":`has-mobile-${e.layoutMobile}-layout`,a=n()(`has-${e.columns}-columns`,o,l,s,{"hide-in-desktop":e.hide},{"hide-in-tablet":e.hideTablet},{"hide-in-mobile":e.hideMobile},{"has-reverse-columns-tablet":e.reverseColumnsTablet&&!e.hideTablet&&"collapsedRows"===e.layoutTablet},{"has-reverse-columns-mobile":e.reverseColumnsMobile&&!e.hideMobile&&"collapsedRows"===e.layoutMobile},`has-vertical-${e.verticalAlign}`),i=d.useBlockProps.save({id:e.id,className:a});return(0,k.jsxs)(t,{...i,children:[(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-advanced-columns-overlay"}),(0,k.jsx)(Fs,{type:"top",front:!0,style:e.dividerTopType,fill:e.dividerTopColor,invert:e.dividerTopInvert}),(0,k.jsx)("div",{className:"innerblocks-wrap",children:(0,k.jsx)(d.InnerBlocks.Content,{})}),(0,k.jsx)(Fs,{type:"bottom",front:!0,style:e.dividerBottomType,fill:e.dividerBottomColor,invert:e.dividerBottomInvert})]})},example:{viewportWidth:1e3,attributes:{},innerBlocks:[{name:"themeisle-blocks/advanced-column",attributes:{margin:{right:"10px"}},innerBlocks:[{name:"core/paragraph",attributes:{content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis."}},{name:"core/image",attributes:{url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"}},{name:"core/paragraph",attributes:{content:"Suspendisse commodo neque lacus, a dictum orci interdum et."}}]},{name:"themeisle-blocks/advanced-column",attributes:{margin:{left:"10px"}},innerBlocks:[{name:"core/paragraph",attributes:{content:"Etiam et egestas lorem. Vivamus sagittis sit amet dolor quis lobortis. Integer sed fermentum arcu, id vulputate lacus. Etiam fermentum sem eu quam hendrerit."}},{name:"core/paragraph",attributes:{content:"Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim."}}]}]}});var Is=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/advanced-column","title":"Section Column","category":"themeisle-blocks","description":"A single column within a Section block. Powered by Otter.","parent":["themeisle-blocks/advanced-columns"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"padding":{"type":"object","default":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}},"paddingTablet":{"type":"object"},"paddingMobile":{"type":"object"},"margin":{"type":"object","default":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}},"marginTablet":{"type":"object"},"marginMobile":{"type":"object"},"color":{"type":"string"},"colorHover":{"type":"string"},"linkColor":{"type":"string"},"backgroundType":{"type":"string","default":"color"},"backgroundColor":{"type":"string"},"backgroundImage":{"type":"object"},"backgroundAttachment":{"type":"string","default":"scroll"},"backgroundPosition":{"type":"object"},"backgroundRepeat":{"type":"string","default":"repeat"},"backgroundSize":{"type":"string","default":"auto"},"backgroundGradient":{"type":"string","default":"linear-gradient(90deg,rgba(54,209,220,1) 0%,rgba(91,134,229,1) 100%)"},"backgroundOverlayOpacity":{"type":"number","default":50},"backgroundOverlayType":{"type":"string","default":"color"},"backgroundOverlayColor":{"type":"string"},"backgroundOverlayImage":{"type":"object"},"backgroundOverlayAttachment":{"type":"string","default":"scroll"},"backgroundOverlayPosition":{"type":"object"},"backgroundOverlayRepeat":{"type":"string","default":"repeat"},"backgroundOverlaySize":{"type":"string","default":"auto"},"backgroundOverlayGradient":{"type":"string","default":"linear-gradient(90deg,rgba(54,209,220,1) 0%,rgba(91,134,229,1) 100%)"},"backgroundOverlayFilterBlur":{"type":"number","default":0},"backgroundOverlayFilterBrightness":{"type":"number","default":10},"backgroundOverlayFilterContrast":{"type":"number","default":10},"backgroundOverlayFilterGrayscale":{"type":"number","default":0},"backgroundOverlayFilterHue":{"type":"number","default":0},"backgroundOverlayFilterSaturate":{"type":"number","default":10},"backgroundOverlayBlend":{"type":"string","default":"normal"},"backgroundColorHover":{"type":"string"},"border":{"type":"object"},"borderColor":{"type":"string"},"borderRadius":{"type":"object"},"boxShadow":{"type":"boolean","default":false},"boxShadowColor":{"type":"string","default":"#000000"},"boxShadowColorOpacity":{"type":"number","default":50},"boxShadowBlur":{"type":"number","default":5},"boxShadowSpread":{"type":"number","default":0},"boxShadowHorizontal":{"type":"number","default":0},"boxShadowVertical":{"type":"number","default":0},"columnsHTMLTag":{"type":"string","default":"div"},"columnWidth":{"type":"string"},"verticalAlign":{"type":"string"},"isSynced":{"type":"array"}},"supports":{"inserter":false,"html":false},"editorStyle":"otter-advanced-columns-editor","style":"otter-advanced-columns-style"}');const Os={id:{type:"string"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginRight:{type:"number",default:0},marginRightTablet:{type:"number",default:0},marginRightMobile:{type:"number",default:0},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},marginLeft:{type:"number",default:0},marginLeftTablet:{type:"number",default:0},marginLeftMobile:{type:"number",default:0},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},columnsHTMLTag:{type:"string",default:"div"},columnWidth:{type:"string"}},Hs=[{attributes:Os,supports:{inserter:!1,reusable:!1,html:!1},save:({attributes:e,className:t})=>{const o=e.columnsHTMLTag;let l,s,a,i;if("color"===e.backgroundType&&(l={background:e.backgroundColor}),"image"===e.backgroundType&&(l={backgroundImage:`url( '${e.backgroundImageURL}' )`,backgroundAttachment:e.backgroundAttachment,backgroundPosition:e.backgroundPosition,backgroundRepeat:e.backgroundRepeat,backgroundSize:e.backgroundSize}),"gradient"===e.backgroundType){let t;t="linear"===e.backgroundGradientType?`${e.backgroundGradientAngle}deg`:`at ${e.backgroundGradientPosition}`,l={background:`${e.backgroundGradientType}-gradient( ${t}, ${e.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"} ${e.backgroundGradientFirstLocation}%, ${e.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"} ${e.backgroundGradientSecondLocation}% )`}}"linked"===e.borderType&&(s={borderWidth:`${e.border}px`,borderStyle:"solid",borderColor:e.borderColor}),"unlinked"===e.borderType&&(s={borderTopWidth:`${e.borderTop}px`,borderRightWidth:`${e.borderRight}px`,borderBottomWidth:`${e.borderBottom}px`,borderLeftWidth:`${e.borderLeft}px`,borderStyle:"solid",borderColor:e.borderColor}),"linked"===e.borderRadiusType&&(a={borderRadius:`${e.borderRadius}px`}),"unlinked"===e.borderRadiusType&&(a={borderTopLeftRadius:`${e.borderRadiusTop}px`,borderTopRightRadius:`${e.borderRadiusRight}px`,borderBottomRightRadius:`${e.borderRadiusBottom}px`,borderBottomLeftRadius:`${e.borderRadiusLeft}px`}),!0===e.boxShadow&&(i={boxShadow:`${e.boxShadowHorizontal}px ${e.boxShadowVertical}px ${e.boxShadowBlur}px ${e.boxShadowSpread}px ${R()(e.boxShadowColor?e.boxShadowColor:"#000000",e.boxShadowColorOpacity)}`});const r={...l,...s,...a,...i};return(0,k.jsx)(o,{className:t,id:e.id,style:r,children:(0,k.jsx)(d.InnerBlocks.Content,{})})}},{attributes:{...Os,paddingTablet:{type:"number"},paddingMobile:{type:"number"},paddingTopTablet:{type:"number"},paddingTopMobile:{type:"number"},paddingRightTablet:{type:"number"},paddingRightMobile:{type:"number"},paddingBottomTablet:{type:"number"},paddingBottomMobile:{type:"number"},paddingLeftTablet:{type:"number"},paddingLeftMobile:{type:"number"},marginTablet:{type:"number"},marginMobile:{type:"number"},marginTopTablet:{type:"number"},marginTopMobile:{type:"number"},marginRightTablet:{type:"number"},marginRightMobile:{type:"number"},marginBottomTablet:{type:"number"},marginBottomMobile:{type:"number"},marginLeftTablet:{type:"number"},marginLeftMobile:{type:"number"}},supports:{inserter:!1,reusable:!1,html:!1},migrate:e=>{let t="";if("gradient"===e.backgroundType){let o="";"linear"===e.backgroundGradientType&&(o=`${e.backgroundGradientAngle}deg, `),t=`${e.backgroundGradientType}-gradient(${o}${R()(e.backgroundGradientFirstColor)||"rgba( 0, 0, 0, 0 )"} ${e.backgroundGradientFirstLocation}%, ${R()(e.backgroundGradientSecondColor)||"rgba( 0, 0, 0, 0 )"} ${e.backgroundGradientSecondLocation}%)`}return{...{...(0,H.omit)(e,["backgroundGradientFirstColor","backgroundGradientFirstLocation","backgroundGradientSecondColor","backgroundGradientSecondLocation","backgroundGradientType","backgroundGradientAngle","backgroundGradientPosition"]),backgroundGradient:t}}},isEligible:e=>"gradient"===e.backgroundType&&void 0!==e.backgroundGradientFirstColor,save:({attributes:e,className:t})=>{const o=e.columnsHTMLTag;return(0,k.jsx)(o,{className:t,id:e.id,children:(0,k.jsx)(d.InnerBlocks.Content,{})})}},{attributes:{...(0,H.omit)(Os,["backgroundGradientFirstColor","backgroundGradientFirstLocation","backgroundGradientSecondColor","backgroundGradientSecondLocation","backgroundGradientType","backgroundGradientAngle","backgroundGradientPosition"]),paddingTablet:{type:"number"},paddingMobile:{type:"number"},paddingTopTablet:{type:"number"},paddingTopMobile:{type:"number"},paddingRightTablet:{type:"number"},paddingRightMobile:{type:"number"},paddingBottomTablet:{type:"number"},paddingBottomMobile:{type:"number"},paddingLeftTablet:{type:"number"},paddingLeftMobile:{type:"number"},marginTablet:{type:"number"},marginMobile:{type:"number"},marginTopTablet:{type:"number"},marginTopMobile:{type:"number"},marginRightTablet:{type:"number"},marginRightMobile:{type:"number"},marginBottomTablet:{type:"number"},marginBottomMobile:{type:"number"},marginLeftTablet:{type:"number"},marginLeftMobile:{type:"number"},backgroundGradient:{type:"string",default:"linear-gradient(90deg,rgba(54,209,220,1) 0%,rgba(91,134,229,1) 100%)"}},supports:{inserter:!1,reusable:!1,html:!1},migrate:e=>{const t={},o={},l={},s={},a={},i={},r={},n={};let c={},d={};"unlinked"===e.paddingType?(t.top=(0,H.isUndefined)(e.paddingTop)?"20px":e.paddingTop+"px",t.bottom=(0,H.isUndefined)(e.paddingBottom)?"20px":e.paddingBottom+"px",t.left=(0,H.isUndefined)(e.paddingLeft)?"20px":e.paddingLeft+"px",t.right=(0,H.isUndefined)(e.paddingRight)?"20px":e.paddingRight+"px"):(t.top=(0,H.isUndefined)(e.padding)?"20px":e.padding+"px",t.bottom=(0,H.isUndefined)(e.padding)?"20px":e.padding+"px",t.left=(0,H.isUndefined)(e.padding)?"20px":e.padding+"px",t.right=(0,H.isUndefined)(e.padding)?"20px":e.padding+"px"),"unlinked"===e.paddingTypeTablet?(o.top=(0,H.isUndefined)(e.paddingTopTablet)?null:e.paddingTopTablet+"px",o.bottom=(0,H.isUndefined)(e.paddingBottomTablet)?null:e.paddingBottomTablet+"px",o.left=(0,H.isUndefined)(e.paddingLeftTablet)?null:e.paddingLeftTablet+"px",o.right=(0,H.isUndefined)(e.paddingRightTablet)?null:e.paddingRightTablet+"px"):(o.top=(0,H.isUndefined)(e.paddingTablet)?null:e.paddingTablet+"px",o.bottom=(0,H.isUndefined)(e.paddingTablet)?null:e.paddingTablet+"px",o.left=(0,H.isUndefined)(e.paddingTablet)?null:e.paddingTablet+"px",o.right=(0,H.isUndefined)(e.paddingTablet)?null:e.paddingTablet+"px"),"unlinked"===e.paddingTypeMobile?(l.top=(0,H.isUndefined)(e.paddingMobileTop)?null:e.paddingMobileTop+"px",l.bottom=(0,H.isUndefined)(e.paddingMobileBottom)?null:e.paddingMobileBottom+"px",l.left=(0,H.isUndefined)(e.paddingMobileLeft)?null:e.paddingMobileLeft+"px",l.right=(0,H.isUndefined)(e.paddingMobileRight)?null:e.paddingMobileRight+"px"):(l.top=(0,H.isUndefined)(e.paddingMobile)?null:e.paddingMobile+"px",l.bottom=(0,H.isUndefined)(e.paddingMobile)?null:e.paddingMobile+"px",l.left=(0,H.isUndefined)(e.paddingMobile)?null:e.paddingMobile+"px",l.right=(0,H.isUndefined)(e.paddingMobile)?null:e.paddingMobile+"px"),"linked"===e.marginType?(s.top=(0,H.isUndefined)(e.margin)?"20px":e.margin+"px",s.bottom=(0,H.isUndefined)(e.margin)?"20px":e.margin+"px",s.left=(0,H.isUndefined)(e.margin)?"20px":e.margin+"px",s.right=(0,H.isUndefined)(e.margin)?"20px":e.margin+"px"):(s.top=(0,H.isUndefined)(e.marginTop)?"20px":e.marginTop+"px",s.bottom=(0,H.isUndefined)(e.marginBottom)?"20px":e.marginBottom+"px",s.left=(0,H.isUndefined)(e.marginLeft)?"20px":e.marginLeft+"px",s.right=(0,H.isUndefined)(e.marginRight)?"20px":e.marginRight+"px"),"linked"===e.marginTypeTablet?(a.top=(0,H.isUndefined)(e.marginTablet)?null:e.marginTablet+"px",a.bottom=(0,H.isUndefined)(e.marginTablet)?null:e.marginTablet+"px",a.left=(0,H.isUndefined)(e.marginTablet)?null:e.marginTablet+"px",a.right=(0,H.isUndefined)(e.marginTablet)?null:e.marginTablet+"px"):(a.top=(0,H.isUndefined)(e.marginTopTablet)?null:e.marginTopTablet+"px",a.bottom=(0,H.isUndefined)(e.marginBottomTablet)?null:e.marginBottomTablet+"px",a.left=(0,H.isUndefined)(e.marginLeftTablet)?null:e.marginLeftTablet+"px",a.right=(0,H.isUndefined)(e.marginRightTablet)?null:e.marginRightTablet+"px"),"linked"===e.marginTypeMobile?(i.top=(0,H.isUndefined)(e.marginMobile)?null:e.marginMobile+"px",i.bottom=(0,H.isUndefined)(e.marginMobile)?null:e.marginMobile+"px",i.left=(0,H.isUndefined)(e.marginMobile)?null:e.marginMobile+"px",i.right=(0,H.isUndefined)(e.marginMobile)?null:e.marginMobile+"px"):(i.top=(0,H.isUndefined)(e.marginTopMobile)?null:e.marginTopMobile+"px",i.bottom=(0,H.isUndefined)(e.marginBottomMobile)?null:e.marginBottomMobile+"px",i.left=(0,H.isUndefined)(e.marginLeftMobile)?null:e.marginLeftMobile+"px",i.right=(0,H.isUndefined)(e.marginRightMobile)?null:e.marginRightMobile+"px"),"unlinked"===e.borderType?(r.top=(0,H.isUndefined)(e.borderTop)?null:e.borderTop+"px",r.bottom=(0,H.isUndefined)(e.borderBottom)?null:e.borderBottom+"px",r.left=(0,H.isUndefined)(e.borderLeft)?null:e.borderLeft+"px",r.right=(0,H.isUndefined)(e.borderRight)?null:e.borderRight+"px"):(r.top=(0,H.isUndefined)(e.border)?null:e.border+"px",r.bottom=(0,H.isUndefined)(e.border)?null:e.border+"px",r.left=(0,H.isUndefined)(e.border)?null:e.border+"px",r.right=(0,H.isUndefined)(e.border)?null:e.border+"px"),"unlinked"===e.borderRadiusType?(n.top=(0,H.isUndefined)(e.borderRadiusTop)?null:e.borderRadiusTop+"px",n.bottom=(0,H.isUndefined)(e.borderRadiusBottom)?null:e.borderRadiusBottom+"px",n.left=(0,H.isUndefined)(e.borderRadiusLeft)?null:e.borderRadiusLeft+"px",n.right=(0,H.isUndefined)(e.borderRadiusRight)?null:e.borderRadiusRight+"px"):(n.top=(0,H.isUndefined)(e.borderRadius)?null:e.borderRadius+"px",n.bottom=(0,H.isUndefined)(e.borderRadius)?null:e.borderRadius+"px",n.left=(0,H.isUndefined)(e.borderRadius)?null:e.borderRadius+"px",n.right=(0,H.isUndefined)(e.borderRadius)?null:e.borderRadius+"px"),void 0!==e.backgroundImageURL&&void 0!==e.backgroundImageID&&(c={id:e.backgroundImageID,url:e.backgroundImageURL});return void 0!==e.backgroundPosition&&(d={"top left":{x:"0.00",y:"0.00"},"top center":{x:"0.50",y:"0.00"},"top right":{x:"1.00",y:"0.00"},"center left":{x:"0.00",y:"0.50"},"center center":{x:"0.50",y:"0.50"},"center right":{x:"1.00",y:"0.50"},"bottom left":{x:"0.00",y:"1.00"},"bottom center":{x:"0.50",y:"1.00"},"bottom right":{x:"1.00",y:"1.00"}}[e.backgroundPosition]),{...{...(0,H.omit)(e,["paddingType","paddingTypeTablet","paddingTypeMobile","paddingTop","paddingTopTablet","paddingTopMobile","paddingRight","paddingRightTablet","paddingRightMobile","paddingBottom","paddingBottomTablet","paddingBottomMobile","paddingLeft","paddingLeftTablet","paddingLeftMobile","marginType","marginTypeTablet","marginTypeMobile","marginTop","marginTopTablet","marginTopMobile","marginRight","marginRightTablet","marginRightMobile","marginBottom","marginBottomTablet","marginBottomMobile","marginLeft","marginLeftTablet","marginLeftMobile","borderType","borderTop","borderRight","borderBottom","borderLeft","borderRadiusType","borderRadiusTop","borderRadiusRight","borderRadiusBottom","borderRadiusLeft"]),...!(0,g.MZ)(t)&&{padding:t},...!(0,g.MZ)(o)&&{paddingTablet:o},...!(0,g.MZ)(l)&&{paddingMobile:l},...!(0,g.MZ)(s)&&{margin:s},...!(0,g.MZ)(a)&&{marginTablet:a},...!(0,g.MZ)(i)&&{marginMobile:i},...!(0,g.MZ)(r)&&{border:r},...!(0,g.MZ)(n)&&{borderRadius:n},...!(0,g.MZ)(c)&&{backgroundImage:c},...!(0,g.MZ)(d)&&{backgroundPosition:d}}}},isEligible:e=>["padding","paddingTablet","paddingMobile","paddingTop","paddingTopTablet","paddingTopMobile","paddingRight","paddingRightTablet","paddingRightMobile","paddingBottom","paddingBottomTablet","paddingBottomMobile","paddingLeft","paddingLeftTablet","paddingLeftMobile","margin","marginTablet","marginMobile","marginTop","marginTopTablet","marginTopMobile","marginRight","marginRightTablet","marginRightMobile","marginBottom","marginBottomTablet","marginBottomMobile","marginLeft","marginLeftTablet","marginLeftMobile","borderType","border","borderTop","borderRight","borderBottom","borderLeft","borderRadiusType","borderRadius","borderRadiusTop","borderRadiusRight","borderRadiusBottom","borderRadiusLeft"].some((t=>!(0,H.isUndefined)(e[t])&&"number"==typeof e[t]))||void 0!==e.backgroundImageURL&&void 0!==e.backgroundImageID||void 0!==e.backgroundPosition&&"object"!=typeof e.backgroundPosition,save:({attributes:e,className:t})=>{const o=e.columnsHTMLTag;return(0,k.jsx)(o,{className:t,id:e.id,children:(0,k.jsx)(d.InnerBlocks.Content,{})})}}];var Vs=Hs,Ds=({attributes:e,setAttributes:t})=>(0,k.jsx)(d.BlockControls,{children:(0,k.jsx)(d.BlockVerticalAlignmentToolbar,{onChange:o=>e.verticalAlign===o?t({verticalAlign:void 0}):t({verticalAlign:o}),value:e.verticalAlign})}),Gs=({attributes:e,setAttributes:t,getValue:o,parentBlock:s,updateBlockAttributes:a,currentBlockWidth:i,nextBlock:r,nextBlockWidth:n})=>{const c=(0,u.useSelect)((e=>{const{getView:t}=e("themeisle-gutenberg/data"),{__experimentalGetPreviewDeviceType:o}=!!e("core/edit-post")&&e("core/edit-post");return o?o():t()}),[]),[m,x]=(0,y.useTabSwitch)(e.id,"layout"),f=()=>{switch(c){case"Desktop":return"padding";case"Tablet":return"paddingTablet";case"Mobile":return"paddingMobile";default:return}},v=()=>{switch(c){case"Desktop":return"margin";case"Tablet":return"marginTablet";case"Mobile":return"marginMobile";default:return}},_=(e,t,o,l)=>"color"===e&&t?t:"image"===e&&o?`url( ${o} )`:"gradient"===e&&l?l:void 0;return(0,k.jsxs)(d.InspectorControls,{children:[(0,k.jsx)(h.R7,{value:m,options:[{label:(0,l.__)("Layout","otter-blocks"),value:"layout"},{label:(0,l.__)("Style","otter-blocks"),value:"style"}],onChange:x}),"layout"===m&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Column Structure","otter-blocks"),children:[1<s.innerBlocks.length&&(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Column Width","otter-blocks"),value:Number(e.columnWidth),onChange:e=>{const o=e||10,l=Number(i.current)-o+Number(n.current);i.current=o,n.current=l,t({columnWidth:o.toFixed(2)}),a(r.current,{columnWidth:l.toFixed(2)})},step:.1,min:10,max:Number(e.columnWidth)+Number(n.current)-10}),(0,k.jsx)(p.SelectControl,{label:(0,l.__)("HTML Tag","otter-blocks"),value:e.columnsHTMLTag,options:[{label:(0,l.__)("Default (div)","otter-blocks"),value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"article",value:"article"},{label:"main",value:"main"}],onChange:e=>t({columnsHTMLTag:e})})]}),(0,k.jsx)(h.Cu,{})]})||"style"===m&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Dimensions","otter-blocks"),children:[(0,k.jsx)(h.ax,{isSynced:e.isSynced,options:[{label:(0,l.__)("Padding","otter-blocks"),value:f()},{label:(0,l.__)("Margin","otter-blocks"),value:v()}],setAttributes:t}),(0,k.jsxs)(h.k3,{label:(0,l.__)("Screen Type","otter-blocks"),children:[(0,k.jsx)(p.Disabled,{isDisabled:e.isSynced?.includes(f())||!1,className:"o-disabled",children:(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Padding","otter-blocks"),values:(()=>{const e={...Is.attributes.padding.default};switch(c){case"Desktop":return(0,H.merge)(e,o("padding"));case"Tablet":return(0,H.merge)(e,{...o("padding")},o("paddingTablet"));case"Mobile":return(0,H.merge)(e,{...o("padding")},o("paddingTablet"),o("paddingMobile"));default:return}})(),inputProps:{min:0,max:500},onChange:o=>{switch((0,g.jW)(o)&&(o=void 0),c){case"Desktop":return t({padding:o});case"Tablet":return t({paddingTablet:(0,g.JE)(o,e.padding)});case"Mobile":return t({paddingMobile:(0,g.JE)(o,{...e.padding,...e.paddingTablet})});default:return}}})}),(0,k.jsx)(p.Disabled,{isDisabled:e.isSynced?.includes(v())||!1,className:"o-disabled",children:(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Margin","otter-blocks"),values:(()=>{const e={...Is.attributes.margin.default};switch(c){case"Desktop":return(0,H.merge)(e,o("margin"));case"Tablet":return(0,H.merge)(e,{...o("margin")},o("marginTablet"));case"Mobile":return(0,H.merge)(e,{...o("margin")},o("marginTablet"),o("marginMobile"));default:return}})(),inputProps:{min:-500,max:500},onChange:o=>{switch((0,g.jW)(o)&&(o=void 0),c){case"Desktop":return t({margin:o});case"Tablet":return t({marginTablet:(0,g.JE)(o,e.margin)});case"Mobile":return t({marginMobile:(0,g.JE)(o,{...e.margin,...e.marginTablet})});default:return}}})})]})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Background & Content","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(h._b,{label:(0,l.__)("Text","otter-blocks"),colorValue:e.color,onColorChange:e=>t({color:e}),className:"is-list is-first"}),(0,k.jsx)(h._b,{label:(0,l.__)("Link","otter-blocks"),colorValue:e.linkColor,onColorChange:e=>t({linkColor:e}),className:"is-list"}),(0,k.jsx)(h.JC,{label:(0,l.__)("Background","otter-blocks"),indicator:_(e.backgroundType,e.backgroundColor,e.backgroundImage?.url,e.backgroundGradient),children:(0,k.jsx)(h.zZ,{backgroundType:e.backgroundType,backgroundColor:e.backgroundColor,image:e.backgroundImage,gradient:e.backgroundGradient,focalPoint:e.backgroundPosition,backgroundAttachment:e.backgroundAttachment,backgroundRepeat:e.backgroundRepeat,backgroundSize:e.backgroundSize,changeBackgroundType:e=>t({backgroundType:e}),changeImage:e=>{t({backgroundImage:(0,H.pick)(e,["id","url"])})},removeImage:()=>t({backgroundImage:void 0}),changeColor:e=>t({backgroundColor:e}),changeGradient:e=>t({backgroundGradient:e}),changeBackgroundAttachment:e=>t({backgroundAttachment:e}),changeBackgroundRepeat:e=>t({backgroundRepeat:e}),changeFocalPoint:e=>t({backgroundPosition:e}),changeBackgroundSize:e=>t({backgroundSize:e})})}),(0,k.jsx)(h.JC,{label:(0,l.__)("Background Overlay","otter-blocks"),indicator:_(e.backgroundOverlayType,e.backgroundOverlayColor,e.backgroundOverlayImage?.url,e.backgroundOverlayGradient),children:(0,k.jsx)(h.cR,{backgroundType:e.backgroundOverlayType,backgroundColor:e.backgroundOverlayColor,image:e.backgroundOverlayImage,gradient:e.backgroundOverlayGradient,focalPoint:e.backgroundOverlayPosition,backgroundAttachment:e.backgroundOverlayAttachment,backgroundRepeat:e.backgroundOverlayRepeat,backgroundSize:e.backgroundOverlaySize,backgroundOpacity:e.backgroundOverlayOpacity,backgroundFilterBlur:e.backgroundOverlayFilterBlur,backgroundFilterBrightness:e.backgroundOverlayFilterBrightness,backgroundFilterContrast:e.backgroundOverlayFilterContrast,backgroundFilterGrayscale:e.backgroundOverlayFilterGrayscale,backgroundFilterHue:e.backgroundOverlayFilterHue,backgroundFilterSaturate:e.backgroundOverlayFilterSaturate,backgroundBlend:e.backgroundOverlayBlend,changeBackgroundType:e=>t({backgroundOverlayType:e}),changeImage:e=>{t({backgroundOverlayImage:(0,H.pick)(e,["id","url"])})},removeImage:()=>t({backgroundOverlayImage:void 0}),changeColor:e=>t({backgroundOverlayColor:e}),changeGradient:e=>t({backgroundOverlayGradient:e}),changeBackgroundAttachment:e=>t({backgroundOverlayAttachment:e}),changeBackgroundRepeat:e=>t({backgroundOverlayRepeat:e}),changeFocalPoint:e=>t({backgroundOverlayPosition:e}),changeBackgroundSize:e=>t({backgroundOverlaySize:e}),changeOpacity:e=>t({backgroundOverlayOpacity:e}),changeFilterBlur:e=>t({backgroundOverlayFilterBlur:e}),changeFilterBrightness:e=>t({backgroundOverlayFilterBrightness:e}),changeFilterContrast:e=>t({backgroundOverlayFilterContrast:e}),changeFilterGrayscale:e=>t({backgroundOverlayFilterGrayscale:e}),changeFilterHue:e=>t({backgroundOverlayFilterHue:e}),changeFilterSaturate:e=>t({backgroundOverlayFilterSaturate:e}),changeBlend:e=>t({backgroundOverlayBlend:e})})}),(0,k.jsx)(h._b,{label:(0,l.__)("Text Hover","otter-blocks"),colorValue:e.colorHover,onColorChange:e=>t({colorHover:e}),className:"is-list"}),(0,k.jsx)(h._b,{label:(0,l.__)("Background Hover","otter-blocks"),colorValue:e.backgroundColorHover,onColorChange:e=>t({backgroundColorHover:e}),className:"is-list"})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Border","otter-blocks"),className:"o-section-border-container",initialOpen:!1,children:[(0,k.jsx)(h._b,{label:(0,l.__)("Border Color","otter-blocks"),colorValue:e.borderColor,onColorChange:e=>t({borderColor:e})}),(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Border Width","otter-blocks"),values:e.border,inputProps:{min:0,max:500},units:[{value:"px",label:"px"}],onChange:e=>{(0,g.jW)(e)&&(e=void 0),t({border:e})}}),(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Border Radius","otter-blocks"),values:e.borderRadius,inputProps:{min:0,max:500},units:[{value:"px",label:"px"},{value:"%",label:"%"}],onChange:e=>{(0,g.jW)(e)&&(e=void 0),t({borderRadius:e})}}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Box Shadow","otter-blocks"),checked:e.boxShadow,onChange:()=>t({boxShadow:!e.boxShadow})}),e.boxShadow&&(0,k.jsxs)(h.HZ,{label:(0,l.__)("Shadow Properties","otter-blocks"),children:[(0,k.jsx)(d.__experimentalColorGradientControl,{label:(0,l.__)("Shadow Color","otter-blocks"),colorValue:e.boxShadowColor,onColorChange:o=>t({boxShadowColor:100>e.boxShadowColorOpacity&&o?.includes("var(")?getComputedStyle(document.documentElement,null).getPropertyValue(o?.replace("var(","")?.replace(")","")):o})}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Opacity","otter-blocks"),value:e.boxShadowColorOpacity,onChange:o=>{const l={boxShadowColorOpacity:o};100>o&&e.boxShadowColor?.includes("var(")&&(l.boxShadowColor=getComputedStyle(document.documentElement,null).getPropertyValue(e.boxShadowColor.replace("var(","").replace(")",""))),t(l)},min:0,max:100}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Blur","otter-blocks"),value:e.boxShadowBlur,onChange:e=>t({boxShadowBlur:e}),min:0,max:100}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Spread","otter-blocks"),value:e.boxShadowSpread,onChange:e=>t({boxShadowSpread:e}),min:-100,max:100}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Horizontal","otter-blocks"),value:e.boxShadowHorizontal,onChange:e=>t({boxShadowHorizontal:e}),min:-100,max:100}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Vertical","otter-blocks"),value:e.boxShadowVertical,onChange:e=>t({boxShadowVertical:e}),min:-100,max:100})]})]})]})]})};const{attributes:Es}=Is;const{name:$s}=Is;(0,s.registerBlockType)($s,{...Is,title:(0,l.__)("Section Column","otter-blocks"),description:(0,l.__)("A single column within a Section block. Powered by Otter.","otter-blocks"),icon:i.columnIcon,deprecated:Vs,edit:({name:e,attributes:t,setAttributes:o,isSelected:l,clientId:s})=>{const{updateBlockAttributes:a}=(0,u.useDispatch)("core/block-editor"),{adjacentBlockClientId:i,adjacentBlock:r,parentBlock:n,hasInnerBlocks:c,isViewportAvailable:p,isPreviewDesktop:h,isPreviewTablet:x,isPreviewMobile:f}=(0,u.useSelect)((e=>{const{getAdjacentBlockClientId:t,getBlock:o,getBlockRootClientId:l}=e("core/block-editor"),{__experimentalGetPreviewDeviceType:a}=!!e("core/edit-post")&&e("core/edit-post"),i=o(s),r=t(s);return{adjacentBlockClientId:r,adjacentBlock:o(r),parentBlock:o(l(s)),hasInnerBlocks:!(!i||!i.innerBlocks.length),isViewportAvailable:!!a,isPreviewDesktop:!!a&&"Desktop"===a(),isPreviewTablet:!!a&&"Tablet"===a(),isPreviewMobile:!!a&&"Mobile"===a()}}),[]),v=(0,Bs.useViewportMatch)("large",">="),_=(0,Bs.useViewportMatch)("large","<="),w=(0,Bs.useViewportMatch)("small",">="),C=(0,Bs.useViewportMatch)("small","<=");(0,b.useEffect)((()=>{const e=(0,y.blockInit)(s,Es);return()=>e(t.id)}),[t.id]),(0,b.useEffect)((()=>{if(1<n.innerBlocks.length&&!i){const e=n.innerBlocks.findIndex((e=>e.clientId===s)),t=n.innerBlocks[e-1];S.current=t.clientId,T.current=t.attributes.columnWidth}}),[]),(0,b.useEffect)((()=>{if(1<n.innerBlocks.length)if(i)T.current=r.attributes.columnWidth,S.current=i,j.current=t.columnWidth;else{const e=n.innerBlocks.findIndex((e=>e.clientId===s)),o=n.innerBlocks[e-1];T.current=o.attributes.columnWidth,S.current=o.clientId,j.current=t.columnWidth}}),[l,t.columnWidth,n.innerBlocks.length]),(0,m.g)("color"===t.backgroundType&&t.backgroundColor,t,o);const j=(0,b.useRef)(t.columnWidth),S=(0,b.useRef)(i&&i),T=(0,b.useRef)(r&&r.attributes.columnWidth),B=o=>(0,y.getDefaultValueByField)({name:e,field:o,defaultAttributes:Es,attributes:t});let M=v&&!_&&w&&!C,P=!v&&!_&&w&&!C,z=!(v||_||w||C);p&&!z&&(M=h,P=x,z=f);const{layout:A,layoutTablet:F,layoutMobile:L}=n.attributes,N=n.innerBlocks.findIndex((e=>e.clientId===s));let{columns:I}=n.attributes;6<I&&(I=6),void 0===t.columnWidth&&a(s,{columnWidth:Ms[I][A][N]});const O=t.columnsHTMLTag;let V,D,G,E,$,W={paddingTop:B("padding")?.top,paddingRight:B("padding")?.right,paddingBottom:B("padding")?.bottom,paddingLeft:B("padding")?.left,marginTop:B("margin")?.top,marginRight:B("margin")?.right,marginBottom:B("margin")?.bottom,marginLeft:B("margin")?.left};if(M){const e=(0,H.pickBy)({flexBasis:`${t.columnWidth}%`},(e=>e));W=(0,H.merge)(W,e)}if(P||z){const e=Ms[I][F][N],t=(0,H.pickBy)({flexBasis:`${e}%`,paddingTop:B("paddingTablet")?.top,paddingRight:B("paddingTablet")?.right,paddingBottom:B("paddingTablet")?.bottom,paddingLeft:B("paddingTablet")?.left,marginTop:B("marginTablet")?.top,marginRight:B("marginTablet")?.right,marginBottom:B("marginTablet")?.bottom,marginLeft:B("marginTablet")?.left},(e=>e));W=(0,H.merge)(W,t)}if(z){const e=Ms[I][L][N],t=(0,H.pickBy)({flexBasis:`${e}%`,paddingTop:B("paddingMobile")?.top,paddingRight:B("paddingMobile")?.right,paddingBottom:B("paddingMobile")?.bottom,paddingLeft:B("paddingMobile")?.left,marginTop:B("marginMobile")?.top,marginRight:B("marginMobile")?.right,marginBottom:B("marginMobile")?.bottom,marginLeft:B("marginMobile")?.left},(e=>e));W=(0,H.merge)(W,t)}"color"===t.backgroundType&&(V={"--background":t.backgroundColor}),"image"===t.backgroundType&&(V={"--background":`url( '${t.backgroundImage?.url}' )`,backgroundAttachment:t.backgroundAttachment,backgroundPosition:`${Math.round(100*t.backgroundPosition?.x)}% ${Math.round(100*t.backgroundPosition?.y)}%`,backgroundRepeat:t.backgroundRepeat,backgroundSize:t.backgroundSize}),"gradient"===t.backgroundType&&(V={"--background":t.backgroundGradient}),t.border&&!(0,H.isEmpty)(t.border)&&(G={borderTopWidth:t.border.top,borderRightWidth:t.border.right,borderBottomWidth:t.border.bottom,borderLeftWidth:t.border.left,borderStyle:"solid",borderColor:t.borderColor}),t.borderRadius&&!(0,H.isEmpty)(t.borderRadius)&&(E={borderTopLeftRadius:t.borderRadius.top,borderTopRightRadius:t.borderRadius.right,borderBottomRightRadius:t.borderRadius.bottom,borderBottomLeftRadius:t.borderRadius.left}),!0===t.boxShadow&&($={boxShadow:`${t.boxShadowHorizontal}px ${t.boxShadowVertical}px ${t.boxShadowBlur}px ${t.boxShadowSpread}px ${!t.boxShadowColor.includes("var(")||void 0!==t.boxShadowColorOpacity&&100!==t.boxShadowColorOpacity?R()(t.boxShadowColor?t.boxShadowColor:"#000000",t.boxShadowColorOpacity):t.boxShadowColor}`});const U={...W,...V,...G,...E,...$,"--link-color":t.linkColor,"--background-color-hover":t.backgroundColorHover};t.verticalAlign&&(U.alignItems={top:"flex-start",center:"center",bottom:"flex-end"}[t.verticalAlign]),"color"===t.backgroundOverlayType&&(D={background:t.backgroundOverlayColor,opacity:t.backgroundOverlayOpacity/100}),"image"===t.backgroundOverlayType&&(D={backgroundImage:`url( '${t.backgroundOverlayImage?.url}' )`,backgroundAttachment:t.backgroundOverlayAttachment,backgroundPosition:`${Math.round(100*t.backgroundOverlayPosition?.x)}% ${Math.round(100*t.backgroundOverlayPosition?.y)}%`,backgroundRepeat:t.backgroundOverlayRepeat,backgroundSize:t.backgroundOverlaySize,opacity:t.backgroundOverlayOpacity/100}),"gradient"===t.backgroundOverlayType&&(D={background:t.backgroundOverlayGradient,opacity:t.backgroundOverlayOpacity/100});const q="color"===t.backgroundOverlayType&&t.backgroundOverlayColor||"image"===t.backgroundOverlayType&&t.backgroundOverlayImage?.url||"gradient"===t.backgroundOverlayType&&t.backgroundOverlayGradient,Z={...D,...E,mixBlendMode:t.backgroundOverlayBlend,filter:`blur( ${t.backgroundOverlayFilterBlur/10}px ) brightness( ${t.backgroundOverlayFilterBrightness/10} ) contrast( ${t.backgroundOverlayFilterContrast/10} ) grayscale( ${t.backgroundOverlayFilterGrayscale/100} ) hue-rotate( ${t.backgroundOverlayFilterHue}deg ) saturate( ${t.backgroundOverlayFilterSaturate/10} )`},J=(0,d.useBlockProps)({id:t.id,style:U});return(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)("style",{children:[`#block-${s}`+(0,g.SJ)([["--text-color",t.color]]),`#block-${s}:hover`+(0,g.SJ)([["--text-color",t.colorHover]])]}),(0,k.jsx)(Ds,{attributes:t,setAttributes:o}),(0,k.jsx)(Gs,{attributes:t,setAttributes:o,getValue:B,parentBlock:n,updateBlockAttributes:a,currentBlockWidth:j,nextBlock:S,nextBlockWidth:T}),(0,k.jsxs)(O,{...J,children:[q&&(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-advanced-column-overlay",style:Z}),(0,k.jsx)(d.InnerBlocks,{templateLock:!1,renderAppender:!c&&d.InnerBlocks.ButtonBlockAppender})]})]})},save:({attributes:e})=>{const t=e.columnsHTMLTag,o="color"===e.backgroundOverlayType&&e.backgroundOverlayColor||"image"===e.backgroundOverlayType&&e.backgroundOverlayImage?.url||"gradient"===e.backgroundOverlayType&&e.backgroundOverlayGradient,l=d.useBlockProps.save({id:e.id});return(0,k.jsxs)(t,{...l,children:[o&&(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-advanced-column-overlay"}),(0,k.jsx)(d.InnerBlocks.Content,{})]})}});var Ws=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/sharing-icons","title":"Sharing Icons","category":"themeisle-blocks","description":"Share buttons for your website visitors to share content on any social sharing service. Powered by Otter.","keywords":["social media","sharing","icons"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"facebook":{"type":["object","boolean"],"default":{"active":true}},"twitter":{"type":["object","boolean"],"default":{"active":true}},"linkedin":{"type":["object","boolean"],"default":{"active":true}},"pinterest":{"type":["object","boolean"],"default":{"active":false}},"tumblr":{"type":["object","boolean"],"default":{"active":false}},"reddit":{"type":["object","boolean"],"default":{"active":false}},"whatsapp":{"type":["object","boolean"],"default":{"active":false}},"telegram":{"type":["object","boolean"],"default":{"active":false}},"email":{"type":["object","boolean"],"default":{"active":false}},"mastodon":{"type":["object","boolean"],"default":{"active":false}},"comments":{"type":["object","boolean"],"default":{"active":false}},"threads":{"type":["object","boolean"],"default":{"active":false}},"gap":{"type":"number"},"borderRadius":{"type":"number"},"backgroundColor":{"type":"string"},"textColor":{"type":"string"},"context":{"type":"string"}},"styles":[{"name":"default","label":"Regular","isDefault":true},{"name":"icons","label":"Icons Only"}],"supports":{"align":["left","center","right"]},"editorStyle":"otter-sharing-icons-editor","style":"otter-sharing-icons-style"}'),Us=window.wp.serverSideRender,qs=o.n(Us),Zs=({icon:e})=>"facebook"===e?(0,k.jsx)(p.SVG,{className:"o-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 264 512",children:(0,k.jsx)(p.Path,{fill:"currentColor",d:"M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"})}):"twitter"===e?(0,k.jsx)(p.SVG,{className:"o-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:(0,k.jsx)(p.Path,{fill:"currentColor",d:"M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"})}):"linkedin"===e?(0,k.jsx)(p.SVG,{className:"o-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:(0,k.jsx)(p.Path,{fill:"currentColor",d:"M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"})}):"pinterest"===e?(0,k.jsx)(p.SVG,{className:"o-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",children:(0,k.jsx)(p.Path,{fill:"currentColor",d:"M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"})}):"tumblr"===e?(0,k.jsx)(p.SVG,{className:"o-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",children:(0,k.jsx)(p.Path,{fill:"currentColor",d:"M309.8 480.3c-13.6 14.5-50 31.7-97.4 31.7-120.8 0-147-88.8-147-140.6v-144H17.9c-5.5 0-10-4.5-10-10v-68c0-7.2 4.5-13.6 11.3-16 62-21.8 81.5-76 84.3-117.1.8-11 6.5-16.3 16.1-16.3h70.9c5.5 0 10 4.5 10 10v115.2h83c5.5 0 10 4.4 10 9.9v81.7c0 5.5-4.5 10-10 10h-83.4V360c0 34.2 23.7 53.6 68 35.8 4.8-1.9 9-3.2 12.7-2.2 3.5.9 5.8 3.4 7.4 7.9l22 64.3c1.8 5 3.3 10.6-.4 14.5z"})}):"reddit"===e?(0,k.jsx)(p.SVG,{className:"o-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:(0,k.jsx)(p.Path,{fill:"currentColor",d:"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z"})}):"whatsapp"===e?(0,k.jsx)(p.SVG,{className:"o-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:(0,k.jsx)(p.Path,{d:"M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"})}):"email"===e?(0,k.jsx)(p.SVG,{className:"o-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:(0,k.jsx)(p.Path,{d:"M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48H48zM0 176V384c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V176L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z"})}):"telegram"===e?(0,k.jsx)(p.SVG,{className:"o-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:(0,k.jsx)(p.Path,{d:"M248,8C111.033,8,0,119.033,0,256S111.033,504,248,504,496,392.967,496,256,384.967,8,248,8ZM362.952,176.66c-3.732,39.215-19.881,134.378-28.1,178.3-3.476,18.584-10.322,24.816-16.948,25.425-14.4,1.326-25.338-9.517-39.287-18.661-21.827-14.308-34.158-23.215-55.346-37.177-24.485-16.135-8.612-25,5.342-39.5,3.652-3.793,67.107-61.51,68.335-66.746.153-.655.3-3.1-1.154-4.384s-3.59-.849-5.135-.5q-3.283.746-104.608,69.142-14.845,10.194-26.894,9.934c-8.855-.191-25.888-5.006-38.551-9.123-15.531-5.048-27.875-7.717-26.8-16.291q.84-6.7,18.45-13.7,108.446-47.248,144.628-62.3c68.872-28.647,83.183-33.623,92.511-33.789,2.052-.034,6.639.474,9.61,2.885a10.452,10.452,0,0,1,3.53,6.716A43.765,43.765,0,0,1,362.952,176.66Z"})}):"mastodon"===e?(0,k.jsx)(p.SVG,{className:"o-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:(0,k.jsx)(p.Path,{d:"M433 179.11c0-97.2-63.71-125.7-63.71-125.7-62.52-28.7-228.56-28.4-290.48 0 0 0-63.72 28.5-63.72 125.7 0 115.7-6.6 259.4 105.63 289.1 40.51 10.7 75.32 13 103.33 11.4 50.81-2.8 79.32-18.1 79.32-18.1l-1.7-36.9s-36.31 11.4-77.12 10.1c-40.41-1.4-83-4.4-89.63-54a102.54 102.54 0 0 1-.9-13.9c85.63 20.9 158.65 9.1 178.75 6.7 56.12-6.7 105-41.3 111.23-72.9 9.8-49.8 9-121.5 9-121.5zm-75.12 125.2h-46.63v-114.2c0-49.7-64-51.6-64 6.9v62.5h-46.33V197c0-58.5-64-56.6-64-6.9v114.2H90.19c0-122.1-5.2-147.9 18.41-175 25.9-28.9 79.82-30.8 103.83 6.1l11.6 19.5 11.6-19.5c24.11-37.1 78.12-34.8 103.83-6.1 23.71 27.3 18.4 53 18.4 175z"})}):"comments"===e?(0,k.jsx)(p.SVG,{className:"o-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:(0,k.jsx)(p.Path,{d:"M208 352c114.9 0 208-78.8 208-176S322.9 0 208 0S0 78.8 0 176c0 38.6 14.7 74.3 39.6 103.4c-3.5 9.4-8.7 17.7-14.2 24.7c-4.8 6.2-9.7 11-13.3 14.3c-1.8 1.6-3.3 2.9-4.3 3.7c-.5 .4-.9 .7-1.1 .8l-.2 .2 0 0 0 0C1 327.2-1.4 334.4 .8 340.9S9.1 352 16 352c21.8 0 43.8-5.6 62.1-12.5c9.2-3.5 17.8-7.4 25.3-11.4C134.1 343.3 169.8 352 208 352zM448 176c0 112.3-99.1 196.9-216.5 207C255.8 457.4 336.4 512 432 512c38.2 0 73.9-8.7 104.7-23.9c7.5 4 16 7.9 25.2 11.4c18.3 6.9 40.3 12.5 62.1 12.5c6.9 0 13.1-4.5 15.2-11.1c2.1-6.6-.2-13.8-5.8-17.9l0 0 0 0-.2-.2c-.2-.2-.6-.4-1.1-.8c-1-.8-2.5-2-4.3-3.7c-3.6-3.3-8.5-8.1-13.3-14.3c-5.5-7-10.7-15.4-14.2-24.7c24.9-29 39.6-64.7 39.6-103.4c0-92.8-84.9-168.9-192.6-175.5c.4 5.1 .6 10.3 .6 15.5z"})}):"threads"===e?(0,k.jsx)(p.SVG,{className:"o-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:(0,k.jsx)(p.Path,{d:"M331.5 235.7c2.2 .9 4.2 1.9 6.3 2.8c29.2 14.1 50.6 35.2 61.8 61.4c15.7 36.5 17.2 95.8-30.3 143.2c-36.2 36.2-80.3 52.5-142.6 53h-.3c-70.2-.5-124.1-24.1-160.4-70.2c-32.3-41-48.9-98.1-49.5-169.6V256v-.2C17 184.3 33.6 127.2 65.9 86.2C102.2 40.1 156.2 16.5 226.4 16h.3c70.3 .5 124.9 24 162.3 69.9c18.4 22.7 32 50 40.6 81.7l-40.4 10.8c-7.1-25.8-17.8-47.8-32.2-65.4c-29.2-35.8-73-54.2-130.5-54.6c-57 .5-100.1 18.8-128.2 54.4C72.1 146.1 58.5 194.3 58 256c.5 61.7 14.1 109.9 40.3 143.3c28 35.6 71.2 53.9 128.2 54.4c51.4-.4 85.4-12.6 113.7-40.9c32.3-32.2 31.7-71.8 21.4-95.9c-6.1-14.2-17.1-26-31.9-34.9c-3.7 26.9-11.8 48.3-24.7 64.8c-17.1 21.8-41.4 33.6-72.7 35.3c-23.6 1.3-46.3-4.4-63.9-16c-20.8-13.8-33-34.8-34.3-59.3c-2.5-48.3 35.7-83 95.2-86.4c21.1-1.2 40.9-.3 59.2 2.8c-2.4-14.8-7.3-26.6-14.6-35.2c-10-11.7-25.6-17.7-46.2-17.8H227c-16.6 0-39 4.6-53.3 26.3l-34.4-23.6c19.2-29.1 50.3-45.1 87.8-45.1h.8c62.6 .4 99.9 39.5 103.7 107.7l-.2 .2zm-156 68.8c1.3 25.1 28.4 36.8 54.6 35.3c25.6-1.4 54.6-11.4 59.5-73.2c-13.2-2.9-27.8-4.4-43.4-4.4c-4.8 0-9.6 .1-14.4 .4c-42.9 2.4-57.2 23.2-56.2 41.8l-.1 .1z"})}):(0,k.jsx)(p.SVG,{className:"o-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:(0,k.jsx)(p.Path,{fill:"currentColor",d:"M208 88.286c0-10 6.286-21.714 17.715-21.714 11.142 0 17.714 11.714 17.714 21.714 0 10.285-6.572 21.714-17.714 21.714C214.286 110 208 98.571 208 88.286zm304 160c0 36.001-11.429 102.286-36.286 129.714-22.858 24.858-87.428 61.143-120.857 70.572l-1.143.286v32.571c0 16.286-12.572 30.571-29.143 30.571-10 0-19.429-5.714-24.572-14.286-5.427 8.572-14.856 14.286-24.856 14.286-10 0-19.429-5.714-24.858-14.286-5.142 8.572-14.571 14.286-24.57 14.286-10.286 0-19.429-5.714-24.858-14.286-5.143 8.572-14.571 14.286-24.571 14.286-18.857 0-29.429-15.714-29.429-32.857-16.286 12.285-35.715 19.428-56.571 19.428-22 0-43.429-8.285-60.286-22.857 10.285-.286 20.571-2.286 30.285-5.714-20.857-5.714-39.428-18.857-52-36.286 21.37 4.645 46.209 1.673 67.143-11.143-22-22-56.571-58.857-68.572-87.428C1.143 321.714 0 303.714 0 289.429c0-49.714 20.286-160 86.286-160 10.571 0 18.857 4.858 23.143 14.857a158.792 158.792 0 0 1 12-15.428c2-2.572 5.714-5.429 7.143-8.286 7.999-12.571 11.714-21.142 21.714-34C182.571 45.428 232 17.143 285.143 17.143c6 0 12 .285 17.714 1.143C313.714 6.571 328.857 0 344.572 0c14.571 0 29.714 6 40 16.286.857.858 1.428 2.286 1.428 3.428 0 3.714-10.285 13.429-12.857 16.286 4.286 1.429 15.714 6.858 15.714 12 0 2.857-2.857 5.143-4.571 7.143 31.429 27.714 49.429 67.143 56.286 108 4.286-5.143 10.285-8.572 17.143-8.572 10.571 0 20.857 7.144 28.571 14.001C507.143 187.143 512 221.714 512 248.286zM188 89.428c0 18.286 12.571 37.143 32.286 37.143 19.714 0 32.285-18.857 32.285-37.143 0-18-12.571-36.857-32.285-36.857-19.715 0-32.286 18.858-32.286 36.857zM237.714 194c0-19.714 3.714-39.143 8.571-58.286-52.039 79.534-13.531 184.571 68.858 184.571 21.428 0 42.571-7.714 60-20 2-7.429 3.714-14.857 3.714-22.572 0-14.286-6.286-21.428-20.572-21.428-4.571 0-9.143.857-13.429 1.714-63.343 12.668-107.142 3.669-107.142-63.999zm-41.142 254.858c0-11.143-8.858-20.857-20.286-20.857-11.429 0-20 9.715-20 20.857v32.571c0 11.143 8.571 21.142 20 21.142 11.428 0 20.286-9.715 20.286-21.142v-32.571zm49.143 0c0-11.143-8.572-20.857-20-20.857-11.429 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.857 21.142 20.286 21.142 11.428 0 20-10 20-21.142v-32.571zm49.713 0c0-11.143-8.857-20.857-20.285-20.857-11.429 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.857 21.142 20.286 21.142 11.428 0 20.285-9.715 20.285-21.142v-32.571zm49.715 0c0-11.143-8.857-20.857-20.286-20.857-11.428 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.858 21.142 20.286 21.142 11.429 0 20.286-10 20.286-21.142v-32.571zM421.714 286c-30.857 59.142-90.285 102.572-158.571 102.572-96.571 0-160.571-84.572-160.571-176.572 0-16.857 2-33.429 6-49.714-20 33.715-29.714 72.572-29.714 111.429 0 60.286 24.857 121.715 71.429 160.857 5.143-9.714 14.857-16.286 26-16.286 10 0 19.428 5.714 24.571 14.286 5.429-8.571 14.571-14.286 24.858-14.286 10 0 19.428 5.714 24.571 14.286 5.429-8.571 14.857-14.286 24.858-14.286 10 0 19.428 5.714 24.857 14.286 5.143-8.571 14.571-14.286 24.572-14.286 10.857 0 20.857 6.572 25.714 16 43.427-36.286 68.569-92 71.426-148.286zm10.572-99.714c0-53.714-34.571-105.714-92.572-105.714-30.285 0-58.571 15.143-78.857 36.857C240.862 183.812 233.41 254 302.286 254c28.805 0 97.357-28.538 84.286 36.857 28.857-26 45.714-65.714 45.714-104.571z"})}),Js=({attributes:e,setAttributes:t,socialList:o})=>(0,k.jsx)(d.BlockControls,{children:(0,k.jsx)(p.ToolbarGroup,{children:Object.keys(o).map((s=>{var a;const i=null!==(a=e[s]?.active)&&void 0!==a?a:e?.[s];return(0,k.jsx)(p.Tooltip,{text:(0,l.sprintf)(/* translators: %s Label */ /* translators: %s Label */
(0,l.__)("Display %s","otter-blocks"),o[s].label),children:(0,k.jsx)(p.Button,{className:n()("components-button","wp-block-themeisle-toolbar",{"is-active":i}),onClick:()=>(o=>{const l={...e[o]};l.active=!l?.active,t({[o]:{...l}})})(s),children:(0,k.jsx)(Zs,{icon:s})})},s)}))})}),Ks=({attributes:e,setAttributes:t,socialList:o})=>{const s=(o,l,s)=>{const a={...e[l]};a[s]=o,t({[l]:{...a}})};return(0,k.jsxs)(d.InspectorControls,{children:[(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Settings","otter-blocks"),children:[(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Items Gap","otter-blocks"),value:e.gap,onChange:e=>t({gap:e}),allowReset:!0,step:.1,max:100}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Icons Border Radius","otter-blocks"),value:e.borderRadius,onChange:e=>t({borderRadius:e}),allowReset:!0,step:.1,max:50})]}),(0,k.jsx)(d.PanelColorSettings,{title:(0,l.__)("Color Settings","otter-blocks"),className:"ott-color-controls",initialOpen:!1,colorSettings:Object.keys(o).reduce(((t,a)=>{var i;return(null!==(i=e?.[a]?.active)&&void 0!==i?i:e?.[a])?[...t,{value:e[a].backgroundColor,onChange:e=>s(e,a,"backgroundColor"),onGradientChange:e=>s(e,a,"backgroundColor"),isShownByDefault:!0,
/* translators: %s Social Website */
label:(0,l.sprintf)((0,l.__)("%s Background Color","otter-blocks"),o[a].label)},{value:e[a].textColor,onChange:e=>s(e,a,"textColor"),isShownByDefault:!0,
/* translators: %s Social Website */
label:(0,l.sprintf)((0,l.__)("%s Text Color","otter-blocks"),o[a]?.label)}]:t}),[]),children:Object.keys(o).map((t=>{var o;return(null!==(o=e?.[t]?.active)&&void 0!==o?o:e?.[t])?(0,k.jsx)(d.ContrastChecker,{backgroundColor:e?.[t]?.backgroundColor,textColor:e?.[t]?.textColor},t):null}))})]})},Ys={facebook:{label:(0,l.__)("Facebook","otter-blocks"),icon:"facebook-f"},twitter:{label:(0,l.__)("X","otter-blocks"),icon:"twitter"},linkedin:{label:(0,l.__)("Linkedin","otter-blocks"),icon:"linkedin-in"},pinterest:{label:(0,l.__)("Pinterest","otter-blocks"),icon:"pinterest-p"},tumblr:{label:(0,l.__)("Tumblr","otter-blocks"),icon:"tumblr"},reddit:{label:(0,l.__)("Reddit","otter-blocks"),icon:"reddit-alien"},whatsapp:{label:(0,l.__)("WhatsApp","otter-blocks"),icon:"whatsapp"},email:{label:(0,l.__)("Email","otter-blocks"),icon:"envelope"},telegram:{label:(0,l.__)("Telegram","otter-blocks"),icon:"telegram"},mastodon:{label:(0,l.__)("Mastodon","otter-blocks"),icon:"mastodon"},comments:{label:(0,l.__)("Comment","otter-blocks"),icon:"comment"},threads:{label:(0,l.__)("Threads","otter-blocks"),icon:""}};const{attributes:Qs}=Ws;const{name:Xs}=Ws;(0,s.registerBlockType)(Xs,{...Ws,title:(0,l.__)("Sharing Icons","otter-blocks"),description:(0,l.__)("Share buttons for your website visitors to share content on any social sharing service. Powered by Otter.","otter-blocks"),icon:i.sharingIcon,keywords:["social media","sharing","icons"],styles:[{name:"default",label:(0,l.__)("Regular","otter-blocks"),isDefault:!0},{name:"icons",label:(0,l.__)("Icons Only","otter-blocks")}],edit:({attributes:e,setAttributes:t,clientId:o})=>{(0,b.useEffect)((()=>{const t=(0,y.blockInit)(o,Qs);return()=>t(e.id)}),[e.id]);const{isQueryChild:l}=(0,u.useSelect)((e=>{const{getBlock:t,getBlockParentsByBlockName:l}=e("core/block-editor"),s=t(o);return{isQueryChild:0<l(s?.clientId,"core/query").length}}),[]);(0,b.useEffect)((()=>{l&&t({context:"query"})}),[l]);const s=(0,d.useBlockProps)();return(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(Js,{attributes:e,setAttributes:t,socialList:Ys}),(0,k.jsx)(Ks,{attributes:e,setAttributes:t,socialList:Ys}),(0,k.jsx)("div",{...s,children:(0,k.jsx)(p.Disabled,{children:(0,k.jsx)(qs(),{block:"themeisle-blocks/sharing-icons",attributes:e})})})]})},save:()=>null,example:{attributes:{}}});var ea=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/slider","title":"Image Slider","category":"themeisle-blocks","description":"Minimal image slider to showcase beautiful images. Powered by Otter.","keywords":["slider","gallery","carousel"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"images":{"type":"array","default":[],"source":"query","selector":".wp-block-themeisle-blocks-slider-item-wrapper","query":{"id":{"type":"number","source":"attribute","selector":"img","attribute":"data-id"},"url":{"type":"string","source":"attribute","selector":"img","attribute":"src"},"alt":{"type":"string","source":"attribute","selector":"img","attribute":"alt","default":""},"caption":{"type":"string","source":"html","selector":"figcaption","default":""}}},"perView":{"type":"number","default":1},"gap":{"type":"number","default":0},"peek":{"type":"number","default":0},"autoplay":{"type":"boolean","default":true},"delay":{"type":"number","default":2},"hideArrows":{"type":"boolean","default":false},"hideBullets":{"type":"boolean","default":false},"height":{"type":["number","string"],"default":"400px"},"heightTablet":{"type":"string"},"heightMobile":{"type":"string"},"width":{"type":"string"},"transition":{"type":"string"},"arrowsColor":{"type":"string"},"arrowsBackgroundColor":{"type":"string"},"paginationColor":{"type":"string"},"paginationActiveColor":{"type":"string"},"borderColor":{"type":"string"},"borderWidth":{"type":"string"},"borderRadius":{"type":"string"}},"supports":{"align":["wide","full"]},"editorStyle":"otter-slider-editor","style":"otter-slider-style","editorScript":"glidejs","script":"otter-slider"}');const ta=({attributes:e})=>(0,k.jsx)(b.Fragment,{children:!e.hideArrows&&(0,k.jsxs)("div",{className:"glide__arrows","data-glide-el":"controls",children:[(0,k.jsx)("button",{className:"glide__arrow glide__arrow--left","data-glide-dir":"<",children:(0,k.jsx)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 100 100",children:(0,k.jsx)(p.Path,{d:"M 10,50 L 60,100 L 70,90 L 30,50 L 70,10 L 60,0 Z"})})}),(0,k.jsx)("button",{className:"glide__arrow glide__arrow--right","data-glide-dir":">",children:(0,k.jsx)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 100 100",children:(0,k.jsx)(p.Path,{d:"M 10,50 L 60,100 L 70,90 L 30,50 L 70,10 L 60,0 Z"})})})]})}),oa=({attributes:e})=>(0,k.jsx)(b.Fragment,{children:!e.hideBullets&&(0,k.jsx)("div",{className:"glide__bullets","data-glide-el":"controls[nav]",children:e.images.map(((e,t)=>(0,k.jsx)("button",{className:"glide__bullet","data-glide-dir":`=${t}`},e.id)))})});var la=({attributes:e})=>(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(ta,{attributes:e}),(0,k.jsx)(oa,{attributes:e})]});const sa={id:{type:"string"},align:{type:"string"},images:{type:"array",default:[],source:"query",selector:".wp-block-themeisle-blocks-slider-item-wrapper",query:{id:{type:"number",source:"attribute",selector:"img",attribute:"data-id"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption",default:""}}},perView:{type:"number",default:1},gap:{type:"number",default:0},peek:{type:"number",default:0},autoplay:{type:"boolean",default:!0},height:{type:"number",default:400}},aa=[{attributes:{...(0,H.omit)(sa,["align"])},supports:{align:["wide","full"]},save:({attributes:e,className:t})=>(0,k.jsx)("div",{id:e.id,className:n()("wp-block-themeisle-blocks-slider","glide",t),"data-per-view":e.perView,"data-gap":e.gap,"data-peek":e.peek,"data-autoplay":e.autoplay,children:(0,k.jsxs)("div",{className:"glide__track","data-glide-el":"track",children:[(0,k.jsx)("div",{className:"glide__slides",style:{height:`${e.height}px`},children:e.images.map((e=>(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-slider-item-wrapper glide__slide",tabIndex:"0",children:(0,k.jsxs)("figure",{children:[(0,k.jsx)("img",{className:"wp-block-themeisle-blocks-slider-item",src:e.url,alt:e.alt,title:e.alt,"data-id":e.id},e.id),!d.RichText.isEmpty(e.caption)&&(0,k.jsx)(d.RichText.Content,{tagName:"figcaption",value:e.caption})]})})))}),(0,k.jsx)(la,{attributes:e})]})})},{attributes:{...(0,H.omit)(sa,["align"]),delay:{type:"number",default:2},hideArrows:{type:"boolean",default:!1},hideBullets:{type:"boolean",default:!1}},supports:{align:["wide","full"]},save:({attributes:e,className:t})=>{const o=e.autoplay&&2!==e.delay?1e3*e.delay:e.autoplay;return(0,k.jsx)("div",{id:e.id,className:n()("wp-block-themeisle-blocks-slider","glide",t),"data-per-view":e.perView,"data-gap":e.gap,"data-peek":e.peek,"data-autoplay":o,"data-height":`${e.height}px`,children:(0,k.jsxs)("div",{className:"glide__track","data-glide-el":"track",children:[(0,k.jsx)("div",{className:"glide__slides",children:e.images.map((e=>(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-slider-item-wrapper glide__slide",tabIndex:"0",children:(0,k.jsxs)("figure",{children:[(0,k.jsx)("img",{className:"wp-block-themeisle-blocks-slider-item",src:e.url,alt:e.alt,title:e.alt,"data-id":e.id},e.id),!d.RichText.isEmpty(e.caption)&&(0,k.jsx)(d.RichText.Content,{tagName:"figcaption",value:e.caption})]})})))}),(0,k.jsx)(la,{attributes:e})]})})}}];var ia=aa;const ra={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:e=>{let{align:t}=e[0];t=(0,H.every)(e,["align",t])?t:void 0;const o=(0,H.filter)(e,(({url:e})=>e));return(0,s.createBlock)("themeisle-blocks/slider",{images:o.map((({id:e,url:t,alt:o,caption:l})=>({id:e,url:t,alt:o,caption:l}))),align:t})}},{type:"block",blocks:["core/gallery"],transform:({images:e,align:t},o)=>window.themeisleGutenberg?.isLegacyPre59?(0,s.createBlock)("themeisle-blocks/slider",{images:e.map((({id:e,url:t,alt:o,caption:l})=>({id:e,url:t,alt:o,caption:l}))),align:t}):(0,s.createBlock)("themeisle-blocks/slider",{images:o.map((({attributes:e})=>({id:e.id,url:e.url,alt:e.alt,caption:e.caption}))),align:t})}],to:[{type:"block",blocks:["core/image"],transform:({images:e,align:t})=>0<e.length?e.map((({id:e,url:o,alt:l,caption:a})=>(0,s.createBlock)("core/image",{id:e,url:o,alt:l,caption:a,align:t}))):(0,s.createBlock)("core/image",{align:t})},{type:"block",blocks:["core/gallery"],transform:({images:e,align:t})=>window.themeisleGutenberg?.isLegacyPre59?(0,s.createBlock)("core/gallery",{images:e.map((({id:e,url:t,alt:o,caption:l})=>({id:e,url:t,alt:o,caption:l}))),align:t}):(0,s.createBlock)("core/gallery",{align:t},e.map((({id:e,url:o,alt:l,caption:a})=>(0,s.createBlock)("core/image",{id:e,url:o,alt:l,caption:a,align:t}))))}]};var na=ra,ca=({labels:e,icon:t,isAppender:o=!1,value:l={},onSelectImages:s})=>{const a=(0,H.debounce)(s,250);return(0,k.jsx)(d.MediaPlaceholder,{labels:e,icon:t,accept:"image/*",allowedTypes:["image"],isAppender:o,className:"wp-block-themeisle-blocks-slider-uploader",value:l,onSelect:a,multiple:!0})},da=({attributes:e,setAttributes:t,onSelectImages:o,changePerView:s})=>{var a;const[i,r]=(0,y.useTabSwitch)(e.id,"settings"),{responsiveSetAttributes:n,responsiveGetAttributes:c}=(0,m.d)(t);return(0,k.jsxs)(d.InspectorControls,{children:[(0,k.jsx)(h.R7,{value:i,options:[{label:(0,l.__)("Settings","otter-blocks"),value:"settings"},{label:(0,l.__)("Style","otter-blocks"),value:"style"}],onChange:r}),"settings"===i&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.PanelBody,{title:(0,l.__)("Slides","otter-blocks"),children:e.images.length&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Slides Per Page","otter-blocks"),help:(0,l.__)("A number of visible slides.","otter-blocks"),value:e.perView,onChange:s,min:1,max:ma(e?.images?.length)}),1<e.perView&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Gap","otter-blocks"),help:(0,l.__)("A size of the space between slides.","otter-blocks"),value:e.gap,onChange:e=>t({gap:Number(e)}),min:0,max:100}),(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Peek","otter-blocks"),help:(0,l.__)("The value of the future slides which have to be visible in the current slide.","otter-blocks"),value:e.peek,onChange:e=>t({peek:Number(e)}),min:0,max:100})]}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Hide Arrows","otter-blocks"),help:(0,l.__)("Hide navigation arrows.","otter-blocks"),checked:e.hideArrows,onChange:()=>t({hideArrows:!e.hideArrows})}),(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Hide Pagination","otter-blocks"),help:(0,l.__)("Hide navigation bullets.","otter-blocks"),checked:e.hideBullets,onChange:()=>t({hideBullets:!e.hideBullets})})]})}),(0,k.jsx)(p.PanelBody,{title:(0,l.__)("Images","otter-blocks"),initialOpen:!1,children:(0,k.jsx)(h.Kl,{attributes:e,onSelectImages:o})}),(0,k.jsx)(p.PanelBody,{title:(0,l.__)("Autoplay","otter-blocks"),initialOpen:!1,children:e.images.length&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Autoplay","otter-blocks"),help:(0,l.__)("Autoplay slider in the front.","otter-blocks"),checked:e.autoplay,onChange:()=>t({autoplay:!e.autoplay})}),e.autoplay&&(0,k.jsx)(p.RangeControl,{label:(0,l.__)("Delay","otter-blocks"),help:(0,l.__)("Delay in slide change (in seconds).","otter-blocks"),value:e.delay,onChange:e=>t({delay:e}),min:1,max:10,allowReset:!0})]})}),(0,k.jsx)(h.Cu,{})]}),"style"===i&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.PanelBody,{title:(0,l.__)("Dimensions and Motion","otter-blocks"),children:e.images.length&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)(h.k3,{label:(0,l.__)("Height","otter-blocks"),children:[(0,k.jsx)(p.__experimentalUnitControl,{value:c([(0,g.ws)(e.height),e.heightTablet,e.heightMobile]),onChange:e=>n(e,["height","heightTablet","heightMobile"])}),(0,k.jsx)(h.k2,{values:["height","heightTablet","heightMobile"],setAttributes:t})]}),(0,k.jsx)(p.__experimentalUnitControl,{label:(0,l.__)("Width","otter-blocks"),value:e.width,onChange:e=>t({width:e})}),(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Transition","otter-blocks"),value:e.transition||"ease",options:[{label:(0,l.__)("Linear","otter-blocks"),value:"linear"},{label:(0,l.__)("Ease","otter-blocks"),value:"ease"},{label:(0,l.__)("Ease In","otter-blocks"),value:"ease-in"},{label:(0,l.__)("Ease In Out","otter-blocks"),value:"ease-in-out"},{label:(0,l.__)("Bounce","otter-blocks"),value:"cubic-bezier(0.680, -0.550, 0.265, 1.550)"}],onChange:e=>t({transition:"ease"!==e?e:void 0})})]})}),(0,k.jsx)(d.PanelColorSettings,{title:(0,l.__)("Color","otter-blocks"),initialOpen:!1,colorSettings:[{value:e.arrowsColor,onChange:e=>t({arrowsColor:e}),label:(0,l.__)("Arrows","otter-blocks"),isShownByDefault:!1},{value:e.arrowsBackgroundColor,onChange:e=>t({arrowsBackgroundColor:e}),label:(0,l.__)("Arrows Background","otter-blocks"),isShownByDefault:!1},{value:e.paginationColor,onChange:e=>t({paginationColor:e}),label:(0,l.__)("Pagination","otter-blocks"),isShownByDefault:!1},{value:e.paginationActiveColor,onChange:e=>t({paginationActiveColor:e}),label:(0,l.__)("Pagination Active","otter-blocks"),isShownByDefault:!1},{value:null!==(a=e.borderColor)&&void 0!==a?a:e.borderWidth?"#000000":void 0,onChange:e=>t({borderColor:e}),label:(0,l.__)("Border","otter-blocks"),isShownByDefault:!1}]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Border","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.__experimentalUnitControl,{label:(0,l.__)("Width","otter-blocks"),value:e.borderWidth,onChange:e=>t({borderWidth:e})}),(0,k.jsx)(h.k2,{values:["borderWidth"],setAttributes:t}),(0,k.jsx)("br",{}),(0,k.jsx)(p.__experimentalUnitControl,{label:(0,l.__)("Radius","otter-blocks"),value:e.borderRadius,onChange:e=>t({borderRadius:e})}),(0,k.jsx)(h.k2,{values:["borderRadius"],setAttributes:t})]})]})]})},ba=o(3988),ua=o(6655),pa=({images:e,image:t,index:o,isFirstItem:s,isLastItem:a,isSelected:i,setAttributes:r,setSelectedImage:c})=>{const u=(t,o)=>{const l=[...e];l.splice(o,1,e[t]),l.splice(t,1,e[o]),c(o),r({images:l})};return(0,k.jsx)("div",{className:n()("wp-block-themeisle-blocks-slider-item-wrapper glide__slide",{"is-selected":i}),tabIndex:"0",onClick:()=>c(t.id),onFocus:()=>c(t.id),children:(0,k.jsxs)("figure",{children:[(0,k.jsx)("img",{className:"wp-block-themeisle-blocks-slider-item",src:t.url,alt:t.alt,title:t.alt,"data-id":t.id},t.id),i&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)("div",{className:"wp-block-themeisle-blocks-slider-item-move-menu",children:[(0,k.jsx)(p.Button,{icon:(0,k.jsx)(St.A,{icon:ba.A}),label:(0,l.__)("Move image backward","otter-blocks"),showTooltip:!0,onClick:s?void 0:()=>{0!==o&&u(o,o-1)},className:"wp-block-themeisle-blocks-slider-item-move-backward","aria-disabled":s,disabled:!i}),(0,k.jsx)(p.Button,{icon:(0,k.jsx)(St.A,{icon:ua.A}),label:(0,l.__)("Move image forward","otter-blocks"),showTooltip:!0,onClick:a?void 0:()=>{o!==e.length-1&&u(o,o+1)},className:"wp-block-themeisle-blocks-slider-item-move-forward","aria-disabled":a,disabled:!i})]}),(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-slider-item-delete-menu",children:(0,k.jsx)(p.Button,{icon:(0,k.jsx)(St.A,{icon:_l.A}),label:(0,l.__)("Remove image","otter-blocks"),showTooltip:!0,onClick:()=>{const t=(0,H.filter)(e,((e,t)=>o!==t));c(null),r({images:t})},className:"wp-block-themeisle-blocks-slider-item-delete"})})]}),(i||!d.RichText.isEmpty(t.caption))&&(0,k.jsx)(d.RichText,{tagName:"figcaption",placeholder:i?(0,l.__)("Write caption…","otter-blocks"):null,value:t.caption,onChange:t=>{const l=[...e];l[o].caption=t,r({images:l})},multiline:!1})]})})};const{attributes:ha}=ea,ga={root:null,rootMargin:"0px",threshold:[0]},ma=e=>(0,H.max)([Math.round((null!=e?e:0)/2),1]);const{name:ya}=ea;(0,s.registerBlockType)(ya,{...ea,title:(0,l.__)("Image Slider","otter-blocks"),description:(0,l.__)("Minimal image slider to showcase beautiful images. Powered by Otter.","otter-blocks"),icon:i.sliderIcon,keywords:["slider","gallery","carousel"],deprecated:ia,transforms:na,edit:({attributes:e,setAttributes:t,clientId:o,isSelected:s})=>{const a=(0,b.useRef)(null),i=(0,b.useRef)(null),r=(0,b.useRef)(null);(0,b.useEffect)((()=>{try{var l;if(void 0===e.width)0<(null!==(l=(0,u.select)("core/block-editor")?.getBlockParentsByBlockName?.(o,"themeisle-blocks/advanced-columns",!0))&&void 0!==l?l:[]).length&&t({width:"650px"})}catch(e){console.error(e)}}),[]),(0,b.useEffect)((()=>{const t=(0,y.blockInit)(o,ha);return()=>{t(e.id)}}),[e.id]),(0,b.useEffect)((()=>(r.current&&(a.current=new IntersectionObserver((t=>{t.forEach((t=>{t.isIntersecting&&0<=t.intersectionRect.height&&e.images&&0<e.images.length&&(h(),a.current?.unobserve(r.current))}))}),ga),a.current?.observe(r.current)),()=>{e?.images?.length&&i?.current?.destroy(),a.current?.disconnect()})),[e.id]),(0,b.useEffect)((()=>{e.images&&0<e.images.length&&e.id&&(p(null),h())}),[s,e.id,i.current,e.images,e.width]),(0,b.useEffect)((()=>{e.images.length&&e.perView>e.images.length&&f(ma(e?.images?.length))}),[e.images]);const{responsiveGetAttributes:n}=(0,m.d)(),[c,p]=(0,b.useState)(null),h=()=>{var t;Boolean(i.current)&&(i.current?.destroy?.(),i.current=void 0);const o=(0,y.getEditorIframe)(),l={type:"carousel",keyboard:!1,perView:e.perView,gap:e.gap,peek:e.peek,autoplay:!1,animationTimingFunc:e.transition||"ease",direction:window.themeisleGutenberg.isRTL?"rtl":"ltr",breakpoints:{800:{perView:1,peek:0,gap:0}}};if(Boolean(null!==(t=document.querySelector(`#${e.id}`))&&void 0!==t?t:o?.contentDocument?.querySelector(`#${e.id}`)))try{if(Boolean(o)){const e=()=>{o?.contentWindow?.Glide&&(i.current=new o.contentWindow.Glide(r.current,l).mount())};Boolean(o.contentDocument?.querySelector("#glidejs-js"))?e():(0,y.copyScriptAssetToIframe)("#glidejs-js",e)}else i.current=new window.Glide(r.current,l).mount()}catch(e){console.warn(e)}},x=e=>{t({images:e.map((e=>({id:e.id,url:e.url,alt:e.alt,caption:e.caption})))})},f=o=>{t({perView:Number(o),gap:1===o?0:e.gap,peek:1===o?0:e.peek})};(0,b.useEffect)((()=>{var t,o,l,s;Boolean(i?.current?.update)&&i.current.update({perView:null!==(t=e.perView)&&void 0!==t?t:1,gap:null!==(o=e.gap)&&void 0!==o?o:0,peek:null!==(l=e.peek)&&void 0!==l?l:0,animationTimingFunc:null!==(s=e.transition)&&void 0!==s?s:"ease"})}),[i.current,e.gap,e.peek,e.transition,e.perView]);const v={"--arrows-color":e.arrowsColor,"--arrows-background-color":e.arrowsBackgroundColor,"--pagination-color":e.paginationColor,"--pagination-active-color":e.paginationActiveColor,"--border-color":e.borderColor,"--border-width":e.borderWidth,"--border-radius":e.borderRadius,"--width":e.width},_=(0,d.useBlockProps)();return Array.isArray(e.images)&&!e.images.length?(0,k.jsx)("div",{..._,children:(0,k.jsx)(ca,{labels:{title:(0,l.__)("Image Slider","otter-blocks"),instructions:(0,l.__)("Drag images, upload new ones or select files from your library.","otter-blocks")},icon:"images-alt2",onSelectImages:x})}):(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(da,{attributes:e,setAttributes:t,onSelectImages:x,changePerView:f}),(0,k.jsxs)("div",{..._,children:[(0,k.jsx)("div",{id:e.id,className:"glide",style:v,ref:r,children:(0,k.jsxs)("div",{className:"glide__track","data-glide-el":"track",children:[(0,k.jsx)("div",{className:"glide__slides",style:{height:n([(0,g.ws)(e.height),e.heightTablet,e.heightMobile])},children:e.images.map(((o,l)=>(0,k.jsx)(pa,{images:e.images,image:o,index:l,isFirstItem:0===l,isLastItem:l+1===e.images.length,isSelected:s&&o.id===c,setAttributes:t,setSelectedImage:p},o.url)))}),(0,k.jsx)(la,{attributes:e})]})}),s&&(0,k.jsx)(ca,{labels:{title:"",instructions:""},icon:null,onSelectImages:x,isAppender:!0,value:e.images})]})]})},save:({attributes:e})=>{const t=e.autoplay&&2!==e.delay?1e3*e.delay:e.autoplay,o=d.useBlockProps.save({id:e.id,className:"glide","data-per-view":e.perView,"data-gap":e.gap,"data-peek":e.peek,"data-autoplay":t,"data-height":(0,g.ws)(e.height),"data-hide-arrows":e.hideArrows,...e.transition&&{"data-transition":e.transition}});return(0,k.jsx)("div",{...o,children:(0,k.jsxs)("div",{className:"glide__track","data-glide-el":"track",children:[(0,k.jsx)("div",{className:"glide__slides",children:e.images.map((e=>(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-slider-item-wrapper glide__slide",tabIndex:"0",children:(0,k.jsxs)("figure",{children:[(0,k.jsx)("img",{className:"wp-block-themeisle-blocks-slider-item",src:e.url,alt:e.alt,title:e.alt,"data-id":e.id}),!d.RichText.isEmpty(e.caption)&&(0,k.jsx)(d.RichText.Content,{tagName:"figcaption",value:e.caption})]})},e.id)))}),(0,k.jsx)(oa,{attributes:e})]})})},example:{attributes:{images:[{id:1,url:"https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg"},{id:2,url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"}]}}});var ka=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/stripe-checkout","title":"Stripe Checkout","category":"themeisle-blocks","description":"A Stripe Checkout to sell your products on your website without any hassle. Powered by Otter.","keywords":["stripe","checkout","payment"],"textdomain":"otter-blocks","attributes":{"product":{"type":"string"},"price":{"type":"string"},"successMessage":{"type":"string"},"cancelMessage":{"type":"string"},"autoresponder":{"type":"object"}},"supports":{"html":false},"editorStyle":"otter-stripe-checkout-editor","style":"otter-stripe-checkout-style"}'),xa=o(8690);const fa=()=>(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Autoresponder","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.TextControl,{label:(0,l.__)("Autoresponder Subject","otter-blocks"),placeholder:(0,l.__)("Thank you for your purchase","otter-blocks"),disabled:!0,help:(0,l.__)("Enter the subject of the autoresponder email.","otter-blocks"),className:"o-disabled"}),(0,k.jsx)(p.TextareaControl,{label:(0,l.__)("Autoresponder Body","otter-blocks"),placeholder:(0,l.__)('We appreciate your recent purchase made on our website. You have received a promotional code, namely <strong>EXAMPLE</strong>, which can be applied during checkout on our <a href="https://themeisle.com/plugins/otter-blocks/">website</a>',"otter-blocks"),rows:2,help:(0,l.__)("Enter the body of the autoresponder email.","otter-blocks"),disabled:!0,className:"o-disabled"}),!Boolean(window?.otterPro?.isActive)&&Boolean(window?.themeisleGutenberg?.hasPro)&&(0,k.jsx)(h.$T,{notice:(0,l.__)("You need to activate Otter Pro.","otter-blocks"),instructions:(0,l.__)("You need to activate your Otter Pro license to use Pro features of Stripe Checkout.","otter-blocks")}),!Boolean(window?.themeisleGutenberg?.hasPro)&&(0,k.jsxs)("div",{children:[(0,k.jsx)(h.$T,{notice:(0,k.jsx)(p.ExternalLink,{href:(0,g.lY)(window.themeisleGutenberg.upgradeLink,"form-block"),children:(0,l.__)("Unlock this with Otter Pro.","otter-blocks")}),variant:"upsell"}),(0,k.jsx)("p",{className:"description",children:(0,l.__)("Automatically send follow-up emails to your users with the Autoresponder feature.","otter-blocks")})]})]});var va=({attributes:e,setAttributes:t,view:o,setView:s,isLoadingProducts:a,productsList:i,isLoadingPrices:r,pricesList:n,apiKey:c,setAPIKey:u,saveApiKey:g,status:m})=>{var y,x;const[f,v]=(0,b.useState)(!1);return(0,k.jsxs)(d.InspectorControls,{children:[(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Settings","otter-blocks"),children:[!a&&(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Select a product to display.","otter-blocks"),value:e.product,options:[{label:(0,l.__)("Select a product","otter-blocks"),value:"none"},...i],onChange:e=>{window.oTrk?.add({feature:"stripe-checkout",featureComponent:"product-changed"}),t({product:"none"!==e?e:void 0,price:void 0})}}),!r&&e.product&&(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Select the price you want to display.","otter-blocks"),value:e.price,options:[{label:(0,l.__)("Select a price","otter-blocks"),value:"none"},...n],onChange:e=>{window.oTrk?.add({feature:"stripe-checkout",featureComponent:"price-changed"}),t({price:"none"!==e?e:void 0})}}),(a||r)&&(0,k.jsx)(p.Placeholder,{children:(0,k.jsx)(p.Spinner,{})})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Success & Cancel Messages","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(h.Aw,{label:(0,l.__)("View","otter-blocks"),value:o,options:[{label:(0,l.__)("Default","otter-blocks"),value:"default"},{label:(0,l.__)("Success","otter-blocks"),value:"success"},{label:(0,l.__)("Cancel","otter-blocks"),value:"cancel"}],onChange:s}),f&&(0,k.jsxs)(p.Modal,{title:(0,l.__)("Stripe Messages","otter-blocks"),onRequestClose:()=>v(!1),shouldCloseOnClickOutside:!1,children:[(0,k.jsx)(h.dS,{label:(0,l.__)("Success Message","otter-blocks"),value:null!==(y=e.successMessage)&&void 0!==y?y:(0,l.__)("Your payment was successful. If you have any questions, please email orders@example.com.","otter-blocks"),onChange:e=>t({successMessage:e}),allowRawHTML:!0}),(0,k.jsx)(h.dS,{label:(0,l.__)("Cancel Message","otter-blocks"),value:null!==(x=e.cancelMessage)&&void 0!==x?x:(0,l.__)("Your payment was unsuccessful. If you have any questions, please email orders@example.com.","otter-blocks"),onChange:e=>t({cancelMessage:e}),allowRawHTML:!0})]}),(0,k.jsx)(p.Button,{variant:"secondary",onClick:()=>v(!0),children:(0,l.__)("Open Editor","otter-blocks")})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Global Settings","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.TextControl,{label:(0,l.__)("Change Stripe API Key","otter-blocks"),type:"text",placeholder:(0,l.__)("Type a new Stripe API Key","otter-blocks"),value:c,className:"components-placeholder__input",autoComplete:"off",onChange:u,help:(0,l.__)("Changing the API key effects all Stripe Checkout blocks. You will have to refresh the page after changing your API keys.","otter-blocks")}),(0,k.jsx)(p.Button,{isSecondary:!0,type:"submit",onClick:g,isBusy:"loading"===m,children:(0,l.__)("Save API Key","otter-blocks")})]}),(0,Ae.applyFilters)("otter.stripe-checkout.inspector",(0,k.jsx)(fa,{}),e,t)]})},_a=o(886);const{name:wa}=ka;(0,s.registerBlockType)(wa,{...ka,title:(0,l.__)("Stripe Checkout","otter-blocks"),description:(0,l.__)("A Stripe Checkout to sell your products on your website without any hassle. Powered by Otter.","otter-blocks"),icon:i.cartIcon,keywords:["stripe","checkout","payment"],edit:({attributes:e,setAttributes:t})=>{const[o,s,a]=(0,_a.A)(),[i,r]=(0,b.useState)(!1);(0,b.useEffect)((()=>{if("loaded"===a){const e=o("themeisle_stripe_api_key");r("loaded"===a&&0<e?.length)}}),[a,o]);const{products:c,productsList:h,hasProductsRequestFailed:g,productsError:m,isLoadingProducts:y}=(0,u.useSelect)((e=>{const{getStripeProducts:t,getResolutionError:o,isResolving:l}=e("themeisle-gutenberg/data"),s=t();return{products:s,productsList:s?s?.map((e=>({label:`${e?.name} (id:${e?.id})`,value:e?.id}))):[],hasProductsRequestFailed:Boolean(o?.("getStripeProducts")),productsError:o?.("getStripeProducts"),isLoadingProducts:l?.("getStripeProducts")}}),[i,a]),{prices:x,pricesList:f,hasPricesRequestFailed:v,pricesError:_,isLoadingPrices:w}=(0,u.useSelect)((t=>{if(!i)return{prices:[],pricesList:[],hasPricesRequestFailed:!0,pricesError:null,isLoadingPrices:!1};const{getStripeProductPrices:o,getResolutionError:l,isResolving:s}=t("themeisle-gutenberg/data"),a=e.product?o?.(e.product):[];return{prices:a,pricesList:a?a?.map((e=>({label:`${e?.currency} ${e?.unit_amount} (id:${e?.id})`,value:e?.id}))):[],hasPricesRequestFailed:Boolean(l?.("getStripeProductPrices",[e.product])),pricesError:l?.("getStripeProductPrices",[e.product]),isLoadingPrices:s?.("getStripeProductPrices",[e.product])}}),[e.product,i]),[C,j]=(0,b.useState)("default"),[S,T]=(0,b.useState)({});(0,b.useEffect)((()=>{const t=c?.find((t=>e.product===t.id)),o=x?.find((t=>e.price===t.id));let l;o?.unit_amount&&(l=o?.unit_amount/100,l=l.toLocaleString("en-US",{style:"currency",currency:o?.currency})),T({name:t?.name,price:l,description:t?.description,image:t?.images?.[0]||void 0})}),[c,x,e.price]);const B=y||w||g||v||void 0===e.product||void 0===e.price||"loaded"!==a||!i,M=(0,d.useBlockProps)({className:n()({"is-placeholder":B})}),[P,z]=(0,b.useState)(""),A=()=>{(0,u.dispatch)("themeisle-gutenberg/data").invalidateResolutionForStoreSelector("getStripeProducts"),(0,u.dispatch)("themeisle-gutenberg/data").invalidateResolutionForStoreSelector("getStripeProductPrices"),r(0<P?.length),z("")},F=()=>{r(!1),s("themeisle_stripe_api_key",P?.replace?.(/\s/g,""),(0,l.__)("Stripe API Key saved!","otter-blocks"),"stripe-api-key",A)};return B?(0,k.jsx)("div",{...M,children:(0,k.jsxs)(p.Placeholder,{icon:xa.A,label:(0,l.__)("Stripe Checkout","otter-blocks"),children:[("loading"===a||"saving"===a)&&(0,k.jsxs)("div",{style:{width:"100%"},children:[(0,k.jsx)(p.Spinner,{}),(0,l.__)("Checking the API Key…","otter-blocks"),(0,k.jsx)("br",{}),(0,k.jsx)("br",{})]}),(g||v)&&"loaded"===a&&(m?.message?.length||_?.message?.length)&&(0,k.jsx)("div",{style:{width:"100%",marginLeft:"-15px",marginBottom:"10px"},children:(0,k.jsx)(p.Notice,{status:"error",isDismissible:!1,children:g&&m?.message||v&&_?.message})}),"loaded"===a&&(g&&m?.message?.includes("Invalid API Key")||!i)&&(0,k.jsxs)("div",{style:{display:"flex",flexDirection:"column"},children:[(0,k.jsx)(p.TextControl,{label:(0,l.__)("Stripe API Key","otter-blocks"),type:"text",placeholder:(0,l.__)("Type here the Stripe API Key","otter-blocks"),value:P,className:"components-placeholder__input",onChange:z,autoComplete:"off"}),(0,k.jsx)("div",{children:(0,k.jsx)(p.Button,{isPrimary:!0,type:"submit",onClick:()=>{window.oTrk?.add({feature:"stripe",featureComponent:"api-key"}),F()},children:(0,l.__)("Save","otter-blocks")})}),(0,k.jsx)("br",{}),(0,k.jsx)(p.ExternalLink,{href:window.themeisleGutenberg.optionsPath,children:(0,l.__)("You can also set it from Dashboard","otter-blocks")})]}),"error"===a&&(0,k.jsx)(b.Fragment,{children:(0,l.__)("An error occurred during API Key checking.","otter-blocks")}),"loaded"===a&&!1===g&&i&&(0,k.jsxs)(b.Fragment,{children:[!y&&(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Select a product to display.","otter-blocks"),value:e.product,options:[{label:(0,l.__)("Select a product","otter-blocks"),value:"none"},...h],onChange:e=>{window.oTrk?.add({feature:"stripe-checkout",featureComponent:"product-changed"}),t({product:"none"!==e?e:void 0})}}),!w&&e.product&&(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Select the price you want to display.","otter-blocks"),value:e.price,options:[{label:(0,l.__)("Select a price","otter-blocks"),value:"none"},...f],onChange:e=>{window.oTrk?.add({feature:"stripe-checkout",featureComponent:"price-changed"}),t({price:"none"!==e?e:void 0})}}),(y||w)&&(0,k.jsx)(p.Placeholder,{children:(0,k.jsx)(p.Spinner,{})})]})]})}):(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(va,{attributes:e,setAttributes:t,view:C,setView:j,isLoadingProducts:y,productsList:h,isLoadingPrices:w,pricesList:f,apiKey:P,setAPIKey:z,saveApiKey:F,status:a}),(0,k.jsxs)("div",{...M,children:["default"===C&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)("div",{className:"o-stripe-checkout",children:[void 0!==S?.image&&(0,k.jsx)("img",{src:S.image,alt:S?.description}),(0,k.jsxs)("div",{className:"o-stripe-checkout-description",children:[(0,k.jsx)("h3",{children:S?.name}),(0,k.jsx)("h5",{children:S?.price})]})]}),(0,k.jsx)("a",{children:(0,l.__)("Checkout","otter-blocks")})]}),"success"===C&&(e.successMessage||(0,l.__)("Your payment was successful. If you have any questions, please email orders@example.com.","otter-blocks")),"cancel"===C&&(e.cancelMessage||(0,l.__)("Your payment was unsuccessful. If you have any questions, please email orders@example.com.","otter-blocks"))]})]})},save:()=>null,supports:{html:!1}});var Ca=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/tabs","title":"Tabs","category":"themeisle-blocks","description":"Organize and allow navigation between groups of content with Tabs block. Powered by Otter.","keywords":["media","tabs","select"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"borderColor":{"type":"string"},"borderWidth":{"type":["number","object"]},"borderRadius":{"type":"object"},"titleBorderWidth":{"type":"object"},"titleColor":{"type":"string"},"tabColor":{"type":"string"},"activeTitleColor":{"type":"string"},"activeTitleBackgroundColor":{"type":"string"},"activeBorderColor":{"type":"string"},"contentTextColor":{"type":"string"},"titleBackgroundColor":{"type":"string"},"titlePadding":{"type":"object"},"contentPadding":{"type":"object"},"titleFontSize":{"type":"string"},"titleAlignment":{"type":"string"},"isSynced":{"type":"array","default":[]}},"supports":{"align":["left","center","right"]},"editorStyle":"otter-tabs-editor","style":"otter-tabs-style","script":"otter-tabs"}');const ja=(0,Tt.D)((()=>(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-tabs-inspector-tab-option__drag",tabIndex:"0",children:(0,k.jsx)("span",{})}))),Sa=(0,Tt.Zj)((({tab:e,deleteTab:t,selectTab:o})=>(0,k.jsxs)("div",{className:"wp-block-themeisle-blocks-tabs-inspector-tab-option",children:[(0,k.jsx)(ja,{}),(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-tabs-inspector-tab-option__name",children:e.attributes.title||(0,l.__)("Untitled Tab","otter-blocks")}),(0,k.jsx)(p.Button,{icon:"edit",label:(0,l.__)("Edit Tab","otter-blocks"),showTooltip:!0,className:"wp-block-themeisle-blocks-tabs-inspector-tab-option__actions",onClick:()=>o(e.clientId)}),(0,k.jsx)(p.Button,{icon:"no-alt",label:(0,l.__)("Remove Tab","otter-blocks"),showTooltip:!0,className:"wp-block-themeisle-blocks-tabs-inspector-tab-option__actions",onClick:()=>t(e.clientId)})]}))),Ta=[{label:(0,l.__)("Default","otter-blocks"),value:"default",isDefault:!0},{label:(0,l.__)("Border","otter-blocks"),value:"border"},{label:(0,l.__)("Boxed","otter-blocks"),value:"boxed"}];var Ba=({attributes:e,setAttributes:t,children:o,deleteTab:s,selectTab:a,addTab:i,moveTab:r})=>{var n,c,m,x,f,v,_,w,C,j;const[S,T]=(0,b.useState)(o.find((e=>!0===e.attributes.defaultOpen))?.clientId),{updateBlockAttributes:B}=(0,u.useDispatch)("core/block-editor"),{getBlock:M}=(0,u.useSelect)((e=>e("core/block-editor")));(0,b.useEffect)((()=>{T(o.find((e=>!0===e.attributes.defaultOpen))?.clientId)}),[o]);const P=e=>{!0===M(e).attributes.defaultOpen&&B(o[0].clientId,{defaultOpen:!0}),s(e)},z=(0,Tt.q6)((({items:e})=>(0,k.jsx)("div",{children:e.map(((e,t)=>(0,k.jsx)(Sa,{tab:e,index:t,deleteTab:P,selectTab:a},e.clientId)))}))),A=o.map(((e,t)=>({label:`${t+1}. ${e.attributes.title||(0,l.__)("Untitled Tab","otter-blocks")}`,value:e.clientId}))),[F,L]=(0,y.useTabSwitch)(e.id,"settings");return(0,k.jsx)(d.InspectorControls,{children:(0,k.jsxs)("div",{children:[(0,k.jsx)(h.R7,{value:F,options:[{label:(0,l.__)("Settings","otter-blocks"),value:"settings"},{label:(0,l.__)("Style","otter-blocks"),value:"style"}],onChange:L}),"settings"===F&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.PanelBody,{title:(0,l.__)("Tabs Settings","otter-blocks"),children:"left"!==e.tabsPosition&&(0,k.jsx)(p.BaseControl,{label:(0,l.__)("Alignment","otter-blocks"),children:(0,k.jsx)(h.l,{value:null!==(n=e.titleAlignment)&&void 0!==n?n:"left",onChange:e=>t({titleAlignment:e}),options:[{icon:D.A,label:(0,l.__)("Left","otter-blocks"),value:"left"},{icon:G.A,label:(0,l.__)("Center","otter-blocks"),value:"center"},{icon:E.A,label:(0,l.__)("Right","otter-blocks"),value:"right"},{icon:ee.A,label:(0,l.__)("Full","otter-blocks"),value:"full"}],hasIcon:!0})})}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Tabs Management","otter-blocks"),children:[(0,k.jsx)("p",{children:(0,l.__)("Press and hold to use drag and drop to sort the tabs","otter-blocks")}),0<o?.length&&(0,k.jsx)(z,{items:o,onSortEnd:({oldIndex:e,newIndex:t})=>{r(o[e].clientId,t)},useDragHandle:!0,axis:"y",lockAxis:"y"}),(0,k.jsx)(p.Button,{isSecondary:!0,className:"wp-block-themeisle-blocks-tabs-inspector-add-tab",onClick:i,children:(0,l.__)("Add Tab","otter-blocks")}),(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Initial Tab","otter-blocks"),value:S,options:A,onChange:e=>{o.forEach(((e,t)=>{B(o[t].clientId,{defaultOpen:!1})})),B(e,{defaultOpen:!0}),T(e)}})]})]}),"style"===F&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.PanelBody,{title:(0,l.__)("Style variations","otter-blocks"),children:(0,k.jsx)(p.BaseControl,{label:(0,l.__)("Select a style","otter-blocks"),children:(0,k.jsx)(h.l,{value:(0,g.qL)(Ta,e.className),onChange:o=>{const l=(0,g.c5)(e?.className,Ta,o)||void 0;t({className:l})},options:[{label:(0,l.__)("Default","otter-blocks"),value:"default"},{label:(0,l.__)("Border","otter-blocks"),value:"border"},{label:(0,l.__)("Boxed","otter-blocks"),value:"boxed"}],hasIcon:!1})})}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Typography","otter-blocks"),children:[(0,k.jsx)(h.ax,{isSynced:e.isSynced,setAttributes:t,options:[{label:(0,l.__)("Font Size","otter-blocks"),value:"titleFontSize"}]}),(0,k.jsx)(se,{attr:"titleFontSize",attributes:e,children:(0,k.jsx)(p.FontSizePicker,{fontSizes:[{name:(0,l.__)("Extra Small","otter-blocks"),icon:"small",size:"14px"},{name:(0,l.__)("Small","otter-blocks"),slug:"small",size:"16px"},{name:(0,l.__)("Medium","otter-blocks"),slug:"medium",size:"18px"},{name:(0,l.__)("Large","otter-blocks"),slug:"large",size:"24px"},{name:(0,l.__)("Extra Large","otter-blocks"),slug:"extra-large",size:"28px"}],value:e.titleFontSize,onChange:e=>t({titleFontSize:e})})})]}),(0,k.jsx)(h.T$,{label:(0,l.__)("Colors","otter-blocks"),isSynced:null!==(c=e.isSynced)&&void 0!==c?c:[],initialOpen:!1,setAttributes:t,options:[{value:e.titleBackgroundColor,label:(0,l.__)("Title Background","otter-blocks"),slug:"titleBackgroundColor"},{value:e.activeTitleBackgroundColor,label:(0,l.__)("Active Title Background","otter-blocks"),slug:"activeTitleBackgroundColor"},{value:null!==(m=null!==(x=e.titleColor)&&void 0!==x?x:e.tabColor)&&void 0!==m?m:"white",label:(0,l.__)("Title","otter-blocks"),slug:"titleColor"},{value:e.activeTitleColor,label:(0,l.__)("Active Title","otter-blocks"),slug:"activeTitleColor"},{value:e.contentTextColor,label:(0,l.__)("Content Text","otter-blocks"),slug:"contentTextColor"},{value:null!==(f=e.tabColor)&&void 0!==f?f:"white",label:(0,l.__)("Content Background","otter-blocks"),slug:"tabColor"},{value:e.borderColor,label:(0,l.__)("Border","otter-blocks"),slug:"borderColor"},{value:e.activeBorderColor,label:(0,l.__)("Active Border","otter-blocks"),slug:"activeBorderColor"}]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Dimensions(Layout)","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(h.ax,{isSynced:e.isSynced,setAttributes:t,options:[{label:(0,l.__)("Title Padding","otter-blocks"),value:"titlePadding"},{label:(0,l.__)("Content Padding","otter-blocks"),value:"contentPadding"}]}),(0,k.jsx)(se,{attr:"titlePadding",attributes:e,children:(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Title Padding","otter-blocks"),values:null!==(v=e.titlePadding)&&void 0!==v?v:(0,$.eA)("16px"),onChange:e=>t({titlePadding:(0,g.lP)(e)?void 0:e})})}),(0,k.jsx)(se,{attr:"contentPadding",attributes:e,children:(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Content Padding","otter-blocks"),values:null!==(_=e.contentPadding)&&void 0!==_?_:(0,$.eA)("16px"),onChange:e=>t({contentPadding:(0,g.lP)(e)?void 0:e})})})]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Border","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(h.ax,{isSynced:e.isSynced,setAttributes:t,options:[{label:(0,l.__)("Title Border Width","otter-blocks"),value:"titleBorderWidth"},{label:(0,l.__)("Content Border Width","otter-blocks"),value:"borderWidth"}]}),(0,k.jsx)(se,{attr:"titleBorderWidth",attributes:e,children:(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Title Border Width","otter-blocks"),values:null!==(w=e.titleBorderWidth)&&void 0!==w?w:(0,g.f0)(null!==(C=e.borderWidth)&&void 0!==C?C:"3px"),onChange:e=>{t({titleBorderWidth:(0,g.lP)(e)?void 0:e})}})}),(0,k.jsx)(se,{attr:"borderWidth",attributes:e,children:(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Content Border Width","otter-blocks"),values:(0,g.f0)(null!==(j=e.borderWidth)&&void 0!==j?j:"3px"),onChange:e=>{t({borderWidth:(0,g.lP)(e)?void 0:e})}})})]})]})]})})},Ma=o(2391),Pa=({children:e,selectedTab:t,moveTab:o,selectTab:s})=>{const a=e?.findIndex((({clientId:e})=>e===t)),i=e=>{switch(e){case"left":o(t,a-1);break;case"right":o(t,a+1)}};return(0,k.jsxs)(d.BlockControls,{children:[(0,k.jsx)(p.ToolbarGroup,{label:(0,l.__)("Edit","otter-blocks"),children:(0,k.jsx)(p.ToolbarButton,{label:(0,l.__)("Edit tab","otter-blocks"),icon:Ma.A,iconSize:24,className:"wp-block-themeisle-blocks-tabs-toolbar-edit",onClick:()=>s(t)})}),(0,k.jsxs)(p.ToolbarGroup,{label:(0,l.__)("Movement","otter-blocks"),children:[(0,k.jsx)(p.ToolbarButton,{label:(0,l.__)("Move tab left","otter-blocks"),icon:ba.A,iconSize:24,disabled:0===a,className:"wp-block-themeisle-blocks-tabs-toolbar-mover",onClick:()=>i("left")}),(0,k.jsx)(p.ToolbarButton,{label:(0,l.__)("Move tab right","otter-blocks"),icon:ua.A,iconSize:24,disabled:e?.length-1===a,className:"wp-block-themeisle-blocks-tabs-toolbar-mover",onClick:()=>i("right")})]})]})};const{attributes:za}=Ca,Aa=({tag:e,title:t,onClick:o,active:s,onChangeTitle:a})=>(0,k.jsx)("div",{className:n()("wp-block-themeisle-blocks-tabs__header_item",{active:s}),onClick:o,children:(0,k.jsx)(d.RichText,{placeholder:(0,l.__)("Add title…","otter-blocks"),value:t,onChange:a,tagName:null!=e?e:"div",withoutInteractiveFormatting:!0,multiline:!1})}),Fa=({clientId:e,addTab:t})=>(0,k.jsx)("div",{className:"add-header-container",children:(0,k.jsx)("div",{className:"add-header-item",children:(0,k.jsx)(_,{buttonText:(0,l.__)("Add Tab","otter-blocks"),variant:"primary",allowedBlock:"themeisle-blocks/tabs-item",clientId:e,onClick:t})})});const{name:La}=Ca;(0,s.registerBlockType)(La,{...Ca,title:(0,l.__)("Tabs","otter-blocks"),description:(0,l.__)("Organize and allow navigation between groups of content with Tabs block. Powered by Otter.","otter-blocks"),icon:i.tabsIcon,keywords:["media","tabs","select"],edit:({attributes:e,setAttributes:t,isSelected:o,clientId:a,name:i})=>{(0,b.useEffect)((()=>{const t=(0,y.blockInit)(a,za);return()=>t(e.id)}),[e.id]);const r=(0,b.useRef)(null),c=t=>e?.isSynced?.includes(t)?(0,y.getDefaultValueByField)({name:i,field:t,defaultAttributes:za,attributes:e}):e?.[t],p=(0,u.useSelect)((e=>{const{getBlock:t}=e("core/block-editor");return t(a).innerBlocks}),[]),[h,x]=(0,b.useState)(p.find((e=>!0===e.attributes.defaultOpen))?.clientId),{insertBlock:f,removeBlock:v,selectBlock:_,moveBlockToPosition:w}=(0,u.useDispatch)("core/block-editor"),C=e=>{r.current&&(p.forEach((t=>{const o=r.current.querySelector(`#block-${t.clientId} > .wp-block-themeisle-blocks-tabs-item__content`),l=r.current.querySelector(`#block-${t.clientId} > .wp-block-themeisle-blocks-tabs-item__header`);o?.classList.toggle("active",t.clientId===e),l?.classList.toggle("active",t.clientId===e)})),x(e))};(0,b.useEffect)((()=>{C(h)}),[]),(0,b.useEffect)((()=>{0<p?.length&&(void 0!==h&&p?.some((e=>e.clientId===h))||C(p[0].clientId))}),[h,p]),(0,m.g)(e.tabColor,e,t);const j=e=>{if(0<p?.length){const t=p.find((t=>t.clientId===e));_(t.clientId)}},S=(e,t)=>{const o=p.find((t=>t.clientId===e))?.clientId;o&&w(o,a,a,t)},T=()=>{var e;const t=(0,s.createBlock)("themeisle-blocks/tabs-item",{title:(0,l.sprintf)(
// Translators: %d is the tab number.
// Translators: %d is the tab number.
(0,l.__)("Tab %d","otter-blocks"),(null!==(e=p?.length)&&void 0!==e?e:0)+1)});f(t,p?.length||0,a,!1)},B={"--title-border-width":(0,g._F)(c("titleBorderWidth")),"--border-width":(0,g._F)((0,g.ws)(c("borderWidth"))),"--border-color":c("borderColor"),"--title-color":c("titleColor"),"--title-background":c("titleBackgroundColor"),"--tab-color":c("tabColor"),"--active-title-color":c("activeTitleColor"),"--active-title-background":c("activeTitleBackgroundColor"),"--active-title-border-color":c("activeBorderColor"),"--content-text-color":c("contentTextColor"),"--title-padding":(0,g._F)(c("titlePadding")),"--content-padding":(0,g._F)(c("contentPadding")),"--border-side-width":"left"===e.tabsPosition?(0,g.f0)(c("borderWidth"))?.left:(0,g.f0)(c("borderWidth"))?.top,"--font-size":(0,g.ws)(c("titleFontSize"))},M=(0,d.useBlockProps)({id:e.id,style:B,className:n()(e.className,{"has-pos-left":"left"===e.tabsPosition},`is-align-${e.titleAlignment}`)});return(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(Pa,{children:p,setAttributes:t,selectedTab:h,selectTab:j,moveTab:S}),(0,k.jsx)(Ba,{attributes:e,setAttributes:t,children:p,deleteTab:e=>{if(0<p?.length){const t=p.find((t=>t.clientId===e));v(t.clientId,!1),h===e&&x("")}},selectTab:j,moveTab:S,addTab:T}),(0,k.jsxs)("div",{...M,children:[(0,k.jsxs)("div",{className:"wp-block-themeisle-blocks-tabs__header",children:[p?.map(((t,o)=>{var s;return(0,k.jsx)(Aa,{tag:e.titleTag,title:null!==(s=t.attributes?.title)&&void 0!==s?s:`${(0,l.__)("Tab","otter-blocks")} ${o+1}`,active:t.clientId===h,onClick:()=>C(t.clientId),onChangeTitle:e=>{(0,u.dispatch)("core/block-editor").updateBlockAttributes(t.clientId,{title:e.replace(/(\r\n|\n|\r|<br>)/gm,"")})}},t.clientId)}))||"",(o||0===p.length)&&(0,k.jsx)(Fa,{clientId:a,addTab:T})]}),(0,k.jsx)("div",{ref:r,className:"wp-block-themeisle-blocks-tabs__content",children:(0,k.jsx)(d.InnerBlocks,{allowedBlocks:["themeisle-blocks/tabs-item"],template:[["themeisle-blocks/tabs-item",{title:(0,l.__)("Tab 1","otter-blocks")},[["core/paragraph",{content:(0,l.__)("This is just a placeholder to help you visualize how the content is displayed in the tabs. Feel free to edit this with your actual content.","otter-blocks")}]]],["themeisle-blocks/tabs-item",{title:(0,l.__)("Tab 2","otter-blocks")},[["core/paragraph",{content:(0,l.__)("This is just a placeholder to help you visualize how the content is displayed in the tabs. Feel free to edit this with your actual content.","otter-blocks")}]]],["themeisle-blocks/tabs-item",{title:(0,l.__)("Tab 3","otter-blocks")},[["core/paragraph",{content:(0,l.__)("This is just a placeholder to help you visualize how the content is displayed in the tabs. Feel free to edit this with your actual content.","otter-blocks")}]]]],orientation:"horizontal",renderAppender:!1})})]})]})},save:({attributes:e})=>{const t=d.useBlockProps.save({id:e.id,className:n()(e.className,e.titleAlignment&&`is-align-${e.titleAlignment}`)});return(0,k.jsx)("div",{...t,children:(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-tabs__content",children:(0,k.jsx)(d.InnerBlocks.Content,{})})})},example:{viewportWidth:1e3,attributes:{},innerBlocks:[]}});var Ra=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/tabs-item","title":"Tab Item","category":"themeisle-blocks","description":"Organize and allow navigation between groups of content with Tabs block. Powered by Otter.","keywords":["media","tab","item"],"parent":["themeisle-blocks/tabs"],"textdomain":"otter-blocks","attributes":{"title":{"type":"string"},"defaultOpen":{"type":"boolean","default":false}},"supports":{"anchor":true}}'),Na=({attributes:e,setAttributes:t,selectParent:o})=>(0,k.jsx)(d.InspectorControls,{children:(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Settings","otter-blocks"),children:[(0,k.jsx)(p.Button,{isSecondary:!0,onClick:()=>o(),children:(0,l.__)("Back to the Tabs","otter-blocks")}),(0,k.jsx)(p.TextControl,{type:"text",label:(0,l.__)("Title","otter-blocks"),placeholder:(0,l.__)("Insert a title","otter-blocks"),onChange:e=>t({title:""===e?void 0:e}),value:e.title})]})});const{name:Ia}=Ra;(0,s.registerBlockType)(Ia,{...Ra,title:(0,l.__)("Tab Item","otter-blocks"),description:(0,l.__)("Organize and allow navigation between groups of content with Tabs block. Powered by Otter.","otter-blocks"),icon:i.tabsItemIcon,keywords:["media","tab","item"],edit:({attributes:e,setAttributes:t,clientId:o})=>{const s=(0,b.useRef)(null),{parentClientId:a}=(0,u.useSelect)((e=>{const{getBlock:t,getBlockRootClientId:l}=e("core/block-editor");return{parentClientId:t(l(o)).clientId}}),[]),{selectBlock:i}=(0,u.useDispatch)("core/block-editor"),r=(0,d.useBlockProps)({ref:s});return(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(Na,{attributes:e,setAttributes:t,selectParent:()=>i(a)}),(0,k.jsxs)("div",{...r,children:[(0,k.jsx)(d.RichText,{placeholder:(0,l.__)("Add title…","otter-blocks"),value:e.title,onChange:e=>t({title:e}),className:n()("wp-block-themeisle-blocks-tabs-item__header",{active:!!e.defaultOpen&&e.defaultOpen}),tagName:"div",onClick:()=>{if(s.current){var e;const t=null!==(e=s.current?.parentNode?.querySelectorAll(":scope > .wp-block-themeisle-blocks-tabs-item > .wp-block-themeisle-blocks-tabs-item__header, :scope > .wp-block-themeisle-blocks-tabs-item > .wp-block-themeisle-blocks-tabs-item__content"))&&void 0!==e?e:[];t?.forEach((e=>e?.classList?.remove("active"))),s.current.querySelector(":scope > .wp-block-themeisle-blocks-tabs-item__header")?.classList.add("active"),s.current.querySelector(":scope > .wp-block-themeisle-blocks-tabs-item__content")?.classList.add("active")}},withoutInteractiveFormatting:!0}),(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-tabs-item__content",children:(0,k.jsx)(d.InnerBlocks,{template:[["core/paragraph"]]})})]})]})},save:({attributes:e})=>{const t=d.useBlockProps.save({"data-title":e.title,...e.defaultOpen&&{"data-default-open":e.defaultOpen}});return(0,k.jsxs)("div",{...t,children:[(0,k.jsx)(d.RichText.Content,{tagName:"div",className:"wp-block-themeisle-blocks-tabs-item__header",value:e.title||(0,l.__)("Untitled Tab","otter-blocks"),tabIndex:"0"}),(0,k.jsx)("div",{className:"wp-block-themeisle-blocks-tabs-item__content",children:(0,k.jsx)(d.InnerBlocks.Content,{})})]})}});var Oa=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/about-author","title":"About Author","category":"themeisle-blocks","description":"About Author block is the easiest way to add a author bio below your posts. Powered by Otter.","keywords":["about","author","profile"],"textdomain":"otter-blocks","supports":{"html":false},"editorStyle":"otter-about-author-editor","style":"otter-about-author-style"}');const{name:Ha}=Oa;(0,s.registerBlockType)(Ha,{...Oa,title:(0,l.__)("About Author","otter-blocks"),description:(0,l.__)("About Author block is the easiest way to add a author bio below your posts. Powered by Otter.","otter-blocks"),icon:"admin-users",keywords:["about","author","profile"],edit:()=>(0,k.jsx)("div",{...(0,d.useBlockProps)(),children:(0,k.jsx)(p.Disabled,{children:(0,k.jsx)(qs(),{block:"themeisle-blocks/about-author"})})}),save:()=>null,supports:{inserter:Boolean(window.themeisleGutenberg.isLegacyPre59),html:!1},example:{}});var Va=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/plugin-cards","title":"Plugin Card","category":"themeisle-blocks","description":"Plugin Card block lets you display plugins data in your blog posts. Powered by Otter.","keywords":["plugin","card","orbitfox"],"textdomain":"otter-blocks","attributes":{"slug":{"type":"string"}},"supports":{"html":false,"inserter":false},"style":"otter-plugin-card-style"}');const{name:Da}=Va;(0,s.registerBlockType)(Da,{...Va,title:(0,l.__)("Plugin Card","otter-blocks"),description:(0,l.__)("Plugin Card block lets you display plugins data in your blog posts. Powered by Otter.","otter-blocks"),icon:"admin-plugins",keywords:["plugin","card","orbitfox"],edit:()=>(0,k.jsx)("div",{...(0,d.useBlockProps)(),children:(0,k.jsxs)(p.Placeholder,{children:[(0,l.__)("This block has been deprecated. Please switch to a different plugin for a Plugin Card. For the time being, it will keep working on the frontend.","otter-blocks"),(0,k.jsx)("br",{}),(0,k.jsx)(p.ExternalLink,{href:"https://wordpress.org/plugins/wp-plugin-info-card/",children:(0,l.__)("We recommend WP Plugin Info Card.","otter-blocks")})]})}),save:()=>null});var Ga=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/pricing","title":"Pricing","category":"themeisle-blocks","description":"Pricing tables are a critical part in showcasing your services, prices and overall offerings. Powered by Otter.","keywords":["pricing","table","money"],"textdomain":"otter-blocks","supports":{"inserter":false}}');const Ea=[["themeisle-blocks/advanced-heading",{content:(0,l.__)("Basic","otter-blocks"),align:"center",tag:"h3",fontSize:24}],["themeisle-blocks/advanced-heading",{content:(0,l.__)("$9.99","otter-blocks"),align:"center",tag:"h4",fontSize:36,fontFamily:"Roboto Slab",fontVariant:"normal"}],["themeisle-blocks/advanced-heading",{content:(0,l.__)("Per Month","otter-blocks"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["themeisle-blocks/advanced-heading",{content:(0,l.__)("First Feature","otter-blocks"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["themeisle-blocks/advanced-heading",{content:(0,l.__)("Second Feature","otter-blocks"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["themeisle-blocks/advanced-heading",{content:(0,l.__)("Last Feature","otter-blocks"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["themeisle-blocks/button-group",{align:"center",buttons:1,data:[{text:(0,l.__)("Buy Now","otter-blocks"),newTab:!1,color:"#ffffff",background:"#32373c",hoverColor:"#ffffff",hoverBackground:"#444a50",borderSize:0,borderRadius:3,boxShadow:!1,boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",paddingTopBottom:12,paddingLeftRight:24}]}]];const{name:$a}=Ga;(0,s.registerBlockType)($a,{...Ga,title:(0,l.__)("Pricing","otter-blocks"),description:(0,l.__)("Pricing tables are a critical part in showcasing your services, prices and overall offerings. Powered by Otter.","otter-blocks"),keywords:["pricing","table","money"],edit:()=>{const e=(0,d.useBlockProps)();return(0,k.jsx)("div",{...e,children:(0,k.jsx)(d.InnerBlocks,{template:Ea})})},save:()=>{const e=d.useBlockProps.save();return(0,k.jsx)("div",{...e,children:(0,k.jsx)(d.InnerBlocks.Content,{})})},example:{attributes:{}}});var Wa=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/service","title":"Service","category":"themeisle-blocks","description":"Use this Service block to showcase services your website offers. Powered by Otter.","keywords":["services","icon","features"],"textdomain":"otter-blocks","supports":{"inserter":false}}');const Ua=[["themeisle-blocks/font-awesome-icons",{fontSize:62,prefix:"fab",icon:"angellist"}],["themeisle-blocks/advanced-heading",{content:(0,l.__)("Basic","otter-blocks"),align:"center",tag:"h4",marginBottom:20}],["themeisle-blocks/advanced-heading",{content:(0,l.__)("Lorem ipsum dolor sit amet elit do, consectetur adipiscing, sed eiusmod tempor incididunt ut labore et dolore magna aliqua.","otter-blocks"),align:"center",color:"#999999",tag:"p",fontSize:14,marginBottom:20}],["themeisle-blocks/button-group",{align:"center",buttons:1,data:[{text:(0,l.__)("Know More","otter-blocks"),newTab:!1,color:"#ffffff",background:"#32373c",hoverColor:"#ffffff",hoverBackground:"#444a50",borderSize:0,borderRadius:3,boxShadow:!1,boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",paddingTopBottom:12,paddingLeftRight:24}]}]];const{name:qa}=Wa;(0,s.registerBlockType)(qa,{...Wa,title:(0,l.__)("Service","otter-blocks"),description:(0,l.__)("Use this Service block to showcase services your website offers. Powered by Otter.","otter-blocks"),keywords:["services","icon","features"],edit:()=>{const e=(0,d.useBlockProps)();return(0,k.jsx)("div",{...e,children:(0,k.jsx)(d.InnerBlocks,{template:Ua})})},save:()=>{const e=d.useBlockProps.save();return(0,k.jsx)("div",{...e,children:(0,k.jsx)(d.InnerBlocks.Content,{})})},example:{attributes:{}}});var Za=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/testimonials","title":"Testimonials","category":"themeisle-blocks","description":"Display kudos from customers and clients and display them on your website. Powered by Otter.","keywords":["testimonials","quotes","business"],"textdomain":"otter-blocks","supports":{"inserter":false}}');const Ja=[["core/image",{align:"center"}],["themeisle-blocks/advanced-heading",{content:(0,l.__)("John Doe","otter-blocks"),align:"center",fontSize:24,tag:"h3",marginTop:25,marginBottom:10,marginTopTablet:25,marginTopMobile:25}],["themeisle-blocks/advanced-heading",{content:(0,l.__)("Jedi Master","otter-blocks"),align:"center",fontSize:14,tag:"h4",marginTop:10,marginBottom:10}],["themeisle-blocks/advanced-heading",{content:(0,l.__)('"What is the point of being alive if you don’t at least try to do something remarkable?"',"otter-blocks"),align:"center",color:"#999999",tag:"p",fontSize:14,marginTop:10,marginBottom:20}]];const{name:Ka}=Za;(0,s.registerBlockType)(Ka,{...Za,title:(0,l.__)("Testimonials","otter-blocks"),description:(0,l.__)("Display kudos from customers and clients and display them on your website. Powered by Otter.","otter-blocks"),keywords:["testimonials","quotes","business"],edit:()=>{const e=(0,d.useBlockProps)();return(0,k.jsx)("div",{...e,children:(0,k.jsx)(d.InnerBlocks,{template:Ja})})},save:()=>{const e=d.useBlockProps.save();return(0,k.jsx)("div",{...e,children:(0,k.jsx)(d.InnerBlocks.Content,{})})}});var Ya=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/content-generator","title":"AI Block (Beta)","category":"themeisle-blocks","description":"Generate content for your block with AI.","keywords":["content","generator","ai","layout"],"textdomain":"otter-blocks","attributes":{"promptID":{"type":"string"},"resultHistory":{"type":"array","default":[]},"replaceTargetBlock":{"type":"object"}},"supports":{"align":["wide"]}}'),Qa=({attributes:e,setAttributes:t})=>(0,k.jsx)(d.InspectorControls,{});const{name:Xa}=Ya;(0,s.registerBlockType)(Xa,{...Ya,icon:i.aiGeneration,keywords:["content","ai","layout"],edit:({attributes:e,setAttributes:t,clientId:o,name:a})=>{const i=(0,d.useBlockProps)(),[r,n]=(0,b.useState)(""),{removeBlock:c,replaceInnerBlocks:h,selectBlock:g,replaceBlocks:m}=(0,u.useDispatch)("core/block-editor"),{hasInnerBlocks:x,getBlock:f,getBlocks:v}=(0,u.useSelect)((e=>{const{getBlock:t,getBlocks:l}=e("core/block-editor");return{hasInnerBlocks:l?.(o).length,getBlocks:l,getBlock:t}}),[o]),_=e=>{if(void 0!==e)return(0,s.createBlock)(e.name,e.attributes,e?.innerBlocks?.filter((e=>e?.name&&e?.attributes))?.map(_))},w=()=>{const t=v(o);e.replaceTargetBlock?.clientId?(m(e.replaceTargetBlock?.clientId,t.map(_)),c(o)):m(o,t)},C=()=>{const e=v(o);(0,y.insertBlockBelow)(o,e.map(_))},{blockType:j,defaultVariation:S,variations:T}=(0,u.useSelect)((e=>{const{getBlockVariations:t,getBlockType:o,getDefaultBlockVariation:l}=e("core/blocks");return{blockType:o(a),defaultVariation:l(a,"block"),variations:t(a,"block")}}),[a]),B={form:{title:(0,l.__)("AI Form generator","otter-blocks"),placeholder:(0,l.__)("Start describing what form you need…","otter-blocks"),actions:e=>(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.Button,{variant:"primary",onClick:w,disabled:"loading"===e.status,children:(0,l.__)("Replace","otter-blocks")}),(0,k.jsx)(p.Button,{variant:"secondary",onClick:C,disabled:"loading"===e.status,children:(0,l.__)("Insert below","otter-blocks")})]})},textTransformation:{title:(0,l.__)("AI Content generator","otter-blocks"),placeholder:(0,l.__)("Start describing what content you need…","otter-blocks"),actions:e=>(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.Button,{variant:"primary",onClick:w,disabled:"loading"===e.status,children:(0,l.__)("Replace","otter-blocks")}),(0,k.jsx)(p.Button,{variant:"secondary",onClick:C,disabled:"loading"===e.status,children:(0,l.__)("Insert below","otter-blocks")})]})},patternsPicker:{title:(0,l.__)("Smart Otter Patterns Picker","otter-blocks"),placeholder:(0,l.__)("Describe what kind of page do you want.","otter-blocks"),actions:e=>(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(p.Button,{variant:"primary",onClick:w,disabled:"loading"===e.status,children:(0,l.__)("Replace","otter-blocks")}),(0,k.jsx)(p.Button,{variant:"secondary",onClick:C,disabled:"loading"===e.status,children:(0,l.__)("Insert below","otter-blocks")})]})}};return(0,b.useEffect)((()=>{if(!Boolean(e.replaceTargetBlock))return;const o=f?.(e.replaceTargetBlock);o&&e.replaceTargetBlock?.name!==o.name&&t({replaceTargetBlock:void 0})}),[e.replaceTargetBlock]),(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(Qa,{attributes:e,setAttributes:t}),(0,k.jsx)("div",{...i,children:void 0===e.promptID?(0,k.jsx)(d.__experimentalBlockVariationPicker,{icon:(0,H.get)(j,["icon","src"]),label:(0,H.get)(j,["title"]),variations:T,onSelect:(e=S)=>{e&&t(e.attributes),g(o)}}):(0,k.jsx)(Ut.A,{promptID:e.promptID,title:B?.[e.promptID]?.title,value:r,onValueChange:n,onPreview:t=>{if("form"===e.promptID){const e=(0,qt.Se)(t),l=(0,s.createBlock)("themeisle-blocks/form",{},e);h(o,[l])}if("textTransformation"===e.promptID){const e=(0,s.rawHandler)({HTML:t});h(o,e)}if("patternsPicker"===e.promptID){var a;const e=null!==(a=(0,qt.ml)(t))&&void 0!==a?a:{},i=(0,y.pullOtterPatterns)().filter((t=>e?.slugs?.some((e=>t.name.endsWith(e))))).map((e=>e?.content)).filter(Boolean).join("\n");i||(0,u.dispatch)("core/notices")?.createNotice("info",(0,l.__)("No patterns found for your query.","otter-blocks"),{type:"snackbar",isDismissible:!0,id:"o-no-patterns"});const r=(0,s.rawHandler)({HTML:i});h(o,r)}},actionButtons:B?.[e.promptID]?.actions,onClose:()=>c(o),promptPlaceholder:B?.[e.promptID]?.placeholder,resultHistory:e.resultHistory,children:x?(0,k.jsx)(p.Disabled,{children:(0,k.jsx)(d.InnerBlocks,{renderAppender:!1})}):""})})]})},save:()=>null,variations:[{name:"themeisle-blocks/content-generator-form",description:(0,l.__)("Generate Form with OpenAI.","otter-blocks"),icon:i.formAiGeneration,title:(0,l.__)("Form Generator","otter-blocks"),scope:["block"],attributes:{promptID:"form"}},{name:"themeisle-blocks/content-generator-content",description:(0,l.__)("Generate new content with OpenAI.","otter-blocks"),icon:(0,i.contentAiGenerationIcon)(),title:(0,l.__)("Content Generator","otter-blocks"),scope:["block"],attributes:{promptID:"textTransformation"}},{name:"themeisle-blocks/content-generator-layout",description:(0,l.__)("Use AI to pick Otter patterns that fits your needs.","otter-blocks"),icon:(0,i.aiLayoutGeneratorIcon)(),title:(0,l.__)("Layout Generator","otter-blocks"),scope:["block"],attributes:{promptID:"patternsPicker"}}]});var ei=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"themeisle-blocks/timeline","allowedBlocks":["themeisle-blocks/timeline-item"],"title":"Timeline","category":"themeisle-blocks","description":"Organize your events in a timeline with the Timeline block. Powered by Otter.","keywords":["media","timeline","date"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"containerBorder":{"type":"object"},"containerRadius":{"type":["string","object"]},"containerPadding":{"type":["string","object"]},"containerBackgroundColor":{"type":"string"},"containerBorderColor":{"type":"string"},"verticalLineColor":{"type":"string"},"iconColor":{"type":"string"},"iconSize":{"type":"string"},"verticalLineWidth":{"type":"string"},"containersAlignment":{"type":"string","default":"alternative"}},"supports":{"align":["wide","full"]},"editorStyle":"otter-timeline-editor","style":"otter-timeline-style"}'),ti=({attributes:e,setAttributes:t})=>{var o,s,a,i,r;const[n,c]=(0,y.useTabSwitch)(e.id,"settings");return(0,k.jsxs)(d.InspectorControls,{children:[(0,k.jsx)(h.R7,{value:n,options:[{label:(0,l.__)("Settings","otter-blocks"),value:"settings"},{label:(0,l.__)("Style","otter-blocks"),value:"style"}],onChange:c}),(0,k.jsxs)("div",{children:["settings"===n&&(0,k.jsx)(b.Fragment,{children:(0,k.jsx)(p.PanelBody,{title:(0,l.__)("Settings","otter-blocks"),children:(0,k.jsx)(p.SelectControl,{label:(0,l.__)("Timeline Alignment","otter-blocks"),value:e.containersAlignment,options:[{label:(0,l.__)("Alternative","otter-blocks"),value:"alternative"},{label:(0,l.__)("Reverse Alternative","otter-blocks"),value:"reverse-alternative"},{label:(0,l.__)("Left Side","otter-blocks"),value:"left"},{label:(0,l.__)("Right Side","otter-blocks"),value:"right"}],onChange:e=>t({containersAlignment:e})})})}),"style"===n&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Dimensions","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.__experimentalUnitControl,{label:(0,l.__)("Icon Size","otter-blocks"),value:null!==(o=e.iconSize)&&void 0!==o?o:"20px",onChange:e=>t({iconSize:e}),max:100}),(0,k.jsx)(p.__experimentalUnitControl,{label:(0,l.__)("Vertical Line Width","otter-blocks"),value:null!==(s=e.verticalLineWidth)&&void 0!==s?s:"6px",onChange:e=>t({verticalLineWidth:e}),max:100})]}),(0,k.jsx)(d.PanelColorSettings,{title:(0,l.__)("Colors","otter-blocks"),initialOpen:!1,colorSettings:[{value:e.verticalLineColor,onChange:e=>t({verticalLineColor:e}),label:(0,l.__)("Vertical Line","otter-blocks"),isShownByDefault:!1},{value:e.iconColor,onChange:e=>t({iconColor:e}),label:(0,l.__)("Icon","otter-blocks"),isShownByDefault:!1},{value:e.containerBorderColor,onChange:e=>t({containerBorderColor:e}),label:(0,l.__)("Border","otter-blocks"),isShownByDefault:!1},{value:e.containerBackgroundColor,onChange:e=>t({containerBackgroundColor:e}),label:(0,l.__)("Background","otter-blocks"),isShownByDefault:!1}]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Container","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Padding","otter-blocks"),values:null!==(a=e.containerPadding)&&void 0!==a?a:(0,g.kq)("20px"),onChange:e=>t({containerPadding:e})}),(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Border Width","otter-blocks"),values:null!==(i=e.containerBorder)&&void 0!==i?i:(0,g.kq)("0px"),onChange:e=>t({containerBorder:e})}),(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Border Radius","otter-blocks"),values:null!==(r=e.containerRadius)&&void 0!==r?r:(0,g.kq)("8px"),onChange:e=>t({containerRadius:e}),id:"o-border-raduis-box"})]})]})]})]})};const{attributes:oi}=ei;const{name:li}=ei;(0,s.registerBlockType)(li,{...ei,title:(0,l.__)("Timeline","otter-blocks"),description:(0,l.__)("Organize your events in a timeline with the Timeline block. Powered by Otter.","otter-blocks"),icon:i.timelineIcon,edit:({attributes:e,setAttributes:t,clientId:o,isSelected:a})=>{(0,b.useEffect)((()=>{const t=(0,y.blockInit)(o,oi);return()=>t(e.id)}),[e.id]);const i=(0,d.useBlockProps)({className:n()({"is-reverse":"reverse-alternative"===e.containersAlignment,"is-right":"right"===e.containersAlignment,"is-left":"left"===e.containersAlignment})}),r=(0,u.useSelect)((e=>{if(a)return!1;const{getSelectedBlockClientId:t,getBlockRootClientId:l}=e("core/block-editor");let s=l(t());for(;s;){if(s===o)return!0;s=l(s)}}),[a,o]),{insertBlock:c}=(0,u.useDispatch)("core/block-editor"),h=(0,b.useMemo)((()=>Object.fromEntries([["--o-timeline-cnt-bg",e.containerBackgroundColor],["--o-timeline-cnt-br-w",(0,g._F)(e.containerBorder)],["--o-timeline-cnt-br-c",e.containerBorderColor],["--o-timeline-cnt-br-r",(0,g._F)(e.containerRadius)],["--o-timeline-cnt-pd",(0,g._F)(e.containerPadding)],["--o-timeline-i-font-size",e.iconSize],["--o-timeline-i-color",e.iconColor],["--o-timeline-v-color",e.verticalLineColor],["--o-timeline-v-width",e.verticalLineWidth]]?.filter((e=>{var t;return null!==(t=e?.[2])&&void 0!==t?t:e?.[1]})))),[e]);return(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(ti,{attributes:e,setAttributes:t}),(0,k.jsxs)("div",{...i,children:[(0,k.jsx)("div",{className:"o-timeline-root",style:h,children:(0,k.jsx)(d.InnerBlocks,{template:[["themeisle-blocks/timeline-item",{},[["core/paragraph",{content:(0,l.__)("January 15, 2024","otter-blocks"),fontSize:"small"}],["core/heading",{content:(0,l.__)("Project Launch","otter-blocks"),level:3}],["core/paragraph",{content:(0,l.__)("Successfully initiated our new product development project, setting the stage for innovation and growth.","otter-blocks")}]]],["themeisle-blocks/timeline-item",{},[["core/paragraph",{content:(0,l.__)("March 1, 2024","otter-blocks"),fontSize:"small"}],["core/heading",{content:(0,l.__)("Team Expansion","otter-blocks"),level:3}],["core/paragraph",{content:(0,l.__)("Welcomed five new talented members to our development team, bringing fresh perspectives and expertise.","otter-blocks")}]]],["themeisle-blocks/timeline-item",{},[["core/paragraph",{content:(0,l.__)("April 20, 2024","otter-blocks"),fontSize:"small"}],["core/heading",{content:(0,l.__)("Prototype Development","otter-blocks"),level:3}],["core/paragraph",{content:(0,l.__)("Completed the first working prototype of our product, marking a significant milestone in our project timeline.","otter-blocks")}]]],["themeisle-blocks/timeline-item",{},[["core/paragraph",{content:(0,l.__)("June 5, 2024","otter-blocks"),fontSize:"small"}],["core/heading",{content:(0,l.__)("Market Research","otter-blocks"),level:3}],["core/paragraph",{content:(0,l.__)("Conducted comprehensive market analysis to refine our product features and target audience strategy.","otter-blocks")}]]]]})}),(a||r)&&(0,k.jsx)(p.Button,{className:"o-timeline-add-item",variant:"primary",onClick:()=>{const e=(0,s.createBlock)("themeisle-blocks/timeline-item",{});c(e,void 0,o)},icon:"insert-after",children:(0,l.__)("Add Timeline Item","otter-blocks")})]})]})},save:({attributes:e,className:t})=>{const o=d.useBlockProps.save({id:e.id,className:n()(t,{"is-reverse":"reverse-alternative"===e.containersAlignment,"is-right":"right"===e.containersAlignment,"is-left":"left"===e.containersAlignment})});return(0,k.jsx)("div",{...o,children:(0,k.jsx)("div",{className:"o-timeline-root",children:(0,k.jsx)(d.InnerBlocks.Content,{})})})},example:{viewportWidth:1e3,attributes:{},innerBlocks:[]}});var si=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"themeisle-blocks/timeline-item","parent":["themeisle-blocks/timeline"],"title":"Timeline Item","category":"themeisle-blocks","description":"Organize your events in a timeline with the Timeline block. Powered by Otter.","keywords":["media","timeline","date"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"containerBorder":{"type":"object"},"containerRadius":{"type":["object"]},"containerBackgroundColor":{"type":"string"},"containerBorderColor":{"type":"string"},"iconColor":{"type":"string"},"hasIcon":{"type":"boolean","default":true},"iconType":{"type":"string","default":"fontawesome"},"iconPrefix":{"type":"string","default":"fas"},"icon":{"type":"string","default":"circle"}},"supports":{"align":["wide","full"]}}'),ai=({attributes:e,setAttributes:t})=>{var o,s;const[a,i]=(0,y.useTabSwitch)(e.id,"settings");return(0,k.jsxs)(d.InspectorControls,{children:[(0,k.jsx)(h.R7,{value:a,options:[{label:(0,l.__)("Settings","otter-blocks"),value:"settings"},{label:(0,l.__)("Style","otter-blocks"),value:"style"}],onChange:i}),(0,k.jsxs)("div",{children:["settings"===a&&(0,k.jsx)(b.Fragment,{children:(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Settings","otter-blocks"),children:[(0,k.jsx)(p.ToggleControl,{label:(0,l.__)("Show Icon","otter-blocks"),checked:e.hasIcon,onChange:e=>t({hasIcon:e})}),e.hasIcon&&(0,k.jsx)(h.fW,{label:(0,l.__)("Icon Picker","otter-blocks"),library:e.iconType,prefix:e.iconPrefix,icon:e.icon,changeLibrary:e=>{t({iconType:e,icon:void 0,iconPrefix:"fab"})},onChange:o=>{if("image"===e.iconType&&o?.url)return t({icon:o.url});t("object"==typeof o?{icon:o.name,iconPrefix:o.prefix}:{icon:o})},allowImage:!0})]})}),"style"===a&&(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(d.PanelColorSettings,{title:(0,l.__)("Colors","otter-blocks"),initialOpen:!1,colorSettings:[{value:e.iconColor,onChange:e=>t({iconColor:e}),label:(0,l.__)("Icon","otter-blocks"),isShownByDefault:!1},{value:e.containerBorderColor,onChange:e=>t({containerBorderColor:e}),label:(0,l.__)("Border","otter-blocks"),isShownByDefault:!1},{value:e.containerBackgroundColor,onChange:e=>t({containerBackgroundColor:e}),label:(0,l.__)("Background","otter-blocks"),isShownByDefault:!1}]}),(0,k.jsxs)(p.PanelBody,{title:(0,l.__)("Container","otter-blocks"),initialOpen:!1,children:[(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Border Width","otter-blocks"),values:null!==(o=e.containerBorder)&&void 0!==o?o:(0,g.kq)("0px"),onChange:e=>t({containerBorder:e})}),(0,k.jsx)(p.__experimentalBoxControl,{label:(0,l.__)("Border Radius","otter-blocks"),values:null!==(s=e.containerRadius)&&void 0!==s?s:(0,g.kq)("8px"),onChange:e=>t({containerRadius:e}),id:"o-border-raduis-box"})]})]})]})]})};const{attributes:ii}=si;const{name:ri}=si;(0,s.registerBlockType)(ri,{...si,title:(0,l.__)("Timeline Item","otter-blocks"),description:(0,l.__)("Organize your events in a timeline with the Timeline block. Powered by Otter.","otter-blocks"),icon:i.timelineIcon,edit:({attributes:e,setAttributes:t,clientId:o})=>{(0,b.useEffect)((()=>{const t=(0,y.blockInit)(o,ii);return()=>t(e.id)}),[e.id]);const s=(0,d.useBlockProps)(),a=(0,b.useMemo)((()=>me.Ay.icons?.[e.icon]),[e.icon]),i=(0,b.useMemo)((()=>{if("image"!==e.iconType||!e.icon)return!1;try{return Boolean(new URL(e.icon))}catch(e){return!1}}),[e.icon,e.iconType]),r=(0,b.useMemo)((()=>Object.fromEntries([["--o-timeline-cnt-bg",e.containerBackgroundColor],["--o-timeline-cnt-br-w",(0,g._F)(e.containerBorder)],["--o-timeline-cnt-br-c",e.containerBorderColor],["--o-timeline-cnt-br-r",(0,g._F)(e.containerRadius)],["--o-timeline-i-color",e.iconColor]]?.filter((e=>{var t;return null!==(t=e?.[2])&&void 0!==t?t:e?.[1]})))),[e]);return(0,k.jsxs)(b.Fragment,{children:[(0,k.jsx)(ai,{attributes:e,setAttributes:t}),(0,k.jsx)("div",{...s,children:(0,k.jsxs)("div",{className:"o-timeline-container",style:r,children:[(0,k.jsx)("div",{className:"o-timeline-icon",children:e.hasIcon&&("image"===e.iconType&&i?(0,k.jsx)("img",{src:e.icon}):"themeisle-icons"===e.iconType&&e.icon&&void 0!==a?(0,k.jsx)(a,{}):(0,k.jsx)("i",{className:`${e.iconPrefix} fa-${e.icon}`}))}),(0,k.jsx)("div",{className:"o-timeline-content",children:(0,k.jsx)(d.InnerBlocks,{template:[["core/paragraph",{content:(0,l.__)("January 15, 2024","otter-blocks"),fontSize:"small"}],["core/heading",{content:(0,l.__)("Project Launch","otter-blocks"),level:3}],["core/paragraph",{content:(0,l.__)("Successfully initiated our new product development project, setting the stage for innovation and growth.","otter-blocks")}]]})})]})})]})},save:({attributes:e,className:t})=>{const o=d.useBlockProps.save({id:e.id,className:n()(t)}),l=me.Ay.icons[e.icon];return(0,k.jsx)("div",{...o,children:(0,k.jsxs)("div",{className:"o-timeline-container",children:[(0,k.jsx)("div",{className:"o-timeline-icon",children:e.hasIcon&&("image"===e.iconType&&e.icon?(0,k.jsx)("img",{src:e.icon}):"themeisle-icons"===e.iconType&&e.icon&&void 0!==l?(0,k.jsx)(l,{}):(0,k.jsx)("i",{className:`${e.iconPrefix} fa-${e.icon}`}))}),(0,k.jsx)("div",{className:"o-timeline-content",children:(0,k.jsx)(d.InnerBlocks.Content,{})})]})})},example:{viewportWidth:1e3,attributes:{},innerBlocks:[]}});var ni=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"themeisle-blocks/modal","title":"Modal","category":"themeisle-blocks","description":"Display your content in beautiful Modal with many customization options. Powered by Otter.","keywords":["modal","lightbox"],"textdomain":"otter-blocks","attributes":{"id":{"type":"string"},"minWidth":{"type":["number","string"]},"maxWidth":{"type":["number","string"]},"anchor":{"type":"string"},"showClose":{"type":"boolean","default":true},"outsideClose":{"type":"boolean","default":true},"anchorClose":{"type":"boolean","default":false},"closeAnchor":{"type":"string"},"backgroundColor":{"type":"string"},"closeColor":{"type":"string"},"overlayColor":{"type":"string"},"overlayOpacity":{"type":"number"},"padding":{"type":"object"},"paddingTablet":{"type":"object"},"paddingMobile":{"type":"object"},"borderWidth":{"type":"object"},"borderRadius":{"type":"object"},"borderColor":{"type":"string"},"borderStyle":{"type":"string"},"width":{"type":"string"},"widthTablet":{"type":"string"},"widthMobile":{"type":"string"},"heightMode":{"type":"string"},"height":{"type":"string"},"heightTablet":{"type":"string"},"heightMobile":{"type":"string"},"verticalPosition":{"type":"string"},"horizontalPosition":{"type":"string"},"verticalPositionTablet":{"type":"string"},"horizontalPositionTablet":{"type":"string"},"verticalPositionMobile":{"type":"string"},"horizontalPositionMobile":{"type":"string"},"closeButtonType":{"type":"string"},"boxShadow":{"type":"object","default":{"active":false,"colorOpacity":50,"blur":5,"spread":1,"horizontal":0,"vertical":0}},"disableOn":{"type":"string"}},"editorStyle":"otter-popup-editor","style":"otter-popup-style","script":"otter-popup"}');const{name:ci}=ni;Boolean(window.themeisleGutenberg.hasPro)||(0,s.registerBlockType)(ci,{...ni,title:(0,l.__)("Modal (PRO)","otter-blocks"),description:(0,l.__)("Display your content in beautiful Modal with many customization options. Powered by Otter.","otter-blocks"),icon:i.popupIcon,keywords:["modal","lightbox"],edit:()=>{const e=(0,l.sprintf)(
// translators: %1$s is the title of the block that requires Otter Pro activation.
// translators: %1$s is the title of the block that requires Otter Pro activation.
(0,l.__)("You need to activate your Otter Pro to use %1$s block.","otter-blocks"),ni.title);return(0,k.jsx)("div",{...(0,d.useBlockProps)(),children:(0,k.jsx)(p.Placeholder,{icon:i.popupIcon,label:ni.title,instructions:e,className:"o-license-warning"})})},save:({attributes:e,className:t})=>{const o=d.useBlockProps.save({id:e.id,className:n()(t)});return(0,k.jsx)("div",{...o,children:(0,k.jsx)(d.InnerBlocks.Content,{})})},example:{attributes:{}}})},8205:function(e,t,o){o.r(t),o.d(t,{GlobalStateMemory:function(){return A},addBlockId:function(){return k},addGlobalDefaults:function(){return p},blockInit:function(){return j},buildGetSyncValue:function(){return M},copyScriptAssetToIframe:function(){return B},getDefaultValue:function(){return h},getDefaultValueByField:function(){return g},getEditorIframe:function(){return T},insertBlockBelow:function(){return z},pullOtterPatterns:function(){return R},pullPatterns:function(){return L},pullReusableBlockContentById:function(){return P},useCSSNode:function(){return S},useTabSwitch:function(){return F}});var l,s,a,i,r=o(3829),n=o(8468),c=o(7143),d=o(4997),b=o(8054),u=o(6087);null!==(s=(l=window).themeisleGutenberg)&&void 0!==s||(l.themeisleGutenberg={}),null!==(i=(a=window.themeisleGutenberg).blockIDs)&&void 0!==i||(a.blockIDs=[]);const p=(e,t,o,l)=>{if(void 0!==window.themeisleGutenberg?.globalDefaults&&!(0,n.isEqual)(b.A[o],window.themeisleGutenberg.globalDefaults[o])){const s={...window.themeisleGutenberg.globalDefaults[o]};t({...Object.keys(s).filter((t=>(0,n.isEqual)(e[t],l[t]?.default))).reduce(((e,t)=>(e[t]=s[t],e)),{})})}},h=(e,t,o)=>{const l=window.themeisleGutenberg.globalDefaults?.[e];return l?.[t]?l?.[t]:o[t]?.default},g=({name:e,field:t,defaultAttributes:o,attributes:l})=>l.isSynced?.includes(t)?h(e,t,o):l[t],m={},y={},k=e=>{var t,o;const{attributes:l,setAttributes:s,clientId:a,idPrefix:i,name:n,defaultAttributes:c}=e;y[a]="busy";const d=null!==(t=window.themeisleGutenberg?.blockIDs)&&void 0!==t?t:[];if(void 0===l||void 0===s)return e=>{m[n]?.delete(e)};null!==(o=m[n])&&void 0!==o||(m[n]=new Set);const b=Boolean(l.id&&m[n].has(l.id));if(!l.id||b){const e=i||(e=>`wp-block-${e.replace("/","-")}-`)(n),t=((e,t,o)=>{const l=`${e}${t.slice(0,8)}`;if(o.has(l)){let t=`${e}${(0,r.A)().slice(0,8)}`;for(;o.has(t);)t=`${e}${(0,r.A)().slice(0,8)}`;return t}return l})(e,a,m[n]);return void 0===l.id&&p(l,s,n,c),m[n].add(t),d.push(t),s({id:t}),e=>e=>{}}return m[n].add(l.id),d.push(l.id),e=>{y[a]="free",m[n].delete(e||l?.id)}},{getBlock:x}=(0,c.select)("core/block-editor"),{getBlockParents:f}=(0,c.select)("core/block-editor"),{updateBlockAttributes:v}=(0,c.dispatch)("core/block-editor"),{getSelectedBlockClientId:_}=(0,c.select)("core/block-editor"),w=e=>t=>{v(e,t)},C=e=>{const t=x(e);return{attributes:t?.attributes,name:t?.name}},j=(e,t)=>((void 0===y[e]||(e=>{var t;const{attributes:o}=null!==(t=x(e))&&void 0!==t?t:{};return void 0===o?.id||""===o?.id})(e))&&(y[e]="free"),"busy"===y[e]||(e=>f(e)?.some((e=>{var t;const{attributes:o,name:l}=null!==(t=x(e))&&void 0!==t?t:{};return"core/query"===l||o?.ref})))(e)&&_()!==e?()=>{}:k({clientId:e,defaultAttributes:t,setAttributes:w(e),...C(e)})),S=(e={})=>{const[t,o]=(0,u.useState)({css:[],media:[]}),[l,s]=(0,u.useState)({node:null,cssNodeName:""});return(0,u.useEffect)((()=>{var t;let o;const l=document.createElement("style");return l.type="text/css",l.setAttribute("data-generator","otter-blocks"),setTimeout((()=>{o=parent.document.querySelector('iframe[name="editor-canvas"]')?.contentWindow.document.head||document.head,o?.appendChild(l)}),500),s({node:l,cssNodeName:null!==(t=e?.selector)&&void 0!==t?t:`o-node-${(0,r.A)()}`}),()=>{o?.removeChild(l)}}),[]),(0,u.useEffect)((()=>{if(l.node&&l.cssNodeName&&void 0!==t.media){const o=(0,n.zip)(t.css,t.media).map((t=>{const[o,s]=t;return s?`${s} { \n\t .${l.cssNodeName}${e?.appendToRoot?"":" "}${o} }`:`.${l.cssNodeName}${e?.appendToRoot?"":" "}${o}`})).join("\n")||"";l.node.textContent=o}}),[t.css,t.media,l.node,l.cssNodeName]),[l.cssNodeName,(e=[],t=[])=>{o({css:e,media:t})},s]},T=()=>document.querySelector('iframe[name^="editor-canvas"]'),B=(e,t)=>{const o=T();if(null!=t||(t=()=>{}),Boolean(o))if(Boolean(o?.contentWindow?.document.querySelector(e)))t?.();else{const l=document.querySelector(e);if(!Boolean(l))return void console.warn(`Selector: ${e} is invalid.`);const s=o.contentWindow.document.createElement("script");s.onload=t,s.id=l.id,s.type="text/javascript",o.contentWindow.document?.head.appendChild(s),s.src=l.src}},M=(e,t,o)=>l=>t?.isSynced?.includes(l)?g({name:e,field:l,defaultAttributes:o,attributes:t}):t?.[l];function P(e){var t;const o=(0,c.select)("core").getEntityRecords("postType","wp_block");if(!o)return[];const l=o.find((t=>t.id===e));return l&&void 0!==l.content?(0,d.parse)(null!==(t=l.content.raw)&&void 0!==t?t:l.content):[]}function z(e,t){const{getBlockRootClientId:o,getTemplateLock:l,getBlockIndex:s}=(0,c.select)("core/block-editor"),{insertBlock:a,insertBlocks:i}=(0,c.dispatch)("core/block-editor"),r=o(e);if(l(r))return;const n=s(e,r);if(Array.isArray(t))return i(t,n+1,r);a(t,n+1,r)}class A{constructor(){this.states={},window.addEventListener("message",this.handleMessage.bind(this))}handleMessage(e){if("object"==typeof e.data&&null!==e.data&&"otterMemoryState"in e.data){const{key:t,value:o,location:l,action:s}=e.data.otterMemoryState;"set"===s&&(void 0===this.states[l]&&(this.states[l]={}),this.states[l][t]=o),"get"===s&&(void 0!==window.parent?window?.parent:window).postMessage?.({otterMemoryState:{key:t,location:l,value:this.getState(l,t),action:"value"}})}}getState(e,t){if(void 0!==this.states[e])return this.states[e][t]}}function F(e,t){const[o,l]=(0,u.useState)(t);return(0,u.useEffect)((()=>{const o=o=>{if("object"==typeof o.data&&null!==o.data&&"otterMemoryState"in o.data){const{key:s,value:a,location:i,action:r}=o.data.otterMemoryState;"tab"===i&&e===s&&"value"===r&&l(null!=a?a:t)}};return window.addEventListener("message",o),(void 0!==window.parent?window?.parent:window).postMessage({otterMemoryState:{key:e,location:"tab",action:"get"}}),()=>{window.removeEventListener("message",o)}}),[]),[o,t=>{(void 0!==window.parent?window?.parent:window).postMessage?.({otterMemoryState:{key:e,location:"tab",value:t,action:"set"}}),l(t)}]}function L(){var e;return null!==(e=(0,c.select)("core")?.getBlockPatterns())&&void 0!==e?e:[]}function R(){return L().filter((e=>e?.name?.startsWith("otter-blocks/")||e?.name?.startsWith("otter-pro/")))}},8369:function(e,t,o){o.d(t,{eA:function(){return l}}),o(8468);const l=e=>({top:e,left:e,right:e,bottom:e})},8443:function(e){e.exports=window.wp.date},8468:function(e){e.exports=window.lodash},8490:function(e){e.exports=window.wp.domReady},8619:function(e,t,o){o.d(t,{A:function(){return y},r:function(){return g}});var l=o(7723),s=o(8053),a=o(353),i=o(9095),r=o(6427),n=o(6087),c=o(886),d=o(4821),b=o(7677),u=o(1187),p=o(790),h=e=>{const t=(0,n.useRef)(null);return(0,p.jsx)("div",{className:"prompt-input__container",children:(0,p.jsxs)("div",{className:"prompt-input__input__container",children:[(0,p.jsx)(b.A,{icon:u.aiGeneration,width:24}),(0,p.jsx)("textarea",{ref:t,className:"prompt-input__input",onChange:o=>{e.onValueChange(o.target.value),t.current&&(t.current.style.cssText="height:auto; padding:0; overflow-y: hidden;",t.current.style.cssText="height:"+t.current.scrollHeight+"px; overflow-y: auto;")},placeholder:e.placeholder,rows:1,onKeyDown:t=>{"Enter"!==t.key||t.shiftKey||(t.preventDefault(),e.onGenerate())},value:e.value}),(0,p.jsx)("div",{className:"prompt-input__submit__container",children:(0,p.jsx)(r.Button,{variant:"secondary",onClick:e.onGenerate,isBusy:"loading"===e.status,disabled:"loading"===e.status||0===e.value.length,children:(0,l.__)("Generate","otter-blocks")})})]})})};const g="themeisle_open_ai_api_key",m=e=>{var t;return(0,p.jsxs)("div",{className:"prompt-result__container",children:[(0,p.jsxs)("div",{className:"prompt-result__header",children:[(0,p.jsx)("div",{className:"prompt-result__header__title",children:null!==(t=e?.title)&&void 0!==t?t:(0,l.__)("Result","otter-blocks")}),(0,p.jsx)("div",{className:"prompt-result__header__actions",children:(0,p.jsx)(r.Button,{variant:"tertiary",onClick:e.onClose,icon:s.A})})]}),(0,p.jsx)("div",{className:"prompt-result__content",children:e.children}),(0,p.jsxs)("div",{className:"prompt-result__actions",children:[e.actionButtons,e.showRegenerate&&(0,p.jsx)(r.Button,{variant:"tertiary",onClick:e.onRegenerate,disabled:"loading"===e.status,children:(0,l.__)("Regenerate","otter-blocks")}),(0,p.jsx)("div",{className:"prompt-result__actions__navigation",children:0<e.totalResults&&(0,p.jsxs)(n.Fragment,{children:[(0,p.jsx)(r.Button,{variant:"tertiary",icon:a.A,onClick:e.onPrevResult,disabled:1===e.currentResultIndex}),(0,p.jsxs)("div",{className:"prompt-result__actions__navigation__current",children:[e.currentResultIndex," / ",e.totalResults]}),(0,p.jsx)(r.Button,{variant:"tertiary",icon:i.A,onClick:e.onNextResult,disabled:e.totalResults===e.currentResultIndex})]})})]}),(0,p.jsx)("span",{className:"prompt-token-usage",children:e.tokenUsageDescription})]})};var y=e=>{var t;const{value:o,onValueChange:s,promptID:a}=e,[i,b,u]=(0,c.A)(),[y,k]=(0,n.useState)(null),[x,f]=(0,n.useState)("loaded"),[v,_]=(0,n.useState)(window.themeisleGutenberg?.hasOpenAiKey?"present":"checking"),[w,C]=(0,n.useState)([]),[j,S]=(0,n.useState)(null!==(t=e.resultHistory)&&void 0!==t?t:[]),[T,B]=(0,n.useState)(0),[M,P]=(0,n.useState)(!1),[z,A]=(0,n.useState)(""),[F,L]=(0,n.useState)("");function R(t=!1){let s=w?.find((e=>e.otter_name===a));if(void 0===s)return P(!0),void A((0,l.__)("Prompt not found. Reload the page. If the error still persist the server might be down.","otter-blocks"));if("textTransformation"===a){var i;const e=null!==(i=s?.otter_action_prompt)&&void 0!==i?i:"";s=(0,d.mT)(s,e)}if("patternsPicker"===a&&window.themeisleGutenberg?.hasPro){var r;const e=null!==(r=s?.otter_pro_addon)&&void 0!==r?r:[];e?.forEach((e=>{s&&(s=(0,d.rM)(s,e))}))}if("present"!==v)return P(!0),void A((0,l.__)("API Key not found. Please add your API Key in the settings page.","otter-blocks"));f("loading");const n=t?d.sJ:d.q5;window.oTrk?.add({feature:"ai-generation",featureComponent:"prompt",featureValue:o},{consent:!0}),n?.(o,s,{otter_used_action:"textTransformation"===a?"textTransformation::otter_action_prompt":null!=a?a:"",otter_user_content:o}).then((s=>{var a,i;if(s?.error)return f("error"),P(!0),void A(null!==(i=`Error ${s.error.code} - ${s.error.message}`)&&void 0!==i?i:(0,l.__)("Something went wrong. Please try again.","otter-blocks"));const r=null!==(a=s?.choices?.[0]?.message?.function_call?.arguments)&&void 0!==a?a:s?.choices?.[0]?.message?.content;if(f("loaded"),!r)return P(!0),void A((0,l.__)("Empty response from OpenAI. Please try again.","otter-blocks"));if(t){const e=[...j];e[T]={result:r,meta:{usedToken:s.usage.total_tokens,prompt:o}},S(e)}else S([...j,{result:r,meta:{usedToken:s.usage.total_tokens,prompt:o}}]),B(j.length);L((0,l.__)("Token used:","otter-blocks")+s.usage.total_tokens),e.onPreview?.(r)}))}return(0,n.useEffect)((()=>{(async()=>{(0,d.Z0)(a).then((e=>{C(e.prompts)}))})()}),[]),(0,n.useEffect)((()=>{if(!e.promptID||"textTransformation"!==e.promptID||!e.resultHistory)return;const t=j?.[j.length-1]?.meta?.prompt;t&&s(t)}),[]),(0,n.useEffect)((()=>{"loading"!==u&&"present"!==v&&("loaded"===u&&(i(g)?(_("present"),k(i(g))):_("missing")),"error"===u&&_("error"))}),[u,i,v]),(0,n.useEffect)((()=>{B(j.length-1)}),[j]),(0,n.useEffect)((()=>{0>T||T>j.length-1||(L((0,l.sprintf)(
// translators: %d: number of used tokens
// translators: %d: number of used tokens
(0,l.__)("Used tokens: %d","otter-blocks"),j[T].meta.usedToken)),e.onPreview?.(j[T].result))}),[T,j]),"present"!==v?(0,p.jsxs)(r.Placeholder,{className:"prompt-placeholder",label:(0,l.__)("OpenAI API Key","otter-blocks"),children:["checking"===v&&(0,p.jsxs)("div",{style:{display:"flex",flexDirection:"row"},children:[(0,p.jsx)(r.Spinner,{}),(0,p.jsx)("span",{children:(0,l.__)("Checking the api key…","otter-blocks")})]}),"missing"===v&&(0,p.jsxs)(n.Fragment,{children:[(0,p.jsx)("span",{children:(0,l.__)("API Key not found. Please introduce the API Key","otter-blocks")}),(0,p.jsx)(r.TextControl,{value:null!=y?y:"",onChange:e=>{k(e)}}),(0,p.jsx)("div",{className:"prompt-placeholder__submit",children:(0,p.jsxs)(r.Button,{variant:"primary",disabled:!y||"saving"===u,onClick:()=>{y&&(b(g,y.slice(),(0,l.__)("Open AI API Key saved.","otter-blocks"),"o-api-key",(()=>{k("")})),_("checking"))},isBusy:"loading"===u,children:["loading"!==u&&(0,l.__)("Save","otter-blocks"),"loading"===u&&(0,p.jsx)(n.Fragment,{children:(0,p.jsx)("span",{children:(0,l.__)("Saving","otter-blocks")})})]})}),(0,p.jsx)("p",{}),(0,p.jsxs)("div",{className:"o-info-row",children:[(0,p.jsx)(r.ExternalLink,{href:"https://platform.openai.com/account/api-keys",children:(0,l.__)("Get your API Key","otter-blocks")}),(0,p.jsx)(r.ExternalLink,{href:"https://docs.themeisle.com/article/1916-how-to-generate-an-openai-api-key",children:(0,l.__)("More Info","otter-blocks")})]})]})]}):(0,p.jsxs)(n.Fragment,{children:[0<j?.length?(0,p.jsxs)(m,{title:e.title,currentResultIndex:T+1,totalResults:j.length,onPrevResult:()=>{B(T-1)},onNextResult:()=>{B(T+1)},onClose:()=>{e.onClose?.()},tokenUsageDescription:F,onRegenerate:()=>R(!0),actionButtons:e.actionButtons?.({status:x}),status:x,currentPrompt:o,showRegenerate:Boolean(j?.[T]?.meta?.prompt),children:[(0,p.jsx)(h,{value:o,onValueChange:s,onGenerate:()=>{P(!1),R()},status:x,placeholder:e.promptPlaceholder}),e.children]}):(0,p.jsx)(h,{value:o,onValueChange:s,onGenerate:()=>R(),status:x,placeholder:e.promptPlaceholder}),M&&(0,p.jsx)(r.Notice,{status:"warning",isDismissible:!0,onDismiss:()=>P(!1),children:z})]})}},9476:function(e,t,o){o.d(t,{A:function(){return x}});var l=o(8468),s=o(4715),a=o(8088),i=o.n(a),r=o(6942),n=o.n(r),c=o(6087),d=o(8209),b=o(7677),u=o(5095),p=o(7723),h=o(6427),g=o(790),m=(0,d.Zj)((({value:e,selected:t,dragging:o,sorting:l,selectedItemsCount:s,onClick:a})=>{const i=o&&1<s;return(0,g.jsx)(h.Button,{className:n()("o-images-grid-component__image",{"is-selected":t,"is-sorting":t&&l}),onClick:()=>a(e),style:{backgroundImage:`url( ' ${e.url} ' )`},children:i&&(0,g.jsx)("div",{className:"o-images-grid-component__image__count",children:s})})})),y=(0,d.q6)((({items:e,className:t,onItemSelect:o,selectedItems:l,isSorting:s,sortingItemKey:a,open:i,ref:r})=>(0,g.jsxs)("div",{className:t,tabIndex:"0",ref:r,children:[e.map(((e,t)=>{const i=l.includes(e),r=a===e;return(0,g.jsx)(m,{index:t,value:e,selected:i,dragging:r,sorting:s,selectedItemsCount:l.length,onClick:o},`image-${e.id}`)})),(0,g.jsx)(h.Button,{label:(0,p.__)("Add Images","otter-blocks"),icon:(0,g.jsx)(b.A,{icon:u.A}),isPrimary:!0,onClick:i})]}))),k=({attributes:e,onSelectImages:t,open:o})=>{const[l,s]=(0,c.useState)([]),[a,r]=(0,c.useState)(!1),[d,b]=(0,c.useState)(null),u=(0,c.useRef)(null);return(0,g.jsx)(y,{className:n()("o-images-grid-component",{"is-single":1===e.images.length}),open:o,items:e.images,onItemSelect:e=>{let t;t=l.includes(e)?l.filter((t=>t!==e)):[...l,e],s(t)},selectedItems:l,isSorting:a,sortingItemKey:d,shouldCancelStart:t=>{if(!t.target.sortableInfo)return!1;const o=e.images[t.target.sortableInfo.index];return!!l.length&&!l.includes(o)},updateBeforeSortStart:({index:t})=>new Promise((o=>{r(!0),b(e.images[t]),o()})),onSortEnd:({oldIndex:o,newIndex:a})=>{let n=i()(e.images,o,a);l.length&&(n=[...n.slice(0,a).filter((e=>!l.includes(e))),...l,...n.slice(a,n.length).filter((e=>!l.includes(e)))]),r(!1),b(null),s([]),t(n),document.querySelectorAll(".o-images-grid-component__image").forEach((e=>{u.current?.container.contains?.(e)||(e.style.display="none",setTimeout((()=>{e.remove()}),250))}))},distance:3,axis:"xy",ref:u})},x=({attributes:e,onSelectImages:t})=>{const o=(0,l.debounce)(t,250);return(0,g.jsx)(s.MediaUploadCheck,{children:(0,g.jsx)(s.MediaUpload,{onSelect:o,allowedTypes:["image"],multiple:!0,addToGallery:!0,gallery:!0,value:e.images.map((({id:e})=>e)),render:({open:o})=>(0,g.jsx)(k,{attributes:e,open:o,onSelectImages:t})})})}},9491:function(e){e.exports=window.wp.compose},9815:function(e,t,o){var l=o(6942),s=o.n(l),a=o(1271),i=o(5767),r=o(3173),n=o(7723),c=o(6427),d=o(9491),b=o(7143),u=o(790);const p=({label:e,className:t,children:o})=>{const l=(0,d.useInstanceId)(p),h=(0,d.useViewportMatch)("large",">="),g=(0,d.useViewportMatch)("large","<="),m=(0,d.useViewportMatch)("small",">="),y=(0,d.useViewportMatch)("small","<="),k=!(h||g||m||y),x=(0,b.useSelect)((e=>{const{getView:t}=e("themeisle-gutenberg/data"),{__experimentalGetPreviewDeviceType:o}=!!e("core/edit-post")&&e("core/edit-post");return o&&!k?o():t()}),[]),{updateView:f}=(0,b.useDispatch)("themeisle-gutenberg/data"),{__experimentalSetPreviewDeviceType:v}=!!(0,b.useDispatch)("core/edit-post")&&(0,b.useDispatch)("core/edit-post"),_=v&&!k?v:f,w=`inspector-responsive-control-${l}`;return(0,u.jsx)("div",{id:w,className:s()("o-responsive-control",t),children:(0,u.jsxs)("div",{className:"components-base-control__field",children:[(0,u.jsxs)("div",{className:"components-base-control__title",children:[(0,u.jsx)("label",{className:"components-base-control__label",children:e}),(0,u.jsx)("div",{className:"o-responsive-buttons",children:(0,u.jsxs)(c.ButtonGroup,{children:[(0,u.jsx)(c.Button,{icon:a.A,label:(0,n.__)("Desktop","otter-blocks"),onClick:()=>_("Desktop"),className:s()({"is-selected":"Desktop"===x})}),(0,u.jsx)(c.Button,{icon:i.A,label:(0,n.__)("Tablet","otter-blocks"),onClick:()=>_("Tablet"),className:s()({"is-selected":"Tablet"===x})}),(0,u.jsx)(c.Button,{icon:r.A,label:(0,n.__)("Mobile","otter-blocks"),onClick:()=>_("Mobile"),className:s()({"is-selected":"Mobile"===x})})]})})]}),o]})})};t.A=p}},o={};function l(e){var s=o[e];if(void 0!==s)return s.exports;var a=o[e]={exports:{}};return t[e].call(a.exports,a,a.exports,l),a.exports}l.m=t,e=[],l.O=function(t,o,s,a){if(!o){var i=1/0;for(d=0;d<e.length;d++){o=e[d][0],s=e[d][1],a=e[d][2];for(var r=!0,n=0;n<o.length;n++)(!1&a||i>=a)&&Object.keys(l.O).every((function(e){return l.O[e](o[n])}))?o.splice(n--,1):(r=!1,a<i&&(i=a));if(r){e.splice(d--,1);var c=s();void 0!==c&&(t=c)}}return t}a=a||0;for(var d=e.length;d>0&&e[d-1][2]>a;d--)e[d]=e[d-1];e[d]=[o,s,a]},l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,{a:t}),t},l.d=function(e,t){for(var o in t)l.o(t,o)&&!l.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e={617:0,8:0};l.O.j=function(t){return 0===e[t]};var t=function(t,o){var s,a,i=o[0],r=o[1],n=o[2],c=0;if(i.some((function(t){return 0!==e[t]}))){for(s in r)l.o(r,s)&&(l.m[s]=r[s]);if(n)var d=n(l)}for(t&&t(o);c<i.length;c++)a=i[c],l.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return l.O(d)},o=self.webpackChunkotter_blocks=self.webpackChunkotter_blocks||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))}(),l.O(void 0,[121,8],(function(){return l(3107)})),l.O(void 0,[121,8],(function(){return l(8203)})),l.O(void 0,[121,8],(function(){return l(373)})),l.O(void 0,[121,8],(function(){return l(1265)}));var s=l.O(void 0,[121,8],(function(){return l(7881)}));s=l.O(s)}();