Your IP : 216.73.216.162


Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/
Upload File :
Current File : /home/x/b/o/xbodynamge/namtation/wp-content/block.js.tar

dev/wp-content/plugins/themeisle-companion/vendor/codeinwp/gutenberg-blocks/build/block.js000064400000207774151133736710031170 0ustar00home/xbodynamge!function(e){function t(t){for(var r,l,s=t[0],i=t[1],c=t[2],m=0,p=[];m<s.length;m++)l=s[m],a[l]&&p.push(a[l][0]),a[l]=0;for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r]);for(u&&u(t);p.length;)p.shift()();return o.push.apply(o,c||[]),n()}function n(){for(var e,t=0;t<o.length;t++){for(var n=o[t],r=!0,s=1;s<n.length;s++){var i=n[s];0!==a[i]&&(r=!1)}r&&(o.splice(t--,1),e=l(l.s=n[0]))}return e}var r={},a={0:0},o=[];function l(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,l),n.l=!0,n.exports}l.m=e,l.c=r,l.d=function(e,t,n){l.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,t){if(1&t&&(e=l(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(l.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)l.d(n,r,function(t){return e[t]}.bind(null,r));return n},l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,"a",t),t},l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},l.p="";var s=window.webpackJsonp=window.webpackJsonp||[],i=s.push.bind(s);s.push=t,s=s.slice();for(var c=0;c<s.length;c++)t(s[c]);var u=i;o.push([130,1]),n()}({130:function(e,t,n){n(131),n(134),n(195),n(155),n(169),n(171),n(174),n(197),n(193),n(198),n(194),n(196),n(189),e.exports=n(192)},131:function(e,t,n){"use strict";n.r(t);n(132),n(133);var r=wp.i18n.__,a=wp.blocks.registerBlockType,o=wp.compose,l=o.compose,s=o.withState,i=wp.components.Spinner,c=wp.data.withSelect;a("themeisle-blocks/about-author",{title:r("About Author"),description:r("About Author block is the easiest way to add a author bio below your posts."),icon:"admin-users",category:"themeisle-blocks",keywords:["about","author","profile"],attributes:{id:{type:"number"}},supports:{html:!1},edit:l([c(function(e,t){return{postAuthor:e("core/editor").getEditedPostAttribute("author"),authors:e("core").getAuthors(),props:t}}),s({status:0,authorDetails:{}})])(function(e){var t=e.postAuthor,n=e.authors,a=e.status,o=e.authorDetails,l=e.setState,s=e.props,c=e.className;return 0===a&&t&&n&&t!==s.attributes.id&&n.find(function(e){if(e.id===t)return s.setAttributes({id:e.id}),l({authorDetails:e,status:1}),e.id===t}),1===a&&t&&n?wp.element.createElement("section",{className:c},wp.element.createElement("div",{className:"themeisle-author-image"},wp.element.createElement("img",{className:"author-image",src:o.avatar_urls[96],alt:o.name})),wp.element.createElement("div",{className:"themeisle-author-data"},wp.element.createElement("h4",null,o.name),wp.element.createElement("p",null,o.description))):wp.element.createElement("div",{key:"loading",className:"wp-block-embed is-loading"},wp.element.createElement(i,null),wp.element.createElement("p",null,r("Loading…")))}),save:function(){return null}})},133:function(e,t,n){},134:function(e,t,n){"use strict";n.r(t);n(135),n(136),n(137),n(138)},135:function(e,t,n){},137:function(e,t){var n=wp.i18n.__,r=wp.blocks.registerBlockType,a=wp.editor.InnerBlocks;r("themeisle-blocks/accordion-area",{title:n("Accordion"),description:n("Accordion block allows you to add beautiful accordions in your posts."),icon:"menu",category:"themeisle-blocks",keywords:["accordion","collapsible","orbitfox"],edit:function(e){return wp.element.createElement("div",{className:e.className},wp.element.createElement("ul",null,wp.element.createElement(a,{allowedBlocks:["themeisle-blocks/accordion-block"],template:[["themeisle-blocks/accordion-block"],["themeisle-blocks/accordion-block"],["themeisle-blocks/accordion-block"]]})))},save:function(){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-accordion-box"},wp.element.createElement("ul",null,wp.element.createElement(a.Content,null)))}})},138:function(e,t){var n=wp.i18n.__,r=wp.blocks.registerBlockType,a=wp.editor,o=a.RichText,l=a.InnerBlocks;r("themeisle-blocks/accordion-block",{title:n("Accordion Item"),description:n("Accordion block allows you to add beautiful accordions in your posts."),parent:["themeisle-blocks/accordion-area"],icon:"menu",category:"themeisle-blocks",keywords:["accordion","collapsible","orbitfox"],attributes:{heading:{type:"array",source:"children",selector:".accordion-heading"}},edit:function(e){var t=[["core/paragraph",{content:n("What is the point of being alive if you don’t at least try to do something remarkable?"),className:"accordion-content"}]];return wp.element.createElement("li",{className:e.className},wp.element.createElement(o,{tagName:"h4",className:"accordion-heading",value:e.attributes.heading,placeholder:"Section Title",onChange:function(t){return e.setAttributes({heading:t})}}),wp.element.createElement("div",{className:"accordion-content"},wp.element.createElement(l,{template:t,id:"accordion-content"})))},save:function(e){return wp.element.createElement("li",null,wp.element.createElement("input",{type:"checkbox",checked:!0}),wp.element.createElement("i",null),wp.element.createElement(o.Content,{tagName:"h4",className:"accordion-heading",value:e.attributes.heading}),wp.element.createElement("div",{className:"accordion-content"},wp.element.createElement(l.Content,null)))}})},150:function(e,t,n){var r={"./af":7,"./af.js":7,"./ar":8,"./ar-dz":9,"./ar-dz.js":9,"./ar-kw":10,"./ar-kw.js":10,"./ar-ly":11,"./ar-ly.js":11,"./ar-ma":12,"./ar-ma.js":12,"./ar-sa":13,"./ar-sa.js":13,"./ar-tn":14,"./ar-tn.js":14,"./ar.js":8,"./az":15,"./az.js":15,"./be":16,"./be.js":16,"./bg":17,"./bg.js":17,"./bm":18,"./bm.js":18,"./bn":19,"./bn.js":19,"./bo":20,"./bo.js":20,"./br":21,"./br.js":21,"./bs":22,"./bs.js":22,"./ca":23,"./ca.js":23,"./cs":24,"./cs.js":24,"./cv":25,"./cv.js":25,"./cy":26,"./cy.js":26,"./da":27,"./da.js":27,"./de":28,"./de-at":29,"./de-at.js":29,"./de-ch":30,"./de-ch.js":30,"./de.js":28,"./dv":31,"./dv.js":31,"./el":32,"./el.js":32,"./en-au":33,"./en-au.js":33,"./en-ca":34,"./en-ca.js":34,"./en-gb":35,"./en-gb.js":35,"./en-ie":36,"./en-ie.js":36,"./en-nz":37,"./en-nz.js":37,"./eo":38,"./eo.js":38,"./es":39,"./es-do":40,"./es-do.js":40,"./es-us":41,"./es-us.js":41,"./es.js":39,"./et":42,"./et.js":42,"./eu":43,"./eu.js":43,"./fa":44,"./fa.js":44,"./fi":45,"./fi.js":45,"./fo":46,"./fo.js":46,"./fr":47,"./fr-ca":48,"./fr-ca.js":48,"./fr-ch":49,"./fr-ch.js":49,"./fr.js":47,"./fy":50,"./fy.js":50,"./gd":51,"./gd.js":51,"./gl":52,"./gl.js":52,"./gom-latn":53,"./gom-latn.js":53,"./gu":54,"./gu.js":54,"./he":55,"./he.js":55,"./hi":56,"./hi.js":56,"./hr":57,"./hr.js":57,"./hu":58,"./hu.js":58,"./hy-am":59,"./hy-am.js":59,"./id":60,"./id.js":60,"./is":61,"./is.js":61,"./it":62,"./it.js":62,"./ja":63,"./ja.js":63,"./jv":64,"./jv.js":64,"./ka":65,"./ka.js":65,"./kk":66,"./kk.js":66,"./km":67,"./km.js":67,"./kn":68,"./kn.js":68,"./ko":69,"./ko.js":69,"./ky":70,"./ky.js":70,"./lb":71,"./lb.js":71,"./lo":72,"./lo.js":72,"./lt":73,"./lt.js":73,"./lv":74,"./lv.js":74,"./me":75,"./me.js":75,"./mi":76,"./mi.js":76,"./mk":77,"./mk.js":77,"./ml":78,"./ml.js":78,"./mr":79,"./mr.js":79,"./ms":80,"./ms-my":81,"./ms-my.js":81,"./ms.js":80,"./mt":82,"./mt.js":82,"./my":83,"./my.js":83,"./nb":84,"./nb.js":84,"./ne":85,"./ne.js":85,"./nl":86,"./nl-be":87,"./nl-be.js":87,"./nl.js":86,"./nn":88,"./nn.js":88,"./pa-in":89,"./pa-in.js":89,"./pl":90,"./pl.js":90,"./pt":91,"./pt-br":92,"./pt-br.js":92,"./pt.js":91,"./ro":93,"./ro.js":93,"./ru":94,"./ru.js":94,"./sd":95,"./sd.js":95,"./se":96,"./se.js":96,"./si":97,"./si.js":97,"./sk":98,"./sk.js":98,"./sl":99,"./sl.js":99,"./sq":100,"./sq.js":100,"./sr":101,"./sr-cyrl":102,"./sr-cyrl.js":102,"./sr.js":101,"./ss":103,"./ss.js":103,"./sv":104,"./sv.js":104,"./sw":105,"./sw.js":105,"./ta":106,"./ta.js":106,"./te":107,"./te.js":107,"./tet":108,"./tet.js":108,"./th":109,"./th.js":109,"./tl-ph":110,"./tl-ph.js":110,"./tlh":111,"./tlh.js":111,"./tr":112,"./tr.js":112,"./tzl":113,"./tzl.js":113,"./tzm":114,"./tzm-latn":115,"./tzm-latn.js":115,"./tzm.js":114,"./uk":116,"./uk.js":116,"./ur":117,"./ur.js":117,"./uz":118,"./uz-latn":119,"./uz-latn.js":119,"./uz.js":118,"./vi":120,"./vi.js":120,"./x-pseudo":121,"./x-pseudo.js":121,"./yo":122,"./yo.js":122,"./zh-cn":123,"./zh-cn.js":123,"./zh-hk":124,"./zh-hk.js":124,"./zh-tw":125,"./zh-tw.js":125};function a(e){var t=o(e);return n(t)}function o(e){var t=r[e];if(!(t+1)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=150},155:function(e,t,n){"use strict";n.r(t);var r=n(2),a=n.n(r),o=n(129),l=n.n(o);n(167),n(168);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=wp.i18n.__,c=wp.blocks.registerBlockType,u=wp.components,m=u.PanelBody,p=u.Spinner,b=u.Placeholder,d=u.RangeControl,g=wp.compose,f=g.compose,w=g.withState,h=wp.data.withSelect,y=wp.editor,k=y.ContrastChecker,v=y.InspectorControls,E=y.PanelColorSettings;c("themeisle-blocks/font-awesome-icons",{title:i("Font Awesome Icons"),description:i("Share buttons for your website visitors to share content on any social sharing service."),icon:"smiley",category:"themeisle-blocks",keywords:["font awesome","dashicons","icons"],attributes:{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}},supports:{align:["left","center","right"]},edit:f([h(function(e,t){return{iconsList:e("themeisle-gutenberg/blocks").getFaIconsList(),props:t}}),w({suggestions:[]})])(function(e){var t=e.iconsList,n=e.suggestions,r=e.setState,o=e.props,c=function(e){var n=e.trim().toLowerCase(),r=n.length;return 0===r?[]:t.filter(function(e){return e.name.toLowerCase().slice(0,r)===n})},u={placeholder:i("Start typing, like themeisle…"),value:o.attributes.icon,onChange:function(e,t){var n=t.newValue;"object"===s(n)?o.setAttributes({icon:n.name,prefix:n.prefix}):o.setAttributes({icon:n})}},g={borderRadius:o.attributes.borderRadius+"%",fontSize:o.attributes.fontSize+"px",padding:o.attributes.padding+"px"},f={color:o.attributes.textColor,backgroundColor:o.attributes.backgroundColor,borderColor:o.attributes.borderColor,borderRadius:o.attributes.borderRadius+"%",borderStyle:"solid",borderWidth:o.attributes.borderSize+"px",display:"inline-block",margin:o.attributes.margin+"px"};return[wp.element.createElement(v,null,wp.element.createElement(m,{title:i("Icon Settings")},void 0!==t&&0<t.length?wp.element.createElement("div",{className:"font-awesome-auto-complete"},wp.element.createElement("label",null,wp.element.createElement("i",{className:"".concat(o.attributes.prefix," fa-").concat(o.attributes.icon)})),wp.element.createElement(l.a,{suggestions:n,onSuggestionsFetchRequested:function(e){var t=e.value;r({suggestions:c(t)})},onSuggestionsClearRequested:function(){r({suggestions:[]})},getSuggestionValue:function(e){return e},renderSuggestion:function(e){return wp.element.createElement("div",{className:a()("icon-select",{selected:e.name===o.attributes.icon&&e.prefix===o.attributes.prefix})},wp.element.createElement("i",{className:"".concat(e.prefix," fa-fw fa-").concat(e.name)}),e.name)},renderSuggestionsContainer:function(e){var t=e.containerProps,n=e.children;e.query;return wp.element.createElement("div",t,n)},inputProps:u})):wp.element.createElement(b,null,wp.element.createElement(p,null))),wp.element.createElement(m,{title:i("Icon Sizes"),className:"blocks-font-size",initialOpen:!1},wp.element.createElement(d,{label:i("Text Size"),value:o.attributes.fontSize||"",initialPosition:16,onChange:function(e){o.setAttributes({fontSize:e})},min:12,max:140,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor"}),wp.element.createElement(d,{label:i("Inner Space"),value:o.attributes.padding||"",initialPosition:5,onChange:function(e){o.setAttributes({padding:e})},min:0,max:100,beforeIcon:"minus",afterIcon:"plus"}),wp.element.createElement(d,{label:i("Outer Space"),value:o.attributes.margin||"",initialPosition:5,onChange:function(e){o.setAttributes({margin:e})},min:0,max:100,beforeIcon:"minus",afterIcon:"plus"})),wp.element.createElement(E,{title:i("Color Settings"),initialOpen:!1,colorSettings:[{value:o.attributes.backgroundColor,onChange:function(e){o.setAttributes({backgroundColor:e})},label:i("Background Color")},{value:o.attributes.textColor,onChange:function(e){o.setAttributes({textColor:e})},label:i("Text Color")},{value:o.attributes.borderColor,onChange:function(e){o.setAttributes({borderColor:e})},label:i("Border Color")}]},wp.element.createElement(k,{textColor:o.attributes.textColor,backgroundColor:o.attributes.backgroundColor})),wp.element.createElement(m,{title:i("Border Settings"),initialOpen:!1},wp.element.createElement(d,{label:i("Border Size"),value:o.attributes.borderSize,onChange:function(e){o.setAttributes({borderSize:e})},min:0,max:120,beforeIcon:"minus",afterIcon:"plus"}),wp.element.createElement(d,{label:i("Border Radius"),value:o.attributes.borderRadius,onChange:function(e){o.setAttributes({borderRadius:e})},min:0,max:100,beforeIcon:"grid-view",afterIcon:"marker"}))),wp.element.createElement("p",{className:o.className},wp.element.createElement("span",{className:"".concat(o.className,"-container"),style:f},wp.element.createElement("i",{className:"".concat(o.attributes.prefix," fa-").concat(o.attributes.icon),style:g})))]}),save:function(e){var t={borderRadius:e.attributes.borderRadius+"%",fontSize:e.attributes.fontSize+"px",padding:e.attributes.padding+"px"},n={color:e.attributes.textColor,backgroundColor:e.attributes.backgroundColor,borderColor:e.attributes.borderColor,borderRadius:e.attributes.borderRadius+"%",borderStyle:"solid",borderWidth:e.attributes.borderSize+"px",display:"inline-block",margin:e.attributes.margin+"px"};return wp.element.createElement("p",null,wp.element.createElement("span",{style:n},wp.element.createElement("i",{className:"".concat(e.attributes.prefix," fa-").concat(e.attributes.icon),style:t})))}})},167:function(e,t,n){},169:function(e,t,n){"use strict";n.r(t);n(170);var r=wp.i18n.__,a=wp.blocks.registerBlockType,o=wp.components,l=o.Button,s=o.PanelBody,i=o.Placeholder,c=o.RangeControl,u=o.SelectControl,m=o.Spinner,p=o.TextControl,b=wp.compose,d=b.compose,g=b.withState,f=wp.data.withSelect,w=wp.editor.InspectorControls;a("themeisle-blocks/google-map",{title:r("Google Map"),description:r("Display a Google Map on your website with Google Map block."),icon:"admin-site",category:"themeisle-blocks",keywords:["map","google","orbitfox"],attributes:{location:{type:"string"},type:{type:"string",default:"roadmap"},zoom:{type:"number",default:10},height:{type:"string",default:"400px"}},supports:{html:!1},edit:d([f(function(e,t){return{props:t}}),g({api:"",isAPILoaded:!1,isAPISaved:!1,isSaving:!1})])(function(e){var t,n=e.props,a=e.className,o=e.api,b=e.isAPILoaded,d=e.isAPISaved,g=e.isSaving,f=e.setState;wp.api.loadPromise.then(function(){t=new wp.api.models.Settings}),!1===b&&t.fetch().then(function(e){f({api:e.themeisle_google_map_block_api_key,isAPILoaded:!0}),""!==e.themeisle_google_map_block_api_key&&f({isAPISaved:!0})});var h=function(e){f({api:e})},y=function(){f({isSaving:!0}),new wp.api.models.Settings({themeisle_google_map_block_api_key:o}).save().then(function(e){t.fetch(),f({isSaving:!1,isAPISaved:!0})})};return b?d?[wp.element.createElement(w,null,wp.element.createElement(s,{title:r("Map Settings")},wp.element.createElement(u,{label:r("Map Type"),value:n.attributes.type,options:[{label:r("Road Map"),value:"roadmap"},{label:r("Satellite View"),value:"satellite"}],onChange:function(e){n.setAttributes({type:e})}}),wp.element.createElement(c,{label:r("Map Zoom Level"),value:n.attributes.zoom,onChange:function(e){n.setAttributes({zoom:e})},min:0,max:21}),wp.element.createElement(p,{label:r("Map Height"),type:"text",value:n.attributes.height,onChange:function(e){n.setAttributes({height:e})}})),wp.element.createElement(s,{title:r("Global Settings"),initialOpen:!1},wp.element.createElement(p,{label:r("Google Maps API Key"),type:"text",placeholder:r("Google Maps API Key"),value:o,className:"components-placeholder__input",onChange:h,help:r("Changing the API key effects all Google Map Embed blocks.")}),wp.element.createElement(l,{isLarge:!0,type:"submit",onClick:y,isBusy:g,disabled:""===o},r("Save API Key")))),wp.element.createElement(p,{type:"text",placeholder:r("Enter a location…"),value:n.attributes.location,onChange:function(e){n.setAttributes({location:e})}}),n.attributes.location&&wp.element.createElement("div",{className:"".concat(a," interactive")},wp.element.createElement("div",{className:"map"},wp.element.createElement("iframe",{width:"100%",height:"100%",frameBorder:"0",style:{border:0,height:n.attributes.height},src:"https://www.google.com/maps/embed/v1/place?key=".concat(o,"&q=").concat(n.attributes.location,"&maptype=").concat(n.attributes.type,"&zoom=").concat(n.attributes.zoom),allowFullScreen:!0},">")))]:wp.element.createElement("div",{className:a},wp.element.createElement(i,{icon:"admin-site",label:r("Google Maps"),instructions:r("A Google Maps API key is required, please enter one below.")},wp.element.createElement(p,{type:"text",placeholder:r("Google Maps API Key"),value:o,className:"components-placeholder__input",onChange:h}),wp.element.createElement(l,{isLarge:!0,type:"submit",onClick:y,isBusy:g,disabled:""===o},r("Save API Key")),wp.element.createElement("div",{class:"components-placeholder__instructions"},r("Need an API key? Get one"),wp.element.createElement("a",{target:"_blank",href:"https://console.developers.google.com/flows/enableapi?apiid=maps_backend,static_maps_backend,maps_embed_backend&keyType=CLIENT_SIDE&reusekey=true"},r(" here."))))):wp.element.createElement(i,null,wp.element.createElement(m,null),r("Loading…"))}),save:function(){return null}})},171:function(e,t,n){"use strict";n.r(t);n(172),n(173);var r=wp.i18n.__,a=wp.blocks.registerBlockType,o=wp.editor.RichText,l=wp.components.Notice;a("themeisle-blocks/notice",{title:r("Notice"),description:r("Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages."),icon:"info",category:"themeisle-blocks",keywords:["notice","info"],attributes:{content:{type:"array",source:"children",selector:"p.components-notice__content"}},supports:{align:["wide","full"]},styles:[{name:"sucess",label:r("Success"),isDefault:!0},{name:"info",label:r("Info")},{name:"warning",label:r("Warning")},{name:"error",label:r("Error")}],edit:function(e){var t="success";return e.attributes.className&&e.attributes.className.includes("is-style-info")?t="":e.attributes.className&&e.attributes.className.includes("is-style-warning")?t="warning":e.attributes.className&&e.attributes.className.includes("is-style-error")&&(t="error"),wp.element.createElement(l,{className:e.className,isDismissible:!1,status:t},wp.element.createElement(o,{tagName:"p",placeholder:r("Lorem ipsum dolor sit amet, consectetur adipiscing elit."),value:e.attributes.content,className:"components-notice__content",onChange:function(t){return e.setAttributes({content:t})},keepPlaceholderOnFocus:"true"}))},save:function(e){var t="success";return e.attributes.className&&e.attributes.className.includes("is-style-info")?t="":e.attributes.className&&e.attributes.className.includes("is-style-warning")?t="warning":e.attributes.className&&e.attributes.className.includes("is-style-error")&&(t="error"),wp.element.createElement(l,{className:"themeisle-block-notice",isDismissible:!1,status:t},wp.element.createElement(o.Content,{tagName:"p",className:"components-notice__content",value:e.attributes.content}))}})},172:function(e,t,n){},174:function(e,t,n){"use strict";n.r(t);n(175),n(176);var r=wp.i18n.__,a=wp.blocks.registerBlockType,o=wp.components,l=o.Placeholder,s=o.Dashicon,i=o.TextControl,c=o.Spinner,u=o.Button,m=o.Toolbar,p=o.Tooltip,b=wp.compose,d=b.compose,g=b.withState,f=wp.editor.BlockControls,w=wp.data.withSelect,h=wp.keycodes.ENTER,y=function(e){var t=document.createElement("div");return t.innerHTML=e,void 0!==t.innerText?t.innerText:t.textContent};a("themeisle-blocks/plugin-cards",{title:r("Plugin Card"),description:r("Plugin Card block lets you display plugins data in your blog posts."),icon:"admin-plugins",category:"themeisle-blocks",keywords:["plugin","card","orbitfox"],attributes:{slug:{type:"string"},pluginIcon:{type:"string"},pluginName:{type:"string"},pluginAuthor:{type:"string"},pluginRating:{type:"number"},pluginDescription:{type:"string"},pluginInstalls:{type:"number"},pluginVersion:{type:"string"},pluginTested:{type:"string"},pluginLink:{type:"string"}},supports:{html:!1,align:["left","center","right"]},edit:d([w(function(e,t){return{props:t}}),g({status:0,results:{}})])(function(e){var t,n,a,o,b,d=e.props,g=e.className,w=e.status,k=e.results,v=e.setState;return[d.attributes.pluginName&&wp.element.createElement(f,{key:"toolbar-controls"},wp.element.createElement(m,{className:"components-toolbar"},wp.element.createElement(p,{text:r("Edit Plugin Card")},wp.element.createElement(u,{className:"components-icon-button components-toolbar__control edit-plugin-card",onClick:function(){d.setAttributes({pluginIcon:"",pluginName:"",pluginAuthor:"",pluginRating:"",pluginDescription:"",pluginInstalls:"",pluginVersion:"",pluginTested:"",pluginLink:""})}},wp.element.createElement(s,{icon:"edit"}))))),wp.element.createElement("div",{className:"".concat(g)},d.attributes.pluginName?wp.element.createElement("div",{class:"themeisle-plugin-card"},wp.element.createElement("div",{class:"card-header"},wp.element.createElement("div",{class:"card-main"},wp.element.createElement("div",{class:"card-logo"},wp.element.createElement("img",{src:d.attributes.pluginIcon,alt:y(d.attributes.pluginName),title:y(d.attributes.pluginName)})),wp.element.createElement("div",{class:"card-info"},wp.element.createElement("h4",null,y(d.attributes.pluginName)),wp.element.createElement("h5",{dangerouslySetInnerHTML:{__html:_.unescape(d.attributes.pluginAuthor)}})),wp.element.createElement("div",{class:"card-ratings",dangerouslySetInnerHTML:{__html:_.unescape((t=d.attributes.pluginRating,n=Math.floor(t/10)/2,a=Math.floor(n),o=Math.ceil(n-a),b=5-a-o,'<span class="star-full"></span>'.repeat(a)+'<span class="star-half"></span>'.repeat(o)+'<span class="star-empty"></span>'.repeat(b)))}}))),wp.element.createElement("div",{class:"card-details"},wp.element.createElement("div",{class:"card-description"},y(d.attributes.pluginDescription)),wp.element.createElement("div",{class:"card-stats"},wp.element.createElement("h5",null,r("Plugin Stats")),wp.element.createElement("div",{class:"card-stats-list"},wp.element.createElement("div",{class:"card-stat"},wp.element.createElement("span",{class:"card-text-large"},d.attributes.pluginInstalls.toLocaleString(),"+"),r("active installs")),wp.element.createElement("div",{class:"card-stat"},wp.element.createElement("span",{class:"card-text-large"},d.attributes.pluginVersion),r("version")),wp.element.createElement("div",{class:"card-stat"},wp.element.createElement("span",{class:"card-text-large"},d.attributes.pluginTested),r("tested up to"))))),wp.element.createElement("div",{class:"card-download"},wp.element.createElement("a",{href:d.attributes.pluginLink},r("Download")))):wp.element.createElement(l,{icon:"admin-plugins",label:r("Plugin Card")},wp.element.createElement("div",{className:"search-plugin-field"},wp.element.createElement(s,{icon:"search"}),1===w&&wp.element.createElement(c,null),wp.element.createElement(i,{type:"text",placeholder:r("Search for plugin…"),value:d.attributes.slug,onChange:function(e){d.setAttributes({slug:e})},onKeyDown:function(e){var t;e.keyCode===h&&(t=e.target.value,v({status:1}),wp.apiFetch({path:"themeisle-gutenberg-blocks/v1/get_plugins?search='".concat(encodeURIComponent(t))}).then(function(e){var t=e.data.plugins;v({status:0,results:t})}))}}),k&&wp.element.createElement("div",{className:"plugin-card-search-results"},wp.element.createElement("div",null,Object.keys(k).map(function(e,t){var n,r=k[e];return r.icons.svg&&(n=r.icons.svg),r.icons["2x"]&&(n=r.icons["2x"]),r.icons["1x"]&&(n=r.icons["1x"]),r.icons.default&&(n=r.icons.default),wp.element.createElement("div",{className:"plugin-card-list-item",key:e,onClick:function(e){var t,n;e.preventDefault(),(t=r).icons.svg&&(n=t.icons.svg),t.icons["2x"]&&(n=t.icons["2x"]),t.icons["1x"]&&(n=t.icons["1x"]),t.icons.default&&(n=t.icons.default),d.setAttributes({slug:t.slug,pluginIcon:n,pluginName:t.name,pluginAuthor:t.author,pluginRating:t.rating,pluginDescription:t.short_description,pluginInstalls:t.active_installs,pluginVersion:t.version,pluginTested:t.tested,pluginLink:t.download_link}),v({results:{}})}},wp.element.createElement("img",{src:n}),wp.element.createElement("span",{dangerouslySetInnerHTML:{__html:_.unescape(r.name)}}))}))))))]}),save:function(){return null}})},176:function(e,t,n){},177:function(e,t,n){},179:function(e,t,n){},181:function(e,t,n){},183:function(e,t){var n=wp.i18n.__,r=wp.blocks.registerBlockType,a=wp.editor,o=a.InnerBlocks,l=a.InspectorControls,s=a.PanelColorSettings;r("themeisle-blocks/service-block",{title:n("Service Block"),description:n("Use this Services table to showcase services your website offers."),parent:["themeisle-blocks/services"],icon:"slides",category:"themeisle-blocks",keywords:["pricing","table","orbitfox"],attributes:{backgroundColor:{type:"string",default:"#ffffff"}},edit:function(e){var t=[["themeisle-blocks/font-awesome-icons",{fontSize:"62",prefix:"fab",icon:"angellist"}],["core/heading",{content:n("Panel"),className:"service-title",align:"center",level:4}],["core/paragraph",{content:n("Small description, but a pretty long one."),className:"service-content",align:"center"}],["core/button",{text:n("Learn More"),className:"service-button",align:"center"}]];return[wp.element.createElement(l,null,wp.element.createElement(s,{title:n("Color Settings"),initialOpen:!0,colorSettings:[{value:e.attributes.backgroundColor,onChange:function(t){e.setAttributes({backgroundColor:t})},label:n("Background Color")}]})),wp.element.createElement("div",{className:"wp-block-column",style:{backgroundColor:e.attributes.backgroundColor}},wp.element.createElement(o,{template:t}))]},save:function(e){return wp.element.createElement("div",{className:"wp-block-column",style:{backgroundColor:e.attributes.backgroundColor}},wp.element.createElement(o.Content,null))}})},184:function(e,t,n){},186:function(e,t,n){},188:function(e,t){var n=wp.i18n.__,r=wp.blocks.registerBlockType,a=wp.editor,o=a.InnerBlocks,l=a.InspectorControls,s=a.PanelColorSettings;r("themeisle-blocks/testimonials-block",{title:n("Testimonials Block"),description:n("Display kudos from customers and clients and display them on your website."),parent:["themeisle-blocks/testimonials-area"],icon:"testimonial",category:"themeisle-blocks",keywords:["testimonials","clients","quotes"],attributes:{backgroundColor:{type:"string",default:"#ffffff"}},edit:function(e){var t=[["core/image",{align:"center"}],["core/heading",{content:n("John Doe"),className:"testimonials-title",align:"center",level:3}],["core/heading",{content:n("Jedi Master"),className:"testimonials-subtitle",align:"center",level:6}],["core/paragraph",{content:n("What is the point of being alive if you don’t at least try to do something remarkable?"),className:"testimonials-content",align:"center"}]];return[wp.element.createElement(l,null,wp.element.createElement(s,{title:n("Color Settings"),initialOpen:!0,colorSettings:[{value:e.attributes.backgroundColor,onChange:function(t){e.setAttributes({backgroundColor:t})},label:n("Background Color")}]})),wp.element.createElement("div",{className:"wp-block-column",style:{backgroundColor:e.attributes.backgroundColor}},wp.element.createElement(o,{template:t}))]},save:function(e){return wp.element.createElement("div",{className:"wp-block-column",style:{backgroundColor:e.attributes.backgroundColor}},wp.element.createElement(o.Content,null))}})},189:function(e,t,n){"use strict";n.r(t);n(190),n(191);var r=wp.i18n.__,a=lodash.get,o=wp.blocks,l=o.registerBlockType,s=o.createBlock,i=wp.components,c=i.Toolbar,u=i.TextControl,m=wp.editor.BlockControls,p=wp.data.withSelect,b=wp.editor.RichText;l("themeisle-blocks/tweetable",{title:r("Click To Tweet"),description:r("Click to Tweet allows visitors to easily share your content on Twitter."),icon:"twitter",category:"themeisle-blocks",keywords:[r("twitter"),r("tweet"),r("orbitfox")],attributes:{quote:{type:"string",source:"children",selector:"p",default:[]},permalink:{type:"url"},via:{type:"string"},buttonText:{type:"string",default:r("Click to Tweet")}},transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return s("themeisle-blocks/tweetable",{quote:t})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.value,n=e.citation;return t&&t.length||n?(t||[]).map(function(e){return s("themeisle-blocks/tweetable",{quote:[a(e,"children.props.children","")]})}).concat(n?s("core/paragraph",{content:n}):[]):s("themeisle-blocks/tweetable")}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,n=e.citation;return t&&t.length||n?(t||[]).map(function(e){return s("themeisle-blocks/tweetable",{quote:[a(e,"children.props.children","")]})}).concat(n?s("core/paragraph",{quote:n}):[]):s("themeisle-blocks/tweetable")}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){e.content;var t=e.quote;return t&&t.length?(t||[]).map(function(e){return s("core/paragraph",{content:t})}):s("core/paragraph")}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.quote;return s("core/quote",{value:[{children:wp.element.createElement("p",{key:"1"},t)}]})}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.quote;return s("core/pullquote",{value:[{children:wp.element.createElement("p",{key:"1"},t)}]})}}]},edit:p(function(e,t){var n=e("core/editor").getPermalink;return void 0===t.attributes.permalink&&t.setAttributes({permalink:n()}),{permalink:n(),props:t}})(function(e){var t=e.props,n=e.className;return[wp.element.createElement(m,{key:"controls"},wp.element.createElement(c,null,wp.element.createElement("i",{className:"fas fa-at tweetable-icon"}),wp.element.createElement(u,{type:"text",placeholder:"Username",className:"tweetable-controls",value:t.attributes.via,onChange:function(e){t.setAttributes({via:e})}}))),wp.element.createElement("blockquote",{className:n},wp.element.createElement(b,{tagName:"p",multiline:"false",placeholder:r("What should we tweet?"),value:t.attributes.quote,formattingControls:[],onChange:function(e){t.setAttributes({quote:e})},keepPlaceholderOnFocus:!0}),wp.element.createElement(b,{tagName:"span",placeholder:r("Tweet this!"),className:"tweetbutton",value:t.attributes.buttonText?t.attributes.buttonText:r("Tweet this!"),formattingControls:[],onChange:function(e){t.setAttributes({buttonText:e})},keepPlaceholderOnFocus:!0}))]}),save:function(e){var t=e.attributes.via?"&via=".concat(e.attributes.via):"",n="http://twitter.com/share?&text=".concat(encodeURIComponent(e.attributes.quote),"&url=").concat(e.attributes.permalink).concat(t);return wp.element.createElement("blockquote",null,wp.element.createElement(b.Content,{tagName:"p",value:e.attributes.quote}),wp.element.createElement(b.Content,{tagName:"a",className:"tweetbutton",href:n,value:e.attributes.buttonText,target:"_blank"}))}})},191:function(e,t,n){},192:function(e,t){function n(e,t,n,r,a,o,l){try{var s=e[o](l),i=s.value}catch(e){return void n(e)}s.done?t(i):Promise.resolve(i).then(r,a)}var r=wp,a=r.data,o=r.apiRequest,l=a.registerStore,s=a.dispatch,i={};l("themeisle-gutenberg/blocks",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"GET_ICONS_LIST":return{iconsList:t.data}}return e},actions:{setFaIconsList:function(e){return{type:"GET_ICONS_LIST",data:e}}},selectors:{getFaIconsList:function(e){if(void 0!==e.iconsList)return e.iconsList}},resolvers:{getFaIconsList:function(){return(e=regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=[],e.next=3,o({path:"themeisle-gutenberg-blocks/v1/get_icons_list"});case 3:t=e.sent,s("themeisle-gutenberg/blocks").setFaIconsList(t);case 5:case"end":return e.stop()}},e,this)}),function(){var t=this,r=arguments;return new Promise(function(a,o){var l=e.apply(t,r);function s(e){n(l,a,o,s,i,"next",e)}function i(e){n(l,a,o,s,i,"throw",e)}s(void 0)})})();var e}}})},193:function(e,t,n){"use strict";n.r(t);n(179),n(180);var r=n(2),a=n.n(r),o=wp.i18n.__,l=wp.blocks.registerBlockType,s=wp.editor,i=s.ColorPalette,c=s.InnerBlocks,u=s.InspectorControls,m=s.MediaPlaceholder,p=wp.components,b=p.Button,d=p.ToggleControl,g=p.SelectControl,f=p.PanelBody,w=wp.element.Fragment;l("themeisle-blocks/pricing-table",{title:o("Pricing Table"),description:o("Pricing tables are a critical part in showcasing your services, prices and overall offerings."),icon:"slides",category:"themeisle-blocks",keywords:["pricing","table","orbitfox"],attributes:{backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string",default:"#ffffff"},backgroundImageID:{type:"string"},backgroundImageURL:{type:"string"},backgroundDimmed:{type:"boolean",default:!0},backgroundParallax:{type:"boolean",default:!1}},supports:{align:["wide","full"]},edit:function(e){var t={background:"color"===e.attributes.backgroundType?e.attributes.backgroundColor:"url(' ".concat(e.attributes.backgroundImageURL," ')")};return[wp.element.createElement(u,null,wp.element.createElement(f,{title:o("Background")},wp.element.createElement(g,{label:o("Background Type"),value:e.attributes.backgroundType,options:[{label:"Color",value:"color"},{label:"Image",value:"image"}],onChange:function(t){e.setAttributes({backgroundType:t})}}),"color"===e.attributes.backgroundType?wp.element.createElement(i,{label:o("Background Color"),value:e.attributes.backgroundColor,onChange:function(t){e.setAttributes({backgroundColor:t})}}):e.attributes.backgroundImageURL?wp.element.createElement(w,null,wp.element.createElement(d,{label:o("Dimmed Background"),checked:e.attributes.backgroundDimmed,onChange:function(){e.setAttributes({backgroundDimmed:!e.attributes.backgroundDimmed})}}),wp.element.createElement(d,{label:o("Parallax Background"),checked:e.attributes.backgroundParallax,onChange:function(){e.setAttributes({backgroundParallax:!e.attributes.backgroundParallax})}}),wp.element.createElement("img",{src:e.attributes.backgroundImageURL}),wp.element.createElement(b,{isLarge:!0,onClick:function(){e.setAttributes({backgroundImageID:"",backgroundImageURL:""})},style:{marginTop:"10px"}},o("Change or Remove Image"))):wp.element.createElement(m,{icon:"format-image",labels:{title:o("Background Image"),name:o("an image")},value:e.attributes.backgroundImageID,onSelect:function(t){e.setAttributes({backgroundImageID:t.id,backgroundImageURL:t.url})},accept:"image/*",allowedTypes:["image"]}))),wp.element.createElement("div",{className:a()(e.className,{"is-dim":"image"===e.attributes.backgroundType&&e.attributes.backgroundDimmed},{"is-parallax":"image"===e.attributes.backgroundType&&e.attributes.backgroundParallax}),style:t},wp.element.createElement(c,{allowedBlocks:["themeisle-blocks/pricing-block"],template:[["themeisle-blocks/pricing-block"],["themeisle-blocks/pricing-block"],["themeisle-blocks/pricing-block"]]}))]},save:function(e){var t={background:"color"===e.attributes.backgroundType?e.attributes.backgroundColor:"url(' ".concat(e.attributes.backgroundImageURL," ')")};return wp.element.createElement("div",{className:a()("wp-block-themeisle-blocks-pricing-table",{"is-dim":"image"===e.attributes.backgroundType&&e.attributes.backgroundDimmed},{"is-parallax":"image"===e.attributes.backgroundType&&e.attributes.backgroundParallax}),style:t},wp.element.createElement(c.Content,null))}});var h=wp.i18n.__,y=wp.blocks.registerBlockType,k=wp.editor,v=k.InnerBlocks,E=k.BlockControls,C=k.InspectorControls,x=k.PanelColorSettings,j=wp.components,N=j.Dashicon,S=j.Toolbar,T=j.Button,_=j.Tooltip;y("themeisle-blocks/pricing-block",{title:h("Pricing Block"),description:h("Pricing tables are a critical part in showcasing your services, prices and overall offerings."),parent:["themeisle-blocks/pricing-table"],icon:"slides",category:"themeisle-blocks",keywords:["pricing","table","orbitfox"],attributes:{featured:{type:"boolean",default:!1},backgroundColor:{type:"string",default:"#ffffff"}},edit:function(e){var t=[["core/heading",{content:h("Basic"),className:"pricing-title",align:"center",level:5}],["core/paragraph",{content:h("$9.99"),align:"center",customFontSize:36}],["core/paragraph",{content:h("Per Month"),align:"center",customFontSize:12}],["core/separator",{}],["core/paragraph",{content:h("First Feature"),align:"center",fontSize:"small"}],["core/separator",{}],["core/paragraph",{content:h("Second Feature"),align:"center",fontSize:"small"}],["core/separator",{}],["core/paragraph",{content:h("Last Feature"),align:"center",fontSize:"small"}],["core/separator",{}],["core/button",{text:h("Buy Now"),className:"pricing-button",align:"center"}]];return[wp.element.createElement(E,{key:"toolbar-controls"},wp.element.createElement(S,{className:"components-toolbar"},wp.element.createElement(_,{text:h("Feature Table")},wp.element.createElement(T,{className:a()("components-icon-button","components-toolbar__control",{"is-active":e.attributes.featured}),onClick:function(){e.setAttributes({featured:!e.attributes.featured})}},wp.element.createElement(N,{icon:"star-empty"}))))),wp.element.createElement(C,null,wp.element.createElement(x,{title:h("Color Settings"),initialOpen:!0,colorSettings:[{value:e.attributes.backgroundColor,onChange:function(t){e.setAttributes({backgroundColor:t})},label:h("Background Color")}]})),wp.element.createElement("div",{className:a()("wp-block-column",{raised:e.attributes.featured}),style:{backgroundColor:e.attributes.backgroundColor}},wp.element.createElement(v,{template:t}))]},save:function(e){return wp.element.createElement("div",{className:a()("wp-block-column",{raised:e.attributes.featured}),style:{backgroundColor:e.attributes.backgroundColor}},wp.element.createElement(v.Content,null))}})},194:function(e,t,n){"use strict";n.r(t);var r=n(2),a=n.n(r),o=(n(184),n(185),wp.i18n.__),l={facebook:{label:o("Facebook"),icon:"facebook-f"},twitter:{label:o("Twitter"),icon:"twitter"},googleplus:{label:o("Google+"),icon:"google-plus-g"},linkedin:{label:o("Linkedin"),icon:"linkedin-in"},pinterest:{label:o("Pinterest"),icon:"pinterest-p"},tumblr:{label:o("Tumblr"),icon:"tumblr"},reddit:{label:o("Reddit"),icon:"reddit-alien"}};function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=wp.element.Component,b=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),c(this,u(t).apply(this,arguments))}var n,r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(t,p),n=t,(r=[{key:"render",value:function(){return"facebook"===this.props.icon?wp.element.createElement("svg",{className:"themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 264 512"},wp.element.createElement("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"===this.props.icon?wp.element.createElement("svg",{className:"themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement("path",{fill:"currentColor",d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"})):"googleplus"===this.props.icon?wp.element.createElement("svg",{className:"themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512"},wp.element.createElement("path",{fill:"currentColor",d:"M386.061 228.496c1.834 9.692 3.143 19.384 3.143 31.956C389.204 370.205 315.599 448 204.8 448c-106.084 0-192-85.915-192-192s85.916-192 192-192c51.864 0 95.083 18.859 128.611 50.292l-52.126 50.03c-14.145-13.621-39.028-29.599-76.485-29.599-65.484 0-118.92 54.221-118.92 121.277 0 67.056 53.436 121.277 118.92 121.277 75.961 0 104.513-54.745 108.965-82.773H204.8v-66.009h181.261zm185.406 6.437V179.2h-56.001v55.733h-55.733v56.001h55.733v55.733h56.001v-55.733H627.2v-56.001h-55.733z"})):"linkedin"===this.props.icon?wp.element.createElement("svg",{className:"themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},wp.element.createElement("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"===this.props.icon?wp.element.createElement("svg",{className:"themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},wp.element.createElement("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"===this.props.icon?wp.element.createElement("svg",{className:"themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"},wp.element.createElement("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"===this.props.icon?wp.element.createElement("svg",{className:"themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement("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"})):wp.element.createElement("svg",{className:"themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement("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"}))}}])&&i(n.prototype,r),a&&i(n,a),t}();var d=wp.i18n.__,g=wp.blocks.registerBlockType,f=wp.editor.BlockControls,w=wp.components,h=w.Toolbar,y=w.Button,k=w.Tooltip;g("themeisle-blocks/sharing-icons",{title:d("Sharing Icons"),description:d("Share buttons for your website visitors to share content on any social sharing service."),icon:"networking",category:"themeisle-blocks",keywords:["social media","sharing","icons"],attributes:{facebook:{type:"boolean",default:!0},twitter:{type:"boolean",default:!0},googleplus:{type:"boolean",default:!0},linkedin:{type:"boolean",default:!0},pinterest:{type:"boolean",default:!1},tumblr:{type:"boolean",default:!1},reddit:{type:"boolean",default:!1}},supports:{html:!0,align:["left","center","right"]},styles:[{name:"default",label:d("Regular"),isDefault:!0},{name:"icons",label:d("Icons Only")}],edit:function(e){var t=function(t){var n,r,a;e.setAttributes((n={},r=t,a=!e.attributes[t],r in n?Object.defineProperty(n,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[r]=a,n))};return[wp.element.createElement(f,{key:"toolbar-controls"},wp.element.createElement(h,{className:"components-toolbar"},Object.keys(l).map(function(n,r){var o=e.attributes[n];return wp.element.createElement(k,{text:d("Display ".concat(l[n].label))},wp.element.createElement(y,{className:a()("components-icon-button","components-toolbar__control",{"is-active":o}),onClick:function(e){return t(n)}},wp.element.createElement(b,{icon:n})))}))),wp.element.createElement("div",{className:a()(e.className,{"has-label":!e.attributes.className||!e.attributes.className.includes("is-style-icons")})},Object.keys(l).map(function(t,n){if(!0===e.attributes[t])return wp.element.createElement("a",{className:"social-icon is-".concat(t)},wp.element.createElement("i",{class:"fab fa-".concat(l[t].icon)}),(!e.attributes.className||!e.attributes.className.includes("is-style-icons"))&&l[t].label)}))]},save:function(){return null}})},195:function(e,t,n){"use strict";n.r(t);var r=n(126),a=n(128);n(153);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){s(e,t,n[t])})}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var p=wp.i18n.__,b=wp.element,d=b.Component,g=b.Fragment,f=wp.components,w=f.Button,h=f.Dashicon,y=f.FormToggle,k=f.PanelBody,v=f.PanelRow,E=f.TextControl,C=f.Toolbar,x=f.Tooltip,j=wp.editor,N=j.BlockControls,S=j.InspectorControls,T=function(e){function t(){var e,n,r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(r=c(t).apply(this,arguments))||"object"!==o(r)&&"function"!=typeof r?m(n):r).changeChartTitle=e.changeChartTitle.bind(m(m(e))),e.toggle3d=e.toggle3d.bind(m(m(e))),e.saveChart=e.saveChart.bind(m(m(e))),e.props.clientId&&""===e.props.attributes.id){var a=e.props.clientId;e.props.setAttributes({id:a})}return e.state={isOpen:!1},e.data=JSON.parse(e.props.attributes.data),e}var n,s,b;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,d),n=t,(s=[{key:"changeChartTitle",value:function(e){var t=l({},this.props.attributes.options);t.title=e,this.props.setAttributes({options:t})}},{key:"toggle3d",value:function(){var e=l({},this.props.attributes.options);e.is3D=!this.props.attributes.options.is3D,this.props.setAttributes({options:e})}},{key:"saveChart",value:function(){this.props.setAttributes({data:JSON.stringify(this.data)}),this.setState({isOpen:!this.state.isOpen})}},{key:"render",value:function(){return wp.element.createElement(g,null,wp.element.createElement(N,{key:"toolbar-controls"},wp.element.createElement(C,{className:"components-toolbar"},wp.element.createElement(x,{text:this.state.isOpen?p("Save"):p("Edit Chart")},wp.element.createElement(w,{className:"components-icon-button components-toolbar__control edit-pie-chart",onClick:this.saveChart},wp.element.createElement(h,{icon:this.state.isOpen?"yes":"edit"}))))),wp.element.createElement(S,null,wp.element.createElement(k,{title:p("Chart Settings")},wp.element.createElement(E,{label:p("Chart Title"),value:this.props.attributes.options.title,onChange:this.changeChartTitle}),wp.element.createElement(v,null,wp.element.createElement("label",{htmlFor:"is-3d-form-toggle"},p("Is chart 3d?")),wp.element.createElement(y,{id:"is-3d-form-toggle",label:p("Is chart 3rd? "),checked:this.props.attributes.options.is3D,onChange:this.toggle3d})))),wp.element.createElement("div",{className:this.props.className},this.state.isOpen?wp.element.createElement(a.HotTable,{data:this.data,allowInsertRow:!0,cell:[{row:0,col:0,readOnly:!0},{row:0,col:1,readOnly:!0}],columns:[{type:"text"},{type:"numeric"}],contextMenu:!0,className:"htLeft",height:"200",rowHeaders:!0,stretchH:"all"}):wp.element.createElement(r.a,{chartType:"PieChart",data:JSON.parse(this.props.attributes.data),options:this.props.attributes.options,width:"100%",height:"400px",legendToggle:!0})))}}])&&i(n.prototype,s),b&&i(n,b),t}(),_=(n(154),wp.i18n.__);(0,wp.blocks.registerBlockType)("themeisle-blocks/chart-pie",{title:_("Pie Chart"),description:_("Display a beautiful Pie Chart on your blog post with Pie Chart block."),icon:"chart-pie",category:"themeisle-blocks",keywords:[_("pie"),_("chart"),_("orbitfox")],attributes:{data:{type:"string",default:'[["Label","Data"],["Dogs",40],["Cats",30],["Racoons",20],["Monkeys",10]]'},options:{type:"object",default:{title:"Animals",is3D:!0}},id:{type:"string",default:""}},edit:T,save:function(){return null}})},196:function(e,t,n){"use strict";n.r(t);n(186),n(187);var r=n(2),a=n.n(r),o=wp.i18n.__,l=wp.blocks.registerBlockType,s=wp.editor,i=s.ColorPalette,c=s.InnerBlocks,u=s.InspectorControls,m=s.MediaPlaceholder,p=wp.components,b=p.Button,d=p.ToggleControl,g=p.SelectControl,f=p.PanelBody,w=wp.element.Fragment;l("themeisle-blocks/testimonials-area",{title:o("Testimonials Area"),description:o("Display kudos from customers and clients and display them on your website."),icon:"testimonial",category:"themeisle-blocks",keywords:["testimonials","clients","quotes"],attributes:{backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string",default:"#ffffff"},backgroundImageID:{type:"string"},backgroundImageURL:{type:"string"},backgroundDimmed:{type:"boolean",default:!0},backgroundParallax:{type:"boolean",default:!1}},supports:{align:["wide","full"]},edit:function(e){var t={background:"color"===e.attributes.backgroundType?e.attributes.backgroundColor:"url(' ".concat(e.attributes.backgroundImageURL," ')")};return[wp.element.createElement(u,null,wp.element.createElement(f,{title:o("Background")},wp.element.createElement(g,{label:o("Background Type"),value:e.attributes.backgroundType,options:[{label:"Color",value:"color"},{label:"Image",value:"image"}],onChange:function(t){e.setAttributes({backgroundType:t})}}),"color"===e.attributes.backgroundType?wp.element.createElement(i,{label:o("Background Color"),value:e.attributes.backgroundColor,onChange:function(t){e.setAttributes({backgroundColor:t})}}):e.attributes.backgroundImageURL?wp.element.createElement(w,null,wp.element.createElement(d,{label:o("Dimmed Background"),checked:e.attributes.backgroundDimmed,onChange:function(){e.setAttributes({backgroundDimmed:!e.attributes.backgroundDimmed})}}),wp.element.createElement(d,{label:o("Parallax Background"),checked:e.attributes.backgroundParallax,onChange:function(){e.setAttributes({backgroundParallax:!e.attributes.backgroundParallax})}}),wp.element.createElement("img",{src:e.attributes.backgroundImageURL}),wp.element.createElement(b,{isLarge:!0,onClick:function(){e.setAttributes({backgroundImageID:"",backgroundImageURL:""})},style:{marginTop:"10px"}},o("Change or Remove Image"))):wp.element.createElement(m,{icon:"format-image",labels:{title:o("Background Image"),name:o("an image")},value:e.attributes.backgroundImageID,onSelect:function(t){e.setAttributes({backgroundImageID:t.id,backgroundImageURL:t.url})},accept:"image/*",allowedTypes:["image"]}))),wp.element.createElement("div",{className:a()(e.className,{"is-dim":"image"===e.attributes.backgroundType&&e.attributes.backgroundDimmed},{"is-parallax":"image"===e.attributes.backgroundType&&e.attributes.backgroundParallax}),style:t},wp.element.createElement(c,{allowedBlocks:["themeisle-blocks/testimonials-block"],template:[["themeisle-blocks/testimonials-block"],["themeisle-blocks/testimonials-block"],["themeisle-blocks/testimonials-block"]]}))]},save:function(e){var t={background:"color"===e.attributes.backgroundType?e.attributes.backgroundColor:"url(' ".concat(e.attributes.backgroundImageURL," ')")};return wp.element.createElement("div",{className:a()("wp-block-themeisle-blocks-testimonials-area",{"is-dim":"image"===e.attributes.backgroundType&&e.attributes.backgroundDimmed},{"is-parallax":"image"===e.attributes.backgroundType&&e.attributes.backgroundParallax}),style:t},wp.element.createElement(c.Content,null))}});n(188)},197:function(e,t,n){"use strict";n.r(t);var r=n(2),a=n.n(r);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function i(e){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=wp.components.Spinner,m=wp.data.withSelect,p=wp.element.Component,b=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),s(this,i(t).apply(this,arguments))}var n,r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(t,p),n=t,(r=[{key:"render",value:function(){var e=this.props,t=e.alt,n=e.id,r=e.thumbnail,a=e.link,o=r?wp.element.createElement("img",{src:r,alt:t,"data-id":n}):wp.element.createElement(u,null);return wp.element.createElement("div",{className:"post-thumbnail"},wp.element.createElement("a",{href:a},o))}}])&&l(n.prototype,r),a&&l(n,a),t}(),d=m(function(e,t){var n=t.id,r=n?e("core").getMedia(n):void 0,a=r?r.media_details.sizes.medium.source_url:null;return r?{thumbnail:a,alt:r.alt_text}:{alt:null}})(b);n(177),n(178);function g(){return(g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var f=lodash,w=f.isUndefined,h=f.pickBy,y=wp.i18n.__,k=wp.blocks.registerBlockType,v=wp.components,E=v.Button,C=v.Dashicon,x=v.PanelBody,j=v.QueryControls,N=v.RangeControl,S=v.Spinner,T=v.TextControl,_=v.ToggleControl,I=v.Toolbar,P=v.Tooltip,A=wp.data.withSelect,B=wp.editor,O=B.BlockControls,D=B.InspectorControls;k("themeisle-blocks/posts-grid",{title:y("Posts Grid"),description:y("Display a list of your most recent posts in a beautiful grid."),icon:"screenoptions",category:"themeisle-blocks",keywords:["posts","grid","orbitfox"],attributes:{grid:{type:"boolean",default:!1},columns:{type:"number",default:3},categories:{type:"string"},postsToShow:{type:"number",default:5},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},displayFeaturedImage:{type:"boolean",default:!0},displayCategory:{type:"boolean",default:!0},displayDate:{type:"boolean",default:!0},displayAuthor:{type:"boolean",default:!0},excerptLength:{type:"number",default:200}},edit:A(function(e,t){var n=t.attributes,r=n.categories,a=n.order,o=n.orderBy,l=n.postsToShow,s=h({categories:r,order:a,orderby:o,per_page:l},function(e){return!w(e)});return{posts:e("core").getEntityRecords("postType","post",s),categoriesList:e("core").getEntityRecords("taxonomy","category",{per_page:100}),authors:e("core").getAuthors(),props:t}})(function(e){var t=e.posts,n=e.categoriesList,r=e.authors,o=e.className,l=e.setAttributes,s=e.props;if(!t)return wp.element.createElement("p",{className:o},wp.element.createElement(S,null),y("Loading Posts"));if(0===t.length)return wp.element.createElement("p",null,y("No Posts"));var i=s.attributes,c=i.grid,u=i.columns,m=i.order,p=i.orderBy,b=i.categories,f=i.postsToShow,w=i.displayFeaturedImage,h=i.displayCategory,k=i.displayDate,v=i.displayAuthor,A=i.excerptLength,B=function(){s.setAttributes({grid:!c})};return[wp.element.createElement(O,{key:"toolbar-controls"},wp.element.createElement(I,{className:"components-toolbar"},wp.element.createElement(P,{text:y("List Layout")},wp.element.createElement(E,{className:a()("components-icon-button","components-toolbar__control",{"is-active":!c}),onClick:B},wp.element.createElement(C,{icon:"list-view"}))),wp.element.createElement(P,{text:y("Grid Layout")},wp.element.createElement(E,{className:a()("components-icon-button","components-toolbar__control",{"is-active":c}),onClick:B},wp.element.createElement(C,{icon:"grid-view"}))))),wp.element.createElement(D,null,wp.element.createElement(x,{title:y("Posts Grid Settings")},c&&wp.element.createElement(N,{label:y("Columns"),value:u,onChange:function(e){s.setAttributes({columns:e})},min:1,max:5}),wp.element.createElement(j,g({order:m,orderBy:p},{numberOfItems:f,categoriesList:n,selectedCategoryId:b,onOrderChange:function(e){return l({order:e})},onOrderByChange:function(e){return l({orderBy:e})},onCategoryChange:function(e){return l({categories:""!==e?e:void 0})},onNumberOfItemsChange:function(e){return l({postsToShow:e})}})),wp.element.createElement(_,{label:y("Display Featured Image?"),checked:w,onChange:function(){s.setAttributes({displayFeaturedImage:!w})}}),wp.element.createElement(_,{label:y("Display Post Category?"),checked:h,onChange:function(){s.setAttributes({displayCategory:!h})}}),wp.element.createElement(_,{label:y("Display Post Date?"),checked:k,onChange:function(){s.setAttributes({displayDate:!k})}}),wp.element.createElement(_,{label:y("Display Post Author?"),checked:v,onChange:function(){s.setAttributes({displayAuthor:!v})}}),wp.element.createElement(T,{label:y("Description Character Limit"),type:"number",value:A,onChange:function(e){s.setAttributes({excerptLength:e})}}))),wp.element.createElement("div",{className:a()(o,{"is-grid":c})},t.map(function(e){var t,a,o,l,s,i,c,m,p;return n&&(t=n.find(function(t){return t.id===e.categories[0]})),r&&(a=r.find(function(t){return t.id===e.author})),wp.element.createElement("div",{className:"grid-post grid-".concat(u)},wp.element.createElement("div",{className:"grid-post-row"},0!==e.featured_media&&w&&wp.element.createElement("div",{className:"grid-image-area"},wp.element.createElement(d,{id:e.featured_media,link:e.link})),wp.element.createElement("div",{className:"grid-content-area ".concat(!w&&"full")},h&&n&&wp.element.createElement("h6",{className:"grid-content-category"},wp.element.createElement("a",{href:t.link},t.name)),wp.element.createElement("h3",{className:"grid-content-title"},wp.element.createElement("a",{href:e.link},e.title.rendered)),(k||v)&&wp.element.createElement("p",{className:"grid-content-meta"},k&&[y("on "),wp.element.createElement("time",{datetime:e.date},(s=e.date,i=[y("January"),y("February"),y("March"),y("April"),y("May"),y("June"),y("July"),y("August"),y("September"),y("October"),y("November"),y("December")],y("Sunday"),y("Monday"),y("Tuesday"),y("Wednesday"),y("Thursday"),y("Friday"),y("Saturday"),c=(s=new Date(s)).getDate(),m=s.getMonth(),p=s.getFullYear(),c+" "+i[m]+", "+p))," "],v&&r&&[y("by "),wp.element.createElement("a",{href:a.link},a.name)]),0<A&&wp.element.createElement("p",{className:"grid-content-excerpt"},(o=e.excerpt.rendered,l=document.createElement("div"),l.innerHTML=o,void 0!==l.innerText?l.innerText:l.textContent).substring(0,A)+"…"))))}))]}),save:function(){return null}})},198:function(e,t,n){"use strict";n.r(t);n(181),n(182);var r=n(2),a=n.n(r),o=wp.i18n.__,l=wp.blocks.registerBlockType,s=wp.editor,i=s.ColorPalette,c=s.InnerBlocks,u=s.InspectorControls,m=s.MediaPlaceholder,p=wp.components,b=p.Button,d=p.ToggleControl,g=p.SelectControl,f=p.PanelBody,w=wp.element.Fragment;l("themeisle-blocks/services",{title:o("Our Services"),description:o("Use this Services table to showcase services your website offers."),icon:"columns",category:"themeisle-blocks",keywords:["services","features","orbitfox"],attributes:{backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string",default:"#ffffff"},backgroundImageID:{type:"string"},backgroundImageURL:{type:"string"},backgroundDimmed:{type:"boolean",default:!0},backgroundParallax:{type:"boolean",default:!1}},supports:{align:["wide","full"]},edit:function(e){var t={background:"color"===e.attributes.backgroundType?e.attributes.backgroundColor:"url(' ".concat(e.attributes.backgroundImageURL," ')")};return[wp.element.createElement(u,null,wp.element.createElement(f,{title:o("Background")},wp.element.createElement(g,{label:o("Background Type"),value:e.attributes.backgroundType,options:[{label:"Color",value:"color"},{label:"Image",value:"image"}],onChange:function(t){e.setAttributes({backgroundType:t})}}),"color"===e.attributes.backgroundType?wp.element.createElement(i,{label:o("Background Color"),value:e.attributes.backgroundColor,onChange:function(t){e.setAttributes({backgroundColor:t})}}):e.attributes.backgroundImageURL?wp.element.createElement(w,null,wp.element.createElement(d,{label:o("Dimmed Background"),checked:e.attributes.backgroundDimmed,onChange:function(){e.setAttributes({backgroundDimmed:!e.attributes.backgroundDimmed})}}),wp.element.createElement(d,{label:o("Parallax Background"),checked:e.attributes.backgroundParallax,onChange:function(){e.setAttributes({backgroundParallax:!e.attributes.backgroundParallax})}}),wp.element.createElement("img",{src:e.attributes.backgroundImageURL}),wp.element.createElement(b,{isLarge:!0,onClick:function(){e.setAttributes({backgroundImageID:"",backgroundImageURL:""})},style:{marginTop:"10px"}},o("Change or Remove Image"))):wp.element.createElement(m,{icon:"format-image",labels:{title:o("Background Image"),name:o("an image")},value:e.attributes.backgroundImageID,onSelect:function(t){e.setAttributes({backgroundImageID:t.id,backgroundImageURL:t.url})},accept:"image/*",allowedTypes:["image"]}))),wp.element.createElement("div",{className:a()(e.className,{"is-dim":"image"===e.attributes.backgroundType&&e.attributes.backgroundDimmed},{"is-parallax":"image"===e.attributes.backgroundType&&e.attributes.backgroundParallax}),style:t},wp.element.createElement(c,{allowedBlocks:["themeisle-blocks/service-block"],template:[["themeisle-blocks/service-block"],["themeisle-blocks/service-block"],["themeisle-blocks/service-block"]]}))]},save:function(e){var t={background:"color"===e.attributes.backgroundType?e.attributes.backgroundColor:"url(' ".concat(e.attributes.backgroundImageURL," ')")};return wp.element.createElement("div",{className:a()("wp-block-themeisle-blocks-services",{"is-dim":"image"===e.attributes.backgroundType&&e.attributes.backgroundDimmed},{"is-parallax":"image"===e.attributes.backgroundType&&e.attributes.backgroundParallax}),style:t},wp.element.createElement(c.Content,null))}});n(183)}});crosstraining/wp-content/plugins/themeisle-companion/vendor/codeinwp/gutenberg-blocks/build/block.js000060400000207774151142417250033266 0ustar00home/xbodynamge!function(e){function t(t){for(var r,l,s=t[0],i=t[1],c=t[2],m=0,p=[];m<s.length;m++)l=s[m],a[l]&&p.push(a[l][0]),a[l]=0;for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r]);for(u&&u(t);p.length;)p.shift()();return o.push.apply(o,c||[]),n()}function n(){for(var e,t=0;t<o.length;t++){for(var n=o[t],r=!0,s=1;s<n.length;s++){var i=n[s];0!==a[i]&&(r=!1)}r&&(o.splice(t--,1),e=l(l.s=n[0]))}return e}var r={},a={0:0},o=[];function l(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,l),n.l=!0,n.exports}l.m=e,l.c=r,l.d=function(e,t,n){l.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,t){if(1&t&&(e=l(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(l.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)l.d(n,r,function(t){return e[t]}.bind(null,r));return n},l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,"a",t),t},l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},l.p="";var s=window.webpackJsonp=window.webpackJsonp||[],i=s.push.bind(s);s.push=t,s=s.slice();for(var c=0;c<s.length;c++)t(s[c]);var u=i;o.push([130,1]),n()}({130:function(e,t,n){n(131),n(134),n(195),n(155),n(169),n(171),n(174),n(197),n(193),n(198),n(194),n(196),n(189),e.exports=n(192)},131:function(e,t,n){"use strict";n.r(t);n(132),n(133);var r=wp.i18n.__,a=wp.blocks.registerBlockType,o=wp.compose,l=o.compose,s=o.withState,i=wp.components.Spinner,c=wp.data.withSelect;a("themeisle-blocks/about-author",{title:r("About Author"),description:r("About Author block is the easiest way to add a author bio below your posts."),icon:"admin-users",category:"themeisle-blocks",keywords:["about","author","profile"],attributes:{id:{type:"number"}},supports:{html:!1},edit:l([c(function(e,t){return{postAuthor:e("core/editor").getEditedPostAttribute("author"),authors:e("core").getAuthors(),props:t}}),s({status:0,authorDetails:{}})])(function(e){var t=e.postAuthor,n=e.authors,a=e.status,o=e.authorDetails,l=e.setState,s=e.props,c=e.className;return 0===a&&t&&n&&t!==s.attributes.id&&n.find(function(e){if(e.id===t)return s.setAttributes({id:e.id}),l({authorDetails:e,status:1}),e.id===t}),1===a&&t&&n?wp.element.createElement("section",{className:c},wp.element.createElement("div",{className:"themeisle-author-image"},wp.element.createElement("img",{className:"author-image",src:o.avatar_urls[96],alt:o.name})),wp.element.createElement("div",{className:"themeisle-author-data"},wp.element.createElement("h4",null,o.name),wp.element.createElement("p",null,o.description))):wp.element.createElement("div",{key:"loading",className:"wp-block-embed is-loading"},wp.element.createElement(i,null),wp.element.createElement("p",null,r("Loading…")))}),save:function(){return null}})},133:function(e,t,n){},134:function(e,t,n){"use strict";n.r(t);n(135),n(136),n(137),n(138)},135:function(e,t,n){},137:function(e,t){var n=wp.i18n.__,r=wp.blocks.registerBlockType,a=wp.editor.InnerBlocks;r("themeisle-blocks/accordion-area",{title:n("Accordion"),description:n("Accordion block allows you to add beautiful accordions in your posts."),icon:"menu",category:"themeisle-blocks",keywords:["accordion","collapsible","orbitfox"],edit:function(e){return wp.element.createElement("div",{className:e.className},wp.element.createElement("ul",null,wp.element.createElement(a,{allowedBlocks:["themeisle-blocks/accordion-block"],template:[["themeisle-blocks/accordion-block"],["themeisle-blocks/accordion-block"],["themeisle-blocks/accordion-block"]]})))},save:function(){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-accordion-box"},wp.element.createElement("ul",null,wp.element.createElement(a.Content,null)))}})},138:function(e,t){var n=wp.i18n.__,r=wp.blocks.registerBlockType,a=wp.editor,o=a.RichText,l=a.InnerBlocks;r("themeisle-blocks/accordion-block",{title:n("Accordion Item"),description:n("Accordion block allows you to add beautiful accordions in your posts."),parent:["themeisle-blocks/accordion-area"],icon:"menu",category:"themeisle-blocks",keywords:["accordion","collapsible","orbitfox"],attributes:{heading:{type:"array",source:"children",selector:".accordion-heading"}},edit:function(e){var t=[["core/paragraph",{content:n("What is the point of being alive if you don’t at least try to do something remarkable?"),className:"accordion-content"}]];return wp.element.createElement("li",{className:e.className},wp.element.createElement(o,{tagName:"h4",className:"accordion-heading",value:e.attributes.heading,placeholder:"Section Title",onChange:function(t){return e.setAttributes({heading:t})}}),wp.element.createElement("div",{className:"accordion-content"},wp.element.createElement(l,{template:t,id:"accordion-content"})))},save:function(e){return wp.element.createElement("li",null,wp.element.createElement("input",{type:"checkbox",checked:!0}),wp.element.createElement("i",null),wp.element.createElement(o.Content,{tagName:"h4",className:"accordion-heading",value:e.attributes.heading}),wp.element.createElement("div",{className:"accordion-content"},wp.element.createElement(l.Content,null)))}})},150:function(e,t,n){var r={"./af":7,"./af.js":7,"./ar":8,"./ar-dz":9,"./ar-dz.js":9,"./ar-kw":10,"./ar-kw.js":10,"./ar-ly":11,"./ar-ly.js":11,"./ar-ma":12,"./ar-ma.js":12,"./ar-sa":13,"./ar-sa.js":13,"./ar-tn":14,"./ar-tn.js":14,"./ar.js":8,"./az":15,"./az.js":15,"./be":16,"./be.js":16,"./bg":17,"./bg.js":17,"./bm":18,"./bm.js":18,"./bn":19,"./bn.js":19,"./bo":20,"./bo.js":20,"./br":21,"./br.js":21,"./bs":22,"./bs.js":22,"./ca":23,"./ca.js":23,"./cs":24,"./cs.js":24,"./cv":25,"./cv.js":25,"./cy":26,"./cy.js":26,"./da":27,"./da.js":27,"./de":28,"./de-at":29,"./de-at.js":29,"./de-ch":30,"./de-ch.js":30,"./de.js":28,"./dv":31,"./dv.js":31,"./el":32,"./el.js":32,"./en-au":33,"./en-au.js":33,"./en-ca":34,"./en-ca.js":34,"./en-gb":35,"./en-gb.js":35,"./en-ie":36,"./en-ie.js":36,"./en-nz":37,"./en-nz.js":37,"./eo":38,"./eo.js":38,"./es":39,"./es-do":40,"./es-do.js":40,"./es-us":41,"./es-us.js":41,"./es.js":39,"./et":42,"./et.js":42,"./eu":43,"./eu.js":43,"./fa":44,"./fa.js":44,"./fi":45,"./fi.js":45,"./fo":46,"./fo.js":46,"./fr":47,"./fr-ca":48,"./fr-ca.js":48,"./fr-ch":49,"./fr-ch.js":49,"./fr.js":47,"./fy":50,"./fy.js":50,"./gd":51,"./gd.js":51,"./gl":52,"./gl.js":52,"./gom-latn":53,"./gom-latn.js":53,"./gu":54,"./gu.js":54,"./he":55,"./he.js":55,"./hi":56,"./hi.js":56,"./hr":57,"./hr.js":57,"./hu":58,"./hu.js":58,"./hy-am":59,"./hy-am.js":59,"./id":60,"./id.js":60,"./is":61,"./is.js":61,"./it":62,"./it.js":62,"./ja":63,"./ja.js":63,"./jv":64,"./jv.js":64,"./ka":65,"./ka.js":65,"./kk":66,"./kk.js":66,"./km":67,"./km.js":67,"./kn":68,"./kn.js":68,"./ko":69,"./ko.js":69,"./ky":70,"./ky.js":70,"./lb":71,"./lb.js":71,"./lo":72,"./lo.js":72,"./lt":73,"./lt.js":73,"./lv":74,"./lv.js":74,"./me":75,"./me.js":75,"./mi":76,"./mi.js":76,"./mk":77,"./mk.js":77,"./ml":78,"./ml.js":78,"./mr":79,"./mr.js":79,"./ms":80,"./ms-my":81,"./ms-my.js":81,"./ms.js":80,"./mt":82,"./mt.js":82,"./my":83,"./my.js":83,"./nb":84,"./nb.js":84,"./ne":85,"./ne.js":85,"./nl":86,"./nl-be":87,"./nl-be.js":87,"./nl.js":86,"./nn":88,"./nn.js":88,"./pa-in":89,"./pa-in.js":89,"./pl":90,"./pl.js":90,"./pt":91,"./pt-br":92,"./pt-br.js":92,"./pt.js":91,"./ro":93,"./ro.js":93,"./ru":94,"./ru.js":94,"./sd":95,"./sd.js":95,"./se":96,"./se.js":96,"./si":97,"./si.js":97,"./sk":98,"./sk.js":98,"./sl":99,"./sl.js":99,"./sq":100,"./sq.js":100,"./sr":101,"./sr-cyrl":102,"./sr-cyrl.js":102,"./sr.js":101,"./ss":103,"./ss.js":103,"./sv":104,"./sv.js":104,"./sw":105,"./sw.js":105,"./ta":106,"./ta.js":106,"./te":107,"./te.js":107,"./tet":108,"./tet.js":108,"./th":109,"./th.js":109,"./tl-ph":110,"./tl-ph.js":110,"./tlh":111,"./tlh.js":111,"./tr":112,"./tr.js":112,"./tzl":113,"./tzl.js":113,"./tzm":114,"./tzm-latn":115,"./tzm-latn.js":115,"./tzm.js":114,"./uk":116,"./uk.js":116,"./ur":117,"./ur.js":117,"./uz":118,"./uz-latn":119,"./uz-latn.js":119,"./uz.js":118,"./vi":120,"./vi.js":120,"./x-pseudo":121,"./x-pseudo.js":121,"./yo":122,"./yo.js":122,"./zh-cn":123,"./zh-cn.js":123,"./zh-hk":124,"./zh-hk.js":124,"./zh-tw":125,"./zh-tw.js":125};function a(e){var t=o(e);return n(t)}function o(e){var t=r[e];if(!(t+1)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=150},155:function(e,t,n){"use strict";n.r(t);var r=n(2),a=n.n(r),o=n(129),l=n.n(o);n(167),n(168);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=wp.i18n.__,c=wp.blocks.registerBlockType,u=wp.components,m=u.PanelBody,p=u.Spinner,b=u.Placeholder,d=u.RangeControl,g=wp.compose,f=g.compose,w=g.withState,h=wp.data.withSelect,y=wp.editor,k=y.ContrastChecker,v=y.InspectorControls,E=y.PanelColorSettings;c("themeisle-blocks/font-awesome-icons",{title:i("Font Awesome Icons"),description:i("Share buttons for your website visitors to share content on any social sharing service."),icon:"smiley",category:"themeisle-blocks",keywords:["font awesome","dashicons","icons"],attributes:{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}},supports:{align:["left","center","right"]},edit:f([h(function(e,t){return{iconsList:e("themeisle-gutenberg/blocks").getFaIconsList(),props:t}}),w({suggestions:[]})])(function(e){var t=e.iconsList,n=e.suggestions,r=e.setState,o=e.props,c=function(e){var n=e.trim().toLowerCase(),r=n.length;return 0===r?[]:t.filter(function(e){return e.name.toLowerCase().slice(0,r)===n})},u={placeholder:i("Start typing, like themeisle…"),value:o.attributes.icon,onChange:function(e,t){var n=t.newValue;"object"===s(n)?o.setAttributes({icon:n.name,prefix:n.prefix}):o.setAttributes({icon:n})}},g={borderRadius:o.attributes.borderRadius+"%",fontSize:o.attributes.fontSize+"px",padding:o.attributes.padding+"px"},f={color:o.attributes.textColor,backgroundColor:o.attributes.backgroundColor,borderColor:o.attributes.borderColor,borderRadius:o.attributes.borderRadius+"%",borderStyle:"solid",borderWidth:o.attributes.borderSize+"px",display:"inline-block",margin:o.attributes.margin+"px"};return[wp.element.createElement(v,null,wp.element.createElement(m,{title:i("Icon Settings")},void 0!==t&&0<t.length?wp.element.createElement("div",{className:"font-awesome-auto-complete"},wp.element.createElement("label",null,wp.element.createElement("i",{className:"".concat(o.attributes.prefix," fa-").concat(o.attributes.icon)})),wp.element.createElement(l.a,{suggestions:n,onSuggestionsFetchRequested:function(e){var t=e.value;r({suggestions:c(t)})},onSuggestionsClearRequested:function(){r({suggestions:[]})},getSuggestionValue:function(e){return e},renderSuggestion:function(e){return wp.element.createElement("div",{className:a()("icon-select",{selected:e.name===o.attributes.icon&&e.prefix===o.attributes.prefix})},wp.element.createElement("i",{className:"".concat(e.prefix," fa-fw fa-").concat(e.name)}),e.name)},renderSuggestionsContainer:function(e){var t=e.containerProps,n=e.children;e.query;return wp.element.createElement("div",t,n)},inputProps:u})):wp.element.createElement(b,null,wp.element.createElement(p,null))),wp.element.createElement(m,{title:i("Icon Sizes"),className:"blocks-font-size",initialOpen:!1},wp.element.createElement(d,{label:i("Text Size"),value:o.attributes.fontSize||"",initialPosition:16,onChange:function(e){o.setAttributes({fontSize:e})},min:12,max:140,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor"}),wp.element.createElement(d,{label:i("Inner Space"),value:o.attributes.padding||"",initialPosition:5,onChange:function(e){o.setAttributes({padding:e})},min:0,max:100,beforeIcon:"minus",afterIcon:"plus"}),wp.element.createElement(d,{label:i("Outer Space"),value:o.attributes.margin||"",initialPosition:5,onChange:function(e){o.setAttributes({margin:e})},min:0,max:100,beforeIcon:"minus",afterIcon:"plus"})),wp.element.createElement(E,{title:i("Color Settings"),initialOpen:!1,colorSettings:[{value:o.attributes.backgroundColor,onChange:function(e){o.setAttributes({backgroundColor:e})},label:i("Background Color")},{value:o.attributes.textColor,onChange:function(e){o.setAttributes({textColor:e})},label:i("Text Color")},{value:o.attributes.borderColor,onChange:function(e){o.setAttributes({borderColor:e})},label:i("Border Color")}]},wp.element.createElement(k,{textColor:o.attributes.textColor,backgroundColor:o.attributes.backgroundColor})),wp.element.createElement(m,{title:i("Border Settings"),initialOpen:!1},wp.element.createElement(d,{label:i("Border Size"),value:o.attributes.borderSize,onChange:function(e){o.setAttributes({borderSize:e})},min:0,max:120,beforeIcon:"minus",afterIcon:"plus"}),wp.element.createElement(d,{label:i("Border Radius"),value:o.attributes.borderRadius,onChange:function(e){o.setAttributes({borderRadius:e})},min:0,max:100,beforeIcon:"grid-view",afterIcon:"marker"}))),wp.element.createElement("p",{className:o.className},wp.element.createElement("span",{className:"".concat(o.className,"-container"),style:f},wp.element.createElement("i",{className:"".concat(o.attributes.prefix," fa-").concat(o.attributes.icon),style:g})))]}),save:function(e){var t={borderRadius:e.attributes.borderRadius+"%",fontSize:e.attributes.fontSize+"px",padding:e.attributes.padding+"px"},n={color:e.attributes.textColor,backgroundColor:e.attributes.backgroundColor,borderColor:e.attributes.borderColor,borderRadius:e.attributes.borderRadius+"%",borderStyle:"solid",borderWidth:e.attributes.borderSize+"px",display:"inline-block",margin:e.attributes.margin+"px"};return wp.element.createElement("p",null,wp.element.createElement("span",{style:n},wp.element.createElement("i",{className:"".concat(e.attributes.prefix," fa-").concat(e.attributes.icon),style:t})))}})},167:function(e,t,n){},169:function(e,t,n){"use strict";n.r(t);n(170);var r=wp.i18n.__,a=wp.blocks.registerBlockType,o=wp.components,l=o.Button,s=o.PanelBody,i=o.Placeholder,c=o.RangeControl,u=o.SelectControl,m=o.Spinner,p=o.TextControl,b=wp.compose,d=b.compose,g=b.withState,f=wp.data.withSelect,w=wp.editor.InspectorControls;a("themeisle-blocks/google-map",{title:r("Google Map"),description:r("Display a Google Map on your website with Google Map block."),icon:"admin-site",category:"themeisle-blocks",keywords:["map","google","orbitfox"],attributes:{location:{type:"string"},type:{type:"string",default:"roadmap"},zoom:{type:"number",default:10},height:{type:"string",default:"400px"}},supports:{html:!1},edit:d([f(function(e,t){return{props:t}}),g({api:"",isAPILoaded:!1,isAPISaved:!1,isSaving:!1})])(function(e){var t,n=e.props,a=e.className,o=e.api,b=e.isAPILoaded,d=e.isAPISaved,g=e.isSaving,f=e.setState;wp.api.loadPromise.then(function(){t=new wp.api.models.Settings}),!1===b&&t.fetch().then(function(e){f({api:e.themeisle_google_map_block_api_key,isAPILoaded:!0}),""!==e.themeisle_google_map_block_api_key&&f({isAPISaved:!0})});var h=function(e){f({api:e})},y=function(){f({isSaving:!0}),new wp.api.models.Settings({themeisle_google_map_block_api_key:o}).save().then(function(e){t.fetch(),f({isSaving:!1,isAPISaved:!0})})};return b?d?[wp.element.createElement(w,null,wp.element.createElement(s,{title:r("Map Settings")},wp.element.createElement(u,{label:r("Map Type"),value:n.attributes.type,options:[{label:r("Road Map"),value:"roadmap"},{label:r("Satellite View"),value:"satellite"}],onChange:function(e){n.setAttributes({type:e})}}),wp.element.createElement(c,{label:r("Map Zoom Level"),value:n.attributes.zoom,onChange:function(e){n.setAttributes({zoom:e})},min:0,max:21}),wp.element.createElement(p,{label:r("Map Height"),type:"text",value:n.attributes.height,onChange:function(e){n.setAttributes({height:e})}})),wp.element.createElement(s,{title:r("Global Settings"),initialOpen:!1},wp.element.createElement(p,{label:r("Google Maps API Key"),type:"text",placeholder:r("Google Maps API Key"),value:o,className:"components-placeholder__input",onChange:h,help:r("Changing the API key effects all Google Map Embed blocks.")}),wp.element.createElement(l,{isLarge:!0,type:"submit",onClick:y,isBusy:g,disabled:""===o},r("Save API Key")))),wp.element.createElement(p,{type:"text",placeholder:r("Enter a location…"),value:n.attributes.location,onChange:function(e){n.setAttributes({location:e})}}),n.attributes.location&&wp.element.createElement("div",{className:"".concat(a," interactive")},wp.element.createElement("div",{className:"map"},wp.element.createElement("iframe",{width:"100%",height:"100%",frameBorder:"0",style:{border:0,height:n.attributes.height},src:"https://www.google.com/maps/embed/v1/place?key=".concat(o,"&q=").concat(n.attributes.location,"&maptype=").concat(n.attributes.type,"&zoom=").concat(n.attributes.zoom),allowFullScreen:!0},">")))]:wp.element.createElement("div",{className:a},wp.element.createElement(i,{icon:"admin-site",label:r("Google Maps"),instructions:r("A Google Maps API key is required, please enter one below.")},wp.element.createElement(p,{type:"text",placeholder:r("Google Maps API Key"),value:o,className:"components-placeholder__input",onChange:h}),wp.element.createElement(l,{isLarge:!0,type:"submit",onClick:y,isBusy:g,disabled:""===o},r("Save API Key")),wp.element.createElement("div",{class:"components-placeholder__instructions"},r("Need an API key? Get one"),wp.element.createElement("a",{target:"_blank",href:"https://console.developers.google.com/flows/enableapi?apiid=maps_backend,static_maps_backend,maps_embed_backend&keyType=CLIENT_SIDE&reusekey=true"},r(" here."))))):wp.element.createElement(i,null,wp.element.createElement(m,null),r("Loading…"))}),save:function(){return null}})},171:function(e,t,n){"use strict";n.r(t);n(172),n(173);var r=wp.i18n.__,a=wp.blocks.registerBlockType,o=wp.editor.RichText,l=wp.components.Notice;a("themeisle-blocks/notice",{title:r("Notice"),description:r("Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages."),icon:"info",category:"themeisle-blocks",keywords:["notice","info"],attributes:{content:{type:"array",source:"children",selector:"p.components-notice__content"}},supports:{align:["wide","full"]},styles:[{name:"sucess",label:r("Success"),isDefault:!0},{name:"info",label:r("Info")},{name:"warning",label:r("Warning")},{name:"error",label:r("Error")}],edit:function(e){var t="success";return e.attributes.className&&e.attributes.className.includes("is-style-info")?t="":e.attributes.className&&e.attributes.className.includes("is-style-warning")?t="warning":e.attributes.className&&e.attributes.className.includes("is-style-error")&&(t="error"),wp.element.createElement(l,{className:e.className,isDismissible:!1,status:t},wp.element.createElement(o,{tagName:"p",placeholder:r("Lorem ipsum dolor sit amet, consectetur adipiscing elit."),value:e.attributes.content,className:"components-notice__content",onChange:function(t){return e.setAttributes({content:t})},keepPlaceholderOnFocus:"true"}))},save:function(e){var t="success";return e.attributes.className&&e.attributes.className.includes("is-style-info")?t="":e.attributes.className&&e.attributes.className.includes("is-style-warning")?t="warning":e.attributes.className&&e.attributes.className.includes("is-style-error")&&(t="error"),wp.element.createElement(l,{className:"themeisle-block-notice",isDismissible:!1,status:t},wp.element.createElement(o.Content,{tagName:"p",className:"components-notice__content",value:e.attributes.content}))}})},172:function(e,t,n){},174:function(e,t,n){"use strict";n.r(t);n(175),n(176);var r=wp.i18n.__,a=wp.blocks.registerBlockType,o=wp.components,l=o.Placeholder,s=o.Dashicon,i=o.TextControl,c=o.Spinner,u=o.Button,m=o.Toolbar,p=o.Tooltip,b=wp.compose,d=b.compose,g=b.withState,f=wp.editor.BlockControls,w=wp.data.withSelect,h=wp.keycodes.ENTER,y=function(e){var t=document.createElement("div");return t.innerHTML=e,void 0!==t.innerText?t.innerText:t.textContent};a("themeisle-blocks/plugin-cards",{title:r("Plugin Card"),description:r("Plugin Card block lets you display plugins data in your blog posts."),icon:"admin-plugins",category:"themeisle-blocks",keywords:["plugin","card","orbitfox"],attributes:{slug:{type:"string"},pluginIcon:{type:"string"},pluginName:{type:"string"},pluginAuthor:{type:"string"},pluginRating:{type:"number"},pluginDescription:{type:"string"},pluginInstalls:{type:"number"},pluginVersion:{type:"string"},pluginTested:{type:"string"},pluginLink:{type:"string"}},supports:{html:!1,align:["left","center","right"]},edit:d([w(function(e,t){return{props:t}}),g({status:0,results:{}})])(function(e){var t,n,a,o,b,d=e.props,g=e.className,w=e.status,k=e.results,v=e.setState;return[d.attributes.pluginName&&wp.element.createElement(f,{key:"toolbar-controls"},wp.element.createElement(m,{className:"components-toolbar"},wp.element.createElement(p,{text:r("Edit Plugin Card")},wp.element.createElement(u,{className:"components-icon-button components-toolbar__control edit-plugin-card",onClick:function(){d.setAttributes({pluginIcon:"",pluginName:"",pluginAuthor:"",pluginRating:"",pluginDescription:"",pluginInstalls:"",pluginVersion:"",pluginTested:"",pluginLink:""})}},wp.element.createElement(s,{icon:"edit"}))))),wp.element.createElement("div",{className:"".concat(g)},d.attributes.pluginName?wp.element.createElement("div",{class:"themeisle-plugin-card"},wp.element.createElement("div",{class:"card-header"},wp.element.createElement("div",{class:"card-main"},wp.element.createElement("div",{class:"card-logo"},wp.element.createElement("img",{src:d.attributes.pluginIcon,alt:y(d.attributes.pluginName),title:y(d.attributes.pluginName)})),wp.element.createElement("div",{class:"card-info"},wp.element.createElement("h4",null,y(d.attributes.pluginName)),wp.element.createElement("h5",{dangerouslySetInnerHTML:{__html:_.unescape(d.attributes.pluginAuthor)}})),wp.element.createElement("div",{class:"card-ratings",dangerouslySetInnerHTML:{__html:_.unescape((t=d.attributes.pluginRating,n=Math.floor(t/10)/2,a=Math.floor(n),o=Math.ceil(n-a),b=5-a-o,'<span class="star-full"></span>'.repeat(a)+'<span class="star-half"></span>'.repeat(o)+'<span class="star-empty"></span>'.repeat(b)))}}))),wp.element.createElement("div",{class:"card-details"},wp.element.createElement("div",{class:"card-description"},y(d.attributes.pluginDescription)),wp.element.createElement("div",{class:"card-stats"},wp.element.createElement("h5",null,r("Plugin Stats")),wp.element.createElement("div",{class:"card-stats-list"},wp.element.createElement("div",{class:"card-stat"},wp.element.createElement("span",{class:"card-text-large"},d.attributes.pluginInstalls.toLocaleString(),"+"),r("active installs")),wp.element.createElement("div",{class:"card-stat"},wp.element.createElement("span",{class:"card-text-large"},d.attributes.pluginVersion),r("version")),wp.element.createElement("div",{class:"card-stat"},wp.element.createElement("span",{class:"card-text-large"},d.attributes.pluginTested),r("tested up to"))))),wp.element.createElement("div",{class:"card-download"},wp.element.createElement("a",{href:d.attributes.pluginLink},r("Download")))):wp.element.createElement(l,{icon:"admin-plugins",label:r("Plugin Card")},wp.element.createElement("div",{className:"search-plugin-field"},wp.element.createElement(s,{icon:"search"}),1===w&&wp.element.createElement(c,null),wp.element.createElement(i,{type:"text",placeholder:r("Search for plugin…"),value:d.attributes.slug,onChange:function(e){d.setAttributes({slug:e})},onKeyDown:function(e){var t;e.keyCode===h&&(t=e.target.value,v({status:1}),wp.apiFetch({path:"themeisle-gutenberg-blocks/v1/get_plugins?search='".concat(encodeURIComponent(t))}).then(function(e){var t=e.data.plugins;v({status:0,results:t})}))}}),k&&wp.element.createElement("div",{className:"plugin-card-search-results"},wp.element.createElement("div",null,Object.keys(k).map(function(e,t){var n,r=k[e];return r.icons.svg&&(n=r.icons.svg),r.icons["2x"]&&(n=r.icons["2x"]),r.icons["1x"]&&(n=r.icons["1x"]),r.icons.default&&(n=r.icons.default),wp.element.createElement("div",{className:"plugin-card-list-item",key:e,onClick:function(e){var t,n;e.preventDefault(),(t=r).icons.svg&&(n=t.icons.svg),t.icons["2x"]&&(n=t.icons["2x"]),t.icons["1x"]&&(n=t.icons["1x"]),t.icons.default&&(n=t.icons.default),d.setAttributes({slug:t.slug,pluginIcon:n,pluginName:t.name,pluginAuthor:t.author,pluginRating:t.rating,pluginDescription:t.short_description,pluginInstalls:t.active_installs,pluginVersion:t.version,pluginTested:t.tested,pluginLink:t.download_link}),v({results:{}})}},wp.element.createElement("img",{src:n}),wp.element.createElement("span",{dangerouslySetInnerHTML:{__html:_.unescape(r.name)}}))}))))))]}),save:function(){return null}})},176:function(e,t,n){},177:function(e,t,n){},179:function(e,t,n){},181:function(e,t,n){},183:function(e,t){var n=wp.i18n.__,r=wp.blocks.registerBlockType,a=wp.editor,o=a.InnerBlocks,l=a.InspectorControls,s=a.PanelColorSettings;r("themeisle-blocks/service-block",{title:n("Service Block"),description:n("Use this Services table to showcase services your website offers."),parent:["themeisle-blocks/services"],icon:"slides",category:"themeisle-blocks",keywords:["pricing","table","orbitfox"],attributes:{backgroundColor:{type:"string",default:"#ffffff"}},edit:function(e){var t=[["themeisle-blocks/font-awesome-icons",{fontSize:"62",prefix:"fab",icon:"angellist"}],["core/heading",{content:n("Panel"),className:"service-title",align:"center",level:4}],["core/paragraph",{content:n("Small description, but a pretty long one."),className:"service-content",align:"center"}],["core/button",{text:n("Learn More"),className:"service-button",align:"center"}]];return[wp.element.createElement(l,null,wp.element.createElement(s,{title:n("Color Settings"),initialOpen:!0,colorSettings:[{value:e.attributes.backgroundColor,onChange:function(t){e.setAttributes({backgroundColor:t})},label:n("Background Color")}]})),wp.element.createElement("div",{className:"wp-block-column",style:{backgroundColor:e.attributes.backgroundColor}},wp.element.createElement(o,{template:t}))]},save:function(e){return wp.element.createElement("div",{className:"wp-block-column",style:{backgroundColor:e.attributes.backgroundColor}},wp.element.createElement(o.Content,null))}})},184:function(e,t,n){},186:function(e,t,n){},188:function(e,t){var n=wp.i18n.__,r=wp.blocks.registerBlockType,a=wp.editor,o=a.InnerBlocks,l=a.InspectorControls,s=a.PanelColorSettings;r("themeisle-blocks/testimonials-block",{title:n("Testimonials Block"),description:n("Display kudos from customers and clients and display them on your website."),parent:["themeisle-blocks/testimonials-area"],icon:"testimonial",category:"themeisle-blocks",keywords:["testimonials","clients","quotes"],attributes:{backgroundColor:{type:"string",default:"#ffffff"}},edit:function(e){var t=[["core/image",{align:"center"}],["core/heading",{content:n("John Doe"),className:"testimonials-title",align:"center",level:3}],["core/heading",{content:n("Jedi Master"),className:"testimonials-subtitle",align:"center",level:6}],["core/paragraph",{content:n("What is the point of being alive if you don’t at least try to do something remarkable?"),className:"testimonials-content",align:"center"}]];return[wp.element.createElement(l,null,wp.element.createElement(s,{title:n("Color Settings"),initialOpen:!0,colorSettings:[{value:e.attributes.backgroundColor,onChange:function(t){e.setAttributes({backgroundColor:t})},label:n("Background Color")}]})),wp.element.createElement("div",{className:"wp-block-column",style:{backgroundColor:e.attributes.backgroundColor}},wp.element.createElement(o,{template:t}))]},save:function(e){return wp.element.createElement("div",{className:"wp-block-column",style:{backgroundColor:e.attributes.backgroundColor}},wp.element.createElement(o.Content,null))}})},189:function(e,t,n){"use strict";n.r(t);n(190),n(191);var r=wp.i18n.__,a=lodash.get,o=wp.blocks,l=o.registerBlockType,s=o.createBlock,i=wp.components,c=i.Toolbar,u=i.TextControl,m=wp.editor.BlockControls,p=wp.data.withSelect,b=wp.editor.RichText;l("themeisle-blocks/tweetable",{title:r("Click To Tweet"),description:r("Click to Tweet allows visitors to easily share your content on Twitter."),icon:"twitter",category:"themeisle-blocks",keywords:[r("twitter"),r("tweet"),r("orbitfox")],attributes:{quote:{type:"string",source:"children",selector:"p",default:[]},permalink:{type:"url"},via:{type:"string"},buttonText:{type:"string",default:r("Click to Tweet")}},transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return s("themeisle-blocks/tweetable",{quote:t})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.value,n=e.citation;return t&&t.length||n?(t||[]).map(function(e){return s("themeisle-blocks/tweetable",{quote:[a(e,"children.props.children","")]})}).concat(n?s("core/paragraph",{content:n}):[]):s("themeisle-blocks/tweetable")}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,n=e.citation;return t&&t.length||n?(t||[]).map(function(e){return s("themeisle-blocks/tweetable",{quote:[a(e,"children.props.children","")]})}).concat(n?s("core/paragraph",{quote:n}):[]):s("themeisle-blocks/tweetable")}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){e.content;var t=e.quote;return t&&t.length?(t||[]).map(function(e){return s("core/paragraph",{content:t})}):s("core/paragraph")}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.quote;return s("core/quote",{value:[{children:wp.element.createElement("p",{key:"1"},t)}]})}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.quote;return s("core/pullquote",{value:[{children:wp.element.createElement("p",{key:"1"},t)}]})}}]},edit:p(function(e,t){var n=e("core/editor").getPermalink;return void 0===t.attributes.permalink&&t.setAttributes({permalink:n()}),{permalink:n(),props:t}})(function(e){var t=e.props,n=e.className;return[wp.element.createElement(m,{key:"controls"},wp.element.createElement(c,null,wp.element.createElement("i",{className:"fas fa-at tweetable-icon"}),wp.element.createElement(u,{type:"text",placeholder:"Username",className:"tweetable-controls",value:t.attributes.via,onChange:function(e){t.setAttributes({via:e})}}))),wp.element.createElement("blockquote",{className:n},wp.element.createElement(b,{tagName:"p",multiline:"false",placeholder:r("What should we tweet?"),value:t.attributes.quote,formattingControls:[],onChange:function(e){t.setAttributes({quote:e})},keepPlaceholderOnFocus:!0}),wp.element.createElement(b,{tagName:"span",placeholder:r("Tweet this!"),className:"tweetbutton",value:t.attributes.buttonText?t.attributes.buttonText:r("Tweet this!"),formattingControls:[],onChange:function(e){t.setAttributes({buttonText:e})},keepPlaceholderOnFocus:!0}))]}),save:function(e){var t=e.attributes.via?"&via=".concat(e.attributes.via):"",n="http://twitter.com/share?&text=".concat(encodeURIComponent(e.attributes.quote),"&url=").concat(e.attributes.permalink).concat(t);return wp.element.createElement("blockquote",null,wp.element.createElement(b.Content,{tagName:"p",value:e.attributes.quote}),wp.element.createElement(b.Content,{tagName:"a",className:"tweetbutton",href:n,value:e.attributes.buttonText,target:"_blank"}))}})},191:function(e,t,n){},192:function(e,t){function n(e,t,n,r,a,o,l){try{var s=e[o](l),i=s.value}catch(e){return void n(e)}s.done?t(i):Promise.resolve(i).then(r,a)}var r=wp,a=r.data,o=r.apiRequest,l=a.registerStore,s=a.dispatch,i={};l("themeisle-gutenberg/blocks",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"GET_ICONS_LIST":return{iconsList:t.data}}return e},actions:{setFaIconsList:function(e){return{type:"GET_ICONS_LIST",data:e}}},selectors:{getFaIconsList:function(e){if(void 0!==e.iconsList)return e.iconsList}},resolvers:{getFaIconsList:function(){return(e=regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=[],e.next=3,o({path:"themeisle-gutenberg-blocks/v1/get_icons_list"});case 3:t=e.sent,s("themeisle-gutenberg/blocks").setFaIconsList(t);case 5:case"end":return e.stop()}},e,this)}),function(){var t=this,r=arguments;return new Promise(function(a,o){var l=e.apply(t,r);function s(e){n(l,a,o,s,i,"next",e)}function i(e){n(l,a,o,s,i,"throw",e)}s(void 0)})})();var e}}})},193:function(e,t,n){"use strict";n.r(t);n(179),n(180);var r=n(2),a=n.n(r),o=wp.i18n.__,l=wp.blocks.registerBlockType,s=wp.editor,i=s.ColorPalette,c=s.InnerBlocks,u=s.InspectorControls,m=s.MediaPlaceholder,p=wp.components,b=p.Button,d=p.ToggleControl,g=p.SelectControl,f=p.PanelBody,w=wp.element.Fragment;l("themeisle-blocks/pricing-table",{title:o("Pricing Table"),description:o("Pricing tables are a critical part in showcasing your services, prices and overall offerings."),icon:"slides",category:"themeisle-blocks",keywords:["pricing","table","orbitfox"],attributes:{backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string",default:"#ffffff"},backgroundImageID:{type:"string"},backgroundImageURL:{type:"string"},backgroundDimmed:{type:"boolean",default:!0},backgroundParallax:{type:"boolean",default:!1}},supports:{align:["wide","full"]},edit:function(e){var t={background:"color"===e.attributes.backgroundType?e.attributes.backgroundColor:"url(' ".concat(e.attributes.backgroundImageURL," ')")};return[wp.element.createElement(u,null,wp.element.createElement(f,{title:o("Background")},wp.element.createElement(g,{label:o("Background Type"),value:e.attributes.backgroundType,options:[{label:"Color",value:"color"},{label:"Image",value:"image"}],onChange:function(t){e.setAttributes({backgroundType:t})}}),"color"===e.attributes.backgroundType?wp.element.createElement(i,{label:o("Background Color"),value:e.attributes.backgroundColor,onChange:function(t){e.setAttributes({backgroundColor:t})}}):e.attributes.backgroundImageURL?wp.element.createElement(w,null,wp.element.createElement(d,{label:o("Dimmed Background"),checked:e.attributes.backgroundDimmed,onChange:function(){e.setAttributes({backgroundDimmed:!e.attributes.backgroundDimmed})}}),wp.element.createElement(d,{label:o("Parallax Background"),checked:e.attributes.backgroundParallax,onChange:function(){e.setAttributes({backgroundParallax:!e.attributes.backgroundParallax})}}),wp.element.createElement("img",{src:e.attributes.backgroundImageURL}),wp.element.createElement(b,{isLarge:!0,onClick:function(){e.setAttributes({backgroundImageID:"",backgroundImageURL:""})},style:{marginTop:"10px"}},o("Change or Remove Image"))):wp.element.createElement(m,{icon:"format-image",labels:{title:o("Background Image"),name:o("an image")},value:e.attributes.backgroundImageID,onSelect:function(t){e.setAttributes({backgroundImageID:t.id,backgroundImageURL:t.url})},accept:"image/*",allowedTypes:["image"]}))),wp.element.createElement("div",{className:a()(e.className,{"is-dim":"image"===e.attributes.backgroundType&&e.attributes.backgroundDimmed},{"is-parallax":"image"===e.attributes.backgroundType&&e.attributes.backgroundParallax}),style:t},wp.element.createElement(c,{allowedBlocks:["themeisle-blocks/pricing-block"],template:[["themeisle-blocks/pricing-block"],["themeisle-blocks/pricing-block"],["themeisle-blocks/pricing-block"]]}))]},save:function(e){var t={background:"color"===e.attributes.backgroundType?e.attributes.backgroundColor:"url(' ".concat(e.attributes.backgroundImageURL," ')")};return wp.element.createElement("div",{className:a()("wp-block-themeisle-blocks-pricing-table",{"is-dim":"image"===e.attributes.backgroundType&&e.attributes.backgroundDimmed},{"is-parallax":"image"===e.attributes.backgroundType&&e.attributes.backgroundParallax}),style:t},wp.element.createElement(c.Content,null))}});var h=wp.i18n.__,y=wp.blocks.registerBlockType,k=wp.editor,v=k.InnerBlocks,E=k.BlockControls,C=k.InspectorControls,x=k.PanelColorSettings,j=wp.components,N=j.Dashicon,S=j.Toolbar,T=j.Button,_=j.Tooltip;y("themeisle-blocks/pricing-block",{title:h("Pricing Block"),description:h("Pricing tables are a critical part in showcasing your services, prices and overall offerings."),parent:["themeisle-blocks/pricing-table"],icon:"slides",category:"themeisle-blocks",keywords:["pricing","table","orbitfox"],attributes:{featured:{type:"boolean",default:!1},backgroundColor:{type:"string",default:"#ffffff"}},edit:function(e){var t=[["core/heading",{content:h("Basic"),className:"pricing-title",align:"center",level:5}],["core/paragraph",{content:h("$9.99"),align:"center",customFontSize:36}],["core/paragraph",{content:h("Per Month"),align:"center",customFontSize:12}],["core/separator",{}],["core/paragraph",{content:h("First Feature"),align:"center",fontSize:"small"}],["core/separator",{}],["core/paragraph",{content:h("Second Feature"),align:"center",fontSize:"small"}],["core/separator",{}],["core/paragraph",{content:h("Last Feature"),align:"center",fontSize:"small"}],["core/separator",{}],["core/button",{text:h("Buy Now"),className:"pricing-button",align:"center"}]];return[wp.element.createElement(E,{key:"toolbar-controls"},wp.element.createElement(S,{className:"components-toolbar"},wp.element.createElement(_,{text:h("Feature Table")},wp.element.createElement(T,{className:a()("components-icon-button","components-toolbar__control",{"is-active":e.attributes.featured}),onClick:function(){e.setAttributes({featured:!e.attributes.featured})}},wp.element.createElement(N,{icon:"star-empty"}))))),wp.element.createElement(C,null,wp.element.createElement(x,{title:h("Color Settings"),initialOpen:!0,colorSettings:[{value:e.attributes.backgroundColor,onChange:function(t){e.setAttributes({backgroundColor:t})},label:h("Background Color")}]})),wp.element.createElement("div",{className:a()("wp-block-column",{raised:e.attributes.featured}),style:{backgroundColor:e.attributes.backgroundColor}},wp.element.createElement(v,{template:t}))]},save:function(e){return wp.element.createElement("div",{className:a()("wp-block-column",{raised:e.attributes.featured}),style:{backgroundColor:e.attributes.backgroundColor}},wp.element.createElement(v.Content,null))}})},194:function(e,t,n){"use strict";n.r(t);var r=n(2),a=n.n(r),o=(n(184),n(185),wp.i18n.__),l={facebook:{label:o("Facebook"),icon:"facebook-f"},twitter:{label:o("Twitter"),icon:"twitter"},googleplus:{label:o("Google+"),icon:"google-plus-g"},linkedin:{label:o("Linkedin"),icon:"linkedin-in"},pinterest:{label:o("Pinterest"),icon:"pinterest-p"},tumblr:{label:o("Tumblr"),icon:"tumblr"},reddit:{label:o("Reddit"),icon:"reddit-alien"}};function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=wp.element.Component,b=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),c(this,u(t).apply(this,arguments))}var n,r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(t,p),n=t,(r=[{key:"render",value:function(){return"facebook"===this.props.icon?wp.element.createElement("svg",{className:"themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 264 512"},wp.element.createElement("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"===this.props.icon?wp.element.createElement("svg",{className:"themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement("path",{fill:"currentColor",d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"})):"googleplus"===this.props.icon?wp.element.createElement("svg",{className:"themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512"},wp.element.createElement("path",{fill:"currentColor",d:"M386.061 228.496c1.834 9.692 3.143 19.384 3.143 31.956C389.204 370.205 315.599 448 204.8 448c-106.084 0-192-85.915-192-192s85.916-192 192-192c51.864 0 95.083 18.859 128.611 50.292l-52.126 50.03c-14.145-13.621-39.028-29.599-76.485-29.599-65.484 0-118.92 54.221-118.92 121.277 0 67.056 53.436 121.277 118.92 121.277 75.961 0 104.513-54.745 108.965-82.773H204.8v-66.009h181.261zm185.406 6.437V179.2h-56.001v55.733h-55.733v56.001h55.733v55.733h56.001v-55.733H627.2v-56.001h-55.733z"})):"linkedin"===this.props.icon?wp.element.createElement("svg",{className:"themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},wp.element.createElement("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"===this.props.icon?wp.element.createElement("svg",{className:"themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},wp.element.createElement("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"===this.props.icon?wp.element.createElement("svg",{className:"themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"},wp.element.createElement("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"===this.props.icon?wp.element.createElement("svg",{className:"themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement("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"})):wp.element.createElement("svg",{className:"themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement("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"}))}}])&&i(n.prototype,r),a&&i(n,a),t}();var d=wp.i18n.__,g=wp.blocks.registerBlockType,f=wp.editor.BlockControls,w=wp.components,h=w.Toolbar,y=w.Button,k=w.Tooltip;g("themeisle-blocks/sharing-icons",{title:d("Sharing Icons"),description:d("Share buttons for your website visitors to share content on any social sharing service."),icon:"networking",category:"themeisle-blocks",keywords:["social media","sharing","icons"],attributes:{facebook:{type:"boolean",default:!0},twitter:{type:"boolean",default:!0},googleplus:{type:"boolean",default:!0},linkedin:{type:"boolean",default:!0},pinterest:{type:"boolean",default:!1},tumblr:{type:"boolean",default:!1},reddit:{type:"boolean",default:!1}},supports:{html:!0,align:["left","center","right"]},styles:[{name:"default",label:d("Regular"),isDefault:!0},{name:"icons",label:d("Icons Only")}],edit:function(e){var t=function(t){var n,r,a;e.setAttributes((n={},r=t,a=!e.attributes[t],r in n?Object.defineProperty(n,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[r]=a,n))};return[wp.element.createElement(f,{key:"toolbar-controls"},wp.element.createElement(h,{className:"components-toolbar"},Object.keys(l).map(function(n,r){var o=e.attributes[n];return wp.element.createElement(k,{text:d("Display ".concat(l[n].label))},wp.element.createElement(y,{className:a()("components-icon-button","components-toolbar__control",{"is-active":o}),onClick:function(e){return t(n)}},wp.element.createElement(b,{icon:n})))}))),wp.element.createElement("div",{className:a()(e.className,{"has-label":!e.attributes.className||!e.attributes.className.includes("is-style-icons")})},Object.keys(l).map(function(t,n){if(!0===e.attributes[t])return wp.element.createElement("a",{className:"social-icon is-".concat(t)},wp.element.createElement("i",{class:"fab fa-".concat(l[t].icon)}),(!e.attributes.className||!e.attributes.className.includes("is-style-icons"))&&l[t].label)}))]},save:function(){return null}})},195:function(e,t,n){"use strict";n.r(t);var r=n(126),a=n(128);n(153);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){s(e,t,n[t])})}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var p=wp.i18n.__,b=wp.element,d=b.Component,g=b.Fragment,f=wp.components,w=f.Button,h=f.Dashicon,y=f.FormToggle,k=f.PanelBody,v=f.PanelRow,E=f.TextControl,C=f.Toolbar,x=f.Tooltip,j=wp.editor,N=j.BlockControls,S=j.InspectorControls,T=function(e){function t(){var e,n,r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(r=c(t).apply(this,arguments))||"object"!==o(r)&&"function"!=typeof r?m(n):r).changeChartTitle=e.changeChartTitle.bind(m(m(e))),e.toggle3d=e.toggle3d.bind(m(m(e))),e.saveChart=e.saveChart.bind(m(m(e))),e.props.clientId&&""===e.props.attributes.id){var a=e.props.clientId;e.props.setAttributes({id:a})}return e.state={isOpen:!1},e.data=JSON.parse(e.props.attributes.data),e}var n,s,b;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,d),n=t,(s=[{key:"changeChartTitle",value:function(e){var t=l({},this.props.attributes.options);t.title=e,this.props.setAttributes({options:t})}},{key:"toggle3d",value:function(){var e=l({},this.props.attributes.options);e.is3D=!this.props.attributes.options.is3D,this.props.setAttributes({options:e})}},{key:"saveChart",value:function(){this.props.setAttributes({data:JSON.stringify(this.data)}),this.setState({isOpen:!this.state.isOpen})}},{key:"render",value:function(){return wp.element.createElement(g,null,wp.element.createElement(N,{key:"toolbar-controls"},wp.element.createElement(C,{className:"components-toolbar"},wp.element.createElement(x,{text:this.state.isOpen?p("Save"):p("Edit Chart")},wp.element.createElement(w,{className:"components-icon-button components-toolbar__control edit-pie-chart",onClick:this.saveChart},wp.element.createElement(h,{icon:this.state.isOpen?"yes":"edit"}))))),wp.element.createElement(S,null,wp.element.createElement(k,{title:p("Chart Settings")},wp.element.createElement(E,{label:p("Chart Title"),value:this.props.attributes.options.title,onChange:this.changeChartTitle}),wp.element.createElement(v,null,wp.element.createElement("label",{htmlFor:"is-3d-form-toggle"},p("Is chart 3d?")),wp.element.createElement(y,{id:"is-3d-form-toggle",label:p("Is chart 3rd? "),checked:this.props.attributes.options.is3D,onChange:this.toggle3d})))),wp.element.createElement("div",{className:this.props.className},this.state.isOpen?wp.element.createElement(a.HotTable,{data:this.data,allowInsertRow:!0,cell:[{row:0,col:0,readOnly:!0},{row:0,col:1,readOnly:!0}],columns:[{type:"text"},{type:"numeric"}],contextMenu:!0,className:"htLeft",height:"200",rowHeaders:!0,stretchH:"all"}):wp.element.createElement(r.a,{chartType:"PieChart",data:JSON.parse(this.props.attributes.data),options:this.props.attributes.options,width:"100%",height:"400px",legendToggle:!0})))}}])&&i(n.prototype,s),b&&i(n,b),t}(),_=(n(154),wp.i18n.__);(0,wp.blocks.registerBlockType)("themeisle-blocks/chart-pie",{title:_("Pie Chart"),description:_("Display a beautiful Pie Chart on your blog post with Pie Chart block."),icon:"chart-pie",category:"themeisle-blocks",keywords:[_("pie"),_("chart"),_("orbitfox")],attributes:{data:{type:"string",default:'[["Label","Data"],["Dogs",40],["Cats",30],["Racoons",20],["Monkeys",10]]'},options:{type:"object",default:{title:"Animals",is3D:!0}},id:{type:"string",default:""}},edit:T,save:function(){return null}})},196:function(e,t,n){"use strict";n.r(t);n(186),n(187);var r=n(2),a=n.n(r),o=wp.i18n.__,l=wp.blocks.registerBlockType,s=wp.editor,i=s.ColorPalette,c=s.InnerBlocks,u=s.InspectorControls,m=s.MediaPlaceholder,p=wp.components,b=p.Button,d=p.ToggleControl,g=p.SelectControl,f=p.PanelBody,w=wp.element.Fragment;l("themeisle-blocks/testimonials-area",{title:o("Testimonials Area"),description:o("Display kudos from customers and clients and display them on your website."),icon:"testimonial",category:"themeisle-blocks",keywords:["testimonials","clients","quotes"],attributes:{backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string",default:"#ffffff"},backgroundImageID:{type:"string"},backgroundImageURL:{type:"string"},backgroundDimmed:{type:"boolean",default:!0},backgroundParallax:{type:"boolean",default:!1}},supports:{align:["wide","full"]},edit:function(e){var t={background:"color"===e.attributes.backgroundType?e.attributes.backgroundColor:"url(' ".concat(e.attributes.backgroundImageURL," ')")};return[wp.element.createElement(u,null,wp.element.createElement(f,{title:o("Background")},wp.element.createElement(g,{label:o("Background Type"),value:e.attributes.backgroundType,options:[{label:"Color",value:"color"},{label:"Image",value:"image"}],onChange:function(t){e.setAttributes({backgroundType:t})}}),"color"===e.attributes.backgroundType?wp.element.createElement(i,{label:o("Background Color"),value:e.attributes.backgroundColor,onChange:function(t){e.setAttributes({backgroundColor:t})}}):e.attributes.backgroundImageURL?wp.element.createElement(w,null,wp.element.createElement(d,{label:o("Dimmed Background"),checked:e.attributes.backgroundDimmed,onChange:function(){e.setAttributes({backgroundDimmed:!e.attributes.backgroundDimmed})}}),wp.element.createElement(d,{label:o("Parallax Background"),checked:e.attributes.backgroundParallax,onChange:function(){e.setAttributes({backgroundParallax:!e.attributes.backgroundParallax})}}),wp.element.createElement("img",{src:e.attributes.backgroundImageURL}),wp.element.createElement(b,{isLarge:!0,onClick:function(){e.setAttributes({backgroundImageID:"",backgroundImageURL:""})},style:{marginTop:"10px"}},o("Change or Remove Image"))):wp.element.createElement(m,{icon:"format-image",labels:{title:o("Background Image"),name:o("an image")},value:e.attributes.backgroundImageID,onSelect:function(t){e.setAttributes({backgroundImageID:t.id,backgroundImageURL:t.url})},accept:"image/*",allowedTypes:["image"]}))),wp.element.createElement("div",{className:a()(e.className,{"is-dim":"image"===e.attributes.backgroundType&&e.attributes.backgroundDimmed},{"is-parallax":"image"===e.attributes.backgroundType&&e.attributes.backgroundParallax}),style:t},wp.element.createElement(c,{allowedBlocks:["themeisle-blocks/testimonials-block"],template:[["themeisle-blocks/testimonials-block"],["themeisle-blocks/testimonials-block"],["themeisle-blocks/testimonials-block"]]}))]},save:function(e){var t={background:"color"===e.attributes.backgroundType?e.attributes.backgroundColor:"url(' ".concat(e.attributes.backgroundImageURL," ')")};return wp.element.createElement("div",{className:a()("wp-block-themeisle-blocks-testimonials-area",{"is-dim":"image"===e.attributes.backgroundType&&e.attributes.backgroundDimmed},{"is-parallax":"image"===e.attributes.backgroundType&&e.attributes.backgroundParallax}),style:t},wp.element.createElement(c.Content,null))}});n(188)},197:function(e,t,n){"use strict";n.r(t);var r=n(2),a=n.n(r);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function i(e){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=wp.components.Spinner,m=wp.data.withSelect,p=wp.element.Component,b=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),s(this,i(t).apply(this,arguments))}var n,r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(t,p),n=t,(r=[{key:"render",value:function(){var e=this.props,t=e.alt,n=e.id,r=e.thumbnail,a=e.link,o=r?wp.element.createElement("img",{src:r,alt:t,"data-id":n}):wp.element.createElement(u,null);return wp.element.createElement("div",{className:"post-thumbnail"},wp.element.createElement("a",{href:a},o))}}])&&l(n.prototype,r),a&&l(n,a),t}(),d=m(function(e,t){var n=t.id,r=n?e("core").getMedia(n):void 0,a=r?r.media_details.sizes.medium.source_url:null;return r?{thumbnail:a,alt:r.alt_text}:{alt:null}})(b);n(177),n(178);function g(){return(g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var f=lodash,w=f.isUndefined,h=f.pickBy,y=wp.i18n.__,k=wp.blocks.registerBlockType,v=wp.components,E=v.Button,C=v.Dashicon,x=v.PanelBody,j=v.QueryControls,N=v.RangeControl,S=v.Spinner,T=v.TextControl,_=v.ToggleControl,I=v.Toolbar,P=v.Tooltip,A=wp.data.withSelect,B=wp.editor,O=B.BlockControls,D=B.InspectorControls;k("themeisle-blocks/posts-grid",{title:y("Posts Grid"),description:y("Display a list of your most recent posts in a beautiful grid."),icon:"screenoptions",category:"themeisle-blocks",keywords:["posts","grid","orbitfox"],attributes:{grid:{type:"boolean",default:!1},columns:{type:"number",default:3},categories:{type:"string"},postsToShow:{type:"number",default:5},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},displayFeaturedImage:{type:"boolean",default:!0},displayCategory:{type:"boolean",default:!0},displayDate:{type:"boolean",default:!0},displayAuthor:{type:"boolean",default:!0},excerptLength:{type:"number",default:200}},edit:A(function(e,t){var n=t.attributes,r=n.categories,a=n.order,o=n.orderBy,l=n.postsToShow,s=h({categories:r,order:a,orderby:o,per_page:l},function(e){return!w(e)});return{posts:e("core").getEntityRecords("postType","post",s),categoriesList:e("core").getEntityRecords("taxonomy","category",{per_page:100}),authors:e("core").getAuthors(),props:t}})(function(e){var t=e.posts,n=e.categoriesList,r=e.authors,o=e.className,l=e.setAttributes,s=e.props;if(!t)return wp.element.createElement("p",{className:o},wp.element.createElement(S,null),y("Loading Posts"));if(0===t.length)return wp.element.createElement("p",null,y("No Posts"));var i=s.attributes,c=i.grid,u=i.columns,m=i.order,p=i.orderBy,b=i.categories,f=i.postsToShow,w=i.displayFeaturedImage,h=i.displayCategory,k=i.displayDate,v=i.displayAuthor,A=i.excerptLength,B=function(){s.setAttributes({grid:!c})};return[wp.element.createElement(O,{key:"toolbar-controls"},wp.element.createElement(I,{className:"components-toolbar"},wp.element.createElement(P,{text:y("List Layout")},wp.element.createElement(E,{className:a()("components-icon-button","components-toolbar__control",{"is-active":!c}),onClick:B},wp.element.createElement(C,{icon:"list-view"}))),wp.element.createElement(P,{text:y("Grid Layout")},wp.element.createElement(E,{className:a()("components-icon-button","components-toolbar__control",{"is-active":c}),onClick:B},wp.element.createElement(C,{icon:"grid-view"}))))),wp.element.createElement(D,null,wp.element.createElement(x,{title:y("Posts Grid Settings")},c&&wp.element.createElement(N,{label:y("Columns"),value:u,onChange:function(e){s.setAttributes({columns:e})},min:1,max:5}),wp.element.createElement(j,g({order:m,orderBy:p},{numberOfItems:f,categoriesList:n,selectedCategoryId:b,onOrderChange:function(e){return l({order:e})},onOrderByChange:function(e){return l({orderBy:e})},onCategoryChange:function(e){return l({categories:""!==e?e:void 0})},onNumberOfItemsChange:function(e){return l({postsToShow:e})}})),wp.element.createElement(_,{label:y("Display Featured Image?"),checked:w,onChange:function(){s.setAttributes({displayFeaturedImage:!w})}}),wp.element.createElement(_,{label:y("Display Post Category?"),checked:h,onChange:function(){s.setAttributes({displayCategory:!h})}}),wp.element.createElement(_,{label:y("Display Post Date?"),checked:k,onChange:function(){s.setAttributes({displayDate:!k})}}),wp.element.createElement(_,{label:y("Display Post Author?"),checked:v,onChange:function(){s.setAttributes({displayAuthor:!v})}}),wp.element.createElement(T,{label:y("Description Character Limit"),type:"number",value:A,onChange:function(e){s.setAttributes({excerptLength:e})}}))),wp.element.createElement("div",{className:a()(o,{"is-grid":c})},t.map(function(e){var t,a,o,l,s,i,c,m,p;return n&&(t=n.find(function(t){return t.id===e.categories[0]})),r&&(a=r.find(function(t){return t.id===e.author})),wp.element.createElement("div",{className:"grid-post grid-".concat(u)},wp.element.createElement("div",{className:"grid-post-row"},0!==e.featured_media&&w&&wp.element.createElement("div",{className:"grid-image-area"},wp.element.createElement(d,{id:e.featured_media,link:e.link})),wp.element.createElement("div",{className:"grid-content-area ".concat(!w&&"full")},h&&n&&wp.element.createElement("h6",{className:"grid-content-category"},wp.element.createElement("a",{href:t.link},t.name)),wp.element.createElement("h3",{className:"grid-content-title"},wp.element.createElement("a",{href:e.link},e.title.rendered)),(k||v)&&wp.element.createElement("p",{className:"grid-content-meta"},k&&[y("on "),wp.element.createElement("time",{datetime:e.date},(s=e.date,i=[y("January"),y("February"),y("March"),y("April"),y("May"),y("June"),y("July"),y("August"),y("September"),y("October"),y("November"),y("December")],y("Sunday"),y("Monday"),y("Tuesday"),y("Wednesday"),y("Thursday"),y("Friday"),y("Saturday"),c=(s=new Date(s)).getDate(),m=s.getMonth(),p=s.getFullYear(),c+" "+i[m]+", "+p))," "],v&&r&&[y("by "),wp.element.createElement("a",{href:a.link},a.name)]),0<A&&wp.element.createElement("p",{className:"grid-content-excerpt"},(o=e.excerpt.rendered,l=document.createElement("div"),l.innerHTML=o,void 0!==l.innerText?l.innerText:l.textContent).substring(0,A)+"…"))))}))]}),save:function(){return null}})},198:function(e,t,n){"use strict";n.r(t);n(181),n(182);var r=n(2),a=n.n(r),o=wp.i18n.__,l=wp.blocks.registerBlockType,s=wp.editor,i=s.ColorPalette,c=s.InnerBlocks,u=s.InspectorControls,m=s.MediaPlaceholder,p=wp.components,b=p.Button,d=p.ToggleControl,g=p.SelectControl,f=p.PanelBody,w=wp.element.Fragment;l("themeisle-blocks/services",{title:o("Our Services"),description:o("Use this Services table to showcase services your website offers."),icon:"columns",category:"themeisle-blocks",keywords:["services","features","orbitfox"],attributes:{backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string",default:"#ffffff"},backgroundImageID:{type:"string"},backgroundImageURL:{type:"string"},backgroundDimmed:{type:"boolean",default:!0},backgroundParallax:{type:"boolean",default:!1}},supports:{align:["wide","full"]},edit:function(e){var t={background:"color"===e.attributes.backgroundType?e.attributes.backgroundColor:"url(' ".concat(e.attributes.backgroundImageURL," ')")};return[wp.element.createElement(u,null,wp.element.createElement(f,{title:o("Background")},wp.element.createElement(g,{label:o("Background Type"),value:e.attributes.backgroundType,options:[{label:"Color",value:"color"},{label:"Image",value:"image"}],onChange:function(t){e.setAttributes({backgroundType:t})}}),"color"===e.attributes.backgroundType?wp.element.createElement(i,{label:o("Background Color"),value:e.attributes.backgroundColor,onChange:function(t){e.setAttributes({backgroundColor:t})}}):e.attributes.backgroundImageURL?wp.element.createElement(w,null,wp.element.createElement(d,{label:o("Dimmed Background"),checked:e.attributes.backgroundDimmed,onChange:function(){e.setAttributes({backgroundDimmed:!e.attributes.backgroundDimmed})}}),wp.element.createElement(d,{label:o("Parallax Background"),checked:e.attributes.backgroundParallax,onChange:function(){e.setAttributes({backgroundParallax:!e.attributes.backgroundParallax})}}),wp.element.createElement("img",{src:e.attributes.backgroundImageURL}),wp.element.createElement(b,{isLarge:!0,onClick:function(){e.setAttributes({backgroundImageID:"",backgroundImageURL:""})},style:{marginTop:"10px"}},o("Change or Remove Image"))):wp.element.createElement(m,{icon:"format-image",labels:{title:o("Background Image"),name:o("an image")},value:e.attributes.backgroundImageID,onSelect:function(t){e.setAttributes({backgroundImageID:t.id,backgroundImageURL:t.url})},accept:"image/*",allowedTypes:["image"]}))),wp.element.createElement("div",{className:a()(e.className,{"is-dim":"image"===e.attributes.backgroundType&&e.attributes.backgroundDimmed},{"is-parallax":"image"===e.attributes.backgroundType&&e.attributes.backgroundParallax}),style:t},wp.element.createElement(c,{allowedBlocks:["themeisle-blocks/service-block"],template:[["themeisle-blocks/service-block"],["themeisle-blocks/service-block"],["themeisle-blocks/service-block"]]}))]},save:function(e){var t={background:"color"===e.attributes.backgroundType?e.attributes.backgroundColor:"url(' ".concat(e.attributes.backgroundImageURL," ')")};return wp.element.createElement("div",{className:a()("wp-block-themeisle-blocks-services",{"is-dim":"image"===e.attributes.backgroundType&&e.attributes.backgroundDimmed},{"is-parallax":"image"===e.attributes.backgroundType&&e.attributes.backgroundParallax}),style:t},wp.element.createElement(c.Content,null))}});n(183)}});plugins/themeisle-companion/vendor/codeinwp/themeisle-content-forms/assets/gutenberg-esnext/block.js000064400000004150151156221550036152 0ustar00home/xbodynamge/dev/wp-contentconst {
	registerBlockType,
} = wp.blocks;
const { __ } = wp.i18n;
import { ContentFormEditor } from './components/FormEditor.js'

// @TODO think about a method to magically create this list
const content_forms = [
	'contact',
	'newsletter',
	'registration'
];

/**
 * Go through each form type and register a blockType from the given config
 * @TODO maybe create a custom category for OrbitFox only?
 *
 */
content_forms.forEach(function (form, index) {
	let config = window['content_forms_config_for_' + form];

	registerBlockType('content-forms/' + form, {
		title: config.title,
		icon: 'index-card',
		category: 'common',
		type: form,
		keywords: [ __( 'forms' ), __( 'fields' ) ],
		edit: ContentFormEditor,
		// save: props => {return null}
		save: props => {
			const component = this
			const {attributes} = props
			const {fields} = attributes
			let fieldsEl = []

			if ( typeof attributes.uid === "undefined" ) {
				attributes.uid = props.id
			}

			_.each(fields, function (args, key) {

				fieldsEl.push(<p
						key={key}
						className="content-form-field-label"
						data-field_id={args.field_id}
						data-label={args.label}
						data-field_type={args.type}
						data-requirement={args.requirement ? "true": "false"}
					/>)
			})

			return (<div key="content-form-fields" className={"content-form-fields content-form-" + form} data-uid={props.id}>
				{fieldsEl}
			</div>)
		}

		// @TODO Maybe return to the old way of saving a plain html
		// save: props => {
		// 	const {
		// 		className,
		// 		attributes
		// 	} = props;
		//
		// 	let elements = [];
		//
		// 	_.each(config.fields, function (args, key) {
		// 		let fieldset_element = <fieldset key={key}>
		// 			<label htmlFor={key}>{attributes[key]}</label>
		// 			<input type="text" name={key} />
		// 		</fieldset>;
		// 		elements.push(fieldset_element)
		// 	});
		//
		// 	// Add a submit button; @TODO Make a setting for this;
		// 	elements.push(<button key="submit_btn">Submit</button>);
		//
		// 	return (
		// 		<form className={ props.className } method="post" action={submitAction}>
		// 			{elements}
		// 		</form>
		// 	);
		// }
	});
});